CN112512026B - Method and system for establishing wireless communication connection - Google Patents

Method and system for establishing wireless communication connection Download PDF

Info

Publication number
CN112512026B
CN112512026B CN202011419439.XA CN202011419439A CN112512026B CN 112512026 B CN112512026 B CN 112512026B CN 202011419439 A CN202011419439 A CN 202011419439A CN 112512026 B CN112512026 B CN 112512026B
Authority
CN
China
Prior art keywords
wireless
wireless adapter
connection
establishing
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011419439.XA
Other languages
Chinese (zh)
Other versions
CN112512026A (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.)
AlipayCom 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 CN202011419439.XA priority Critical patent/CN112512026B/en
Publication of CN112512026A publication Critical patent/CN112512026A/en
Application granted granted Critical
Publication of CN112512026B publication Critical patent/CN112512026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

In the method and system for establishing wireless communication connection provided by the present specification, a communication interface of a wireless adapter is connected with a communication interface of first equipment, and wired data connection between the wireless adapter and the first equipment is established; the first device establishes wireless communication connection with the wireless adapter based on the wired data connection, disconnects the wired data connection between the wireless adapter and the first device after the wireless communication connection is established, and establishes wired data connection between the wireless adapter and the second device, so that wireless data transmission is carried out between the first device and the second device. According to the method and the system, the wireless adapter is connected with the communication interface of the first equipment in a plugging and unplugging manner, the safe connection between the wireless adapter and the first equipment is automatically established, the user is prevented from participating in the whole complicated process of connecting the wireless adapter and the first equipment, the user can complete the wireless connection between the first equipment and the second equipment only by simply plugging and unplugging, and the method and the system are quicker and more convenient.

Description

Method and system for establishing wireless communication connection
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and a system for establishing a wireless communication connection.
Background
With the development of internet technology, the use scenes of the biometric payment device are more and more extensive, and are complex and changeable. For example, the biometric payment device is applied to various scenes such as payment, security check and the like. Especially in the payment scene, the identification of payment users by using the biological identification payment device is popularized to a plurality of large and medium supermarkets, shops, large stores and other places. Namely, when the user pays, the biometric recognition payment device performs biometric recognition, such as face recognition, on the user, and the payment process can be completed when the recognition verification passes. In the payment stage, the traditional password is replaced by 'face sweeping', the user is not required to complete the specified action coordination, the attack means such as photos, masks and videos can be intercepted, the payment process is optimized, the daily shopping consumption of the user is facilitated, the transaction efficiency of merchants is improved, and the development of the retail industry is driven. The biological identification payment equipment can be used as independent cash register equipment and can also be used for being connected with a cash register for use, and the data connection link of the biological identification payment equipment and the cash register is in a USB line connection mode and a wireless connection mode, so that the connection between the equipment is free from the limitations of distance, placement mode and the like. However, in the prior art, a wireless adapter can be used as a medium to establish wireless connection, a user is usually required to establish connection through manual searching and device selection in the first connection, manual operation is relied on in the using process, convenience is lacked, and product experience is reduced. In addition, in the prior art, the wireless connection equipment is established by setting the factory-bound wireless adapter, and when the wireless adapter is damaged or discarded, the wireless adapter cannot be replaced, and the equipment bound with the damaged or discarded wireless adapter cannot be used, so that resource waste is caused, and user experience is reduced.
Accordingly, there is a need for a faster and more secure method and system for establishing a wireless communication connection.
Disclosure of Invention
The present specification provides a faster and more secure method and system for establishing a wireless communication connection.
In a first aspect, the present specification provides a method for establishing a wireless communication connection, which is applied to a first device, and includes: establishing a wired data connection with a wireless adapter, wherein a communication interface of the first device is in wired connection with a communication interface of the wireless adapter; establishing a wireless communication connection with the wireless adapter based on the wired data connection; and carrying out wireless data transmission with a second device through the wireless adapter, wherein when the first device and the second device carry out wireless data transmission, the communication interface of the wireless adapter is disconnected with the communication interface of the first device through wired data connection, the wireless adapter is connected with the second device through wired data connection, the communication interface of the wireless adapter is connected with the communication interface of the second device through wired connection, and the wireless adapter is in wireless communication connection with the first device.
In some embodiments, prior to said establishing a wireless communication connection with said wireless adapter, said method further comprises: acquiring a device identifier of the wireless adapter; matching the equipment identification of the wireless adapter with identification information preset in the first equipment; and determining that the device identification of the wireless adapter matches at least one of the identification information preset in the first device.
In some embodiments, the device identification of the wireless adapter comprises at least one of a VID of the wireless adapter and a PID of the wireless adapter.
In some embodiments, the first device comprises a device in a wireless checkout system that biometrically identifies a user, and the second device comprises a checkout device in the wireless checkout system.
In some embodiments, said establishing a wireless communication connection with said wireless adapter based on said wired data connection comprises: performing data transmission with the wireless adapter through the wired data connection, sending the MAC address of the first device to the wireless adapter, and acquiring the MAC address of the wireless adapter; receiving a broadcast message sent by the wireless adapter, wherein the broadcast message is a directional broadcast message sent by the wireless adapter to the first device based on the MAC address of the first device; sending a connection request to the wireless adapter; and establishing a wireless communication connection with the wireless adapter.
In some embodiments, before said sending the MAC address of the first device to the wireless adapter and obtaining the MAC address of the wireless adapter, said establishing a wireless communication connection with the wireless adapter based on the wired data connection further comprises: a handshake protocol is established with the wireless adapter over the wired data connection.
In some embodiments, the establishing a handshake protocol with the wireless adapter comprises: sending a handshake request to the wireless adapter; receiving feedback data which is sent by the wireless adapter within a preset time and responds to the handshake request; confirming that the feedback data matches the data in the handshake request; and establishing the handshake protocol with the wireless adapter.
In some embodiments, the wireless communication comprises bluetooth communication and the wireless adapter comprises a bluetooth adapter.
In some embodiments, the wireless communication connection comprises a bluetooth communication connection based on a secure pairing mechanism.
In a second aspect, the present specification provides a system for establishing a wireless communication connection, comprising at least one communication interface for establishing a wired connection with a wireless adapter, at least one storage medium, and at least one processor; the at least one storage medium stores at least one set of instructions for establishing a wireless communication connection; the at least one processor is communicatively coupled to the at least one storage medium, wherein when the system is operating, the at least one processor reads the at least one instruction set and performs the method for establishing a wireless communication connection according to the instructions of the at least one instruction set.
In a third aspect, the present specification provides a method for establishing a wireless communication connection, applied to a wireless adapter, including: establishing a wired data connection with a first device, wherein a communication interface of the wireless adapter is in wired connection with a communication interface of the first device; establishing a wireless communication connection with the first device based on the wired data connection; and performing wireless data transmission with the first device, wherein when the wireless adapter performs wireless data transmission with the first device, the communication interface of the wireless adapter is disconnected from the communication interface of the first device by wired data connection, the wireless adapter establishes wired data connection with the second device, the communication interface of the wireless adapter is connected with the communication interface of the second device by wired connection, and the wireless adapter is in wireless communication connection with the first device.
In some embodiments, prior to said establishing a wireless communication connection with said first device, said method further comprises: and sending the equipment identification of the wireless adapter to the first equipment, wherein the equipment identification of the wireless adapter is matched with at least one piece of preset identification information in the first equipment.
In some embodiments, the device identification of the wireless adapter comprises at least one of a VID of the wireless adapter and a PID of the wireless adapter.
In some embodiments, the first device comprises a device in a wireless checkout system that biometrically identifies a user, and the second device comprises a checkout device in the wireless checkout system.
In some embodiments, said establishing a wireless communication connection with said first device based on said wired data connection comprises: performing data transmission with the first device through the wired data connection, sending the MAC address of the wireless adapter to the first device, and acquiring the MAC address of the first device; sending a broadcast message to the first device, wherein the broadcast message is a directional broadcast message sent by the wireless adapter to the first device based on the MAC address of the first device; receiving a connection request sent by the first equipment; and establishing a wireless communication connection with the first device.
In some embodiments, before said sending the MAC address of the wireless adapter to the first device and obtaining the MAC address of the first device, said establishing a wireless communication connection with the first device based on the wired data connection further comprises: establishing a handshake protocol with the first device over the wired data connection.
In some embodiments, the establishing a handshake protocol with the first device includes: receiving a handshake request sent by the first device; sending feedback data responding to the handshake request to the first device within a preset time; and establishing the handshake protocol with the first device.
In some embodiments, the wireless communication comprises bluetooth communication and the wireless adapter comprises a bluetooth adapter.
In some embodiments, the wireless communication connection comprises a bluetooth communication connection based on a secure pairing mechanism.
In a fourth aspect, the present specification provides a system for establishing a wireless communication connection, comprising at least one communication interface, at least one storage medium, and at least one processor, wherein the at least one communication interface is configured to establish a wired connection with a wireless adapter; the at least one storage medium stores at least one set of instructions for establishing a wireless communication connection; the at least one processor is communicatively coupled to the at least one storage medium, wherein when the system is operating, the at least one processor reads the at least one instruction set and performs the method for establishing a wireless communication connection according to the third aspect of the specification according to the instruction of the at least one instruction set.
According to the technical scheme, the method and the system for establishing the wireless communication connection provided by the specification take the wireless adapter as a connection medium, firstly, the communication interface of the wireless adapter is connected with the communication interface of the first device in a wired mode, and wired data connection between the wireless adapter and the first device is established; the first device establishes a wireless communication connection with the wireless adapter based on the wired data connection; and then disconnecting the wired data connection between the communication interface of the wireless adapter and the communication interface of the first device, performing wired connection between the communication interface of the wireless adapter and the communication interface of the second device, and establishing the wired data connection between the wireless adapter and the second device, so that wireless data transmission can be performed between the first device and the second device. According to the method and the system, the wireless adapter is connected with the communication interface of the first equipment in a plugging and unplugging manner, the safe connection between the second equipment and the first equipment is automatically established, the user is prevented from participating in the whole complicated process of connecting the wireless adapter and the first equipment, the user can complete the wireless connection between the first equipment and the second equipment only by simply plugging and unplugging twice, and the method and the system are quicker and more convenient; meanwhile, the communication connection established between the wireless adapter and the first device based on the security mechanism can effectively avoid the MITM attack, so that the data transmission is safer.
Additional features of the method and system for establishing a wireless communication connection provided by the present specification will be set forth in part in the description which follows. The following numerical and exemplary descriptions will be readily apparent to those of ordinary skill in the art in view of the description. The inventive aspects of the method, system, and storage medium for establishing a wireless communication connection provided in this specification can be fully explained by the practice or use of the methods, apparatus, and combinations described in the detailed examples below.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application scenario of a system for establishing a wireless communication connection according to an embodiment of the present specification;
fig. 2 is a schematic diagram illustrating an apparatus for establishing a wireless communication connection provided in accordance with an embodiment of the present specification;
fig. 3 illustrates a flow chart of a method of establishing a wireless communication connection provided in accordance with an embodiment of the present description; and
fig. 4 illustrates a flow chart for establishing a wireless communication connection provided in accordance with an embodiment of the present description.
Detailed Description
The following description is presented to enable any person skilled in the art to make and use the present description, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present description. Thus, the present description is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the claims.
The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. For example, as used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "includes," and/or "including," when used in this specification, are intended to specify the presence of stated integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
These and other features of the present specification, as well as the operation and function of the elements of the structure related thereto, and the combination of parts and economies of manufacture, may be particularly improved upon in view of the following description. Reference is made to the accompanying drawings, all of which form a part of this specification. It is to be expressly understood, however, that the drawings are for the purpose of illustration and description only and are not intended as a definition of the limits of the specification. It should also be understood that the drawings are not drawn to scale.
The flow diagrams used in this specification illustrate the operation of system implementations according to some embodiments of the specification. It should be clearly understood that the operations of the flow diagrams may be performed out of order. Rather, the operations may be performed in reverse order or simultaneously. In addition, one or more other operations may be added to the flowchart. One or more operations may be removed from the flowchart.
To facilitate the description of the method and system for establishing a wireless communication connection provided in this specification, first, some terms are explained as follows:
and (3) MITM: Man-in-the-Middle Attack (MITM) is an "indirect" intrusion Attack in which a computer under the control of an intruder is virtually placed between two communicating computers in a network connection by various techniques, known as a "Man-in-the-Middle".
Directional broadcasting: the broadcast is sent to a specific application or device, the type of broadcast being directed in order to establish the connection as quickly as possible. This message contains two addresses: the address of the broadcaster and the address of the originator. After receiving the directional broadcast message sent to the initiator, the initiator can immediately send a connection request as a response. The directional broadcast event must be repeated every 3.75 ms. This requirement allows the scanning device to scan only 3.75ms for messages to the targeted broadcasting device. Such a fast transmission would flood the broadcast channel with messages, which would result in other devices in the area not being able to broadcast to the originator.
And (3) LESC: LESecure Connections, low power secure Connections, a secure connection mechanism.
Fig. 1 shows a schematic application scenario of a system 100 for establishing a wireless communication connection (hereinafter referred to as system 100). The system 100 may include a first device 200, a wireless adapter 300, and a second device 400. The system 100 may be applied to a payment scenario for establishing a wireless connection between the biometric device and the payment apparatus in the wireless payment system, and the system 100 may also be applied to other scenarios requiring a wireless communication connection, such as a connection between a wireless mouse, a wireless keyboard, and the like, and a connection between a smart appliance and a smart phone, such as an electronic scale, a bluetooth speaker, and the like. For convenience of illustration, the following description of the present specification will describe a payment scenario as an example.
The wireless Communication may be a short-range wireless Communication mode, such as bluetooth Communication, WiFi Communication, Near Field Communication (NFC), or ZigBee Communication. Accordingly, the module for implementing the short-range wireless communication may be embodied as a bluetooth module, a WiFi module, an NFC module, or a ZigBee module, etc. For convenience of illustration, the wireless communication will be described as bluetooth communication in this specification.
The first device 200 may store data or instructions for performing the methods of establishing a wireless communication connection described herein and may execute or be used to execute the data and/or instructions. The first device 200 may be a reading device for biometric identification of the user in the wireless payment amount system, i.e., the biometric identification device. The biometric device is not limited to what kind of biometric features are recognized, for example, the biometric features may be a face feature, an iris feature, a sclera feature, a fingerprint feature, a palm print feature, a voiceprint feature, a bone feature, and the like. The first device 200 may include a biometric payment device, such as a dragonfly payment, and may also include a smart device, such as a smartphone, laptop, tablet, desktop, smart-wearable device, and so forth. The first device 200 may include a communication interface 220 for wired connection with other electronic devices, such as a wireless adapter 300. The communication interface 220 may include a protection circuit, and the first device 200 may be wired to a communication interface of another electronic device through the communication interface 220, so as to implement a plug-and-play wired data connection. The communication interface 220 may be one of a USB interface, a USB-HID interface, a UART interface, a TypeC interface. The first device 200 may include a wireless communication module 250 for performing wireless communication with other electronic devices including the same wireless communication module, for example, the wireless communication may be bluetooth communication, the first device 200 may include a bluetooth module, and the first device 200 may perform wireless communication with other electronic devices having the bluetooth module.
The wireless adapter 300 may be a medium through which the first device 200 establishes a wireless connection with the second device 400. The wireless adapter 300 can establish a wireless communication connection with the first device 200, and the first device 200 realizes wireless data transmission with the second device 400 through the wireless adapter 300. In order to realize the wireless communication connection between the wireless adapter 300 and the first device 200, the wireless adapter 300 and the first device 200 should be equipped with a wireless communication module corresponding to the wireless communication. As previously described, the first device 200 may include the wireless communication module 250. The wireless adapter 300 may include a wireless communication module 350. The wireless communication module 250 of the first device 200 can wirelessly communicate with the wireless communication module 350 of the wireless adapter 300. For example, when the wireless communication connection is a bluetooth communication connection, the wireless adapter 300 and the first device 200 should be equipped with bluetooth modules, and the wireless adapter 300 may be a bluetooth adapter; similarly, when the wireless communication connection is a WiFi connection, the wireless adapter 300 and the first device 200 should be equipped with a WiFi module, the wireless adapter 300 may be a WiFi adapter, and so on. For convenience of illustration, the bluetooth adapter will be described as an example in this specification. The wireless adapter 300 may include a communication interface 320 for wired connection with other electronic devices, such as the first device 200 or the second device 400. The communication interface 320 may include a protection circuit, and the wireless adapter 300 may be wired to the communication interface of another electronic device through the communication interface 320, thereby implementing a plug-and-play wired data connection. The communication interface 320 may be one of a USB interface, a USB-HID interface, a UART interface, a TypeC interface.
The second device 400 may comprise a payment receiving device in the wireless payment receiving system, such as a POS, a bank terminal, and the like. The second device 400 can perform wireless data transmission with the first device 200 through the wireless adapter 300. The second device 400 may include a communication interface 420 for wired connections with other electronic devices, such as the wireless adapter 300. The communication interface 420 may include a protection circuit, and the second device 400 may be wired to the communication interface of another electronic device through the communication interface 420, thereby implementing a plug-and-play wired data connection. The communication interface 420 may be one of a USB interface, a USB-HID interface, a UART interface, a TypeC interface.
As shown in FIG. 1, the user can connect the communication interface 320 of the wireless adapter 300 with the communication interface 220 of the first device 200 by wire, and establish a wired data connection between the wireless adapter 300 and the first device 200; the first device 200 may execute the data or instructions of the method of establishing a wireless communication connection provided herein to establish a wireless communication connection between the first device 200 and the wireless adapter 300; the user can disconnect the communication interface 320 of the wireless adapter 300 from the communication interface 220 of the first device 200 and connect the communication interface 320 of the wireless adapter 300 with the communication interface 420 of the second device 400 in a wired manner, thereby realizing the wired data connection between the wireless adapter 300 and the second device 200; thereby enabling wireless data transmission between the first device 200 and the second device 400. The method and system 100 for establishing a wireless communication connection provided in this specification can realize that the wireless adapter 300 automatically establishes a wireless communication connection with the first device 200 by simply inserting the wireless adapter 300 into the communication interface of the first device 200, and then connect the wireless adapter 300 to the second device 400, so that the wireless communication connection between the first device 200 and the second device 400 can be realized without manual operation of a user, which is fast and simple. As shown in fig. 1, the dotted lines represent wireless communication connections, and the solid lines represent wired connections.
Fig. 2 shows a schematic diagram of an apparatus for establishing a wireless communication connection. The device may be the first device 200, the second device 400 or the wireless adapter 300. The following description will describe the apparatus by taking the first apparatus 200 as an example.
The first device 200 may perform the method of establishing a wireless communication connection described herein. The method of establishing a wireless communication connection is described elsewhere in this specification. For example, the method P200 for establishing a wireless communication connection is introduced in the descriptions of fig. 3 and 4.
As shown in fig. 2, the first device 200 may include at least one storage medium 230 and at least one processor 240. In some embodiments, the first device 200 may also include a communication interface 220 and an internal communication bus 210. Meanwhile, the first device 200 may further include an I/O component 260.
Internal communication bus 210 may connect various system components including storage medium 230 and processor 240.
The I/O components 260 support input/output between the first device 200 and other components.
Storage medium 230 may include a data storage device. The data storage device may be a non-transitory storage medium or a transitory storage medium. For example, the data storage device may include one or more of a magnetic disk 232, a read only memory medium (ROM)234, or a random access memory medium (RAM) 236. The storage medium 230 further includes at least one set of instructions stored in the data storage device. The instructions are computer program code that may include programs, routines, objects, components, data structures, procedures, modules, etc. that perform the methods of establishing a wireless communication connection provided herein.
The communication interface 220 is used for data communication between the first device 200 and the outside. For example, the first device 200 may connect to the wireless adapter 300 through the communication interface 220 to establish a data connection, thereby implementing wired data transmission.
The at least one processor 240 is communicatively coupled to the at least one storage medium 230 via the internal communication bus 210. The at least one processor 240 is configured to execute the at least one instruction set. When the system 100 is operating, the at least one processor 240 reads the at least one instruction set and performs the method P200 of establishing a wireless communication connection provided herein according to the instructions of the at least one instruction set. The processor 240 may perform all the steps involved in the method P200 of establishing a wireless communication connection. The processor 240 may be in the form of one or more processors, and in some embodiments, the processor 240 may include one or more hardware processors, such as microcontrollers, microprocessors, Reduced Instruction Set Computers (RISC), Application Specific Integrated Circuits (ASICs), application specific instruction set processors (ASIPs), Central Processing Units (CPUs), Graphics Processing Units (GPUs), Physical Processing Units (PPUs), microcontroller units, Digital Signal Processors (DSPs), Field Programmable Gate Arrays (FPGAs), Advanced RISC Machines (ARMs), Programmable Logic Devices (PLDs), any circuit or processor capable of executing one or more functions, or the like, or any combination thereof. For illustrative purposes only, only one processor 240 is depicted in the first device 200 in this specification. However, it should be noted that the first device 200 may also include multiple processors, and thus, the operations and/or method steps disclosed in this specification may be performed by one processor as described in this specification, or may be performed by a combination of multiple processors. For example, if in this description the processor 240 of the first device 200 performs steps a and B, it should be understood that steps a and B may also be performed by two different processors 240, either jointly or separately (e.g., a first processor performing step a, a second processor performing step B, or both a first and second processor performing steps a and B).
Although the above structure describes the first device 200, the structure is also applicable to the second device 400 or the wireless adapter 300.
Fig. 3 shows a flow chart of a method P200 of establishing a wireless communication connection. The method P200 may implement wireless data transmission between the first device 200 and the second device 400 by establishing a wireless communication connection between the first device 200 and the wireless adapter 300. The first device 200 and the wireless adapter 300 may perform the method P200 of establishing a wireless communication connection provided in this specification. Specifically, the first device 200 and the wireless adapter 300 can read the instruction set stored in the local storage medium thereof, and then execute the method P200 for establishing a wireless communication connection provided in the present specification according to the specification of the instruction set. The method P200 may comprise:
s210: a wired data connection is established between the first device 200 and the wireless adapter 300.
Specifically, the user can connect the communication interface 220 of the first device 200 with the communication interface 320 of the wireless adapter 300 by wire, so that a wired data connection is established between the first device 200 and the wireless adapter 300, and the first device 200 and the wireless adapter 300 can perform data transmission through the communication interface 220 and the communication interface 320.
S230: the first device 200 obtains the device identification of the wireless adapter 300.
The first device 200 can obtain the device identification from the wireless adapter 300 through the communication interface 220 of the first device 200 and the communication interface 320 of the wireless adapter 300. The device identification may be identification information of the wireless adapter 300, such as factory information, manufacturer information, category information, number, and the like of the wireless adapter 300. The device identification of the wireless adapter 300 may include at least one of VID (vendor ID) of the wireless adapter 300 and PID (product ID) of the wireless adapter 300. The first device 200 may distinguish between different wireless adapters 300 by different VIDs and PIDs. The Vendor ID (VID) is applied by the vendor, and the VID for each vendor is unique. The PID is at the discretion of the supplier, and different products, different models of the same product, different designs of the same model, preferably use different PIDs to distinguish between different devices of the same manufacturer.
S250: the first device 200 matches the device identification of the wireless adapter 300 with identification information preset in the first device 200.
S260: the first device 200 determines that the device identification of the wireless adapter 300 matches at least one of the identification information preset in the first device 200.
The first device 200 may preset one or more pieces of identification information, where the preset one or more pieces of identification information may be identification information of a trusted device that is authenticated by the first device 200, identification information of a trusted device associated with the first device 200, such as identification information of a trusted device belonging to the same vendor as the first device 200, and so on. The first device 200 may match the device identification of the wireless adapter 300 with identification information preset in the first device 200 to verify whether the wireless adapter 300 is a trusted device. Only in the case that the wireless adapter 300 is a reliable device, the first device 200 establishes a wireless communication connection with the wireless adapter 300, so as to ensure that the wireless adapter 300 performing data transmission with the first device 200 is a reliable connection device, thereby improving the security of data transmission.
S280: the first device 200 establishes a wireless communication connection with the wireless adapter 300.
After determining that the wireless adapter 300 is a reliable device, the first device 200 needs to bind with the wireless adapter 300 and establish a wireless communication connection, so that the first device 200 can automatically connect with the wireless adapter 300. In order to ensure the security and reliability of the communication connection between the first device 200 and the wireless adapter 300, a handshake protocol may be established between the first device 200 and the wireless adapter 300, through which the first device 200 and the wireless adapter 300 confirm and bind identities of each other, and a secure data transmission channel is established. Before each connection, the first device 200 and the wireless adapter 300 perform mutual identity authentication based on the handshake protocol, and determine that the first device 200 and the wireless adapter 300 perform data exchange by using the same default protocol and key, thereby ensuring the security and reliability of data transmission. After the handshake process is completed, data transmission between the first device 200 and the wireless adapter 300 is possible.
Fig. 4 shows a flow chart for establishing a wireless communication connection. As shown in fig. 4, step S280 may specifically include:
s282: the first device 200 establishes a handshake protocol with the wireless adapter 300.
First, the handshake protocol may be established between the first device 200 and the wireless adapter 300 for identity authentication and identity binding. After the handshake protocol is established, a wireless communication connection can be established between the first device 200 and the wireless adapter 300 for wireless data transmission. Specifically, step S282 may include:
s282-2: the first device 200 sends a handshake request to the wireless adapter 300.
Specifically, the first device 200 may send the handshake request to the wireless adapter 300 through the communication interface 220 of the first device 200 and the communication interface 320 of the wireless adapter 300. The handshake request may include a data transmission security protocol between the first device 200 and the wireless adapter 300, an encryption algorithm and a key for data transmission, and the like, and the handshake request may further include an encryption verification code encrypted by the encryption algorithm and the key.
S282-4: after receiving the handshake request sent by the first device 200, the wireless adapter 300 sends feedback data in response to the handshake request to the first device 200 within a preset time.
The wireless adapter 300 may respond to the handshake request sent by the first device 200 after receiving the handshake request. Specifically, the wireless adapter 300 may decrypt the encrypted authentication code using the encryption algorithm and the key in the handshake request. The feedback data may be a decrypted authentication code that the wireless adapter 300 decrypts the encrypted authentication code. The wireless adapter 300 may transmit the feedback data to the first device 200 through the communication interface 320 of the wireless adapter 300 and the communication interface 220 of the first device 200. It should be noted that the wireless adapter 300 needs to send the feedback data to the first device 200 within a preset time to respond to the handshake request sent by the first device 200. If the wireless adapter 300 does not respond to the handshake request within the preset time, the handshake between the first device 200 and the wireless adapter 300 fails. The preset time may be written into the security protocol, for example, the preset time may be 2s, 3s, 4s, and so on.
S282-6: after receiving the feedback data sent by the wireless adapter 300, the first device 200 confirms that the feedback data matches the data in the handshake request.
S282-8: the first device 200 establishes the handshake protocol with the wireless adapter 300.
After receiving the feedback data sent by the wireless adapter 300, the first device 200 needs to determine whether the decryption verification code in the feedback data matches the encryption verification code; when the decryption verification code matches the encryption verification code, the first device 200 may mark the wireless adapter 300 as an authenticated authentic device, establishing the handshake protocol with the wireless adapter 300; when the decrypted validation code does not match the encrypted validation code, the first device 200 may mark the wireless adapter 300 as an unauthenticated untrusted device and establish the handshake protocol failure with the wireless adapter 300. When the handshake protocol is successfully established between the first device 200 and the wireless adapter 300, the wireless adapter 300 may store the security protocol, the encryption algorithm, and the key on the wireless adapter to facilitate subsequent handshake authentication.
The handshake protocol established between the first device 200 and the wireless adapter 300 enables data transmission between the first device 200 and the wireless adapter 300 based on the security protocol, the encryption algorithm and the key, so that data transmission between the first device 200 and the wireless adapter 300 is more secure and reliable
S284: the first device 200 sends the MAC address of the first device 200 to the wireless adapter 300 and the wireless adapter 300 sends the MAC address of the wireless adapter 300 to the first device 200.
After the handshake protocol is established between the first device 200 and the wireless adapter 300, the first device 200 and the wireless adapter 300 may begin to establish a wireless communication connection. For convenience of illustration, the process of establishing the bluetooth communication connection between the first device 200 and the wireless adapter 300 will be described by taking the wireless communication connection as an example of the bluetooth communication connection. Before establishing the wireless communication connection, the first device 200 needs to acquire and store the MAC address of the wireless adapter 300, and the wireless adapter 300 needs to acquire and store the MAC address of the first device 200. The MAC Address, i.e., Media Access Control Address, is a physical Address or a hardware Address of a device, and each device has a unique MAC Address. The first device 200 and the wireless adapter 300 can identify and connect devices according to the MAC address of the counterpart after acquiring the MAC address of the counterpart.
S286: the wireless adapter 300 sends a broadcast message to the first device 200.
As previously mentioned, when the wireless communication connection is a bluetooth communication connection, the wireless adapter 300 may be a bluetooth adapter. The wireless adapter 300 may send a directed broadcast message to the first device 200 based on the MAC address of the first device 200. The directed broadcast, i.e., the wireless adapter 300, sends the broadcast message only to the first device 200. That is, the wireless adapter 300 does not transmit the broadcast message to other devices except the first device 200, and likewise, other devices do not search for the wireless adapter 300.
S288: the first device 200 sends a connection request to the wireless adapter 300.
Since the wireless adapter 300 sends the directional broadcast to the first device 200 at an interval of 3.75ms, even shorter or longer, such a fast transmission would flood the broadcast channel with messages, the first device 200 can quickly scan for the reception of the directional broadcast messages from the wireless adapter 300. The first device 200, upon receiving the broadcast message from the wireless adapter 300, may send a connection request to the wireless adapter 300 requesting a wireless communication connection with the wireless adapter 300. Of course, the wireless adapter 300 may also send non-directed broadcast messages to the first device 200. The first device 200 may also perform a search scan based on the non-directed broadcast message and receive the broadcast message from the wireless adapter 300.
S289: the first device 200 establishes a wireless communication connection with the wireless adapter 300.
The wireless adapter 300 may quickly establish a wireless communication connection with the first device 200 after receiving the connection request sent by the first device 200. When the wireless communication connection is a bluetooth communication connection, the wireless communication connection between the first device 200 and the wireless adapter 300 may be a bluetooth communication connection based on a secure pairing mechanism, i.e. the LESC secure connection. The LESC secure connection can effectively avoid MIMT attacks. After the first device 200 establishes the wireless communication connection with the wireless adapter 300, the MAC address of the wireless adapter 300 is stored in the first device 200, and the MAC address of the first device 200 is stored in the wireless adapter 300. The first device 200 and the wireless adapter 300 can be automatically connected, for example, the wireless communication connection between the first device 200 and the wireless adapter 300 can be disconnected after the first device 200 is powered off, and the first device 200 and the wireless adapter 300 can be automatically connected after being powered on again.
Each time the first device 200 is disconnected from the wireless adapter 300 and then reconnected, handshake authentication is performed between the first device 200 and the wireless adapter 300 to ensure that the wireless adapter 300 is a reliable device that has undergone handshake and trusted authorization. For example, after the first device 200 is powered back on, the first device 200 and the wireless adapter 300 need to perform handshake authentication before performing data transmission. Specifically, the first device 200 may send a handshake packet, which may include an encrypted authentication code, to the wireless adapter 300; after receiving the handshake packet, the wireless adapter 300 needs to respond to the handshake packet within a preset time, and the wireless adapter 300 needs to decrypt the encrypted verification code by using the encryption algorithm and the key stored in the wireless adapter 300 and send the decrypted verification code to the first device 200; after receiving the decryption verification code, the first device 200 compares the encryption verification code with the decryption verification code; when the encrypted verification code and the decrypted verification code are matched, a wireless communication connection is established between the first device 200 and the wireless adapter 300, and data transmission can be carried out between the first device 200 and the wireless adapter 300; when the encrypted verification code and the decrypted verification code do not match, the connection between the first device 200 and the wireless adapter 300 is disconnected, and data transmission between the first device 200 and the wireless adapter 300 cannot be performed; when the wireless adapter 300 does not respond to the handshake packet within the preset time, the connection between the first device 200 and the wireless adapter 300 is disconnected, and data transmission between the first device 200 and the wireless adapter 300 cannot be performed.
In summary, the user only needs to connect the communication interface 320 of the wireless adapter 300 and the communication interface 220 of the first device 200 by wire, and the wireless adapter 300 and the first device 200 can actively perform wired data transmission; the first device 200 and the wireless adapter 300 establish a wireless communication connection with the wireless adapter 300 when the wireless adapter 300 meets the connection requirement with the first device 200 by executing the method P200 described in the present specification; when the wireless adapter 300 does not meet the connection requirements with the first device 200, the first device 200 does not establish a wireless communication connection with the wireless adapter 300. In the whole wireless communication connection process, manual searching and connection of a user are not needed, and the user only needs to connect the communication interface 320 of the wireless adapter 300 with the communication interface 220 of the first device 200 in a wired mode, so that the use convenience is improved, and the user experience and the user adhesion degree are improved; meanwhile, only when the wireless adapter 300 meets the connection requirement with the first device 200, the first device 200 can establish the wireless communication connection with the wireless adapter 300, so that the safety and reliability of the wireless communication connection are improved, and unreliable devices are prevented from being accessed into the first device 200. The binding relationship between the wireless adapter 300 and the first device 200 is flexible, as long as the device identifier of the wireless adapter 300 meets the preset requirement in the first device 200, the wireless adapter 300 can establish wireless communication connection with the first device 200, the wireless adapter 300 and the first device 200 are not bound forcibly, when any one device between the wireless adapter 300 and the first device 200 is damaged or cannot be used, another device can establish wireless communication connection relationship with other devices conforming to the connection relationship again, the situation that another device cannot be used due to the damage of one device between the wireless adapter 300 and the first device 200 is avoided, the flexibility and the expansibility of the wireless adapter 300 and the first device 200 are improved, and meanwhile, the use cost of a user can be reduced.
As shown in fig. 3, the method P200 may further include:
s290: the first device 200 performs wireless data transmission with the second device 400 through the wireless adapter 300.
After the first device 200 establishes the wireless communication connection with the wireless adapter 300, the user may disconnect the communication interface 320 of the wireless adapter 300 from the communication interface 220 of the first device 200, insert the wireless adapter 300 into the second device 400, i.e., connect the communication interface 320 of the wireless adapter 300 with the communication interface 420 of the second device 400, and establish a wired data connection between the second device 400 and the wireless adapter 300. Since the wireless adapter 300 and the first device 200 are connected through the wireless communication and the second device 400 and the wireless adapter 300 are connected through the wired data, the first device 200 and the second device 400 can perform wireless data transmission.
When the wireless adapter 300 does not have a power module, the wireless adapter 300 will disconnect the wireless communication connection with the first device 200 due to loss of power when the user disconnects the communication interface 320 of the wireless adapter 300 from the communication interface 220 of the first device 200; when the user connects the communication interface 320 of the wireless adapter 300 with the communication interface 420 of the second device 400, since the MAC addresses of the devices of the other party are stored in the wireless adapter 300 and the first device 200, the wireless adapter 300 will automatically perform the wireless communication connection with the first device 200 again, that is, the connection is performed through the directional broadcast, which is not described herein again. After the wireless adapter 300 and the first device 200 perform the wireless communication connection again, before the wireless data transmission is started, the first device 200 performs handshake authentication on the wireless adapter 300 to verify the identity of the wireless adapter 300, and only after the wireless adapter 300 passes the handshake authentication, the first device 200 can perform the wireless data transmission with the wireless adapter 300 and the second device 400; when the wireless adapter 300 is not authenticated by handshake, the first device 200 actively disconnects the wireless communication connection with the wireless adapter 300, and the first device 200 cannot perform wireless data transmission with the wireless adapter 300 and the second device 400.
It should be noted that, when the wireless communication is wireless communication in other manners, the manner of establishing the wireless communication connection between the first device 200 and the wireless adapter 300 and the second device 400 is the same as the manner of establishing the bluetooth wireless communication connection, and the description of this specification is not repeated here.
To sum up, the method P200 and the system 100 for establishing a wireless communication connection provided in the present specification take the wireless adaptor 300 as a connection medium, first connect the communication interface 320 of the wireless adaptor 300 with the communication interface 220 of the first device 200, and establish a wired data connection between the wireless adaptor 300 and the first device 200; the first device 200 may acquire the device identifier of the wireless adapter 300 through the priority data connection, and verify the device identifier of the wireless adapter 300; certifying that the wireless adapter 300 is a reliable device when the device identification of the wireless adapter 300 matches at least one of the preset device identifications; the first device 200 can establish a wireless communication connection with the wireless adapter 300 based on a handshake protocol and a secure pairing mechanism, so that data transmission between the first device 200 and the wireless adapter 300 is more secure; the communication interface 320 of the wireless adapter 300 is then connected to the communication interface 420 of the second device 400, and a wired data connection between the wireless adapter 300 and the second device 400 is established, so that wireless data transmission between the first device 200 and the second device 400 is possible. According to the method P200 and the system 100, the communication interface 320 of the wireless adapter 300 is connected with the communication interface 220 of the first device 200 in a plugging and unplugging manner, so that the safe connection between the wireless adapter 300 and the first device 200 is automatically established, the user is prevented from participating in the whole complicated process of connecting the wireless adapter 300 and the first device 200, the user can complete the wireless connection between the first device 200 and the second device 400 only by simply plugging and unplugging twice, and the method is quicker and more convenient; meanwhile, the communication connection established between the wireless adapter 300 and the first device 200 based on the security mechanism can effectively avoid MITM attack, so that data transmission is safer.
Another aspect of the present description provides a non-transitory storage medium storing at least one set of executable instructions for establishing a wireless communication connection, which when executed by a processor, direct the processor to perform the steps of the method P200 for establishing a wireless communication connection described herein. In some possible implementations, various aspects of the description may also be implemented in the form of a program product including program code. The program code is adapted to cause the first device 200 to perform the steps of establishing a wireless communication connection as described herein, when the program product is run on the first device 200. A program product for implementing the above method may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on the first device 200. However, the program product of the present specification is not so limited, and in this specification, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system (e.g., the processor 240). The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for this specification may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the first device 200, partly on the first device 200, as a stand-alone software package, partly on the first device 200 and partly on a remote computing device, or entirely on the remote computing device. In the case of a remote computing device, the remote computing device may be connected to the first device 200 through a network, or may be connected to an external computing device.
The foregoing description has been directed to specific embodiments of this disclosure. 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 conclusion, upon reading the present detailed disclosure, those skilled in the art will appreciate that the foregoing detailed disclosure can be presented by way of example only, and not limitation. Those skilled in the art will appreciate that the present specification contemplates various reasonable variations, enhancements and modifications to the embodiments, even though not explicitly described herein. Such alterations, improvements, and modifications are intended to be suggested by this specification, and are within the spirit and scope of the exemplary embodiments of this specification.
Furthermore, certain terminology has been used in this specification to describe embodiments of the specification. For example, "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. Therefore, it is emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various portions of this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined as suitable in one or more embodiments of the specification.
It should be appreciated that in the foregoing description of embodiments of the specification, various features are grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the specification, for the purpose of aiding in the understanding of one feature. This is not to be taken as an admission that any of the features are required in combination, and it is fully possible for one skilled in the art to extract some of the features as separate embodiments when reading this specification. That is, embodiments in this specification may also be understood as an integration of a plurality of sub-embodiments. And each sub-embodiment described herein is equally applicable to less than all features of a single foregoing disclosed embodiment.
Each patent, patent application, publication of a patent application, and other material, such as articles, books, descriptions, publications, documents, articles, and the like, cited herein is hereby incorporated by reference. All matters hithertofore set forth herein except as related to any prosecution history, may be inconsistent or conflicting with this document or any prosecution history which may have a limiting effect on the broadest scope of the claims. Now or later associated with this document. For example, if there is any inconsistency or conflict in the description, definition, and/or use of terms associated with any of the included materials with respect to the terms, descriptions, definitions, and/or uses associated with this document, the terms in this document are used.
Finally, it should be understood that the embodiments of the application disclosed herein are illustrative of the principles of the embodiments of the present specification. Other modified embodiments are also within the scope of this description. Accordingly, the disclosed embodiments are to be considered in all respects as illustrative and not restrictive. Those skilled in the art may implement the applications in this specification in alternative configurations according to the embodiments in this specification. Therefore, the embodiments of the present description are not limited to the embodiments described precisely in the application.

Claims (20)

1. A method for establishing wireless communication connection is applied to a first device and comprises the following steps:
establishing a wired data connection with a wireless adapter, wherein a communication interface of the first device is in wired connection with a communication interface of the wireless adapter;
establishing a wireless communication connection with the wireless adapter based on the wired data connection; and
the wireless adapter is used for carrying out wireless data transmission with second equipment, wherein when the first equipment and the second equipment carry out wireless data transmission, the communication interface of the wireless adapter is disconnected with the communication interface of the first equipment through wired data connection, the wireless adapter is connected with the second equipment through wired data connection, the communication interface of the wireless adapter is connected with the communication interface of the second equipment through wired connection, and the wireless adapter is in wireless communication connection with the first equipment.
2. The method of claim 1, prior to said establishing a wireless communication connection with said wireless adapter, further comprising:
acquiring a device identifier of the wireless adapter;
matching the equipment identification of the wireless adapter with identification information preset in the first equipment; and
determining that the device identification of the wireless adapter matches at least one of the identification information preset in the first device.
3. The method of claim 2, wherein the device identification of the wireless adapter comprises at least one of a VID of the wireless adapter and a PID of the wireless adapter.
4. The method of claim 1, wherein the first device comprises a device in a wireless checkout system that biometrically identifies a user and the second device comprises a checkout device in the wireless checkout system.
5. The method of claim 1, wherein said establishing a wireless communication connection with the wireless adapter based on the wired data connection comprises:
performing data transmission with the wireless adapter through the wired data connection, sending the MAC address of the first device to the wireless adapter, and acquiring the MAC address of the wireless adapter;
receiving a broadcast message sent by the wireless adapter, wherein the broadcast message is a directional broadcast message sent by the wireless adapter to the first device based on the MAC address of the first device;
sending a connection request to the wireless adapter; and
establishing a wireless communication connection with the wireless adapter.
6. The method of claim 5, wherein said establishing a wireless communication connection with the wireless adapter based on the wired data connection prior to said sending the MAC address of the first device to the wireless adapter and obtaining the MAC address of the wireless adapter, further comprises:
a handshake protocol is established with the wireless adapter over the wired data connection.
7. The method of claim 6, wherein the establishing a handshake protocol with the wireless adapter comprises:
sending a handshake request to the wireless adapter;
receiving feedback data which is sent by the wireless adapter within a preset time and responds to the handshake request;
confirming that the feedback data matches the data in the handshake request; and
establishing the handshake protocol with the wireless adapter.
8. The method of claim 1, wherein the wireless communication comprises a bluetooth communication and the wireless adapter comprises a bluetooth adapter.
9. The method of claim 8, wherein the wireless communication connection comprises a bluetooth communication connection based on a secure pairing mechanism.
10. A system for establishing a wireless communication connection, comprising:
at least one communication interface for establishing a wired connection with a wireless adapter;
at least one storage medium storing at least one set of instructions for establishing a wireless communication connection; and
at least one processor communicatively coupled to the at least one storage medium,
wherein the at least one processor reads the at least one instruction set when the system is running and performs the method of establishing a wireless communication connection of any of claims 1-9 in accordance with the instructions of the at least one instruction set.
11. A method for establishing wireless communication connection, which is applied to a wireless adapter, comprises the following steps:
establishing a wired data connection with a first device, wherein a communication interface of the wireless adapter is in wired connection with a communication interface of the first device;
establishing a wireless communication connection with the first device based on the wired data connection; and
the wireless adapter is in wireless data transmission with the first equipment, when the wireless adapter is in wireless data transmission with the first equipment, the communication interface of the wireless adapter is disconnected from the communication interface of the first equipment in wired data connection, the wireless adapter is in wired data connection with the second equipment, the communication interface of the wireless adapter is in wired connection with the communication interface of the second equipment, and the wireless adapter is in wireless communication connection with the first equipment.
12. The method of claim 11, prior to said establishing a wireless communication connection with the first device, the method further comprising:
and sending the equipment identification of the wireless adapter to the first equipment, wherein the equipment identification of the wireless adapter is matched with at least one piece of preset identification information in the first equipment.
13. The method of claim 12, wherein the device identification of the wireless adapter comprises at least one of a VID of the wireless adapter and a PID of the wireless adapter.
14. The method of claim 11, wherein the first device comprises a device in a wireless checkout system that biometrically identifies a user and the second device comprises a checkout device in the wireless checkout system.
15. The method of claim 11, wherein the establishing a wireless communication connection with the first device based on the wired data connection comprises:
performing data transmission with the first device through the wired data connection, sending the MAC address of the wireless adapter to the first device, and acquiring the MAC address of the first device;
sending a broadcast message to the first device, wherein the broadcast message is a directional broadcast message sent by the wireless adapter to the first device based on the MAC address of the first device;
receiving a connection request sent by the first equipment; and
establishing a wireless communication connection with the first device.
16. The method of claim 15, wherein said establishing a wireless communication connection with the first device based on the wired data connection prior to said sending the MAC address of the wireless adapter to the first device and obtaining the MAC address of the first device, further comprises:
establishing a handshake protocol with the first device over the wired data connection.
17. The method of claim 16, wherein the establishing a handshake protocol with the first device comprises:
receiving a handshake request sent by the first device;
sending feedback data responding to the handshake request to the first device within a preset time; and
establishing the handshake protocol with the first device.
18. The method of claim 11, wherein the wireless communication comprises a bluetooth communication and the wireless adapter comprises a bluetooth adapter.
19. The method of claim 18, wherein the wireless communication connection comprises a bluetooth communication connection based on a secure pairing mechanism.
20. A system for establishing a wireless communication connection, comprising:
the communication interface is used for establishing wired connection with equipment needing to establish wireless communication connection;
at least one storage medium storing at least one set of instructions for establishing a wireless communication connection; and
at least one processor communicatively coupled to the at least one storage medium,
wherein the at least one processor reads the at least one instruction set when the system is running and performs the method of establishing a wireless communication connection of any of claims 11-19 in accordance with the instructions of the at least one instruction set.
CN202011419439.XA 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection Active CN112512026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011419439.XA CN112512026B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011419439.XA CN112512026B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection
CN202010721275.XA CN111615096B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010721275.XA Division CN111615096B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection

Publications (2)

Publication Number Publication Date
CN112512026A CN112512026A (en) 2021-03-16
CN112512026B true CN112512026B (en) 2022-04-12

Family

ID=72205705

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010721275.XA Active CN111615096B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection
CN202011419439.XA Active CN112512026B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010721275.XA Active CN111615096B (en) 2020-07-24 2020-07-24 Method and system for establishing wireless communication connection

Country Status (1)

Country Link
CN (2) CN111615096B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520730B (en) * 2020-11-20 2023-06-20 腾讯科技(深圳)有限公司 Data transmission method, device, system, computer equipment and storage medium
CN112543234B (en) * 2020-12-09 2021-06-25 深圳市工匠社科技有限公司 Wired pairing method, device, robot and system

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136904B2 (en) * 2002-12-23 2006-11-14 Microtine (San Diego), Inc. Wireless cable replacement for computer peripherals using a master adapter
US20060270345A1 (en) * 2005-05-31 2006-11-30 Digiovanna Robert W Wireless adapter
US8676219B2 (en) * 2007-04-13 2014-03-18 Hart Communication Foundation Combined wired and wireless communications with field devices in a process control environment
US20080273486A1 (en) * 2007-04-13 2008-11-06 Hart Communication Foundation Wireless Protocol Adapter
CN101340705B (en) * 2007-07-03 2012-01-04 艾威梯科技(北京)有限公司 Method, apparatus and system for optimizing authentication of radio communication
US9008723B2 (en) * 2010-01-08 2015-04-14 United States Foundation For Inspiration And Recognition Of Science And Technology Wireless adapter
CN104080086B (en) * 2014-07-18 2018-09-04 北京智谷睿拓技术服务有限公司 Wireless connecting establishment method and wireless connection establish device
CN105988943B (en) * 2015-01-28 2019-09-20 青岛海信移动通信技术股份有限公司 A kind of method and device driving wireless adapter
CN104993565B (en) * 2015-08-05 2017-12-05 青岛海信移动通信技术股份有限公司 Can directly be charged source adapter
CN105939392A (en) * 2016-06-30 2016-09-14 南京邮电大学 Wireless adaption control terminal, system thereof and control method
CN106973359B (en) * 2017-03-07 2020-10-09 重庆西山科技股份有限公司 Method and device for quickly establishing wireless connection, wireless equipment and communication system
JP7159208B2 (en) * 2017-05-08 2022-10-24 マシモ・コーポレイション A system for pairing a medical system with a network controller by using a dongle
WO2019019050A1 (en) * 2017-07-26 2019-01-31 深圳市大疆灵眸科技有限公司 Wireless communication pairing method, wireless receiving device, and wireless transmitting device and system
CN108197053A (en) * 2018-01-18 2018-06-22 挖财网络技术有限公司 Interface Expanding equipment and system
CN110944316A (en) * 2019-12-16 2020-03-31 华为技术有限公司 Device connection method and device

Also Published As

Publication number Publication date
CN111615096B (en) 2020-11-06
CN112512026A (en) 2021-03-16
CN111615096A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
JP6629952B2 (en) Method and apparatus for securing mobile applications
US10194318B2 (en) Systems and methods for NFC access control in a secure element centric NFC architecture
US11882509B2 (en) Virtual key binding method and system
US9660814B2 (en) Providing digital certificates
US9432087B2 (en) Communication system and method for near field communication
JP2010539813A (en) Updating mobile devices with additional elements
CN105408910A (en) Systems and methods for authenticating access to operating system by user before the operating system is booted using wireless communication token
US11496900B2 (en) Electronic device and method for storing user identification information
CN112512026B (en) Method and system for establishing wireless communication connection
JP2016513848A (en) Seamless device configuration within a communications network
US11636478B2 (en) Method of performing authentication for a transaction and a system thereof
WO2018174901A1 (en) Authentication system using secure multi-party computation
CN109041021B (en) File transmission method based on Bluetooth, terminal equipment and storage medium
CN105610832A (en) Bluetooth device pairing method and Bluetooth device
KR20170037435A (en) Operation Method of Payment Device for Selectively Enabling Payment Function According to Validity of Host
JP7071776B2 (en) Information transmission / reception method, device and system using QR code
CN107924516B (en) Payment authentication method and device of mobile terminal and mobile terminal
CN108537532B (en) Resource transfer method, device and system based on near field communication and electronic equipment
CN107437997B (en) Radio frequency communication device and method
KR20180001455A (en) Mobile device of authenticating a purchase transaction and method there-of
CN104850994A (en) Security token, transaction execution system and transaction execution method
CN108243402B (en) Method and device for reading and writing smart card
CN108574658B (en) Application login method and device
WO2018049851A1 (en) Payment method, mobile terminal and nfc terminal
KR20190064792A (en) Electronic device and method for processing remote payment

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

Effective date of registration: 20230224

Address after: 200120 Floor 15, No. 447, Nanquan North Road, Free Trade Pilot Zone, Pudong New Area, Shanghai

Patentee after: Alipay.com Co.,Ltd.

Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: Alipay (Hangzhou) Information Technology Co.,Ltd.

TR01 Transfer of patent right