Connection method and electronic equipment
By collecting environmental information and recognizing objects in electronic devices, the problem of frequent pairing errors in Bluetooth devices is solved, achieving a more efficient and accurate connection process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LENOVO (BEIJING) LTD
- Filing Date
- 2026-01-31
- Publication Date
- 2026-05-01
AI Technical Summary
Existing Bluetooth device pairing connections are prone to errors, especially when multiple Bluetooth devices are turned on.
By setting up acquisition components in electronic devices, environmental information is collected and object recognition is performed to determine the target object to be connected. Then, by matching the recognition model with the device information, an accurate communication connection is established.
It improves connection accuracy, reduces the probability of erroneous connections, and ensures connection precision and efficiency.
Smart Images

Figure CN121968367A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a connection method and an electronic device. Background Technology
[0002] In existing communication connection solutions, such as pairing an electronic device with a Bluetooth device by tapping it, it is easy to cause incorrect connections if other Bluetooth devices are also enabled for pairing. Summary of the Invention
[0003] The purpose of this application is to provide a connection method and an electronic device.
[0004] In a first aspect, embodiments of this application provide a connection method applied to an electronic device, the connection method comprising:
[0005] In response to receiving a trigger signal, the first acquisition component of the electronic device is controlled to switch from a non-working state to a working state, acquire environmental information of the electronic device, and obtain the acquired image information; Object recognition is performed on the acquired image information to identify the target object to be connected. The acquired image information includes multiple objects. In response to a connection request from the target object, a target communication connection is established with the target object.
[0006] In some embodiments, object recognition is performed on the acquired image information to determine the target object to be connected from the acquired image information, including: By using a recognition model to identify image information, at least one object can be identified. Determine whether the object is a communicable connection object; If the object is determined to be a communicable object, the object is matched with the device information stored in the electronic device to obtain the first matching result; If the first matching result meets the preset matching requirements, then the object is determined to be the target object to be connected; If the first matching result does not meet the preset matching requirements, target communication scanning is initiated to obtain information about surrounding devices. The obtained device information is then matched with the object to obtain a second matching result. If the second matching result meets the preset matching requirements, the object is determined to be the target object to be connected.
[0007] In some embodiments, matching the object with device information stored in the electronic device to obtain a first matching result includes: The feature information of the object is extracted to obtain multiple keyword information of the object; Based on the keyword information of the object, the first matching result is obtained by querying the device identification information that matches the keyword information in the device configuration table stored in the electronic device.
[0008] In some embodiments, the process of generating the device configuration table includes: Acquire image information of devices that have established a target communication connection with electronic devices; Image information is identified using a recognition model to obtain multiple keyword information; Establish a correspondence between keyword information and equipment identification information to generate an equipment configuration table.
[0009] In some embodiments, the first acquisition component further includes a sound acquisition component, and the acquisition information further includes sound information; the method further includes: If multiple target objects to be connected are identified, then one target object to be connected is determined from the multiple target objects based on the user operation information in the image information; wherein, the user operation information includes at least one of user instruction information and user action information; or, If multiple target objects to be connected are identified, then one target object to be connected is determined from the multiple target objects based on the sound information; wherein, the sound information includes the sound information indicated by the user.
[0010] In some embodiments, the process of generating the trigger signal includes: The second acquisition component of the electronic device acquires continuous vibration information generated by continuous touch operations of an external target object on the electronic device. Determine whether continuous vibration information meets preset conditions; A trigger signal is generated when continuous vibration information meets preset conditions.
[0011] In some embodiments, the continuous vibration information includes at least first vibration information and second vibration information, and the first vibration information and the second vibration information are spaced apart by a first duration. In addition, determining whether continuous vibration information meets the second preset condition includes: Determine whether the amplitude of the first vibration information meets the first preset amplitude requirement, whether the amplitude of the second vibration information meets the second preset amplitude requirement, and whether the first duration meets the preset duration requirement; Furthermore, when continuous vibration information meets preset conditions, a trigger signal is generated, including: A trigger signal is generated when the amplitude of the first vibration information meets the first preset amplitude requirement, the amplitude of the second vibration information meets the second preset amplitude requirement, and the first duration meets the preset duration requirement.
[0012] In some embodiments, the process of generating the trigger signal includes: Detect whether a pairing request is received from an external target object broadcast; if a pairing request is received from an external target object broadcast, a trigger signal is generated; or, The target user is identified through facial recognition, and a Bluetooth scan is triggered based on the target user's login signal. When Bluetooth pairing information or connection history information is determined through Bluetooth scanning, a trigger signal is generated.
[0013] In some embodiments, environmental information of the electronic device is collected to obtain the collected information, including: If the acquired image information does not meet the preset requirements, the acquisition angle of the first acquisition component is controlled by a calibration algorithm to re-acquire; or, If the captured image information does not meet the preset requirements, a prompt message is generated to remind the user to change the posture of the electronic device.
[0014] Secondly, embodiments of this application provide an electronic device, including a first body and a second body rotatably connected, a first acquisition component disposed on the first body and / or the second body, and the electronic device further including a memory and a processor. The memory stores an executable program, and the processor executes the executable program to achieve the following steps: In response to receiving a trigger signal, the first acquisition component of the electronic device is controlled to switch from a non-working state to a working state, acquire environmental information of the electronic device, and obtain the acquired image information; Object recognition is performed on the acquired image information to identify the target object to be connected. The acquired image information includes multiple objects. In response to a connection request from the target object, a target communication connection is established with the target object. Attached Figure Description
[0015] Figure 1 A flowchart illustrating a connection method provided in an embodiment of this application; Figure 2 A flowchart illustrating another connection method provided in an embodiment of this application; Figure 3 A flowchart illustrating yet another connection method provided in an embodiment of this application; Figure 4 A flowchart illustrating another connection method provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating a user gesture pointing at a mouse, as provided in an embodiment of this application. Detailed Implementation
[0016] Various embodiments and features of this application are described herein with reference to the accompanying drawings.
[0017] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.
[0018] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0019] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.
[0020] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application.
[0021] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.
[0022] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this application, which can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.
[0023] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.
[0024] This application provides a connection method applied to an electronic device, wherein the electronic device can be a PC (personal computer), such as a desktop computer, laptop computer, mini-laptop, tablet computer, and ultrabook. See also Figure 1 As shown, the connection method includes: S10, in response to receiving a trigger signal, control the first acquisition component of the electronic device to switch from a non-working state to a working state, acquire environmental information of the electronic device, and obtain the acquired image information; Optionally, the trigger signal can be a trigger signal generated based on detected vibration information that meets preset conditions. This vibration information can be a single vibration or continuous vibration. The trigger signal can also be a trigger signal generated based on a detected pairing request broadcast from an external object, or a trigger signal generated based on a Bluetooth scan triggered by a target user's login signal or through historical communication connections.
[0025] Among them, combined Figures 2 to 4 As shown, the first acquisition component may include a camera component. In response to receiving a trigger signal, the electronic device controls the camera component to turn on, and the camera component switches from a non-working state to a working state. The camera component begins to acquire environmental information of the electronic device and obtains the acquired image information.
[0026] S20, perform object recognition on the acquired image information, determine the target object to be connected from the acquired image information, the acquired image information includes multiple objects; Optionally, the acquired image information may include multiple objects, such as books, keyboards, mice, etc. These multiple objects may include those that can communicate with each other, such as mice and keyboards, or they may include those that cannot communicate with each other, such as books.
[0027] Electronic devices perform object recognition on the collected image information and understand user intent to determine the target object to be connected from the collected image information. For example, if the collected image information includes a book, a mouse, and a keyboard, object recognition can determine that the target object to be connected is the mouse.
[0028] S30, in response to the request to obtain a connection from the target object, establish a target communication connection with the target object.
[0029] Optionally, after the electronic device identifies the mouse to be connected, it establishes a target communication connection with the mouse based on the connection request received from the mouse. This target communication connection can be a Bluetooth communication connection or another type of communication connection.
[0030] The connection method provided in this application embodiment firstly controls the first acquisition component to acquire environmental information of the electronic device based on the obtained trigger signal. Then, it performs object recognition on the acquired image information and determines the target object to be connected from the acquired image information, thereby accurately establishing a target communication connection with the target object, greatly improving the accuracy of the connection and reducing the probability of possible incorrect connections.
[0031] In some embodiments, object recognition is performed on the acquired image information to determine the target object to be connected from the acquired image information, including: By using a recognition model to identify image information, at least one object can be identified. Determine whether the object is a communicable connection object; If the object is determined to be a communicable object, the object is matched with the device information stored in the electronic device to obtain the first matching result; If the first matching result meets the preset matching requirements, then the object is determined to be the target object to be connected; If the first matching result does not meet the preset matching requirements, target communication scanning is started to obtain information about surrounding devices. The obtained device information is then matched with the object to obtain a second matching result. If the second matching result meets the preset matching requirements, the object is determined to be the target object to be connected.
[0032] In this embodiment, the recognition model can be a model that comes with the camera component itself, or a large model on the electronic device. This application does not impose any particular limitation.
[0033] For example, the collected image information is identified using a recognition model to determine three objects, such as a book, a mouse, and a keyboard. Then, it is determined whether these three objects are communicatively connected. If the mouse and keyboard are determined to be communicatively connected, their information is matched against the device information stored in the electronic device to obtain a matching result.
[0034] Device information may include device type, name (e.g., mouse), structural features (e.g., shape, size, color, etc.).
[0035] Optionally, if the first matching result meets the preset matching requirements, then the object is determined to be the target object to be connected, including: If the first matching result is a perfect match, then the object is determined to be the target object to be connected. For example, based on the matching result, if it is determined that the mouse completely matches the device information stored in the electronic device, then the mouse is determined to be the target object to be connected. If the first matching result does not meet the requirement of a complete match, then it is further determined whether the first matching result meets the requirement of a confidence interval match. If the matching result meets the requirement of a confidence interval match, then the object is determined to be the target object to be connected. The preset matching requirements include both complete matching and confidence interval matching.
[0036] A perfect match means that the identified object is exactly the same as the device information stored in the electronic device, such as the identified object matching the device information stored in the electronic device by 100%.
[0037] Confidence interval matching refers to the matching information between the identified object and the device information stored in the electronic device meeting a preset confidence interval, such as 80% to 100%. If the identified object matches the device information stored in the electronic device by 90%, it falls within the preset confidence interval, and the matching result is considered to meet the confidence interval matching requirement. If a complete match is not possible, the closest device is selected as the first priority to determine the target object to be connected.
[0038] If the matching result does not meet the preset matching requirements, target communication scanning is started to obtain information about surrounding devices. The obtained device information is then matched with the object. If a match is determined, the object is identified as the target object to be connected.
[0039] For example, if the matching result does not meet the preset matching requirements, Bluetooth scanning is started to actively obtain device information such as the type and name of surrounding devices, and the obtained device information is matched with the identified object. If a match is determined, the object is identified as the target object to be connected.
[0040] In some embodiments, matching the object with device information stored in the electronic device to obtain a first matching result includes: The feature information of the object is extracted to obtain multiple keyword information of the object; Based on the keyword information of the object, the first matching result is obtained by querying the device identification information that matches the keyword information in the device configuration table stored in the electronic device.
[0041] For example, the object includes a mouse, and the characteristic information of the mouse (such as device type, name, and structural features) is extracted. The extracted characteristic information includes multiple keywords such as device type is input device, device name is mouse, and structural features are square and white.
[0042] Based on multiple keywords from the mouse, matching results are obtained by querying the device identifier information that matches the keyword information in the device configuration table stored in the electronic device.
[0043] The equipment configuration table includes multiple keyword information corresponding to the equipment identification information, such as equipment type, name, and structural characteristics.
[0044] In some embodiments, the process of generating the device configuration table includes: Acquire image information of devices that have established a target communication connection with electronic devices; Image information is identified using a recognition model to obtain multiple keyword information; Establish a correspondence between keyword information and equipment identification information to generate an equipment configuration table.
[0045] For example, a mouse has already established a target communication connection with an electronic device. By activating the camera component of the electronic device to collect information about the mouse, image information of the mouse is obtained. This image information is then identified using a recognition model to obtain multiple keyword information such as the mouse's device type, name, and structural features. These keyword information are then mapped to the mouse's identification information to generate a device configuration table.
[0046] Similarly, devices that have already established target communication connections with electronic devices, such as mice, keyboards, and speakers, are all associated with electronic devices to generate a device configuration table.
[0047] In some embodiments, the first acquisition component further includes a sound acquisition component, and the acquisition information further includes sound information; the connection method further includes: If multiple target objects to be connected are identified, then one target object to be connected is determined from the multiple target objects based on the user operation information in the image information; wherein, the user operation information includes at least one of user instruction information and user action information; or, If multiple target objects to be connected are identified, then one target object to be connected is determined from the multiple target objects based on the sound information; wherein, the sound information includes the sound information indicated by the user.
[0048] For example, combined Figure 5 As shown, if both mice in the captured image information are target objects to be connected, then based on the user's finger indication in the image information, one of the mice is determined to be the target object to be connected. The user indication information can be a user gesture pointing, and the user action information can be actions such as holding, gripping, or shaking the mouse. In this embodiment, by capturing user action information from the image, the target object to be connected can be further accurately identified.
[0049] For example, the target object to be connected can also be determined based on the collected user-instructed audio information, such as "the mouse on the right". In this embodiment, the collected user-instructed audio information can further accurately identify the target object to be connected.
[0050] In some embodiments, the process of generating the trigger signal includes: The second acquisition component of the electronic device acquires continuous vibration information generated by continuous touch operations of an external target object on the electronic device. Determine whether continuous vibration information meets preset conditions; A trigger signal is generated when continuous vibration information meets preset conditions.
[0051] The second acquisition component may include a gravity sensor.
[0052] Combination Figure 2 As shown, the user taps the electronic device with a target object at a specific frequency and in a specific manner, such as tapping the electronic device twice in succession. The gravity sensor of the electronic device collects the continuous vibration information generated by the tapping operation. When the continuous vibration information meets the preset conditions, a trigger signal is generated to trigger the camera component to open and perform object recognition.
[0053] In some embodiments, the continuous vibration information includes at least first vibration information and second vibration information, and the first vibration information and the second vibration information are spaced apart by a first duration. In addition, determining whether continuous vibration information meets the second preset condition includes: Determine whether the amplitude of the first vibration information meets the first preset amplitude requirement, whether the amplitude of the second vibration information meets the second preset amplitude requirement, and whether the first duration meets the preset duration requirement; Furthermore, when continuous vibration information meets preset conditions, a trigger signal is generated, including: A trigger signal is generated when the amplitude of the first vibration information meets the first preset amplitude requirement, the amplitude of the second vibration information meets the second preset amplitude requirement, and the first duration meets the preset duration requirement.
[0054] Among them, the time corresponding to the first vibration information is earlier than the time corresponding to the second vibration information; The first preset amplitude requirement includes: the amplitude of the first vibration information is greater than the reference amplitude and less than the first preset amplitude; The second preset amplitude requirement includes: the amplitude of the second vibration information is greater than the reference amplitude and less than the second preset amplitude; the first preset amplitude is less than the second preset amplitude.
[0055] In this embodiment, the camera component is activated and object recognition is performed by continuous tapping. The electronic device detects continuous vibration information generated by continuous tapping using its own gravity sensor. When the continuous vibration information meets preset conditions, a trigger signal is generated to activate the camera component and perform object recognition.
[0056] For example, the vibration amplitude (reference amplitude) of the reference weight sensor is set to x, and the vibration amplitudes of the two vibrations generated by the two taps collected by the gravity sensor are x1 and x2, respectively. Then, the amplitude of this vibration is limited because, based on human behavior, if the difference between the two vibration amplitudes is too large, it can be considered a false trigger. The difference between two conscious taps by humans is relatively small. Therefore, the reference amplitude x is set so that both x1 and x2 are greater than 0.5 times the reference amplitude. The maximum value of the amplitude (vibration amplitude) of the vibration information generated by the first tap is set to twice the reference amplitude, i.e., 2x (first preset amplitude), and the maximum value of the amplitude (vibration amplitude) of the vibration information generated by the second tap is set to 2.5 times the reference amplitude, i.e., 2.5x (second preset amplitude). The reason for this design is that, based on human behavior, the second tap is often intentionally slightly louder and lasts for less than 1.5 seconds (i.e., the first duration). Based on the above-set first preset amplitude, second preset amplitude, and first duration, the judgment of two taps is completed. The above multipliers can be adjusted according to the actual test results, and this application does not impose any special limitations.
[0057] When continuous vibration data meets preset conditions, a trigger signal is generated to activate the camera component and the system's built-in recognition model. If the recognition model is a built-in model of the camera component itself, when the camera component is activated, it begins to acquire images of the environment in which the electronic device is located. At the same time, the recognition model can run, reducing waiting time. After the recognition is completed and a target object to be connected is identified, the camera component is deactivated and the recognition model is quickly released.
[0058] In some embodiments, the process of generating the trigger signal includes: Detect whether a pairing request is received from an external target object broadcast. If a pairing request is received from an external target object broadcast, a trigger signal is generated. For example, combined Figure 3 As shown, the user activates the pairing mode of the target object (such as a Bluetooth device to be connected), sends a pairing request to the electronic device, and detects whether the electronic device receives the pairing request broadcast from the target object. If the electronic device receives the pairing request broadcast from the target object, a trigger signal is generated to activate the camera component and perform object recognition. Optionally, the continuous detection time can be greater than 500ms.
[0059] In some embodiments, the process of generating the trigger signal includes: The target user is identified through facial recognition, and a Bluetooth scan is triggered based on the target user's login signal. When Bluetooth pairing information or connection history information is determined through Bluetooth scanning, a trigger signal is generated.
[0060] For example, combined Figure 4 As shown, the electronic device's ranging sensor detects whether someone is approaching. If someone is detected, the electronic device system is awakened, and the camera component is activated to capture images of the environment in which the electronic device is located. Based on the captured images, it is determined whether the person is human. If the person is human, facial recognition is used to determine whether the person is the target user. If the person is the target user, a brief Bluetooth scan is triggered based on the login signal of the target user logging into the electronic device to confirm Bluetooth pairing information or connection history. Based on the confirmed Bluetooth pairing information or connection history, a trigger signal is generated to trigger the camera component to open and perform object recognition.
[0061] In this embodiment, when a user wakes up the electronic device system, it can be anticipated that there may be a need to switch electronic devices, such as a potential pairing requirement. Therefore, Bluetooth pairing information or connection history information is used to trigger the opening of the camera component and object recognition to determine whether there is a pairing requirement.
[0062] In some embodiments, environmental information of the electronic device is collected to obtain the collected information, including: If the acquired image information does not meet the preset requirements, the acquisition angle of the first acquisition component is controlled by the calibration algorithm to reacquire the image. Alternatively, if the captured image information does not meet the preset requirements, a prompt message will be generated to remind the user to change the posture of the electronic device.
[0063] In this embodiment, the first acquisition component includes a camera component.
[0064] If the shooting angle is incorrect, and the captured image does not capture any objects or is unclear, the camera component can be adjusted and reshot using a calibration algorithm. If the shooting range is limited, a prompt message can also be generated to remind the user to change the posture of the electronic device.
[0065] Optionally, the camera component may include one or more cameras, which are typically positioned above the screen of the electronic device, or at the hinge and / or keyboard. For electronic devices with a tent mode, a camera is positioned on both the front and back of the screen, allowing the system to detect which side of the screen a person is on.
[0066] In some embodiments, after establishing a target communication connection with the target object, the connection method further includes: In response to establishing a target communication connection with the target object, the first camera component is turned off, and the model is identified as entering a non-working state or an unloaded state.
[0067] This application provides an electronic device, including a first body and a second body rotatably connected, a first acquisition component disposed on the first body and / or the second body, and a memory and a processor. The memory stores an executable program, and the processor executes the executable program to perform the following steps: In response to receiving a trigger signal, the first acquisition component of the electronic device is controlled to switch from a non-working state to a working state, acquire environmental information of the electronic device, and obtain the acquired image information; Object recognition is performed on the acquired image information to identify the target object to be connected. The acquired image information includes multiple objects. In response to a connection request from the target object, a target communication connection is established with the target object.
[0068] The electronic device provided in this application has the same inventive concept and the same beneficial effects as the previous embodiments. For the contents of the electronic device not shown in detail, please refer to the previous embodiments, and will not be repeated here.
[0069] The above embodiments are merely exemplary embodiments of this application and are not intended to limit this application. The scope of protection of this application is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to this application within its substance and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of this application.
Claims
1. A connection method applied to an electronic device, the method comprising: In response to receiving a trigger signal, the first acquisition component of the electronic device is controlled to switch from a non-working state to a working state to acquire environmental information of the electronic device and obtain acquired image information; The acquired image information is used to perform object recognition to determine the target object to be connected from the acquired image information, which includes multiple objects; In response to a connection request from the target object, a target communication connection is established with the target object.
2. The method according to claim 1, wherein performing object recognition on the acquired image information to determine the target object to be connected from the acquired image information includes: The image information is identified using a recognition model to determine at least one object; Determine whether the object is a communicable object; If the object is determined to be a communicable object, the object is matched with the device information stored in the electronic device to obtain a first matching result; If the first matching result meets the preset matching requirements, then the object is determined to be the target object to be connected; If the first matching result does not meet the preset matching requirements, then target communication scanning is started to obtain information about surrounding devices, and the obtained device information is matched with the object to obtain a second matching result. If the second matching result meets the preset matching requirements, then the object is determined to be the target object to be connected.
3. The method according to claim 2, wherein matching the object with device information stored in the electronic device to obtain a first matching result includes: The feature information of the object is extracted to obtain multiple keyword information of the object; Based on the keyword information of the object, a first matching result is obtained by querying the device identifier information that matches the keyword information in the device configuration table stored in the electronic device.
4. The method according to claim 3, wherein the process of generating the device configuration table includes: Acquire image information of devices that have established a target communication connection with the electronic device; The image information is identified using a recognition model to obtain multiple keyword information; Establish a correspondence between the keyword information and the device identification information of the device to generate a device configuration table.
5. The method according to claim 2, wherein the first acquisition component further includes a sound acquisition component, and the acquisition information further includes sound information; the method further includes: If multiple target objects to be connected are identified, then one target object to be connected is determined from the multiple target objects based on the user operation information in the image information; wherein, the user operation information includes at least one of user instruction information and user action information; or, If multiple target objects to be connected are identified, then one target object to be connected is determined from the multiple target objects based on the sound information; wherein, the sound information includes the sound information indicated by the user.
6. The method according to claim 1, wherein the process of generating the trigger signal includes: The second acquisition component of the electronic device acquires continuous vibration information generated by continuous touch operations of an external target object on the electronic device. Determine whether the continuous vibration information meets preset conditions; A trigger signal is generated when the continuous vibration information meets preset conditions.
7. The method according to claim 6, wherein the continuous vibration information includes at least first vibration information and second vibration information, and the first vibration information and the second vibration information are spaced apart by a first duration; And, determining whether the continuous vibration information satisfies the second preset condition includes: Determine whether the amplitude of the first vibration information meets the first preset amplitude requirement, whether the amplitude of the second vibration information meets the second preset amplitude requirement, and whether the first duration meets the preset duration requirement; And, when the continuous vibration information meets preset conditions, a trigger signal is generated, including: A trigger signal is generated when the amplitude of the first vibration information meets the first preset amplitude requirement, the amplitude of the second vibration information meets the second preset amplitude requirement, and the first duration meets the preset duration requirement.
8. The method according to claim 1, wherein the process of generating the trigger signal includes: Detect whether a pairing request is received from an external target object broadcast. If a pairing request is received from an external target object broadcast, a trigger signal is generated. or, The target user is identified through facial recognition, and a Bluetooth scan is triggered based on the target user's login signal. When Bluetooth pairing information or connection history information is determined through Bluetooth scanning, a trigger signal is generated.
9. The method according to claim 1, wherein environmental information of the electronic device is collected to obtain collected information, including: If the acquired image information does not meet the preset requirements, the acquisition angle of the first acquisition component is controlled by the calibration algorithm to reacquire the image. or, If the captured image information does not meet the preset requirements, a prompt message is generated to remind the user to change the posture of the electronic device.
10. An electronic device comprising a first body and a second body rotatably connected, a first acquisition component disposed on the first body and / or the second body, the electronic device further comprising a memory and a processor, the memory storing an executable program, the processor executing the executable program to perform the following steps: In response to receiving a trigger signal, the first acquisition component of the electronic device is controlled to switch from a non-working state to a working state to acquire environmental information of the electronic device and obtain acquired image information; The acquired image information is used to perform object recognition to determine the target object to be connected from the acquired image information, which includes multiple objects; In response to a connection request from the target object, a target communication connection is established with the target object.