CN114980099A - Method, device and equipment for connecting equipment - Google Patents

Method, device and equipment for connecting equipment Download PDF

Info

Publication number
CN114980099A
CN114980099A CN202210486264.7A CN202210486264A CN114980099A CN 114980099 A CN114980099 A CN 114980099A CN 202210486264 A CN202210486264 A CN 202210486264A CN 114980099 A CN114980099 A CN 114980099A
Authority
CN
China
Prior art keywords
check
subset
value
information
check value
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.)
Granted
Application number
CN202210486264.7A
Other languages
Chinese (zh)
Other versions
CN114980099B (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210486264.7A priority Critical patent/CN114980099B/en
Publication of CN114980099A publication Critical patent/CN114980099A/en
Application granted granted Critical
Publication of CN114980099B publication Critical patent/CN114980099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the specification discloses a method, a device and equipment for connecting equipment, wherein the method is applied to first equipment and comprises the following steps: generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, and the second check subset set and the first check subset set have different check information; broadcasting a notification message containing the first syndrome set, and displaying the check information set; when a connection request sent by second equipment is received, a first check value in the connection request is obtained, wherein the first check value is generated based on a second check subset after the second equipment obtains a check information set, and the connection request is sent when the second equipment scans a notification message containing the first check subset; and checking the first check value, if the first check value passes the checking, generating a second check value based on the second check subset set, and sending the second check value to the second equipment, wherein the second check value is different from the first check value.

Description

Method, device and equipment for connecting equipment
The application is a divisional application of Chinese patent application with the name of 'a method, a device and equipment for connecting equipment' filed by the Chinese patent office with the application number of 202011390287.5 on 12 months and 02 days in 2020.
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for connecting devices.
Background
With the continuous development of terminal technology, performing service processing through terminal equipment has become an important mode in current service processing. In practical applications, due to the influence of factors such as incomplete wireless network coverage and building shielding, a wireless communication network of a terminal device may be interrupted for a short time, and at this time, offline service processing becomes a main requirement of people, for example, in a payment service, offline payment is required in many scenes, and thus, the requirement of people on offline service processing is increasingly urgent.
In an offline scenario such as offline service processing, wireless connection needs to be established for two devices, and a current wireless connection mode has a huge security risk, for example, for a payment scenario, a black grey product can forge a payee device, and the forged payee device and a payer device are directly connected in a wireless manner, so that resources such as money or fund provided by the payer device are obtained, and the payer resource is stolen or privacy information is leaked. For this reason, it is necessary to provide a device connection scheme with higher security.
Disclosure of Invention
It is an object of embodiments of the present specification to provide a more secure device connection scheme.
In order to implement the above technical solution, the embodiments of the present specification are implemented as follows:
in a first aspect, a method for connecting devices is provided in this specification, and is applied to a first device, where the method includes generating a check information set for a connection between devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset and a second check subset, the first check subset includes at least one check information of the plurality of different check information, the second check subset includes at least one check information of the plurality of different check information, and the second check subset and the first check subset have different check information. And broadcasting a notification message containing the first syndrome set, and displaying the check information set. When a connection request sent by the second device is received, a first check value in the connection request is obtained, wherein the first check value is generated based on the second check subset after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message containing the first check subset. And checking the first check value, if the checking is passed, generating a second check value based on the second check subset, and sending the second check value to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, wherein the second check value is different from the first check value.
In a second aspect, a method for connecting devices provided in an embodiment of the present specification is applied to a second device, and the method includes: the method includes the steps that a check information set which is provided by a first device and generated by connection between the devices is obtained, the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information. Scanning the broadcasted notification message, determining the notification message containing the first check subset, generating a first check value based on the second check subset, sending a connection request containing the first check value to the first device, so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset, and sending the second check value to the second device, wherein the second check value is different from the first check value. When the second check value sent by the first equipment is received, the second check value is checked, and whether connection is established with the first equipment is determined based on a check result.
In a third aspect, a method for connecting devices provided in an embodiment of the present specification is applied to a first device, and the method includes: generating a check information set for connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information of the plurality of different check information, the second check subset set comprises at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information. And displaying the check information set. When a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the first device, wherein the second check value is different from the first check value. And receiving a second check value sent by the second equipment, verifying the second check value, and if the verification is passed, establishing connection with the second equipment.
In a fourth aspect, a method for connecting devices provided in the embodiments of the present specification is applied to a second device, and the method includes: the method includes the steps that a check information set which is provided by a first device and generated by connection between the devices is obtained, the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information. Broadcasting a notification message including the first syndrome set. When a connection request sent by the first device is received, a first check value in the connection request is obtained, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset. And checking the first check value, if the checking is passed, generating a second check value based on the second check subset, and sending the second check value to the first device, so that the first device determines whether to establish connection with the second device based on the second check value, wherein the second check value is different from the first check value.
In a fifth aspect, an apparatus for connecting devices provided in embodiments of the present specification, the apparatus includes: the set generation module generates a check information set for connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information of the plurality of different check information, the second check subset set comprises at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information. And the broadcast display module broadcasts the notification message containing the first syndrome set and displays the check information set. The first check value obtaining module obtains a first check value in the connection request when receiving the connection request sent by the second device, where the first check value is generated based on the second check subset after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message including the first check subset. And the checking module is used for checking the first checking value, generating a second checking value based on the second checking subset if the first checking value passes the checking, and sending the second checking value to the second equipment so that the second equipment determines whether to establish connection with the device or not based on the second checking value, wherein the second checking value is different from the first checking value.
In a sixth aspect, an apparatus for connecting devices provided in embodiments of the present specification, the apparatus includes: the device comprises a set acquisition module and a verification information processing module, wherein the set acquisition module acquires a verification information set which is provided by a first device and generated by connection between devices, the verification information set comprises a plurality of different verification information, the verification information set comprises a first verification subset set and a second verification subset set, the first verification subset set comprises at least one piece of verification information in the plurality of different verification information, the second verification subset set comprises at least one piece of verification information in the plurality of different verification information, and different verification information exists in the second verification subset set and the first verification subset set. And a first check value generation module, configured to scan the broadcasted notification message, determine the notification message including the first check subset, generate a first check value based on the second check subset, send a connection request including the first check value to the first device, so that the first device checks the first check value, generate a second check value based on the second check subset if the first check value passes the check, and send the second check value to the apparatus, where the second check value is different from the first check value. And the connection module is used for verifying the second check value when receiving the second check value sent by the first equipment and determining whether to establish connection with the first equipment or not based on a verification result.
In a seventh aspect, an apparatus for connecting between devices provided in this specification, the apparatus includes: the set generation module generates a check information set for connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information of the plurality of different check information, the second check subset set comprises at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information. And the display module displays the check information set. And a connection request module configured to, when a broadcast notification message including the first syndrome set is scanned, generate a first check value based on the second syndrome set, send a connection request including the first check value to a second device broadcasting the notification message including the first syndrome set, so that the second device determines whether to perform connection between devices based on the first check value, and if so, generate a second check value based on the second syndrome set, and send the second check value to the apparatus, where the second check value is different from the first check value. And the connection module is used for receiving the second check value sent by the second equipment, verifying the second check value and establishing connection with the second equipment if the verification is passed.
In an eighth aspect, an apparatus for connecting between devices provided in embodiments of the present specification, the apparatus includes: the device comprises a set acquisition module and a verification information acquisition module, wherein the set acquisition module acquires a verification information set which is provided by a first device and is generated by connection between the devices, the verification information set comprises a plurality of different verification information, the verification information set comprises a first verification subset and a second verification subset, the first verification subset comprises at least one piece of verification information in the plurality of different verification information, the second verification subset comprises at least one piece of verification information in the plurality of different verification information, and the second verification subset and the first verification subset have different verification information. A broadcast module that broadcasts a notification message including the first syndrome set. And a first check value obtaining module, configured to, when receiving a connection request sent by the first device, obtain a first check value in the connection request, where the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message that includes the first check subset. And the checking module is used for checking the first checking value, generating a second checking value based on the second checking subset if the first checking value passes the checking, and sending the second checking value to the first equipment so that the first equipment determines whether to establish connection with the device or not based on the second checking value, wherein the second checking value is different from the first checking value.
In a ninth aspect, a connection device between devices provided in embodiments of the present specification, where the connection device between devices is provided with a trusted execution environment, includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: generating a check information set for connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information of the plurality of different check information, the second check subset set comprises at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information. And broadcasting a notification message containing the first syndrome set, and displaying the check information set. When a connection request sent by the second device is received, a first check value in the connection request is obtained, wherein the first check value is generated based on the second check subset after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message containing the first check subset. And checking the first check value, if the checking is passed, generating a second check value based on the second check subset, and sending the second check value to the second equipment so that the second equipment determines whether to establish connection with the device based on the second check value, wherein the second check value is different from the first check value.
In a tenth aspect, an embodiment of the present specification provides a connection device between devices, where the connection device between the devices includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: the method includes the steps that a check information set which is provided by a first device and generated by connection between the devices is obtained, the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information. Scanning a broadcast notification message, determining a notification message containing the first check subset, generating a first check value based on the second check subset, sending a connection request containing the first check value to the first device, so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset, and sending the second check value to the apparatus, wherein the second check value is different from the first check value, when the second check value sent by the first device is received, checking the second check value, and determining whether to establish a connection with the first device based on a check result.
In an eleventh aspect, a connection device between devices provided by an embodiment of the present specification, where the connection device between devices is provided with a trusted execution environment, includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: generating a check information set for connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information of the plurality of different check information, the second check subset set comprises at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information. And displaying the check information set. When a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the devices, wherein the second check value is different from the first check value. And receiving a second check value sent by the second equipment, verifying the second check value, and if the verification is passed, establishing connection with the second equipment.
In a twelfth aspect, an embodiment of the present specification provides a connection device between devices, where the connection device between the devices includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: the method comprises the steps of obtaining a check information set which is provided by a first device and generated by connection between the devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and different check information exists in the second check subset set and the first check subset set. Broadcasting a notification message including the first syndrome set. When a connection request sent by the first device is received, a first check value in the connection request is obtained, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset. And checking the first check value, if the checking is passed, generating a second check value based on the second check subset set, and sending the second check value to the first device, so that the first device determines whether to establish connection with the device based on the second check value, wherein the second check value is different from the first check value.
In a thirteenth aspect, the present specification further provides a storage medium, where the storage medium is used to store computer executable instructions, and the executable instructions, when executed, implement the following procedures: generating a check information set for connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information of the plurality of different check information, the second check subset set comprises at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information. And broadcasting a notification message containing the first syndrome set, and displaying the check information set. When a connection request sent by the second device is received, a first check value in the connection request is obtained, wherein the first check value is generated based on the second check subset after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message containing the first check subset. And checking the first check value, if the checking is passed, generating a second check value based on the second check subset set, and sending the second check value to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, wherein the second check value is different from the first check value.
In a fourteenth aspect, the present specification further provides a storage medium, wherein the storage medium is used for storing computer-executable instructions, and the executable instructions, when executed, implement the following procedures: the method includes the steps that a check information set which is provided by a first device and generated by connection between the devices is obtained, the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information. Scanning the broadcast notification message, determining the notification message containing the first check subset, generating a first check value based on the second check subset, sending a connection request containing the first check value to the first device, so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset, and sending the second check value to a second device, wherein the second check value is different from the first check value. When the second check value sent by the first equipment is received, the second check value is checked, and whether connection is established with the first equipment is determined based on a check result.
In a fifteenth aspect, the present specification further provides a storage medium, wherein the storage medium is used for storing computer-executable instructions, and the executable instructions, when executed, implement the following procedures: generating a check information set for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information in the multiple different check information, the second check subset set includes at least one check information in the multiple different check information, and the second check subset set and the first check subset set have different check information. And displaying the check information set. When the broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices based on the first check value, if so, generating a second check value based on the second check subset, sending the second check value to the first device, receiving a second check value sent by the second device and verifying the second check value, and if the verification is passed, establishing connection with the second device.
In a sixteenth aspect, the present specification further provides a storage medium, wherein the storage medium is used for storing computer-executable instructions, and the executable instructions, when executed, implement the following procedures: the method includes the steps that a check information set which is provided by a first device and generated by connection between the devices is obtained, the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information. Broadcasting a notification message including the first syndrome set. When a connection request sent by the first device is received, a first check value in the connection request is obtained, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset. And checking the first check value, if the checking is passed, generating a second check value based on the second check subset set, and sending the second check value to the first device, so that the first device determines whether to establish connection with a second device based on the second check value, wherein the second check value is different from the first check value.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1A illustrates an embodiment of a method for connecting devices;
FIG. 1B is a schematic diagram of a connection process between devices according to the present disclosure;
FIG. 2 is a schematic diagram of a system for connection between devices according to one embodiment of the present disclosure;
FIG. 3A illustrates another embodiment of a method for connecting devices according to the present disclosure;
FIG. 3B is a schematic diagram of a connection process between devices according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a connection process between further devices herein;
FIG. 5A illustrates an embodiment of a method for connecting devices according to another embodiment of the present disclosure;
FIG. 5B is a schematic diagram of a connection process between devices according to yet another embodiment of the present disclosure;
FIG. 6A is a diagram illustrating an embodiment of a method for connecting devices;
FIG. 6B is a schematic diagram of a connection process between devices according to yet another embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a connection process between further devices herein;
FIG. 8 illustrates an embodiment of a connection device between devices according to the present disclosure;
FIG. 9 is an embodiment of a connection device between devices according to the present disclosure;
FIG. 10 is an embodiment of a connection device between devices according to the present disclosure;
FIG. 11 is an embodiment of a connection device between devices according to the present disclosure;
fig. 12 illustrates an embodiment of a connection device between devices according to the present disclosure.
Detailed Description
The embodiment of the specification provides a method, a device and equipment for connecting equipment.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
As shown in fig. 1A and fig. 1B, in the present embodiment, a method for connecting devices is provided, and in the present embodiment, the connection between the devices may be a direct connection performed offline between different terminal devices, instead of an indirect connection performed via a server or other terminal devices as an intermediary. The execution main body of the method can be a first device, and the first device can be any terminal device, wherein the terminal device can be a computer device such as a notebook computer or a desktop computer, or a mobile terminal device such as a mobile phone or a tablet computer, or an implement which needs to be connected between devices, such as a vending machine of a certain commodity or a resource transfer (such as transfer or payment) machine of a financial institution, and the like. The method may specifically comprise the steps of:
in step S102, a check information set is generated for the connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information.
The connection between the devices may be the connection between the current first device and another device, and the connection between the devices may be implemented in various ways, for example, the connection may be implemented through bluetooth communication, the connection may be implemented through infrared communication, and the like, and may be specifically set according to actual conditions. The check information set may include at least 2 pieces of check information, where the content of the check information may be set according to an actual situation, for example, the check information may be a random number, or information generated based on a preset rule, such as information generated based on a current time and related information of the first device. The check information set may further include other syndrome sets except the first syndrome set and the second syndrome set, or may only include the first syndrome set and the second syndrome set, which may be specifically set according to actual conditions. For example, the check information set includes 2 pieces of check information, which may be check information a and check information B, respectively, the first check subset set may include the check information a, and the second check subset set may include the check information B, or the second check subset set may include the check information a and the check information B. For another example, the check information set includes 3 pieces of check information, which may be check information a, check information B, and check information C, respectively, and the first check subset set may include the check information a and the check information B, and the second check subset set may include the check information C, or the second check subset set may include the check information a and the check information C, or the second check subset set may include the check information B and the check information C, or the second check subset set may include the check information a, the check information B, and the check information C. For another example, the check information set includes 3 pieces of check information, which may be check information a, check information B, and check information C, respectively, and the first check subset set may include check information a, and the second check subset set may include check information B, or the second check subset set may include check information C, or the second check subset set may include check information a and check information B, or the second check subset set may include check information B and check information C, or the second check subset set may include check information a, check information B, and check information C.
In implementation, with the continuous development of terminal technology, service processing through terminal equipment has become an important mode in current service processing. In practical applications, due to the influence of factors such as incomplete wireless network coverage and building shielding, a wireless communication network of a terminal device may be interrupted for a short time, and at this time, offline service processing becomes a main requirement of people, for example, in a payment service, offline payment is required in many scenes, and thus, the requirement of people on offline service processing is increasingly urgent.
In an offline scenario such as offline service processing, wireless connection needs to be established for two devices, and a current wireless connection mode has a huge security risk, for example, for a payment scenario, a black grey product can forge a payee device, and the forged payee device and a payer device are directly connected in a wireless manner, so that resources such as money or fund provided by the payer device are obtained, and the payer resource is stolen or privacy information is leaked. For this reason, it is necessary to provide a device connection scheme with higher security. The embodiment of the present specification provides a technical solution for connection between devices, which may specifically include the following:
for example, when a user executes a certain service, an application program for processing the service may be installed in a terminal device (i.e., a first device) of the user, where the application program may include a plurality of different service processing paths, and if service processing needs to be performed through a connection between devices, the user may select a service processing path corresponding to service processing through the connection between the devices from the plurality of service processing paths, and then may trigger the first device to generate a check information set for the connection between the devices through the selected service processing path, and at the same time, the first device may further generate a first check subset and a second check subset based on a preset rule and check information included in the check information set, where the check information set, the first check subset and the second check subset need to meet a condition or requirement, see the above related.
Or, an instruction for device connection may be sent to the first device by another device (e.g., the background server of the service, the device to be connected, or the third-party trusted device, etc.), and after receiving the instruction, the first device may generate a check information set for connection between the devices.
It should be noted that the check information in the check information set may be generated in a variety of ways, for example, each check information in the check information set may be randomly generated, or a preset algorithm may also be used to perform multiple calculations on preset initial information (or initial values), and a result obtained by each calculation may be used as the check information, which may be specifically set according to an actual situation, and this is not limited in this specification.
In order to improve the security of the generated verification information, a valid period may be set for the verification information, specifically, 3 seconds or 1 minute, and the processing of step S102 may further include: and generating a check information set for the connection with the second device each time a preset period is reached.
In implementation, the cycle of generating the check information set is set, so that the check information is periodically replaced until the equipment to be connected acquires the check information set, and the safety of the check information is ensured.
In step S104, a notification message including the first syndrome set is broadcasted, and the check information set is displayed.
In an implementation, after the first device generates the check information set, the first device may acquire the first syndrome set from the check information set, and may generate a notification message (or may also be referred to as a broadcast message or the like) for broadcasting based on the check information included in the first syndrome set, where the notification message may include, in addition to the check information included in the first syndrome set, related information of the first device, for example, a device identifier of the first device (such as an IMEI or a MAC address of the first device), and the like. Then, the first device may start a preset broadcast mechanism, and may broadcast the notification message including the first syndrome set to other devices except the first device through the preset broadcast mechanism, so that the device to be connected establishes a connection with the first device based on the notification message. The broadcast mechanism may include a plurality of mechanisms, for example, a mechanism for broadcasting through a wireless communication network, or a mechanism for broadcasting through sound waves or ultrasonic waves, and the like, and may be specifically set according to actual situations, which is not limited in the embodiments of the present specification.
In practical applications, the process of broadcasting the notification message including the first syndrome set in step S104 may be various, and the following provides an optional processing manner, which may specifically include the following: broadcasting a notification message containing a first syndrome set through a preset wireless communication network, wherein the wireless communication network comprises one or more of the following: a wireless communication network based on bluetooth communication, a wireless communication network based on near field communication NFC, a wireless communication network based on infrared communication, a wireless communication network based on radio frequency communication, a wireless communication network based on a Zigbee communication protocol, and a wireless communication network based on a WiFi communication protocol.
In an implementation, taking a wireless communication network based on bluetooth communication as an example, the first device may broadcast to other devices except the first device through bluetooth, and the data field of the broadcast information may include the verification information in the first verification subset.
The first device may provide the generated check information set to the device to be connected while broadcasting the notification message including the first syndrome set, so that the first device may present the check information set. The mode of displaying the check information set may be various, and an optional processing mode is provided below, which may specifically include the following: and displaying the check information set in a preset information display mode, wherein the information display mode comprises one or more of the following modes: graphic code, image, text.
The graphic code may be a code showing related information in a graphic manner, and in practical application, the graphic code may be a bar code or a two-dimensional code. The images may be independent pictures, or may be videos composed of a plurality of pictures.
In implementation, the graphic code may be generated based on the verification information in the verification information set, and the generated graphic code may be displayed in the display interface of the first device. Or, a corresponding image may be generated based on the verification information in the verification information set, or a new image may be generated by performing fusion processing on the verification information in the verification information set and a specified image, and the generated image may be displayed in the display interface of the first device. Alternatively, the verification information (or the verification information after encryption processing) in the verification information set may be set in a specified text, and the text may be displayed in the display interface of the first device.
In practical application, the manner of presenting the check information set is not limited to the manner described above, and may be implemented in various manners, which may be specifically set according to practical application, and this is not limited in this description embodiment.
It should be noted that, the above is described by broadcasting the notification message including the first syndrome set, and in an actual application, the notification message including the second syndrome set may also be broadcast, so that the first syndrome set may be used to generate a corresponding check value in a subsequent process, which may be specifically set according to the actual application.
In step S106, when a connection request sent by the second device is received, a first check value in the connection request is obtained, where the first check value is generated based on the second check subset after the second device obtains the check information set, and the connection request is sent when the second device scans the notification message containing the first check subset.
Wherein the second device may be a device that needs to establish a connection with the first device.
In implementation, as shown in fig. 2, after the first device displays the check information set, the second device may collect information displayed by the first device through an information collecting component such as a camera, and may analyze the collected information to determine the check information in the check information set. The second device may initiate a broadcast reception mechanism and may scan for a currently existing broadcast signal via the broadcast reception mechanism. The second device may analyze information carried in each broadcast signal, may find a broadcast signal broadcasting a notification message including the first syndrome set, may then obtain the second syndrome set from the check information set, and may generate a first check value using a preset algorithm (such as a hash algorithm, an addition and subtraction operation, and the like) through the check information included in the second syndrome set, may construct a connection request based on the generated first check value, and may send the connection request to the first device. The first device may receive a connection request sent by the second device, which may be analyzed from which the first check value may be determined.
In step S108, the first check value is checked, and if the check is passed, a second check value is generated based on the second check subset, and the second check value is sent to the second device, so that the second device determines whether to establish a connection with the first device based on the second check value, where the second check value is different from the first check value.
In implementation, the processing manner of checking the first check value may include multiple manners, for example, the first check value may be calculated by using a preset algorithm, an obtained result is matched with preset data, if the result is matched with the preset data, it may be determined that the check is passed, and otherwise, the check fails. Or, an algorithm of inverse calculation of the algorithm may be constructed based on the algorithm used in generating the first check value, the algorithm of inverse calculation constructing the algorithm may be used to process the first check value to obtain corresponding check information, then, the obtained check information may be compared with the check information in the second syndrome set, if the two are completely the same, it may be determined that the check is passed, otherwise, the check fails.
And if the check passes, generating a second check value by using a corresponding algorithm based on the check information in the second check subset, and sending the second check value to the second device, wherein the algorithm used for generating the first check value may be different from the algorithm used for generating the second check value, for example, the algorithm used for generating the first check value may be an addition and subtraction operation, and the algorithm used for generating the second check value may be a hash algorithm, and the like.
The processing manner for checking the first check value in step S108 may be various, and the following provides an optional processing manner, which may specifically include the following: and generating a third check value based on the second check subset, and determining that the check is passed if the first check value is matched with the third check value, wherein the second check value is different from the third check value.
It should be noted that the algorithm used in the process of generating the third check value based on the second check subset may be the same as the algorithm used in the process of generating the first check value based on the second check subset. Based on this, the above processing may include: the first check value is obtained by the second device through a preset first hash algorithm based on the second check subset, and the processing for generating the third check value based on the second check subset includes: and generating a third check value through the first hash algorithm based on the second check subset.
The first hash algorithm may be any one of hash algorithms, for example, MD5 algorithm, SHA1 algorithm, SHA256 algorithm, and the like, and may be specifically set according to an actual application.
Or, the first check value is obtained by the second device through a preset first check algorithm based on the second check subset, and the processing for generating the third check value based on the second check subset includes: and generating a third check value through the first check algorithm based on the second check subset, wherein the first check algorithm can be the same as the first hash algorithm, or can be other hash algorithms or other non-hash algorithms different from the first hash algorithm.
Accordingly, the generating of the second parity value based on the second parity subset may include: and generating a second check value through a preset check algorithm based on the second check subset, wherein the check algorithm is different from the first hash algorithm and can be specifically set according to actual application.
The embodiment of the present specification provides a method for connecting devices, where a first device generates a check information set for a connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and different check information exists in the second check subset set and the first check subset set, broadcasts a notification message including the first check subset set, and displays the check information set, and when a connection request sent by a second device is received, obtains a first check value in the connection request, where the first check value is generated by the second device based on the second check subset set after the second device obtains the check information set, the connection request is sent when the second device scans the notification message containing the first check subset, the first check value is checked, if the check is passed, a second check value is generated based on the second check subset, the second check value is sent to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, the second check value is different from the first check value, in this way, check values are respectively generated by the first device and the second device, so that the opposite device is checked, and the connection between the devices is carried out after the check is passed, so that the two connected devices are associated through check information and are not unauthorized devices, the connection safety of the devices is ensured, and resources of both the devices are prevented from being stolen or privacy information is prevented from being leaked.
Example two
As shown in fig. 3A and fig. 3B, an execution main body of the method may be a second device, and the second device may be any terminal device, where the terminal device may be a computer device such as a laptop or a desktop computer, a mobile terminal device such as a mobile phone or a tablet computer, or an equipment that needs to be connected between devices, such as a vending machine of a certain commodity or a resource transfer (e.g., transfer or payment) machine of a financial institution. The method may specifically comprise the steps of:
in step S302, a check information set provided by a first device and generated by performing connection between devices is obtained, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information.
For a specific processing procedure of the step S302, reference may be made to relevant contents in the first embodiment, which is not described herein again.
In step S304, the broadcasted notification message is scanned, the notification message including the first check subset is determined, the first check value is generated based on the second check subset, the connection request including the first check value is sent to the first device, so that the first device checks the first check value, if the check is passed, the second check value is generated based on the second check subset, and the second check value is sent to the second device, wherein the second check value is different from the first check value.
The scanning of the broadcasted notification message may include various manners, and may specifically be determined according to a broadcast mechanism used by the notification message, for example, if the first device broadcasts based on a wireless communication network of bluetooth communication, the second device may use a bluetooth component to scan, if the first device broadcasts based on a wireless communication network of radio frequency communication, the second device may use a radio frequency component to scan, and the like.
The second device may generate the first check value based on the second check subset by using a predetermined algorithm, where the predetermined algorithm may include, for example, a hash algorithm, an add-subtract operation, and the like.
In step S306, when the second check value sent by the first device is received, the second check value is checked, and it is determined whether to establish a connection with the first device based on a check result.
The processing manner of step S306 may be various, and an optional processing manner is provided as follows, which may specifically include the following: and when a second check value sent by the first equipment is received, generating a fourth check value based on the second check subset, and if the second check value is matched with the fourth check value, establishing connection with the first equipment.
It should be noted that the algorithm used in the process of generating the fourth check value based on the second check subset may be the same as the algorithm used in the process of generating the second check value based on the second check subset. Based on this, the above processing may include: when a second check value sent by the first device is received, a fourth check value is generated through a preset check algorithm based on the second check subset, wherein the check algorithm is different from the first hash algorithm and can be specifically set according to practical application.
The embodiment of the present specification provides a method for connecting devices, where a first device generates a check information set for a connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and different check information exists in the second check subset set and the first check subset set, broadcasts a notification message including the first check subset set, and displays the check information set, and when a connection request sent by a second device is received, obtains a first check value in the connection request, where the first check value is generated by the second device based on the second check subset set after the second device obtains the check information set, the connection request is sent when the second device scans the notification message containing the first check subset, the first check value is checked, if the check is passed, a second check value is generated based on the second check subset, the second check value is sent to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, the second check value is different from the first check value, in this way, check values are respectively generated by the first device and the second device, so that the opposite device is checked, and the connection between the devices is carried out after the check is passed, so that the two connected devices are associated through check information and are not unauthorized devices, the connection safety of the devices is ensured, and resources of both the devices are prevented from being stolen or privacy information is prevented from being leaked.
EXAMPLE III
In this embodiment, a connection method between devices provided in the embodiment of the present invention is elaborated in detail with reference to a specific application scenario, where the corresponding application scenario is an application scenario of online payment, information is broadcasted through bluetooth, and verification information in a verification information set is displayed through a two-dimensional code.
As shown in fig. 4, an execution subject of the method may be a first device and a second device, where the first device and the second device may be any terminal devices, where the terminal devices may be computer devices such as a laptop or a desktop computer, or mobile terminal devices such as a mobile phone or a tablet computer, or may be machines that require connection between devices, such as a vending machine of a certain commodity or a resource transfer (e.g., transfer or payment) machine of a financial institution. The method may specifically comprise the steps of:
in step S402, a first device generates a check information set for connection between devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information.
In step S404, the first device broadcasts a notification message including the first syndrome set based on a wireless communication network of bluetooth communication, and displays the check information set through the two-dimensional code.
In step S406, the second device scans the two-dimensional code through the image capturing component to obtain a verification information set provided by the first device and generated by performing connection between the devices.
In step S408, the second device scans the broadcasted notification message through the bluetooth component, determines the notification message containing the first check subset, generates the first check value based on the second check subset, and sends the connection request containing the first check value to the first device.
In step S410, the first device obtains the first check value in the connection request, generates a third check value based on the second check subset, generates a second check value based on the second check subset if the first check value matches the third check value, and sends the second check value to the second device.
In step S412, the second device generates a fourth check value based on the second check subset, and establishes a connection with the first device if the second check value matches the fourth check value.
The specific processing of the steps S402 to S412 may refer to the relevant contents in the above embodiments, and is not described herein again.
The embodiment of the present specification provides a method for connecting devices, where a first device generates a check information set for a connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and different check information exists in the second check subset set and the first check subset set, broadcasts a notification message including the first check subset set, and displays the check information set, and when a connection request sent by a second device is received, obtains a first check value in the connection request, where the first check value is generated by the second device based on the second check subset set after the second device obtains the check information set, the connection request is sent when the second device scans the notification message containing the first check subset, the first check value is checked, if the check is passed, a second check value is generated based on the second check subset, the second check value is sent to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, the second check value is different from the first check value, in this way, check values are respectively generated by the first device and the second device, so that the opposite device is checked, and the connection between the devices is carried out after the check is passed, so that the two connected devices are associated through check information and are not unauthorized devices, the connection safety of the devices is ensured, and resources of both the devices are prevented from being stolen or privacy information is prevented from being leaked.
Example four
As shown in fig. 5A and 5B, an execution main body of the method may be a first device, and the first device may be any terminal device, where the terminal device may be a computer device such as a laptop or a desktop computer, a mobile terminal device such as a mobile phone or a tablet computer, or an equipment that needs to perform connection between devices, such as a vending machine of a certain commodity or a resource transfer (e.g., transfer or payment) machine of a financial institution. The method may specifically comprise the steps of:
in step S502, a check information set is generated for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the multiple different check information, the second check subset set includes at least one check information of the multiple different check information, and the second check subset set and the first check subset set have different check information.
The specific processing procedure of the step S502 may refer to relevant contents in the first embodiment, and is not described herein again.
In step S504, the check information set is presented.
The specific processing procedure of the step S504 may refer to relevant contents in the first embodiment, and is not described herein again.
In step S506, when the broadcasted notification message including the first syndrome set is scanned, a first check value is generated based on the second syndrome set, a connection request including the first check value is sent to a second device broadcasting the notification message including the first syndrome set, so that the second device determines whether to perform connection between devices based on the first check value, if so, a second check value is generated based on the second syndrome set, and the second check value is sent to the first device, wherein the second check value is different from the first check value.
In step S508, the second check value sent by the second device is received, the second check value is verified, and if the second check value passes the verification, a connection is established with the second device.
For the specific processing procedures of step S506 and step S508, reference may be made to the relevant contents in the second embodiment, which is not described herein again.
The embodiment of the present specification provides a method for connecting devices, where a first device generates a check information set for connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, displays the check information set, generates a first check value based on the second check subset set when a broadcast notification message including the first check subset is scanned, sends a connection request including the first check value to a second device broadcasting the notification message including the first check subset, the second device determines whether to carry out connection between the devices based on the first check value, if so, a second check value is generated based on the second check subset set, the second check value is sent to the first device, the second check value is different from the first check value, the second check value sent by the second device is received, the second check value is verified, and if the second check value passes verification, connection is established with the second device.
EXAMPLE five
As shown in fig. 6A and fig. 6B, an execution main body of the method may be a second device, and the second device may be any terminal device, where the terminal device may be a computer device such as a laptop or a desktop computer, a mobile terminal device such as a mobile phone or a tablet computer, or an equipment that needs to be connected between devices, such as a vending machine of a certain commodity or a resource transfer (e.g., transfer or payment) machine of a financial institution. The method may specifically comprise the steps of:
in step S602, a check information set provided by a first device and generated by performing connection between devices is obtained, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one piece of check information in the plurality of different check information, the second check subset set includes at least one piece of check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information.
For a specific processing procedure of the step S602, reference may be made to relevant contents in the second embodiment, which is not described herein again.
In step S604, a notification message including the first syndrome set is broadcast.
The specific processing procedure of step S604 may refer to relevant contents in the first embodiment, and is not described herein again.
In step S606, when a connection request sent by the first device is received, a first check value in the connection request is obtained, where the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans the notification message containing the first check subset.
The specific processing procedure of step S606 may refer to relevant contents in the first embodiment, and is not described herein again.
In step S608, the first check value is checked, and if the check is passed, a second check value is generated based on the second check subset, and the second check value is sent to the first device, so that the first device determines whether to establish a connection with the first device based on the second check value, where the second check value is different from the first check value.
The specific processing procedure of the step S608 may refer to relevant contents in the first embodiment, and is not described herein again.
The embodiment of the present specification provides a method for connecting devices, where a first device generates a check information set for connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, displays the check information set, generates a first check value based on the second check subset set when a broadcast notification message including the first check subset is scanned, sends a connection request including the first check value to a second device broadcasting the notification message including the first check subset, the second device determines whether to carry out connection between the devices based on the first check value, if so, a second check value is generated based on the second check subset set, the second check value is sent to the first device, the second check value is different from the first check value, the second check value sent by the second device is received, the second check value is verified, and if the second check value passes verification, connection is established with the second device.
Example six
In this embodiment, a detailed description will be given of a connection method between devices according to an embodiment of the present invention, where a corresponding application scenario is an application scenario of online payment, where information is broadcasted through bluetooth, and verification information in a verification information set is displayed through a two-dimensional code.
As shown in fig. 7, an execution main body of the method may be a first device and a second device, and the first device and the second device may be any terminal devices, where the terminal devices may be computer devices such as a laptop or a desktop computer, or mobile terminal devices such as a mobile phone or a tablet computer, or may be a device that needs to perform connection between devices, such as a vending machine for a certain commodity or a resource transfer (e.g., transfer or payment) machine for a financial institution. The method may specifically comprise the steps of:
in step S702, the first device generates a check information set for the connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information.
In step S704, the first device displays the check information set through the two-dimensional code.
In step S706, the second device scans the two-dimensional code through the image capturing component to obtain a verification information set provided by the first device and generated by performing connection between the devices.
In step S708, the second device broadcasts a notification message including the first syndrome set based on the wireless communication network of the bluetooth communication.
In step S710, when the first device scans the broadcasted notification message including the first syndrome set through the bluetooth component, a first check value is generated based on the second syndrome set, and a connection request including the first check value is sent to the second device broadcasting the notification message including the first syndrome set.
In step S712, the second device obtains the first check value in the connection request, generates a third check value based on the second check subset, generates a second check value based on the second check subset if the first check value matches the third check value, and sends the second check value to the first device.
In step S714, the first device generates a fourth check value based on the second check subset, and establishes a connection with the second device if the second check value matches the fourth check value.
The specific processing of the steps S702 to S714 can refer to the relevant contents in the above embodiments, and is not described herein again.
The embodiment of the present specification provides a method for connecting devices, where a first device generates a check information set for connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, displays the check information set, generates a first check value based on the second check subset set when a broadcast notification message including the first check subset is scanned, sends a connection request including the first check value to a second device broadcasting the notification message including the first check subset, the second device determines whether to carry out connection between the devices based on the first check value, if so, a second check value is generated based on the second check subset set, the second check value is sent to the first device, the second check value is different from the first check value, the second check value sent by the second device is received, the second check value is verified, and if the second check value passes verification, connection is established with the second device.
EXAMPLE seven
Based on the same idea, the method for connecting devices provided in the embodiment of the present specification further provides a device for connecting devices, as shown in fig. 8.
The connecting device between the equipments includes: a set generating module 801, a broadcast showing module 802, a first check value obtaining module 803 and a check module 804, wherein:
a set generating module 801, configured to generate a check information set for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the multiple different check information, the second check subset set includes at least one check information of the multiple different check information, and the second check subset set and the first check subset set have different check information;
a broadcast display module 802 for broadcasting a notification message including the first syndrome set and displaying the check information set;
a first check value obtaining module 803, configured to, when receiving a connection request sent by the second device, obtain a first check value in the connection request, where the first check value is generated based on the second check subset set after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message that includes the first check subset set;
the checking module 804 checks the first check value, generates a second check value based on the second check subset if the first check value passes the check, and sends the second check value to the second device, so that the second device determines whether to establish a connection with the apparatus based on the second check value, where the second check value is different from the first check value.
In this embodiment of the present specification, the checking module 804 generates a third check value based on the second check subset, and determines that the check is passed if the first check value matches the third check value, where the second check value is different from the third check value.
In this embodiment of the specification, the first check value is obtained by the second device through a preset first hash algorithm based on the second check subset,
the check module 804 generates a third check value through the first hash algorithm based on the second check subset.
In this embodiment of the present specification, the checking module 804 generates a second checking value through a preset checking algorithm based on the second checking subset, where the checking algorithm is an algorithm different from the first hash algorithm.
In this embodiment, the broadcast presenting module 802 broadcasts a notification message including the first syndrome set through a predetermined wireless communication network, where the wireless communication network includes one or more of the following: a wireless communication network based on bluetooth communication, a wireless communication network based on near field communication NFC, a wireless communication network based on infrared communication, a wireless communication network based on radio frequency communication, a wireless communication network based on a Zigbee communication protocol, and a wireless communication network based on a WiFi communication protocol.
In this embodiment of the present specification, the broadcast displaying module 802 displays the check information set in a preset information displaying manner, where the information displaying manner includes one or more of the following: graphic code, image, text.
In this embodiment of the present specification, the set generating module 801 generates a check information set for a connection with a second device each time a preset period is reached.
The embodiment of the present specification provides a connection device between devices, which generates a check information set for connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, broadcasts a notification message including the first check subset set, and displays the check information set, and when receiving a connection request sent by a second device, obtains a first check value in the connection request, where the first check value is generated by the second device based on the second check subset set after obtaining the check information set, the connection request is sent when the second device scans the notification message containing the first check subset, the first check value is checked, if the check is passed, a second check value is generated based on the second check subset, and the second check value is sent to the second device, so that the second device determines whether to establish connection with the connection device based on the second check value, the second check value is different from the first check value, in this way, check values are respectively generated through the connection device and the second device, so that the opposite device is checked, and the connection between the devices is carried out after the check is passed, thereby ensuring that the two connected devices are associated through check information and not unauthorized devices, ensuring the security of device connection, and preventing resources of both devices from being stolen or privacy information from being leaked.
Example eight
Based on the same concept, the embodiment of the present specification further provides a connection device between apparatuses, as shown in fig. 9.
The connecting device between the equipments includes: a set obtaining module 901, a first check value generating module 902, and a connecting module 903, where:
a set obtaining module 901, configured to obtain a check information set, provided by a first device, generated by performing connection between devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information;
a first check value generating module 902, configured to scan a broadcasted notification message, determine a notification message including the first check subset, generate a first check value based on the second check subset, send a connection request including the first check value to the first device, so that the first device checks the first check value, if the first check value passes the check, generate a second check value based on the second check subset, and send the second check value to the apparatus, where the second check value is different from the first check value;
and a connection module 903, configured to check the second check value when receiving the second check value sent by the first device, and determine whether to establish connection with the first device based on a check result.
In this embodiment of this specification, the connection module 903, when receiving the second check value sent by the first device, generates a fourth check value based on the second check subset set, and if the second check value matches the fourth check value, establishes a connection with the first device.
The present specification provides a connection device between apparatuses, a first apparatus generates a check information set for connection between apparatuses, the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and different check information exists in the second check subset set and the first check subset set, broadcasts a notification message including the first check subset set, and displays the check information set, when a connection request sent by the connection device is received, a first check value in the connection request is obtained, the first check value is generated by the connection device based on the second check subset set after the connection device obtains the check information set, the connection request is sent when the connection device scans a notification message containing a first check subset set, a first check value is checked, if the check is passed, a second check value is generated based on a second check subset set, the second check value is sent to the connection device, so that the connection device determines whether to establish connection with the first equipment or not based on the second check value, the second check value is different from the first check value, in this way, check values are respectively generated through the first equipment and the connection device so as to enable opposite equipment to check, and connection between the equipment is carried out after the check is passed, so that the two connected equipment are associated through check information and are not unauthorized equipment, the safety of equipment connection is ensured, and resources of both the equipment are prevented from being stolen or privacy information is prevented from being leaked.
Example nine
Based on the same concept, the embodiment of the present specification further provides a connection device between apparatuses, as shown in fig. 10.
The connection device between the apparatuses includes: a set generation module 1001, a presentation module 1002, a connection request module 1003, and a connection module 1004, wherein:
the set generating module 1001 generates a check information set for connection between devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information;
a display module 1002 configured to display the check information set;
a connection request module 1003, configured to, when scanning a broadcast notification message including the first syndrome set, generate a first check value based on the second syndrome set, send a connection request including the first check value to a second device broadcasting the notification message including the first syndrome set, so that the second device determines whether to perform connection between devices based on the first check value, and if so, generate a second check value based on the second syndrome set, and send the second check value to the apparatus, where the second check value is different from the first check value;
the connection module 1004 receives the second check value sent by the second device, verifies the second check value, and establishes a connection with the second device if the verification passes.
The embodiment of the present specification provides a connection apparatus between devices, the connection apparatus generating a check information set for connection between the devices, the check information set including a plurality of different check information, the check information set including a first check subset set and a second check subset set, the first check subset set including at least one check information of the plurality of different check information, the second check subset set including at least one check information of the plurality of different check information, and the second check subset set and the first check subset set having different check information, displaying the check information set, when a broadcast notification message including the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request including the first check value to a second device broadcasting the notification message including the first check subset, the second device determines whether to carry out connection between the devices based on the first check value, if so, a second check value is generated based on the second check subset set, the second check value is sent to the connecting device, the second check value is different from the first check value, the second check value sent by the second device is received, the second check value is verified, and if the second check value passes the verification, the second device is connected with the second device.
Example ten
Based on the same concept, the embodiment of the present specification further provides a connection device between apparatuses, as shown in fig. 11.
The connection device between the apparatuses includes: a set obtaining module 1101, a broadcasting module 1102, a first check value obtaining module 1103 and a check module 1104, wherein:
the set acquiring module 1101 is configured to acquire a check information set, provided by a first device, generated by performing connection between devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information;
a broadcasting module 1102 for broadcasting a notification message including the first syndrome set;
a first check value obtaining module 1103, configured to, when receiving a connection request sent by the first device, obtain a first check value in the connection request, where the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message that includes the first check subset;
and a checking module 1104 for checking the first check value, generating a second check value based on the second check subset if the first check value passes the check, and sending the second check value to the first device, so that the first device determines whether to establish a connection with the connection apparatus based on the second check value, where the second check value is different from the first check value.
The embodiment of the present specification provides a connection apparatus between devices, a first device generates a check information set for connection between the devices, the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, displays the check information set, generates a first check value based on the second check subset when a broadcast notification message including the first check subset is scanned, sends a connection request including the first check value to the connection apparatus broadcasting the notification message including the first check subset, the connection device determines whether to carry out connection between the devices or not based on the first check value, if so, generates a second check value based on the second check subset set, sends the second check value to the first device, the second check value is different from the first check value, receives the second check value sent by the connection device, verifies the second check value, and if the second check value passes verification, establishes connection with the connection device, thus, the first device and the connection device respectively generate check values to enable the opposite device to carry out verification, and after the verification passes verification, connection between the devices is carried out, so that two connected devices are associated through the check information and are not unauthorized devices, the connection safety of the devices is ensured, and resources of two sides of the devices are prevented from being stolen or privacy information is prevented from being leaked.
EXAMPLE eleven
Based on the same idea, the connecting device between devices provided in the embodiment of the present specification further provides a connecting device between devices, as shown in fig. 12.
The connection device between the devices may be the first device or the second device provided in the above embodiments.
The connection between devices may vary significantly depending on configuration or performance, and may include one or more processors 1201 and memory 1202, where the memory 1202 may store one or more stored applications or data. Memory 1202 may be, among other things, transient storage or persistent storage. The application program stored in memory 1202 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for interfacing between devices. Still further, the processor 1201 may be configured to communicate with the memory 1202 to execute a series of computer-executable instructions in the memory 1202 on a connected device between the devices. The connections between the devices may also include one or more power supplies 1203, one or more wired or wireless network interfaces 1204, one or more input-output interfaces 1205, one or more keypads 1206.
In particular, in this embodiment, the connection device between devices includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the connection device between devices, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
generating a check information set for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information in the multiple different check information, the second check subset set includes at least one check information in the multiple different check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set, and displaying the check information set;
when a connection request sent by the second device is received, acquiring a first check value in the connection request, wherein the first check value is generated based on the second check subset after the second device acquires the check information set, and the connection request is sent when the second device scans a notification message containing the first check subset;
and checking the first check value, if the checking is passed, generating a second check value based on the second check subset set, and sending the second check value to the second device, so that the second device determines whether to establish connection with the connection device based on the second check value, wherein the second check value is different from the first check value.
In an embodiment of this specification, the verifying the first verification value includes:
and generating a third check value based on the second check subset, and determining that the check is passed if the first check value and the third check value are matched, wherein the second check value is different from the third check value.
In this embodiment of the specification, the first check value is obtained by the second device through a preset first hash algorithm based on the second check subset,
generating a third parity value based on the second set of syndromes, comprising:
generating a third check value by the first hash algorithm based on the second check subset.
In this embodiment of the present specification, the generating a second check value based on the second check subset includes:
and generating a second check value through a preset check algorithm based on the second check subset, wherein the check algorithm is different from the first hash algorithm.
In this embodiment of the present specification, the broadcasting a notification message including the first syndrome set includes:
broadcasting a notification message containing the first syndrome set through a preset wireless communication network, wherein the wireless communication network comprises one or more of the following: a wireless communication network based on bluetooth communication, a wireless communication network based on near field communication NFC, a wireless communication network based on infrared communication, a wireless communication network based on radio frequency communication, a wireless communication network based on a Zigbee communication protocol, and a wireless communication network based on a WiFi communication protocol.
In an embodiment of this specification, the displaying the check information set includes:
displaying the verification information set in a preset information display mode, wherein the information display mode comprises one or more of the following modes: graphic code, image, text.
In an embodiment of this specification, the generating a check information set for a connection with a second device includes:
and generating a check information set for the connection with the second device each time a preset period is reached.
In addition, in this embodiment, the connection device between devices includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the connection device between devices, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
acquiring a check information set which is provided by a first device and generated by connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information;
scanning the broadcasted notification message, determining the notification message containing the first check subset set, generating a first check value based on the second check subset set, sending a connection request containing the first check value to the first device so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset set, and sending the second check value to the connection device, wherein the second check value is different from the first check value;
when the second check value sent by the first equipment is received, checking the second check value, and determining whether to establish connection with the first equipment or not based on a check result.
In this embodiment of the present specification, when receiving the second check value sent by the first device, the checking the second check value, and determining whether to establish a connection with the first device based on a check result includes:
and when the second check value sent by the first equipment is received, generating a fourth check value based on the second check subset, and if the second check value is matched with the fourth check value, establishing connection with the first equipment.
In addition, in this embodiment, the connection device between devices includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the connection device between devices, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
generating a check information set for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the multiple different check information, the second check subset set includes at least one check information of the multiple different check information, and the second check subset set and the first check subset set have different check information;
displaying the check information set;
when a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the connection device, wherein the second check value is different from the first check value;
and receiving a second check value sent by the second equipment, verifying the second check value, and if the verification is passed, establishing connection with the second equipment.
In addition, in this embodiment, the connection device between devices includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the connection device between devices, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
acquiring a check information set which is provided by a first device and generated by connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set;
when a connection request sent by the first device is received, acquiring a first check value in the connection request, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset;
and checking the first check value, if the checking is passed, generating a second check value based on the second check subset set, and sending the second check value to the first device, so that the first device determines whether to establish connection with the connection device based on the second check value, wherein the second check value is different from the first check value.
The embodiment of the present specification provides a connection device between devices, which generates a check information set for connection between the devices, where the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, broadcasts a notification message including the first check subset set, and displays the check information set, and when a connection request sent by a second device is received, obtains a first check value in the connection request, where the first check value is generated by the second device based on the second check subset set after the second device obtains the check information set, the connection request is sent by the second device when scanning a notification message containing the first check subset set, the first check value is checked, if the check is passed, a second check value is generated based on the second check subset set, the second check value is sent to the second device, so that the second device determines whether to establish connection with the connected device based on the second check value, the second check value is different from the first check value, therefore, check values are respectively generated by the connected device and the second device to enable the opposite device to check, and connection between the devices is carried out after the check is passed, so that the two connected devices are associated through check information and are not unauthorized devices, the connection safety of the devices is ensured, and resources of two sides of the devices are prevented from being stolen or privacy information is prevented from being leaked.
Example twelve
Further, based on the methods shown in fig. 1 to fig. 7, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instruction information, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and when executed by a processor, the storage medium stores the computer-executable instruction information, which can implement the following processes:
generating a check information set for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the multiple different check information, the second check subset set includes at least one check information of the multiple different check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set, and displaying the check information set;
when a connection request sent by the second device is received, obtaining a first check value in the connection request, where the first check value is generated based on the second check subset after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message containing the first check subset;
and checking the first check value, if the checking is passed, generating a second check value based on the second check subset, and sending the second check value to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, wherein the second check value is different from the first check value.
In an embodiment of this specification, the verifying the first verification value includes:
and generating a third check value based on the second check subset, and determining that the check is passed if the first check value and the third check value are matched, wherein the second check value is different from the third check value.
In this embodiment of the specification, the first check value is obtained by the second device through a preset first hash algorithm based on the second check subset,
the generating a third parity value based on the second set of syndromes comprises:
generating a third check value by the first hash algorithm based on the second check subset.
In this embodiment of the present specification, the generating a second check value based on the second check subset includes:
and generating a second check value through a preset check algorithm based on the second check subset, wherein the check algorithm is different from the first hash algorithm.
In this embodiment of the present specification, the broadcasting a notification message including the first syndrome set includes:
broadcasting a notification message containing the first syndrome set through a preset wireless communication network, wherein the wireless communication network comprises one or more of the following: a wireless communication network based on bluetooth communication, a wireless communication network based on near field communication NFC, a wireless communication network based on infrared communication, a wireless communication network based on radio frequency communication, a wireless communication network based on a Zigbee communication protocol, and a wireless communication network based on a WiFi communication protocol.
In an embodiment of this specification, the displaying the check information set includes:
displaying the verification information set in a preset information display mode, wherein the information display mode comprises one or more of the following modes: graphic code, image, text.
In addition, in this embodiment of the present specification, the generating a check information set for a connection with a second device includes:
and generating a check information set for the connection with the second device each time a preset period is reached.
In addition, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and when the storage medium stores computer executable instruction information, the storage medium implements the following process when executed by the processor:
acquiring a check information set which is provided by a first device and generated by connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information;
scanning the broadcasted notification message, determining the notification message containing the first check subset set, generating a first check value based on the second check subset set, sending a connection request containing the first check value to the first device so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset set, and sending the second check value to the second device, wherein the second check value is different from the first check value;
when the second check value sent by the first equipment is received, the second check value is checked, and whether connection is established with the first equipment is determined based on a check result.
In this embodiment of the present specification, when receiving the second check value sent by the first device, the checking the second check value, and determining whether to establish a connection with the first device based on a check result includes:
and when the second check value sent by the first equipment is received, generating a fourth check value based on the second check subset, and if the second check value is matched with the fourth check value, establishing connection with the first equipment.
In addition, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and when executed by the processor, the storage medium stores information of computer-executable instructions, which implement the following processes:
generating a check information set for connection between devices, where the check information set includes multiple different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the multiple different check information, the second check subset set includes at least one check information of the multiple different check information, and the second check subset set and the first check subset set have different check information;
displaying the check information set;
when a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the first device, wherein the second check value is different from the first check value;
and receiving a second check value sent by the second equipment, verifying the second check value, and if the verification is passed, establishing connection with the second equipment.
In addition, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and when executed by the processor, the storage medium stores information of computer-executable instructions, which implement the following processes:
acquiring a check information set which is provided by a first device and generated by connection between devices, wherein the check information set comprises a plurality of different check information, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information in the plurality of different check information, the second check subset set comprises at least one check information in the plurality of different check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set;
when a connection request sent by the first device is received, acquiring a first check value in the connection request, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset;
and checking the first check value, if the checking is passed, generating a second check value based on the second check subset, and sending the second check value to the first device, so that the first device determines whether to establish connection with the second device based on the second check value, wherein the second check value is different from the first check value.
The present specification provides a storage medium, a first device generates a check information set for a connection between devices, the check information set includes a plurality of different check information, the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one check information of the plurality of different check information, the second check subset set includes at least one check information of the plurality of different check information, and the second check subset set and the first check subset set have different check information, broadcasts a notification message including the first check subset set and displays the check information set, when a connection request sent by a second device is received, a first check value in the connection request is obtained, the first check value is generated by the second device based on the second check subset set after the check information set is obtained, the connection request is sent when the second device scans the notification message containing the first check subset, the first check value is checked, if the check is passed, a second check value is generated based on the second check subset, the second check value is sent to the second device, so that the second device determines whether to establish connection with the first device based on the second check value, the second check value is different from the first check value, in this way, check values are respectively generated by the first device and the second device, so that the opposite device is checked, and the connection between the devices is carried out after the check is passed, so that the two connected devices are associated through check information and are not unauthorized devices, the connection safety of the devices is ensured, and resources of both the devices are prevented from being stolen or privacy information is prevented from being leaked.
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to the software compiler used in program development, but the original code before compiling is also written in a specific Programming Language, which is called Hardware Description Language (HDL), and the HDL is not only one kind but many kinds, such as abel (advanced boot Expression Language), ahdl (alternate Language Description Language), communication, CUPL (computer universal Programming Language), HDCal (Java Hardware Description Language), langa, Lola, mylar, HDL, PALASM, rhydl (runtime Description Language), vhjhdul (Hardware Description Language), and vhygl-Language, which are currently used commonly. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, apparatuses, modules or units described in the above embodiments may be specifically implemented by a computer chip or an entity, or implemented by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable fraud case serial-parallel apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable fraud case serial-parallel apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable fraud case to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable fraud case serial-parallel apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (23)

1. A method for connecting devices is applied to a first device, and comprises the following steps:
when the first device and/or the second device are detected to be in an offline state, generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information, the second check subset set comprises at least one check information, and different check information exists in the second check subset set and the first check subset set;
broadcasting a notification message containing the first syndrome set, and displaying the check information set;
when a connection request sent by second equipment is received, acquiring a first check value in the connection request, wherein the first check value is generated based on the second check subset after the second equipment acquires the check information set, and the connection request is sent when the second equipment scans a notification message containing the first check subset;
and checking the first check value, if the first check value passes the checking, generating a second check value based on the second check subset set, and sending the second check value to the second device, so that the second device determines whether to establish connection with the first device based on the second check value in the offline state, wherein the second check value is different from the first check value.
2. The method of claim 1, the verifying the first check value comprising:
and generating a third check value based on the second check subset, and determining that the check is passed if the first check value and the third check value are matched, wherein the second check value is different from the third check value.
3. The method according to claim 2, wherein the first check value is obtained by the second device based on the second check subset through a preset first hash algorithm,
the generating a third parity value based on the second set of syndromes comprises:
generating a third check value by the first hash algorithm based on the second check subset.
4. The method of claim 3, the generating a second parity value based on the second set of parity syndromes, comprising:
and generating a second check value through a preset check algorithm based on the second check subset, wherein the check algorithm is different from the first hash algorithm.
5. The method of claim 1, the broadcasting a notification message including the first syndrome set, comprising:
broadcasting a notification message containing the first syndrome set through a preset wireless communication network, wherein the wireless communication network comprises one or more of the following: a wireless communication network based on bluetooth communication, a wireless communication network based on near field communication NFC, a wireless communication network based on infrared communication, a wireless communication network based on radio frequency communication, a wireless communication network based on a Zigbee communication protocol, and a wireless communication network based on a WiFi communication protocol.
6. The method of claim 1, said presenting said set of verification information, comprising:
displaying the verification information set in a preset information display mode, wherein the information display mode comprises one or more of the following modes: graphic code, image, text.
7. The method of claim 1, wherein generating a set of check information for a connection between devices when the first device and/or the second device is detected to be in an offline state comprises:
and under the condition that the first equipment and/or the second equipment are/is detected to be in an offline state, generating a check information set for the connection with the second equipment every time a preset period is reached.
8. A method for connecting devices is applied to a second device, and comprises the following steps:
when the first device and/or the second device are detected to be in an offline state, acquiring a check information set provided by the first device and generated by connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
scanning the broadcasted notification message, determining the notification message containing the first check subset set, generating a first check value based on the second check subset set, sending a connection request containing the first check value to the first device so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset set, and sending the second check value to the second device, wherein the second check value is different from the first check value;
when the second check value sent by the first equipment is received, the second check value is checked, and whether the connection is established with the first equipment or not is determined based on a check result in the offline state.
9. The method of claim 8, wherein when the second check value sent by the first device is received, checking the second check value, and determining whether to establish a connection with the first device based on a check result in the offline state comprises:
and when the second check value sent by the first equipment is received, generating a fourth check value based on the second check subset, and if the second check value is matched with the fourth check value, establishing connection with the first equipment in the offline state.
10. A method for connecting devices is applied to a first device, and comprises the following steps:
when the first device and/or the second device are detected to be in an offline state, generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information, the second check subset set comprises at least one check information, and different check information exists in the second check subset set and the first check subset set;
displaying the check information set;
when a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices in the offline state based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the first device, wherein the second check value is different from the first check value;
and receiving a second check value sent by the second equipment, verifying the second check value, and if the second check value passes verification, establishing connection with the second equipment in the offline state.
11. A method for connecting devices is applied to a second device, and comprises the following steps:
when the first device and/or the second device are detected to be in an offline state, acquiring a check information set provided by the first device and generated by connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set;
when a connection request sent by the first device is received, acquiring a first check value in the connection request, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset;
and checking the first check value, if the first check value passes the checking, generating a second check value based on the second check subset set, and sending the second check value to the first device, so that the first device determines whether to establish connection with the second device based on the second check value in the offline state, wherein the second check value is different from the first check value.
12. An apparatus for connecting between devices, the apparatus comprising:
the device comprises a set generation module and a verification module, wherein the set generation module is used for generating a verification information set for connection between devices when the first device and/or the second device are/is detected to be in an off-line state, the verification information set comprises a first verification subset set and a second verification subset set, the first verification subset set comprises at least one piece of verification information, the second verification subset set comprises at least one piece of verification information, and different pieces of verification information exist in the second verification subset set and the first verification subset set;
the broadcast display module broadcasts a notification message containing the first syndrome set and displays the check information set;
a first check value obtaining module, configured to, when a connection request sent by a second device is received, obtain a first check value in the connection request, where the first check value is generated based on the second check subset set after the second device obtains the check information set, and the connection request is sent when the second device scans a notification message that includes the first check subset set;
and the checking module is used for checking the first checking value, generating a second checking value based on the second checking subset if the first checking value passes the checking, and sending the second checking value to the second equipment so that the second equipment can determine whether to establish connection with the device or not based on the second checking value in the offline state, wherein the second checking value is different from the first checking value.
13. An apparatus for connecting between devices, the apparatus comprising:
the device comprises a set acquisition module and a verification module, wherein the set acquisition module is used for acquiring a check information set which is provided by first equipment and is generated by connection between the equipment when the first equipment and/or the second equipment are detected to be in an off-line state, the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
a first check value generating module, configured to scan a broadcasted notification message, determine a notification message including the first check subset, generate a first check value based on the second check subset, send a connection request including the first check value to the first device, so that the first device checks the first check value, generate a second check value based on the second check subset if the first check value passes the check, and send the second check value to the apparatus, where the second check value is different from the first check value;
and the connection module is used for verifying the second check value when receiving the second check value sent by the first equipment, and determining whether to establish connection with the first equipment based on a verification result in the offline state.
14. An apparatus for connecting between devices, the apparatus comprising:
the device comprises a set generation module and a verification module, wherein the set generation module is used for generating a verification information set for connection between devices when detecting that the first device and/or the second device are in an off-line state, the verification information set comprises a first verification subset and a second verification subset, the first verification subset comprises at least one piece of verification information, the second verification subset comprises at least one piece of verification information, and the second verification subset and the first verification subset have different verification information;
the display module displays the check information set;
a connection request module, configured to generate a first check value based on the second check subset when a broadcast notification message including the first check subset is scanned, send a connection request including the first check value to a second device broadcasting the notification message including the first check subset, so that the second device determines whether to perform a connection between devices in the offline state based on the first check value, and if so, generate a second check value based on the second check subset and send the second check value to the apparatus, where the second check value is different from the first check value;
and the connection module is used for receiving the second check value sent by the second equipment, verifying the second check value, and establishing connection with the second equipment in the offline state if the verification is passed.
15. An apparatus for connecting between devices, the apparatus comprising:
a set acquiring module, configured to acquire, when it is detected that the first device and/or the second device are/is in an offline state, a check information set provided by the first device and generated by performing connection between the devices, where the check information set includes a first check subset set and a second check subset set, the first check subset set includes at least one piece of check information, the second check subset set includes at least one piece of check information, and different pieces of check information exist in the second check subset set and the first check subset set;
a broadcast module for broadcasting a notification message containing the first syndrome set;
a first check value obtaining module, configured to, when receiving a connection request sent by the first device, obtain a first check value in the connection request, where the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message that includes the first check subset;
and the checking module is used for checking the first checking value, generating a second checking value based on the second checking subset if the checking is passed, and sending the second checking value to the first equipment so that the first equipment determines whether to establish connection with the device or not based on the second checking value in the offline state, wherein the second checking value is different from the first checking value.
16. A connection device between devices, the connection device between the devices comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
when the first device and/or the second device are detected to be in an offline state, generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information, the second check subset set comprises at least one check information, and different check information exists in the second check subset set and the first check subset set;
broadcasting a notification message containing the first syndrome set, and displaying the check information set;
when a connection request sent by second equipment is received, acquiring a first check value in the connection request, wherein the first check value is generated based on the second check subset after the second equipment acquires the check information set, and the connection request is sent when the second equipment scans a notification message containing the first check subset;
and checking the first check value, if the first check value passes the checking, generating a second check value based on the second check subset set, and sending the second check value to the second device, so that the second device determines whether to establish connection with the connection device between the devices based on the second check value in the offline state, wherein the second check value is different from the first check value.
17. A connection device between devices, the connection device between the devices comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
when the first device and/or the second device are detected to be in an offline state, acquiring a check information set provided by the first device and generated by connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
scanning the broadcasted notification message, determining the notification message containing the first check subset set, generating a first check value based on the second check subset set, sending a connection request containing the first check value to the first device so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset set, and sending the second check value to a connection device between the devices, wherein the second check value is different from the first check value;
when the second check value sent by the first equipment is received, the second check value is checked, and whether the connection is established with the first equipment or not is determined based on a check result in the offline state.
18. A connection device between devices, the connection device between the devices comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
when the first device and/or the second device are detected to be in an offline state, generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information, the second check subset set comprises at least one check information, and different check information exists in the second check subset set and the first check subset set;
displaying the check information set;
when a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices in the offline state based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the devices, wherein the second check value is different from the first check value;
and receiving a second check value sent by the second equipment, verifying the second check value, and if the verification is passed, establishing connection with the second equipment in the offline state.
19. A connection device between devices, the connection device between the devices comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
when the first device and/or the second device are detected to be in an offline state, acquiring a check information set provided by the first device and generated by connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set;
when a connection request sent by the first device is received, acquiring a first check value in the connection request, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset;
and checking the first check value, if the checking is passed, generating a second check value based on the second check subset set, and sending the second check value to the first device, so that the first device determines whether to establish connection with the device or not in the offline state based on the second check value, wherein the second check value is different from the first check value.
20. A storage medium for storing computer-executable instructions, which when executed implement the following:
when the first device and/or the second device are detected to be in an offline state, generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information, the second check subset set comprises at least one check information, and different check information exists in the second check subset set and the first check subset set;
broadcasting a notification message containing the first syndrome set, and displaying the check information set;
when a connection request sent by second equipment is received, acquiring a first check value in the connection request, wherein the first check value is generated based on the second check subset after the second equipment acquires the check information set, and the connection request is sent when the second equipment scans a notification message containing the first check subset;
and checking the first check value, if the first check value passes the checking, generating a second check value based on the second check subset set, and sending the second check value to the second device, so that the second device determines whether to establish connection with the first device based on the second check value in the offline state, wherein the second check value is different from the first check value.
21. A storage medium for storing computer-executable instructions, which when executed implement the following:
when the first device and/or the second device are detected to be in an offline state, acquiring a check information set provided by the first device and generated by connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
scanning the broadcast notification message, determining the notification message containing the first check subset set, generating a first check value based on the second check subset set, sending a connection request containing the first check value to the first device so that the first device checks the first check value, if the check is passed, generating a second check value based on the second check subset set, and sending the second check value to a second device, wherein the second check value is different from the first check value;
when the second check value sent by the first equipment is received, the second check value is checked, and whether the connection is established with the first equipment or not is determined based on a check result in the offline state.
22. A storage medium for storing computer-executable instructions, which when executed implement the following:
when the first device and/or the second device are detected to be in an offline state, generating a check information set for connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one check information, the second check subset set comprises at least one check information, and different check information exists in the second check subset set and the first check subset set;
displaying the check information set;
when a broadcast notification message containing the first check subset is scanned, generating a first check value based on the second check subset, sending a connection request containing the first check value to a second device broadcasting the notification message containing the first check subset, so that the second device determines whether to perform connection between devices based on the first check value, if so, generating a second check value based on the second check subset, and sending the second check value to the first device, wherein the second check value is different from the first check value;
and receiving a second check value sent by the second equipment, verifying the second check value, and if the verification is passed, establishing connection with the second equipment in the offline state.
23. A storage medium for storing computer-executable instructions, which when executed implement the following:
when the first device and/or the second device are detected to be in an offline state, acquiring a check information set provided by the first device and generated by connection between the devices, wherein the check information set comprises a first check subset set and a second check subset set, the first check subset set comprises at least one piece of check information, the second check subset set comprises at least one piece of check information, and the second check subset set and the first check subset set have different check information;
broadcasting a notification message containing the first syndrome set;
when a connection request sent by the first device is received, acquiring a first check value in the connection request, wherein the first check value is generated by the first device based on the second check subset, and the connection request is sent when the first device scans a notification message containing the first check subset;
and checking the first check value, if the first check value passes the checking, generating a second check value based on the second check subset set, and sending the second check value to the first device, so that the first device determines whether to establish connection with a second device based on the second check value in the offline state, wherein the second check value is different from the first check value.
CN202210486264.7A 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment Active CN114980099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210486264.7A CN114980099B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210486264.7A CN114980099B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment
CN202011390287.5A CN112566126B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202011390287.5A Division CN112566126B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment

Publications (2)

Publication Number Publication Date
CN114980099A true CN114980099A (en) 2022-08-30
CN114980099B CN114980099B (en) 2023-11-17

Family

ID=75048132

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202210486264.7A Active CN114980099B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment
CN202210561356.7A Pending CN114980119A (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment
CN202011390287.5A Active CN112566126B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN202210561356.7A Pending CN114980119A (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment
CN202011390287.5A Active CN112566126B (en) 2020-12-02 2020-12-02 Method, device and equipment for connecting equipment

Country Status (1)

Country Link
CN (3) CN114980099B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660323A (en) * 2021-08-05 2021-11-16 百度在线网络技术(北京)有限公司 Method, apparatus, and computer-readable storage medium for communication between devices

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794611A (en) * 2014-01-20 2015-07-22 上海睿响信息技术有限公司 Off-line guiding and verifying device and off-line guiding and verifying method supporting mobile payment
CN106899411A (en) * 2016-12-08 2017-06-27 阿里巴巴集团控股有限公司 A kind of method of calibration and device based on identifying code
CN109560893A (en) * 2018-11-08 2019-04-02 中国联合网络通信集团有限公司 Data verification method, device and server
US20190280952A1 (en) * 2016-05-19 2019-09-12 Genesys Electronics Design Pty Ltd A network connectable device and a method for monitoring a service-state of a network connected device
CN110321752A (en) * 2019-06-03 2019-10-11 阿里巴巴集团控股有限公司 The method of calibration and device of off-line graphical code
CN111401672A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Block chain based validity checking method, equipment and system
CN111815326A (en) * 2019-04-11 2020-10-23 财付通支付科技有限公司 Payment method in flight state, device, equipment and storage medium thereof
CN111860020A (en) * 2018-04-25 2020-10-30 创新先进技术有限公司 Service processing method, device and equipment

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135160A1 (en) * 2014-03-12 2015-09-17 Tencent Technology (Shenzhen) Company Limited Method and device for controlling peripheral devices via social networking platform
WO2015142247A1 (en) * 2014-03-21 2015-09-24 Telefonaktiebolaget L M Ericsson (Publ) Authentication in device to device discovery
US20150332258A1 (en) * 2014-05-19 2015-11-19 Qualcomm Incorporated Identity Verification via Short-Range Wireless Communications
CN105450592A (en) * 2014-08-05 2016-03-30 阿里巴巴集团控股有限公司 Safety verification method and device, server and terminal
EP3156892B1 (en) * 2014-09-03 2021-08-11 Hewlett-Packard Development Company, L.P. Image forming device supporting short range wireless communication and method for operating same, mobile terminal supporting short range wireless communication and method for operating same, and cloud print system using short range wireless communication
CN105704837B (en) * 2014-11-28 2020-02-14 华为终端有限公司 Method and equipment for establishing wireless connection
KR102458145B1 (en) * 2015-09-09 2022-10-24 삼성전자 주식회사 Appratus and method for payment
CN105392210B (en) * 2015-10-15 2019-03-12 深圳Tcl数字技术有限公司 Wireless direct-connected connection method and device
CN107665427A (en) * 2017-08-22 2018-02-06 阿里巴巴集团控股有限公司 A kind of offline electronic payment, business processing, the method and device of payment processes
CN108391303A (en) * 2018-02-13 2018-08-10 北京硬壳科技有限公司 The method of connection is established between terminal and applies its terminal
CN108882344B (en) * 2018-06-05 2021-08-06 深圳市泰和安科技有限公司 Network access method, device and system of wireless equipment
CN113508635B (en) * 2019-03-25 2023-10-20 华为技术有限公司 Method for establishing wireless communication connection and related equipment
CN110322238B (en) * 2019-08-28 2019-12-20 深圳市融纳海川科技有限公司 Method, device and system for receiving payment information of merchant
CN110831245B (en) * 2019-11-01 2021-08-10 北京首钢自动化信息技术有限公司 Network connection method, device and router
CN111343634B (en) * 2020-03-05 2023-01-03 深圳市丰鑫科技服务有限公司 Safe connection method and data transmission method between low-power-consumption Bluetooth devices
CN111737721A (en) * 2020-08-13 2020-10-02 支付宝(杭州)信息技术有限公司 Terminal device ID generation method and device and electronic device
CN111935693B (en) * 2020-08-26 2022-05-06 支付宝(杭州)信息技术有限公司 Bluetooth device connection method and Bluetooth device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794611A (en) * 2014-01-20 2015-07-22 上海睿响信息技术有限公司 Off-line guiding and verifying device and off-line guiding and verifying method supporting mobile payment
US20190280952A1 (en) * 2016-05-19 2019-09-12 Genesys Electronics Design Pty Ltd A network connectable device and a method for monitoring a service-state of a network connected device
CN106899411A (en) * 2016-12-08 2017-06-27 阿里巴巴集团控股有限公司 A kind of method of calibration and device based on identifying code
CN111860020A (en) * 2018-04-25 2020-10-30 创新先进技术有限公司 Service processing method, device and equipment
CN109560893A (en) * 2018-11-08 2019-04-02 中国联合网络通信集团有限公司 Data verification method, device and server
CN111401672A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Block chain based validity checking method, equipment and system
CN111815326A (en) * 2019-04-11 2020-10-23 财付通支付科技有限公司 Payment method in flight state, device, equipment and storage medium thereof
CN110321752A (en) * 2019-06-03 2019-10-11 阿里巴巴集团控股有限公司 The method of calibration and device of off-line graphical code

Also Published As

Publication number Publication date
CN112566126A (en) 2021-03-26
CN114980099B (en) 2023-11-17
CN112566126B (en) 2022-04-26
CN114980119A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
EP3937525B1 (en) Methods, apparatuses, devices and systems for backtracking service behavior
JP6859513B2 (en) 2D code generation methods and devices, as well as 2D code recognition methods and devices
CN109660594B (en) Directional pushing method, display method, device and equipment for business processing result
KR102398502B1 (en) Electronic device for processing a message and operating method thereof
CN111860020A (en) Service processing method, device and equipment
CN111179061B (en) Resource transfer processing method, device and equipment
JP6929883B2 (en) Data transmission methods, data transmitters, data receivers, and systems
US11283614B2 (en) Information verification method, apparatus, and device
CN108564363B (en) Transaction processing method, server, client and system
CN111415143B (en) Payment device and payment method and device thereof
CN108305065B (en) Data processing method, terminal equipment and data processing system
CN110545542B (en) Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment
US20220036339A1 (en) Payment verification method and system
CN112566126B (en) Method, device and equipment for connecting equipment
CN110990492B (en) Information processing method, device and equipment
CN111400690B (en) Biological verification method and device
CN116257882A (en) Voting method, voting system, electronic equipment and storage medium
CN115525930A (en) Information transfer method, device and related equipment
CN113572827B (en) Registration processing method and device
CN114119003A (en) Method and device for realizing off-line payment service
CN114553516A (en) Data processing method, device and equipment
CN112468470B (en) Data transmission method and device and electronic equipment
CN111090894B (en) Method and device for reconstructing data of lock card
CN112016928B (en) Payment method and device and payment device
CN105701402A (en) Method and device for monitoring display hijack

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