CN112311730B - Pairing information uploading, connecting and authenticating method, terminal and server - Google Patents

Pairing information uploading, connecting and authenticating method, terminal and server Download PDF

Info

Publication number
CN112311730B
CN112311730B CN201910690694.9A CN201910690694A CN112311730B CN 112311730 B CN112311730 B CN 112311730B CN 201910690694 A CN201910690694 A CN 201910690694A CN 112311730 B CN112311730 B CN 112311730B
Authority
CN
China
Prior art keywords
pairing
terminal
information
target
equipment
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
CN201910690694.9A
Other languages
Chinese (zh)
Other versions
CN112311730A (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.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software 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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201910690694.9A priority Critical patent/CN112311730B/en
Priority to PCT/CN2020/096064 priority patent/WO2021017664A1/en
Publication of CN112311730A publication Critical patent/CN112311730A/en
Application granted granted Critical
Publication of CN112311730B publication Critical patent/CN112311730B/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/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The embodiment of the invention provides a pairing information uploading, connecting and authenticating method, a terminal and a server, wherein the first terminal serving as a bound pairing terminal sends own equipment information and equipment position information and a pairing password to the server of a cloud end and stores the pairing information and the equipment position information and the pairing password to the cloud end; when the second terminal serving as the binding pair needs to add binding equipment, sending an equipment adding request to a server in the cloud, acquiring equipment information and position information of the equipment capable of being added from the server, selecting a required target adding equipment from a target position area, inputting a pairing password corresponding to the target adding equipment, and sending the pairing password to the server for authentication; after the cloud server receives the pairing password sent by the second terminal, the pairing password is matched with the pairing password of the corresponding target adding device, and the first terminal and the target adding device are bound and paired after the matching is successful. In some implementations, the purpose of remote pairing of terminals including, but not limited to, two sides is achieved.

Description

Pairing information uploading, connecting and authenticating method, terminal and server
Technical Field
The embodiment of the invention relates to the technical field of terminal equipment, in particular to a pairing information uploading, connecting and authenticating method, a terminal and a server.
Background
tracker is often used as a tracker for pets, luggage or old people and children, and the position of the tracker can be detected through APP, so that the tracker is accepted and used by people with the improvement of safety awareness. The application scenes of the tracker are limited to the use of the tracker by a single user, and in the future, scenes such as group activities, a plurality of devices, temporary networking and the like are more and more, so that no networking solution exists at present for the problems.
In addition, in the current method for networking the wearable equipment, an APP user scans a two-dimensional code to obtain an IMEI number, and then the IMEI number is interactively bound with a cloud server. The disadvantage is that the two-dimensional code on the wearable device must be scanned, and if not at hand, the addition cannot be completed. In addition, for the situation that multiple devices need to be bound to one user, the current practice is that devices of different users are shared to another user, if multiple devices such as tourists need to be added in a tour guide or a teacher adds multiple devices of students, user managers of the multiple devices need to share to corresponding tour guides or teachers, and group establishment is very complicated. And the user who unbundles after establishing also needs to share manually unbundling.
Disclosure of Invention
The embodiment of the invention provides a pairing information uploading, connecting and authenticating method, a terminal and a server, and mainly solves the technical problem of providing a remote pairing authentication method, so that the terminals on two sides can realize binding pairing even if the terminals are in different areas.
In order to solve the above technical problems, an embodiment of the present invention provides a pairing information uploading method, where the pairing information uploading method includes:
the first terminal enters a networking mode;
inputting a first pairing password to the first terminal according to a preset input rule;
the first terminal generates first networking pairing information and sends the first networking pairing information to a server; the first networking pairing information at least comprises: and the first pairing password, the equipment information and the position information of the first terminal.
Further, the embodiment of the invention also provides a pairing connection method, which comprises the following steps:
the second terminal enters a networking mode, sends a networking equipment adding request to a server, and acquires the position information and the equipment information of the addable equipment;
finding a corresponding third target area from a preset map interface according to the position information of the equipment to be added, and selecting third target equipment from the third target area;
And inputting a third target pairing password corresponding to the third target device, and sending the third target pairing password and third target device information to a server.
Further, the embodiment of the invention also provides a pairing authentication method, which comprises the following steps:
receiving pairing information sent by a first terminal, wherein the pairing information at least comprises a pairing password, equipment information and position information of the first terminal;
receiving a networking equipment adding request sent by a second terminal, and sending equipment information and position information of the paired equipment to the second terminal;
receiving a target equipment pairing password and target equipment information returned by the second terminal, authenticating the target equipment pairing password with the pairing password of the first terminal when the target equipment information is matched with the equipment information of the first terminal, and binding and pairing the second terminal with the first terminal successfully when the authentication is the same; when the authentication is different, the binding pairing fails;
and sending the authentication result to the second terminal.
Further, the embodiment of the invention also provides a first terminal, which comprises: the device comprises a communication module, an input module and a positioning module;
The communication module is used for interacting with the server, sending the pairing information to the server, and receiving the binding pairing information sent by the server;
the input module is used for acquiring an input temporary pairing password;
the positioning module is used for positioning the position information of the first terminal.
Further, the embodiment of the invention also provides a second terminal, which comprises: a networking module and an add-on device module;
the networking module is used for being connected with the server to send a device adding request to the server, downloading the position information, the device information and/or the team name of the addable device from the server, and uploading the position information, the device information and/or the team name of the target adding device;
the adding device module is used for storing the position information, the device information and/or the team name of the selected target adding device.
Further, the embodiment of the invention also provides a server, which comprises: the device comprises a request message processing module, an authentication module and a binding module;
the request message processing module is used for receiving pairing information sent by the first terminal and receiving a device adding request sent by the second terminal;
the authentication module is used for sending the position information, the equipment information and/or the team name of the addable equipment to the second terminal and authenticating the position information, the equipment information and/or the team name of the returned target addable equipment;
And the binding module is used for binding and pairing the second terminal and the target adding device when the authentication module passes the authentication.
Further, the present invention also provides a computer readable storage medium storing one or more programs executable by one or more processors to implement the steps of a pairing authentication method described above.
The embodiment of the invention provides a pairing information uploading, connecting and authenticating method, a terminal and a server, wherein the first terminal serving as a bound pairing terminal sends self equipment information, equipment position information and a pairing password to a cloud server; when the second terminal serving as the binding pair needs to add binding equipment, sending an adding equipment request to a cloud server, acquiring equipment information and position information of the equipment capable of being added from the server, selecting corresponding target adding equipment in a target position area of the target adding equipment, inputting a pairing password corresponding to the target adding equipment, and sending the pairing password to the server for authentication; after the cloud server receives the pairing password sent by the second terminal, the pairing password is matched with the pairing password of the corresponding target adding device, and the first terminal and the target adding device are bound and paired after the matching is successful. In some implementations, the purpose of remote pairing of terminals including, but not limited to, two sides is achieved.
Additional features and corresponding advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of a pairing information uploading method according to an embodiment of the invention;
fig. 2 is a flowchart of a pairing connection method according to an embodiment of the invention;
fig. 3 is a flowchart of a pairing authentication method according to an embodiment of the invention;
fig. 4 is a flowchart of a mesh mode of a tracker according to a second embodiment of the present invention;
fig. 5 is a flowchart of a process for receiving a tracker network by a cloud server according to a second embodiment of the present invention;
fig. 6 is a flowchart of a method for adding equipment to a user APP user provided in the second embodiment of the present invention;
fig. 7 is a flowchart in the case that multiple trackers need to be added simultaneously for one APP user according to the second embodiment of the present invention;
fig. 8 is a flowchart of a method for adding multiple trackers by an APP user according to the second embodiment of the present invention;
fig. 9 is a schematic structural diagram of a first terminal according to a third embodiment of the present invention;
Fig. 10 is a schematic structural diagram of a second terminal according to a third embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to a third embodiment of the present invention;
fig. 12 is a schematic diagram of a connection relationship of a system composed of a first terminal, a second terminal and a server according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following detailed description of the embodiments of the present invention is given with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Implementing the following steps:
in order to enable two terminals located in different areas and far away from each other to achieve binding pairing, the embodiment provides a pairing information uploading method, and referring to fig. 1, as shown in fig. 1, a flow of the pairing information uploading method provided in the embodiment includes:
s101, the first terminal enters a networking mode.
In this embodiment, the method for the first terminal to enter the networking mode is not limited, and includes, but is not limited to, long-pressing a specific key on the first terminal to trigger the networking mode, opening the networking mode through touch when the first terminal includes a touch screen, waking up the networking mode through voice, and so on.
S102, the first terminal determines a first pairing password.
In this embodiment, the first pairing password is an authentication password when binding pairing is performed with the first terminal, and only when authentication of the first pairing password is passed, binding pairing can be performed with the first terminal.
S103, the first terminal generates first networking pairing information.
In this embodiment, the first networking pairing information includes at least a first pairing password, and device information and location information of the first terminal. The location of the first terminal and the device information corresponding to the first terminal can be found through the first networking pairing information, and the device information includes but is not limited to an IMEI number.
S104, the first networking pairing information is sent to a server.
In this embodiment, in step S102, the first terminal determines the first pairing password. Wherein when determining the first pairing password comprises: determining whether a temporary password needs to be input; if yes, acquiring a temporary password input by a user, and taking the input temporary password as a first pairing password; if not, determining whether a default password is included in the first terminal, and if so, taking the default password as a first pairing password; and when the default password is not included, setting the first pairing password as a null password. In this embodiment, the method for inputting the temporary password on the first terminal includes, but is not limited to, inputting by a preset input rule through an entity key on the first terminal, inputting by a virtual key on the first terminal, inputting by voice, and the like.
In this embodiment, when the first terminal requiring binding pairing includes at least two terminals at the same time, the binding pairing may be performed in a networking mode. At this time, when the first terminals need to be paired, controlling at least two first terminals to enter a networking mode; inputting the same second pairing password to at least two first terminals according to a preset input rule; generating second networking pairing information by at least two first terminals, and sending the second networking pairing information to a server; the second networking pairing information at least comprises: the second pairing password and the device information and the position information of at least two first terminals. When the first terminals are required to be paired and bound in a team forming mode, second pairing passwords of the first terminals required to be team formed are set to be the same, and in the process of pairing and binding with the second terminals, the second terminals can authenticate the first terminals in the team by only inputting the pairing passwords once, so that complicated operation is avoided, and the team forming device is convenient to use.
When a plurality of first terminals are paired and bound in a team mode, the second terminal is used for identifying the first terminals in the same team among a plurality of terminals. The method further comprises the steps of, before sending the second networking pairing information to the server: and obtaining the team group names corresponding to the at least two first terminals, and adding the team group names corresponding to the at least two first terminals in the second networking pairing information.
In this embodiment, after the first terminal sends the networking pairing information to the server, the server may use the pairing information to authenticate the second terminal that needs to be paired with the first terminal, and when the second terminal needs to be bound and paired with the first terminal, the second terminal needs to communicate with the server first.
The embodiment also provides a pairing connection method, referring to fig. 2, as shown in fig. 2, a flow of the pairing connection method provided in the embodiment includes:
s201, the second terminal enters a networking mode.
In this embodiment, the method for the second terminal to enter the networking mode is not limited, and includes, but is not limited to, long-pressing a specific key on the second terminal to trigger the networking mode, opening the networking mode through touch when the second terminal includes a touch screen, waking up the networking mode through voice, and so on.
S202, sending a networking device adding request to a server, and acquiring the position information and the device information of the addable device.
And when the second terminal is in the equipment adding mode, sending a networking equipment adding request to a server, and after receiving the networking equipment adding request sent by the second terminal, returning the position information and the equipment information of the addable equipment to the second terminal by the server. In view of the large number of devices that can be added in the server, the second terminal will often define an area of the obtained devices that can be added when sending a device adding request, where the area includes, but is not limited to, a third target area where a third target device is located, and of course, all the device information and location information that can be added may be obtained globally in some cases.
S203, selecting a third target device from the third target area.
After obtaining the device information and the position information of the addable device, the second terminal finds a corresponding third target area from a preset map interface according to the position information of the device to be added, and selects the third target device from the third target area.
S204, inputting a third target pairing password and sending the third target pairing password and third target device information to the server.
After the required third target device is selected, the user inputs a pairing password corresponding to the third target device in the pop-up window, and after the second terminal acquires the pairing password corresponding to the input third target device, the pairing password and the device information of the third target device are sent to the server, wherein the information sent to the server by the second terminal comprises but is not limited to the pairing password corresponding to the third target device and the device information of the third target device, and the information also comprises and sends the device information of the second terminal to the server, and the device information of the second terminal comprises but is not limited to the IMEI of the device, the ID of the user and the like.
In this embodiment, when the second terminal needs to add a plurality of devices for forming a team, the second terminal enters a networking mode, and sends a request for adding the devices for forming the team to the server, so as to obtain the position information and the device information of the devices for forming the team, and the team name; finding a corresponding fourth target area from a preset map interface according to the position information of the target adding equipment, and selecting at least two fourth target equipment with the same team name from the fourth target area; inputting a fourth target pairing password corresponding to the fourth target equipment, and sending the fourth target pairing password and fourth target equipment information to a server; the fourth target pairing passwords of the fourth target devices with the same team names are the same. When the second terminal enters a networking mode, the requirement for acquiring the team name is increased in a team equipment adding request sent to the server, so that the team name of the equipment is also included in the acquired addable equipment besides the equipment information and the position information of the addable equipment, and when the second terminal selects the added equipment, the equipment in the same team can be rapidly selected through the team name, and the operation of a user is facilitated. Meanwhile, in the embodiment, when the first terminal is in the networking mode, the pairing passwords of the same team in the pairing information sent to the server are the same, so that the second terminal can realize pairing authentication of a plurality of added devices by only inputting one pairing password after selecting a plurality of target devices of the same team, and complicated operation is reduced.
In this embodiment, since there are many devices bound at a time in the team pairing binding, and there are many devices unbinding at a time when unbinding is required, in order to reduce the operation amount of the user, the functions of automatic binding pairing and unbinding pairing are set. The method further comprises the steps of, before sending the fourth target pairing password and the fourth target device information to the server: and determining whether a pairing time period is input, and when the pairing time period is input, transmitting the fourth target pairing password, the fourth target device information and the pairing time period to a server together, wherein the second terminal is only in pairing connection with at least two fourth target devices in the pairing time period. The information sent to the server includes a time period, so that the server can be controlled to perform binding pairing only in the time period and/or outside the time period, and the binding pairing is automatically released when the time exceeds the time period and/or the time period is entered.
In this embodiment, after the second terminal sends the device information of the added device and the corresponding pairing password to the server, in order to determine whether the authentication is correct, the server will often return an authentication result to the second terminal after the authentication is finished. Thus, after transmitting the third/fourth target pairing password and the third/fourth target device information to the server, further includes: receiving a pairing authentication result returned by the server; when the pairing authentication result fails, prompting the user to re-input a third/fourth target pairing password; and when the pairing authentication result is successful, the second terminal and the third target equipment or at least two fourth target equipment finish pairing connection.
In this embodiment, the first terminal, the second terminal, and the third target device and the fourth target device refer to a device capable of performing binding authentication and uploading pairing information, where the number of each device may be one or may refer to a plurality of devices, and this embodiment is not limited thereto.
In this embodiment, since the first terminal needs to send the pairing information to the server, the second terminal also needs to send the pairing password for authentication to the server for authentication and binding. Therefore, the present embodiment also provides a pairing authentication method, referring to fig. 3, as shown in fig. 3, a flow of the pairing authentication method provided in the present embodiment includes:
s301, receiving pairing information sent by a first terminal.
When the first terminal needs binding pairing, the pairing information uploading method is adopted to send the pairing information of the first terminal to the server, and the server stores the corresponding pairing information after receiving the pairing information.
S302, receiving a networking device adding request sent by the second terminal, and sending device information and position information of the paired devices to the second terminal.
When the second terminal needs to add binding equipment, the pairing connection method is adopted, firstly, a networking equipment adding request is sent to a server, after the server receives the networking equipment adding request, equipment information and position information of the addable equipment are returned to the second terminal according to the networking equipment adding request, and the returned equipment information and position information of the addable equipment comprise but are not limited to equipment information and position information of target equipment to be bound by the second terminal.
S303, receiving a target device pairing password and target device information returned by the second terminal.
In this embodiment, the information returned to the server by the second terminal includes, but is not limited to, the target device pairing password and the target device information, and may also include the device information of the second terminal, for example, the IMEI of the second terminal, the ID of the user, and the like.
S304, matching the pairing password sent by the second terminal with the pairing password stored in the server.
In this embodiment, since the information returned by the second terminal includes the device information of the target device, the returned target device needs to be confirmed before the server performs authentication, and the returned device information of the target device may be adopted to confirm the returned device information, and meanwhile, the purpose of preliminary matching may also be achieved, when the returned device information of the target device is successfully matched with the first terminal, it is determined that the second terminal needs to be bound and paired with the first terminal, after the pairing password of the first terminal is found in the server, the pairing password returned by the second terminal and the pairing password of the first terminal stored in the server are matched and authenticated, and when the authentication is the same, the binding and pairing between the second terminal and the first terminal are successful; when the authentication is different, the binding pair fails. And transmitting the authentication result to the second terminal.
In this embodiment, when the pairing information further includes a team name, the first terminals with the same team name include at least two terminals; receiving a team forming equipment adding request sent by a second terminal, and sending equipment information, position information and a team forming name capable of forming team pairing to the second terminal; and receiving a target equipment pairing password, target equipment information and target group names sent by the second terminal, when the target group names and the target equipment information are matched with the group names and the equipment information of the first terminal, comparing the target equipment pairing password with the pairing password of the first terminal, and when the target equipment pairing password is the same, binding and pairing the second terminal with the first terminal.
In this embodiment, step S303 receives the target device pairing password and the target device information sent by the second terminal, and when the target team name further includes a team forming time period; and judging whether the current time is in a time period, when the current time is in the time period, the second terminal and the first terminal perform binding pairing, and when the time period is over, the binding pairing is automatically disconnected.
In this embodiment, considering that the first terminal may not send pairing information to the server for the first time, when the first terminal needs to perform binding pairing with a new device or needs to re-bind pairing, the first terminal may send pairing information to the server again, so when receiving pairing information sent by the first terminal, the method further includes: judging whether the equipment information in the pairing information exists or not, and comparing and updating the pairing information with the existing pairing information when the equipment information exists. Wherein the updating is mainly to replace part of the information with changed content in the pairing information.
The first terminal sends the self equipment information, the equipment position information and the form of the authentication password-pairing information required by pairing to the server, when the second terminal needs to be bound and paired with the first terminal, the second terminal sends an equipment adding request to the server, at the moment, the server returns a plurality of pieces of addable equipment comprising the equipment information and the equipment position information of the first terminal to the second terminal, the second terminal selects the first terminal from the plurality of addable equipment and inputs a corresponding pairing password, the second terminal sends the equipment information and the input pairing password of the first terminal to the server, after the server receives the information returned by the second terminal, the server confirms that the equipment bound and paired is the first terminal, and then authenticates the pairing password input on the second terminal and the pairing password uploaded by the first terminal, and when the authentication is the same, the first terminal and the second terminal are successfully bound and paired. The authentication binding process of the first terminal and the second terminal is set in the server of the cloud, so that remote authentication and binding matching of the first terminal and the second terminal are realized.
And II, implementation:
the present embodiment is described in detail with respect to a tracker (tracker) in a wearable device as a first terminal.
The embodiment provides a method for quick network connection and networking, wherein a user can finish the function of adding equipment remotely without scanning a two-dimensional code on the equipment by using an APP user as a second terminal of the embodiment through a temporary password generated by an added password or a key set in a factory;
also for a scenario where multiple trackers need to be added simultaneously to build temporary groups for one user, such as a collective activity. The plurality of trackers initiate group requests, and then an APP user can complete the addition of all trackers at one time at an addition group interface.
The embodiment of the invention relates to a rapid networking and networking method, and is described below. It should be noted that, in this embodiment, networking and screening may be used interchangeably in some cases.
First, a process of screening mode is carried out on a tracker: the flow of steps S01-S04 can be seen in fig. 4.
S01: a tracker user operates the tracker (such as pressing a key for 3 seconds or other forms) to enter a screening mode;
s02: after the screening mode, the user selects whether to input a temporary password, the user selects to enter step S03, otherwise, the step S04 is entered;
S03: the user generates a temporary password through a key sequence, the temporary password replaces the factory-leaving networking password to be used as the networking password, if the key sequence is that the password is 23 after the user presses 2 continuously and stops;
s04: the tracker sends a network-surfing request to a cloud server, and sends the IMEI number, the geographic position and the network-surfing password to the server.
The cloud server receives the processing flow of tracker screening: the flow of steps S21-S22 can be seen in fig. 5.
S21: the cloud receives the network-added message of the tracker;
s22: querying a database to determine whether the device is newly added tracker;
s23: if the device is a new added device, adding the device information of the tracker in a server database of the cloud, wherein the device information comprises an IMEI, a geographic position, a screening mode state and a screening password
S24: if the device is a registered device, the data information of the corresponding IMEI device is modified, the geographic position is modified, and the network password is modified.
The method for adding equipment by the user APP comprises the following steps: the flow of steps S31-S37 can be seen in fig. 6.
S31: the APP user enters a user adding device interface;
s32: acquiring a tracker currently in a networking mode from a cloud server, displaying a corresponding position on an adding interface map according to the acquired geographic position, and conveniently finding the tracker to be added by a user through the position;
S33: the user performs adding operation on the corresponding tracker, inputs a network-added password, and then sends the IMEI of the equipment, the ID of the user and the network-added password to a cloud server;
s34: after receiving the message, the server verifies the IMEI of the request message and adds a password;
s35: if the verification is successful; establishing a binding relation between the tracker and the user in a cloud server database, and returning a message of successful addition to the APP user;
s36: if the verification is unsuccessful, returning an addition failure message to the APP user;
s37: and the APP user binds successfully in the APP according to the added result if the addition is successful.
For the case that one APP user needs to add multiple trackers at the same time: the flow of steps S41-S43 can be seen in fig. 7.
S41: the tracker user operates the tracker (such as long pressing a key for 5 seconds or other forms) and enters a networking mode;
s42: the user uses the keys to set the agreed temporary networking password, and if the temporary networking password is not set, the temporary networking password is empty
S42: the tracker sends the IMEI, the geographic position and the networking password to the cloud server
S43: and after the cloud receives the networking mode of the tracker, updating the geographic position of the equipment and the networking password.
The method for adding a plurality of trackers by an APP user comprises the following steps: the flow of steps S51-S57 can be seen in fig. 8.
S51: the user APP establishes a group at the added group interface, and can network in a time period from six points to ten points;
s52: requesting a tracker list of the agreed networking passwords from a server, and displaying the tracker list to a corresponding position according to the position information of the tracker;
s53: the user selects a tracker to be added on an interface of the adding group;
s54: transmitting IMEIs, group names, user IDs, networking passwords and networking time periods of the selected plurality of trackers to a cloud server;
s55: the cloud server receives networking messages of a plurality of trackers sent by the APP, verifies corresponding networking passwords, and establishes an association relationship according to IMEI, group name, user ID and networking time period of the trackers after verification is successful;
s56: the cloud server initiates a delay task according to the networking time, and deletes the group after reaching the designated time;
s57: and returning the networking result to the APP user. After the APP receives the networking result, if the networking result is successful, the APP user adds all the trackers successfully.
In this embodiment, the APP adds an add device interface, and the tracker is displayed on the map, so that the user can drag the map to quickly find the tracker at the corresponding position, add an input box for inputting the screening password, click to determine, and then verify whether the adding can be successfully performed in the following cloud. And a networking interface is added with a new group function, and the selection of networking time period is increased when a new group is established. The network password input box is provided, the corresponding tracker can be searched out according to the network password, then the tracker is displayed on the map, and the user can click multiple choices or complete all the equipment adding work through the full choice button.
Through the embodiment, the defect that the device must be at the side of the scanning two-dimensional code can be well overcome, for example, a user buys wearable equipment such as a tracker for parents or children who are not at the side of the scanning two-dimensional code, and for the old and the children, the situation that an App cannot be used, so that the device cannot be added is probably caused.
Similarly, for the similar condition of the tour, a tour guide needs to temporarily detect the positions of all tourists for the safety of the tourists, the tour guide informs the tourist of networking passwords, the networking passwords are not needed for convenience, the tourist operation equipment enters the networking operation, the tour guide can screen according to the networking passwords in the networking interface of the APP of the tour guide to check all the equipment to be networked of the tourists, the tour guide can select all the equipment currently in the networking mode on the interface for adding, the state of the equipment of the tourists can be detected after the addition is successful, and the complicated operation that a plurality of traditional users need to share the same user is avoided.
Aiming at temporary networking, a tour guide can select a certain time period when the networking is established, the traveling time in the day is from eight am to six pm, a cloud server can establish a group relation for tour guide and tourist equipment in the time period from eight am to six pm, and when the group is established from six pm, the cloud server automatically releases the group, so that the problem of multiple unbinding is avoided.
And (3) implementation:
the embodiment also provides a first terminal, in the embodiment of the present invention, the first terminal mainly refers to one end of the binding pair, and a schematic structural diagram of the first terminal may refer to fig. 9, where in fig. 9, the first terminal includes: the device comprises a communication module, an input module and a positioning module;
the communication module is used for interacting with the server, sending the pairing information to the server, and receiving the binding pairing information sent by the server;
the input module is used for acquiring an input temporary pairing password;
the positioning module is used for positioning the position information of the first terminal.
The embodiment also provides a second terminal, which in the embodiment is only one end of the binding pair of the astronomical device, and the schematic structural diagram of the second terminal can be seen in fig. 10, and in fig. 10, the second terminal includes: a networking module and an add-on device module;
The networking module is used for being connected with the server to send a device adding request to the server, downloading the position information, the device information and/or the team name of the addable device from the server, and uploading the position information, the device information and/or the team name of the target adding device;
the adding device module is used for storing the position information, the device information and/or the team name of the selected target adding device.
The embodiment also provides a server, which is used for storing the pairing information uploaded by each first terminal and authenticating and configuring the binding pairing relationship between the second terminal and the first terminal in the embodiment, and the structure schematic diagram of the server can be seen in fig. 11, and in fig. 11, the server includes: the device comprises a request message processing module, an authentication module and a binding module;
the request message processing module is used for receiving pairing information sent by the first terminal and receiving a device adding request sent by the second terminal;
the authentication module is used for sending the position information, the equipment information and/or the team name of the addable equipment to the second terminal and authenticating the position information, the equipment information and/or the team name of the returned target addable equipment;
And the binding module is used for binding and pairing the second terminal and the target adding device when the authentication module passes the authentication.
In this embodiment, a connection diagram of a system formed by the first terminal, the second terminal, and the server can be seen in fig. 12.
The present embodiments also provide a computer-readable storage medium including volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media includes, but is not limited to, RAM (Random Access Memory ), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory, charged erasable programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact Disc Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. The computer-readable storage medium stores one or more programs executable by one or more processors to implement the steps of a pairing authentication method described in embodiments and embodiment two.
It will be apparent to one skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the apparatus disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing apparatus), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and may include any information delivery media. Therefore, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a further detailed description of embodiments of the invention in connection with the specific embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (13)

1. The pairing information uploading method is characterized by comprising the following steps of:
the first terminal enters a networking mode;
inputting a first pairing password to the first terminal according to a preset input rule;
the first terminal generates first networking pairing information and sends the first networking pairing information to a server; the first networking pairing information at least comprises: the first pairing password and the device information and the position information of the first terminal;
when the first terminals need to be paired in a team, at least two first terminals enter a networking mode;
inputting the same second pairing password to the at least two first terminals according to a preset input rule;
the at least two first terminals generate second networking pairing information and send the second networking pairing information to a server; the second networking pairing information at least comprises: and the second pairing password and the equipment information and the position information of the at least two first terminals.
2. The pairing information uploading method according to claim 1, wherein the inputting the first pairing password to the first terminal according to a preset input rule includes: determining whether a temporary password needs to be input;
if yes, acquiring a temporary password input by a user, and taking the input temporary password as a first pairing password;
if not, determining whether a default password is included in the first terminal, and if so, taking the default password as a first pairing password; and when the default password is not included, setting the first pairing password as a null password.
3. The pairing information uploading method according to claim 1, wherein before the sending the second networking pairing information to a server, further comprises:
and obtaining the team group names corresponding to the at least two first terminals, and adding the team group names corresponding to the at least two first terminals in the second networking pairing information.
4. A mating connection method, characterized in that the mating connection method comprises:
the second terminal enters a networking mode, sends a networking equipment adding request to a server, and acquires the position information and the equipment information of the addable equipment;
finding a corresponding third target area from a preset map interface according to the position information of the equipment to be added, and selecting third target equipment from the third target area;
Inputting a third target pairing password corresponding to the third target device, and sending the third target pairing password and third target device information to a server;
when the equipment required to be added by the second terminal is team equipment;
the second terminal enters a networking mode, sends a team forming device adding request to the server, and obtains position information and device information of the addable team forming device and a team forming name;
finding a corresponding fourth target area from a preset map interface according to the position information of the required target adding equipment, and selecting at least two fourth target equipment with the same team name from the fourth target area;
inputting a fourth target pairing password corresponding to the fourth target device, and sending the fourth target pairing password and fourth target device information to a server; and the fourth target pairing passwords of the fourth target devices with the same group names are the same.
5. The pairing-connection method of claim 4, wherein before the transmitting the fourth target pairing password and fourth target device information to the server further comprises:
and determining whether a pairing time period is input, and when the pairing time period is input, sending the fourth target pairing password, the fourth target equipment information and the pairing time period to a server, wherein the second terminal is only paired and connected with the at least two fourth target equipment in the pairing time period.
6. The pairing-connection method according to any one of claims 4-5, wherein after the third/fourth target pairing password and third/fourth target device information are transmitted to a server, further comprising:
receiving a pairing authentication result returned by the server;
when the pairing authentication result fails, prompting a user to re-input a third/fourth target pairing password;
and when the pairing authentication result is successful, the second terminal and the third target equipment or at least two fourth target equipment finish pairing connection.
7. A pairing authentication method, characterized in that the pairing authentication method comprises:
receiving pairing information sent by a first terminal, wherein the pairing information at least comprises a pairing password, equipment information and position information of the first terminal;
receiving a networking equipment adding request sent by a second terminal, and sending equipment information and position information of the paired equipment to the second terminal;
receiving a target equipment pairing password and target equipment information returned by the second terminal, authenticating the target equipment pairing password with the pairing password of the first terminal when the target equipment information is matched with the equipment information of the first terminal, and binding and pairing the second terminal with the first terminal successfully when the authentication is the same; when the authentication is different, the binding pairing fails;
Sending the authentication result to the second terminal;
when the pairing information also comprises team names, the first terminals with the same team name at least comprise two terminals;
receiving a team equipment adding request sent by a second terminal, and sending equipment information, position information and a team name capable of being paired to the second terminal;
and receiving a target equipment pairing password, target equipment information and a target team name sent by the second terminal, and binding and pairing the second terminal with the first terminal when the target team name and the target equipment information are matched with the team name and the equipment information of the first terminal and the pairing password of the target equipment is compared with the pairing password of the first terminal.
8. The pairing authentication method according to claim 7, wherein the receiving the target device pairing password and the target device information sent by the second terminal, and the target team name further includes a team period;
judging whether the current time is in the time period, when the current time is in the time period, binding and pairing the second terminal and the first terminal, and when the time period is over, automatically disconnecting the binding and pairing.
9. The pairing authentication method according to any one of claims 7-8, wherein when receiving pairing information sent by the first terminal, the pairing authentication method further includes: judging whether the equipment information in the pairing information exists or not, and comparing and updating the pairing information with the existing pairing information when the equipment information exists.
10. A first terminal, the first terminal comprising: the device comprises a communication module, an input module and a positioning module;
the communication module is used for interacting with the server, sending the pairing information to the server, and receiving the binding pairing information sent by the server;
the input module is used for acquiring an input temporary pairing password;
the positioning module is used for positioning the position information of the first terminal;
when the first terminals need to be paired, at least two first terminals enter a networking mode; inputting the same second pairing password to the at least two first terminals according to a preset input rule; the at least two first terminals generate second networking pairing information and send the second networking pairing information to a server; the second networking pairing information at least comprises: and the second pairing password and the equipment information and the position information of the at least two first terminals.
11. A second terminal, the second terminal comprising: a networking module and an add-on device module;
the networking module is used for being connected with the server to send a device adding request to the server, downloading the position information, the device information and/or the team name of the addable device from the server, and uploading the position information, the device information and/or the team name of the target adding device;
the adding device module is used for storing the position information, the device information and/or the team name of the selected target adding device;
when the equipment required to be added by the second terminal is team equipment;
the second terminal enters a networking mode, sends a team forming device adding request to the server, and obtains position information and device information of the addable team forming device and a team forming name;
finding a corresponding fourth target area from a preset map interface according to the position information of the required target adding equipment, and selecting at least two fourth target equipment with the same team name from the fourth target area;
inputting a fourth target pairing password corresponding to the fourth target device, and sending the fourth target pairing password and fourth target device information to a server; and the fourth target pairing passwords of the fourth target devices with the same group names are the same.
12. A server, the server comprising: the device comprises a request message processing module, an authentication module and a binding module;
the request message processing module is used for receiving pairing information sent by the first terminal and receiving a device adding request sent by the second terminal;
the authentication module is used for sending the position information, the equipment information and/or the team name of the addable equipment to the second terminal and authenticating the position information, the equipment information and/or the team name of the returned target addable equipment;
the binding module is used for binding and pairing the second terminal and the target adding device when the authentication module passes the authentication;
when the pairing information also comprises team names, the first terminals with the same team names at least comprise two terminals;
the server is used for receiving a team forming equipment adding request sent by a second terminal and sending equipment information, position information and a team forming name capable of forming team pairing to the second terminal;
the server is used for receiving a target equipment pairing password, target equipment information and a target group name sent by the second terminal, and when the target group name and the target equipment information are matched with the group name and the equipment information of the first terminal, the server is also used for comparing the target equipment pairing password with the pairing password of the first terminal, and when the target equipment pairing password is the same, the second terminal and the first terminal are bound and paired.
13. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of a pairing authentication method according to any one of claims 7 to 9.
CN201910690694.9A 2019-07-29 2019-07-29 Pairing information uploading, connecting and authenticating method, terminal and server Active CN112311730B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910690694.9A CN112311730B (en) 2019-07-29 2019-07-29 Pairing information uploading, connecting and authenticating method, terminal and server
PCT/CN2020/096064 WO2021017664A1 (en) 2019-07-29 2020-06-15 Pairing information uploading method, pairing connection method, and pairing authentication method, terminal, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910690694.9A CN112311730B (en) 2019-07-29 2019-07-29 Pairing information uploading, connecting and authenticating method, terminal and server

Publications (2)

Publication Number Publication Date
CN112311730A CN112311730A (en) 2021-02-02
CN112311730B true CN112311730B (en) 2023-10-20

Family

ID=74230047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910690694.9A Active CN112311730B (en) 2019-07-29 2019-07-29 Pairing information uploading, connecting and authenticating method, terminal and server

Country Status (2)

Country Link
CN (1) CN112311730B (en)
WO (1) WO2021017664A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285944A (en) * 2021-05-19 2021-08-20 广西电网有限责任公司 Network information security protection method and related equipment
CN113915947B (en) * 2021-09-13 2023-04-11 海信冰箱有限公司 Refrigerator and remote control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104981025A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Terminal pairing method, terminal pairing device, server and terminal
CN107222498A (en) * 2017-06-30 2017-09-29 江西博瑞彤芸科技有限公司 The binding processing method of shared data
WO2018152820A1 (en) * 2017-02-25 2018-08-30 华为技术有限公司 Method and device for establishing connection
CN109246217A (en) * 2018-09-12 2019-01-18 厦门优胜卫厨科技有限公司 A kind of matching method of intelligent bathtub equipment, pair system and intelligent bathtub equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580132B (en) * 2017-09-05 2020-05-08 Oppo广东移动通信有限公司 Information sending method, information sending device, storage medium and electronic equipment
CN108282767B (en) * 2017-12-29 2020-11-17 歌尔科技有限公司 Pairing method, device and system
CN108551652B (en) * 2018-04-18 2021-03-19 广东小天才科技有限公司 Binding method and device of child equipment, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104981025A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Terminal pairing method, terminal pairing device, server and terminal
WO2018152820A1 (en) * 2017-02-25 2018-08-30 华为技术有限公司 Method and device for establishing connection
CN108513716A (en) * 2017-02-25 2018-09-07 华为技术有限公司 The method and apparatus for establishing connection
CN107222498A (en) * 2017-06-30 2017-09-29 江西博瑞彤芸科技有限公司 The binding processing method of shared data
CN109246217A (en) * 2018-09-12 2019-01-18 厦门优胜卫厨科技有限公司 A kind of matching method of intelligent bathtub equipment, pair system and intelligent bathtub equipment

Also Published As

Publication number Publication date
WO2021017664A1 (en) 2021-02-04
CN112311730A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
US10475023B2 (en) Method and apparatus of processing symbology interactions between mobile stations and a control system
US10484867B2 (en) Device management based on wireless beacons
KR101759418B1 (en) Method, apparatus, system, program and recording medium for managing administrative relation between account and device
US7860525B2 (en) System, method, and computer program product for service and application configuration in a network device
CN105594201A (en) Device pairing
KR101960062B1 (en) Content Sharing Method and Device Thereof
CN111522604B (en) Application data processing method and device and computer readable storage medium
CN101584151A (en) Apparatus and method for network identification among multiple applications
CN112311730B (en) Pairing information uploading, connecting and authenticating method, terminal and server
US20200293670A1 (en) Two-Phase Authentication For Mobile Device Access to Printing Devices
CN106534082B (en) User registration method and device
JP7268505B2 (en) Resource reservation system, registration terminal, setting method
US20210150423A1 (en) Resource reservation system and information display method
CN109584410B (en) Data processing method of electronic lock, computer equipment and storage medium
US10375122B2 (en) Control apparatus, communications control system, and non-transitory recording medium that stores program
CN106385397B (en) Method and device for access control and type configuration of network access equipment
US20170272477A1 (en) Conference system, connection control device and connection control method
CN109410384B (en) Safety management system
KR102273726B1 (en) System and method for providing personal information certification service
CN111031124B (en) Home equipment networking deployment method and device, electronic equipment and storage medium
KR101451421B1 (en) Method and system for linking terminals for providing service
CN114040146B (en) Data transmission method, central control terminal, mobile terminal and data transmission system
US10742831B1 (en) Managing access by mobile devices to printing devices
CN115943623A (en) Techniques for managing telephone number-based user accounts
CN112650686A (en) Method and device for obtaining test result, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant