Equipment connection method, intelligent terminal and storage medium

By obtaining and matching device characteristics, the problem of cumbersome Bluetooth connection operation is solved, the efficiency and accuracy of device connection are improved, and the user experience is improved.

CN120239112APending Publication Date: 2025-07-01SHENZHEN TECNO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510457419.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When establishing a Bluetooth connection between two devices, users need to manually search and select the connected device, which is cumbersome, which affects the connection efficiency and accuracy.

Method used

By obtaining information of the device to be connected, including device characteristics, such as type, shape, distance, orientation, color and brand, a device connection request carrying this information is sent, and the device to be connected establishes a wireless connection with the first device after matching the device characteristics.

Benefits of technology

It improves the efficiency and accuracy of connection between devices, simplifies user operations, and improves user experience, especially in a multi-device environment to accurately identify and quickly establish connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120239112A_ABST
    Figure CN120239112A_ABST
Patent Text Reader

Abstract

The invention provides a device connection method, an intelligent terminal and a storage medium, the device connection method can be applied to a first device, and comprises the following steps: obtaining first information of a to-be-connected device; sending an equipment connection request carrying the equipment characteristics in the first information to equipment to be connected; and receiving a wireless connection request sent by the to-be-connected equipment, and establishing wireless connection with the to-be-connected equipment. According to the technical scheme of the invention, after the first device obtains the first information of the to-be-connected device, the first device sends the device connection request comprising the device characteristics in the first information of the to-be-connected device, so that the to-be-connected device establishes wireless connection with the first device after the device characteristics are matched. The connection efficiency and / or the connection accuracy between the devices can be effectively improved, and then the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and particularly to a device connection method, a smart terminal, and a storage medium. Background Art

[0002] With the continuous development of science and technology, various smart terminals emerge in an endless stream, and connections can be established between different smart terminals to achieve communication or data transmission between devices, etc. Among them, Bluetooth connection is a commonly used connection method.

[0003] In the process of conceiving and implementing this application, the inventors found that there are at least the following problems: When establishing a Bluetooth connection between two devices, some require the user to manually search and establish the connection, and / or if multiple Bluetooth devices are searched, the user needs to manually select the device to be connected, which is cumbersome to operate and affects the connection efficiency and / or connection accuracy between devices.

[0004] The foregoing description is for the purpose of providing general background information and does not necessarily constitute prior art. Summary of the Invention

[0005] In view of the above technical problems, this application provides a device connection method, a smart terminal, and a storage medium, which can effectively improve the connection efficiency and / or connection accuracy between devices, and thus enhance the user experience.

[0006] This application provides a device connection method applicable to a first device, including the steps of: S1a, obtaining first information of a device to be connected; S2a, sending a device connection request carrying the device features in the first information to the device to be connected; S3a, receiving a wireless connection request sent by the device to be connected, and establishing a wireless connection with the device to be connected.

[0007] Optionally, the device features include at least one of the following: device type, device shape, device distance, device orientation, device color, device brand. Optionally, the device connection request further includes functions or services supported by the first device.

[0008] Optionally, the first information includes an image.

[0009] Optionally, before the step S2a, it further includes: Identifying the image and determining the device features in the image.

[0010] Optionally, the step S1a includes: In response to a connection trigger operation, photographing the device to be connected to obtain the image.

[0011] Optionally, the identifying the image and determining the device features in the image includes: When the image includes at least two devices, determining the device to be connected according to a selection instruction; Identifying the device to be connected in the image and determining the device features in the image.

[0012] Optionally, the method further includes: In response to successful wireless connection between the first device and the device to be connected, outputting a connection success prompt and / or stopping sending the device connection request.

[0013] The present application provides a device connection method, which can be applied to a second device and includes the steps of: S1b. Obtaining a device connection request sent by a first device, where the device connection request carries device features in first information of the device to be connected; S2b. In response to the device features in the first information matching the device features of the second device, sending a wireless connection request to the first device.

[0014] The present application provides a device connection method, which can be applied to a first device and includes the steps of: S10a. Obtaining first information of the device to be connected; S20a. Receiving a device connection request sent by the device to be connected and carrying device features; S30a. In response to the first information matching the device features, sending a wireless connection request to the device to be connected.

[0015] Optionally, the first information includes an image; and step S30a includes: Identifying the image and determining the device features in the image; In response to the device features in the image matching the device features in the device connection request, sending a wireless connection request to the device to be connected.

[0016] Optionally, the device features include at least one of the following: device type, device shape, device distance, device orientation, device color, device brand.

[0017] The present application provides a device connection method, which can be applied to a second device and includes the steps of: S10b. Sending a device connection request including the device features of the second device; S20b. Receiving a wireless connection request sent by the first device and establishing a wireless connection with the first device.

[0018] The present application also provides an intelligent terminal, including: a memory and a processor. A device connection program is stored on the memory. When the device connection program is executed by the processor, any of the above device connection methods is implemented.

[0019] The present application also provides a storage medium storing a device connection program. When the device connection program is executed by a processor, any of the above device connection methods is implemented.

[0020] As described above, the device connection method of the present application can be applied to a first device, including: obtaining first information of a device to be connected; sending a device connection request carrying device features in the first information to the device to be connected; receiving a wireless connection request sent by the device to be connected, and establishing a wireless connection with the device to be connected. Through the above technical solution, after the first device obtains the first information of the device to be connected, it sends a device connection request including the device features in the first information of the device to be connected, so that the device to be connected establishes a wireless connection with the first device after the device features match, which can effectively improve the connection efficiency and / or connection accuracy between devices, and further improve the user experience. Especially in a multi-device environment, it can accurately identify and quickly establish a connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0022] Figure 1 Schematic diagram of the hardware structure of an intelligent terminal for implementing various embodiments of the present application.

[0023] Figure 2 Schematic diagram of a communication network system architecture provided by an embodiment of the present application.

[0024] Figure 3 Flow chart showing the device connection method according to an embodiment.

[0025] Figure 4 Flow chart showing the device connection method according to another embodiment.

[0026] Figure 5 Flow chart showing the device connection method according to still another embodiment.

[0027] Figure 6 Flow chart showing the device connection method according to yet another embodiment.

[0028] Figure 7 It is an interactive schematic diagram of a device connection method shown according to an embodiment.

[0029] The realization of the purpose of this application, its functional features and advantages will be further described with reference to the embodiments and the accompanying drawings. Through the above-mentioned accompanying drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Specific Embodiments

[0030] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.

[0031] Optionally, in this document, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the presence of additional identical elements in the process, method, article or device including that element. Optionally, components, features, and elements with the same name in different embodiments of this application may have the same meaning or different meanings, and their specific meanings need to be determined based on their interpretation in that specific embodiment or further in combination with the context of that specific embodiment.

[0032] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining". Furthermore, as used in this disclosure, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "including" indicate the presence of the stated features, steps, operations, elements, components, items, kinds, and / or groups, but do not preclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" used in this application may be interpreted inclusively, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C", and again, "A, B or C" or "A, B and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C". An exception to this definition occurs only when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.

[0033] It should be understood that although the steps in the flowchart in the embodiments of this application are shown sequentially in the direction of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this disclosure, the execution of these steps has no strict order restriction and may be executed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and their execution order is not necessarily sequential, but may be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.

[0034] Depending on the context, the words "if", "when" as used herein may be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)".

[0035] Optionally, in this document, step codes such as S1a, S2a, etc. are adopted. The purpose is to more clearly and briefly express the corresponding content, and it does not constitute a substantial limitation in terms of sequence. Those skilled in the art may execute S2a first and then S1a during specific implementation, etc., but all of these should be within the protection scope of this application.

[0036] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application.

[0037] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of explaining this application, and they have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.

[0038] In this application, the first device or the second device may be a smart terminal, and the smart terminal can be implemented in various forms. For example, the smart terminals described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, palmtop computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0039] In the subsequent description, a mobile terminal will be used as an example for illustration. Those skilled in the art will understand that except for components specifically for mobile purposes, the structure according to the embodiments of this application can also be applied to fixed-type terminals.

[0040] Please refer to Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of this application. The mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111, etc. Those skilled in the art can understand that Figure 1 the mobile terminal structure shown in does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0041] Next, in combination with Figure 1 each component of the mobile terminal will be specifically introduced: The radio frequency unit 101 can be used for receiving and transmitting information or signals during communication. Specifically, after receiving the downlink information from the base station, it is processed by the processor 110. Additionally, it transmits the uplink data to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, antennas, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Moreover, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing - Long Term Evolution), TDD-LTE (Time Division Duplexing - Long Term Evolution), 5G, and 6G, etc.

[0042] WiFi belongs to short-range wireless transmission technology. The mobile terminal can help users send and receive emails, browse the web, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access. Although Figure 1 the WiFi module 102 is shown, it can be understood that it is not an essential component of the mobile terminal and can be omitted entirely within the scope of not changing the essence of the invention according to needs.

[0043] The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in call signal reception mode, call mode, recording mode, voice recognition mode, broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (such as call signal reception sound, message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.

[0044] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes the image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in operation modes such as a phone call mode, a recording mode, a voice recognition mode, etc., and can process such sound into audio data. The processed audio (voice) data can be output in a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) the noise or interference generated during the reception and transmission of audio signals.

[0045] The mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used in applications for identifying the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be elaborated here.

[0046] The display unit 106 is used to display the information input by the user or the information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.

[0047] The user input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations of the user thereon or nearby (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 1071), and drive corresponding connection devices according to a preset program. The touch panel 1071 can include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the touch position of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and can receive and execute commands sent by the processor 110. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 1071. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc., and specific details are not limited here.

[0048] Optionally, the touch panel 1071 may cover the display panel 1061. After the touch panel 1071 detects a touch operation thereon or nearby, it transmits the operation to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in Figure 1 the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to realize the input and output functions of the mobile terminal, and specific details are not limited here.

[0049] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headset port, and so on. The interface unit 108 can be used to receive inputs from external devices (such as data information, power, etc.) and transmit the received inputs to one or more components within the mobile terminal 100 or can be used to transmit data between the mobile terminal 100 and external devices.

[0050] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Optionally, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 109 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0051] The processor 110 is the control center of the mobile terminal, connecting various parts of the entire mobile terminal through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it executes various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. The processor 110 can include one or more processing units; preferably, the processor 110 can integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110.

[0052] The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to each component. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.

[0053] Although Figure 1 not shown, the mobile terminal 100 can also include a Bluetooth module, etc., which will not be elaborated here.

[0054] To facilitate the understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based will be described below.

[0055] Please refer to Figure 2 , Figure 2 which is an architecture diagram of a communication network system provided by the embodiments of the present application. This communication network system is an LTE system of the general mobile communication technology. This LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP service 204 that are sequentially communicatively connected.

[0056] Optionally, the UE 201 may be the aforementioned terminal 100, which will not be elaborated herein.

[0057] The E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022, etc. Optionally, the eNodeB 2021 may be connected to other eNodeBs 2022 through a backhaul (e.g., the X2 interface), the eNodeB 2021 is connected to the EPC 203, and the eNodeB 2021 may provide access for the UE 201 to the EPC 203.

[0058] The EPC 203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, a Serving GateWay (SGW) 2034, a PDN Gate Way (PGW) 2035, a Policy and Charging Rules Function (PCRF) 2036, etc. Optionally, the MME 2031 is a control node that processes the signaling between the UE 201 and the EPC 203 and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure) and stores some user-specific information such as service characteristics and data rates. All user data may be sent through the SGW 2034. The PGW 2035 may provide IP address allocation for the UE 201 and other functions. The PCRF 2036 is a policy and charging control policy decision point for service data flows and IP bearer resources, and it selects and provides available policy and charging control decisions for a policy and charging enforcement functional unit (not shown in the figure).

[0059] The IP service 204 may include the Internet, an intranet, an IP Multimedia Subsystem (IMS), or other IP services, etc.

[0060] Although the above has been described by taking the LTE system as an example, those skilled in the art should be aware that the present application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G, and future new network systems (such as 6G), etc., which are not limited herein.

[0061] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.

[0062] Refer to Figure 3 , Figure 3 which is a schematic flowchart of a device connection method shown according to an embodiment of the present application. The device connection method of the embodiment of the present application can be applied to a first device (such as a smart terminal like a mobile phone), and includes the following steps: S1a: Obtain first information of the device to be connected. Optionally, the device to be connected is a device that the first device needs to connect to. The device to be connected and the first device can be of the same type of smart terminal or different types of smart terminals. For example, both can be mobile phones, televisions, laptop computers, tablet computers, headphones, routers, etc. Optionally, the connection in this embodiment can be a wireless connection, including but not limited to Bluetooth connection, NFC connection, WIFI connection, etc. Optionally, the first information of the device to be connected can be actively obtained or passively received by the first device, or can be input by the user. The first information includes but is not limited to images, videos, text descriptions, etc.

[0063] S2a: Send a device connection request carrying the device characteristics in the first information to the device to be connected.

[0064] Optionally, the first device sends a device connection request, which can be that the first device sends a device connection request periodically or irregularly.

[0065] Optionally, taking the establishment of a Bluetooth connection as an example, the first device can broadcast a device connection request periodically, so that the second device that receives the device connection request establishes a Bluetooth connection with the first device when its own device characteristics match the device characteristics in the first information.

[0066] Optionally, the device characteristics in the first information are the device characteristics of the device to be connected, and the device characteristics of the device to be connected are used to indicate the external information of the device to be connected or the position information between the device to be connected and the first device, etc.

[0067] Optionally, the device characteristics include at least one of the following: device type, device shape, device distance, device orientation, device color, device brand.

[0068] Optionally, the device type is used to indicate the product type to which the device belongs, including but not limited to mobile intelligent terminals such as tablet computers and earphones, communication devices such as mobile phones, network devices such as routers, etc. The device shape is used to indicate the external shape characteristics of the device. For example, the shape of an in-ear earphone is like an earring, and the shape of a mobile phone is like a cuboid, etc. The device distance is used to indicate the distance between the device to be connected and the first device. The device orientation is used to indicate the orientation of the device to be connected relative to the location of the first device. For example, the device to be connected is located in the due north direction of the first device, etc. The device color is used to indicate the color type of the device to be connected, such as white, black, etc. The device brand is used to indicate the product brand to which the device to be connected belongs, such as brand A, brand B, etc.

[0069] Optionally, in addition to the device characteristics in the first information, the device connection request may further include information such as the device identifier of the first device, such as the MAC address, etc., to facilitate the device to be connected to establish a wireless connection with the first device based on the device identifier of the first device.

[0070] Optionally, the device connection request may further include the functions or services supported by the first device. The functions or services supported by the first device are used to indicate the functions or services that the first device can achieve based on the device connection. In the case where the device connection request further includes the functions or services supported by the first device, the device to be connected also needs to have the functions or services supported by the first device to establish a connection with the first device. Taking the establishment of a Bluetooth connection as an example, the device connection request may further include whether the first device supports services such as file transfer, network sharing, or audio call. In this way, the device to be connected can be further accurately determined, and the accuracy of device connection is improved.

[0071] Optionally, the first information includes an image.

[0072] Optionally, before the step S2a, the following is further included: Identify the image and determine the device characteristics in the image.

[0073] Optionally, the image of the device to be connected can be taken by the first device or sent to the first device by other devices.

[0074] Optionally, in the case where the first device does not have a shooting function, the user can use the associated device of the first device to take a picture of the device to be connected, and the associated device transmits the image including the device to be connected obtained by shooting to the first device.

[0075] Optionally, the first device can take a picture of the device to be connected when it needs to connect to the device to be connected to obtain an image of the device to be connected.

[0076] Optionally, the first device can identify the image based on local image recognition algorithms such as deep learning, or send the image to the cloud server for the cloud server to identify the image and obtain the recognition result returned by the cloud server. The specific method of image recognition can refer to the prior art and will not be elaborated here. In this way, the device features of the device can be accurately and conveniently obtained, improving the device connection efficiency and / or connection accuracy.

[0077] Optionally, when the first information includes an image, obtaining the first information of the device to be connected includes: in response to a connection trigger operation, photographing the device to be connected to obtain an image.

[0078] Optionally, the first device may be provided with a device connection setting interface, in which a connection trigger button for triggering device connection may be set. When the connection trigger button is triggered, the first device obtains a connection trigger operation, and then starts an image acquisition device such as a camera to photograph the device to be connected to obtain an image including the device to be connected.

[0079] Optionally, the first device obtaining a connection trigger operation may also be detecting that the first device is shaken up and down or left and right, etc., which is not specifically limited here. In this way, the image of the device to be connected can be flexibly obtained based on requirements, improving the flexibility of device connection and user experience.

[0080] Optionally, before identifying the image and determining the device features in the image, it includes: when the image includes at least two devices, determining the device to be connected according to a selection instruction.

[0081] Optionally, when multiple devices are placed together or the distance between them is relatively close, the image may include both the device to be connected and other devices other than the device to be connected. When the first device determines that the image includes at least two devices, it can output a selection prompt, such as displaying selection boxes for each device on the image for the user to click on the selection box to select the desired device to be connected. After the first device receives the selection instruction input based on the user operation, it determines the device selected by the selection instruction as the device to be connected. In this way, the user can flexibly and accurately determine the device to be connected, improving the accuracy of device connection.

[0082] S2a: Receive a wireless connection request sent by the device to be connected and establish a wireless connection with the device to be connected. Optionally, when the first device receives a wireless connection request sent by the device to be connected, it can establish a wireless connection with the device to be connected based on the wireless connection request. The specific process can refer to the prior art and will not be elaborated here.

[0083] In the above manner, after the first device obtains the first information of the device to be connected, it sends a device connection request including the device features in the first information of the device to be connected, so that the device to be connected can establish a wireless connection with the first device after the device features match, which can effectively improve the connection efficiency and / or connection accuracy between devices, and then enhance the user experience. Especially in a multi-device environment, it can accurately identify and quickly establish a connection. Optionally, the method further includes: in response to the successful wireless connection between the first device and the device to be connected, outputting a connection success prompt and / or stopping sending the device connection request. Optionally, after the first device detects the successful wireless connection between the first device and the device to be connected, it can output a connection success prompt to prompt the user that operations such as transmitting data from the first device to the device to be connected can be performed. Optionally, after the first device detects the successful wireless connection between the first device and the device to be connected, it can also stop sending the device connection request in a timely manner to reduce the device power consumption and save power consumption.

[0084] Referring to Figure 4 , Figure 4 is a schematic flowchart of a device connection method shown according to another embodiment of the present application. The device connection method of the embodiment of the present application can be applied to a second device (such as a smart terminal such as a mobile phone), and includes the following steps: S1b, obtaining a device connection request sent by the first device, where the device connection request carries the device features in the first information of the device to be connected.

[0085] Optionally, the second device can be the device to be connected.

[0086] Optionally, the second device can obtain the device connection request sent by the first device by means of listening, etc. Taking the establishment of a Bluetooth connection as an example, when the first device periodically broadcasts a device connection request, the second device can listen to the Bluetooth broadcast in real time to obtain the device connection request sent by the first device. The second device and the first device can be the same type of smart terminal or different types of smart terminals, such as a mobile phone, a television, a laptop computer, a tablet computer, an earphone, a router, etc.

[0087] Optionally, the device to be connected is a device with which the first device needs to establish a wireless connection. The device features in the first information of the device to be connected are used to indicate the external information of the device to be connected or the position information between the device to be connected and the first device, etc.

[0088] Optionally, the device features include at least one of the following: device type, device shape, device distance, device orientation, device color, device brand.

[0089] Optionally, the second device can determine information such as the distance and orientation from the first device based on information such as the broadcast signal strength of the device connection request sent by the first device.

[0090] Optionally, in addition to the device features in the first information of the device to be connected, the device connection request may further include information such as the device identifier of the first device, such as the MAC address, etc., to facilitate the second device to establish a connection with the first device based on the device identifier of the first device.

[0091] S2b. In response to the device features in the first information matching the device features of the second device, send a wireless connection request to the first device.

[0092] Optionally, the second device may detect whether the device features in the first information of the device to be connected match its own device features. If they match, it means that the second device can establish a wireless connection with the first device, that is, the second device is the device to be connected. Then the second device sends a wireless connection request to the first device to establish a wireless connection with the first device.

[0093] Optionally, when the device features in the first information include only one device feature, the matching of the device features in the first information and the device features of the second device may be that the device features in the first information are exactly the same as the device features of the second device.

[0094] Optionally, taking the device features including the device shape as an example, assume that the first device is a mobile phone and the device to be connected is an ear clip-type earphone, that is, the device feature in the first information is that the shape is like an earring. If the second device is an earphone and the device shape is like an earring, it can be determined that the device features in the first information match the device features of the second device.

[0095] Optionally, when the device features in the first information include multiple device features, the matching of the device features in the first information and the device features of the second device may be that all the device features in the first information are exactly the same as all the device features of the second device, or most of the device features in the first information are exactly the same as most of the device features of the second device, etc.

[0096] Optionally, taking the device features including the device color and the device distance as an example, assume that the first device is a mobile phone and the device to be connected is also a mobile phone. The device features in the first information are that the device color is white and the device distance is 95 cm. If the device color of the second device is white and the distance from the first device is 94.5 cm, it means that the device color of the second device matches the device color in the first information, and at the same time, the device distance of the second device matches the device distance in the first information. Then it can be determined that the device features in the first information match the device features of the second device.

[0097] Optionally, the process of the second device establishing a wireless connection with the first device may refer to the existing technology and will not be elaborated here.

[0098] Optionally, taking the establishment of a Bluetooth connection as an example, the second device may broadcast a Bluetooth connection request carrying information such as the address and name of the second device. After the first device accepts the Bluetooth connection request, it can establish a Bluetooth connection with the second device.

[0099] Optionally, before step S2b, it further includes: in response to obtaining multiple device connection requests sent by multiple devices, determining the device connection request with the most matching device features as the device connection request sent by the first device.

[0100] Optionally, when there are multiple devices around the second device, the second device may obtain device connection requests sent by multiple devices respectively. At this time, the second device can match the device features included in each device connection request with the device features of the second device, and determine the device connection request with the most matching device features as the device connection request sent by the first device, so as to realize timely response to the device connection request sent by the first device.

[0101] In the above manner, the second device obtains a device connection request including the device features in the first information of the device to be connected, and when the device features in the first information match the device features of the second device, sends a wireless connection request to the first device to establish a wireless connection with the first device, which simplifies the operation process, can effectively improve the connection efficiency and / or connection accuracy between devices, and further improves the user experience, especially in a multi-device environment, it can accurately identify and quickly establish a connection.

[0102] Referring to Figure 5 , Figure 5 is a schematic flowchart of a device connection method shown according to another embodiment of the present application. The device connection method of the embodiment of the present application can be applied to a first device (such as a smart terminal such as a mobile phone), and includes the following steps: S10a: Obtain the first information of the device to be connected.

[0103] Optionally, the device to be connected is a device that the first device needs to connect to. The device to be connected and the first device can be of the same type of smart terminal or different types of smart terminals. For example, both can be mobile phones, televisions, laptop computers, tablet computers, headphones, routers, etc.

[0104] Optionally, the connection in this embodiment can be a wireless connection, including but not limited to Bluetooth connection, NFC connection, WIFI connection, etc.

[0105] Optionally, the first information of the device to be connected can be actively obtained or passively received by the first device, or can be input by the user. The first information includes but is not limited to images, videos, text descriptions, etc.

[0106] S20a: Receive a device connection request carrying device features sent by a device to be connected.

[0107] Optionally, the first device periodically, irregularly, or in real-time receives a device connection request carrying the device features of the device to be connected to determine whether a wireless connection can be established with the device to be connected.

[0108] Optionally, the device features of the device to be connected are used to indicate external information of the device to be connected or location information between the device and the first device, etc.

[0109] Optionally, the device features include at least one of the following: device type, device shape, device distance, device orientation, device color, device brand. Optionally, the device type is used to indicate the product type to which the device belongs, including but not limited to mobile intelligent terminals such as tablets, headphones, communication devices such as mobile phones, network devices such as routers, etc. The device shape is used to indicate the external shape features of the device. For example, the shape of an in-ear headphone is like an earring, and the shape of a mobile phone is like a cuboid, etc. The device distance is used to indicate the distance between the device to be connected and the first device. The device orientation is used to indicate the orientation of the device to be connected relative to the location of the first device, such as the device to be connected is located due north of the first device, etc. The device color is used to indicate the color type of the device to be connected, such as white, black, etc. The device brand is used to indicate the product brand to which the device to be connected belongs, such as brand A, brand B, etc.

[0110] Optionally, in addition to including device features, the device connection request may further include information such as the device identifier (such as MAC address) of the device to be connected to facilitate the first device to establish a wireless connection with the device to be connected based on the device identifier of the device to be connected.

[0111] Optionally, the device connection request may further include functions or services supported by the device to be connected. The functions or services supported by the device to be connected are used to indicate the functions or services that the device to be connected can achieve based on the device connection. When the device connection request further includes the functions or services supported by the device to be connected, the first device also needs to have the functions or services supported by the device to be connected to establish a wireless connection with the device to be connected. Taking the establishment of a Bluetooth connection as an example, the device connection request may further include whether the device to be connected supports services such as file transfer, network sharing, or audio calls. In this way, it can be further accurately determined whether a wireless connection can be established with the device to be connected, improving the accuracy of device connection.

[0112] S30a: In response to the first information matching the device features, send a wireless connection request to the device to be connected.

[0113] Optionally, when the first information of the device to be connected obtained matches the device features in the device connection request, the first device sends a wireless connection request to the device to be connected to request to establish a wireless connection with the device to be connected.

[0114] Optionally, the first information includes an image; the step S30a includes: Identifying the image and determining the device features in the image; In response to the matching of the device features in the image with the device features in the device connection request, sending a wireless connection request to the device to be connected.

[0115] Optionally, the image of the device to be connected can be taken by the first device or sent to the first device by other devices.

[0116] Optionally, in the case where the first device does not have a shooting function, the user can shoot the device to be connected through the associated device of the first device, and the associated device transmits the image including the device to be connected obtained by shooting to the first device.

[0117] Optionally, the first device can shoot the device to be connected when it needs to connect to the device to be connected, so as to obtain an image of the device to be connected.

[0118] Optionally, the first device can identify the image based on local image recognition algorithms such as deep learning, or send the image to the cloud server for the cloud server to identify the image and obtain the recognition result returned by the cloud server. For the specific method of image recognition, reference can be made to the prior art and will not be elaborated here.

[0119] Optionally, when the first device detects that the device features in the image match the device features in the device connection request, it indicates that a wireless connection can be established with the device to be connected, and then a wireless connection request is sent to the device to be connected. In this way, the device features of the device can be accurately and conveniently obtained, improving the device connection efficiency and / or connection accuracy.

[0120] Optionally, when the first information includes an image, obtaining the first information of the device to be connected includes: in response to a connection trigger operation, shooting the device to be connected to obtain an image.

[0121] Optionally, the first device may be provided with a device connection setting interface, and a connection trigger button for triggering device connection may be set in the device connection setting interface. When the connection trigger button is triggered, the first device obtains a connection trigger operation, and then starts an image acquisition device such as a camera to shoot the device to be connected to obtain an image including the device to be connected.

[0122] Optionally, the first device obtaining a connection trigger operation may also be detecting that the first device is shaken up and down or left and right, etc., which is not specifically limited here. In this way, the image of the device to be connected can be flexibly obtained based on requirements, improving the flexibility of device connection and the user experience.

[0123] Optionally, before identifying the image and determining the device features in the image, it includes: when the image includes at least two devices, determining the device to be connected according to the selection instruction.

[0124] Optionally, when there are multiple devices placed together or the distance between them is relatively close, the image may include both the device to be connected and other devices other than the device to be connected. When the first device determines that the image includes at least two devices, it can output a selection prompt, such as displaying a selection box for each device on the image, for the user to click on the selection box to select the desired device to be connected. After the first device receives the selection instruction input based on the user operation, it determines the device selected by the selection instruction as the device to be connected. In this way, the user can flexibly and accurately determine the device to be connected, improving the accuracy of device connection.

[0125] In the above manner, after the first device obtains the first information of the device to be connected, if it detects that the device features in the device connection request sent by the device to be connected match the first information, it can send a wireless connection request to the device to be connected to establish a wireless connection with the device to be connected, which can effectively improve the connection efficiency and / or connection accuracy between devices, thereby enhancing the user experience, especially in a multi-device environment, it can accurately identify and quickly establish a connection.

[0126] Referring to Figure 6 , Figure 6 is a schematic flowchart of a device connection method shown according to another embodiment of the present application. The device connection method of the embodiment of the present application can be applied to a second device (such as a smart terminal like a mobile phone), and includes the following steps: S10b, sending a device connection request including the device features of the second device; S20b, receiving the wireless connection request sent by the first device and establishing a wireless connection with the first device.

[0127] Optionally, when the second device needs to establish a wireless connection with the first device, it can send a device connection request including the device features of the second device, so that when the first device also needs to establish a wireless connection with the second device, it sends a wireless connection request to the second device. Correspondingly, the second device receives the wireless connection request sent by the first device and establishes a wireless connection with the first device based on the wireless connection request.

[0128] Optionally, in addition to including the device features of the second device, the device connection request may further include information such as the device identifier of the second device, such as the MAC address, etc., to facilitate the first device to establish a connection with the second device based on the device identifier of the second device.

[0129] In the above manner, the second device sends a device connection request including the device features of the second device, and after receiving the wireless connection request sent by the first device, establishes a wireless connection with the first device, simplifying the operation process, effectively improving the connection efficiency and / or connection accuracy between devices, thereby enhancing the user experience, especially accurately identifying and quickly establishing a connection in a multi-device environment.

[0130] The following uses specific examples to illustrate the device connection method provided in the above embodiments. In this example, the first device is a mobile phone and the second device is a Bluetooth peripheral for illustration.

[0131] Refer to Figure 7 , the device connection method provided in this embodiment mainly includes the following processes: 1) The camera of the mobile phone scans the device to be connected (i.e., the Bluetooth peripheral) to generate an image.

[0132] 2) The mobile phone analyzes the image and identifies the device features of the Bluetooth peripheral.

[0133] Optionally, the device features include but are not limited to the following features: device type, device color, device shape, device brand, device distance, device orientation, etc.

[0134] Optionally, if there are multiple devices in the image, the user can also confirm the device to be connected by clicking or other means.

[0135] 3) The mobile phone encodes the identified device features and the Bluetooth function information supported by itself, and periodically sends a device connection request carrying this encoded data through low-power Bluetooth broadcast.

[0136] 4) The mobile phone waits for the Bluetooth peripheral to send a Bluetooth connection request.

[0137] Optionally, if the Bluetooth connection is not successfully established within the specified time, the mobile phone stops broadcasting the device connection request.

[0138] 5) The Bluetooth peripheral continuously listens to the low-power Bluetooth broadcast.

[0139] 6) When the Bluetooth peripheral monitors that the device features carried in the broadcast are the same as its own device features, it uses its own Bluetooth address broadcast to initiate a Bluetooth connection request to establish a Bluetooth connection with the mobile phone.

[0140] Optionally, when the Bluetooth peripheral receives multiple broadcasts of the same type, it will preferentially respond to the broadcast with the most matching device features.

[0141] 7) After the connection is successful, timed out, or failed, the mobile phone stops the low-power Bluetooth broadcast.

[0142] Optionally, the mobile phone may send a Bluetooth Low Energy (BLE) broadcast carrying a device connection request, and the Bluetooth peripheral listens for the broadcast and initiates a Bluetooth connection request. Optionally, the Bluetooth peripheral may also send a BLE broadcast carrying a device connection request, and the mobile phone listens for the broadcast and initiates a Bluetooth connection request.

[0143] In summary, in the device connection method provided by the above embodiments, the mobile phone extracts the characteristic data of the Bluetooth peripheral by scanning the Bluetooth peripheral, and broadcasts the characteristic data of the Bluetooth peripheral via Bluetooth Low Energy. The Bluetooth peripheral responds to the broadcast that matches its own characteristics to establish a connection with the mobile phone. In this way, the intelligence and efficiency of device connection can be improved, and / or the problems of misconnection and wrong connection in a multi-Bluetooth peripheral environment can be solved.

[0144] The above-listed are only reference examples. To avoid redundancy, they are not listed one by one here. In actual development or application, they can be flexibly combined according to actual needs. However, any combination belongs to the technical solution of this application and is thus covered by the protection scope of this application.

[0145] An embodiment of this application also provides an intelligent terminal, including a memory and a processor. A device connection program is stored on the memory. When the device connection program is executed by the processor, the device connection method in any of the above embodiments is implemented.

[0146] An embodiment of this application also provides a storage medium, on which a device connection program is stored. When the device connection program is executed by the processor, the device connection method in any of the above embodiments is implemented.

[0147] In the embodiments of the intelligent terminal and storage medium provided by this application, all the technical features of any of the above device connection method embodiments may be included. The expansion and explanatory content of the specification are basically the same as those of the above method embodiments and will not be elaborated here.

[0148] An embodiment of this application also provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer is made to execute the methods in the above various possible implementation manners.

[0149] An embodiment of this application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the methods in the above various possible implementation manners.

[0150] It can be understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided by the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, as is known to those of ordinary skill in the art, with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0151] The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.

[0152] The steps in the method of the embodiments of the present application can be adjusted, combined, and deleted according to actual needs.

[0153] The units in the devices of the embodiments of the present application can be combined, divided, and deleted according to actual needs.

[0154] In the present application, for the description of the same or similar term concepts, technical solutions, and / or application scenarios, generally only the first occurrence is described in detail. When it appears repeatedly later, for the sake of brevity, it is generally not described again. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions, and / or application scenarios that are not described in detail later, reference can be made to the relevant detailed descriptions before.

[0155] In the present application, the descriptions of the various embodiments each have their own focuses. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0156] The technical features of the technical solutions of the present application can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combinations of these technical features do not conflict, they should all be considered as within the scope recorded in the present application.

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

[0158] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a storage medium or transmitted from one storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line) or a wireless manner (such as infrared, wireless, microwave, etc.). The storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, a storage disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)), etc.

[0159] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A device connection method, characterized in that: Applied to a first device, comprising the steps of: S1a, obtaining first information of the device to be connected; S2a, sending a device connection request carrying the device characteristics in the first information to the device to be connected; S3a, receiving a wireless connection request sent by the device to be connected, and establishing a wireless connection with the device to be connected.

2. The method according to claim 1, characterized in that The device feature includes at least one of the following: device type, device shape, device distance, device orientation, device color, and device brand.

3. The method according to claim 2, characterized in that The first information includes an image; and / or, before step S2a, further comprising: The image is recognized and device features in the image are determined.

4. The method according to claim 2, characterized in that The device connection request also includes functions or services supported by the first device.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In response to the first device being successfully wirelessly connected to the device to be connected, a connection success prompt is output and / or the device connection request is stopped.

6. A device connection method, characterized in that: Applied to a first device, comprising the steps of: S10a, obtaining first information of a device to be connected; S20a, receiving a device connection request carrying device characteristics sent by the device to be connected; S30a: In response to the first information matching the device feature, sending a wireless connection request to the device to be connected.

7. The method according to claim 6, characterized in that The first information includes an image; and / or, the step S30a includes: recognizing the image and determining device features in the image; In response to a match between a device feature in the image and a device feature in the device connection request, a wireless connection request is sent to the device to be connected.

8. The method according to claim 6 or 7, characterized in that The device feature includes at least one of the following: device type, device shape, device distance, device orientation, device color, and device brand.

9. An intelligent terminal, characterized in that: include: A memory and a processor, wherein a device connection program is stored in the memory, and when the device connection program is executed by the processor, the device connection method according to any one of claims 1 to 8 is implemented.

10. A storage medium, characterized in that: The storage medium stores a device connection program, and when the device connection program is executed by the processor, the device connection method according to any one of claims 1 to 8 is implemented.