CN106846521A - The transmission method and device of a kind of scheduling data - Google Patents
The transmission method and device of a kind of scheduling data Download PDFInfo
- Publication number
- CN106846521A CN106846521A CN201611107862.XA CN201611107862A CN106846521A CN 106846521 A CN106846521 A CN 106846521A CN 201611107862 A CN201611107862 A CN 201611107862A CN 106846521 A CN106846521 A CN 106846521A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- attendance recorder
- scheduling data
- attendance
- 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
Links
Classifications
-
- 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
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Abstract
The present invention is applied to communication technical field, there is provided the transmission method and device of a kind of scheduling data, including:Wireless connection is set up with default attendance recorder;To authentication information of the attendance recorder transmission based on personal account, so that attendance recorder confirms personal account after legal account, to return to identification information;Obtain the scheduling data of user input;Scheduling data is uploaded to attendance recorder, so that local scheduling data is replaced with the scheduling data by it according to the corresponding authority of personal account.The present embodiment enables a user to be transmitted management and control to scheduling data at any time, has broken the limitation in geographical position, improves flexibility and the efficiency of data transfer;Without reserving Peripheral Interface on attendance recorder, the consumables cost of attendance recorder is reduced;Ensure that the scheduling data that mobile terminal can only update in attendance recorder in the range of authority specifies, it is to avoid be uploaded to for invalid data and be currently able in direct-connected attendance recorder by unauthorized user, thereby ensures that the safe transmission of scheduling data.
Description
Technical field
The invention belongs to communication technical field, more particularly to a kind of scheduling 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 data analysis function of machine has also obtained continuous extension, in order to ensure the precision of analysis of attendance data, it is necessary to by people
The information of arranging an order according to class and grade of member is uploaded to attendance recorder, therefore, the transmission problem of scheduling data has also obtained extensive attention in the industry.Currently,
Attendance recorder mainly obtains scheduling data by following several ways:First, the reserved USB of every attendance recorder is inserted by by USB flash disk
Interface, realizes for the scheduling data on USB flash disk importing direct-connected attendance recorder;2nd, by setting fixed panel on attendance recorder, so that
User is set into attendance recorder scheduling data by physical button or touch screen button on panel.
Realize it is of the invention during, inventor has found that current scheduling data transmission method is at least present and asks as follows
Topic:Scheduling data is set by using the mode of USB flash disk or fixed panel, it is necessary to reserve Peripheral Interface on attendance recorder, is caused
The consumables cost of equipment increases;Additionally, keeper must be in the action every time, insertion USB flash disk or guidance panel could be set
Scheduling data, therefore, it is impossible to meet the demand that user is transmitted management and control to scheduling data whenever and wherever possible, data transfer it is flexible
The poor, efficiency of transmission of property is low.
The content of the invention
The embodiment of the present invention provides a kind of transmission method and device of scheduling data, it is intended to solve existing scheduling data transmission
The equipment consumables cost of method is too high, data transfer very flexible, efficiency of transmission is low and cannot meet user whenever and wherever possible
The problem of the demand of management and control is transmitted to scheduling data.
The first aspect of the embodiment of the present invention, there is provided a kind of transmission method of scheduling data, methods described includes:
The 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 scheduling data of the acquisition for mobile terminal user input;
The scheduling data is uploaded to the attendance recorder by the mobile terminal, so that the attendance recorder is according to the individual
The corresponding authority of account, the scheduling data is replaced with by local scheduling data.
The second aspect of the embodiment of the present invention, there is provided a kind of transmission method of scheduling 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 scheduling data that the mobile terminal is uploaded;
Local scheduling data is replaced with the number of arranging an order according to class and grade by the attendance recorder according to the corresponding authority of the personal account
According to.
The third aspect of the embodiment of the present invention, there is provided a kind of transmitting device of scheduling 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 described device;
First acquisition unit, the scheduling data for obtaining user input;
Uploading unit, for the scheduling data to be uploaded into the attendance recorder, so that the attendance recorder is according to described
The corresponding authority of people's account, the scheduling data is replaced with by local scheduling data.
The fourth aspect of the embodiment of the present invention, there is provided a kind of transmitting device of scheduling 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, the scheduling data for receiving the carrying identity that the mobile terminal is uploaded;
Replacement unit, for the authority according to the identity, the scheduling data is replaced with by local scheduling data.
The embodiment of the present invention is by the scheduling data in mobile terminal by wireless network transmissions to attendance recorder so that Yong Huneng
Mobile terminal is enough utilized, management and control is transmitted to scheduling data whenever and wherever possible, broken the limitation of geospatial location, improved
The flexibility of data transfer and data transmission efficiency.Additionally, the embodiment of the present invention connects without reserving peripheral hardware on attendance recorder
Mouthful, reduce the equipment consumables cost of attendance recorder;Sent out by by scheduling data and authentication information based on personal account
Deliver to attendance recorder, it is ensured that attendance recorder can carry out legitimate verification to the user of mobile terminal so that mobile terminal can only be
Authority specify in the range of the scheduling data that updates in attendance recorder, it is to avoid invalid data is uploaded to current energy by unauthorized user
In the attendance recorder being enough directly connected to, the safe transmission of scheduling data is thus further ensured.
Brief description of the drawings
Fig. 1 is the system architecture diagram that is applicable of transmission method of scheduling data provided in an embodiment of the present invention;
Fig. 2 is that the transmission method mobile terminal side of scheduling data provided in an embodiment of the present invention realizes flow chart;
Fig. 3 is that the transmission method mobile terminal side S202 of scheduling data provided in an embodiment of the present invention implements flow
Figure;
Fig. 4 is that the transmission method mobile terminal side S203 of scheduling 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 S202 of the scheduling 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 scheduling data provided in an embodiment of the present invention;
Fig. 8 is that the transmission method attendance recorder side S701 of scheduling data provided in an embodiment of the present invention implements flow
Figure;
Fig. 9 is the structured flowchart of the transmitting device of the scheduling 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 scheduling 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 scheduling data in mobile terminal by wireless network transmissions to attendance recorder so that Yong Huneng
Mobile terminal is enough utilized, management and control is transmitted to scheduling data whenever and wherever possible, broken the limitation of geospatial location, improved
The flexibility of data transfer and data transmission efficiency.Additionally, the embodiment of the present invention connects without reserving peripheral hardware on attendance recorder
Mouthful, reduce the equipment consumables cost of attendance recorder;Sent out by by scheduling data and authentication information based on personal account
Deliver to attendance recorder, it is ensured that attendance recorder can carry out legitimate verification to the user of mobile terminal so that mobile terminal can only be
Authority specify in the range of the scheduling data that updates in attendance recorder, it is to avoid invalid data is uploaded to current energy by unauthorized user
In the attendance recorder being enough directly connected to, the safe transmission of scheduling data is thus further ensured.
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 scheduling 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, can be according to user used as a requesting client
The information of arranging an order according to class and grade of input submits data upload requests to attendance recorder 12.
Within the system, attendance recorder 12 is used for attendance data, scheduling data, gate inhibition turnover data and analysis according to storage
Combined data after treatment, operation is interacted with the mobile terminal 11 being connected.Scheduling data includes but is not limited to each time
Section, each user and each data message of attendance recorder record, attendance recorder 12 are stored to above-mentioned data message and are classified, sieved
Choosing, and directly interacted with other external equipments or user.
What Fig. 2 showed the transmission method mobile terminal side of scheduling data provided in an embodiment of the present invention realizes flow chart,
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 radio communication 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 have legitimate authorized user identity information storehouse, the account being only present in the identity information storehouse could be in attendance recorder
Scheduling data is uploaded and updated.
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 scheduling data of acquisition for mobile terminal user input.
In the present embodiment, mobile terminal provides the user the setting interface of scheduling data by default application program.
List according to diverse location on interactive interface is set, the data content that the detectable user of mobile terminal is specifically input into, comprising
But it is not limited to all kinds of scheduling datas such as department, title, work hours arrangement.
In S204, the scheduling data is uploaded to the attendance recorder by the mobile terminal, so that the attendance recorder root
According to the corresponding authority of the personal account, local scheduling data is replaced with into the scheduling data.
Attendance recorder obtains the data corresponding to the individual subscriber account after the user for confirming mobile terminal is for authorized user
Upload permissions, so that mobile terminal can only be uploaded in the range of authority regulation updates scheduling data.
For example, department chief inspector can only update, upload the scheduling data of oneself department, and system manager can update and
Upload the scheduling data of all departments.
Preferably, mobile terminal uploads the scheduling data for carrying identity to attendance recorder.Above-mentioned personal account and account
The information that password etc. embodies user identity is identity.The scheduling data that mobile terminal is uploaded every time is required to carry identity
Mark, so as under security requirement scene higher, attendance recorder can before receiving every time and changing scheduling data, then
The identity of the secondary certification scheduling data uploader, better ensures that the safe transmission of scheduling data.
Preferably, it is mobile whole if mobile terminal is keeper's account information to the authentication information that attendance recorder sends
The scheduling data that hereafter end uploads every time must all carry identity.Ensure the maximum administrator of Permission Levels to arranging an order according to class and grade
The legitimacy of data modification, it is to avoid when administrator leaves mobile terminal in midway, the mobile terminal of keeper is usurped by other people,
It is illegal to upload scheduling data.
The embodiment of the present invention is by the scheduling data in mobile terminal by wireless network transmissions to attendance recorder so that Yong Huneng
Mobile terminal is enough utilized, management and control is transmitted to scheduling data whenever and wherever possible, broken the limitation of geospatial location, improved
The flexibility of data transfer and data transmission efficiency.Additionally, the embodiment of the present invention connects without reserving peripheral hardware on attendance recorder
Mouthful, reduce the equipment consumables cost of attendance recorder;Sent out by by scheduling data and authentication information based on personal account
Deliver to attendance recorder, it is ensured that attendance recorder can carry out legitimate verification to the user of mobile terminal so that mobile terminal can only be
Authority specify in the range of the scheduling data that updates in attendance recorder, it is to avoid invalid data is uploaded to current energy by unauthorized user
In the attendance recorder being enough directly connected to, the safe transmission of scheduling data is thus further ensured.
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 uploads scheduling data to attendance recorder,
Need not repeat to submit to and carry the authentication information based on personal account.Thus the transmission effect of data can be further increasing
Rate.
In the present embodiment, in addition to uploading scheduling data, mobile terminal can also be uploaded and attendance recorder attendance information phase
The every other data closed, for example, uploading base using the system set-up parameters of mobile terminal upload attendance recorder, using mobile terminal
In information etc. of registering in real time of personal account.Can be carried out in the range of radio communication in mobile terminal and attendance recorder, improve use
The efficiency that family work attendance is registered, it is ensured that the process that work attendance is registered conveniently, can be carried out efficiently.
As one embodiment of the present of invention, as shown in figure 3, in S202, 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.
As one embodiment of the present of invention, after S201, i.e. in arranging an order according to class and grade for the acquisition for mobile terminal user input
After data, methods described also includes:
The mobile terminal is stored with JSON data forms to the scheduling data of the user input;
In S203, the mobile terminal includes to the scheduling data that the attendance recorder uploads carrying identity:
The mobile terminal uploads the scheduling data of the JSON data forms for carrying identity to the attendance recorder.
In the present embodiment, each group of scheduling data that mobile terminal will be represented in object is converted into the word of JSON forms
Symbol string, after wireless connection is established with attendance recorder, by default application program, transmits these and is based on JSON lattice to attendance recorder
The scheduling data character string of formula.
Attendance recorder converts built-in function by the character string of third party JSON analytical tools or acquiescence, is capable of identify that JSON lattice
The scheduling data character of formula, so as to complete corresponding scheduling data type conversion.Attendance recorder is right according to the scheduling data after conversion
Pre-recorded attendance data is analyzed treatment.
For example, being contrasted to the attendance record and the time of arranging an order according to class and grade of user, whether user can be analyzed not in regulation
Work hours section carry out work attendance and check card, learn whether the user late or leaves early, so as to count this month personnel's letter absent from duty
Breath;Attendance record and the time of arranging an order according to class and grade to user are contrasted, and the work hours section that can be counted in non-regulation is entered
All personnel's list of limited area, so as to when security information is revealed, can rapidly provide investigation and analysis data.
As one embodiment of the present of invention, as shown in figure 4, in S203, the mobile terminal is by the scheduling data
Reaching the attendance recorder 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 uploads the scheduling data
To the attendance recorder.
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 so that mobile terminal can only upload scheduling data to authorisation device, so as in improve mobile terminal
The security performance of application program, it is to avoid lawless person is using the supporting application program for mobile terminal of this manufacturer attendance recorder come to other
The attendance recorder of manufacturer carries out the interaction and management of scheduling data.
As an alternative embodiment of the invention, as shown in fig. 6, in S202, 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 scheduling 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 scheduling data described in the transmission principle and Fig. 1 to Fig. 6 of the scheduling 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 scheduling data that the mobile terminal is uploaded.
In S705, the attendance recorder replaces with local scheduling data described according to the corresponding authority of the personal account
Scheduling data.
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 scheduling data described in the transmission principle and Fig. 1 to Fig. 6 of the scheduling 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 scheduling data of the mobile terminal side described in foregoing embodiments, Fig. 9 shows the present invention
The structured flowchart of the transmitting device of the scheduling 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 described device.
First acquisition unit 93, the scheduling data for obtaining user input.
Uploading unit 94, for the scheduling data to be uploaded into the attendance recorder, so that the attendance recorder is according to
The corresponding authority of personal account, the scheduling data is replaced with by local scheduling 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 described device.
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 uploading unit 94 includes;
Identification subelement, for confirming whether the attendance recorder is authorisation device by default recognizer of shaking hands.
Subelement is uploaded, if being the authorisation device for the attendance recorder, the scheduling data is uploaded to described
Attendance recorder.
Corresponding to the transmission method of the scheduling 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 scheduling 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, the scheduling data for receiving the carrying identity that the mobile terminal is uploaded;
Replacement unit 105, for the authority according to the identity, the number of arranging an order according to class and grade is replaced with by local scheduling data
According to.
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 scheduling 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 scheduling data of the acquisition for mobile terminal user input;
The scheduling data is uploaded to the attendance recorder by the mobile terminal, so that the attendance recorder is according to the personal account
Corresponding authority, the scheduling data is replaced with by local scheduling data.
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 scheduling data is uploaded to institute by the mobile terminal
Stating attendance recorder 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 scheduling data is uploaded to the attendance recorder by the mobile terminal.
4. a kind of transmission method of scheduling 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 scheduling data that the mobile terminal is uploaded;
Local scheduling data is replaced with the scheduling data by the attendance recorder according to the corresponding authority of the personal account.
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 scheduling 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 described device;
First acquisition unit, the scheduling data for obtaining user input;
Uploading unit, for the scheduling data to be uploaded into the attendance recorder, so that the attendance recorder is acknowledged a debt according to described
Number corresponding authority, the scheduling data is replaced with by local scheduling 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 uploading unit includes;
Identification subelement, for confirming whether the attendance recorder is authorisation device by default recognizer of shaking hands;
Subelement is uploaded, if being the authorisation device for the attendance recorder, the scheduling data work attendance is uploaded to
Machine.
9. a kind of transmitting device of scheduling 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, the scheduling data for receiving the carrying identity that the mobile terminal is uploaded;
Replacement unit, for the authority according to the identity, the scheduling data is replaced with by local scheduling data.
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, the broadcast message is the mobile terminal
IP address and port numbers;
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611107862.XA CN106846521A (en) | 2016-12-06 | 2016-12-06 | The transmission method and device of a kind of scheduling data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611107862.XA CN106846521A (en) | 2016-12-06 | 2016-12-06 | The transmission method and device of a kind of scheduling data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106846521A true CN106846521A (en) | 2017-06-13 |
Family
ID=59145517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611107862.XA Pending CN106846521A (en) | 2016-12-06 | 2016-12-06 | The transmission method and device of a kind of scheduling data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106846521A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108764669A (en) * | 2018-05-15 | 2018-11-06 | 万翼科技有限公司 | Scheduling method, system and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593372A (en) * | 2009-06-19 | 2009-12-02 | 中兴通讯股份有限公司 | Work attendance method, device and system based on Bluetooth technology |
CN102043981A (en) * | 2009-10-13 | 2011-05-04 | 天津融商科技有限公司 | Public real-time attendance management system and method |
CN103606205A (en) * | 2013-11-19 | 2014-02-26 | 云南电网公司昭通供电局 | Tour-inspection device and inspection system for power transmission line |
CN103942635A (en) * | 2013-08-26 | 2014-07-23 | 北京芯力达科技有限公司 | Coal-mine gas safety intelligent patrol system |
CN104217288A (en) * | 2014-08-29 | 2014-12-17 | 广东建邦计算机软件有限公司 | Security management device and system for community comprehensive grid |
CN104463757A (en) * | 2013-09-13 | 2015-03-25 | 苏州安唐科技有限公司 | Mobile patrolling and law-enforcing system based on space grid |
CN204631955U (en) * | 2015-05-12 | 2015-09-09 | 合肥学院 | A kind of cell phone attendance system |
CN105491244A (en) * | 2016-01-20 | 2016-04-13 | 河南理工大学 | Automatic classroom roll-call system based on WIFI and intelligent mobile phones |
-
2016
- 2016-12-06 CN CN201611107862.XA patent/CN106846521A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593372A (en) * | 2009-06-19 | 2009-12-02 | 中兴通讯股份有限公司 | Work attendance method, device and system based on Bluetooth technology |
CN102043981A (en) * | 2009-10-13 | 2011-05-04 | 天津融商科技有限公司 | Public real-time attendance management system and method |
CN103942635A (en) * | 2013-08-26 | 2014-07-23 | 北京芯力达科技有限公司 | Coal-mine gas safety intelligent patrol system |
CN104463757A (en) * | 2013-09-13 | 2015-03-25 | 苏州安唐科技有限公司 | Mobile patrolling and law-enforcing system based on space grid |
CN103606205A (en) * | 2013-11-19 | 2014-02-26 | 云南电网公司昭通供电局 | Tour-inspection device and inspection system for power transmission line |
CN104217288A (en) * | 2014-08-29 | 2014-12-17 | 广东建邦计算机软件有限公司 | Security management device and system for community comprehensive grid |
CN204631955U (en) * | 2015-05-12 | 2015-09-09 | 合肥学院 | A kind of cell phone attendance system |
CN105491244A (en) * | 2016-01-20 | 2016-04-13 | 河南理工大学 | Automatic classroom roll-call system based on WIFI and intelligent mobile phones |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108764669A (en) * | 2018-05-15 | 2018-11-06 | 万翼科技有限公司 | Scheduling method, system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Vanhoef et al. | Why MAC address randomization is not enough: An analysis of Wi-Fi network discovery mechanisms | |
US11765585B2 (en) | Techniques for enabling computing devices to identify when they are in proximity to one another | |
US11765577B2 (en) | Identity obscuration for a wireless station | |
CN103098441B (en) | Equipment communicates | |
CN101167305B (en) | Access management in a wireless local area network | |
CN102577525B (en) | Methods and apparatus for solicited activation for protected wireless networking | |
US8819792B2 (en) | Assignment and distribution of access credentials to mobile communication devices | |
CN105453621B (en) | Method and apparatus for registering and verifying equipment in a wireless communication system | |
EP2988534A2 (en) | Method of configuring wireless connection via near field communication function and image forming apparatus for performing the method | |
US9936390B2 (en) | Method and apparatus of triggering applications in a wireless environment | |
TWI403145B (en) | Authentication system and method thereof for wireless networks | |
CN106921963A (en) | A kind of smart machine accesses the method and device of WLAN | |
CN106134143A (en) | Method, apparatus and system for dynamic network access-in management | |
CN107431920A (en) | The method and apparatus for receiving profile by terminal in mobile communication system | |
CN104156651A (en) | Access control method and device for terminal | |
US20120178421A1 (en) | Communication control apparatus, system, and method therefor | |
CN106851632A (en) | A kind of smart machine accesses the method and device of WLAN | |
EP2879421B1 (en) | Terminal identity verification and service authentication method, system, and terminal | |
EP3380975B1 (en) | Short-range device communications for secured resource access | |
CN105164689A (en) | User authentication | |
CN103339599A (en) | Method and system for out-of-band delivery of wireless network credentials | |
CN104660405A (en) | Business equipment authentication method and equipment | |
CN104579665B (en) | Method for authenticating and device | |
CN104811312A (en) | Terminal course identity authentication method based on center authorization | |
CN106790443A (en) | The transmission method and device of a kind of attendance data |
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: 20170613 |