Wireless communication connection method and device, electronic device and readable storage medium

By sending random signals when contacts between electronic devices and peripherals and generating wireless communication broadcast identifiers, the problem of mispairing electronic devices and peripherals when first connection is solved, and automatic pairing and efficient connection are achieved.

CN114828016BActive Publication Date: 2025-04-18VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210385611.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2025-04-18
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

Electronic devices and peripherals are prone to mismatch problems when connected for the first time, resulting in cumbersome operation.

Method used

When the contacts of the first electronic device come into contact with the contacts of the second electronic device, a random signal is sent, so that the second electronic device generates a wireless communication broadcast identifier, and automatically establishes a wireless communication connection when the preset conditions are met.

Benefits of technology

It realizes automatic pairing of electronic devices and peripherals without manual operation by users, avoids mismatching problems and improves connection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114828016B_ABST
    Figure CN114828016B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for connecting wireless communication, an electronic device, and a readable storage medium. A method for connecting wireless communication is used for a first electronic device, and the method includes: when a first contact point is in contact with a second contact point and a communication connection is not established between the first electronic device and the second electronic device, a first signal is sent through the first contact point so that the second electronic device obtains the first signal through the second contact point; searching for a wireless communication identifier; when the wireless communication identifier contains a first target wireless communication identifier that satisfies a first preset condition, establishing a wireless communication connection with the second electronic device, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast according to the first signal after the second electronic device receives the first signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a wireless communication connection method and device, an electronic device and a readable storage medium. Background Art

[0002] In the related art, electronic devices and peripherals, such as tablet computers and keyboard cases, are generally connected by wireless communication such as Bluetooth for signal transmission. However, this connection method requires users to manually pair the electronic device with the peripheral before the first connection, which is cumbersome and prone to mispairing. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a wireless communication connection method and device, an electronic device and a readable storage medium, which can solve the problem of incorrect pairing between an electronic device and a peripheral device when they are connected for the first time.

[0004] In a first aspect, an embodiment of the present application provides a wireless communication connection method for a first electronic device, wherein the first electronic device includes a first contact point, and the first contact point can contact a second contact point of a second electronic device to transmit a signal to the second electronic device through the first contact point and the second contact point, and the connection method includes:

[0005] When the first contact point is in contact with the second contact point and the first electronic device and the second electronic device have not established a communication connection, sending a first signal through the first contact point so that the second electronic device acquires the first signal through the second contact point;

[0006] Searching for wireless communication identifiers;

[0007] When the wireless communication identifier includes a first target wireless communication identifier that meets a first preset condition, a wireless communication connection with a second electronic device is established, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast according to the first signal after the second electronic device receives the first signal.

[0008] In a second aspect, an embodiment of the present application provides a wireless communication connection method for a second electronic device, wherein the second electronic device includes a second contact point, and the second contact point can be connected to a first contact point of a first electronic device to transmit a signal to the first electronic device through the second contact point and the first contact point, and the connection method includes:

[0009] In case the first signal is received through the second contact, determining the first target wireless communication identifier according to the first signal;

[0010] A first target wireless communication identifier is broadcast.

[0011] In a third aspect, an embodiment of the present application provides a wireless communication connection device, which is used for a first electronic device, wherein the first electronic device includes a first contact point, and the first contact point can contact a second contact point of a second electronic device to transmit a signal to the second electronic device through the first contact point and the second contact point, and the connection device includes:

[0012] a sending module, which sends a first signal through the first contact when the first contact is in contact with the second contact and the first electronic device and the second electronic device have not established a communication connection, so that the second electronic device obtains the first signal through the second contact;

[0013] A search module, used to search for wireless communication identifiers;

[0014] A connection module is used to establish a wireless communication connection with a second electronic device when the wireless communication identifier includes a first target wireless communication identifier that meets a first preset condition, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast according to the first signal after the second electronic device receives the first signal.

[0015] In a fourth aspect, an embodiment of the present application provides a wireless communication connection device for a second electronic device, the second electronic device comprising a second contact point, the second contact point being connectable to a first contact point of a first electronic device, so as to transmit a signal to the first electronic device through the second contact point and the first contact point, the connection device comprising:

[0016] A second determination module is used to determine a first target wireless communication identifier according to the first signal when the first signal is received through the second contact;

[0017] The broadcast module is used to receive and broadcast the first target wireless communication identifier.

[0018] In a fifth aspect, an embodiment of the present application provides a first electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.

[0019] In a sixth aspect, an embodiment of the present application provides a second electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the second aspect are implemented.

[0020] In a seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect and the second aspect are implemented.

[0021] In an eighth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.

[0022] In a ninth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0023] In an embodiment of the present application, a first contact is provided on the first electronic device, and the number of the first contacts may be 2 or 3, and power is supplied to the connected second electronic device through the first contact. Among them, the second electronic device may be a peripheral device such as a keyboard. When it is detected that the first contact is connected to the second electronic device, a random first signal is generated and sent to the second electronic device. The second electronic device generates its own first target wireless communication broadcast identifier according to the random first signal, and the first target wireless communication broadcast identifier is associated with the first signal. Therefore, when the electronic device body scans the first target wireless communication broadcast identifier that meets the preset conditions, that is, the first target wireless communication broadcast identifier associated with the first signal, a wireless communication pairing connection is initiated to the first target wireless communication broadcast identifier, and pairing with the second electronic device currently connected to the contact is completed. This process does not require manual operation by the user, and will not connect to other devices, thus avoiding the problem of mispairing. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 One of the flow charts of the wireless communication connection method according to an embodiment of the present application is shown;

[0025] Figure 2 A schematic diagram showing the appearance of a first electronic device according to an embodiment of the present application is shown;

[0026] Figure 3 The data structure of the first verification information according to an embodiment of the present application is shown;

[0027] Figure 4 A second flowchart of a wireless communication connection method according to an embodiment of the present application is shown;

[0028] Figure 5 One of the structural block diagrams of the connection device according to an embodiment of the present application is shown;

[0029] Figure 6 A second structural block diagram of a connection device according to an embodiment of the present application is shown;

[0030] Figure 7 A structural block diagram of a first electronic device according to an embodiment of the present application is shown;

[0031] Figure 8A structural block diagram of a second electronic device according to an embodiment of the present application is shown;

[0032] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0034] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0035] In conjunction with the accompanying drawings, the following describes in detail the wireless communication connection method and device, electronic device, and readable storage medium provided in the embodiments of the present application through specific embodiments and their application scenarios.

[0036] In some embodiments of the present application, a wireless communication connection method is provided, which is used for a first electronic device, wherein a first contact point can contact a second contact point of a second electronic device to transmit a signal to the second electronic device through the first contact point and the second contact point. Figure 1 FIG. 1 shows one of the flow charts of the wireless communication connection method according to an embodiment of the present application. Figure 1 As shown, the connection methods include:

[0037] Step 102, when the first contact point is in contact with the second contact point and the first electronic device and the second electronic device have not established a communication connection, sending a first signal through the first contact point, so that the second electronic device obtains the first signal through the second contact point;

[0038] Step 104, searching for a wireless communication identifier;

[0039] Step 106: When the wireless communication identifier includes a first target wireless communication identifier that meets a first preset condition, establish a wireless communication connection with a second electronic device.

[0040] In step 106, the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast according to the first signal after the second electronic device receives the first signal.

[0041] In an embodiment of the present application, the first electronic device may be a tablet computer, a laptop computer, a mobile phone, a laptop computer, a game console or other device, and the second electronic device may be a peripheral device such as a keyboard, a mouse, a stylus, a control handle or the like.

[0042] The first electronic device is provided with a first contact point, and the number of the first contact points may be multiple. In some embodiments, Figure 2 FIG. 4 shows a schematic diagram of the appearance of a first electronic device according to an embodiment of the present application. Figure 2 As shown, the first electronic device is a tablet computer and the second electronic device is a keyboard cover.

[0043] exist Figure 2 In the tablet computer shown, the number of first contacts 202 is 3, including VCC contact, signal contact and GND contact, wherein VCC is the positive contact for the tablet computer to supply power to the keyboard cover, at this time, the keyboard cover can be provided with an independent battery or power supply, or it can be powered or charged through the VCC contact. GND is a ground contact, and signal is a signal contact. After the tablet computer detects that the VCC contact is connected to the keyboard cover, the first signal is sent to the keyboard cover through the signal contact.

[0044] Specifically, when the tablet computer detects that the VCC contact is connected to the keyboard cover, it first generates a random first signal through a random algorithm, wherein the first signal may be a simple voltage signal. For example, the first signal may be a voltage signal obtained by performing digital-to-analog conversion on a single-byte digital signal.

[0045] The tablet computer sends a first signal to the keyboard cover via a first contact point (signal contact point).

[0046] After receiving the voltage signal, i.e., the first signal, the keyboard cover of the peripheral device obtains the corresponding pairing data according to the voltage value of the first signal. It is understandable that signal attenuation may occur due to the digital-to-analog conversion module and the signal transmission process. Taking the digital signal D0 for pairing generated by the tablet computer as an example, the digital signal D0 is converted into an analog signal A1 through the digital-to-analog conversion module, and the analog signal A1 is sent to the keyboard cover through the first contact.

[0047] After receiving the analog signal A1, the keyboard cover converts the analog signal A1 back to the digital signal D1 through the analog-to-digital conversion module. In theory, the values ​​of D1 and D0 are the same, and in consideration of the errors of digital-to-analog conversion and analog-to-digital conversion, when the difference between the values ​​of D1 and D0 is less than the threshold, it is determined that D1 is the same as D0.

[0048] After the keyboard cover obtains the digital signal for pairing generated by the tablet computer through analog-to-digital conversion, it generates its own wireless communication broadcast identifier, that is, the first target wireless communication broadcast identifier, according to the digital signal, and starts broadcasting through the first target wireless communication broadcast identifier.

[0049] After the tablet computer scans the first target wireless communication broadcast identifier, it is determined whether the first target wireless communication broadcast identifier meets a preset condition, specifically, whether the first target wireless communication broadcast identifier is associated with the first signal.

[0050] If it is determined that the first target wireless communication broadcast identifier meets the preset conditions, it means that the second electronic device corresponding to the first target wireless communication broadcast identifier is the second electronic device connected to the contact point, that is, the keyboard protective cover connected to the tablet computer. At this time, a wireless communication connection is initiated to the second electronic device that broadcasts through the target wireless communication broadcast identifier, thereby completing the data connection with the keyboard protective cover, that is, completing the pairing connection.

[0051] The present application is based on a physical connection between a first electronic device and a second electronic device, transmits data for pairing, the second electronic device generates a broadcast identifier based on the data, the first electronic device automatically searches for the broadcast identifier associated with the pairing data, and automatically completes the connection. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0052] In some embodiments of the present application, after sending the first signal through the first contact, the method further includes:

[0053] Start timing; generate first verification information according to the first timing information and the first signal;

[0054] After searching for the wireless communication identifier and before establishing a wireless communication connection with the second electronic device, the method further includes:

[0055] Obtaining detailed information of the first wireless communication identifier in the wireless communication identifier, and determining that the first wireless communication identifier meets the first preset condition when the detailed information includes the first target information and the first target information matches the first verification information;

[0056] The first target information is information generated by the second electronic device according to the first signal.

[0057] In an embodiment of the present application, after the first electronic device sends the first signal to the second electronic device, the first electronic device synchronously starts timing, which is independent of absolute time and only requires recording the time elapsed after the first signal is sent to obtain first timing information that increases with time.

[0058] At the same time, first verification information is generated according to the first timing information and the first signal. Specifically, Figure 3 The data structure of the first verification information according to the embodiment of the present application is shown as follows: Figure 3 As shown, the first verification information includes two field parts. The first field part is the data G0 of the first signal, and the second field part is the accumulation adv_field1 of the first data and the first timing information, that is, based on the data corresponding to the first signal, the relative time accumulation value is added.

[0059] It can be understood that the first timing information can be updated once per second, or once every N seconds, and correspondingly, the first verification information is also updated once per second or once every N seconds.

[0060] Correspondingly, after receiving the first signal, the second electronic device will also start timing synchronously, and generate the above-mentioned first target information according to the first signal and its own timing information, so that the first target information is synchronized with the first verification information.

[0061] If the first wireless communication identifier searched by the first electronic device contains the first target information and the first target information matches the first verification information, it is judged that the first wireless communication identifier meets the first preset condition, that is, the external device corresponding to the first target wireless communication broadcast identifier is the second electronic device connected to the contact point. At this time, the first electronic device initiates a wireless communication connection to the second electronic device to complete the pairing connection.

[0062] Since the first signal is randomly generated, the first verification information is also relatively random and unique. Therefore, when the broadcast identifier of the second electronic device is searched, including the first target information matching the first verification information, it can be determined that the corresponding second electronic device is the second electronic device that received the first signal, that is, the peripheral device currently connected to the tablet computer. At this time, it is determined that the target wireless communication broadcast identifier meets the preset conditions, and the first electronic device initiates a connection request to the target wireless communication broadcast identifier to complete the network configuration connection.

[0063] The present application combines randomly generated first data with timing duration as first verification information, thereby improving the uniqueness of target information, that is, the target wireless communication broadcast identifier, avoiding mispairing and improving pairing efficiency.

[0064] In some embodiments of the present application, after obtaining detailed information of the first wireless communication identifier in the wireless communication identifier, before determining that the first wireless communication identifier satisfies the first preset condition, the method further includes:

[0065] When the first target information is included in the detailed information and the difference between the first target information and the first verification information is less than or equal to a preset threshold, determining that the first wireless communication identifier satisfies the first preset condition;

[0066] When the detailed information includes the first target information and the difference between the first target information and the first verification information is greater than a preset threshold, sending a second signal through the first contact so that the second electronic device acquires the second signal through the second contact;

[0067] generating second verification information according to the first timing information, the second signal and the degree of difference;

[0068] When the second target information matches the second verification information, determining that the first wireless communication identifier satisfies the first preset condition;

[0069] The second target information is information generated by the second electronic device according to the second signal.

[0070] In an embodiment of the present application, a first electronic device, such as a tablet computer, randomly generates a digital signal, and generates a corresponding analog signal, namely, a first signal, through a digital-to-analog conversion module, wherein the first signal is specifically a voltage signal.

[0071] After receiving the voltage signal, i.e., the first signal, the keyboard cover of the peripheral device obtains the corresponding digital signal, i.e., the signal randomly generated by the tablet computer, through the analog-to-digital conversion module according to the voltage value of the first signal. Among them, signal attenuation may be caused due to the digital-to-analog conversion module and the signal transmission process. Taking the digital signal D0 generated by the tablet computer as an example, the digital signal D0 is converted into an analog signal A1 through the digital-to-analog conversion module and sent to the keyboard cover through the first contact.

[0072] After the keyboard cover receives the analog signal A1, it converts the analog signal A1 back to the digital signal D1 through the analog-to-digital conversion module. In theory, the values ​​of D1 and D0 are the same, and in consideration of the errors of digital-to-analog conversion and analog-to-digital conversion, when the difference between the values ​​of D1 and D0 is less than or equal to the threshold, it is judged that D1 is the same as D0, that is, the target information matches the first verification information, and at this time, it is judged that the first wireless communication identifier meets the first preset condition.

[0073] If the difference between D1 and D0 is greater than a preset threshold, the difference (difference) between D1 and D0, that is, the error accumulation value, is accumulated into the next generated second signal.

[0074] Specifically, the first electronic device sends the second signal to the second electronic device through the first contact. At the same time, according to the collected difference and the first timing information obtained by timing, second verification information is generated. The second verification information includes the difference, that is, the error generated in the signal transmission process, and thus can eliminate the impact caused by the error to a certain extent, that is, can reduce the difference between D1 and D0.

[0075] Afterwards, the first electronic device continues to search for the first wireless communication identifier. At this time, the searched first wireless communication identifier contains second target information, and the second target information is generated based on the second signal. If the second target information matches the second verification information adjusted according to the error, that is, the difference between D1 and D0 is less than the preset threshold, then it is considered that the first wireless communication identifier meets the first preset condition. If the difference between D1 and D0 is still greater than the preset threshold, the difference continues to be accumulated into the next generated third signal, thereby reducing the error, until the searched first wireless communication identifier satisfies the difference between D0 and D1 is less than the preset threshold and close to 0.

[0076] The present application compares the difference between the target information and the first verification information, thereby effectively reducing errors and improving pairing accuracy.

[0077] In some embodiments of the present application, sending a first signal through a first contact includes:

[0078] generating first data;

[0079] Performing digital-to-analog conversion on the first data to obtain a first signal;

[0080] After sending the first signal through the first contact, the connection method further includes:

[0081] In the case where there are multiple first target wireless communication identifiers, sending a second signal through the first contact point, so that the second electronic device obtains the second signal through the second contact point;

[0082] Re-search the wireless communication identifier, and establish a wireless communication connection with the second electronic device when the wireless communication identifier contains a second target wireless communication identifier that meets the second preset condition, wherein the second preset condition is related to the second signal, and the second target wireless communication identifier is an identifier broadcast according to the second signal after the second electronic device receives the second signal.

[0083] In the embodiment of the present application, the first signal is specifically a signal generated according to the digital-to-analog conversion result of the randomly generated first data. The first data is randomly generated, so it can be guaranteed to be unique to a certain extent, that is, the first target wireless communication identifier associated with the first signal is also unique.

[0084] Therefore, when there is only one broadcast identifier that meets the preset conditions, that is, the second electronic device corresponding to the identifier is the second electronic device connected to the current first electronic device, a connection request can be initiated to the second electronic device corresponding to the target wireless communication broadcast identifier.

[0085] Among them, since the first data is randomly generated, the first verification information is also relatively random and unique. However, when there are multiple first electronic devices and peripherals of the same model in the environment, the possibility that there are multiple target wireless communication broadcast identifiers that meet the preset conditions is not zero.

[0086] Therefore, when the number of searched target wireless communication broadcast identifiers that meet the preset conditions is multiple, a new data is randomly generated, such as generating the second data, such as generating the second data D2, and a third signal is obtained through digital-to-analog conversion.

[0087] After randomly generating the new changed second data, namely data D2, the digital-to-analog conversion module generates a corresponding third signal according to data D2. After receiving the third signal, the second electronic device performs analog-to-digital conversion on the third signal to obtain data D3.

[0088] According to the same logic, the first electronic device generates new third verification information according to data D2 and timing information, and the second electronic device also generates new third target information according to data D3. At this time, the first electronic device searches for the second target wireless communication identifier again, and after finding a unique second target wireless communication identifier that meets the preset conditions, it initiates a connection to the second electronic device corresponding to the second target wireless communication identifier.

[0089] When the present application detects that the target wireless communication identifier that meets the preset conditions is plural, random data and verification information are regenerated, thereby ensuring that the connected second electronic device is determined to be the second electronic device currently connected to the first contact, thereby ensuring the reliability of the wireless communication connection.

[0090] In some embodiments of the present application, a wireless communication connection method is provided, which is used for a second electronic device, wherein the second electronic device includes a second contact point, and the second contact point can be connected to a first contact point of a first electronic device to transmit a signal to the first electronic device through the second contact point and the first contact point. Figure 4 FIG. 2 shows a second flow chart of a wireless communication connection method according to an embodiment of the present application. Figure 4 As shown, the connection methods include:

[0091] Step 402, when a first signal is received through the second contact, determining a first target wireless communication identifier according to the first signal;

[0092] Step 404: broadcast the first target wireless communication identifier.

[0093] In an embodiment of the present application, the first electronic device may be a tablet computer, a laptop computer, a mobile phone, a laptop computer, a game console or other device, and the second electronic device may be a keyboard, a mouse, a stylus pen, a control handle or other device.

[0094] After the second electronic device receives the first signal, the second electronic device determines corresponding pairing data according to the first signal, where the pairing data is generated by the first electronic device that sends the first signal.

[0095] Therefore, when the second electronic device broadcasts its own first wireless communication identifier, the pairing data obtained based on the first signal is added to the first wireless communication identifier. Therefore, after the first electronic device searches for the first wireless communication identifier, it can be determined based on the pairing data contained in the first wireless communication identifier that the second electronic device broadcasting the first wireless communication identifier is the peripheral device that received the first signal, and an application for a communication connection is made.

[0096] After receiving the communication connection application, the second electronic device accepts the application to complete pairing and automatically complete the connection. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0097] When the second electronic device receives the first signal, it obtains corresponding first data according to the voltage value of the first signal, wherein the first signal is an analog signal, specifically, the first signal obtained by the first electronic device through the first data randomly generated and converted by the digital-to-analog conversion module.

[0098] The second electronic device may convert the first signal into corresponding first data through a digital-to-analog conversion module.

[0099] It can be understood that signal attenuation may occur due to the digital-to-analog conversion module and the signal transmission process. Taking the first data generated by the tablet computer as D0 as an example, the digital signal D0 is converted into an analog signal A1 through the digital-to-analog conversion module and sent to the keyboard cover through the first contact. After the keyboard cover receives the analog signal A1, the analog signal A1 is converted back to a digital signal D1 through the analog-to-digital conversion module. In theory, the values ​​of D1 and D0 are the same, and considering the errors of digital-to-analog conversion and analog-to-digital conversion, when the difference between the values ​​of D1 and D0 is less than the threshold, it is judged that D1 is the same as D0.

[0100] After obtaining the first data, the second electronic device generates a target wireless communication broadcast identifier according to the first data. The target wireless communication broadcast identifier includes target information, which is information associated with the first data. Therefore, when the first electronic device scans the target wireless communication broadcast identifier, it can determine that the target wireless communication broadcast identifier is a broadcast of the second electronic device connected to it according to the target information, and apply for a communication connection.

[0101] After receiving the communication connection application, the second electronic device accepts the application to complete pairing and automatically complete the connection. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0102] In some embodiments of the present application, determining the first target wireless communication identifier according to the first signal includes:

[0103] When the first signal is received, start timing;

[0104] Performing analog-to-digital conversion on the first signal to obtain corresponding first data;

[0105] First target information is generated according to the second timing information and the first data, and the first target wireless communication identifier includes the first target information.

[0106] In an embodiment of the present application, when receiving the first signal, the second electronic device synchronously starts timing and obtains converted first data according to the first signal through the analog-to-digital conversion module. The first data is randomly generated by the first electronic device and is used for pairing.

[0107] At the same time, the second electronic device generates first target information based on the first data obtained by analog-to-digital conversion and the second timing information obtained by timing. The first target information is an identifier carried in the first wireless communication identifier and is used to enable the first electronic device to confirm the identity of the second electronic device.

[0108] The second timing information may be updated once per second or once every N seconds, and correspondingly, the second verification information is also updated once per second or once every N seconds.

[0109] Correspondingly, after sending the first signal, the first electronic device will also start timing synchronously, and generate first verification information according to the first data and its own timing information, so as to keep the target information synchronized with the first verification information.

[0110] Since the first data is randomly generated, the first verification information is also relatively random and unique. Therefore, when the first wireless communication identifier broadcast by the second electronic device is searched, including target information matching the first verification information, it can be determined that the corresponding second electronic device is the peripheral device that received the first signal, that is, the peripheral device currently connected to the tablet computer. At this time, it is determined that the target wireless communication broadcast identifier meets the preset conditions, and the first electronic device initiates a connection request to the target wireless communication broadcast identifier to complete the network connection.

[0111] The present application combines randomly generated first data with timing duration as first verification information, thereby improving the uniqueness of target information, that is, the target wireless communication broadcast identifier, avoiding mispairing and improving pairing efficiency.

[0112] In some embodiments of the present application, a wireless communication connection device is provided, which is used for a first electronic device, wherein the first electronic device includes a first contact point, and the first contact point can contact with a second contact point of a second electronic device to transmit a signal to the second electronic device through the first contact point and the second contact point. Figure 5 One of the structural block diagrams of the connection device according to an embodiment of the present application is shown. Figure 5 As shown, the connection device 500 includes:

[0113] The sending module 502 sends a first signal through the first contact point when the first contact point is in contact with the second contact point and the first electronic device and the second electronic device have not established a communication connection, so that the second electronic device obtains the first signal through the second contact point;

[0114] A search module 504, configured to search for wireless communication identifiers;

[0115] The connection module 506 is used to establish a wireless communication connection with a second electronic device when the wireless communication identifier includes a first target wireless communication identifier that meets a first preset condition, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast according to the first signal after the second electronic device receives the first signal.

[0116] The present application is based on a physical connection between a first electronic device and a second electronic device, transmits data for pairing, the second electronic device generates a broadcast identifier based on the data, the first electronic device automatically searches for the broadcast identifier associated with the pairing data, and automatically completes the connection. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0117] In some embodiments of the present application, the connecting device further comprises:

[0118] A first timing module, used to start timing;

[0119] A first generating module, used to generate first verification information according to the first timing information and the first data;

[0120] A first determination module is used to obtain detailed information of a first wireless communication identifier in the wireless communication identifier, and determine that the first wireless communication identifier meets a first preset condition when the detailed information includes first target information and the first target information matches the first verification information;

[0121] The first target information is information generated by the second electronic device according to the first signal.

[0122] The present application combines randomly generated first data with timing duration as first verification information, thereby improving the uniqueness of target information, that is, the target wireless communication broadcast identifier, avoiding mispairing and improving pairing efficiency.

[0123] In some embodiments of the present application, the first determination module is further configured to determine that the first wireless communication identifier satisfies the first preset condition when the first target information is included in the detail information and the difference between the first target information and the first verification information is less than or equal to a preset threshold;

[0124] The sending module is further used to send a second signal through the first contact when the first target information is included in the detailed information and the difference between the first target information and the first verification information is greater than a preset threshold, so that the second electronic device obtains the second signal through the second contact;

[0125] The connecting device also includes:

[0126] The first generating module is further used to generate second verification information according to the first timing information, the second signal and the difference degree;

[0127] The first determination module is further used to determine that the first wireless communication identifier meets the first preset condition when the second target information matches the second verification information;

[0128] The second target information is information generated by the second electronic device according to the second signal.

[0129] The present application compares the difference between the target information and the first verification information, thereby effectively reducing errors and improving pairing accuracy.

[0130] In some embodiments of the present application, the connecting device further comprises:

[0131] A first generating module, used to generate first data;

[0132] A digital-to-analog conversion module, used for performing digital-to-analog conversion on the first data to obtain a first signal;

[0133] The sending module is further used to send the second signal through the first contact when the number of the first target wireless communication identifiers is multiple, so that the second electronic device can obtain the second signal through the second contact;

[0134] The search module is also used to re-search the wireless communication identifier, and establish a wireless communication connection with the second electronic device when the wireless communication identifier contains a second target wireless communication identifier that meets the second preset condition, wherein the second preset condition is related to the second signal, and the second target wireless communication identifier is an identifier broadcast according to the second signal after the second electronic device receives the second signal.

[0135] When the present application detects that the target wireless communication identifier that meets the preset conditions is plural, random data and verification information are regenerated, thereby ensuring that the connected second electronic device is determined to be the second electronic device currently connected to the first contact, thereby ensuring the reliability of the wireless communication connection.

[0136] In some embodiments of the present application, a wireless communication connection device is provided, which is used for a second electronic device, wherein the second electronic device includes a second contact point, and the second contact point can be connected to a first contact point of a first electronic device to transmit a signal to the first electronic device through the second contact point and the first contact point. Figure 6 The second structural block diagram of the connection device according to the embodiment of the present application is shown as follows: Figure 6 As shown, the connection device 600 includes:

[0137] A second determination module 602 is used to determine a first target wireless communication identifier according to the first signal when the first signal is received through the second contact point;

[0138] The broadcast module 604 is used to receive and broadcast the first target wireless communication identifier.

[0139] After receiving the communication connection application, the second electronic device of the embodiment of the present application can complete the pairing and automatically complete the connection by accepting the application. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0140] In some embodiments of the present application, the connecting device further comprises:

[0141] A second timing module, configured to start timing upon receiving the first signal;

[0142] An analog-to-digital conversion module, used to perform analog-to-digital conversion on the first signal to obtain corresponding first data;

[0143] The second generating module is used to generate first target information according to the second timing information and the first data, and the first target wireless communication broadcast identifier includes the first target information.

[0144] The present application combines randomly generated first data with timing duration as first verification information, thereby improving the uniqueness of target information, that is, the target wireless communication broadcast identifier, avoiding mispairing and improving pairing efficiency.

[0145] The connection device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0146] The connection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0147] The connection device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0148] Optionally, the embodiment of the present application further provides a first electronic device, Figure 7 A structural block diagram of a first electronic device according to an embodiment of the present application is shown. Figure 7 As shown, the first electronic device 700 includes a processor 702, a memory 704, and a program or instruction stored in the memory 704 and executable on the processor 702. When the program or instruction is executed by the processor 702, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0149] Optionally, the embodiment of the present application further provides a second electronic device, Figure 8A structural block diagram of a second electronic device according to an embodiment of the present application is shown. Figure 8 As shown, the second electronic device 800 includes a processor 802, a memory 804, and a program or instruction stored in the memory 804 and executable on the processor 802. When the program or instruction is executed by the processor 802, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0150] It should be noted that the first electronic device and the second electronic device in the embodiment of the present application include the mobile electronic device and the non-mobile electronic device mentioned above.

[0151] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0152] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.

[0153] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0154] The processor 910 is further configured to, when the first contact point is in contact with the second contact point and the first electronic device and the second electronic device have not established a communication connection, send a first signal through the first contact point, so that the second electronic device obtains the first signal through the second contact point;

[0155] Searching for wireless communication identifiers;

[0156] When the wireless communication identifier includes a first target wireless communication identifier that meets a first preset condition, a wireless communication connection with a second electronic device is established, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast according to the first signal after the second electronic device receives the first signal.

[0157] The present application is based on a physical connection between a first electronic device and a second electronic device, transmits data for pairing, the second electronic device generates a broadcast identifier based on the data, the first electronic device automatically searches for the broadcast identifier associated with the pairing data, and automatically completes the connection. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0158] Optionally, the processor 910 is further configured to start timing; generate first verification information according to the first timing information and the first signal;

[0159] Obtain detailed information of the first wireless communication identifier in the wireless communication identifier, and determine that the first wireless communication identifier meets the first preset condition when the detailed information includes first target information and the first target information matches the first verification information; wherein the first target information is information generated by the second electronic device based on the first signal.

[0160] The present application combines randomly generated first data with timing duration as first verification information, thereby improving the uniqueness of target information, that is, the target wireless communication broadcast identifier, avoiding mispairing and improving pairing efficiency.

[0161] Optionally, the processor 910 is further configured to determine that the first wireless communication identifier satisfies the first preset condition when the detailed information includes the first target information and the difference between the first target information and the first verification information is less than or equal to a preset threshold;

[0162] When the detailed information includes the first target information and the difference between the first target information and the first verification information is greater than a preset threshold, sending a second signal through the first contact so that the second electronic device acquires the second signal through the second contact;

[0163] generating second verification information according to the first timing information, the second signal and the degree of difference;

[0164] When the second target information matches the second verification information, determining that the first wireless communication identifier satisfies the first preset condition;

[0165] The second target information is information generated by the second electronic device according to the second signal.

[0166] The present application compares the difference between the target information and the first verification information, thereby effectively reducing errors and improving pairing accuracy.

[0167] Optionally, the processor 910 is also used to generate first data; perform digital-to-analog conversion on the first data to obtain a first signal; when there are multiple first target wireless communication identifiers, send a third signal through the first contact, so that the second electronic device can obtain the third signal through the second contact; re-search the wireless communication identifier, and when the wireless communication identifier contains a second target wireless communication identifier that meets the second preset condition, establish a wireless communication connection with the second electronic device, wherein the second preset condition is related to the third signal, and the second target wireless communication identifier is an identifier broadcast according to the second signal after the second electronic device receives the third signal.

[0168] When the present application detects that the target wireless communication identifier that meets the preset conditions is plural, random data and verification information are regenerated, thereby ensuring that the connected second electronic device is determined to be the second electronic device currently connected to the first contact, thereby ensuring the reliability of the wireless communication connection.

[0169] Optionally, the processor 910 is further configured to, when receiving the first signal through the second contact, determine the first target wireless communication identifier according to the first signal; and broadcast the first target wireless communication identifier.

[0170] After receiving the communication connection application, the second electronic device of the embodiment of the present application can complete the pairing and automatically complete the connection by accepting the application. This process does not require manual operation by the user and will not connect to other second electronic devices, thus avoiding the problem of incorrect pairing.

[0171] Optionally, the processor 910 is also used to start timing when receiving the first signal; perform analog-to-digital conversion on the first signal to obtain corresponding first data; generate first target information based on second timing information and the first data, and the first target wireless communication identifier includes the first target information.

[0172] The present application combines randomly generated first data with timing duration as first verification information, thereby improving the uniqueness of target information, that is, the target wireless communication broadcast identifier, avoiding mispairing and improving pairing efficiency.

[0173] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0174] The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 909 may include a volatile memory or a non-volatile memory, or the memory 909 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0175] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 910.

[0176] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0177] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0178] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0179] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0180] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0181] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0182] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0183] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A wireless communication connection method, used for a first electronic device, characterized in that: The electronic device includes a first contact point, and the first contact point can be in contact with a second contact point of a second electronic device to transmit a signal to the second electronic device through the first contact point and the second contact point. The connection method includes: When the first contact point is in contact with the second contact point and the first electronic device and the second electronic device have not established a communication connection, sending a first signal through the first contact point so that the second electronic device acquires the first signal through the second contact point; Searching for wireless communication identifiers; In a case where the wireless communication identifier includes a first target wireless communication identifier that satisfies a first preset condition, establishing a wireless communication connection with the second electronic device, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast by the second electronic device according to the first signal after receiving the first signal; After sending the first signal through the first contact, the method further includes: Start timing; Generate first verification information according to the first timing information and the first signal; After searching for the wireless communication identifier and before establishing a wireless communication connection with the second electronic device, the method further includes: Acquire detailed information of a first wireless communication identifier in the wireless communication identifiers, and determine that the first wireless communication identifier satisfies the first preset condition when the detailed information includes first target information and the first target information matches the first verification information; The first target information is information generated by the second electronic device according to the first signal.

2. The connection method according to claim 1, characterized in that: After acquiring detailed information of the first wireless communication identifier in the wireless communication identifiers, and before determining that the first wireless communication identifier meets the first preset condition, the method further includes: When the detailed information includes first target information and the difference between the first target information and the first verification information is less than or equal to a preset threshold, determining that the first wireless communication identifier satisfies the first preset condition; When the detailed information includes first target information and the difference between the first target information and the first verification information is greater than a preset threshold, sending a second signal through the first contact point so that the second electronic device acquires the second signal through the second contact point; generating second verification information according to the first timing information, the second signal and the degree of difference; When the second target information matches the second verification information, determining that the first wireless communication identifier satisfies the first preset condition; The second target information is information generated by the second electronic device according to the second signal.

3. The connection method according to claim 1, characterized in that: The sending of the first signal through the first contact includes: generating first data; Performing digital-to-analog conversion on the first data to obtain the first signal; After sending the first signal through the first contact, the connection method further includes: In the case that the number of the first target wireless communication identifiers is multiple, sending a third signal through the first contact point, so that the second electronic device obtains the third signal through the second contact point; Re-search the wireless communication identifier, and establish a wireless communication connection with the second electronic device when the wireless communication identifier contains a second target wireless communication identifier that meets a second preset condition, wherein the second preset condition is related to the third signal, and the second target wireless communication identifier is an identifier broadcast according to the third signal after the second electronic device receives the third signal.

4. A wireless communication connection method, used for a second electronic device, characterized in that: The second electronic device includes a second contact point, and the second contact point can be connected to a first contact point of the first electronic device to transmit a signal to the first electronic device through the second contact point and the first contact point, and the connection method includes: In case a first signal is received through the second contact, determining a first target wireless communication identifier according to the first signal; broadcasting the first target wireless communication identifier; The determining a first target wireless communication identifier according to the first signal includes: When the first signal is received, starting timing; Performing analog-to-digital conversion on the first signal to obtain corresponding first data; First target information is generated according to the second timing information and the first data, and the first target wireless communication identifier includes the first target information.

5. A wireless communication connection device, used for a first electronic device, characterized in that: The first electronic device includes a first contact point, and the first contact point can be in contact with a second contact point of a second electronic device to transmit a signal to the second electronic device through the first contact point and the second contact point, and the connecting device includes: a sending module, which sends a first signal through the first contact point when the first contact point contacts the second contact point and the first electronic device and the second electronic device have not established a communication connection, so that the second electronic device obtains the first signal through the second contact point; A search module, used to search for wireless communication identifiers; a connection module, configured to establish a wireless communication connection with the second electronic device when the wireless communication identifier includes a first target wireless communication identifier that satisfies a first preset condition, wherein the first preset condition is related to the first signal, and the first target wireless communication identifier is an identifier broadcast by the second electronic device according to the first signal after the second electronic device receives the first signal; A first timing module, used to start timing; A first generating module, configured to generate first verification information according to first timing information and the first signal; a first determination module, configured to obtain detailed information of a first wireless communication identifier in the wireless communication identifier, and determine that the first wireless communication identifier satisfies the first preset condition when the detailed information includes first target information and the first target information matches the first verification information; The first target information is information generated by the second electronic device according to the first signal.

6. The connection device according to claim 5, characterized in that: The first determination module is further configured to determine that the first wireless communication identifier satisfies the first preset condition when the detailed information includes first target information and the difference between the first target information and the first verification information is less than or equal to a preset threshold; The sending module is further configured to send a second signal through the first contact when the detailed information includes first target information and the difference between the first target information and the first verification information is greater than a preset threshold, so that the second electronic device obtains the second signal through the second contact; The connecting device also includes: The first generating module is further configured to generate second verification information according to the first timing information, the second signal and the difference degree; The first determination module is further configured to determine that the first wireless communication identifier satisfies the first preset condition when the second target information matches the second verification information; The second target information is information generated by the second electronic device according to the second signal.

7. The connection device according to claim 5 or 6, characterized in that: Also includes: The first generating module is further used to generate first data; A digital-to-analog conversion module, used for performing digital-to-analog conversion on the first data to obtain the first signal; The sending module is further configured to send a second signal through the first contact when there are multiple first target wireless communication identifiers, so that the second electronic device can obtain the second signal through the second contact; The search module is further used to re-search the wireless communication identifier, and establish a wireless communication connection with the second electronic device when the wireless communication identifier contains a second target wireless communication identifier that meets a second preset condition, wherein the second preset condition is related to the second signal, and the second target wireless communication identifier is an identifier broadcast according to the second signal by the second electronic device after receiving the second signal.

8. A wireless communication connection device, used for a second electronic device, characterized in that: The second electronic device includes a second contact point, and the second contact point can be connected to a first contact point of the first electronic device to transmit a signal to the first electronic device through the second contact point and the first contact point, and the connecting device includes: a second determining module, configured to determine a first target wireless communication identifier according to the first signal when the first signal is received through the second contact; A broadcast module, used for broadcasting the first target wireless communication identifier; A second timing module, configured to start timing upon receiving the first signal; an analog-to-digital conversion module, configured to perform analog-to-digital conversion on the first signal to obtain corresponding first data; The second generating module is used to generate first target information according to second timing information and the first data, and the first target wireless communication broadcast identifier includes the first target information.

9. A first electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the connection method according to any one of claims 1 to 3 are implemented.

10. A second electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the connection method as claimed in claim 4 are implemented.

11. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the connection method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method, electronic device and system for realizing function through NFC label

    CN112312366A