CN106686755B - The binding method and device of mobile terminal and logging apparatus - Google Patents

The binding method and device of mobile terminal and logging apparatus Download PDF

Info

Publication number
CN106686755B
CN106686755B CN201611113490.1A CN201611113490A CN106686755B CN 106686755 B CN106686755 B CN 106686755B CN 201611113490 A CN201611113490 A CN 201611113490A CN 106686755 B CN106686755 B CN 106686755B
Authority
CN
China
Prior art keywords
mobile terminal
logging apparatus
encryption algorithm
generates
encryption
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.)
Active
Application number
CN201611113490.1A
Other languages
Chinese (zh)
Other versions
CN106686755A (en
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 Entropy Technology Co., Ltd
Original Assignee
Xiamen Central Intelligent 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 Central Intelligent Information Technology Co Ltd filed Critical Xiamen Central Intelligent Information Technology Co Ltd
Priority to CN201611113490.1A priority Critical patent/CN106686755B/en
Publication of CN106686755A publication Critical patent/CN106686755A/en
Application granted granted Critical
Publication of CN106686755B publication Critical patent/CN106686755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/166Implementing security features at a particular protocol layer at the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The present invention provides the binding methods and device of a kind of mobile terminal and logging apparatus, it is intended to which solving the problems, such as in the prior art can not accurate match mobile terminal and logging apparatus.This method comprises: mobile terminal is using the logging apparatus in broadcast message search wireless network and establishes connection;Mobile terminal is interacted by Handshake Protocol with logging apparatus, and judges whether logging apparatus is matching unit according to the verification result of Handshake Protocol.Operation of the present invention is easy, and judges whether two sides Encryption Algorithm is consistent with decryption using the encryption of random parameter, and judgement whether matched to mobile terminal and logging apparatus can achieve very high accuracy.

Description

The binding method and device of mobile terminal and logging apparatus
Technical field
The present invention relates to the communications fields, more particularly to the binding method and device of a kind of mobile terminal and logging apparatus.
Background technique
Logging apparatus is by reading the various features of human body or access card, the equipment of Lai Jinhang data input, the prior art In, logging apparatus is widely used in triggering gate inhibition or records the scene of attendance, to a certain extent instead of the effect of key, and energy It is enough by relative recording data, convenient for storage and analysis, to live and work brings convenience.
Logging apparatus generally passes through cable and is connected with terminal in the prior art, and related data is transmitted also by cable.For The convenience of logging apparatus is further increased, some manufacturers start to consider through wireless network connection logging apparatus and wireless terminal, But when there are when multiple logging apparatus and multiple wireless terminals, how mobile terminal searches target device in wireless network, and with It is accurately matched, and is that industry wishes to solve the problems, such as.
In the prior art can not accurate match mobile terminal and aiming at the problem that logging apparatus, industry does not solve preferably at present Certainly mode.
Summary of the invention
It is an object of that present invention to provide the binding methods and device of a kind of mobile terminal and logging apparatus, it is intended to solve existing skill It can not accurate match mobile terminal and the problem of logging apparatus in art.
The present invention provides the binding methods of mobile terminal and logging apparatus, this method comprises:
Mobile terminal is using the logging apparatus in broadcast message search wireless network and establishes connection;
Mobile terminal is interacted by Handshake Protocol with logging apparatus, and judges that logging apparatus is according to the verification result of Handshake Protocol No is matching unit.
The present invention also provides the binding device of mobile terminal and logging apparatus, which includes:
Connection unit, for using broadcast message search wireless network in logging apparatus and establish connection;
Interactive unit for interacting by Handshake Protocol with logging apparatus, and judges to record according to the verification result of Handshake Protocol Enter whether instrument is matching unit.
Operation of the present invention is easy, finds target device by broadcast message first, then passes through Handshake Protocol, using random The encryption of parameter judge whether two sides Encryption Algorithm is consistent with decryption, so that it is determined that whether logging apparatus is from meeting corresponding require Manufacturer meets corresponding standard, and present invention judgement whether matched to mobile terminal and logging apparatus can achieve very high Accuracy.
Detailed description of the invention
Fig. 1 is the schematic diagram for the system that mobile terminal provided in an embodiment of the present invention and logging apparatus are constituted;
Fig. 2 is the flow chart of the binding method of mobile terminal and logging apparatus provided in an embodiment of the present invention;
Fig. 3 is the flow chart for the method that mobile terminal provided in an embodiment of the present invention establishes connection with logging apparatus;
Fig. 4 is the flow chart of recognition methods provided in an embodiment of the present invention of shaking hands;
Fig. 5 is the structural block diagram of the binding device of mobile terminal and logging apparatus provided in an embodiment of the present invention.
Specific embodiment
In order to which technical problems, technical solutions and advantageous effects to be solved by the present invention are more clearly understood, below in conjunction with Accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
Fig. 1 is the schematic diagram for the system that mobile terminal provided in an embodiment of the present invention and logging apparatus are constituted, for the ease of saying Bright, only the parts related to this embodiment are shown.
As shown in Figure 1, the system includes mobile terminal 11 and logging apparatus 12 (121 to 12N).Wherein, mobile terminal 11 can Think that laptop, tablet computer or mobile phone etc. have the terminal device of network access facility, logging apparatus 12 can be tool There is the equipment of identity characteristic acquisition function.
The embodiment of the invention provides the binding method of a kind of mobile terminal and logging apparatus, Fig. 2 is that the embodiment of the present invention mentions The flow chart of the binding method of the mobile terminal and logging apparatus of confession, as shown in Fig. 2, this method specifically include following steps S210 and Step S220.
Step S210 using the logging apparatus in broadcast message search wireless network and establishes connection.
In the present embodiment, mobile terminal and logging apparatus can be made to be in the same wireless network.The wireless network can be with It is third-party wireless network, such as the wireless network of company, cell or market, is also possible to be created by mobile terminal or logging apparatus The wireless network built.
Fig. 3 is the flow chart for the method that mobile terminal provided in an embodiment of the present invention establishes connection with logging apparatus, this method It can be a kind of preferred implementation of step S210.As shown in figure 3, this method comprises:
Step S310, mobile terminal send broadcast message, include IP address of mobile terminal and mobile terminal in broadcast message Port numbers receive the logging apparatus of broadcast message by IP address of mobile terminal and mobile terminal port numbers, logging apparatus information are sent out It send to mobile terminal, includes logging apparatus IP address, logging apparatus port numbers, sequence number and device model in logging apparatus information.
When mobile terminal wirelessly accesses any local area network, an Intranet of hotspot distribution can be obtained IP address.It is communicated to be interacted with logging apparatus, mobile terminal opens a specific protocol port to provide data and hand over Mutually service, wherein the identification number of the application software with network function is the port numbers of the protocol port.
Mobile terminal is after broadcast nature is arranged in its socket, to pass through User Datagram Protocol (User Datagram Protocol, referred to as UDP) information broadcasts above-mentioned IP address and port numbers into the local area network being presently in, So that all logging apparatus in local area network can receive the broadcast of IP address and port numbers based on the mobile terminal Information.
The range that the IP address and port number information of mobile terminal can be broadcast to is broadcast domain, includes one in broadcast domain Logging apparatus more than platform receives the broadcast frame from same mobile terminal.
Every logging apparatus possesses respective logging apparatus information, the including but not limited to device name of logging apparatus, equipment sequence Number, MAC Address (Medium Access Control, physical address), device model, firmware version number, IP address and port numbers Equal facility informations.Every logging apparatus using the IP address of the mobile terminal received and port numbers as the destination address of data packet and Destination port, and the data packet back of logging apparatus information will be packaged with to mobile terminal.
Step S320, mobile terminal judge whether logging apparatus meets preset condition according to sequence number and device model.
Mobile terminal receives the logging apparatus information based on JSON data format that every logging apparatus transmits respectively.It will be every After logging apparatus information is parsed, converted, shows into the screen of mobile terminal, carry out checking selection for user.By looking into It sees the information such as sequence number and the device model in logging apparatus, can determine whether the logging apparatus meets preset requirement.
For example, mobile terminal receives two logging apparatus information, equipment Serial Number is respectively in two logging apparatus information " 0785-956 " and " 0785-957 ".Since the equipment Serial Number " 0785-957 " of preset logging apparatus information is that user is practical The information known, thus can according to the user's choice or according to the pre-stored logging apparatus match information of mobile terminal, by hand or Automatically the corresponding logging apparatus information of the preset logging apparatus is filtered out from the two equipment Serial Numbers.
Step S330, after being determined for compliance with preset condition, mobile terminal according to logging apparatus IP address and logging apparatus port numbers, It is wirelessly connected with logging apparatus.
From the qualified logging apparatus information filtered out, the IP address and port numbers of preset logging apparatus are obtained, and Radio connection request is sent to its port.
Mobile terminal and logging apparatus are wirelessly connected after three-way handshake confirms with preset logging apparatus.
In the present embodiment, the information of all logging apparatus in broadcast domain is obtained by broadcast mechanism, and is screened out from it The IP address and port numbers of actually required logging apparatus avoid user with needing the preparatory IP for checking and being manually entered logging apparatus Location and port number information, reduce operation complexity.Since the IP address of every logging apparatus in local area network can dynamically change, The logging apparatus information acquisition method provided through this embodiment can ensure that mobile terminal automatically updates connected logging apparatus IP address, realize the Auto-reconnect to a default logging apparatus, monitoring control shape can be chronically at by maintaining logging apparatus State.
Preferably, before being wirelessly connected with logging apparatus, mobile terminal can bind IP address of mobile terminal and shifting Dynamic terminal prot number;And it monitors and whether is connect with logging apparatus.By monitoring, the company of mobile terminal and logging apparatus can be understood in real time Connect situation.
Step S220, mobile terminal is interacted by Handshake Protocol with logging apparatus, and is sentenced according to the verification result of Handshake Protocol Whether disconnected logging apparatus is matching unit.
Handshake Protocol can verify mobile terminal and whether logging apparatus uses same Encryption Algorithm, the one of the present embodiment It in kind implementation, is encrypted by one end, simple Handshake Protocol can be realized in other end decryption, and steps are as follows:
Step 01, mobile terminal encrypts the first random parameter by the first Encryption Algorithm to obtain encrypted result, and will add Close result is sent to logging apparatus, and logging apparatus decrypts encrypted result by the first Encryption Algorithm to obtain the second random parameter, and will Second random parameter is sent to mobile terminal.
Random parameter is the parameter generated at random, such as Y=AX or Y=(A2-1)X3+2AX2In -0.5A, A or X are For parameter, the output result of the algorithm can be determined by the random parameter.
Such as above-mentioned example, Y=AX is exactly an algorithm, and mobile terminal finds out Y by A and X, and A therein and Y is sent To logging apparatus, logging apparatus is decrypted based on Y and A according to the algorithm of oneself, an available X.
Step 02, mobile terminal determines that logging apparatus is after determining that the first random parameter and the second random parameter are equal With equipment.
Mobile terminal can carry out random number encrypting and encrypted result is sent to logging apparatus, and then logging apparatus can solve It is close to be somebody's turn to do as a result, and feeding back to random number.If the random number of logging apparatus feedback is identical as the random number that mobile terminal generates, recognize Identical Encryption Algorithm is used for mobile terminal and logging apparatus, and then confirms that the logging apparatus is the matching unit of mobile terminal.
In order to reach better secrecy effect, mobile terminal is interacted with logging apparatus, can be carried out by different algorithms more It is secondary to shake hands.In another implementation of the present embodiment, by repeatedly shaking hands, more accurately whether logging apparatus can be judged For the matching unit of mobile terminal, steps are as follows:
Step 01, mobile terminal generates encryption factor A and random number X.
Step 02, mobile terminal generates code key B using the second Encryption Algorithm.
In the present embodiment, the second Encryption Algorithm is the algorithm that code key B is generated according to encryption factor A.
Step 03, mobile device utilizes third Encryption Algorithm, is encryption code key with B, generates Y according to B and X encryption, and by A Logging apparatus is sent to Y, wherein logging apparatus generates code key B using the second Encryption Algorithm, utilizes third Encryption Algorithm, then with B To decrypt code key, X is generated according to B and Y decryption, using the 4th Encryption Algorithm, is encrypted according to X and generates X0, utilize the second encryption side Method generates Y0 according to X0 and A encryption, and Y0 is sent to mobile device.
In this step, third Encryption Algorithm can be Advanced Encryption Standard (Advanced Encryption Standard, Referred to as AES) algorithm using the encrypted result Y of random number X, the 4th Encryption Algorithm after code key B encrypted random number X, is obtained is record Enter the non-reversible algorithm used when instrument encryption.
Step 04, mobile device utilizes third Encryption Algorithm, is decryption code key with B, generates X0 according to B and Y0 decryption.
Step 05, mobile device utilizes the 4th Encryption Algorithm, generates X1 according to X.
Mobile terminal determines that logging apparatus is matching unit after determining that X0 is equal with X1.That is mobile terminal and logging apparatus makes With identical encryption Secret key arithmetic, aes algorithm and identical non-reversible algorithm.Thus it is confirmed that the logging apparatus is mobile terminal Matching unit.
This process repeatedly encrypted can be called recognition methods of shaking hands, and Fig. 4 is knowledge provided in an embodiment of the present invention of shaking hands The flow chart of other method, comprising the following steps:
Step S401, mobile device generates encryption factor A and random number X, and generates code key B according to A.
Step S402, mobile terminal are encryption code key with B, encrypt X by aes algorithm, obtain processing result Y.
A and Y are sent to logging apparatus by step S403, mobile terminal.
Step S404, logging apparatus generate code key B according to A and use AES identical with mobile terminal using B as decruption key Algorithm decrypts encrypted result Y, obtains the random number X that above-mentioned mobile terminal generates.
Step S405, logging apparatus carry out calculation processing to random number X using non-reversible algorithm, obtain random number X in movement Second processing data X0 in terminal.
Step S406, logging apparatus is using B as encryption key, by aes algorithm identical with mobile terminal to second processing number It is encrypted according to X0, obtains encrypted result Y0.
Y0 is back to mobile terminal by step S407, logging apparatus.
Step S408, mobile terminal decrypt Y0 by aes algorithm and obtain X0.
Step S409, mobile terminal directly are encrypted to obtain X1 by non-reversible algorithm to random number X again
Step S410, mobile terminal judge whether X0 is equal to X1, so that it is determined that whether the logging apparatus matches.
Through this embodiment, can determine whether polyalgorithm used in mobile terminal and logging apparatus is all identical, if It is that can then determine that mobile terminal is matched with logging apparatus.Operation of the present invention is easy, and is sentenced using the encryption and decryption of random parameter Whether disconnected two sides Encryption Algorithm is consistent, and judgement whether matched to mobile terminal and logging apparatus can achieve very high accuracy.
The present invention also provides the binding device of a kind of mobile terminal and logging apparatus, Fig. 5 is provided in an embodiment of the present invention The structural block diagram of the binding device of mobile terminal and logging apparatus, as shown in figure 5, the device includes connection unit 510, generation unit 520, interactive unit 530 and judging unit 540.
Connection unit 510 is used for using the logging apparatus in broadcast message search wireless network and establishes connection.
Interactive unit 520 is used to interact by Handshake Protocol with logging apparatus, and is judged according to the verification result of Handshake Protocol Whether logging apparatus is matching unit.
Preferably, connection unit 510 includes: sending module, includes mobile whole for sending broadcast message, in broadcast message IP address and mobile terminal port numbers are held, the logging apparatus for receiving broadcast message passes through IP address of mobile terminal and mobile terminal port Number, logging apparatus information is sent to mobile terminal, includes logging apparatus IP address, logging apparatus port numbers, sequence in logging apparatus information Number and device model;Judgment module, for judging whether logging apparatus meets preset condition according to sequence number and device model;Connection Module, for according to logging apparatus IP address and logging apparatus port numbers, being carried out with logging apparatus wireless after being determined for compliance with preset condition Connection.
Preferably, the binding device of mobile terminal and logging apparatus further include: binding unit, it is mobile for mobile terminal binding IP address of terminal and mobile terminal port numbers;Whether monitoring unit connect for monitoring with logging apparatus.
Preferably, interactive unit 530 includes: the first generation module, and for generating the first random parameter, sending module is used The first random parameter is encrypted to obtain encrypted result in passing through the first Encryption Algorithm, and encrypted result is sent to logging apparatus, is recorded Enter instrument and encrypted result is decrypted to obtain the second random parameter by the first Encryption Algorithm, and the second random parameter is sent to movement Terminal;First determining module, for after determining that the first random parameter and the second random parameter are equal, determining logging apparatus for matching Equipment.
Preferably, interactive unit 530 includes: the second generation module, for generating encryption factor A and random number X;Third is raw At module, for generating code key B using the second Encryption Algorithm;4th generation module, for utilizing third Encryption Algorithm, according to B It is encrypted with X and generates Y, and A and Y are sent to typing instrument, wherein typing instrument generates B using the second Encryption Algorithm, utilizes the Three Encryption Algorithm are generated X according to B and Y decryption, using the 4th Encryption Algorithm, are encrypted according to X and generate X0, calculated using the second encryption Method generates Y0 according to X0 and B encryption, and Y0 is sent to mobile terminal;5th generation module, for being calculated using third encryption Method generates X0 according to B and Y0 decryption;6th generation module generates X1 according to X for utilizing the 4th Encryption Algorithm;Second determines Module, for after determining that X0 is equal with X1, determining that logging apparatus is matching unit.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Unit is completed, i.e., the internal structure of device is divided into different functional unit or module, with complete it is described above whole or Person's partial function.Each functional unit in embodiment can integrate in one processing unit, and it is independent to be also possible to each unit It is physically present, can also be integrated in one unit with two or more units, above-mentioned integrated unit both can be using hard The form of part is realized, can also be realized in the form of software functional units.In addition, the specific name of each functional unit is also For the ease of mutually distinguishing, the protection scope being not intended to limit this application.The specific work process of unit in above-mentioned apparatus, can With with reference to the corresponding process in aforementioned device embodiment, details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Described function can be realized using different device to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and device can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module or unit, only For a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be through some interfaces, the INDIRECT COUPLING or communication of device or unit Connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, the technical solution essence of the embodiment of the present invention On all or part of the part that contributes to existing technology or the technical solution can be with the shape of software product in other words Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating It is real that machine equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention Apply all or part of the steps of each embodiment device of example.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only storage Device (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or light The various media that can store program code such as disk.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope of each embodiment technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.

Claims (8)

1. the matching process of a kind of mobile terminal and logging apparatus characterized by comprising
Mobile terminal is using the logging apparatus in broadcast message search wireless network and establishes connection;
The mobile terminal is interacted by Handshake Protocol with the logging apparatus, and is judged according to the verification result of the Handshake Protocol Whether the logging apparatus is matching unit;
The mobile terminal is using the logging apparatus in broadcast message search wireless network and establishes connection and includes:
The mobile terminal sends the broadcast message, includes IP address of mobile terminal and mobile terminal end in the broadcast message Slogan receives the logging apparatus of the broadcast message by the IP address of mobile terminal and the mobile terminal port numbers, will record Enter instrument information and be sent to the mobile terminal, includes logging apparatus IP address, logging apparatus port numbers, sequence in the logging apparatus information Number and device model;
The mobile terminal is interacted by Handshake Protocol with the logging apparatus, and is judged according to the verification result of the Handshake Protocol Whether the logging apparatus is that matching unit includes:
The mobile terminal generates the first random parameter;
The mobile terminal encrypts first random parameter by the first Encryption Algorithm to obtain encrypted result, and described will add Close result is sent to the logging apparatus, and the logging apparatus by first Encryption Algorithm decrypts the encrypted result to obtain the Two random parameters, and second random parameter is sent to the mobile terminal;
The mobile terminal determines the logging apparatus after determining that first random parameter and second random parameter are equal For matching unit.
2. the method as described in claim 1, which is characterized in that mobile terminal utilizes the record in broadcast message search wireless network Enter instrument and establish connection and includes:
The mobile terminal judges whether the logging apparatus meets preset condition according to the sequence number and the device model;
After being determined for compliance with the preset condition, the mobile terminal is according to the logging apparatus IP address and the logging apparatus port Number, it is wirelessly connected with the logging apparatus.
3. method according to claim 2, which is characterized in that in mobile terminal using in broadcast message search wireless network Logging apparatus is simultaneously established before connection, comprising:
IP address of mobile terminal described in the mobile terminal binding and the mobile terminal port numbers;
Whether the mobile terminal monitoring connect with the logging apparatus.
4. the method as described in claim 1, which is characterized in that
The mobile terminal is interacted by Handshake Protocol with the logging apparatus, and is judged according to the verification result of the Handshake Protocol Whether the logging apparatus is that matching unit includes:
The mobile terminal generates encryption factor A and random number X;
The mobile terminal generates code key B using the second Encryption Algorithm;
The mobile terminal utilizes third Encryption Algorithm, generates Y according to the B and X encryption, and the A and Y is sent out Give the typing instrument, wherein the typing instrument generates the B using second Encryption Algorithm, encrypts using third Algorithm generates X according to the B and Y decryption, using the 4th Encryption Algorithm, is encrypted according to the X and generate X0, using described Second Encryption Algorithm generates Y0 according to the X0 and B encryption, and the Y0 is sent to the mobile terminal;
The mobile terminal utilizes the third Encryption Algorithm, generates X0 according to the B and Y0 decryption;
The mobile terminal utilizes the 4th Encryption Algorithm, generates X1 according to the X;
The mobile terminal determines that the logging apparatus is the matching unit after determining that the X0 is equal with the X1.
5. the coalignment of a kind of mobile terminal and logging apparatus characterized by comprising
Connection unit, for using broadcast message search wireless network in logging apparatus and establish connection;
Interactive unit for being interacted by Handshake Protocol with the logging apparatus, and is sentenced according to the verification result of the Handshake Protocol Whether the logging apparatus that breaks is matching unit;
The connection unit includes: sending module, includes mobile terminal in the broadcast message for sending the broadcast message IP address and mobile terminal port numbers, the logging apparatus for receiving the broadcast message pass through the IP address of mobile terminal and the shifting Logging apparatus information is sent to the mobile terminal by dynamic terminal prot number, include in the logging apparatus information logging apparatus IP address, Logging apparatus port numbers, sequence number and device model;
The interactive unit includes:
First generation module, for generating the first random parameter;
Sending module, for encrypting first random parameter by the first Encryption Algorithm to obtain encrypted result, and will be described Encrypted result is sent to the logging apparatus, and the logging apparatus decrypts the encrypted result by first Encryption Algorithm to obtain Second random parameter, and second random parameter is sent to the mobile terminal;
First determining module, described in determining after determining that first random parameter and second random parameter are equal Logging apparatus is matching unit.
6. device as claimed in claim 5, which is characterized in that the connection unit includes:
Judgment module, for judging whether the logging apparatus meets preset condition according to the sequence number and the device model;
Link block, for after being determined for compliance with the preset condition, according to the logging apparatus IP address and the logging apparatus end Slogan is wirelessly connected with the logging apparatus.
7. device as claimed in claim 6, which is characterized in that further include:
Binding unit, for IP address of mobile terminal and the mobile terminal port numbers described in the mobile terminal binding;
Whether monitoring unit connect for monitoring with the logging apparatus.
8. device as claimed in claim 5, which is characterized in that the interactive unit includes:
Second generation module, for generating encryption factor A and random number X;
Third generation module, for generating code key B using the second Encryption Algorithm;
4th generation module generates Y according to the B and X encryption, and by the A and institute for utilizing third Encryption Algorithm It states Y and is sent to the typing instrument, wherein the typing instrument generates the B using second Encryption Algorithm, utilizes third Encryption Algorithm generates X according to the B and Y decryption, using the 4th Encryption Algorithm, is encrypted according to the X and generate X0, utilized Second Encryption Algorithm generates Y0 according to the X0 and B encryption, and the Y0 is sent to the mobile terminal;
5th generation module generates X0 according to the B and Y0 decryption for utilizing the third Encryption Algorithm;
6th generation module generates X1 according to the X for utilizing the 4th Encryption Algorithm;
Second determining module, for after determining that the X0 is equal with the X1, determining that the logging apparatus is the matching unit.
CN201611113490.1A 2016-12-06 2016-12-06 The binding method and device of mobile terminal and logging apparatus Active CN106686755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611113490.1A CN106686755B (en) 2016-12-06 2016-12-06 The binding method and device of mobile terminal and logging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611113490.1A CN106686755B (en) 2016-12-06 2016-12-06 The binding method and device of mobile terminal and logging apparatus

Publications (2)

Publication Number Publication Date
CN106686755A CN106686755A (en) 2017-05-17
CN106686755B true CN106686755B (en) 2019-06-07

Family

ID=58868985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611113490.1A Active CN106686755B (en) 2016-12-06 2016-12-06 The binding method and device of mobile terminal and logging apparatus

Country Status (1)

Country Link
CN (1) CN106686755B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491244A (en) * 2016-01-20 2016-04-13 河南理工大学 Automatic classroom roll-call system based on WIFI and intelligent mobile phones
WO2016177257A1 (en) * 2015-05-06 2016-11-10 阿里巴巴集团控股有限公司 Data sharing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177257A1 (en) * 2015-05-06 2016-11-10 阿里巴巴集团控股有限公司 Data sharing method and device
CN105491244A (en) * 2016-01-20 2016-04-13 河南理工大学 Automatic classroom roll-call system based on WIFI and intelligent mobile phones

Also Published As

Publication number Publication date
CN106686755A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US11438176B2 (en) Mutually authenticated ECDHE key exchange for a device and a network using multiple PKI key pairs
US11777719B2 (en) Public key exchange with authenicated ECDHE and security against quantum computers
US10104114B2 (en) Method and apparatus for testing a security of communication of a device under test
CN108762791A (en) Firmware upgrade method and device
EP3766222B1 (en) Configuration systems and methods for secure operation of networked transducers
Kim et al. Security and performance considerations in ros 2: A balancing act
CN109525989A (en) Data processing, identity identifying method and system, terminal
CN113079508B (en) Data transmission method, device and equipment based on block chain network
CN112994873B (en) Certificate application method and equipment
US20200288331A1 (en) Method and apparatus for connecting to access point in wlan network
CN113434474A (en) Flow auditing method, equipment and storage medium based on federal learning
CN113613227A (en) Data transmission method and device of Bluetooth equipment, storage medium and electronic device
CN106686755B (en) The binding method and device of mobile terminal and logging apparatus
CN104837182B (en) Connection control method, control method, access control apparatus and control device
CN107040928B (en) Illegal WIFI detection method, terminal, aaa server and system
EP4224395A1 (en) Payment method and device using ultra-wideband communication
CN113507707B (en) Distribution network method and system of intelligent teaching equipment
CN109673012A (en) A kind of control method and system, equipment, computer storage medium
JP6718466B2 (en) Dynamic data encryption method and related method for controlling decryption right
CN117061115B (en) Key negotiation method, key negotiation apparatus, computer device, and computer-readable storage medium
CN105827427B (en) Information processing method and electronic equipment
CN117061225A (en) Authentication method and related device
CN111797417A (en) File uploading method and device, storage medium and electronic device
CN114172687A (en) Cloud connection method, method for auxiliary equipment to be connected with cloud and electronic equipment
CN112906017A (en) Processing method and device for encrypted data test and server

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.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 1301, No.132, Fengqi Road, phase III, software park, Xiamen City, Fujian Province

Patentee after: Xiamen Entropy Technology Co., Ltd

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

Patentee before: XIAMEN ZKTECO BIOMETRIC IDENTIFICATION TECHNOLOGY Co.,Ltd.