CN112738908B - Electronic equipment connection method and device and electronic equipment - Google Patents

Electronic equipment connection method and device and electronic equipment Download PDF

Info

Publication number
CN112738908B
CN112738908B CN202011566735.2A CN202011566735A CN112738908B CN 112738908 B CN112738908 B CN 112738908B CN 202011566735 A CN202011566735 A CN 202011566735A CN 112738908 B CN112738908 B CN 112738908B
Authority
CN
China
Prior art keywords
electronic device
target
connection
electronic equipment
electronic
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
CN202011566735.2A
Other languages
Chinese (zh)
Other versions
CN112738908A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011566735.2A priority Critical patent/CN112738908B/en
Publication of CN112738908A publication Critical patent/CN112738908A/en
Application granted granted Critical
Publication of CN112738908B publication Critical patent/CN112738908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an electronic equipment connection method and device and electronic equipment, belongs to the technical field of communication, and aims to solve the problem of low connection accuracy of the electronic equipment. The method comprises the following steps: receiving a target electrical signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device; and responding to a pairing request sent by the second electronic equipment, and establishing target connection with the second electronic equipment. The method and the device are applied to the directional connection scene of the electronic equipment.

Description

Electronic equipment connection method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an electronic equipment connection method and device and electronic equipment.
Background
With the development of communication technology, the frequency of connecting the electronic device with the wireless earphone by the user is higher, and the requirement of the user on the connection accuracy of the electronic device with the wireless earphone is higher.
Currently, when a user wants to connect the electronic device 1 and the wireless headset 1, the headset box of the wireless headset 1 may be opened first, at which time the wireless headset 1 may send a pairing request to the electronic device 1. The electronic device 1 then pops up a window asking if it is connected to the wireless headset 1, at which point the user can click on the "connect" option, and the electronic device 1 will connect to the wireless headset 1.
However, since the wireless headset 1 may send a pairing request to each of the plurality of electronic devices including the electronic device 1, and any one of the plurality of electronic devices may be connected to the wireless headset 1, if a part of users unintentionally or maliciously connect their electronic devices to the wireless headset 1, the electronic device 1 may not be connected to the wireless headset 1. Thus, the connection accuracy of the electronic equipment is low.
Disclosure of Invention
The embodiment of the application aims to provide an electronic equipment connection method and device and electronic equipment, which can solve the problem of low electronic equipment connection accuracy.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides an electronic device connection method, which is applied to a first electronic device, and the method includes: receiving a target electrical signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device; and responding to a pairing request sent by the second electronic equipment, and establishing target connection with the second electronic equipment.
In a second aspect, an embodiment of the present application provides another electronic device connection method, applied to a second electronic device, where the method includes: transmitting a target electrical signal and a pairing request, the target electrical signal being transmitted in the form of a current; establishing a target connection with a first electronic device; the first electronic device is a device which receives the target electric signal and the pairing request.
In a third aspect, an embodiment of the present application provides an electronic device connection apparatus, including: a receiving module and a connecting module; the receiving module is used for receiving the target electric signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device; and the connection module is used for responding to the pairing request sent by the second electronic equipment and establishing target connection with the second electronic equipment.
In a fourth aspect, an embodiment of the present application provides another electronic device connection apparatus, including: a transmitting module and a connecting module; the sending module is used for sending a target electric signal and a pairing request, wherein the target electric signal is transmitted in a current form; the connection module is used for establishing target connection with the first electronic equipment; the first electronic device is a device that receives the target electrical signal and the pairing request.
In a fifth aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first or second aspect when executed by the processor.
In a sixth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect or the second aspect.
In the embodiment of the present application, first, a first electronic device may receive a target electrical signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device. The first electronic device may then establish a target connection with the second electronic device in response to the pairing request sent by the second electronic device. Through the scheme, compared with the scheme that the electronic equipment in the related art can be connected with the wireless earphone under the condition of receiving the pairing request sent by the wireless earphone, the first electronic equipment can establish target connection with the second electronic equipment in response to the pairing request sent by the second electronic equipment only by receiving the target electric signal. Therefore, the application can lock the first electronic equipment and the second electronic equipment which need to establish target connection through the target electric signal, thereby improving the connection accuracy of the electronic equipment.
Drawings
Fig. 1 is a schematic flow chart of a method for connecting electronic devices according to an embodiment of the present application;
Fig. 2 is an interface schematic diagram applied to a method for connecting electronic devices according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another electronic device connection method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device connection apparatus according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of another electronic device connection apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the application may be practiced otherwise than as specifically illustrated or described herein. The objects identified by "first", "second", etc. are generally one type, and the number of the objects is not limited, for example, the first object may be one or a plurality of first objects. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The electronic device connection method provided by the embodiment of the application is described in detail below through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a connection method of an electronic device, which is provided in an embodiment of the present application and is applied to a first electronic device, and includes steps 201 and 202:
step 201: the first electronic device receives the target electrical signal.
Wherein the target electrical signal is transmitted by the second electronic device in the form of a current.
In the embodiment of the application, the first electronic device and the second electronic device are both in the target state. For example, the target state may be bluetooth on or access to a network (e.g., access to the same lan), which is not limited by the embodiment of the present application.
In an embodiment of the application, the first electronic device has a first current sensor. The first current sensor is used for receiving the target electric signal. The first current sensor may be disposed inside the first electronic device (e.g., inside the mobile phone housing) or may be disposed outside the first electronic device (e.g., outside the mobile phone housing), which is not limited by the embodiment of the present application.
In the case where the first current sensor is provided inside the first electronic device, the transmission of the target electrical signal is not affected by the device such as the housing of the first electronic device, that is, the device such as the housing of the first electronic device may be conductive, so that the transmission of the target electrical signal is not blocked.
The first current sensor may be a dedicated current sensor for receiving the target electrical signal. For example, in the case where the first current sensor is provided inside the first electronic apparatus, the first current sensor may be kept insulated (or signal-shielded) from other devices inside the first electronic apparatus so that the other devices inside the first electronic apparatus do not receive the above-described target electrical signal.
In an embodiment of the application, the second electronic device has a second current sensor. The second current sensor is used for sending the target electric signal. The second current sensor may be disposed inside the second electronic device (for example, inside the earphone housing or inside the earphone box housing), or may be disposed outside the second electronic device (for example, outside the earphone housing or outside the earphone box housing), which is not limited by the embodiment of the present application.
In the case where the second current sensor is provided inside the second electronic device, the transmission of the target electric signal is not affected by the device such as the case of the second electronic device, that is, the device such as the case of the second electronic device may be conductive, so that the transmission of the target electric signal is not blocked.
It will be appreciated that the target electrical signal is transmitted by the second electronic device to the first electronic device.
In the embodiment of the present application, the second electronic device may directly transmit the target electrical signal to the first electronic device, or may indirectly transmit the target electrical signal to the first electronic device, which is not limited in the embodiment of the present application.
In one example, the second electronic device may transmit the target electrical signal directly to the first electronic device. For example, the second electronic device may be in direct contact with the first electronic device.
In another example, the second electronic device may indirectly transmit the target electrical signal to the first electronic device. In particular, the second electronic device may transmit the target electrical signal to the first electronic device using any conductive medium. For example, the second electronic device may transmit the target electrical signal to the first electronic device using the human body as a conductive medium.
For example, taking a first electronic device as a mobile phone and a second electronic device as a wireless headset including a headset case, when a user wants to connect the mobile phone and the wireless headset, the user can hold the headset case of the wireless headset with one hand and hold the mobile phone with the other hand. Then, when the user opens the earphone box of the wireless earphone, the earphone box can transmit an electric signal, and the electric signal can be received by the mobile phone finally by using the human body as a conductor medium for transmission. In this way, for other handsets, since they cannot receive the electrical signal, no target connection, such as a bluetooth connection, is subsequently established with the wireless headset, thereby preventing erroneous connection devices.
It should be noted that, in the case that the second electronic device uses a human body as the conductive medium, in order to ensure that the human body is not damaged, the current corresponding to the target electrical signal is less than or equal to the human body safety current.
Alternatively, in an embodiment of the present application, the target electrical signal may include first device information of the second electronic device.
It should be noted that, the above-mentioned target electrical signal may include the first device information of the second electronic device may be understood as: the target electrical signal may carry first device information of the second electronic device. Illustratively, the first device information may include at least one of: device name, device model, physical address of the device. It should be noted that the first device information includes, but is not limited to, the foregoing three types of information.
In the embodiment of the present application, the second electronic device may continuously send the target electrical signal. It should be noted that, the continuous transmission of the target electrical signal by the second electronic device may be understood as: the second electronic device continuously transmits the target electrical signal or the second electronic device transmits the target electrical signal at predetermined time intervals (e.g., every 1 second). It can be appreciated that the first electronic device may remain in a receiving state all the time, so as to ensure that the target electrical signal may be received at any time.
Alternatively, in the case where the second electronic apparatus includes the functional device and the exterior case, the second electronic apparatus may transmit the target electric signal in the case where the exterior case is in the open state; in the case where the outer case is in the closed state, the target electric signal is not transmitted.
By way of example, the functional device described above may be any of the following: wireless earphone (e.g. bluetooth earphone), wireless bracelet (e.g. bluetooth bracelet), wireless wrist-watch (e.g. bluetooth bracelet).
The functional device may be any device capable of short-distance communication connection.
For example, taking the second electronic device as a wireless earphone including an earphone box (i.e., the outer box described above) as an example, when the earphone box of the wireless earphone is in a closed state, the earphone box does not transmit an electrical signal; when the earphone box of the wireless earphone is in an open state, the current sensor in the earphone box can continuously send an electric signal.
Step 202: and responding to a pairing request sent by the second electronic equipment, and establishing target connection between the first electronic equipment and the second electronic equipment.
In the embodiment of the present application, the pairing request may be sent by the second electronic device to a plurality of electronic devices including the first electronic device; or in the case that the second electronic device and the first electronic device determine each other, the second electronic device only sends to the first electronic device, which is not limited by the embodiment of the present application. In the embodiment of the present application, the pairing request may be sent by the second electronic device to the first electronic device through bluetooth, or a network, etc.
In one example, a first electronic device needs to establish a target connection with a second electronic device in response to a pairing request sent by the second electronic device upon determining that a target electrical signal is received. Wherein the pairing request is sent by the second electronic device to a plurality of electronic devices including the first electronic device.
In another example, the first electronic device may determine with the second electronic device based on the target electrical signal. Then, after receiving the pairing request sent by the second electronic device, the first electronic device responds to the pairing request to establish a target connection with the second electronic device. Wherein the pairing request is sent by the second electronic device only to the first electronic device.
For example, in the case that the second electronic device includes the functional device and the external case, the establishment of the target connection between the first electronic device and the second electronic device may be: the first electronic device establishes a target connection with the functional device.
According to the electronic equipment connection method provided by the embodiment of the application, first, the first electronic equipment can receive the target electric signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device. The first electronic device may then establish a target connection with the second electronic device in response to the pairing request sent by the second electronic device. Through the scheme, compared with the scheme that the electronic equipment in the related art can be connected with the wireless earphone under the condition of receiving the pairing request sent by the wireless earphone, the first electronic equipment can establish target connection with the second electronic equipment in response to the pairing request sent by the second electronic equipment only by receiving the target electric signal. Therefore, the application can lock the first electronic equipment and the second electronic equipment which need to establish target connection through the target electric signal, thereby improving the connection accuracy of the electronic equipment.
Optionally, in the embodiment of the present application, the first electronic device may establish the target connection with the second electronic device in at least two possible manners.
In a first possible implementation:
illustratively, in the case where the target electrical signal may include the first device information of the second electronic device, the method may further include the following steps 202a and 202b before the target connection is established with the second electronic device in response to the pairing request sent by the second electronic device in step 202:
Step 202a: the first electronic device transmits second device information to the second electronic device based on the target electrical signal.
The second device information is device information of the first electronic device. It will be appreciated that the second device information described above is used to indicate the first electronic device.
Illustratively, the second device information may include at least one of: device name, device model, physical address of the device. It should be noted that the second device information includes, but is not limited to, the three types of information described above.
For example, after receiving the target electrical signal, the first electronic device may determine the second electronic device according to the first device information included in the target electrical signal, and send the second device information to the second electronic device.
Step 202b: the first electronic device receives the pairing request.
Wherein the pairing request is sent by the second electronic device only to the first electronic device.
The second electronic device may determine the first electronic device according to the second device information after receiving the second device information fed back by the first electronic device, so that the second electronic device and the first electronic device may be locked with each other, and the second electronic device may accurately send the pairing request to the first electronic device.
For example, taking a first electronic device as a mobile phone and a second electronic device as a wireless headset including a headset case, when a user wants to connect the mobile phone and the wireless headset, the user can hold the headset case of the wireless headset with one hand and hold the mobile phone with the other hand. Then, when the user opens the earphone box of the wireless earphone, the earphone box may transmit an electric signal including the name of the wireless earphone and transmit using the human body as a conductor medium. Then, after the mobile phone receives the electric signal through the human body, the wireless earphone can be determined, and the name of the mobile phone is fed back to the wireless earphone. After the wireless earphone receives the name of the mobile phone fed back by the mobile phone, the mobile phone can be determined. In this way, the handset and the wireless headset can be locked to each other. Finally, the wireless earphone can only send a directional pairing request to the mobile phone, and after the mobile phone receives the directional pairing request, the mobile phone can respond to the directional pairing request to be paired with the wireless earphone.
It should be noted that, after the first electronic device and the second electronic device are paired, a specific connection process may refer to an existing manner, which is not described herein.
In a second possible implementation:
for example, the step 202 may specifically include the following step 202c:
Step 202c: and under the condition that the first electronic equipment determines to receive the target electric signal, responding to a pairing request sent by the second electronic equipment, and establishing target connection with the second electronic equipment.
The pairing request is sent by the second electronic device to a plurality of electronic devices including the first electronic device.
The target electrical signal may or may not include the first device information, which is not limited in the embodiment of the present application.
The first electronic device may receive the target electrical signal before receiving the pairing request, may receive the target electrical signal after receiving the pairing request, and may receive the target electrical signal while receiving the pairing request, which is not limited in the embodiment of the present application.
For example, taking a first electronic device as a mobile phone and a second electronic device as a wireless headset including a headset case, when a user wants to connect the mobile phone and the wireless headset, the user can hold the headset case of the wireless headset with one hand and hold the mobile phone with the other hand. Then, when the user opens the earphone box of the wireless earphone, the wireless earphone may transmit a pairing request and an electrical signal to the mobile phone, wherein the wireless earphone may transmit the electrical signal to the mobile phone using a human body as a conductor medium. Then, when the mobile phone receives the pairing request, the mobile phone can determine whether an electric signal is received, and when the electric signal is determined to be received, the mobile phone can respond to the pairing request to be in pairing connection with the wireless earphone.
When the user opens the earphone box of the wireless earphone, the wireless earphone can send a pairing request to the plurality of mobile phones, namely, the plurality of mobile phones can receive the pairing request, but only the mobile phone which receives the electric signal is determined to be in pairing connection with the wireless earphone.
The electronic equipment connection method in the embodiment of the application can be applied to the scene of improving the connection accuracy, in a first possible implementation manner, the first electronic equipment can determine the second electronic equipment through the received target electric signal, and feed back own equipment information to the second electronic equipment, so that mutual determination between the first electronic equipment and the second electronic equipment can be realized before the second electronic equipment sends a pairing request, and after the first electronic equipment receives the pairing request sent by the second electronic equipment, target connection can be established with the second electronic equipment, thereby improving the connection accuracy of the electronic equipment; in a second possible implementation manner, the first electronic device establishes the target connection with the second electronic device only when the first electronic device determines that the target electrical signal is received, so that the connection accuracy of the electronic device is improved.
Optionally, in the embodiment of the present application, the first electronic device may be connected to the second electronic device or not connected to the second electronic device according to the actual requirement of the user.
Illustratively, before establishing the target connection with the second electronic device in the step 202, the method may further include the following steps A1 and A2:
Step A1: and the first electronic equipment outputs the target prompt information.
The target prompt information is used for prompting whether a user establishes target connection with the second electronic equipment.
For example, the target prompt information may include at least one of the following: characters, voices and pictures are not limited to this embodiment of the present application. Illustratively, the character comprises at least one of: literal, numeric, alphabetic, symbolic.
For example, the first electronic device may display the target prompt information in the target dialog box. The target dialog box is used for inquiring whether the user establishes target connection with the second electronic device.
Illustratively, the target dialog may further include at least one option key. For example, a first option key and a second option key may be included in the target dialog.
The shape of the target dialog box may be any possible shape, such as a circle, a rectangle, a triangle, a diamond, a ring, or a polygon, and may be specifically determined according to practical use requirements, which is not limited by the embodiment of the present application.
For example, the first electronic device may display the target dialog box in a window.
Step A2: the first electronic device receives a first input from a user.
Wherein the first input is used to determine whether to establish a target connection with the second electronic device.
Illustratively, the first input may be: the click input of the user to the display screen of the first electronic device, or the voice instruction input by the user, or the specific gesture input by the user, may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be single click input, double click input or any time click input, and the like, and can also be long-press input or short-press input.
In an example, in a case where the first electronic device displays the target prompt information in the target dialog box, the click input of the user on the display screen of the first electronic device may be: and clicking input of the target dialog box by the user.
Based on the step A1 and the step A2, the establishing the target connection with the second electronic device in the step 202 may specifically include the following step A3:
Step A3: and the first electronic equipment establishes target connection with the second electronic equipment under the condition that the first input is the target input.
The target input is used to trigger the first electronic device to establish a target connection with the second electronic device.
Illustratively, the target inputs described above may be: the click input of the user to the display screen of the first electronic device, or the voice instruction input by the user, or the specific gesture input by the user, may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present application.
In one example, the target input may specifically be a click input of the first option key by the user.
Illustratively, after step A2 described above, the method may further include the following step A4:
step A4: and the first electronic equipment does not establish target connection with the second electronic equipment under the condition that the first input is the second input.
Wherein the second input is used to determine that the target connection is not established with the second electronic device.
Illustratively, the second input may be: the click input of the user to the display screen of the first electronic device, or the voice instruction input by the user, or the specific gesture input by the user, may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present application.
The target input is different from the second input. For example, where the target input may be an input that clicks on the display screen of the first electronic device, the second input may be an input that presses the display screen of the first electronic device long.
In one example, the second input may specifically be a click input of the second option key by the user.
For example, taking the first electronic device as a mobile phone and the second electronic device as a wireless headset including a headset box as an example, when the mobile phone receives a pairing request and an electrical signal sent by the wireless headset, as shown in fig. 2, the mobile phone may display a dialog box 32 in a mobile phone screen 31, where 2 option keys and the text "whether to perform headset pairing" are displayed in the dialog box 32. Wherein the 2 option keys are a "connect" option key 33 and a "cancel" option key 34, respectively. When the user wants to pair the mobile phone with the wireless earphone, the user can click on the "connect" option button 33 (i.e. the first option button described above), and at this time, the mobile phone is paired with the wireless earphone; when the user does not want to pair the handset with the wireless headset, the user may click the "cancel" option button 34 (i.e., the second option button described above) at which time the handset is not paired with the wireless headset.
The electronic equipment connection method provided by the embodiment of the application can be applied to a scene that whether the user selects to connect the electronic equipment or not, the first electronic equipment can assist the user in selecting by displaying the target dialog box, and then the user can select whether to connect the electronic equipment or not according to the requirement, so that the electronic equipment connection process is more flexible.
Further alternatively, in the embodiment of the present application, in order to reduce power consumption of the second electronic device, the first electronic device may instruct the second electronic device to stop sending the target electrical signal.
In one example, after the step A2, the method may further include the following step B1:
step B1: the first electronic device sends indication information to the second electronic device.
The indication information is used for indicating the second electronic equipment to stop sending the target electric signal.
It will be appreciated that the first electronic device may be triggered to send the indication information whether or not the user chooses to establish a target connection with the second electronic device.
The electronic equipment connection method provided by the embodiment of the application can be applied to the scene of reducing the power consumption of the second electronic equipment, and the first electronic equipment can send the indication information to indicate the second electronic equipment to stop sending the target electric signal, so that the power consumption of the second electronic equipment can be reduced, and the purpose of saving the electric quantity of the second electronic equipment is achieved.
Fig. 3 is a schematic flowchart of another electronic device connection method according to an embodiment of the present application, which is applied to a second electronic device, and includes steps 401 and 402:
step 401: the second electronic device transmits the target electrical signal and the pairing request.
Step 402: the second electronic device establishes a target connection with the first electronic device.
Wherein the target electrical signal is transmitted in the form of a current; the first electronic device is a device that receives the target electric signal and the pairing request.
In the embodiment of the present application, the first electronic device and the second electronic device may be both in the target state. For example, the target state may be bluetooth on or access to a network (e.g., access to the same lan), which is not limited by the embodiment of the present application.
In an embodiment of the application, the first electronic device has a first current sensor. The first current sensor is used for receiving the target electric signal. The first current sensor may be disposed inside the first electronic device (e.g., inside the mobile phone housing) or may be disposed outside the first electronic device (e.g., outside the mobile phone housing), which is not limited by the embodiment of the present application.
In the case where the first current sensor is provided inside the first electronic device, the transmission of the target electrical signal is not affected by the device such as the housing of the first electronic device, that is, the device such as the housing of the first electronic device may be conductive, so that the transmission of the target electrical signal is not blocked.
The first current sensor may be a dedicated current sensor for receiving the target electrical signal. For example, in the case where the first current sensor is provided inside the first electronic apparatus, the first current sensor may be kept insulated (or signal-shielded) from other devices inside the first electronic apparatus so that the other devices inside the first electronic apparatus do not receive the above-described target electrical signal.
In an embodiment of the application, the second electronic device has a second current sensor. The second current sensor is used for sending the target electric signal. The second current sensor may be disposed inside the second electronic device (for example, inside the earphone housing or inside the earphone box housing), or may be disposed outside the second electronic device (for example, outside the earphone housing or outside the earphone box housing), which is not limited by the embodiment of the present application.
In the case where the second current sensor is provided inside the second electronic device, the transmission of the target electric signal is not affected by the device such as the case of the second electronic device, that is, the device such as the case of the second electronic device may be conductive, so that the transmission of the target electric signal is not blocked.
It will be appreciated that the target electrical signal is transmitted by the second electronic device to the first electronic device.
In the embodiment of the present application, the second electronic device may directly transmit the target electrical signal to the first electronic device, or may indirectly transmit the target electrical signal to the first electronic device, which is not limited in the embodiment of the present application.
In one example, the second electronic device may transmit the target electrical signal directly to the first electronic device. For example, the second electronic device may be in direct contact with the first electronic device.
In another example, the second electronic device may indirectly transmit the target electrical signal to the first electronic device. In particular, the second electronic device may transmit the target electrical signal to the first electronic device using any conductive medium. For example, the second electronic device may transmit the target electrical signal to the first electronic device using the human body as a conductive medium.
For example, taking a first electronic device as a mobile phone and a second electronic device as a wireless headset including a headset case, when a user wants to connect the mobile phone and the wireless headset, the user can hold the headset case of the wireless headset with one hand and hold the mobile phone with the other hand. Then, when the user opens the earphone box of the wireless earphone, the earphone box can transmit an electric signal, and the electric signal can be received by the mobile phone finally by using the human body as a conductor medium for transmission.
It should be noted that, in the case that the second electronic device uses a human body as the conductive medium, in order to ensure that the human body is not damaged, the current corresponding to the target electrical signal is less than or equal to the human body safety current.
In the embodiment of the present application, the pairing request may be sent by the second electronic device to a plurality of electronic devices including the first electronic device; or in the case that the second electronic device and the first electronic device determine each other, the second electronic device only sends to the first electronic device, which is not limited by the embodiment of the present application. In the embodiment of the present application, the pairing request may be sent by the second electronic device to the first electronic device through bluetooth, or a network, etc.
According to the electronic equipment connection method provided by the embodiment of the application, first, the second electronic equipment can send the target electric signal and the pairing request. The second electronic device may then establish a target connection with the first electronic device. Wherein the target electrical signal is transmitted in the form of a current; the first electronic device is a device that receives the target electric signal and the pairing request. Through the scheme, compared with the scheme that the electronic equipment in the related art can be connected with the wireless earphone under the condition that the electronic equipment receives the pairing request sent by the wireless earphone, the second electronic equipment can send the target electric signal and the pairing request, so that the first electronic equipment can be connected with the second electronic equipment under the condition that the first electronic equipment receives the target electric signal and the pairing request, and therefore the first electronic equipment and the second electronic equipment which need to be connected with the target can be locked through the target electric signal, and the connection accuracy of the electronic equipment can be improved.
Optionally, in the embodiment of the present application, the step 401 may specifically include the following steps 401a and 401b:
Step 401a: the second electronic device transmits the target electrical signal.
Wherein the target electrical signal includes first device information of the second electronic device.
It should be noted that, the above-mentioned target electrical signal may include the first device information of the second electronic device may be understood as: the target electrical signal may carry first device information of the second electronic device.
Illustratively, the first device information may include at least one of: device name, device model, physical address of the device. It should be noted that the first device information includes, but is not limited to, the foregoing three types of information.
In the embodiment of the present application, the second electronic device may continuously send the target electrical signal. It should be noted that, the continuous transmission of the target electrical signal by the second electronic device may be understood as: the second electronic device continuously transmits the target electrical signal or the second electronic device transmits the target electrical signal at predetermined time intervals (e.g., every 1 second). It can be appreciated that the first electronic device may remain in a receiving state all the time, so as to ensure that the target electrical signal may be received at any time.
Step 401b: and the second electronic equipment determines the first electronic equipment under the condition of receiving the second equipment information, and only sends a pairing request to the first electronic equipment.
The second device information is device information fed back by the first electronic device receiving the target electric signal. It will be appreciated that the second device information described above is used to indicate the first electronic device.
Illustratively, the second device information may include at least one of: device name, device model, physical address of the device. It should be noted that the second device information includes, but is not limited to, the three types of information described above.
In an exemplary embodiment, after the second electronic device receives the second device information fed back by the first electronic device, the second electronic device may determine the first electronic device according to the second device information, so that the second electronic device and the first electronic device may be locked with each other, and thus the second electronic device may accurately send the pairing request only to the first electronic device.
For example, taking a first electronic device as a mobile phone and a second electronic device as a wireless headset including a headset case, when a user wants to connect the mobile phone and the wireless headset, the user can hold the headset case of the wireless headset with one hand and hold the mobile phone with the other hand. Then, when the user opens the earphone box of the wireless earphone, the earphone box may transmit an electric signal including the name of the wireless earphone and transmit using the human body as a conductor medium. Then, after the mobile phone receives the electric signal through the human body, the wireless earphone can be determined, and the name of the mobile phone is fed back to the wireless earphone. After the wireless earphone receives the name of the mobile phone fed back by the mobile phone, the mobile phone can be determined. In this way, the handset and the wireless headset can be locked to each other. Finally, the wireless earphone can only send a directional pairing request to the mobile phone, and after the mobile phone receives the directional pairing request, the mobile phone can be in pairing connection with the wireless earphone.
It should be noted that, after the first electronic device and the second electronic device are paired, a specific connection process may refer to an existing manner, which is not described herein.
The electronic equipment connection method in the embodiment of the application can be applied to the scene of improving the connection accuracy, the second electronic equipment can send the equipment information of the second electronic equipment to the first electronic equipment, then the second electronic equipment can determine the first electronic equipment after receiving the second equipment information fed back by the first electronic equipment, and only send the pairing request to the first electronic equipment, so that the connection accuracy of the electronic equipment can be improved.
Optionally, in an embodiment of the present application, after the step 401, the method may further include the following step 403 and step 404:
Step 403: the second electronic device receives the indication information sent by the first electronic device.
The indication information is used for indicating the second electronic device to stop sending the target electric signal.
Step 404: and the second electronic equipment stops sending the target electric signal according to the indication information.
The electronic equipment connection method provided by the embodiment of the application can be applied to the scene of reducing the power consumption of the second electronic equipment, and the second electronic equipment can stop sending the target electric signal after receiving the indication information, so that the power consumption of the second electronic equipment can be reduced, and the purpose of saving the electric quantity of the second electronic equipment is achieved.
Optionally, in the embodiment of the present application, in the case where the second electronic device includes a functional device and a case, the step 401a may specifically include the following step 401a1:
Step 401a1: and the second electronic equipment transmits the target electric signal under the condition that the outer box is in an open state.
For example, the second electronic device may not transmit the target electric signal in a case where the above-described casing is in the closed state.
For example, taking the second electronic device as a wireless earphone including an earphone box as an example, when the earphone box of the wireless earphone is in a closed state, the earphone box does not send an electric signal; when the earphone box of the wireless earphone is in an open state, the current sensor in the earphone box can continuously send an electric signal.
Based on the step 401a1, the step 402 may specifically include the following step 402a:
step 402a: and the second electronic equipment establishes target connection with the first electronic equipment by adopting the functional device.
By way of example, the functional device described above may be any of the following: wireless earphone (e.g. bluetooth earphone), wireless bracelet (e.g. bluetooth bracelet), wireless wrist-watch (e.g. bluetooth bracelet).
The functional device may be any device capable of short-distance communication connection.
For example, taking the first electronic device as a mobile phone and the second electronic device as a wireless earphone including an earphone box, when the earphone box (i.e. the outer box) of the wireless earphone is in an open state, the current sensor in the earphone box can continuously send an electrical signal. The final wireless headset (i.e. the functional device described above) can be coupled to the handset pair.
The electronic equipment connection method provided by the embodiment of the application can be applied to the scene of flexibly controlling the transmission of the target electric signal, the second electronic equipment can transmit the target electric signal under the condition that the outer box is in the open state, and the second electronic equipment does not transmit the target electric signal under the condition that the outer box is in the closed state, so that the second electronic equipment can flexibly control the transmission of the target electric signal.
It should be noted that, in the electronic device connection method provided in the embodiment of the present application, the execution body may be an electronic device connection apparatus, or a control module in the electronic device connection apparatus for executing the electronic device connection method. In the embodiment of the application, an electronic device connection device is taken as an example to execute an electronic device connection method, and the electronic device connection device provided by the embodiment of the application is described.
Fig. 4 is a schematic diagram of a possible structure of an electronic device connection apparatus according to an embodiment of the present application, where the first electronic device may be the electronic device connection apparatus, or the first electronic device may include the electronic device connection apparatus.
As shown in fig. 4, the electronic device connection apparatus 500 includes: a receiving module 501 and a connecting module 502; a receiving module 501 for receiving a target electrical signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device; the connection module 502 is configured to establish a target connection with a second electronic device in response to a pairing request sent by the second electronic device.
Optionally, as shown in fig. 4, the electronic device connection apparatus 500 further includes: a transmitting module 503; the target electrical signal comprises first equipment information of the second electronic equipment; a transmitting module 503, configured to transmit second device information to a second electronic device based on the target electrical signal; the receiving module 501 is further configured to receive a pairing request, where the pairing request is sent by the second electronic device only to the first electronic device; the second device information is device information of the first electronic device.
Optionally, as shown in fig. 4, the electronic device connection apparatus 500 further includes: a sending module 503 and an executing module 504; the execution module 504 is configured to output target prompt information, where the target prompt information is used to prompt a user whether to establish a target connection with the second electronic device; the receiving module 501 is further configured to receive a first input from a user, where the first input is used to determine whether to establish a target connection with a second electronic device; the connection module 502 is specifically configured to establish a target connection with the second electronic device when the first input received by the receiving module 501 is a target input; a sending module 503, configured to send indication information to the second electronic device, where the indication information is used to instruct the second electronic device to stop sending the target electrical signal.
It should be noted that, as shown in fig. 4, modules that are necessarily included in the electronic device connection apparatus 500 are illustrated by solid line boxes, such as the receiving module 501; the modules that may or may not be included in the electronic device connection apparatus 500 are indicated by dashed boxes, such as the sending module 503.
The electronic equipment connecting device provided by the embodiment of the application can receive the target electric signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device. Then, the electronic device connection apparatus may establish a target connection with the second electronic device in response to the pairing request transmitted by the second electronic device. Through the scheme, compared with the scheme that the electronic equipment can be connected with the wireless earphone under the condition that the electronic equipment receives the pairing request sent by the wireless earphone in the related art, the electronic equipment connecting device can establish target connection with the second electronic equipment in response to the pairing request sent by the second electronic equipment only by receiving the target electric signal. Therefore, the application can lock the first electronic equipment and the second electronic equipment which need to establish target connection through the target electric signal, thereby improving the connection accuracy of the electronic equipment.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
The electronic device connection apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The electronic device connection apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The electronic device connection apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 and fig. 2, and in order to avoid repetition, a description is omitted here.
Fig. 5 is a schematic diagram of another possible structure of an electronic device connection apparatus according to an embodiment of the present application, where the second electronic device may be the electronic device connection apparatus, or the second electronic device may include the electronic device connection apparatus.
As shown in fig. 5, the electronic device connection apparatus 600 includes: a transmitting module 601 and a connecting module 602; a transmitting module 601 for transmitting a target electrical signal and a pairing request, the target electrical signal being transmitted in a current form; a connection module 602, configured to establish a target connection with a first electronic device; the first electronic device is a device that receives the target electrical signal and the pairing request.
Optionally, a transmitting module 601 is specifically configured to transmit the target electrical signal; under the condition that the second equipment information is received, determining a first electronic equipment, and sending a pairing request to the first electronic equipment only; the target electrical signal comprises first equipment information of second electronic equipment, and the second equipment information is equipment information fed back by the first electronic equipment receiving the target electrical signal.
Optionally, as shown in fig. 5, the electronic device connection apparatus 600 further includes: a receiving module 603; a receiving module 603, configured to receive indication information sent by the first electronic device; the sending module 601 is further configured to stop sending the target electrical signal according to the instruction information received by the receiving module 603.
Optionally, the second electronic device comprises a functional device and an outer box; a transmitting module 601, specifically configured to transmit the target electrical signal when the outer box is in an open state; the connection module 602 is specifically configured to establish a target connection with the first electronic device by using the above-mentioned functional device.
It should be noted that, as shown in fig. 5, modules that are necessarily included in the electronic device connection apparatus 600 are illustrated by solid line boxes, such as a transmitting module 601; the modules that may or may not be included in the electronic device connection apparatus 600 are indicated by dashed boxes, such as the receiving module 603.
According to the electronic equipment connecting device provided by the embodiment of the application, firstly, the electronic equipment connecting device can send the target electric signal and the pairing request. The electronic device connection means may then establish a target connection with the first electronic device. Wherein the target electrical signal is transmitted in the form of a current; the first electronic device is a device that receives the target electric signal and the pairing request. Through the scheme, compared with the scheme that the electronic equipment can be connected with the wireless earphone under the condition that the electronic equipment receives the pairing request sent by the wireless earphone in the related art, the electronic equipment connecting device can send the target electric signal and the pairing request, so that the first electronic equipment can be connected with the second electronic equipment under the condition that the first electronic equipment receives the target electric signal and the pairing request, and the first electronic equipment and the second electronic equipment which need to be connected with the target can be locked through the target electric signal, so that the connection accuracy of the electronic equipment can be improved.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
The electronic device connection apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a wireless headset, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The electronic device connection apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The electronic device connection apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 3, and in order to avoid repetition, a description thereof will not be repeated here.
Optionally, as shown in fig. 6, an embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and capable of running on the processor 701, where the program or the instruction implements each process of the above embodiment of the connection method of an electronic device when executed by the processor 701, and the process can achieve the same technical effects, and for avoiding repetition, a description is omitted herein.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the radio frequency unit 101 is configured to receive a target electrical signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device; the processor 110 is configured to establish a target connection with a second electronic device in response to a pairing request sent by the second electronic device.
Optionally, the target electrical signal includes first device information of the second electronic device; the radio frequency unit 101 is further configured to send second device information to a second electronic device based on the target electrical signal; and receiving a pairing request, the pairing request being sent by the second electronic device only to the first electronic device; the second device information is device information of the first electronic device.
Optionally, the processor 110 is further configured to output a target prompt, where the target prompt is configured to prompt the user whether to establish a target connection with the second electronic device; a user input unit 107 for receiving a first input of a user for determining whether to establish a target connection with a second electronic device; the processor 110 is specifically configured to establish a target connection with the second electronic device when the first input received by the user input unit 107 is a target input; the radio frequency unit 101 is further configured to send indication information to the second electronic device, where the indication information is used to instruct the second electronic device to stop sending the target electrical signal.
The electronic device provided by the embodiment of the application is a first electronic device, and firstly, the first electronic device can receive a target electric signal; wherein the target electrical signal is transmitted in the form of a current by the second electronic device. The first electronic device may then establish a target connection with the second electronic device in response to the pairing request sent by the second electronic device. Through the scheme, compared with the scheme that the electronic equipment in the related art can be connected with the wireless earphone under the condition of receiving the pairing request sent by the wireless earphone, the first electronic equipment can establish target connection with the second electronic equipment in response to the pairing request sent by the second electronic equipment only by receiving the target electric signal. Therefore, the application can lock the first electronic equipment and the second electronic equipment which need to establish target connection through the target electric signal, thereby improving the connection accuracy of the electronic equipment.
Or alternatively
Wherein, the radio frequency unit 101 is configured to send a target electrical signal and a pairing request, where the target electrical signal is transmitted in a current form; a processor 110 for establishing a target connection with a first electronic device; the first electronic device is a device that receives the target electrical signal and the pairing request.
Optionally, the radio frequency unit 101 is specifically configured to send the target electrical signal; under the condition that the second equipment information is received, determining a first electronic equipment, and sending a pairing request to the first electronic equipment only; the target electrical signal comprises first equipment information of second electronic equipment, and the second equipment information is equipment information fed back by the first electronic equipment receiving the target electrical signal.
Optionally, the radio frequency unit 101 is further configured to receive indication information sent by the first electronic device; and stopping transmitting the target electric signal according to the indication information.
Optionally, the second electronic device comprises a functional device and an outer box; a radio frequency unit 101, specifically configured to send the above-mentioned target electrical signal when the outer case is in an open state; the processor 110 is specifically configured to establish a target connection with the first electronic device using the functional device.
The electronic device provided by the embodiment of the application is a second electronic device, and first, the second electronic device can send the target electric signal and the pairing request. The second electronic device may then establish a target connection with the first electronic device. Wherein the target electrical signal is transmitted in the form of a current; the first electronic device is a device that receives the target electric signal and the pairing request. Through the scheme, compared with the scheme that the electronic equipment in the related art can be connected with the wireless earphone under the condition that the electronic equipment receives the pairing request sent by the wireless earphone, the second electronic equipment can send the target electric signal and the pairing request, so that the first electronic equipment can be connected with the second electronic equipment under the condition that the first electronic equipment receives the target electric signal and the pairing request, and therefore the first electronic equipment and the second electronic equipment which need to be connected with the target can be locked through the target electric signal, and the connection accuracy of the electronic equipment can be improved.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g. a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned electronic device connection method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein 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 Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the electronic equipment connection method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (12)

1. An electronic device connection method applied to a first electronic device, the method comprising:
receiving a target electrical signal; wherein the target electrical signal is transmitted by a second electronic device in a current form, and the target electrical signal comprises first device information of the second electronic device;
Transmitting second equipment information to the second electronic equipment based on the target electric signal, wherein the second equipment information is the equipment information of the first electronic equipment;
receiving a pairing request sent by the second electronic equipment, wherein the pairing request is sent by the second electronic equipment only to the first electronic equipment determined by the second electronic equipment through Bluetooth;
and responding to the pairing request, and establishing target connection with the second electronic equipment.
2. The method of claim 1, wherein prior to establishing a target connection with the second electronic device, the method further comprises:
Outputting target prompt information, wherein the target prompt information is used for prompting a user whether to establish target connection with the second electronic equipment;
receiving a first input of a user, wherein the first input is used for determining whether to establish a target connection with the second electronic equipment;
The establishing the target connection with the second electronic device includes:
establishing a target connection with the second electronic device when the first input is a target input;
After receiving the first input of the user, the method further comprises:
And sending indication information to the second electronic equipment, wherein the indication information is used for indicating the second electronic equipment to stop sending the target electric signal.
3. An electronic device connection method applied to a second electronic device, the method comprising:
transmitting a target electrical signal and a pairing request, wherein the target electrical signal is transmitted in a current form and comprises first equipment information of the second electronic equipment;
Under the condition that second equipment information is received and a first electronic equipment is determined according to the second equipment information, only a pairing request is sent to the first electronic equipment through Bluetooth; the second device information is device information fed back by the first electronic device which receives the target electric signal;
establishing a target connection with a first electronic device; the first electronic device is a device which receives the target electric signal and the pairing request.
4. A method according to claim 3, wherein after transmitting the target electrical signal, the method further comprises:
Receiving indication information sent by the first electronic equipment;
And stopping sending the target electric signal according to the indication information.
5. A method according to claim 3, wherein the second electronic device comprises a functional device and a casing;
The transmission target electrical signal includes:
transmitting a target electrical signal in a case where the outer case is in an open state;
the establishing a target connection with the first electronic device includes:
and establishing target connection with the first electronic equipment by adopting the functional device.
6. An electronic device connecting apparatus applied to a first electronic device, characterized in that the electronic device connecting apparatus includes: the device comprises a receiving module, a sending module and a connecting module;
The receiving module is used for receiving the target electric signal; wherein the target electrical signal is transmitted by a second electronic device in a current form, and the target electrical signal comprises first device information of the second electronic device;
the sending module is configured to send second device information to the second electronic device based on the target electrical signal, where the second device information is device information of the first electronic device;
The receiving module is further configured to receive a pairing request, where the pairing request is sent by the second electronic device through bluetooth only to the first electronic device determined by the second electronic device;
And the connection module is used for responding to the pairing request sent by the second electronic equipment and establishing target connection with the second electronic equipment.
7. The electronic device connection apparatus of claim 6, further comprising: an execution module;
The execution module is used for outputting target prompt information, and the target prompt information is used for prompting a user whether to establish target connection with the second electronic equipment;
The receiving module is further configured to receive a first input of a user, where the first input is used to determine whether to establish a target connection with the second electronic device;
The connection module is specifically configured to establish a target connection with the second electronic device when the first input received by the receiving module is a target input;
The sending module is further configured to send indication information to the second electronic device, where the indication information is used to instruct the second electronic device to stop sending the target electrical signal.
8. An electronic device connecting apparatus applied to a second electronic device, characterized in that the electronic device connecting apparatus includes: a transmitting module and a connecting module;
the sending module is used for sending a target electric signal and a pairing request, wherein the target electric signal is transmitted in a current form and comprises first equipment information of the second electronic equipment;
The sending module is specifically configured to send the target electrical signal, and send a pairing request only to the first electronic device through bluetooth when receiving the second device information and determining the first electronic device according to the second device information; the second device information is device information fed back by the first electronic device which receives the target electric signal;
The connection module is used for establishing target connection with the first electronic equipment; the first electronic device is a device which receives the target electric signal and the pairing request.
9. The electronic device connection apparatus of claim 8, wherein the electronic device connection apparatus further comprises: a receiving module;
The receiving module is used for receiving the indication information sent by the first electronic equipment;
and the sending module is further used for stopping sending the target electric signal according to the indication information received by the receiving module.
10. The electronic device connection apparatus of claim 8, wherein the second electronic device comprises a functional device and an enclosure;
the sending module is specifically used for sending a target electric signal under the condition that the outer box is in an open state;
The connection module is specifically configured to establish a target connection with the first electronic device by using the functional device.
11. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the electronic device connection method of claim 1 or 2, or any of claims 3 to 5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions, which when executed by a processor, implement the steps of the electronic device connection method of claim 1 or 2, or any of claims 3 to 5.
CN202011566735.2A 2020-12-25 2020-12-25 Electronic equipment connection method and device and electronic equipment Active CN112738908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011566735.2A CN112738908B (en) 2020-12-25 2020-12-25 Electronic equipment connection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011566735.2A CN112738908B (en) 2020-12-25 2020-12-25 Electronic equipment connection method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112738908A CN112738908A (en) 2021-04-30
CN112738908B true CN112738908B (en) 2024-05-28

Family

ID=75616477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011566735.2A Active CN112738908B (en) 2020-12-25 2020-12-25 Electronic equipment connection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112738908B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905989A (en) * 2014-04-23 2014-07-02 天翼爱音乐文化科技有限公司 Mobile terminal pairing triggering method and system
CN111586662A (en) * 2020-05-22 2020-08-25 维沃移动通信有限公司 Sharing method and audio output device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090233548A1 (en) * 2008-03-13 2009-09-17 Sony Ericsson Mobile Communications Ab Skin-based information transfer between mobile devices
US9622020B2 (en) * 2012-09-24 2017-04-11 Sony Corporation Communication device and communication method
FR3044495A1 (en) * 2015-11-30 2017-06-02 Orange WIRELESS COMMUNICATION DEVICE AND METHOD

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905989A (en) * 2014-04-23 2014-07-02 天翼爱音乐文化科技有限公司 Mobile terminal pairing triggering method and system
CN111586662A (en) * 2020-05-22 2020-08-25 维沃移动通信有限公司 Sharing method and audio output device

Also Published As

Publication number Publication date
CN112738908A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN111061574B (en) Object sharing method and electronic device
CN108255378B (en) Display control method and mobile terminal
CN108563378B (en) Message management method and terminal
CN111049663A (en) Method, electronic device and medium for creating topic group
CN109407921B (en) Application processing method and terminal device
CN110062105B (en) Interface display method and terminal equipment
CN110196667B (en) Notification message processing method and terminal
CN110837327B (en) Message viewing method and terminal
CN109871164B (en) Message sending method and terminal equipment
US20170364257A1 (en) Gesture control method, gesture control device and gesture control system
CN108762705B (en) Information display method, mobile terminal and computer readable storage medium
CN109085968B (en) Screen capturing method and terminal equipment
CN110865745A (en) Screen capturing method and terminal equipment
CN107992342B (en) Application configuration changing method and mobile terminal
CN110196668B (en) Information processing method and terminal equipment
CN109407949B (en) Display control method and terminal
CN109189303B (en) Text editing method and mobile terminal
CN108681427B (en) Access right control method and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN109508136B (en) Display method of application program and mobile terminal
CN110049486B (en) SIM card selection method and terminal equipment
CN110971970B (en) Video processing method and electronic equipment
WO2020192322A1 (en) Display method and terminal device
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
WO2023030129A1 (en) Message display method, apparatus and electronic device

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