CN107317721A - It is automatically signing in method, device, computer equipment and user terminal - Google Patents
It is automatically signing in method, device, computer equipment and user terminal Download PDFInfo
- Publication number
- CN107317721A CN107317721A CN201710324041.XA CN201710324041A CN107317721A CN 107317721 A CN107317721 A CN 107317721A CN 201710324041 A CN201710324041 A CN 201710324041A CN 107317721 A CN107317721 A CN 107317721A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- registering
- request message
- server
- heartbeat
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Small-Scale Networks (AREA)
Abstract
Method, device, computer equipment and user terminal are automatically signing in the present invention relates to one kind, wherein, the method for being automatically signing in includes:Server of registering obtains heartbeat request message;Server of registering judges whether the heartbeat request message is legal;If server of registering determines that heartbeat request message is legal, data of registering are generated according to the temporal information of user terminal requests heartbeat, and return to successful message of registering.The method that is automatically signing in of the present invention is popularization based on user terminal and the development of mobile communication technology and the characteristic for combining LAN, server of registering is set by LAN internally, after user terminal is linked into internal lan, server of then attempting and register carries out heartbeat, server of registering generates user's data of registering on and off duty according to heartbeat data, it is automatically signing in so as to realize so that the mode of registering becomes more flexible, efficient and convenient.
Description
Technical field
The present invention relates to network communication technology field, more particularly to one kind is automatically signing in method, device, computer equipment
And user terminal.
Background technology
Current most enterprises employee clock in and out is typically checked card using fingerprint, manually registration is checked card, card is checked card, micro-
Letter checks card, mode of being checked card etc. based on geographical position, and checked card using fingerprint, card needs to use and checked card accordingly by the way of checking card
Equipment, is easily caused exception of checking card, the problems such as data are asynchronous if running into plant maintenance of checking card, failure;And beaten using wechat
Card and the mode checked card based on geographical position are then needed with the intelligent terminal fit applications program necessarily configured
(Application, abbreviation APP) and Web vector graphic, i.e. employee log in realization by APP and registered, so that substantial amounts of stream can be consumed
Amount, and because the base station location of different operators is also differed, therefore the influence of environmental factor is also suffered from, if run into again
APP servers or Network Abnormal are then easily caused the problems such as unsuccessful, data are asynchronous of checking card, so that enterprise staff can not be met
The demand registered.
The above-mentioned mode of checking card is required for manually operated to check card simultaneously, forgets to check card so as to be easily caused employee, and member
Work can not but know the information of checking card of oneself, cause finally because man-hour is not enough and is withholdd.
The content of the invention
Based on this, it is necessary to there is provided one kind be automatically signing in method, device, meter the problem of for manually operated at present check card
Calculate machine equipment and user terminal.
One kind is automatically signing in method, including:
Server of registering obtains heartbeat request message, and heartbeat request message is initiation after user terminal connection internal lan
, heartbeat request message includes device id, ID and the temporal information of user terminal requests heartbeat of user terminal;
Server of registering judges whether heartbeat request message is legal according to the device id and ID of user terminal;
If server of registering determines that heartbeat request message is legal, generated according to the temporal information of user terminal requests heartbeat
Register data, and return to successful message of registering.
In one of the embodiments, before server of registering obtains heartbeat request message, in addition to:
Server of registering obtains the log-on message of user terminal, and log-on message includes device id and the user of user terminal
ID;
If server of registering determines ID and default attendance management information match, by ID and corresponding use
The device id of family terminal is stored as Registry, and returns to the message succeeded in registration.
In one of the embodiments, methods described also includes:
Server of registering obtains the inquiry request message of user terminal, the equipment that inquiry request message includes user terminal
ID, ID and query characteristics value;
Server of registering returns to device id, ID and the query characteristics value pair with user terminal according to inquiry request message
The data of registering answered.
In one of the embodiments, server of registering judges heartbeat request according to the device id and ID of user terminal
Whether message is legal, specifically includes:
Server of registering judge to whether there is in Registry with the device id of user terminal in heartbeat request message and
The corresponding log-on message of ID;
If in the presence of server of registering determines that heartbeat request message is legal, otherwise determines that heartbeat request message is illegal.
One kind is automatically signing in method, including:
Internally LAN initiates connection to user terminal;
User terminal is connected to after internal lan to server of registering and sends heartbeat request message, heartbeat request message bag
Include the temporal information of the device id, ID and user terminal requests heartbeat of user terminal so that register server according to
The device id and ID of family terminal determine to generate data of registering after heartbeat request message is legal;
User terminal receives the successful message of registering for server return of registering.
In one of the embodiments, methods described also includes:
User terminal sends log-on message to server of registering, and log-on message includes device id and the user of user terminal
ID, so that server of registering completes to register according to ID, and the device id of ID and corresponding user terminal is stored as
Registry;
User terminal receives the message succeeded in registration for server return of registering.
In one of the embodiments, in addition to:
User terminal sends inquiry request message, the equipment that inquiry request message includes user terminal to server of registering
ID, ID and query characteristics value so that register server according to inquiry request message return with the device id of user terminal, use
Family ID and the corresponding data of registering of query characteristics value;
User terminal receives the data of registering for server return of registering.
In one of the embodiments, in addition to:
User terminal monitors the connection handover event with internal lan;
If when reaching the default time of registering, user terminal fails to obtain to be connected and do not receive to register into internal lan
The message of work(, then return to abnormal alert message of registering.
One kind is registered device, is arranged at the server end of registering in internal lan, the device of registering includes:
Acquisition module, for obtaining heartbeat request message, heartbeat request message is that user terminal is connected after internal lan
Initiate, heartbeat request message includes device id, ID and the temporal information of user terminal requests heartbeat of user terminal;
Legal judge module, the device id of user terminal and ID for being obtained according to acquisition module judge the heart
Whether legal jump request message;
Register data generation module, it is whole according to user if determining that heartbeat request message is legal for legal judge module
The temporal information of end request heartbeat generates data of registering;
First sending module, for returning to successful message of registering to user terminal.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is executed by processor
Shi Shixian following steps:
Heartbeat request message is obtained, heartbeat request message is initiated after user terminal connects internal lan, and heartbeat please
Message is asked to include device id, ID and the temporal information of user terminal requests heartbeat of user terminal;
Judge whether heartbeat request message is legal according to the device id and ID of user terminal;
If it is determined that heartbeat request message is legal, then data of registering are generated according to the temporal information of user terminal requests heartbeat,
And return to successful message of registering.
A kind of computer equipment, including first memory, first processor and store on the first memory and can be
The computer program run on first processor, following steps are realized during first processor configuration processor:
Heartbeat request message is obtained, heartbeat request message is initiated after user terminal connects internal lan, and heartbeat please
Message is asked to include device id, ID and the temporal information of user terminal requests heartbeat of the user terminal;
Judge whether heartbeat request message is legal according to the device id and ID of user terminal;
If it is determined that heartbeat request message is legal, then data of registering are generated according to the temporal information of user terminal requests heartbeat,
And return to successful message of registering.
One kind is automatically signing in device, is arranged at user terminal, including:
Link block, initiates to connect for internally LAN;
Second sending module, for being initiated with internal lan to server transmission heartbeat request message of registering after being connected,
Heartbeat request message includes device id, ID and the temporal information of user terminal requests heartbeat of user terminal, so that label
Determined to generate data of registering after heartbeat request message is legal according to the device id and ID of user terminal to server, and returned
Register successful message;
Receiving module, the successful message of registering for receiving server return of registering.
A kind of user terminal, including second memory, second processor and be stored on second memory and can be
The computer program run on two processors, second processor realizes following steps when performing described program:
Internally LAN initiates connection;
Initiated with internal lan to server transmission heartbeat request message of registering after being connected, heartbeat request message includes using
Device id, ID and the temporal information of user terminal requests heartbeat of family terminal, so that server of registering is whole according to user
The device id and ID at end determine to generate data of registering after heartbeat request message is legal, and return to successful message of registering;
Receive the successful message of registering for server return of registering.
It is above-mentioned to be automatically signing in method, device, computer equipment and user terminal, using having for the invention described above technical scheme
Beneficial effect is:The development of popularization and mobile communication technology based on user terminal and the characteristic for combining LAN, by internally
LAN sets server of registering, after user terminal is linked into internal lan, it tries server carries out heartbeat with registering,
Server of registering generates user's data of registering on and off duty according to heartbeat data, is automatically signing in so as to realize so that mode of registering
Become more flexible, efficient and convenient.
Brief description of the drawings
Fig. 1 is to be automatically signing in the schematic flow sheet of method in one embodiment;
Fig. 2 is to be automatically signing in the schematic flow sheet of method in one embodiment;
Fig. 3 is to be automatically signing in the schematic flow sheet of method in one embodiment;
Fig. 4 is to be automatically signing in the Signalling exchange schematic diagram of method in one embodiment;
Fig. 5 is the structural representation of device of registering in one embodiment;
Fig. 6 is the structural representation of device of registering in one embodiment;
Fig. 7 is to be automatically signing in the structural representation of device in one embodiment;
Fig. 8 is to be automatically signing in the structural representation of device in one embodiment;
Fig. 9 is to be automatically signing in the structural representation of system in one embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.
Method is automatically signing in the embodiments of the invention provide one kind, and Fig. 1 is the stream that method is automatically signing in one embodiment
Journey schematic diagram, as shown in figure 1, this method may include steps of:
Step S101, server of registering obtains heartbeat request message;
In the present embodiment, heartbeat request message be user terminal connection internal lan register backward server initiation
, server of registering then is arranged in internal lan, the heartbeat request message specifically can include user terminal device id,
ID and the temporal information of user terminal requests heartbeat.
Step S102, server of registering judges whether heartbeat request message closes according to the device id and ID of user terminal
Method;
Step S103, if server of registering determines that heartbeat request message is legal, according to user terminal requests heartbeat when
Between information generation register data;
Step S104, server of registering returns to successful message of registering to user terminal.
In the present embodiment, user terminal refers to the intelligent mobile terminals such as the smart mobile phone of user, tablet personal computer.The present invention
The method of embodiment is popularization based on user terminal and the development of mobile communication technology and the characteristic for combining LAN, by
Internal lan sets server of registering, after user terminal is linked into internal lan, it tries server is carried out with registering
Heartbeat, server of registering generates user's data of registering on and off duty according to heartbeat data, is automatically signing in so as to realize so that register
Mode becomes more flexible, efficient and convenient.
Specifically, after user terminal connection internal lan, to registering, server initiates heartbeat request message, wherein, the heart
Device id, ID and the temporal information of user terminal requests heartbeat of user terminal can be included by jumping request message.Register
Server is received after the heartbeat request message of user terminal initiation, according to the device id of user terminal in heartbeat request message and
ID judges whether heartbeat request message is legal, in the present embodiment, and server of registering can be according in heartbeat request message
The device id and ID of user terminal are matched with the Registry prestored, if the Registry prestored
It is middle to there is log-on message corresponding with the device id and ID of user terminal, then it can determine that heartbeat request message is legal, from
And server of registering generates data of registering according to the temporal information of user terminal requests heartbeat in legal heartbeat request message, and
Successful message of registering is returned to user terminal, enables a user to know result of registering in time.Specifically can be by the same day
The time for initiating heartbeat earliest is defined as the time that user's working is registered, and the time that the same day is initiated to heartbeat the latest is defined as user
Come off duty the time registered, so as to generate data of registering on and off duty, realization is automatically signing in.
Fig. 2 is is automatically signing in the schematic flow sheet of method in one embodiment, as shown in Fig. 2 in step S101 shown in Fig. 1
Before, this is automatically signing in method and can also comprised the following steps:
Step S201, server of registering obtains the log-on message of user terminal;
In the present embodiment, user terminal and register server carry out heartbeat first before, it is necessary in server of registering
Registered, in order to which the SS later succeeded in registration can automatically initiate and register the heartbeat of server, avoided simultaneously
Because illegal connection causes to register the load excessive of server.Specifically, user terminal sends log-on message to server of registering, its
In, log-on message can include the device id and ID of user terminal, and server of registering then receives the log-on message.
Step S202, if server of registering determines ID and default attendance management information match, by ID
Registry is stored as with the device id of corresponding user terminal, and returns to the message succeeded in registration.
In the present embodiment, legal user's id information can be included in attendance management information, such as can be enterprise staff
Register, it have recorded the name of employee, corresponding unique job number etc..Server of registering receives the log-on message of user terminal
Afterwards, matched with the attendance management information pre-set, if existed and ID in the attendance management information pre-set
Corresponding information, then be stored as Registry by the device id of the ID and corresponding user terminal, and to user terminal
The message succeeded in registration is returned, the message of registration failure is otherwise returned to user terminal, so that user could be aware that the information.
Realized with the following method specifically, step S102 shown in Fig. 1 can also specifically be adopted, that is, judge method life as described above
Into Registry in whether there is the registration corresponding with the device id and ID of user terminal in heartbeat request message
Information, if it is present can determine that heartbeat request message is legal, otherwise determines that heartbeat request message is illegal.
Further, user grasps the attendance data of oneself at any time for convenience, can also be by user terminal to registering
Server initiates inquiry request, specifically, server of registering can receive the inquiry request message of user terminal, the inquiry request
Message can include device id, ID and the query characteristics value of user terminal, and wherein query characteristics value can be Query Dates
Or the cycle.Register server then according to the inquiry request message of user terminal return Query Dates or in the cycle with user terminal
The corresponding data of registering of device id, ID, in order to which user checks or counts.
The embodiment of the present invention additionally provides one kind and is automatically signing in method, as shown in figure 3, this method can include following step
Suddenly:
Step S301, internally LAN initiates connection to user terminal;
In the present embodiment, after user terminal detects the network signal of internal lan, then automatically initiate and inside
The connection of LAN, internal lan is connected thereto after carrying out authentication to user terminal.Therefore, user terminal subsequently with
The interaction between server of registering is all based on the internal lan and communicated, so as to save the flow of user terminal.
Step S302, user terminal is connected to after internal lan to server of registering and sends heartbeat request message;
After user terminal is connected to internal lan, then the server hair of registering in internal lan is arranged at from trend
Heartbeat request message is sent, wherein, heartbeat request message includes device id, ID and the user terminal requests heart of user terminal
The temporal information of jump, so that server of registering can determine that heartbeat request disappears according to the device id and ID of user terminal
Whether breath is legal, and it is determined that generating data of registering after heartbeat request message is legal;Meanwhile, server of registering can also be to user
Terminal returns to successful message of registering.
Step S303, user terminal receives the successful message of registering for server return of registering.
Specifically, temporal information and ID that user successfully registers etc. can be carried in successful message of registering, from
And allow user to grasp the situation of registering of oneself in time.
Further, in order to prevent because terminal set or Network Abnormal cause user terminal can not be taken with internal lan
It must connect, so that heartbeat can not be carried out with server of registering, lead to miss the time of registering.Based on this, user terminal can also be supervised
Survey with the connection handover event of internal lan, can in user terminal default one register the time, this is default to register the time
Can be earlier than it should register the time, and the connection handover event of user terminal and internal lan is monitored, if default
The time register when reaching, user terminal and internal lan fail acquirement and be connected and do not receive successful message of registering, then to
Family returns to abnormal alert message of registering, and reminds the user that investigation is abnormal, so as to register in time.
User grasps the attendance data of oneself at any time for convenience, can also be initiated by user terminal to server of registering
Inquiry request, the inquiry request message can include device id, ID and the query characteristics value of user terminal, wherein inquiry is special
Value indicative can be Query Dates or cycle.Register server then according to the inquiry request message of user terminal return Query Dates or
Data of registering corresponding with device id, the ID of user terminal in cycle, user terminal can then receive the data, in order to
User checks or counted.
In order to avoid causing to register the load excessive of server because of illegal connection, therefore, in the present embodiment, when user is whole
Server of holding and register is carried out before heartbeat first, and user terminal can also be registered in server of registering in advance, so as to
Heartbeat can be initiated in the SS later succeeded in registration with server of registering automatically.Specifically, user terminal is to clothes of registering
Business device sends log-on message, wherein, log-on message can include the device id and ID of user terminal, so that server of registering
Completed to register according to ID, and the device id of ID and corresponding user terminal is stored as Registry, meanwhile, label
The message whether succeeded in registration can also be returned to user terminal to server, user terminal then receives what whether this succeeded in registration
Message, so that user could be aware that the information.
Fig. 4 is is automatically signing in the Signalling exchange schematic diagram of method in one embodiment, as shown in figure 4, the present embodiment is specific
It can include:
Step S401, user terminal sends log-on message to server of registering;
In the present embodiment, server of registering is arranged in internal lan, after user terminal accesses internal lan,
It can then be registered to server of registering.Wherein, log-on message can include the device id and ID of user terminal.
Step S402, server of registering is matched to the log-on message of reception;
Such as can be enterprise staff register specifically, legal user's id information can be included in attendance management information,
It has recorded the name of employee, corresponding unique job number etc..Server of registering is received after the log-on message of user terminal, and pre-
The attendance management information first set is matched, if there is letter corresponding with ID in the attendance management information pre-set
Breath, then the match is successful, and otherwise it fails to match.
Step S403, server of registering returns to the message whether succeeded in registration to user terminal;
If the match is successful, the device id of the ID and corresponding user terminal is stored as Registry, and
The message succeeded in registration is returned to user terminal, the message of registration failure is otherwise returned to user terminal, so that user can know
Know the information.
Step S404, user terminal monitoring and the connection handover event of internal lan;
It is connected to prevent from causing because of terminal abnormal or Network Abnormal user terminal can not be obtained with internal lan, from
And heartbeat can not be carried out with server of registering, lead to miss the time of registering.Therefore, user terminal can be monitored and internal lan
Connection handover event, can in user terminal default one register the time, the default time of registering can be earlier than should register
Time, and the connection handover event of user terminal and internal lan is monitored.
Step S405, user terminal judges whether to return to abnormal alert message of registering;
In the present embodiment, if user terminal monitors user terminal and internal office when reaching the default time of registering
Domain net fails to obtain connection and does not receive successful message of registering, then abnormal alert message of registering is returned to user, so as to carry
User's investigation of waking up is abnormal, so as to register in time
Step S406, user terminal initiates heartbeat to server of registering;
In the present embodiment,, then can be with as long as access internal lan in the user terminal of server successful registration of registering
From trend register server initiate heartbeat request message, wherein, heartbeat request message includes device id, the ID of user terminal
And the temporal information of user terminal requests heartbeat.
Step S407, server of registering judges whether heartbeat is legal;
Specifically, server of registering can judge whether user terminal is conjunction according to device id, the ID of user terminal
The registered user of method, if there is registration letter corresponding with the device id and ID of user terminal in the Registry of storage
Breath, then can determine that user terminal is legal, otherwise determine that user terminal is illegal.
Step S408, server of registering returns to status message of registering;
If it is determined that user terminal is legal, then successful status message of registering is returned to user terminal.
Legal heartbeat is generated data of registering by step S409, server of registering according to heart time;
Server of registering successfully initiates the time of heartbeat according to user terminal, and the time that the same day is initiated to heartbeat earliest determines
Gone to work for user the time registered, the time that the same day is initiated to heartbeat the latest is defined as user's next time registered, so that raw
Into data of registering on and off duty, realization is automatically signing in.
Step S41O, user terminal initiates inquiry request to server of registering;
User grasps the attendance data of oneself at any time for convenience, can also be initiated by user terminal to server of registering
Inquiry request, specifically, user terminal sends inquiry request message to server of registering, wherein, inquiry request message can be wrapped
The device id, ID and query characteristics value of user terminal are included, wherein query characteristics value can be Query Dates or cycle.
Step S411, server of registering returns to data of registering corresponding with inquiry request to user terminal.
Server of registering can then return to Query Dates or in the cycle and user according to the inquiry request message of user terminal
The corresponding data of registering of device id, ID of terminal, in order to which user checks or counts.
The embodiment of the present invention additionally provides one kind and registered device, and the device of registering is arranged at the clothes of registering in internal lan
Business device end, as shown in figure 5, this is registered, device includes:
Acquisition module 501, for obtaining heartbeat request message, wherein, heartbeat request message is that user terminal connection is internal
Initiated after LAN, heartbeat request message can include device id, ID and the user terminal requests heart of user terminal
The temporal information of jump
Legal judge module 502, the device id of user terminal and ID for being obtained according to acquisition module 501 judge
Whether heartbeat request message is legal;
Data generation module of registering 503, if determining that heartbeat request message is legal for legal judge module 502, basis
The temporal information of user terminal requests heartbeat generates data of registering.
First sending module 504, for returning to successful message of registering to user terminal.
The device of registering of the present embodiment can be used for the technical scheme for performing embodiment of the method shown in Fig. 1, its realization principle
Similar with technique effect, here is omitted.
Further, as shown in fig. 6, this is registered, device can also include Registering modules 601, so that,
Acquisition module 501 can be also used for obtaining the log-on message of user terminal, wherein, log-on message includes user terminal
Device id and ID;
Registering modules are then used for, if ID and default attendance management information match, by ID and corresponding
The device id of user terminal is stored as Registry, and returns to the message succeeded in registration.
Further, the device of registering can also include enquiry module 602, and the inquiry request for obtaining user terminal disappears
Breath, wherein, inquiry request message includes device id, ID and the query characteristics value of user terminal, so that according to inquiry request
Message returns to data of registering corresponding with the device id of user terminal, ID and query characteristics value.
The device of registering of the present embodiment can be used for the technical scheme for performing embodiment of the method shown in Fig. 2, its realization principle
Similar with technique effect, here is omitted.
The embodiment of the present invention additionally provides one kind and is automatically signing in device, Fig. 7 be the embodiment of the present invention seven provide it is a kind of from
The structural representation of dynamic device of registering, as shown in fig. 7, comprises:
Link block 701, initiates to connect for internally LAN;
Second sending module 702, disappears for sending heartbeat request to server of registering after being connected with internal lan initiation
Breath, wherein, heartbeat request message includes device id, ID and the time of user terminal requests the heartbeat letter of user terminal
Breath, so that server of registering determines to generate number of registering after heartbeat request message is legal according to the device id and ID of user terminal
According to, and return to successful message of registering;
Receiving module 703, the successful message of registering for receiving server return of registering.
Further, the second sending module 702 can be also used for, and to registering, server sends log-on message, wherein, registration
Information includes the device id and ID of user terminal, so that server of registering completes to register according to ID, and by ID
Registry is stored as with the device id of corresponding user terminal, the message succeeded in registration is returned;
Receiving module 703 can be also used for, and receive the message succeeded in registration for server return of registering.
Further, the second sending module 702 can be also used for, and to registering, server sends inquiry request message, wherein,
Inquiry request message includes device id, ID and the query characteristics value of user terminal, so that server of registering please according to inquiry
Message is asked to return to data of registering corresponding with the device id of user terminal, ID and query characteristics value;
Receiving module 703 can be also used for, and receive the data of registering for server return of registering.
The present embodiment be automatically signing in device can be used for perform Fig. 3 shown in embodiment of the method technical scheme, its realize
Principle is similar with technique effect, and here is omitted.
Further, as shown in figure 8, this, which is automatically signing in device, can also include monitoring modular 801, for monitoring and inside
The connection handover event of LAN, if when reaching the default time of registering, user terminal do not receive register successful message and with
Internal lan fails to obtain connection, then returns to abnormal alert message of registering.
The embodiment of the present invention additionally provide it is a kind of system is automatically signing in based on LAN, as shown in figure 9, the system can be with
Including:Register server 901 and the user terminal 902 for being connected to the internal lan in internal lan are arranged on, wherein,
Register the device of registering set in server 901 in embodiment corresponding just like Fig. 5, Fig. 6, its be described in detail may refer to Fig. 5,
Set automatic in embodiment corresponding just like Fig. 7, Fig. 8 in related content in the corresponding embodiments of Fig. 6, user terminal 902
Register device, the related content that may refer in the corresponding embodiment of Fig. 7, Fig. 8 is described in detail in it, and here is omitted.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and it is arranged on server end of registering, thereon
Be stored with computer program, and following steps can be realized when the computer program is executed by processor:Obtain heartbeat request message,
Heartbeat request message is initiated after user terminal connects internal lan, the equipment that heartbeat request message includes user terminal
ID, ID and user terminal requests heartbeat temporal information;According to judging the device id of user terminal and ID
Whether heartbeat request message is legal;If it is determined that heartbeat request message is legal, then according to the temporal information of user terminal requests heartbeat
Data of registering are generated, and return to successful message of registering.
In one embodiment, before heartbeat request message is obtained, in addition to:The log-on message of user terminal is obtained,
Log-on message includes the device id and ID of user terminal;If it is determined that ID and default attendance management information match,
The device id of ID and corresponding user terminal is then stored as Registry, and returns to the message succeeded in registration.
In one embodiment, in addition to:The inquiry request message of user terminal is obtained, inquiry request message includes user
Device id, ID and the query characteristics value of terminal;Device id, ID with user terminal is returned to according to inquiry request message
The corresponding data of registering with query characteristics value.
In one embodiment, judge whether heartbeat request message is legal according to the device id and ID of user terminal,
Specifically include:Judge in Registry with the presence or absence of relative with the device id and ID of user terminal in heartbeat request message
The log-on message answered;If in the presence of, it is determined that heartbeat request message is legal, otherwise determines that heartbeat request message is illegal.
The embodiment of the present invention additionally provides a kind of computer equipment, and it is arranged on server end of registering, the computer equipment
First memory, first processor can be included and the meter that can be run on the first memory and on first processor is stored
Calculation machine program, following steps can be realized during the first processor configuration processor:Obtain heartbeat request message, heartbeat request message
To initiate after user terminal connection internal lan, the device id of heartbeat request message including user terminal, ID and
The temporal information of user terminal requests heartbeat;Judge that the heartbeat request message is according to the device id and ID of user terminal
It is no legal;If it is determined that heartbeat request message is legal, then data of registering are generated according to the temporal information of user terminal requests heartbeat, and
Return is registered successful message.
In one embodiment, before heartbeat request message is obtained, in addition to:The log-on message of user terminal is obtained,
Log-on message includes the device id and ID of user terminal;If it is determined that ID and default attendance management information match,
The device id of ID and corresponding user terminal is then stored as Registry, and returns to the message succeeded in registration.
In one embodiment, in addition to:The inquiry request message of user terminal is obtained, inquiry request message includes user
Device id, ID and the query characteristics value of terminal;Device id, ID with user terminal is returned to according to inquiry request message
The corresponding data of registering with query characteristics value.
In one embodiment, judge whether heartbeat request message is legal according to the device id and ID of user terminal,
Specifically include:Judge in Registry with the presence or absence of relative with the device id and ID of user terminal in heartbeat request message
The log-on message answered;If in the presence of, it is determined that heartbeat request message is legal, otherwise determines that heartbeat request message is illegal.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and it is arranged on user terminal, stores thereon
There is computer program, following steps can be realized when the computer program is executed by processor:Internally LAN initiates connection;
It is connected to after internal lan to server of registering and sends heartbeat request message, the equipment that heartbeat request message includes user terminal
ID, ID and user terminal requests heartbeat temporal information so that server of registering according to the device id of user terminal and
ID determines to generate data of registering after heartbeat request message is legal;Receive the successful message of registering for server return of registering.
In one embodiment, in addition to:Log-on message is sent to server of registering, log-on message includes user terminal
Device id and ID, so that server of registering completes to register according to ID, and by ID and corresponding user terminal
Device id is stored as the message succeeded in registration that Registry receives server return of registering.
In one embodiment, in addition to:Inquiry request message is sent to server of registering, inquiry request message includes using
Device id, ID and the query characteristics value of family terminal, so that server of registering is returned and user's end according to inquiry request message
Device id, ID and the corresponding data of registering of query characteristics value at end;Receive the data of registering for server return of registering.
In one embodiment, in addition to:Monitoring and the connection handover event of internal lan;If being registered the time default
During arrival, fail to obtain with internal lan and be connected and do not receive successful message of registering, then return abnormal warning of registering disappears
Breath.
The embodiment of the invention also discloses a kind of user terminal, including second memory, second processor and it is stored in
On second memory and the computer program that can be run in second processor, it can be realized during the second processor configuration processor
Following steps:Internally LAN initiates connection;It is connected to after internal lan to server of registering and sends heartbeat request message,
Heartbeat request message includes device id, ID and the temporal information of user terminal requests heartbeat of user terminal, so that label
Determined to generate data of registering after heartbeat request message is legal according to the device id and ID of user terminal to server;Receive label
The successful message of registering returned to server.
In one embodiment, in addition to:Log-on message is sent to server of registering, log-on message includes user terminal
Device id and ID, so that server of registering completes to register according to ID, and by ID and corresponding user terminal
Device id is stored as Registry;Receive the message succeeded in registration for server return of registering.
In one embodiment, in addition to:Inquiry request message is sent to server of registering, inquiry request message includes using
Device id, ID and the query characteristics value of family terminal, so that server of registering is returned and user's end according to inquiry request message
Device id, ID and the corresponding data of registering of query characteristics value at end;Receive the data of registering for server return of registering.
In one embodiment, in addition to:Monitoring and the connection handover event of internal lan;If being registered the time default
During arrival, fail to obtain with internal lan and be connected and do not receive successful message of registering, then return abnormal warning of registering disappears
Breath.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (13)
1. one kind is automatically signing in method, it is characterised in that including:
Server of registering obtains heartbeat request message, and the heartbeat request message is initiation after user terminal connection internal lan
, the heartbeat request message includes the device id, ID and the user terminal requests heartbeat of the user terminal
Temporal information;
The server of registering judges whether the heartbeat request message closes according to the device id and ID of the user terminal
Method;
If the server of registering determines that the heartbeat request message is legal, according to the time of the user terminal requests heartbeat
Information generates data of registering, and returns to successful message of registering.
2. according to claim 1 be automatically signing in method, it is characterised in that obtains heartbeat request in the server of registering
Before message, in addition to:
The server of registering obtains the log-on message of user terminal, and the log-on message includes the device id and use of user terminal
Family ID;
If the server of registering determines the ID and default attendance management information match, by the ID and
The device id of corresponding user terminal is stored as Registry, and returns to the message succeeded in registration.
3. according to claim 1 or 2 be automatically signing in method, it is characterised in that also includes:
The server of registering obtains the inquiry request message of user terminal, and the inquiry request message includes setting for user terminal
Standby ID, ID and query characteristics value;
The server of registering returns to device id, ID and the inquiry with the user terminal according to the inquiry request message
The corresponding data of registering of characteristic value.
4. according to claim 3 be automatically signing in method, it is characterised in that the server of registering is whole according to the user
The device id and ID at end judge whether the heartbeat request message is legal, specifically includes:
The server of registering judges to whether there is and user terminal in the heartbeat request message in the Registry
The device id log-on message corresponding with ID;
If in the presence of the server of registering determines that the heartbeat request message is legal, otherwise determines the heartbeat request message
It is illegal.
5. one kind is automatically signing in method, it is characterised in that including:
Internally LAN initiates connection to user terminal;
The user terminal is connected to after internal lan to server of registering and sends heartbeat request message, and the heartbeat request disappears
Breath includes the temporal information of the device id, ID and the user terminal requests heartbeat of the user terminal, so that described
Server of registering determines to generate after the heartbeat request message is legal according to the device id and ID of the user terminal registers
Data;
The successful message of registering that server of being registered described in the user terminal reception is returned.
6. according to claim 5 be automatically signing in method, it is characterised in that also includes:
The user terminal sends log-on message to the server of registering, and the log-on message includes setting for the user terminal
Standby ID and ID, so that the server of registering completes to register according to the ID, and by the ID and corresponding
The device id of user terminal is stored as Registry;
The message succeeded in registration that server of being registered described in the user terminal reception is returned.
7. according to claim 5 be automatically signing in method, it is characterised in that also includes:
The user terminal sends inquiry request message to the server of registering, and the inquiry request message includes the user
Device id, ID and the query characteristics value of terminal so that it is described register server according to the inquiry request message return with
Device id, ID and the corresponding data of registering of query characteristics value of the user terminal;
The data of registering that server of being registered described in the user terminal reception is returned.
8. it is automatically signing in method according to any one of claim 5~7, it is characterised in that also include:
The user terminal monitoring and the connection handover event of internal lan;
If when reaching the default time of registering, the user terminal fails to obtain to be connected and do not receive to register into internal lan
The message of work(, then return to abnormal alert message of registering.
The device 9. one kind is registered, it is characterised in that the device of registering is arranged at the server end of registering in internal lan, institute
Stating device of registering includes:
Acquisition module, for obtaining heartbeat request message, the heartbeat request message is that user terminal is connected after internal lan
Initiate, the heartbeat request message includes device id, ID and the user terminal requests heart of the user terminal
The temporal information of jump;
Legal judge module, the device id of user terminal and ID for being obtained according to the acquisition module judge the heart
Whether legal jump request message;
Register data generation module, if determining that the heartbeat request message is legal for the legal judge module, according to institute
The temporal information for stating user terminal requests heartbeat generates data of registering;
First sending module, for returning to successful message of registering to the user terminal.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt
Following steps are realized during computing device:
Heartbeat request message is obtained, the heartbeat request message is initiated after user terminal connects internal lan, the heart
Jumping request message includes device id, ID and the temporal information of the user terminal requests heartbeat of the user terminal;
Judge whether the heartbeat request message is legal according to the device id and ID of the user terminal;
If it is determined that the heartbeat request message is legal, then number of registering is generated according to the temporal information of the user terminal requests heartbeat
According to, and return to successful message of registering.
11. a kind of computer equipment, including first memory, first processor and store on the first memory and can be the
The computer program run on one processor, it is characterised in that the first processor realizes following walk when performing described program
Suddenly:
Heartbeat request message is obtained, the heartbeat request message is initiated after user terminal connects internal lan, the heart
Jumping request message includes device id, ID and the temporal information of the user terminal requests heartbeat of the user terminal;
Judge whether the heartbeat request message is legal according to the device id and ID of the user terminal;
If it is determined that the heartbeat request message is legal, then number of registering is generated according to the temporal information of the user terminal requests heartbeat
According to, and return to successful message of registering.
12. one kind is automatically signing in device, it is characterised in that the device that is automatically signing in is arranged at user terminal, it is characterised in that
Including:
Link block, initiates to connect for internally LAN;
Second sending module, it is described for being initiated with internal lan to server transmission heartbeat request message of registering after being connected
Heartbeat request message includes device id, ID and the time of the user terminal requests heartbeat letter of the user terminal
Breath, so that the server of registering determines that the heartbeat request message is legal according to the device id and ID of the user terminal
Data of registering are generated afterwards, and return to successful message of registering;
Receiving module, the successful message of registering for receiving the server return of registering.
13. a kind of user terminal, including second memory, second processor and it is stored on second memory and can be second
The computer program run on processor, it is characterised in that the second processor realizes following steps when performing described program:
Internally LAN initiates connection;
Initiated with internal lan to server transmission heartbeat request message of registering after being connected, the heartbeat request message includes using
Device id, ID and the temporal information of the user terminal requests heartbeat of family terminal, so that the server root of registering
Determine to generate data of registering after the heartbeat request message is legal according to the device id and ID of the user terminal, and return to label
To successful message;
The successful message of registering that server of being registered described in receiving is returned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710324041.XA CN107317721A (en) | 2017-05-08 | 2017-05-08 | It is automatically signing in method, device, computer equipment and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710324041.XA CN107317721A (en) | 2017-05-08 | 2017-05-08 | It is automatically signing in method, device, computer equipment and user terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107317721A true CN107317721A (en) | 2017-11-03 |
Family
ID=60184884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710324041.XA Pending CN107317721A (en) | 2017-05-08 | 2017-05-08 | It is automatically signing in method, device, computer equipment and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107317721A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218398A (en) * | 2018-08-06 | 2019-01-15 | 深圳市中兴系统集成技术有限公司 | One kind is registered method, system, equipment and storage medium |
CN111142067A (en) * | 2019-08-27 | 2020-05-12 | 广东小天才科技有限公司 | Three-dimensional positioning method of mobile equipment and mobile equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060182045A1 (en) * | 2005-02-14 | 2006-08-17 | Eric Anderson | Group interaction modes for mobile devices |
CN102411798A (en) * | 2011-08-30 | 2012-04-11 | 北京西岭网络科技有限公司 | Attendance checking system and method |
CN102739700A (en) * | 2011-04-02 | 2012-10-17 | 上海照恒光电技术有限公司 | Automatic sign-in system and method thereof |
CN103745504A (en) * | 2013-12-17 | 2014-04-23 | 国家电网公司 | Automatic attendance system |
CN103886648A (en) * | 2014-03-11 | 2014-06-25 | 庄南庆 | Attendance system based on WIFI (Wireless Fidelity) signals of cell phone |
CN104157019A (en) * | 2014-07-21 | 2014-11-19 | 惠州Tcl移动通信有限公司 | Indoor-positioning-technology-based check-in method and system |
CN105184880A (en) * | 2015-08-17 | 2015-12-23 | 武汉理工大学 | Sign-in system and method based on WiFi |
-
2017
- 2017-05-08 CN CN201710324041.XA patent/CN107317721A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060182045A1 (en) * | 2005-02-14 | 2006-08-17 | Eric Anderson | Group interaction modes for mobile devices |
CN102739700A (en) * | 2011-04-02 | 2012-10-17 | 上海照恒光电技术有限公司 | Automatic sign-in system and method thereof |
CN102411798A (en) * | 2011-08-30 | 2012-04-11 | 北京西岭网络科技有限公司 | Attendance checking system and method |
CN103745504A (en) * | 2013-12-17 | 2014-04-23 | 国家电网公司 | Automatic attendance system |
CN103886648A (en) * | 2014-03-11 | 2014-06-25 | 庄南庆 | Attendance system based on WIFI (Wireless Fidelity) signals of cell phone |
CN104157019A (en) * | 2014-07-21 | 2014-11-19 | 惠州Tcl移动通信有限公司 | Indoor-positioning-technology-based check-in method and system |
CN105184880A (en) * | 2015-08-17 | 2015-12-23 | 武汉理工大学 | Sign-in system and method based on WiFi |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218398A (en) * | 2018-08-06 | 2019-01-15 | 深圳市中兴系统集成技术有限公司 | One kind is registered method, system, equipment and storage medium |
CN111142067A (en) * | 2019-08-27 | 2020-05-12 | 广东小天才科技有限公司 | Three-dimensional positioning method of mobile equipment and mobile equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110213356A (en) | A kind of login process method and relevant device based on data processing | |
CN104584621B (en) | Outside the wireless mixing field for reconnecting the time for reducing computing device/scene prediction calculating | |
CN104683961B (en) | Business card exchange method, device and terminal | |
CN106303099B (en) | A kind of method, apparatus and system for verifying user's communicating number validity | |
CN110162424B (en) | Fault processing method, system, device and storage medium | |
US20130055271A1 (en) | Apparatus and method for controlling polling | |
CN110730472B (en) | Communication certificate state detection method and server | |
JP2017162440A (en) | System and method for cloud-service asset management for portable computer test tools | |
CN104025516A (en) | Systems and methods of remote communication | |
CN107528766A (en) | Information-pushing method, apparatus and system | |
CN108769275A (en) | A kind of access system and server | |
CN110322578A (en) | A kind of Work attendance method and device | |
CN109003350A (en) | Generation dimension logging instrument and working method | |
CN109120616A (en) | A kind of identity identifying method, device, agency service end and storage medium | |
CN103491175B (en) | Method and terminal for application program management | |
CN105307113B (en) | Method and its mobile terminal are lost and are recovered in the identification of mobile terminal | |
CN107317721A (en) | It is automatically signing in method, device, computer equipment and user terminal | |
CN104639546A (en) | Multi-biometric feature comprehensive authentication method, device and system | |
CN113360321B (en) | Micro-service retry calling method and device, electronic equipment and storage medium | |
CN106331169A (en) | Method for reporting loss of mobile terminal and cloud customer terminal, cloud server, mobile terminal | |
CN111104289B (en) | System and method for checking efficiency of GPU (graphics processing Unit) cluster | |
CN105228139B (en) | A kind of call processing method, device and equipment based on smart machine | |
CN109167958A (en) | A kind of monitor video call method | |
CN110415451A (en) | The charging module of mobile power source leased equipment and its data transmission method between mobile power source | |
CN103974416A (en) | Method, device and system for acquiring position information of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171103 |