CN115087134B - Bluetooth connection method and electronic equipment - Google Patents

Bluetooth connection method and electronic equipment Download PDF

Info

Publication number
CN115087134B
CN115087134B CN202210855261.6A CN202210855261A CN115087134B CN 115087134 B CN115087134 B CN 115087134B CN 202210855261 A CN202210855261 A CN 202210855261A CN 115087134 B CN115087134 B CN 115087134B
Authority
CN
China
Prior art keywords
connection
bluetooth
external
external device
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210855261.6A
Other languages
Chinese (zh)
Other versions
CN115087134A (en
Inventor
赵成
宋业全
张雅姝
金怡韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210855261.6A priority Critical patent/CN115087134B/en
Publication of CN115087134A publication Critical patent/CN115087134A/en
Application granted granted Critical
Publication of CN115087134B publication Critical patent/CN115087134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

A Bluetooth connection method and electronic equipment are applied to the technical field of terminals. The method comprises the following steps: after detecting the first operation of the user, judging whether a second external device which is connected exists or not; under the condition that the second external equipment is connected, judging whether the first external equipment is a priority connection equipment; under the condition that the first external equipment is the preferential connection equipment, the second external equipment is cancelled and the Bluetooth connection with the first external equipment is established, so that the connection speed and the connection power of the first external equipment can be obviously improved. In addition, the connection speed of the first external device can be obviously increased on the premise of keeping the automatic reconnection function.

Description

Bluetooth connection method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a bluetooth connection method and an electronic device.
Background
With the development of wireless communication technology, a mobile phone can establish a communication connection with a Bluetooth headset through Bluetooth (Bluetooth) technology. At present, after the bluetooth function is started, a mobile phone can automatically connect back to a connected bluetooth headset. However, if the loopback earphone is in a state of being unable to connect (such as not being nearby), the connection speed of the user connecting other bluetooth devices can be affected. Therefore, it is desirable to provide a solution to this problem.
Disclosure of Invention
In view of this, the present application provides a bluetooth connection method, an electronic device, a computer-readable storage medium, and a computer program product, which can significantly improve the connection speed of a bluetooth device, thereby improving user experience.
In a first aspect, a method for bluetooth connection is provided, where the method is applied to an electronic device, and the method includes:
detecting a first operation of a user, wherein the first operation is used for indicating to initiate Bluetooth connection of the first external device;
determining whether a second external device is currently connected, wherein the second external device is an automatic reconnection device;
determining whether the first external device is a priority connection device or not under the condition that the second external device is connected;
and responding to the first operation, and when the first external equipment is determined to be the priority connection equipment, canceling the connection of the second external equipment, and establishing Bluetooth connection between the electronic equipment and the first external equipment.
The above method may be performed by an electronic device or a chip in an electronic device. Based on the scheme, after the first operation of the user is detected, whether the second external equipment which is connected exists or not is judged; under the condition that the second external equipment is connected, judging whether the first external equipment is a priority connection equipment; under the condition that the first external equipment is the preferential connection equipment, the second external equipment is cancelled and the Bluetooth connection with the first external equipment is established, so that the connection speed and the connection power of the first external equipment can be obviously improved.
In some possible implementations, before the detecting the first operation of the user, the method further includes:
discovering the first external device through scanning;
judging whether the first external equipment is in a connectable and paired state;
when the first external equipment is in a connectable and paired state, determining the first external equipment as a priority connection equipment.
According to the embodiment of the application, the first external equipment is set as the priority connection equipment, so that a user can conveniently realize the quick connection of the first external equipment.
In some possible implementations, the method further includes:
and displaying a first interface, wherein the first interface comprises a first window, and the first window is used for prompting that the first external equipment can be connected.
The method for discovering the first external device by the electronic device may include a BR method and a BLE broadcast discovery method.
In some possible implementation manners, optionally, discovering the first external device through scanning includes:
receiving a Bluetooth Low Energy (BLE) broadcast message from the first nomadic device, the BLE broadcast message including a Bluetooth address;
and obtaining the Bluetooth address by analyzing the BLE broadcast message, and matching based on the Bluetooth address.
In some possible implementations, optionally, discovering the first external device by scanning includes:
sending a query request to the first external device;
and receiving a response request returned by the first external equipment, wherein the response request comprises a basic rate BR address.
It should be understood that the two ways of discovering the first external device shown above are only exemplary descriptions, and the embodiments of the present application are not limited thereto. In fact, the electronic device may also discover the first external device in other reasonable manners.
In some possible implementations, after establishing the bluetooth connection between the electronic device and the first external device, the method further includes:
and displaying a second interface, wherein the second interface comprises prompt information, and the prompt information is used for prompting that the first external equipment is connected.
Therefore, after the first external device is successfully connected with the electronic device, the user can be prompted on the interface that the first external device is successfully connected, and therefore the user can visually know that the first external device is successfully connected.
In some possible implementations, the method further includes:
and when the first external equipment is determined not to be the priority connection equipment, adding the first external equipment into a waiting connection list, and continuously executing the connection of the second external equipment.
In a second aspect, a method for bluetooth connection is provided, where the method is applied to an external device, and the method includes:
broadcasting a Bluetooth Low Energy (BLE) broadcast message, the BLE broadcast message including a Bluetooth address;
or receiving a query request from the electronic device, and sending response request information to the electronic device, where the response request information includes a basic rate BR address.
The method may be performed by the first external device or a chip in the first external device. Alternatively, the first external device may be a bluetooth external device (e.g., a bluetooth headset). Through the method, the electronic device can discover the first external device, so that the electronic device can execute the Bluetooth connection method of the first aspect.
In a third aspect, an electronic device is provided that includes means for performing any of the methods of the first aspect. The electronic device may be a terminal (or a terminal device), and may also be a chip within the terminal (or the terminal device). The electronic device includes an input unit, a display unit, and a processing unit.
When the electronic device is a terminal, the processing unit may be a processor, the input unit may be a communication interface, and the display unit may be a graphic processing module and a screen; the terminal may further comprise a memory for storing computer program code which, when executed by the processor, causes the terminal to perform any of the methods of the first aspect.
When the electronic device is a chip in a terminal, the processing unit may be a logic processing unit inside the chip, the input unit may be an output interface, a pin, a circuit, or the like, and the display unit may be a graphics processing unit inside the chip; the chip may also include a memory, which may be a memory within the chip (e.g., registers, cache, etc.) or a memory external to the chip (e.g., read only memory, random access memory, etc.); the memory is adapted to store computer program code which, when executed by the processor, causes the chip to perform any of the methods of the first aspect.
In a fourth aspect, an external device (such as a bluetooth device) is provided, comprising means for performing any of the methods of the first aspect. For example, the external device may be a bluetooth headset or a chip in the bluetooth headset. The external device comprises an input unit and a processing unit. Optionally, the external device may further include a display unit.
When the external device is a bluetooth device, the processing unit may be a processor, the input unit may be a communication interface, and the display unit may be a graphic processing module and a screen; the terminal may further comprise a memory for storing computer program code which, when executed by the processor, causes the bluetooth device to perform any of the methods of the second aspect.
When the external device is a chip in a bluetooth device, the processing unit may be a logic processing unit inside the chip, the input unit may be an output interface, a pin, a circuit, or the like, and the display unit may be a graphic processing unit inside the chip; the chip may also include a memory, which may be a memory within the chip (e.g., registers, cache, etc.) or a memory external to the chip (e.g., read only memory, random access memory, etc.); the memory is adapted to store computer program code which, when executed by the processor, causes the chip to perform any of the methods of the second aspect.
In a fifth aspect, a computer-readable storage medium is provided, which stores computer program code, which, when executed by an electronic device, causes the electronic device to perform any of the methods of the first aspect.
In a sixth aspect, a computer readable storage medium is provided, which stores computer program code, which, when executed by an external device, causes the external device to perform any of the methods of the second aspect.
In a seventh aspect, a computer program product is provided, the computer program product comprising: computer program code which, when run by an electronic device, causes the electronic device to perform any of the methods of the first aspect.
In an eighth aspect, there is provided a computer program product comprising: computer program code which, when run by an external device, causes the external device to perform any of the methods of the second aspect.
Drawings
FIG. 1 is a diagram of an example application scenario in accordance with an embodiment of the present application;
fig. 2 is a schematic view of a structure of the earphone;
FIG. 3 is a schematic diagram of a hardware system of an electronic device suitable for use in the present application;
FIG. 4 is a schematic diagram of a software system suitable for use with the electronic device of the present application;
FIG. 5 is a schematic flow chart diagram of a method for determining a priority connection device according to an embodiment of the present application;
FIG. 6 is a schematic flow chart diagram of a method of Bluetooth connection in an embodiment of the present application;
FIG. 7 is a flowchart illustrating an exemplary method of Bluetooth connection in an embodiment of the present application;
FIG. 8 is a diagram of an example interface for an embodiment of the present application;
FIG. 9 is another schematic interface diagram of an embodiment of the present application;
fig. 10 is a schematic block diagram of a bluetooth-connected device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The Bluetooth connection method provided by the embodiment of the application can be applied to electronic equipment. The electronic device may be wirelessly connected to one or more external devices (or wireless external devices) via a wireless communication technology.
The electronic device may be a terminal. The terminal is, for example, a mobile phone, a media player (e.g., MP3, MP4, etc.), a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a Personal Digital Assistant (PDA), a television, a smart watch, or other devices. The embodiment of the present application does not specifically limit the type of the electronic device.
The external devices can be wireless earphones, wireless sound boxes, wireless bracelets, wireless vehicles, wireless intelligent glasses, wireless watches, augmented Reality (AR)/Virtual Reality (VR) devices and the like. The embodiment of the present application does not specifically limit the type of the external device.
The wireless communication technology may be Bluetooth (BT), which may be conventional bluetooth or low-power BLE bluetooth, wireless Local Area Network (WLAN) (e.g., wireless fidelity (Wi-Fi) network), zigbee, frequency Modulation (FM), short-range wireless communication (NFC), infrared (infrared, IR), or universal 2.4G/5G band wireless communication technology, etc. The wireless connection is a connection established using the wireless communication technology. The embodiment of the present application does not specifically limit the type of the wireless communication technology.
It should be understood that the embodiments of the present application are described with respect to bluetooth connections, but may also be applicable to other wireless communication technologies.
In the embodiments of the present application, a wireless headset is used as an example of an external device. The wireless headset may be of various types, such as ear-bud, in-ear, head-mounted, earmuff, or in-ear wireless headsets. The wireless headset may include first and second portions to be worn on the user's left and right ears, respectively, and may be connected by a connecting wire, such as a neck strap wireless headset; or may be two parts independent of each other, such as a True Wireless Stereo (TWS) headset. Illustratively, when the wireless headset is a TWS headset, the first and second portions of the wireless headset may be left and right earplugs.
Fig. 1 shows an exemplary diagram of an application scenario of an embodiment of the present application. Taking the example that the electronic device is a mobile phone and the external device is an earphone, the earphone 11 is the device to which the mobile phone 10 is connected last time. After the bluetooth function is turned on, the mobile phone 10 will automatically connect back to the earphone 11 that was connected last time. The headset 11 is no longer currently within communication range of the handset 10 (e.g., the headset 11 is off or not near the handset 10).
As shown in (1) in fig. 1, a bluetooth management interface of the mobile phone 10 is displayed in the interface. When the bluetooth function of the handset 10 is turned on, the "bluetooth is currently discoverable by nearby bluetooth devices" option is on. With this option in the open state, the handset 10 may perform bluetooth related functions such as search, pairing, connecting devices, etc.
As shown in fig. 1 (1), a "paired devices" column is included in the interface. The paired device column is used to display the devices that have been paired with the handset 10. The "paired device" shows that the headset 11 is connected.
In addition, during the automatic connection back of the headset 11, the mobile phone 10 can also scan synchronously to find other available devices. For example, as shown in (1) in fig. 1, the scanned headphones 12 are displayed in the available device column. In the connection process of the earphone 11, if the user actively clicks to connect the earphone 12, the connection of the earphone 12 can be performed after the automatic reconnection of the earphone 11 is over time. After waiting for a period of time, the headset 11 fails to connect and the handset 10 interface is shown as (2) in fig. 1.
As shown in (2) of fig. 1, the earphone 11 is automatically lost, and the interface of the mobile phone 10 pops up a window 13, and the window 13 is used for prompting the user that the earphone 11 is failed to connect.
Illustratively, the reason for the connection failure may be displayed in the window 13: the device bluetooth is off, or not within communication range (10 meters). Window 14 may also be included in window 13. "known" is displayed in the window 14. After the user reads the content prompted by the window 13, the window 14 may be clicked. After clicking on window 14, window 13 may be closed.
Optionally, as shown in (1) in fig. 1 or (2) in fig. 1, an option of "device name" may also be displayed in the interface, for example, the current device name is "glory", that is, the name of the mobile phone 10 is glory.
Optionally, as shown in (1) in fig. 1 or (2) in fig. 1, an option of "received file" may also be displayed in the interface. The "received files" option refers to files sent by other devices that the handset 10 receives via bluetooth.
It should be understood that the interface shown in fig. 1 is only an exemplary description, and the embodiments of the present application are not limited thereto. In fact, more or fewer options or controls may be included in the interface described above.
It should be further understood that fig. 1 illustrates an example where both the external devices are earphones, and the embodiments of the present application are not limited thereto. For example, the above-mentioned headset 11 and/or headset 12 may be replaced by other bluetooth peripherals, etc. For another example, the paired device bar or the available device bar of the mobile phone 10 may include a greater number of external devices.
It should also be understood that the scenario in fig. 1 is only a schematic illustration of an application scenario of the present application, which does not limit the embodiments of the present application, and the present application is not limited thereto.
It should also be understood that, the embodiment of the present application does not specifically limit how to enter the bluetooth management interface. For example, the user may click on a setup application and then click on a bluetooth option in the setup application to enter a bluetooth management interface, such as the bluetooth management interface shown in (1) of fig. 1.
Typically, an external device (e.g., the headset 11) will attempt to make two connections. The connection timeout resulting from these two connections is an appointment lasting several seconds (e.g., 16 seconds). During this period, if the user actively connects another external device (such as the headset 12), the user needs to wait until the connection back process of the headset 11 is finished, and then the connection between the other external device (such as the headset 12) and the electronic device (such as the mobile phone 10) can not be established, which results in that the connection speed of the headset 12 is very slow, and the user experience is seriously affected.
In view of this, the embodiment of the present application provides a bluetooth connection method, in a connection process of a second external device (for example, an earphone 11), if an electronic device detects an operation request for a user to connect to a first external device (for example, an earphone 12), the connection of the second external device is cancelled, and a connection between the electronic device and the first external device is established, so that the connection of the first external device can be accelerated. For the situation that the second external device needs to wait for connection timeout due to the fact that the second external device is not in the communication range, the timeout time does not need to be waited for any more, the connection speed of the first external device is remarkably improved, and user experience is improved.
Fig. 2 is a view showing one configuration example of the earphone. As shown in fig. 2, the wireless headset 100 includes at least one processor 101, at least one memory 102, a wireless communication module 103, an audio module 104, a power supply module 105, an input/output interface 106, and the like. The processor 101 may include one or more interfaces for connecting with other components of the wireless headset 100. Optionally, the wireless headset 100 is stowed in a headset case.
The memory 102 may be used for storing program codes, such as program codes for connecting the wireless headset 100 to a plurality of electronic devices, processing audio services of the electronic devices (e.g., music playing, making/receiving calls, etc.), charging the wireless headset 100, and performing wireless pairing connection of the wireless headset 100 to other electronic devices. The memory 102 may also be used to store other information, such as pairing information for recently connected electronic devices.
The processor 101 may be configured to execute the application program codes and call the relevant modules to implement the functions of the wireless headset 100 in the embodiment of the present application. For example, when the bluetooth headset receives the connection request information of the electronic device, the bluetooth headset may establish a physical connection with the electronic device.
The processor 101 may include one or more processing units, and different processing units may be independent devices or may be integrated in one or more of the processors 101. The processor 101 may be specifically an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to execute the functions belonging to the processor 101 described in the embodiments of the present application.
The wireless communication module 103 may be configured to support data exchange between the wireless headset 100 and other electronic devices or headset cases, including BT, WLAN (e.g., wi-Fi), zigbee, FM, NFC, IR, or general 2.4G/5G wireless communication technologies.
In some embodiments, the wireless communication module 103 may be a bluetooth chip. The wireless headset 100 can be paired with bluetooth chips of other electronic devices through the bluetooth chip and establish a wireless connection, so as to implement wireless communication and service processing between the wireless headset 100 and the other electronic devices through the wireless connection. The wireless connection may be a physical connection or a virtual connection. Generally, a bluetooth chip may support Basic Rate (BR)/enhanced rate (EDR) bluetooth and BLE, for example, paging (page) information may be received/transmitted, BLE broadcast messages may be received/transmitted, and the like.
In addition, the wireless communication module 103 may further include an antenna, and the wireless communication module 103 may receive an electromagnetic wave via the antenna, frequency-modulate and filter an electromagnetic wave signal, and transmit the processed signal to the processor 101. The wireless communication module 103 may also receive a signal to be transmitted from the processor 101, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through an antenna to radiate the electromagnetic waves.
The audio module 104 may be used to manage audio data and enable the wireless headset 100 to input and output audio signals. For example, the audio module 104 may obtain an audio signal from the wireless communication module 103 or transmit the audio signal to the wireless communication module 103, so as to implement functions of making and receiving calls through a bluetooth headset, playing music, activating/deactivating a voice assistant of an electronic device connected to the headset, receiving/transmitting voice data of a user, and the like. The audio module 104 may include a speaker (or called an earphone or a receiver) component for outputting an audio signal, a microphone (or called a microphone or a microphone), a microphone receiving circuit matched with the microphone, and the like. The speaker can be used to convert the audio electrical signal into a sound signal and play the sound signal. The microphone may be used to convert sound signals into electrical audio signals.
The power module 105 may be configured to provide a system power for the wireless headset 100 to supply power to each module of the wireless headset 100; the wireless headset 100 is supported to receive a charging input, etc. The power module 105 may include a Power Management Unit (PMU) and a battery. The power management unit can receive external charging input; the electric signal input by the charging circuit is provided for the battery to charge after being transformed, and the electric signal provided by the battery can be provided for other modules such as the audio module 104, the wireless communication module 103 and the like after being transformed; and to prevent overcharging, overdischarging, short-circuiting, overcurrent, etc. of the battery. In some embodiments, the power module 105 may also include a wireless charging coil for wirelessly charging the wireless headset 100. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle number, battery health state (leakage, impedance) and the like.
A plurality of input/output interfaces 106 may be used to provide a wired connection for charging or communication between the wireless headset 100 and a headset case. In some embodiments, the input/output interface may be a USB interface. In other embodiments, the input/output interface 106 may be a headset electrical connector through which the wireless headset 100 may establish electrical connection with an electrical connector in a headset case when the wireless headset 100 is placed in the headset case, thereby charging a battery in the wireless headset 100. In other embodiments, after the electrical connection is established, the wireless headset 100 may also be in data communication with a headset box, for example, may receive a pairing instruction from the headset box.
In addition, the wireless headset 100 may also include a sensor 107. For example, the sensor 107 may be a distance sensor or a proximity light sensor that may be used to determine whether the wireless headset 100 is worn by a user. For example, the wireless headset 100 may determine whether the wireless headset 100 is worn by the user by using a distance sensor to detect whether an object is near the wireless headset 100. Upon determining that the wireless headset 100 is worn, the wireless headset 100 may turn on the speaker. As another example, the sensor 107 may also include a bone conduction sensor, incorporated into a bone conduction headset. By using the bone conduction sensor, the wireless earphone 100 can acquire the vibration signal of the vibration bone mass of the human body vocal part, analyze the voice signal, realize the voice function, and thus receive the voice command of the user. The wireless headset 100 may also perform voice authentication according to the user voice signal acquired by the bone conduction headset, so as to authenticate the user identity in a service scenario such as payment transaction. For another example, the sensor 107 may further include: a touch sensor for detecting a touch operation of a user; the fingerprint sensor is used for detecting the fingerprint of the user, identifying the identity of the user and the like; the ambient light sensor can adaptively adjust some parameters (such as volume) according to the perceived brightness of the ambient light; and other sensors.
In some embodiments, the touch sensor may detect a single click, a double click, multiple clicks, a long press, a heavy press, and other touch operations of the user, and may perform user fingerprint recognition to authenticate the user identity in a service scenario such as a payment transaction.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the wireless headset 100. It may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. For example, the wireless headset 100 may further include keys 108, an indicator light (which may indicate the status of power, incoming/outgoing calls, pairing mode, etc.), a display screen (which may prompt the user for relevant information), a dust screen (which may be used with an earpiece), and the like on the outer surface thereof. The key 108 may be a physical key or a touch key (used in cooperation with a touch sensor), and is used to trigger operations such as power on, power off, pause, play, record, start pairing, and reset.
It should be understood that the various components shown in fig. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
Fig. 3 is a hardware system of an electronic device suitable for use in the present application.
The electronic device 300 may be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a projector, and the like, and the embodiment of the present application does not limit the specific type of the electronic device 300.
The electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a Universal Serial Bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display 394, and a Subscriber Identity Module (SIM) card interface 395, and the like. The sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, and the like.
The configuration shown in fig. 3 is not specifically limited to the electronic device 300. In other embodiments of the present application, electronic device 300 may include more or fewer components than shown in FIG. 3, or electronic device 300 may include a combination of some of the components shown in FIG. 3, or electronic device 300 may include sub-components of some of the components shown in FIG. 3. The components shown in fig. 3 may be implemented in hardware, software, or a combination of software and hardware.
Processor 310 may include one or more processing units. For example, the processor 310 may include at least one of the following processing units: an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and a neural-Network Processor (NPU). The different processing units may be independent devices or integrated devices.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 310. If the processor 310 needs to reuse the instruction or data, it can be called directly from the memory, avoiding repeated accesses, reducing the latency of the processor 310 and thus increasing the efficiency of the system.
In some embodiments, processor 310 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
Wherein the I2S interface may be used for audio communication. In some embodiments, the processor 310 may include multiple sets of I2S buses. The processor 310 may be coupled to the audio module 370 through an I2S bus, enabling communication between the processor 310 and the audio module 370. In some embodiments, the audio module 370 may transmit the audio signal to the wireless communication module 360 through an I2S interface, so as to implement a function of answering a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 370 and the wireless communication module 360 may be coupled by a PCM bus interface. In some embodiments, the audio module 370 may also transmit audio signals to the wireless communication module 360 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 310 with the wireless communication module 360. For example: the processor 310 communicates with the bluetooth module in the wireless communication module 360 through the UART interface to implement the bluetooth function. In some embodiments, the audio module 370 may transmit the audio signal to the wireless communication module 360 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The wireless communication function of the electronic device 300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem processor, a baseband processor, and the like.
The mobile communication module 350 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 300. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 350 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 350 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the processor 310. In some embodiments, at least some of the functional blocks of the mobile communication module 350 may be provided in the same device as at least some of the blocks of the processor 310.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 370A, the receiver 370B, etc.) or displays images or video through the display 394. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 310, and may be disposed in the same device as the mobile communication module 350 or other functional modules.
The wireless communication module 360 may provide a solution for wireless communication applied to the electronic device 300, including WLAN (e.g., wi-Fi), BT, global Navigation Satellite System (GNSS), FM, NFC, IR, or universal 2.4G/5G wireless communication technologies. The wireless communication module 360 may be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 may also receive a signal to be transmitted from the processor 310, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the wireless communication module 360 may be a bluetooth chip. The electronic device 300 may pair with a bluetooth chip of an electronic device such as a wireless headset through the bluetooth chip and establish a wireless connection, so as to implement wireless communication and service processing between the electronic device 300 and other electronic devices through the wireless connection. The wireless connection may be a physical connection or a virtual connection. The Bluetooth chip can generally support BR/EDR Bluetooth and BLE.
The electronic device 300 may implement display functionality through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 394 may be used to display images or video. The display screen 394 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini light-emitting diode (Mini LED), a Micro light-emitting diode (Micro LED), a Micro OLED (Micro OLED), or a quantum dot light-emitting diode (QLED). In some embodiments, the electronic device 300 may include 1 or N display screens 394, N being a positive integer greater than 1.
Electronic device 300 may implement the camera functions through the ISP, camera 393, video codec, GPU, display 394, application processor, etc.
The ISP is used to process the data fed back by the camera 393. For example, when a user takes a picture, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, an optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and converting into an image visible to the naked eye. The ISP can perform algorithm optimization on the noise, brightness and color of the image, and can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be located in camera 393.
The camera 393 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard Red Green Blue (RGB), YUV, or the like format image signal. In some embodiments, electronic device 300 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 300 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
The electronic device 300 may implement audio functions, such as music playing and recording, through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the earphone interface 370D, and the application processor.
The audio module 370 is used to convert digital audio information into an analog audio signal for output, and may also be used to convert an analog audio input into a digital audio signal. The audio module 370 may also be used to encode and decode audio signals. In some embodiments, the audio module 370 or some functional modules of the audio module 370 may be disposed in the processor 310.
The speaker 370A, also called a horn, converts an audio electric signal into a sound signal. The electronic device 300 can listen to music or a handsfree call through the speaker 370A.
The receiver 370B, also called an earpiece, is used to convert the electrical audio signal into a sound signal. When a user answers a call or voice information using electronic device 300, voice can be answered by placing receiver 370B close to the ear.
The microphone 370C, also referred to as a microphone or microphone, is used to convert sound signals into electrical signals. When a user places a call or sends a voice message, a voice signal may be input into the microphone 370C by sounding near the microphone 370C.
The earphone interface 370D is used to connect a wired earphone. The headset interface 370D may be the USB interface 330, or may be an Open Mobile Terminal Platform (OMTP) standard interface of 3.5mm, a cellular telecommunications industry association (cellular telecommunications industry association) standard interface of the USA.
Keys 390 include a power-on key and a volume key. The keys 390 may be mechanical keys or touch keys. The electronic device 300 can receive the key input signal and implement the function related to the case input signal.
The motor 391 may generate vibrations. The motor 391 may be used for incoming call alerting, as well as for touch feedback. The motor 391 may generate different vibration feedback effects on touch operations applied to different applications. The motor 391 may also produce different vibration feedback effects for touch operations that are applied to different areas of the display screen 394. Different application scenarios (e.g., time reminders, received information, alarms, and games) may correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The connection relationship between the modules shown in fig. 3 is only for illustrative purposes and does not limit the connection relationship between the modules of the electronic apparatus 300. Alternatively, the modules of the electronic device 300 may also adopt a combination of multiple connection manners in the above embodiments.
The hardware system of the electronic device 300 is described above in detail, and the software system of the electronic device 300 is described below. The software system may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture, and the embodiment of the present application takes the layered architecture as an example to exemplarily describe the software system of the electronic device 300.
Fig. 4 is a schematic diagram of a software system suitable for use in the electronic device of the present application. As shown in fig. 4, the software system adopting the layered architecture is divided into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the software system may be divided into four layers, which are an application layer, an application framework layer, a native service layer, a Hardware Abstraction Layer (HAL), and a physical layer from top to bottom.
Wherein the application layer may include a series of application packages. The setup application and bluetooth application are shown in fig. 4. For example, the application layer may further include applications such as a camera, a gallery, a calendar, a call, a map, navigation, WLAN, music, video, and a short message.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer may include some predefined functions. As shown in fig. 4, the application framework layer includes a bluetooth service.
Optionally, the application framework layer may also include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen and judge whether a status bar, a lock screen and a capture screen exist.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, and phone books.
The view system includes visual controls such as controls to display text and controls to display pictures. The view system may be used to build applications. The display interface may be composed of one or more views, for example, a display interface including a short message notification icon, and may include a view displaying text and a view displaying pictures.
The phone manager is used to provide communication functions of the electronic device 300, such as management of call status (on or off).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, and video files.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as notification managers, are used for download completion notifications and message reminders. The notification manager may also manage notifications that appear in a chart or scrollbar text form in a status bar at the top of the system, such as notifications for applications running in the background. The notification manager may also manage notifications that appear on the screen in dialog windows, such as prompting for text messages in a status bar, sounding a prompt tone, vibrating the electronic device, and flashing an indicator light.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform the functions of object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
And a Native layer can improve some local services, link libraries and the like. Wherein, the Native layer may comprise a bluetooth protocol stack. In other embodiments, the bluetooth connection method provided in the embodiments of the present application may also be implemented by adaptively modifying a bluetooth protocol stack in a Native layer. In some embodiments, the bluetooth protocol stack may include a queue module. A node (node) generated based on the bluetooth connection request may be included in the queue module. For example, when the electronic device 300 automatically connects back to the second external device, the node 1 and the node 2 are generated in the queue. The node 1 is used for processing a call connection request of the second external device, and the node 2 is used for processing a media (such as music) connection request of the second external device. For example, the queues are sorted according to the order of node 1 and node 2.
In the embodiment of the present application, if, in the automatic reconnection process of the second external device, the electronic device receives a connection request of the first external device, where the first external device is a preferential connection device, and the connection request of the first external device is processed by the node 3, in a queue, the node 3 is arranged in front of the node 1 and the node 2, and the request of the node 3 is preferentially processed, that is, the first external device is preferentially connected. For example, the queues are sorted according to the order of node 3, node 1, and node 2. In addition, after the connection of the first external device is completed, the second external device can be continuously connected, that is, after the processing of the node 3 is completed, the node 1 and the node 2 are continuously processed.
It should be understood that node 1, node 2, and node 3 are only described here as examples, and the embodiments of the present application are not limited thereto. In fact, more nodes may be included in the queue.
The HAL layer is an interface layer between the operating system kernel and the hardware circuitry, which abstracts the hardware. The physical layer provides the underlying hardware driver interface.
The kernel layer is a layer between hardware and software. The kernel layer can comprise driving modules such as a display driver, a camera driver, an audio driver and a sensor driver.
It is understood that the electronic device 300 may also be other operating systems, and the embodiments of the present application are not limited thereto. In other operating systems, the framework layer and the Native layer may be configured as one layer. Therefore, in other embodiments, the bluetooth connection method provided in the embodiment of the present application may also be implemented by performing a corresponding modification on the existing bluetooth protocol in this layer.
It should be noted that, the above only illustrates the structure of the electronic device with reference to fig. 3, and the software architecture of the electronic device with reference to fig. 4, which is not specifically limited in this embodiment of the present application.
The bluetooth Service in the framework layer will be described as an example. In the bluetooth protocol based on the embodiment of the present application, when determining that the bluetooth Service in the electronic device framework layer is paired with a bluetooth headset and receiving a BLE broadcast message sent by the bluetooth headset, the bluetooth Service reports that the bluetooth Service is connected to the bluetooth headset to an upper layer bluetooth application (e.g., a bluetooth setting application). For example, the bluetooth Service in the framework layer may specifically notify the bluetooth setting application that the bluetooth headset is connected to the bluetooth Service application through an android broadcast message mechanism. The upper layer bluetooth application displays relevant information of the connected bluetooth headset on a relevant interface (for example, in a status bar of a display interface, or in a notification bar, or on a bluetooth management interface, or on a minus 1 screen, etc.), such as connected information of power, wearing status, service status, connection status, device name, device model, device icon, connection identifier, etc. The BLE broadcast message may include one of the device name, the device type, the device model, the battery level, the wearing state, the connection state, the traffic state, and other operating state information of the bluetooth headset. Wherein the connection state information may indicate whether a physical connection has been established with the electronic device. The service status information may indicate whether the bluetooth headset is currently in an idle state or not, or an audio service being processed by the bluetooth headset. Moreover, the BLE broadcast message is sent periodically, and the bluetooth application may update the related information of the connected bluetooth headset displayed on the related interface in real time according to the state information of the bluetooth headset in the BLE broadcast message acquired in real time.
The method of bluetooth connection according to the embodiment of the present application is described in detail below with reference to fig. 5 to 9. The embodiment of the application is described by taking the example that the electronic equipment and the external equipment comprise the Bluetooth module and the electronic equipment and the external equipment are in wireless connection through Bluetooth.
Referring to fig. 5, fig. 5 is a diagram illustrating an example of a method 500 for determining a priority connection device according to an embodiment of the present application. It is to be understood that the method of fig. 5 may be applied to an electronic device. For example, in the scenario shown in fig. 1. The method 500 in fig. 5 includes the following steps:
step 501, the electronic device turns on bluetooth.
The embodiment of the application does not specifically limit the entrance for the electronic device to open the bluetooth. For example, the user may slide down the notification bar (or status bar) and then click a bluetooth control in the notification bar to activate the bluetooth function. For another example, the user may enter a bluetooth function switch option in a setting application or a bluetooth application of the electronic device, and select to start the bluetooth function.
Step 502, the electronic device performs automatic loopback and simultaneously starts scanning.
Illustratively, the electronic device actively attempts to connect to the recently connected device (or the last connected device) after the bluetooth function is turned on. The embodiment of the application names the equipment which is connected recently as the second external equipment. The second external device is, for example, the earphone 11 shown in fig. 1.
The electronic device may also initiate a scan synchronously while performing an automatic reconnect to discover other connectable external devices. For example, the electronic device scans to the first external device. Scanning may also be understood as the process of searching for or discovering new devices.
Step 503, the electronic device discovers the first external device.
For example, the first external device may be the headset 12 shown in FIG. 1.
The embodiment of the present application does not specifically limit how the electronic device discovers the first external device. The electronic device can discover the first external device in a BR scanning mode and also can discover the first external device in a BLE broadcasting mode.
Optionally, as an implementation manner, the electronic device discovers the first external device in a BLE broadcast manner, which is specifically as follows:
the method comprises the steps that a first external device broadcasts a Bluetooth Low Energy (BLE) broadcast message of an electronic device, wherein the BLE broadcast message comprises a Bluetooth address; accordingly, after receiving the BLE broadcast message, the electronic device obtains the Bluetooth address by analyzing the BLE broadcast message.
Optionally, the BLE broadcast message may be periodically transmitted by the first peripheral device.
It should be understood that other information may also be included in the BLE broadcast message, and this embodiment of the present application is not limited in this respect.
Optionally, as an implementation manner, the discovering, by the electronic device, the first external device through BR scanning includes:
the electronic equipment sends a query (inquiry) request to the first external equipment;
and the first external equipment replies response request information to the electronic equipment, wherein the response request information comprises a basic rate BR address.
After the electronic device receives the response request information, it can know that the first external device is scanned.
It should be understood that the two ways of discovering the first peripheral device shown above are only exemplary descriptions, and the embodiments of the present application are not limited thereto. In fact, the electronic device may also discover the first external device in other reasonable manners.
After the first external device is scanned, the electronic device may perform a matching operation with the first external device based on the analyzed bluetooth address.
Illustratively, after receiving the BLE broadcast message, the electronic device parses the BLE broadcast message to obtain a bluetooth address, and pairs (or matches) with the first external device based on the bluetooth address and the pairing list device.
Pairing refers to sharing a link key (link key) between the electronic device and the first external device. The link key may be used to mutually authenticate the bluetooth devices and encrypt the exchanged data. For example, the pairing mode of the bluetooth device may include PIN code pairing (PIN code pairing) and Secure Simple Pairing (SSP).
When the electronic device is successfully paired with the first external device, the first external device can be considered to be in a paired state. Meanwhile, whether the first external equipment can be connected or not can be judged. The connectable state may be understood as a state in which the first external device is capable of being connected.
Step 504, determining whether the first external device is in a connectable and paired state.
Exemplarily, the paired state may be understood as: the first external equipment can be searched by the electronic equipment, and the electronic equipment and the first external equipment are successfully paired.
In some possible implementations, the connectable state may be determined based on a maximum number of devices that the first add-on device supports connections. For example, the first external device supports at most 2 devices, and if the first external device is connected to one device, which indicates that the first external device can be further connected, the first external device is in a connectable state.
If the first external device is in a connectable and paired state, step 504 is performed. If the first external device is not in a connectable state or a paired state, step 504 is not performed.
Optionally, after the first external device is discovered, the electronic device may further display a first window (or a first pop-up window) to prompt the user that the first external device is connectable.
Optionally, the method 500 further comprises:
and displaying a first interface, wherein the first interface comprises a first window, and the first window is used for prompting that the first external equipment can be connected.
After the first external device is in a connectable and paired state, the user may be prompted through the first window that the first external device is connectable. The first interface may be an interface as shown in (1) in fig. 8 later, and the first window may be the window 801 in (1) in fig. 8.
Optionally, the first window may further include an option or a control for connecting the first external device. And when the user clicks the option for connecting the first external equipment in the first window, the connection of the first external equipment can be initiated. An example of the first window will be described as an example of the interface in fig. 8, which follows.
Step 505, the electronic device sets the first external device as a priority connection device.
In the embodiment of the application, the electronic device marks the first external device as a device preferentially connected. The preferentially connected devices are: the connection order is better than the device to which the electronic device is currently connected (e.g., the device that is automatically reconnecting).
It should be understood that the embodiment of the present application does not limit the specific marking manner of the device for marking the preferential connection.
For example, in a case that the first external device is successfully paired, identification information may be added to the pairing information of the first external device, where the identification information is used to identify that the first external device is a device that allows preferential connection.
For example, in a case that the first external device is not paired, the first external device may be set as a priority connection device in a process of connecting the first external device based on a BLE result temporarily cached locally by the electronic device.
According to the embodiment of the application, the first external equipment is set as the priority connection equipment, so that a user can conveniently realize the quick connection of the first external equipment. The connection process of the first external device is described below with reference to fig. 6.
Referring to fig. 6, fig. 6 shows a schematic flow chart of a method 600 for bluetooth connection in an embodiment of the present application. It is to be understood that the method of fig. 6 may be applied to an electronic device. For example, in the scenario shown in fig. 1. It should also be understood that the method in fig. 6 may be implemented in combination with the method in fig. 5, or may be implemented independently, which is not particularly limited. Illustratively, when the method of fig. 5 is implemented in combination with the method of fig. 6, the method of fig. 5 may be performed first, and then the method of fig. 6 may be performed.
As shown in fig. 6, the method 600 includes the steps of:
step 601, detecting a first operation of a user, where the first operation is used to instruct to initiate bluetooth connection of a first external device.
The first operation may be an operation of connecting the first external device, which is manually initiated by a user. The embodiment of the present application does not limit the specific form of the first operation.
The first operation may be initiated at the electronic device side, or may be initiated at the first external device, which is not particularly limited.
In one implementation, a user may click on a first external device in an electronic device. For example, the above description of step 504 in fig. 5 refers to "when the user clicks the option of connecting to the first external device in the first popup, the connection to the first external device may be initiated", that is, the first operation may be that the user clicks the option of connecting to the first external device in the first popup. For example, the first operation may be an operation of clicking on the "yes" option in window 801 in FIG. 8.
In another implementation manner, the user may initiate bluetooth connection by touching the touch operation area of the first external device. The embodiments of the present application do not limit this.
The embodiment of the present application does not specifically limit how the electronic device discovers the first external device.
Step 602, determining whether a second external device is currently connected.
Optionally, the second external device is an automatic back-connection device of the electronic device.
The reconnection refers to an operation in which the electronic device is attempting to perform reconnection with a previously paired and connected second external device by means of paging. In some embodiments, the back-joining comprises: the electronic device sends a paging (page) packet to the second external device to request establishment of a communication connection with the second external device.
Or, optionally, the second external device is a device that the user selects to connect before initiating the first operation, and the second external device cannot establish a connection with the electronic device currently. Illustratively, before detecting the first operation of the user, the electronic device further detects a second operation, and the second operation is used for indicating that a second external device is connected.
Illustratively, the second external device is unable to establish a connection with the electronic device, including one or more of: the second external equipment is in a power-off state and cannot be connected with the electronic equipment; the second external device is far away from the electronic device, is not in the communication range of the electronic device and cannot receive data sent by the electronic device; the second external device establishes connection with other devices, and exceeds the maximum connection quantity, so that connection with the electronic device can not be established.
It should be understood that the above description about the case where the second external device cannot establish connection with the electronic device is only an exemplary description, and the embodiments of the present application are not limited thereto.
If the electronic device is being connected to the second external device, step 603 is executed to determine whether the first external device is a preferred connection device. It is described herein that the first operation by the user is detected in a case where the electronic apparatus is being connected to the second external apparatus. Of course, if the electronic device is not connected to the second external device, the electronic device may directly initiate connection to the first external device after detecting the first operation of the user.
Step 603, in a case that the second external device is being connected, determining whether the first external device is a priority connection device.
A preferentially connected device refers to a device (such as a second external device) that is connected in a better order than the device to which the electronic device is currently connected.
The preferred connection device may be set as described above with reference to step 504 of fig. 5. For brevity, no further description is provided herein.
For example, when the first external device is set as the preferred external device in step 504 in fig. 5, it can be determined that the first external device is the preferred connection device, that is, the connection of the first external device is better than the connection of the second external device.
Step 604, in response to the first operation, when it is determined that the first external device is the priority connection device, canceling the connection of the second external device, and establishing a bluetooth connection between the electronic device and the first external device.
For example, the cancellation of the connection of the second external device may be understood as: and for the second external equipment which is connected, canceling or terminating the physical link connection of the second external equipment.
Optionally, after the connection between the first external device and the electronic device is completed, if the connection of the second external device needs to be restored, the connection of the second external device may be continuously attempted.
In the embodiment of the application, after a first operation of a user is detected, whether a second external device which is being connected exists is judged; judging whether the first external equipment is priority connection equipment or not under the condition that the second external equipment is connected; under the condition that the first external equipment is the preferential connection equipment, the second external equipment is cancelled and the Bluetooth connection with the first external equipment is established, so that the connection speed and the connection power of the first external equipment can be obviously improved. Under the condition that the second external device cannot be successfully connected, the connection speed of the first external device can be obviously increased on the premise of keeping the automatic reconnection function.
Of course, if the first external device is not the preferential connection device, the connection request of the first external device may be added into the queue, and connection may be performed in sequence according to the queue order, for example, after the connection of the second external device is overtime or finished, the first external device is connected.
The following is described by way of example in connection with the flow in fig. 7. It should be understood that some of the features, terms, or concepts referred to in FIG. 7 may be referred to in the foregoing description and will not be described in detail below. Taking the first external device as a example and the second external device as a device B as an example, as shown in fig. 7, the method includes the following steps:
in step 701, a user requests to connect to device a.
In step 702, the electronic device determines whether another device (e.g., device B) is currently connected.
If device B is connecting, then step 703 is performed; if no other devices are connecting, step 704 is performed.
In step 703, the electronic device determines whether device a is a priority connection device.
If device a is a priority connection device, step 705 is performed. If device a is not a priority connection device, step 707 is performed.
In step 704, the electronic device directly initiates the connection of device a.
Step 705, the electronic device cancels the connection of device B and establishes the connection of device a.
For example, when it is determined that the device a is a device to which connection is prioritized, the connection of the device B is cancelled, and the connection of the device a is immediately initiated.
Optionally, after step 705 is performed, step 706 may also be performed, i.e. continue to connect device B.
In step 707, the electronic device enqueues the connection request of device a in the queue and performs the connection of device B.
In step 708, after the connection time out or end of the device B, the connection of the device a is executed.
It should be understood that the flow of fig. 7 is only an exemplary description, and the embodiments of the present application are not limited thereto. In fact, the above-described flow can be implemented by more steps or fewer steps on the basis of fig. 7 by those skilled in the art.
Optionally, after the bluetooth connection between the electronic device and the first external device is established, the method 600 further includes:
and displaying a second interface, wherein the second interface comprises prompt information, and the prompt information is used for prompting that the first external equipment is connected.
That is to say, after the first external device is successfully connected with the electronic device, the user can be prompted on the interface that the first external device is successfully connected, so that the user can intuitively know that the first external device is successfully connected.
It can be understood that other information may also be displayed in the second interface, and this is not particularly limited in this embodiment of the application.
The following is described in connection with the interface examples in fig. 8 and 9.
Referring to fig. 8, fig. 8 illustrates an example diagram of an interface according to an embodiment of the present application. As shown in (1) in fig. 8, a bluetooth management interface of the mobile phone 10 is displayed in the interface. The interface shown in (1) in fig. 8 is similar to the interface shown in (1) in fig. 1, and details of the interface are not repeated here.
After the method of bluetooth connection according to the embodiment of the present application is adopted, as shown in (1) in fig. 8, when the headset 11 is automatically connected back, if the headset 12 is successfully paired with the mobile phone 10, a window 801 (corresponding to the foregoing first window) may pop up in the interface of the mobile phone 10. The window 801 includes options of "yes" and "no". The window 801 is used to prompt the user to scan whether the headset 12 is connectable or not connected. If the user clicks the "Yes" option in window 801, the interface displays an interface as shown in (2) of FIG. 8. In contrast to fig. 1 shown above, the headset 12 in fig. 8 does not need to wait for the headset 11 to be connected for a time-out before establishing a connection with the handset 10. Therefore, the interface of (2) in fig. 8 does not show the connection failure window 13 shown in (2) in fig. 1.
It should be understood that the options included in the window 801, the position of the window 801 in the interface, and the size of the window 801 are only exemplary descriptions, and the embodiment of the present application is not limited thereto.
Illustratively, the first operation of the foregoing step 601 may be that the user clicks the "yes" option in the window 801.
As shown in the interface (2) in fig. 8, the headphone 12 shows that it is being connected, and the headphone 11 is located below the headphone 12. That is, the handset 10 cancels the connection of the earphone 11 and initiates the connection of the earphone 12 after detecting the connection request of the user for the earphone 12, so as to meet the requirement of the user to connect the earphone 12.
When the headset 12 and the mobile phone 10 are connected, the interface of the mobile phone 10 may display an interface (corresponding to the second interface) as shown in (3) in fig. 8. As shown in fig. 8 (3), in the paired device bar, the headphones 12 display the connected (corresponding to the prompt information in the second interface). In addition, a control 901 may be further included in the bluetooth interface of the mobile phone 10. Controls 901 are used to access the management interface of the headset 12. Similarly, corresponding controls may also be provided for the headset 11.
In some embodiments, the bluetooth application or setup application may also display information such as the name of bluetooth, the device type, the device model, the power level of the device, etc. on the interface of the electronic device.
As shown in (1) in fig. 9, the user can click on a control 901 to set the headset 12. After the cell phone 10 detects that the user clicks the control 901, the interface is as shown in (2) in fig. 9. As shown in (2) in fig. 9, detailed information of the bluetooth headset 12 may be displayed in the interface of the mobile phone 10. The detailed information may include: a rename option, a call audio switch option, a media audio switch option, a bluetooth automatic connect switch option, power information (including left and right earphones), a ring tone synchronization switch option, a unpairing window, etc.
The rename option is used to modify the name of the headset 12. When the user clicks on the rename option, the name of the headset 12 may be edited or modified.
The call audio switch option is used to select whether the call audio of the handset 10 is played through the bluetooth headset. For example, when the user opens the call audio option, the call audio of the mobile phone 10 can be played through the earphone 12; when the user closes the call audio option, the call audio of the mobile phone 10 is not played through the earphone 12.
The media audio switch option is used to select whether the media audio of the handset 10 is played through the bluetooth headset. For example, when the user opens the media audio option, the media audio of the mobile phone 10 can be played through the earphone 12; when the user closes the media audio option, the media audio of the handset 10 is not played through the headphones 12.
The bluetooth automatic connect switch option is used to select whether to automatically connect the bluetooth headset. For example, when the user turns on the bluetooth automatic connection switch option, if the headset 12 is found, the mobile phone 10 automatically connects the headset 12.
The ring tone synchronization switch option is used to select whether the headset 12 automatically plays the ring tone of the phone when an incoming call is made.
The unpairing window is used to select whether or not to unpair the current headset 12.
It should be understood that the interfaces shown in fig. 8 and 9 are only exemplary descriptions, and the embodiments of the present application are not limited to this scenario.
Optionally, after the headset 12 establishes a connection with the handset 10, status information of the connected bluetooth headset may also be displayed on the handset. In one implementation, the bluetooth application or setup application may display status information of the connected bluetooth headset on the interface of the handset 10. For example, in the bluetooth management interface shown in (3) in fig. 8 or the bluetooth management interface shown in (1) in fig. 9, the connected information of the headset 12 is displayed below the paired device bar. For another example, a connection icon and a power identifier of the headset 12 may be displayed in a status bar of the mobile phone. The embodiment of the present application is not particularly limited to this.
A method for bluetooth connection provided in an embodiment of the present application is described in detail above with reference to fig. 1 to 9. An embodiment of the apparatus of the present application will be described in detail below with reference to fig. 10.
It should be understood that the bluetooth connection apparatus according to the embodiment of the present application may perform the foregoing embodiments of the various bluetooth connection methods according to the embodiments of the present application, that is, the following specific working processes of various products, and reference may be made to the corresponding processes in the foregoing embodiments of the methods.
Fig. 10 is a schematic block diagram of a bluetooth connected device 1000 according to an embodiment of the present application. As shown in fig. 10, the apparatus 1000 includes: an input unit 1010, a processing unit 1020, and a display unit 1030. It is understood that the apparatus 1000 may perform the method of bluetooth connection of fig. 5-9.
In a possible example, the input unit 1010 is configured to detect a first operation of a user, where the first operation is used to instruct to initiate bluetooth connection of the first external device;
the processing unit 1020 is configured to: determining whether a second external device is currently connected, wherein the second external device is an automatic reconnection device; determining whether the first external device is a priority connection device or not under the condition that the second external device is connected; and responding to the first operation, and when the first external equipment is determined to be the priority connection equipment, canceling the connection of the second external equipment and establishing the Bluetooth connection between the electronic equipment and the first external equipment.
Optionally, as a possible implementation manner, the processing unit 1020 is further configured to, before the first operation of the user is detected, discover the first external device by scanning;
judging whether the first external equipment is in a connectable and paired state;
when the first external equipment is in a connectable and paired state, determining the first external equipment as a priority connection equipment.
Optionally, as a possible implementation manner, the processing unit 1020 is further configured to:
and calling the display unit 1030 to display a first interface, wherein the first interface comprises a first window used for prompting that the first external device can be connected.
Optionally, as a possible implementation manner, the processing unit 1020 is configured to discover the first external device through scanning, and includes:
invoking the input unit 1010 to receive a Bluetooth Low Energy (BLE) broadcast message from the first peripheral device, wherein the BLE broadcast message comprises a Bluetooth address;
and obtaining the Bluetooth address by analyzing the BLE broadcast message, and matching based on the Bluetooth address.
Optionally, as a possible implementation manner, the processing unit 1020 is configured to discover the first external device through scanning, and includes:
sending a query request to the first external equipment;
and receiving response request information returned by the first external equipment, wherein the response request information comprises a basic rate BR address.
Optionally, as a possible implementation manner, after the bluetooth connection between the apparatus 1000 and the first external device is established, the processing unit 1020 is further configured to invoke the display unit 1030 to:
and displaying a second interface, wherein the second interface comprises prompt information, and the prompt information is used for prompting that the first external equipment is connected.
Optionally, as a possible implementation manner, the input unit 1010 is further configured to add the first external device to a connection waiting list and continue to perform connection of the second external device when it is determined that the first external device is not a preferential connection device.
It should be appreciated that the above-described apparatus 1000 is embodied in the form of functional units. The term "unit" herein may be implemented in software and/or hardware, and the embodiment of the present application is not limited to this specifically.
For example, a "unit" may be a software program, a hardware circuit, or a combination of both that implement the above-described functions. The hardware circuitry may include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other suitable devices that provide the described functionality. In a simple embodiment, those skilled in the art will appreciate that the device 1000 may take the form shown in FIG. 4.
As can be seen from the above, in the method for bluetooth connection provided in this embodiment of the present application, under the condition that the second external device is being connected, whether the first external device is a priority connection device is determined; under the condition that the first external equipment is the preferential connection equipment, the second external equipment is cancelled and the Bluetooth connection with the first external equipment is established, namely, the connection speed and the connection power of the first external equipment are obviously improved by adjusting the connection sequence.
The present application also provides a computer program product which, when executed by a processor, implements the method of any of the method embodiments of the present application.
The computer program product may be stored in a memory and may be eventually transformed into an executable object file by preprocessing, compiling, assembling and linking.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a computer, implements the method of any of the method embodiments of the present application. The computer program may be a high-level language program or an executable object program.
The computer readable storage medium may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The terms (or numbers) "first", "second", "8230, etc. appearing in the embodiments of the present application are for descriptive purposes only, i.e., for distinguishing different objects such as different" external devices ", etc., and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first," second, "" 8230, etc. may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, "at least one" means one or more. "plurality" means two or more. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is only one kind of association relationship describing the association object, and means that there may be three kinds of relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
For example, items similar to "appearing in the embodiments of the present application include at least one of: the meaning of the expressions A, B, and C "generally means that the item may be any of the following, unless otherwise specified: a; b; c; a and B; a and C; b and C; a, B and C; a and A; a, A and A; a, A and B; a, A and C, A, B and B; a, C and C; b and B, B, B and C, C and C; c, C and C, and other combinations of A, B and C. The above description is made by taking 3 elements of a, B and C as examples of optional items of the item, and when the expression "item" includes at least one of the following: a, B, \8230;, and X ", i.e. with more elements in the expression, then the items to which the project can be applied can also be obtained according to the aforementioned rules.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of Bluetooth connection, the method being applied to an electronic device, the method comprising:
detecting a first operation of a user, wherein the first operation is used for indicating to initiate Bluetooth connection of first external equipment;
determining whether a second external device is currently connected, wherein the second external device is an automatic reconnection device;
determining whether the first external device is a priority connection device or not under the condition that the second external device is connected;
and responding to the first operation, and when the first external equipment is determined to be the priority connection equipment, canceling the connection of the second external equipment, and establishing Bluetooth connection between the electronic equipment and the first external equipment.
2. The method of claim 1, wherein prior to the detecting the first operation by the user, the method further comprises:
discovering the first external device through scanning;
judging whether the first external equipment is in a connectable and paired state;
when the first external equipment is in a connectable and paired state, determining the first external equipment as a priority connection equipment.
3. The method of claim 2, further comprising:
and displaying a first interface, wherein the first interface comprises a first window, and the first window is used for prompting that the first external equipment can be connected.
4. The method according to claim 2 or 3, wherein the discovering of the first peripheral device by scanning comprises:
receiving a Bluetooth Low Energy (BLE) broadcast message from the first external device, the BLE broadcast message including a Bluetooth address;
and acquiring the Bluetooth address by analyzing the BLE broadcast message, and matching based on the Bluetooth address.
5. The method according to claim 2 or 3, wherein the discovering of the first peripheral device by scanning comprises:
sending a query request to the first external device;
and receiving response request information returned by the first external equipment, wherein the response request information comprises a basic rate BR address.
6. The method according to any one of claims 1 to 3, wherein after establishing the Bluetooth connection between the electronic device and the first external device, the method further comprises:
and displaying a second interface, wherein the second interface comprises prompt information, and the prompt information is used for prompting that the first external equipment is connected.
7. The method according to any one of claims 1 to 3, further comprising:
and when the first external equipment is determined not to be the priority connection equipment, adding the first external equipment into a waiting connection list, and continuing to execute the connection of the second external equipment.
8. An electronic device comprising a processor and a memory, the processor and the memory being coupled, the memory for storing a computer program that, when executed by the processor, causes the electronic device to perform the method of any of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 7.
10. A chip comprising a processor that, when executing instructions, performs the method of any one of claims 1 to 7.
CN202210855261.6A 2022-07-20 2022-07-20 Bluetooth connection method and electronic equipment Active CN115087134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210855261.6A CN115087134B (en) 2022-07-20 2022-07-20 Bluetooth connection method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210855261.6A CN115087134B (en) 2022-07-20 2022-07-20 Bluetooth connection method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115087134A CN115087134A (en) 2022-09-20
CN115087134B true CN115087134B (en) 2023-01-13

Family

ID=83260480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210855261.6A Active CN115087134B (en) 2022-07-20 2022-07-20 Bluetooth connection method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115087134B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162535A (en) * 2016-08-29 2016-11-23 中科创达软件股份有限公司 The method and device that a kind of bluetooth connects
CN108307365A (en) * 2017-09-30 2018-07-20 宇龙计算机通信科技(深圳)有限公司 Connection method of Bluetooth device, device and user terminal
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN111436039A (en) * 2019-10-23 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth reconnection method and system, Bluetooth master and slave device reconnection method and Bluetooth master and slave devices
CN112272417A (en) * 2020-10-23 2021-01-26 海信视像科技股份有限公司 double-Bluetooth sound box reconnection method and display device
CN112449332A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Bluetooth connection method and electronic equipment
CN114500730A (en) * 2022-02-28 2022-05-13 歌尔股份有限公司 Popup window function control method, device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9356687B2 (en) * 2012-12-03 2016-05-31 Samsung Electronics Co., Ltd. Information providing method and mobile terminal therefor
EP3474511A1 (en) * 2017-10-20 2019-04-24 Tap Sound System A device and method for automatic switching of streaming bluetooth multimedia device
CN113691939A (en) * 2021-08-05 2021-11-23 Oppo广东移动通信有限公司 Prompting method, electronic equipment, Bluetooth headset and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162535A (en) * 2016-08-29 2016-11-23 中科创达软件股份有限公司 The method and device that a kind of bluetooth connects
CN108307365A (en) * 2017-09-30 2018-07-20 宇龙计算机通信科技(深圳)有限公司 Connection method of Bluetooth device, device and user terminal
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN112449332A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Bluetooth connection method and electronic equipment
CN111436039A (en) * 2019-10-23 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth reconnection method and system, Bluetooth master and slave device reconnection method and Bluetooth master and slave devices
CN112272417A (en) * 2020-10-23 2021-01-26 海信视像科技股份有限公司 double-Bluetooth sound box reconnection method and display device
CN114500730A (en) * 2022-02-28 2022-05-13 歌尔股份有限公司 Popup window function control method, device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张凡凡.蓝牙技术在智能家居中的应用研究.《电子制作》.2015,(第10期), *

Also Published As

Publication number Publication date
CN115087134A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
WO2021036809A1 (en) Subscriber identity module (sim) management method and electronic device
CN110769394B (en) Video call method and electronic equipment
US11683850B2 (en) Bluetooth reconnection method and related apparatus
CN111404802A (en) Notification processing system and method and electronic equipment
WO2020062159A1 (en) Wireless charging method and electronic device
WO2020062344A1 (en) Data transmission method and electronic device
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN110602686B (en) Method for using remote SIM module and electronic equipment
WO2022033296A1 (en) Bluetooth communication method, wearable device, and system
WO2020150894A1 (en) Application-based incoming call display method and terminal device
CN112887926B (en) Calling method and device
WO2021031865A1 (en) Call method and apparatus
CN113821767A (en) Application program authority management method and device and electronic equipment
CN112469011A (en) Bluetooth pairing method and related device
CN113395364B (en) Access method of application server and terminal
CN114115770A (en) Display control method and related device
CN112335294B (en) Emergency call method and user terminal
CN115087134B (en) Bluetooth connection method and electronic equipment
CN114500728A (en) Incoming call ringtone setting method, incoming call prompting method and electronic equipment
WO2020062308A1 (en) Location information processing method and related device
WO2024027199A1 (en) Risk identification method and electronic device
WO2020029213A1 (en) Method for answering or rejecting call during srvcc handover
CN115515112A (en) Bluetooth communication method and system
CN115048193A (en) Multi-device distributed scheduling method and related devices
CN117857690A (en) Equipment management method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant