Home > Back-end >  Ask a questions about who use the system.
Ask a questions about who use the system.

Time:10-13

1, I don't have the service side, this program only client and database, is a number of extension, a host (database),

2, assume that A unit, A set of the system, this system also has A B unit, each unit of the system will have A unique symbol "A" "B", etc.

3, if I have a ali cloud server, I want to which unit is used to record every day in the use of this system,

I want to achieve the effect of: suppose A unit opened the system for the first time, every day then cloud server records: the 2020-01-01 A, ok, I just need to record A can, he frequently open one day, do not need to record,

To achieve this effect, I should be how to design good, is a direct connection when login cloud server writing a record, or different idea? Thank you teacher

CodePudding user response:

1, setting a record in a cloud database;
2, each client login check is recorded in the day, such as no, record when login;

What you said is in fact the "direct connection when login cloud server write a record",

CodePudding user response:

Can set the date + company name as the only index, this same unit can only be written to a record on the same day

CodePudding user response:

That if he cut off the net, when he login no network, my server could not be recorded

CodePudding user response:

reference NEEZA which zha reply: 3/f
that if he cut off the net, when he login no network, my server record is less than

He is not a need to use your data, broken network, data also can't use, that he also should not log in the system,

CodePudding user response:

No, no, no, he used his database, not my cloud database, I???? , who just want to record the use again,

CodePudding user response:

reference 5 floor NEEZA which zha reply:
no, no, no, he used his database, not my cloud database, I?? , who just want to record the reuse,


Like you have a problem, for example, he used the computer didn't connect to the Internet, you can't know if he is in use (even if you recorded locally),

So, based on your situation, can use a way:
1, in local records before usage;
2, must connect a network on a regular basis, such as: every N day or after every use X times, need to connect to the cloud server, and the local records uploaded to the server, if exceed the corresponding time or times not to upload, just a friendly reminder need to connect to the Internet, or domineering temporarily banned use of software,
3, on the cloud after the client to upload data, record respectively,

The above key: a. If the connection does not require the cloud, there may be have to use you can't know; B. local records may need encryption processing, otherwise there may be people modify local records (including not networking using time or use the number of records), these two points, according to you of the importance of software to determine whether to need to deal with,
  • Related