CN106790443A - The transmission method and device of a kind of attendance data - Google Patents

The transmission method and device of a kind of attendance data Download PDF

Info

Publication number
CN106790443A
CN106790443A CN201611109863.8A CN201611109863A CN106790443A CN 106790443 A CN106790443 A CN 106790443A CN 201611109863 A CN201611109863 A CN 201611109863A CN 106790443 A CN106790443 A CN 106790443A
Authority
CN
China
Prior art keywords
attendance
mobile terminal
attendance recorder
data
recorder
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
Application number
CN201611109863.8A
Other languages
Chinese (zh)
Inventor
吕榕林
吴乾亮
康建建
陈建兴
朱龙海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Central Intelligent Information Technology Co., Ltd.
Original Assignee
Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Zhongkong Biological Recognition Information Technology Co Ltd filed Critical Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
Priority to CN201611109863.8A priority Critical patent/CN106790443A/en
Publication of CN106790443A publication Critical patent/CN106790443A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The present invention is applied to communication technical field, there is provided the transmission method and device of a kind of attendance data, including:Mobile terminal sets up wireless connection with default attendance recorder;Mobile terminal submits the data download request for carrying identity to attendance recorder;The attendance data matched with the authority of identity that acquisition for mobile terminal attendance recorder is sended over.The embodiment of the present invention is by the attendance data in attendance recorder by wireless network transmissions to mobile terminal, allow users to be transmitted management and control to attendance data whenever and wherever possible, need not be constrained by geographical position, be improve flexibility and the data transmission efficiency of data transfer;Without reserving Peripheral Interface on attendance recorder, the equipment consumables cost of attendance recorder is reduced;Ensure that mobile terminal can only download attendance data information in the range of authority regulation so that unauthorized user is to enable connection attendance recorder, cannot also realize the download of attendance data, connection will also be forced to disconnect, and thereby guarantee that the safe transmission of attendance data.

Description

The transmission method and device of a kind of attendance data
Technical field
The invention belongs to communication technical field, more particularly to a kind of attendance data transmission method and device.
Background technology
In modern society, attendance recorder has gradually been applied to office building, small as a kind of instrument for recording attendance data All kinds of places such as area, market, bank, are great convenience that people bring.As the application of attendance recorder is widely spread, work attendance The transmission problem of data has also obtained extensive attention in the industry.Currently, user mainly obtains work attendance by following several ways Data:First, the reserved USB interface of every attendance recorder is inserted by by USB flash disk, realizes deriving the attendance data on direct-connected attendance recorder To USB flash disk;2nd, the network interface for reserving netting twine insertion attendance recorder so that the attendance data in attendance recorder can be passed by cable network Transport to the PC of keeper.
But, realize it is of the invention during, inventor has found that current attendance data transmission method is at least present such as Lower problem:Attendance data is transmitted by using USB flash disk or the mode of wire transmission and is connect, it is necessary to reserve peripheral hardware on attendance recorder Mouthful, the consumables cost that result in equipment increases;Additionally, keeper must be in the action and insert USB flash disk or must be positioned at every time Position with network layout could connect attendance recorder by using cable network, therefore, it is impossible to meet user whenever and wherever possible The demand of management and control is transmitted to attendance data, the very flexible of data transfer, efficiency of transmission are low.Improve the spirit of data transfer Activity and data transmission efficiency;Without reserving Peripheral Interface on attendance recorder, the equipment consumables cost of attendance recorder is reduced.
The content of the invention
The purpose of the embodiment of the present invention is the transmission method and device for providing a kind of attendance data, it is intended to solve existing examining The equipment consumables cost of diligent data transmission method is too high, data transfer very flexible, efficiency of transmission is low and cannot meet use Family is transmitted the problem of the demand of management and control to attendance data whenever and wherever possible.
The first aspect of the embodiment of the present invention, there is provided a kind of transmission method of attendance data, methods described includes:
Mobile terminal sets up wireless connection with default attendance recorder;
The mobile terminal sends the authentication information based on personal account to the attendance recorder, so that the attendance recorder The personal account is confirmed after legal account, identification information to be returned to the mobile terminal;
The mobile terminal submits data download request to the attendance recorder;
The work attendance matched with the authority of the personal account that attendance recorder described in the acquisition for mobile terminal is sended over Data.
The second aspect of the embodiment of the present invention, there is provided a kind of transmission method of attendance data, methods described includes:
Attendance recorder sets up wireless connection with mobile terminal;
The attendance recorder obtains the authentication information based on personal account that the mobile terminal is uploaded;
When the personal account confirms as legal account, the attendance recorder is returned on described to the mobile terminal The identification information of people's account;
The attendance recorder receives the data download request that the mobile terminal is submitted to;
The attendance recorder sends to the mobile terminal attendance data that the authority with the personal account matches.
The third aspect of the embodiment of the present invention, there is provided a kind of transmitting device of attendance data, described device includes:
First connection unit, for setting up wireless connection with default attendance recorder;
Transmitting element, for sending the authentication information based on personal account to the attendance recorder, so that the work attendance Machine confirms the personal account after legal account, identification information to be returned to the mobile terminal;
Request unit, for submitting data download request to the attendance recorder;
First acquisition unit, for obtaining that the attendance recorder sends over and the authority of the personal account matches The attendance data.
The fourth aspect of the embodiment of the present invention, there is provided a kind of transmitting device of attendance data, described device includes:
Second connection unit, for setting up wireless connection with mobile terminal;
Second acquisition unit, for obtaining the authentication information based on personal account that the mobile terminal is uploaded;
Confirmation unit, for when the personal account confirms as legal account, being returned on institute to the mobile terminal State the identification information of personal account;
Receiving unit, for receiving the data download request that the mobile terminal is submitted to;
Issuance unit, for the attendance data that the authority with the personal account matches to be sent to the movement eventually End.
The embodiment of the present invention is by the attendance data in attendance recorder by wireless network transmissions to mobile terminal so that Yong Huneng Mobile terminal is enough utilized, management and control is transmitted to attendance data whenever and wherever possible, constrained without by geographical position, improve The flexibility of data transfer and data transmission efficiency.Additionally, the embodiment of the present invention on attendance recorder without reserving Peripheral Interface, Reduce the equipment consumables cost of attendance recorder;Sent to attendance recorder by by the data download request for carrying identity, it is ensured that Mobile terminal can only download attendance data information in the range of authority regulation so that even if unauthorized user can connect to examine Diligent machine, cannot also realize the download of attendance data, and connection will also be forced to disconnect, and thus further ensure attendance data Safe transmission.
Brief description of the drawings
Fig. 1 is the system architecture diagram that is applicable of transmission method of attendance data provided in an embodiment of the present invention;
Fig. 2 is that the transmission method mobile terminal side of attendance data provided in an embodiment of the present invention realizes flow chart;
Fig. 3 is that the transmission method mobile terminal side S201 of attendance data provided in an embodiment of the present invention implements flow Figure;
Fig. 4 is that the transmission method mobile terminal side S202 of attendance data provided in an embodiment of the present invention implements flow Figure;
Fig. 5 is the interactive stream that mobile terminal is identified by recognition methods of shaking hands to authorisation device in the embodiment of the present invention Cheng Tu;
Fig. 6 is implementing for the transmission method mobile terminal side S201 of the attendance data that another embodiment of the present invention is provided Flow chart;
Fig. 7 is that flow chart is realized in the transmission method attendance recorder side of attendance data provided in an embodiment of the present invention;
Fig. 8 is that the transmission method attendance recorder side S701 of attendance data provided in an embodiment of the present invention implements flow Figure;
Fig. 9 is the structured flowchart of the transmitting device of the attendance data of mobile terminal side provided in an embodiment of the present invention;
Figure 10 is the structured flowchart of the transmitting device of the attendance data of attendance recorder side provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention is by the attendance data in attendance recorder by wireless network transmissions to mobile terminal so that Yong Huneng Mobile terminal is enough utilized, management and control is transmitted to attendance data whenever and wherever possible, constrained without by geographical position, improve The flexibility of data transfer and data transmission efficiency.Additionally, the embodiment of the present invention on attendance recorder without reserving Peripheral Interface, Reduce the equipment consumables cost of attendance recorder;Sent to attendance recorder by by the data download request for carrying identity, it is ensured that Mobile terminal can only download attendance data information in the range of authority regulation so that even if unauthorized user can connect to examine Diligent machine, cannot also realize the download of attendance data, and connection will also be forced to disconnect, and thus further ensure attendance data Safe transmission.
In embodiments of the present invention, the attendance recorder refer to embedded computer system, can automatic identification and The smart machine of attendance information is recorded, including fingerprint recognition for attendance checking machine, hand vein recognition, iris recognition attendance recorder and recognition of face are examined Polytype attendance recorder such as diligent machine.
Fig. 1 shows the system architecture diagram that the transmission method of attendance data provided in an embodiment of the present invention is applicable, in order to It is easy to explanation, illustrate only part related to the present embodiment.
Reference picture 1, the system is made up of mobile terminal 11 and Duo Tai attendance recorders 12.Wherein, mobile terminal 11 can be pen The terminal device with network access facility such as this computer, panel computer or mobile phone is remembered, by operation answering on the device Radio communication is carried out with programmatic client and attendance recorder 12.Mobile terminal 11 is carried as a requesting client to attendance recorder 12 Attendance data download request is handed over, the data result that can be obtained according to download carries out statement analysis and feeds back to actual user.
Within the system, attendance recorder 12 is used for attendance data, gate inhibition's turnover data according to storage, with the movement being connected Terminal 11 interacts operation.Attendance data includes but is not limited to each time period, each user and each number of attendance recorder record It is believed that breath, attendance recorder 12 is stored and screened to above-mentioned data message, and is directly handed over other external equipments or user Mutually.It is that mobile terminal 11 provides attendance data download clothes when every attendance recorder 12 is in wireless connection conditions with mobile terminal 11 Business.
What Fig. 2 showed the transmission method mobile terminal side of attendance data provided in an embodiment of the present invention realizes flow, In the present embodiment, the executive agent of flow is mobile terminal, and details are as follows:
In S201, mobile terminal sets up wireless connection with default attendance recorder.
In the present embodiment, mobile terminal needs to be in one connected network of identical with attendance recorder, just can guarantee that movement Radio communication can be set up between terminal and default attendance recorder.Make mobile terminal that the side of identical connected network is in attendance recorder Formula can have various.For example, mobile terminal and attendance recorder are connected to in-company same WAP or are made examining Diligent machine opens Bluetooth function, sets up wireless connection etc. between the two by way of bluetooth.
In addition, used as one embodiment of the present of invention, mobile terminal sets up the mode of wireless connection with default attendance recorder Also include:
Attendance recorder opens hotspot function so that the hotspot signal that can be sent according to attendance recorder of mobile terminal with Attendance recorder is attached.
Attendance recorder is embedded with WIFI module, and the module causes that attendance recorder has hotspot function and wireless access work( Energy.Hotspot function represents that attendance recorder can provide WLAN for the other equipment with wireless access function (WLAN) access service.
Specifically, after attendance recorder opens hotspot function, the SSID (Service of the WLAN that can be provided Set Identifier, service set identifiers) broadcasted.Mobile terminal in signal broadcasting area can search for and The SSID is connected, and dhcp server functionality (the Dynamic Host Configuration provided according to attendance recorder Protocol, DHCP), the LAN IP that attendance recorder distribution comes is acquired, so that mobile Terminal is in identical LAN with work attendance function, realizes wireless connection therebetween.
In S202, the mobile terminal sends the authentication information based on personal account to the attendance recorder, so that The attendance recorder confirms the personal account after legal account, identification information to be returned to the mobile terminal.
In mobile terminal side, the personal account information related to user identity of user input is obtained.The account letter Breath includes but is not limited to the entity card account informations such as job number, gate inhibition's card number, identification card number, also including other virtual account informations, Such as equipment manager account, office system account.Wherein, the mobile terminal can directly be redirected by interactive program To other systems platform, the user identity account on current system platform is obtained.
Mobile terminal sends authentication information to the attendance recorder, and above-mentioned personal account is carried in the information, also wraps Containing the password corresponding to the personal account.
In the present embodiment, attendance recorder extracts the personal account of user from the authentication information for receiving.Attendance recorder In there is the identity information storehouse of legitimate authorized user, be only present in during the account in the identity information storehouse could download attendance recorder Attendance data.
Specifically, attendance recorder carries out the above-mentioned personal account for acquiring and the legal account information in identity information storehouse Matching contrast one by one, judges whether that identical records entry.If being stored in there is identical record entry and the entry Account number cipher is identical with the identification cipher that attendance recorder is received, then attendance recorder confirms the personal account for legal account, and concludes The user is authorized user, so as to return to identification information to mobile terminal.The user of mobile terminal is allowed to interact boundary at it Continue to operate in face.
In S203, the mobile terminal submits data download request to the attendance recorder.
Preferably, mobile terminal submits the data download request for carrying identity to attendance recorder.Above-mentioned personal account and The information that account number cipher etc. embodies user identity is identity.The data download request that mobile terminal is submitted to every time is required to Identity is carried, so as under security requirement scene higher, attendance recorder can every time receive data download request And before screening attendance data, the identity of certification request sender, better ensures that the safe transmission of attendance data again.
Preferably, it is mobile whole if mobile terminal is keeper's account information to the authentication information that attendance recorder sends The data download request that hereafter end submits to every time must all carry identity.Ensure the maximum administrator couple of Permission Levels The legitimacy that attendance data is downloaded, it is to avoid when administrator leaves mobile terminal in midway, the movement of keeper is usurped by other people Terminal, the illegal download attendance data related to all personnel.
In S204, the authority phase with the personal account that attendance recorder described in the acquisition for mobile terminal is sended over The attendance data matched somebody with somebody.
Attendance recorder obtains the data corresponding to the individual subscriber account after the user for confirming mobile terminal is for authorized user Download permission, so that mobile terminal can only download the data related to work attendance in the range of authority specifies.
For example, department chief inspector can only download the attendance data of oneself departmental staff, and system manager can download public affairs Take charge of the scheduling data of all personnel.
After attendance recorder receives data download request, in the range of the download permission of the user, the actual institute of user is filtered out The attendance data for needing, and send to mobile terminal.
The embodiment of the present invention is by the attendance data in attendance recorder by wireless network transmissions to mobile terminal so that Yong Huneng Mobile terminal is enough utilized, management and control is transmitted to attendance data whenever and wherever possible, constrained without by geographical position, improve The flexibility of data transfer and data transmission efficiency.Additionally, the embodiment of the present invention on attendance recorder without reserving Peripheral Interface, Reduce the equipment consumables cost of attendance recorder;Sent to attendance recorder by by the data download request for carrying identity, it is ensured that Mobile terminal can only download attendance data information in the range of authority regulation so that even if unauthorized user can connect to examine Diligent machine, cannot also realize the download of attendance data, and connection will also be forced to disconnect, and thus further ensure attendance data Safe transmission.
Used as one embodiment of the present of invention, mobile terminal also submits to the binding for carrying personal account information to ask to attendance recorder Ask, attendance recorder confirms the personal account of user after legal account, to be bound with mobile terminal.Hereafter, mobile terminal can be straight Connect carries out data interaction with attendance recorder, i.e. after wireless connection is set up, and mobile terminal directly submits to data to download to attendance recorder please Ask, without the data message for repeating the personal account information of submission carrying.Thus the efficiency of transmission of data can be further increasing.
As one embodiment of the present of invention, as shown in figure 3, in S201, the mobile terminal is built with default attendance recorder Vertical wireless connection includes:
In S301, the mobile terminal is broadcasted its IP address and port numbers, so that every in broadcast domain Platform attendance recorder receives the IP address and port numbers of the mobile terminal.
In the present embodiment, when mobile terminal wirelessly accesses any LAN, wireless heat can be acquired One IP address of internal network of point distribution.Communicated to be interacted with attendance recorder, mobile terminal opens a specific agreement Port provides data interaction service, wherein, the identification number of the application software with network function is the end of the protocol port Slogan.
Mobile terminal is after its socket sets broadcast nature, by udp (User Datagram Protocol, UDP) information broadcasts into the LAN being presently in above-mentioned IP address and port numbers, so that All attendance recorders in LAN can receive the broadcast message of IP address and port numbers based on the mobile terminal.
In the present embodiment, IP address and the port number information scope to be broadcast to the as broadcast domain of mobile terminal, Comprising the attendance recorder of more than in broadcast domain, the broadcast frame from same mobile terminal is received.
In S302, IP address and port of the every attendance recorder described in the acquisition for mobile terminal according to the mobile terminal Number work attendance machine information for sending over.
Every attendance recorder possesses respective work attendance machine information, the including but not limited to device name of attendance recorder, equipment sequence Number, MAC Address (Medium Access Control, physical address), unit type, firmware version number, IP address and port numbers Deng facility information.The IP address and port numbers of the mobile terminal that every attendance recorder will be received as packet destination address and Destination interface, and the data packet back of work attendance machine information to mobile terminal will be packaged with.
In S303, the mobile terminal carries out dissection process to the work attendance machine information, described default to filter out The corresponding work attendance machine information of attendance recorder.
In the present embodiment, mobile terminal receives the examining based on JSON data forms that every attendance recorder is transmitted respectively Diligent machine information.After every work attendance machine information is parsed, converted, in display to the screen of mobile terminal, looked into for user See selection.Due to every work attendance machine information can with one specific attendance recorder of unique mark, therefore, according to every attendance recorder pair The facility information answered, can therefrom filter out the work attendance machine information of a default attendance recorder, and a default attendance recorder is The actually required attendance recorder of user.
For example, mobile terminal receives two work attendance machine informations, the equipment Serial Number included in two work attendance machine informations point Wei " 0785-956 " and " 0785-957 ".Because the equipment Serial Number " 0785-957 " of default work attendance machine information is user's reality Information known to border, the attendance recorder match information prestored therefore, it is possible to the selection according to user or according to mobile terminal, hand Work automatic filters out the corresponding work attendance machine information of the default attendance recorder from the two equipment Serial Numbers.
In S304, IP address and port numbers of the mobile terminal in the work attendance machine information for filtering out, with The default attendance recorder carries out wireless connection.
From this work attendance machine information for filtering out, the IP address and port numbers of default attendance recorder are obtained.Mobile terminal Searched out from the LAN being currently located to should IP address attendance recorder, and to its port send radio connection request.
Mobile terminal is with attendance recorder by after three-way handshake confirmation, wireless connection being carried out with default attendance recorder.
In the present embodiment, the information of all attendance recorders in broadcast domain is obtained by broadcast mechanism, and is therefrom filtered out The IP address and port numbers of actually required attendance recorder, it is to avoid user needs to check and be manually entered the IP ground of attendance recorder in advance Location and port number information, reduce operation complexity.Because every IP address of attendance recorder dynamic can change in LAN, The attendance recorder information acquisition method provided by the present embodiment, ensure that mobile terminal automatically updates connected attendance recorder IP address, realize to preset an Auto-reconnect for attendance recorder, maintain attendance recorder can be chronically at monitoring control shape State.
Used as one embodiment of the present of invention, also being carried in the data download request that mobile terminal is submitted to attendance recorder needs The particular type of the attendance data to be downloaded.
Attendance data type is included but is not limited to:Original attendance data, the attendance data based on different time sections, based on not With the total amount of the attendance data of department, the attendance data based on different language and the combination comprising above-mentioned all kinds of attendance datas According to type.
For example, the specific attendance data type included in the data download request of mobile terminal is:The owner of July The attendance data of member.
In the present embodiment, attendance recorder is according to the data download request based on attendance data type for receiving, sieve Select the attendance data of correspondence attendance data type.
For example, in above-mentioned example, attendance recorder filters out the time period for July in one's duty work attendance number from original attendance data According to.
The present embodiment filters out qualified work attendance number according to attendance data type from numerous original attendance datas According to, it is possible to increase mobile terminal receives the validity of attendance data, it is to avoid every time can only download in attendance recorder all examines Diligent data, improve the efficiency of transmission of attendance data and reduce bandwidth usage during being wirelessly transferred.
As one embodiment of the present of invention, as shown in figure 4, in S202, the mobile terminal is submitted to the attendance recorder Data download request includes:
In S401, the mobile terminal confirms whether the attendance recorder is that mandate sets by default recognizer of shaking hands It is standby.
In the present embodiment, default recognizer of shaking hands is specific as follows:
Mobile terminal generates an an encryption factor A1 and random number A2, and first pre- in mobile terminal to store The number that imputation method is obtained after processing the encryption factor A1 as encryption key key, by AES (Advanced Encryption Standard, Advanced Encryption Standard) after algorithm for encryption random number A2, obtain the encryption data of random number A2 A3;
Encryption factor A1 and encryption data A3 are issued to mobile terminal the attendance recorder of current connection;
If the attendance recorder being connected with mobile terminal does not return to any encryption data in default time interval, currently connect The attendance recorder for connecing is unauthorized device;
If the attendance recorder being connected with mobile terminal returns a encryption data B1 in the default time, mobile terminal is still Need to proceed as follows:
1) the encryption data B1 is solved by aes algorithm using above-mentioned encryption key key as decruption key again It is close, obtain the ciphertext data B2 of B1;
2) calculating treatment is carried out to the random number A2 of above-mentioned generation using the non-reversible algorithm being preset in mobile terminal, is obtained To random number A2 the first processing data C1 on mobile terminals;
3) judge whether random number A2 the first processing data C1 on mobile terminals are identical with above-mentioned ciphertext data B2, if Identical, then the attendance recorder of current connection is authorisation device;Otherwise, the attendance recorder of current connection is unauthorized device.
Specifically, as shown in figure 5, for the attendance recorder for belonging to authorisation device, its be connected to it is that mobile terminal is issued plus When close factors A 1 and encryption data A3, can be handled as follows:
A) the number work obtained after being processed encryption factor A1 with first preset algorithm stored in attendance recorder It is decruption key, the decruption key is identical with above-mentioned key, and should adds by using with the decryption of mobile terminal identical aes algorithm Ciphertext data A3, draws the random number A2 of above-mentioned mobile terminal generation;
B) using calculating treatment is carried out to random number A2 with mobile terminal identical non-reversible algorithm, obtain random number A2 and exist Second processing data C2 on mobile terminal;
C) using above-mentioned key as encryption key, second processing data C2 is entered by with mobile terminal identical aes algorithm Row encryption, obtains the encryption data of C2, and the encryption data is above-mentioned encryption data B1, and encryption data B1 is back into shifting Dynamic terminal.
In the present embodiment, non-reversible algorithm is represented, even if source data only changes a byte and can all cause to calculate Result produce the algorithm of great variety, and with one-way, irreversibility.Such as MD5 (Message-Digest Algorithm 5, Message-Digest Algorithm 5), SHA (Secure Hash Algorithm, SHA), CRC (Cyclic Redundancy Check, CRC) scheduling algorithm.
In S402, if the attendance recorder is the authorisation device, the mobile terminal submits number to the attendance recorder According to download request.
The attendance recorder that the present embodiment pair is connected with mobile terminal carries out legitimacy identification, by be preset in mobile terminal and Shake hands recognizer to realize in legal authorization attendance recorder, it is ensured that even if mobile terminal is connected to unauthorized device, Cannot interact, connection will also be forced to disconnect.The present embodiment causes that mandate can only be downloaded and managed to mobile terminal Attendance data in equipment, so as to improve the security performance of application program in mobile terminal, it is to avoid lawless person uses our factory The supporting application program for mobile terminal of business's attendance recorder carries out the interaction and management of attendance data come the attendance recorder to other manufacturers.
As an alternative embodiment of the invention, as shown in fig. 6, in S201, the mobile terminal and default attendance recorder Setting up wireless connection includes:
In S601, the default attendance recorder sends Bluetooth signal.
In the present embodiment, bluetooth module is provided with attendance recorder, and bluetooth work(can be started based on the bluetooth module Energy.Attendance recorder sends Bluetooth signal as main equipment, that is, send the UHF (Ultra in the ISM band of 2.4GHz to 2.485GHz High Frequency, superfrequency) radio wave signal.
In S602, it is close that the mobile terminal sends pairing according to the Bluetooth signal for detecting, to the attendance recorder Code.
In S603, if the pairing password matches with the preset-key in the attendance recorder, the mobile terminal Wireless connection is set up with the attendance recorder by bluetooth approach.
Because the pairing password in the preset password and mobile terminal in attendance recorder is identical, therefore, attendance recorder and movement Terminal is also identical by the link key that internal preset algorithm is generated, so as to complete the process of Bluetooth connection authentication.Thus, The wireless connection of link level is established between mobile terminal and attendance recorder.
What Fig. 7 showed the transmission method attendance recorder side of attendance data provided in an embodiment of the present invention realizes flow, In the present embodiment, the executive agent of flow is attendance recorder.
For the content in all embodiments disclosed herein, it is equally applicable in embodiments of the present invention, this hair Realization principle in the transmission method of the attendance data described in the transmission principle and Fig. 1 to Fig. 6 of the attendance data in bright embodiment It is consistent, therefore the flow is described only briefly, do not repeat:
In S701, attendance recorder sets up wireless connection with mobile terminal.
In S702, the attendance recorder obtains the authentication information based on personal account that the mobile terminal is uploaded.
In S703, when the personal account confirms as legal account, the attendance recorder is returned to the mobile terminal and closed In the identification information of the personal account.
In S704, the attendance recorder receives the data download request that the mobile terminal is submitted to.
In S705, the attendance recorder sends to the movement attendance data that the authority with the personal account matches Terminal.
As one embodiment of the present of invention, as shown in figure 8, in S701, the attendance recorder sets up wireless with mobile terminal Connection includes:
In S801, the attendance recorder receives the broadcast message of the mobile terminal, and institute is carried in the broadcast message State the IP address and port numbers of mobile terminal.
In S802, according to the IP address and port numbers of the mobile terminal, the attendance recorder is by its corresponding attendance recorder Information is sent to the mobile terminal, so as to the mobile terminal is set up according to the work attendance machine information with the attendance recorder connect Connect.
For the content in all embodiments disclosed herein, it is equally applicable in embodiments of the present invention, this hair Realization principle in the transmission method of the attendance data described in the transmission principle and Fig. 1 to Fig. 6 of the attendance data in bright embodiment It is consistent, therefore do not repeat one by one.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic It is fixed.
Corresponding to the transmission method of the attendance data of the mobile terminal side described in foregoing embodiments, Fig. 7 shows the present invention The structured flowchart of the transmitting device of the attendance data positioned at mobile terminal side that embodiment is provided, for convenience of description, only shows Part related to the present embodiment.
Reference picture 9, the device includes:
First connection unit 91, for setting up wireless connection with default attendance recorder.
Transmitting element 92, for sending the authentication information based on personal account to the attendance recorder, so that described examine Diligent machine confirms the personal account after legal account, identification information to be returned to the mobile terminal.
Request unit 93, for submitting data download request to the attendance recorder.
First acquisition unit 94, matches for obtain that the attendance recorder sends over the authority of the personal account The attendance data.
Alternatively, first connection unit 91 includes:
Broadcast subelement, broadcasts, so that in broadcast domain for the IP address and port numbers to described device Every attendance recorder receives the IP address and port numbers of the mobile terminal.
Subelement is obtained, is sended over according to the IP address and port numbers of described device for obtaining every attendance recorder Work attendance machine information.
Screening subelement, for carrying out dissection process to the work attendance machine information, to filter out the default attendance recorder The corresponding work attendance machine information.
Connection subelement, it is pre- with described for IP address and port numbers in the work attendance machine information for filtering out If attendance recorder carry out wireless connection.
Alternatively, the request unit 93 includes;
Identification subelement, for confirming whether the attendance recorder is authorisation device by default recognizer of shaking hands.
Request subelement, if being the authorisation device for the attendance recorder, submits to data to download to the attendance recorder Request.
Corresponding to the transmission method of the attendance data of the attendance recorder side described in foregoing embodiments, Figure 10 shows the present invention The structured flowchart of the transmitting device of the attendance data positioned at attendance recorder side that embodiment is provided, for convenience of description, only shows Part related to the present embodiment.
Reference picture 10, the device includes:
Second connection unit 101, for setting up wireless connection with mobile terminal.
Second acquisition unit 102, for obtaining the authentication information based on personal account that the mobile terminal is uploaded.
Confirmation unit 103, for when the personal account confirms as legal account, to the mobile terminal return on The identification information of the personal account.
Receiving unit 104, for receiving the data download request that the mobile terminal is submitted to.
Issuance unit 105, for the attendance data that the authority with the personal account matches to be sent to the movement Terminal.
Alternatively, second connection unit 101 includes:
Broadcast reception subelement, the broadcast message for receiving the mobile terminal, the broadcast message is the movement The IP address and port numbers of terminal.
Information transmission sub-unit, it is for IP address and port numbers according to the mobile terminal, described device is corresponding Work attendance machine information is sent to the mobile terminal, so that the mobile terminal is set up according to the work attendance machine information and described device Connection.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work( Energy unit, the division of module are carried out for example, in practical application, as needed can distribute by different above-mentioned functions Functional unit, module are completed, will the internal structure of described device be divided into different functional unit or modules, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit, above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list Unit, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by other Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit, It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention The part for substantially being contributed to prior art in other words or all or part of the technical scheme can be with software products Form embody, the computer software product is stored in a storage medium, including some instructions are used to so that one Computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform this hair The all or part of step of bright embodiment each embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic Dish or CD etc. are various can be with the medium of store program codes.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied to be described in detail the present invention, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent to which part technical characteristic;And these are changed Or replace, do not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution, all should It is included within protection scope of the present invention.

Claims (10)

1. a kind of transmission method of attendance data, it is characterised in that including:
Mobile terminal sets up wireless connection with default attendance recorder;
The mobile terminal sends the authentication information based on personal account to the attendance recorder, so that the attendance recorder confirms The personal account be legal account after, to the mobile terminal return identification information;
The mobile terminal submits data download request to the attendance recorder;
The attendance data matched with the authority of the personal account that attendance recorder described in the acquisition for mobile terminal is sended over.
2. the method for claim 1, it is characterised in that the mobile terminal sets up wireless connection with default attendance recorder Including:
The mobile terminal is broadcasted its IP address and port numbers, so that every attendance recorder in broadcast domain receives institute State the IP address and port numbers of mobile terminal;
Every attendance recorder described in the acquisition for mobile terminal is sended over according to the IP address and port numbers of the mobile terminal Work attendance machine information;
The mobile terminal carries out dissection process to the work attendance machine information, to filter out the corresponding institute of the default attendance recorder State work attendance machine information;
IP address and port numbers of the mobile terminal in the work attendance machine information for filtering out, with the default work attendance Machine carries out wireless connection.
3. method as claimed in claim 1 or 2, it is characterised in that the mobile terminal is submitted under data to the attendance recorder Carrying request includes:
The mobile terminal confirms whether the attendance recorder is authorisation device by default recognizer of shaking hands;
If the attendance recorder is the authorisation device, the mobile terminal submits data download request to the attendance recorder.
4. a kind of transmission method of attendance data, it is characterised in that including:
Attendance recorder sets up wireless connection with mobile terminal;
The attendance recorder obtains the authentication information based on personal account that the mobile terminal is uploaded;
When the personal account confirms as legal account, the attendance recorder is returned to the mobile terminal and acknowledged a debt on described Number identification information;
The attendance recorder receives the data download request that the mobile terminal is submitted to;
The attendance recorder sends to the mobile terminal attendance data that the authority with the personal account matches.
5. method as claimed in claim 4, it is characterised in that the attendance recorder sets up wireless connection with mobile terminal to be included:
The attendance recorder receives the broadcast message of the mobile terminal, and the IP of the mobile terminal is carried in the broadcast message Address and port numbers;
According to the IP address and port numbers of the mobile terminal, the attendance recorder sends to described its corresponding work attendance machine information Mobile terminal, so as to the mobile terminal is set up according to the work attendance machine information with the attendance recorder be connected.
6. a kind of transmitting device of attendance data, it is characterised in that including:
First connection unit, for setting up wireless connection with default attendance recorder;
Transmitting element, for sending the authentication information based on personal account to the attendance recorder, so that the attendance recorder is true The personal account is recognized after legal account, identification information to be returned to the mobile terminal;
Request unit, for submitting data download request to the attendance recorder;
First acquisition unit, match with the authority of the personal account for obtaining that the attendance recorder sends over described in Attendance data.
7. device as claimed in claim 6, it is characterised in that first connection unit includes:
Broadcast subelement, broadcasts, so that every in broadcast domain for the IP address and port numbers to described device Attendance recorder receives the IP address and port numbers of described device;
Subelement is obtained, for obtaining every attendance recorder according to examining that the IP address and port numbers of described device are sended over Diligent machine information;
Screening subelement, for carrying out dissection process to the work attendance machine information, to filter out the default attendance recorder correspondence The work attendance machine information;
Connection subelement, it is default with described for IP address and port numbers in the work attendance machine information for filtering out Attendance recorder carries out wireless connection.
8. device as claimed in claims 6 or 7, it is characterised in that the request unit includes;
Identification subelement, for confirming whether the attendance recorder is authorisation device by default recognizer of shaking hands;
Request subelement, if being the authorisation device for the attendance recorder, data download request is submitted to the attendance recorder.
9. a kind of transmitting device of attendance data, it is characterised in that including:
Second connection unit, for setting up wireless connection with mobile terminal;
Second acquisition unit, for obtaining the authentication information based on personal account that the mobile terminal is uploaded;
Confirmation unit, for when the personal account confirms as legal account, being returned on described to the mobile terminal The identification information of people's account;
Receiving unit, for receiving the data download request that the mobile terminal is submitted to;
Issuance unit, for the attendance data that the authority with the personal account matches to be sent to the mobile terminal.
10. device as claimed in claim 9, it is characterised in that second connection unit includes:
Broadcast reception subelement, the broadcast message for receiving the mobile terminal, carries the shifting in the broadcast message The IP address and port numbers of dynamic terminal;
Information transmission sub-unit, for IP address and port numbers according to the mobile terminal, by the corresponding work attendance of described device Machine information is sent to the mobile terminal, so as to the mobile terminal is set up according to the work attendance machine information and described device connect Connect.
CN201611109863.8A 2016-12-06 2016-12-06 The transmission method and device of a kind of attendance data Pending CN106790443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611109863.8A CN106790443A (en) 2016-12-06 2016-12-06 The transmission method and device of a kind of attendance data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611109863.8A CN106790443A (en) 2016-12-06 2016-12-06 The transmission method and device of a kind of attendance data

Publications (1)

Publication Number Publication Date
CN106790443A true CN106790443A (en) 2017-05-31

Family

ID=58874517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611109863.8A Pending CN106790443A (en) 2016-12-06 2016-12-06 The transmission method and device of a kind of attendance data

Country Status (1)

Country Link
CN (1) CN106790443A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111833472A (en) * 2020-07-15 2020-10-27 前海人寿保险股份有限公司 Real-time attendance checking method and device and computer readable storage medium
CN112218249A (en) * 2020-11-17 2021-01-12 深圳开立生物医疗科技股份有限公司 Data transmission method, data transmission device, data downloading method and related equipment
CN115938005A (en) * 2022-12-12 2023-04-07 山东浪潮质量链科技有限公司 Offline attendance checking method and device based on digital identity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315864A (en) * 2011-09-07 2012-01-11 百度在线网络技术(北京)有限公司 Method of point-to-point data transmission for mobile device and device
CN102819877A (en) * 2012-08-18 2012-12-12 吴迪 Position-based attendance system and method
CN103517108A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Smart television playing device, mobile terminal, method for achieving somatosensory function and system
CN203882349U (en) * 2014-01-08 2014-10-15 北京立天洋网络科技有限公司 Attendance system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315864A (en) * 2011-09-07 2012-01-11 百度在线网络技术(北京)有限公司 Method of point-to-point data transmission for mobile device and device
CN103517108A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Smart television playing device, mobile terminal, method for achieving somatosensory function and system
CN102819877A (en) * 2012-08-18 2012-12-12 吴迪 Position-based attendance system and method
CN203882349U (en) * 2014-01-08 2014-10-15 北京立天洋网络科技有限公司 Attendance system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111833472A (en) * 2020-07-15 2020-10-27 前海人寿保险股份有限公司 Real-time attendance checking method and device and computer readable storage medium
CN111833472B (en) * 2020-07-15 2022-04-15 前海人寿保险股份有限公司 Real-time attendance checking method and device and computer readable storage medium
CN112218249A (en) * 2020-11-17 2021-01-12 深圳开立生物医疗科技股份有限公司 Data transmission method, data transmission device, data downloading method and related equipment
CN115938005A (en) * 2022-12-12 2023-04-07 山东浪潮质量链科技有限公司 Offline attendance checking method and device based on digital identity
CN115938005B (en) * 2022-12-12 2024-05-28 浪潮云洲工业互联网有限公司 Offline attendance checking method and device based on digital identity

Similar Documents

Publication Publication Date Title
US10536856B2 (en) Communication control apparatus, system, and method therefor
CN102577525B (en) Methods and apparatus for solicited activation for protected wireless networking
CN104994504B (en) With the safety of wireless network and automatically it connect
CN101167305B (en) Access management in a wireless local area network
CN103098441B (en) Equipment communicates
CN106921963A (en) A kind of smart machine accesses the method and device of WLAN
CN107431920A (en) The method and apparatus for receiving profile by terminal in mobile communication system
CN106851632A (en) A kind of smart machine accesses the method and device of WLAN
CN108028758A (en) The method and apparatus of download profile in a communications system
CN107667554A (en) Decentralized configuration device entity
US11989543B2 (en) Method for interoperating between bundle download process and eSIM profile download process by SSP terminal
CN107660346A (en) Method and apparatus for download profile in a wireless communication system
US8188857B2 (en) Authentication system and method thereof for wireless networks
CN106134143A (en) Method, apparatus and system for dynamic network access-in management
WO2006101065A1 (en) Connection parameter setting system, method thereof, access point, server, radio terminal, and parameter setting device
CN103339599A (en) Method and system for out-of-band delivery of wireless network credentials
CN107888603A (en) A kind of registration of Internet of Things smart machine, authentication method and Internet of Things
US10256976B2 (en) Method and apparatus for information interaction
CN106559783A (en) A kind of authentication method to WIFI network, device and system
CN104660405A (en) Business equipment authentication method and equipment
CN106790443A (en) The transmission method and device of a kind of attendance data
CN110366164B (en) Method for remotely controlling terminal, server, terminal and computing equipment
KR20220100886A (en) A method for authenticating users on a network slice
CN107277813A (en) A kind of uni-directional wireless network security isolation Transmission system and method
CN107396319B (en) A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170821

Address after: 361000, Xiamen three software park, Fujian Province, 8 North Street, room 2001

Applicant after: Xiamen Central Intelligent Information Technology Co., Ltd.

Address before: 361000 Fujian province Xiamen software park two sunrise Road No. 32 403 unit 02 District

Applicant before: XIAMEN ZHONGKONG BIOLOGICAL RECOGNITION INFORMATION TECHNOLOGY CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531