Summary of the invention
Based on above-mentioned situation, the present invention proposes a kind of method, mobile terminal and server of registering of registering based on Quick Response Code, the first, by the mobile scanning terminals such as mobile phone Quick Response Code on user seat of user, avoid, with low cost, the time that user queues up, improve efficiency of registering;The second, existing resource only need to be called by enterprise, it is not necessary to purchases or arranges the hardware registered, reduce the cost of enterprise;3rd, by the signal area property feature of wifi network, allograph situation can be effectively prevented.
Present invention is primarily targeted at and utilize the existing mobile terminal of user and the WIFI network that all can open of major part enterprise, customize the formula order dishes system of " with no paper and without card " for enterprise,
A kind of method of registering based on Quick Response Code, including step:
Two-dimensional code display;Quick Response Code described in mobile scanning terminal, resolve and obtain the access-in point information of described Quick Response Code, register server info and user totem information, it is connected to WIFI network according to described access-in point information, according to registering, server info connects server of registering, described mobile terminal send user totem information to described server of registering;User is registered and to confirm according to receiving described user totem information by described server of registering, and according to recording registering the time of user sweep time.
Described Quick Response Code is by the access-in point information of WIFI network, register server info and user totem information generation.
Described Quick Response Code paper prints, and posts up the appointment position that user totem information is corresponding.
Described Quick Response Code screen is shown in the appointment position that user totem information is corresponding.
The corresponding one or more appointment mobile terminals of one Quick Response Code.
Described user totem information includes: the cell-phone number of user, user's job number, the password arranged in described server of registering, one or the most multinomial, the fingerprint etc. of user.
A kind of mobile terminal, utilizes mobile scanning terminal Quick Response Code, obtains the access-in point information of described Quick Response Code, register server info and identification information of registering;It is connected to WIFI network according to described access-in point information, connects, according to server info of registering, server of registering, and send described user totem information to described server of registering;User is registered and to confirm according to receiving described user totem information by described server of registering, and according to recording registering the time of user sweep time.
Described Quick Response Code paper prints, and specify position or the described Quick Response Code screen that post up user totem information corresponding are shown in the appointment position that user totem information is corresponding.
One is registered server, for mobile terminal being identified by acquisition user totem information, user registered confirm according to receiving the described user totem information that described mobile terminal sends, and recording registering the time of user according to the time of described acquisition user totem information, described user totem information is by resolving acquisition after described mobile scanning terminal Quick Response Code.
Described Quick Response Code paper prints, and specify position or the described Quick Response Code screen that post up user totem information corresponding are shown in the appointment position that user totem information is corresponding.
Relative to prior art, a kind of based on Quick Response Code register method, mobile terminal and server that the present invention provides can utilize mobile terminal and Quick Response Code that user can be registered on oneself seat, and first, user can be allowed to need not queuing check card and register;The second, need not increase the hardware cost of device of registering;3rd, use the feature of wifi signal area property to carry out system login, user can be avoided to pass through mobile phone shooting Quick Response Code, then carry out operation of registering elsewhere, improve the authenticity registered.
Detailed description of the invention
Below in conjunction with better embodiment therein, the present invention program is described in detail.
Fig. 1 shows the schematic flow sheet of a kind of embodiment of the method for registering based on Quick Response Code of the present invention.
As it is shown in figure 1, the method in the present embodiment includes step:
S101: generate corresponding Quick Response Code according to the access-in point information of WIFI network, server info of registering, identification information of registering, and Quick Response Code is shown;
System obtains the access-in point information of WIFI network, register server info and user totem information, can be by being manually entered corresponding information, as being manually entered inside the access-in point information of WIFI network, register server ip address and register server info of registering, the user totem information to system such as serve port and user name password, system generates corresponding Quick Response Code according to the information obtained.
Described access-in point information includes the information such as WIFI network title, type and the password of access point;Described user totem information differentiates different user (employee) primarily to allow system pass through this information, can be specifically one or the most multinomial, the fingerprint etc. of the cell-phone number of user, user's job number, the password arranged in described server of registering, user.
Server info of registering includes server ip address, serve port and username and password information or other is for positioning and access the required necessary information of server uniquely, server arranges database, the information such as user job seat position, rank, authority can be mapped with corresponding user totem information.
S102: mobile scanning terminal Quick Response Code, carries out described Quick Response Code resolving acquisition access-in point information, server info, user totem information, and is connected to described WIFI network according to described access-in point information, and according to registering, server info connects server of registering;
Here, mobile terminal mainly scans Quick Response Code by camera, Quick Response Code is then shown in appointment position (operating position) corresponding to user totem information with screen and above or is printed by Quick Response Code paper, posting up on the appointment position (operating position) that dining room user totem information is corresponding, appointment position the most here can refer in employee conveniently position.In company, the most each employee can have the seat of oneself, if employee can register on the seat of oneself, avoids the need for standing in a long queue before the machine of registering, and then saves the time registered.
S103: mobile terminal is identified according to user totem information, then sent user totem information by mobile terminal to server of registering;User is registered and to confirm according to receiving described user totem information by server of registering, and records registering the time of user according to described sweep time.Mobile terminal can be the communication apparatus that mobile phone, PDA, notebook computer etc. have wireless networking capabilities;
The S101 of the present invention need to according to the access-in point information of WIFI network, register server info and user totem information just generates corresponding Quick Response Code.Using the access-in point information zonal feature of WIFI signal to be utilized of WIFI network, only enter in the range of company's WIFI network as user (employee), the operation that it is registered is the most meaningful.The main purpose so arranged is to prevent employee to be filmed by Quick Response Code, then utilizes other network to register elsewhere;And this setting of server info of registering is arranged also based on server of registering in corporate lan, the most only just can carry out data transmission in the LAN of entrance company, just can effectively register;Arranging user totem information is then the information that the Quick Response Code allowing each generate records certain customers, cell-phone number such as user, user's job number, the password arranged in described server of registering, the information such as the fingerprint of user, so use the mobile terminal of oneself that Quick Response Code scanning is suitable for as user, the cell-phone number of its user parsed, user's job number, the password arranged in described server of registering, the information such as the fingerprint of user just can be mated with currently used mobile terminal, so this mobile terminal be sent to register information of server is just effective, just can effectively register.If scan the Quick Response Code being currently generated with other mobile terminals, will produce the unmatched consequence of information, the information of registering now is invalid information.
It addition, by being printed by the above-mentioned Quick Response Code paper generated that sets, be posted in the operating position that user totem information is corresponding, it is only necessary to several blank sheet of paper, so that it may maximally utilize existing resource, it is not necessary to increase the hardware cost of device of registering;Quick Response Code screen is shown in the appointment position that user totem information is corresponding, can show on the pc display of employee, although so even paper all without, but the shortcoming that screen is shown in work irrelevant information can be caused.
Step S101 can specifically be refined as following step, comprising:
S1011: generate corresponding Quick Response Code according to the access-in point information of WIFI network, server info of registering, user totem information;
System obtains the access-in point information of WIFI network, server info of registering, user totem information, can be by being manually entered corresponding information, as being manually entered inside the access-in point information of WIFI network, server info, user totem information to system, system generates corresponding Quick Response Code according to the information obtained.Here the access-in point information inputted includes WIFI network title, type and password etc..Mobile terminal is linked into WIFI network according to access-in point information.User totem information is typically inputted by the Human Resource Department personnel of company.Then by the ID of employee, seat position, the information such as cell-phone number is saved in the database of server, is so inquired about by user totem information, it is possible to obtain each essential information of employee.
S1012, described access-in point information, server info, user totem information are processed as the character string of predetermined format;In this step, need access-in point information, server info and user totem information are processed, be allowed to be converted to the character string of certain format, in order to access-in point information is converted to smoothly discernible Quick Response Code.Come below the form of character string is illustrated, the form of character string can include mark, content, symbol etc., the concrete data of this content representation information, the WIFI network name information of such as access point, encrypted message etc., mark illustrates the type of content, SIID is such as used to represent the WIFI network title of access point, PSWD is used to represent the WIFI network password of access point, TYPE is used to represent the WIFI network type of access point, SRV is used to represent server info of registering, YGID is used to represent user (employee) identification information, YGPH is used to represent the phone number of employee, symbol is then used for separating content and mark, such as use colon ": " that content is separated with mark.So, access-in point information, server info and user totem information can be indicated by the character string of following form:
SSID :TPLINK666
TYPE:WPA/WPA2
PSWD:147456
SVR: 59.42.10.30/8000/admin/45678
YGID:7
YGPH:13800111xxx
Beginning and end for identification strings, specific mark can be used to represent beginning and terminate, BEGIN is such as used to represent the beginning of character string, END represents the end of character string, so, when generating the character string comprising access-in point information, register server info and user totem information, the beginning a line in character string inputs and starts mark, last column end of input in character string represents, it may be assumed that
BEGIN
SSID :TPLINK666
TYPE:WPA/WPA2
PSWD: 147456
SRV: 59.42.10.37/8000/admin/45678
YGID:5
YGPH:13800111xxx
END
It should be noted that the simply one citing of the character string of above-mentioned form, as long as the form that server and mobile terminal are all supported all can be as the predetermined format of character string.
S1013, described character string is carried out coding generate Quick Response Code.In this step, need according to the coding principle of Quick Response Code, character string to be encoded, and the type of Quick Response Code is a lot, such as: QR Code, Data Matrix, Maxi
Code, Aztec, Vericode, PDF417, Ultracode, Code 49, Code 16K, is most commonly used that QR (Quick Response, fast reaction) Code at present, therefore, the encoding and decoding of Quick Response Code, as a example by such Quick Response Code, is described in detail by the present invention, certainly, other kinds of Quick Response Code encoding and decoding process is similar to therewith, and the encoding and decoding principle i.e. following corresponding Quick Response Code carries out encoding and decoding to data, repeats no more in the present invention.
After character string being encoded according to the coding standard of Quick Response Code, access-in point information, server info, user totem information is encoded as the Quick Response Code of standard, now, this Quick Response Code can be preserved to file system, and this Quick Response Code can be printed, print have the paper (glue can be crossed and increase corresponding advertising message) of Quick Response Code be attached to relative to dining table seat or dining table on, so that user can obtain this Quick Response Code by mobile terminals such as mobile phones, here posting is the cost-effective mode of comparison, if can showing by corresponding display device information and can also solving identical problem.
Step S102 can specifically be refined as following step, comprising:
S1021: Quick Response Code described in mobile scanning terminal;Mobile terminal can obtain this Quick Response Code by pasting the Quick Response Code of (or screen shows) on camera scanning employee seat;
Described Quick Response Code is carried out resolving the character string obtained in Quick Response Code by S1022: mobile terminal;In this step, it is necessary first to judge the type of Quick Response Code, after the type obtaining Quick Response Code, this Quick Response Code is decoded by the Quick Response Code decoding principle according still further to the type, draws data character according to the pattern decoding used, thus exports the character string of specified format.
Owing to the current code encoding/decoding mode about Quick Response Code (such as QR Code Quick Response Code) belongs to prior art mostly, too much description is not done in this part.
S1023, mobile terminal read described character string and obtain access-in point information, server info of registering, user totem information, and it is connected to described WIFI network according to described access-in point information, according to registering, server info is connected to server of registering, and then mobile terminal sends user totem information to server of registering;In this step, mobile terminal needs detection user totem information the most identical with the user profile of the machine, if identical server of registering sends its user totem information.As, user (employee) phone number in the user totem information generated in Quick Response Code stayed to company administrative personnel is 13811111xxx, and currently the phone number of its mobile phone is 13511111xxx, then mobile terminal will not send information to server of registering.If user (employee) is scanned with this phone of 13811111xxx after pinpointing the problems again, then can send relevant information.In this embodiment, user totem information only uses phone number, but when practical operation, can use the information such as ID, the password pre-set, so that the function of putting allograph is better achieved.
In the step of S103, user is registered and to confirm according to receiving user totem information by server of registering, and records registering the time of user according to described sweep time.Due to S1023 by the mobile terminal notification server of user totem information Yu user, afterwards, server carries out correspondence according to user totem information to described mobile terminal, server is known, and which employee is carrying out operation of registering, and sweep time here refers to the moment of mobile scanning terminal Quick Response Code.
Based on said method, the present invention also provides for a kind of method of registering based on Quick Response Code, as in figure 2 it is shown, comprising:
Two-dimensional code generation module 100, for generating corresponding Quick Response Code according to the access-in point information of WIFI network, server info of registering, user totem information;
Mobile terminal 200, is used for scanning Quick Response Code, carries out Quick Response Code resolving acquisition access-in point information, server info of registering, user totem information, and is connected to described WIFI network according to described access-in point information;
WIFI network provides equipment 300, is used for providing WIFI network;
After mobile terminal 200 is connected to network according to access-in point information, it is connected to, by server info of registering, server 400 of registering;
Register server 400, for user is registered confirming according to receiving user totem information, and record registering the time of user according to described sweep time.
The operation principle of formula order dishes system is: the access-in point information of WIFI network, server info of registering, user totem information can be inputted by staff scene, it is also possible to is stored in database the scene when using by system and calls.Quick Response Code just can be generated after two-dimensional code generation module 100 receives the access-in point information of corresponding WIFI network, server info of registering, user totem information.Now, this Quick Response Code can be preserved to file system, and this Quick Response Code is printed, and be attached to specify accordingly on position (employee's seat position) by printing the paper (glue can be crossed and increase corresponding advertising message) with Quick Response Code, here can also show corresponding Quick Response Code by display device.When user registers when, use the camera of the mobile phone (mobile terminal) of oneself that corresponding Quick Response Code is scanned, carry out Quick Response Code resolving acquisition access-in point information, server info, user totem information.Mobile terminal provides the network signal of equipment 300 by WIFI network, uses server info of registering to be connected to server 400 of registering;Mobile terminal 200 sends user totem information to above-mentioned server 400 of registering;User is registered and to confirm according to receiving described user totem information by above-mentioned server of registering, and records registering the time of user according to described sweep time.
Further, as it is shown on figure 3, described mobile terminal 200 includes:
Two-dimensional code acquisition module 201, is used for obtaining described Quick Response Code;
Quick Response Code parsing module 202, obtains the character string in Quick Response Code for described Quick Response Code carries out parsing;
WIFI network AM access module 203, is used for reading described character string and obtains access-in point information, register server info and user totem information, and be connected to described WIFI network according to described access-in point information.Function about above-mentioned each module is also described in detail in embodiment of the method, repeats no more.
Embodiments of the invention also disclose, and be applied to a kind of mobile terminal of a kind of this method of registering based on Quick Response Code and one is registered server.As described below:
A kind of mobile terminal, for mobile scanning terminal Quick Response Code, obtains the access-in point information of described Quick Response Code, register server info and identification information of registering;It is connected to WIFI network according to described access-in point information, connects, according to server info of registering, server of registering, and send user totem information to server of registering;User is registered and to confirm according to receiving user totem information by described server, and according to recording registering the time of user sweep time.In this embodiment, server of registering can be identified with mobile terminal according to user totem information, user profile can be connected with this mobile terminal, briefly get up and allow server of registering know which employee mobile terminal is in operation exactly, and sweep time here refers to the moment of mobile scanning terminal Quick Response Code.
There will be mistake owing to confirmation of registering has certain record, so server of registering will the most successfully be registered, result feeds back to mobile terminal, and user is just appreciated that, by screen, the information registered, and then judges whether to re-start and registers.
Above-mentioned Quick Response Code paper prints, and posts up the appointment position that user totem information is corresponding
Or above-mentioned Quick Response Code screen is shown in the appointment position that user totem information is corresponding.
Server of registering stores some essential informations of employee, date and time information and judgement and registers whether successfully information, the most successfully can judge registering according to the essential information of employee.
One is registered server, for mobile terminal being identified by acquisition user totem information, user registered confirm according to receiving the described user totem information that described mobile terminal sends, and recording registering the time of user according to the time of described acquisition user totem information, above-mentioned user totem information is by resolving acquisition after described mobile scanning terminal Quick Response Code.In this embodiment, server of registering can be identified with mobile terminal according to user totem information so that user profile can connect with this mobile terminal, briefly gets up and allows server of registering know which employee mobile terminal is in operation exactly.
There will be measure owing to confirmation of registering has certain record, so server of registering will the most successfully be registered, result feeds back to mobile terminal, and user is just appreciated that, by screen, the information registered, and then judges whether to re-start and registers.
Above-mentioned Quick Response Code paper prints, and specify position or the above-mentioned Quick Response Code screen that post up user totem information corresponding are shown in the appointment position that user totem information is corresponding.
Embodiment described above only have expressed embodiments of the present invention, and it describes more concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.