Short-range communication method, electronic device and computer storage medium
By using a short-range communication chip in a multi-screen device and binding and collaboration between the display screen and the communication device, the problem of low utilization rate of Bluetooth chips in the prior art is solved, reducing costs and improving user experience.
Patent Information
- Application Number
- PCT/CN2024/106393
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-06
- Filing Date
- 2024-07-19
- Publication Date
- 2025-02-06
AI Technical Summary
Among existing multi-screen devices, the utilization rate of Bluetooth chips is low, resulting in high equipment costs and the inability to effectively realize the normal progress of multi-screen services.
By adopting a short-range communication method in the electronic device, multiple display screens allow sharing a short-range communication chip, and binding and communicating with the communication device through the chip, collaboration between the display screen and the communication device is realized.
It improves the utilization rate of short-range communication chips, reduces equipment costs, and ensures that multi-screen devices can carry out multi-screen services normally, improving user experience.
Smart Images

Figure CN2024106393_06022025_PF_FP_ABST
Abstract
Description
Short-range communication method, electronic device, and computer storage medium
[0001] This application claims priority to the Chinese patent application with application number 202310963610.0 filed with the State Intellectual Property Office of China on July 31, 2023, and priority to the Chinese patent application with invention name “Bluetooth usage method, electronic device and computer storage medium”. This application claims priority to the Chinese patent application with application number 202311666495.7 filed with the State Intellectual Property Office of China on December 6, 2023, and priority to the Chinese patent application with invention name “Short-range communication method, electronic device and computer storage medium”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a short-range communication method, electronic equipment, and computer storage medium. Background Art
[0003] At present, multi-screen devices can be equipped with multiple Bluetooth chips and assigned to different display screens. It can also be understood that each screen in the multi-screen device is independently configured with a corresponding Bluetooth chip. Each screen can be connected to a Bluetooth device such as headphones through the configured Bluetooth chip to achieve collaboration between each screen and the connected Bluetooth device. For example, a vehicle has a central control screen, a co-pilot screen and a rear screen. Each screen is configured with a Bluetooth chip. The Bluetooth chip configured for the central control screen can be used to connect to the driver's mobile phone, and the Bluetooth chip configured for the co-pilot screen can be used to connect to headphones, allowing the user sitting in the co-pilot seat to listen to the audio related to the co-pilot screen through headphones. The rear screen is similar to the co-pilot screen. However, the utilization rate of the Bluetooth chip is low. For example, the following situation may occur: when the co-pilot screen outputs data through the connected Bluetooth device, the rear screen does not output data through the connected Bluetooth device, that is, when the Bluetooth chip configured for the co-pilot screen is used, the Bluetooth chip configured for the rear screen is not used, and the equipment cost is high.
[0004] Summary of the Invention
[0005] The present application discloses a short-range communication method, electronic device and computer storage medium, which can improve the utilization rate of short-range communication chips and reduce costs, while also ensuring that multi-screen devices can normally perform multi-screen services.
[0006] In the first aspect, the present application provides a short-range communication method, which is applied to an electronic device, wherein the electronic device includes a short-range communication chip, a first display screen and a second display screen, and the first display screen and the second display screen both correspond to the short-range communication chip. The above method includes: receiving a first operation acting on the first display screen; in response to the first operation, establishing a connection with the first communication device through the short-range communication chip, and binding the first communication device through the first display screen; displaying a first interface on the first display screen, and displaying a second interface on the second display screen, the first interface includes the first communication device in a paired state, and the first communication device in the first interface is highlighted, and the second interface includes the first communication device in a paired state, and the first communication device in the second interface is not highlighted.
[0007] In some examples, the first communication device and the first display screen are bound, including: there is a connection between the first communication device and the electronic device, and the first display screen can communicate with the first display screen through the short-range communication chip to implement the service of the first display screen.
[0008] In some examples, the first communication device in the first interface is in a paired state and is highlighted, indicating that the first display screen and the first communication device are bound; the first communication device in the second interface is in a paired state and is not highlighted, indicating that the second display screen and the first communication device are not bound.
[0009] In the above method, the first display screen and the second display screen can share a short-range communication chip. The display screen in need can be bound and communicated with the communication device through the short-range communication chip, avoiding the situation where some short-range communication chips are idle when one display screen is configured with one short-range communication chip, improving the utilization rate of the short-range communication chip and reducing costs. In addition, after the first communication device is bound to the first display screen, the first communication device in a paired state can be displayed on both the first display screen and the second display screen, rather than only being displayed on the first display screen, which causes the user of the second display screen to be unable to obtain the paired communication device that is not bound to the second display screen. The first display screen bound to the first communication device will highlight the first communication device, and the second display screen that is not bound to the first communication device will not highlight the first communication device, allowing the user to intuitively obtain whether the display screen and the first communication device have a binding relationship, thereby ensuring that the user can use the current display screen and the communication device bound to the current display screen to perform corresponding services, that is, ensuring that multi-screen devices can perform multi-screen services normally, improving user experience.
[0010] In a possible implementation, the first interface and the second interface are settings interfaces for a short-range communication function.
[0011] In the above method, the user can check whether the first communication device in the paired state is highlighted through the setting interface of the short-range communication function, thereby obtaining whether the current display screen and the first communication device have a binding relationship. It can be understood as adding relevant information to the existing commonly used function interface, which is more in line with the user's usage habits and further improves the user experience.
[0012] In one possible implementation, before receiving the first operation acting on the first display screen, the method further includes: scanning the first communication device through the short-range communication chip, displaying a third interface on the first display screen, and displaying a fourth interface on the second display screen; wherein, the third interface includes the first communication device in an unpaired state, the fourth interface includes the first communication device in an unpaired state, and the first operation is an operation acting on the first communication device in the third interface.
[0013] In some examples, the third interface and the fourth interface are settings interfaces for a short-range communication function.
[0014] In the above method, the first display screen and the second display screen can share a short-range communication chip, and the communication device scanned by the short-range communication chip can be displayed on the first display screen and the second display screen. Users of the first display screen and the second display screen can both view the communication device scanned by the short-range communication chip and choose whether to connect and which communication device to connect according to their needs, thereby ensuring that the short-range communication functions provided to users of the first display screen and the second display screen are consistent, ensuring the user experience of multiple users.
[0015] In one possible implementation, the highlighting method includes at least one of the following: highlighting, bold font display, italic font display, underline setting, background setting, borders around characters, font color different from the font color of other texts, font type different from the font type of other texts, and font size different from the font size of other texts.
[0016] In the above method, the electronic device can highlight the first communication device in various ways, and has a wider range of application scenarios.
[0017] In one possible implementation, the first interface includes a first prompt message, and / or the second interface includes a second prompt message, wherein: the first prompt message indicates that the first communication device and the electronic device are connected, and / or the first prompt message indicates that the first communication device and the first display screen are bound; the second prompt message indicates that the first communication device and the electronic device are connected, and / or the second prompt message indicates that the first communication device and the first display screen are bound.
[0018] In some examples, when the first prompt information is "connected", it may indicate that the first communication device and the electronic device are connected; when the first prompt information is "connected to the first display screen", it may indicate that the first communication device and the first display screen are bound (including the first communication device and the electronic device are connected).
[0019] In the above method, the first display screen and / or the second display screen can display prompt information related to the first communication device, so that the user can more intuitively obtain whether the first communication device is connected to the electronic device and the display screen bound to the first communication device, further improving the user experience.
[0020] In one possible implementation, the method further includes: receiving a second operation acting on the first communication device in the second interface; in response to the second operation, canceling the binding between the first communication device and the first communication device through the first display screen, and canceling the binding between the first communication device and the first communication device through the second display screen; displaying a fifth interface on the first display screen and displaying a sixth interface on the second display screen, the fifth interface including the first communication device in a paired state, the first communication device in the fifth interface being non-highlighted, the sixth interface including the first communication device in a paired state, the first communication device in the sixth interface being highlighted.
[0021] In the above method, after the first display screen and the first communication device are bound (including the electronic device and the first communication device having a connection), the user of the second display screen can directly operate the first communication device displayed on the second display screen to switch the display screen bound to the first communication device from the first display screen to the second display screen, without the user having to first disconnect the connection between the electronic device and the first communication device (to cancel the binding between the first display screen and the first communication device), and then control the binding of the second display screen and the first communication device (including the electronic device and the first communication device re-establishing the connection). It can be understood that the first display screen and the second display screen share a short-range communication chip, and the user can modify the binding relationship between the display screen and the communication device through one operation, reducing user operations, reducing device power consumption, and further improving user experience.
[0022] In one possible implementation, the number of communication devices supported by the short-range communication chip for connection is N, where N is an integer greater than 1; the method also includes: when the short-range communication chip establishes a connection with S communication devices, receiving a third operation acting on the first display screen, the third operation being used to trigger connection with a second communication device, the second communication device being different from the S communication devices, and S being a positive integer less than N; in response to the third operation, determining whether (S+1) is less than or equal to N; when (S+1) is less than or equal to N, establishing a connection with the second communication device through the short-range communication chip, and binding the second communication device through the first display screen.
[0023] In the above method, the first display screen and the second display screen share a short-range communication chip. When the electronic device receives a user operation (such as the third operation) acting on any one of the display screens (such as the first display screen) for triggering the connection of a new communication device, it will first determine whether the short-range communication chip can currently support the addition of a new connection path, that is, determine whether (S+1) is less than or equal to N. When the judgment result is yes, the electronic device will connect to the new communication device through the short-range communication chip, thereby ensuring that the short-range communication chip can normally support the connection path of the first display screen and the second display screen, avoiding abnormalities in the existing connection path or the new connection path when adding a new connection path, resulting in the first display screen and the second display screen being unable to use the bound communication device normally, thereby reducing the occurrence of abnormal situations from the root and improving functional availability.
[0024] In one possible implementation, the method further includes: when (S+1) is greater than N, displaying a third prompt message on the first display screen, wherein the third prompt message indicates that the second communication device cannot be connected; or, when (S+1) is greater than N, canceling the connection between the short-range communication chip and the third communication device among the S communication devices, establishing a connection with the second communication device through the short-range communication chip, and binding the second communication device through the first display screen; or, when (S+1) is greater than N, establishing a connection with the second communication device through the short-range communication chip, and binding the second communication device through the first display screen, and the second communication device bound to the first display screen is in an unusable state.
[0025] In the above method, when it is determined that the short-range communication chip cannot support the addition of a new connection path, the electronic device can handle it in multiple ways, thereby broadening the application scenarios while ensuring that the short-range communication chip can normally support the connection path between the first display and the second display.
[0026] In a possible implementation, the number of communication devices supporting connected audio services supported by the short-range communication chip is N, and the S communication devices and the second communication device all correspond to audio services.
[0027] In the above method, the short-range communication chip supports up to N audio connections. When there are S audio connections, if the user intends to add a new audio connection path, the electronic device can determine whether the short-range communication chip can currently support the addition of a new audio connection path, that is, determine whether (S+1) is less than or equal to N. When the judgment result is yes, the electronic device will connect to the communication device of the new audio service through the short-range communication chip, thereby ensuring that the short-range communication chip can normally support the audio connection paths of the first display and the second display, and ensuring that the multi-screen device can normally perform multi-screen audio services.
[0028] In one possible implementation, the number of communication devices whose connected audio services are supported by the short-range communication chip is N; the determination of whether (S+1) is less than or equal to N includes: when the S communication devices and the third communication device both correspond to audio services, determining whether (S+1) is less than or equal to N; the method also includes: when the S communication devices correspond to audio services and the third communication device corresponds to services other than audio services, in response to the third operation, establishing a connection between the short-range communication chip and the third communication device, and binding the first display screen and the third communication device.
[0029] In the above method, the short-distance communication chip supports up to N audio connections. When there are S audio connections, if the user intends to add a new connection path, the electronic device can obtain the service of the new connection path and judge whether the short-distance communication chip can currently support the addition of the new connection path based on the acquisition result. It can be understood that, considering that the maximum number of connection paths supported by the short-distance communication chip for different services is different, it can be judged whether to add a new connection path based on the actual business situation, thereby ensuring that the short-distance communication chip can normally support the connection paths of the first display and the second display, while more effectively utilizing the short-distance communication chip, further improving the utilization rate of the short-distance communication chip.
[0030] In one possible implementation, the method further includes: receiving a fourth operation acting on a fourth communication device in the second interface; in response to the fourth operation, establishing a connection with the fourth communication device through the short-range communication chip, and binding with the fourth communication device through the second display screen; displaying a seventh interface on the first display screen, and displaying an eighth interface on the second display screen, the seventh interface including the first communication device and the fourth communication device in a paired state, the first communication device in the seventh interface being highlighted, and the fourth communication device in the seventh interface being non-highlighted, the eighth interface including the first communication device and the fourth communication device in a paired state, the first communication device in the eighth interface being non-highlighted, and the fourth communication device in the eighth interface being highlighted.
[0031] In the above method, the first display screen and the second display screen share a short-range communication chip. When the first display screen and the first communication device are bound, the second display screen and the fourth communication device can be bound in response to user operations, that is, the binding relationship between the first display screen and the second display screen does not affect each other. The first display screen and the second display screen can both implement corresponding services through the bound communication device, that is, they can independently implement their respective services without affecting each other, thereby ensuring that the multi-screen device can perform multi-screen services normally.
[0032] In one possible implementation, the first interface includes a first prompt message, the first prompt message indicating that the first communication device and the electronic device are connected, and indicating that the first communication device and the first display screen are bound; the method also includes: receiving a fifth operation acting on the fifth communication device in the first interface; in response to the fifth operation, the short-range communication chip and the first communication device are disconnected, a connection is established between the short-range communication chip and the fifth communication device, and the first display screen is bound to the fifth communication device; a ninth interface is displayed on the first display screen, the ninth interface includes the first communication device and the fifth communication device in a paired state, the first communication device in the ninth interface is not highlighted, the ninth interface does not include the first prompt message, the fifth communication device in the ninth interface is highlighted, and the ninth interface includes a fourth prompt message, the fourth prompt message indicating that the fifth communication device and the electronic device are connected, and indicating that the fifth communication device is bound to the first display screen.
[0033] In the above method, after the first display screen and the first communication device are bound, the user of the first display screen can directly operate the fifth communication device displayed on the first display screen to switch the communication device bound to the first display screen from the first communication device to the fifth communication device, without the user having to manually disconnect the connection between the electronic device and the first communication device (to unbind the first display screen and the first communication device) and then control the binding of the first display screen and the fifth communication device, thereby reducing user operations and further improving user experience.
[0034] In one possible implementation, the first interface includes a first prompt message, the first prompt message indicating that the first communication device and the electronic device are connected, and indicating that the first communication device and the first display screen are bound; the method also includes: receiving a sixth operation acting on a sixth communication device in the first interface; in response to the sixth operation, establishing a connection with the sixth communication device through the short-range communication chip, and binding with the sixth communication device through the first display screen; displaying a tenth interface on the first display screen, the tenth interface including the first communication device and the sixth communication device in a paired state, the first communication device and the sixth communication device in the tenth interface being highlighted, the tenth interface including the first prompt message and the fifth prompt message, the fifth prompt message indicating that the sixth communication device and the electronic device are connected, and indicating that the sixth communication device and the first display screen are bound.
[0035] In the above method, after the first display screen and the first communication device are bound, the user of the first display screen can directly operate the sixth communication device displayed on the first display screen to add the sixth communication device to the communication devices bound to the first display screen. The first display screen can be bound to multiple communication devices, and a scenario in which the display screen and multiple communication devices work together can be realized, thereby meeting user needs related to the scenario and broadening the application scenarios.
[0036] In one possible implementation, establishing a connection with the sixth communication device through the short-range communication chip and binding the sixth communication device through the first display screen includes: when the multi-device connection function of the first communication device is turned on, establishing a connection with the sixth communication device through the short-range communication chip, and binding the sixth communication device through the first display screen; the method also includes: when the multi-device connection function of the first communication device is turned off, the short-range communication chip and the first communication device are disconnected, establishing a connection with the sixth communication device through the short-range communication chip, and binding the sixth communication device through the first display screen; or, when the multi-device connection function of the first communication device is turned off, displaying a sixth prompt message on the first display screen, the sixth prompt message indicating that the sixth communication device cannot be connected.
[0037] In the above method, only when the multi-device connection function of the first communication device is turned on can the first communication device be bound to the display screen at the same time as other communication devices. The user can customize whether to turn on the function of binding multiple communication devices to the display screen to meet the user's personalized needs.
[0038] In a possible implementation manner, the method further includes: the first display screen communicating with the first communication device through the short-range communication chip.
[0039] In the above method, after the first display screen and the first communication device are bound, the first display screen can communicate with the first communication device through the short-range communication chip to implement related services on the first display screen without the need for additional operations and processing logic, which makes the implementation simpler, reduces user operations, and also reduces device power consumption.
[0040] In one possible implementation, the number of communication devices supported by the short-range communication chip is P, where P is a positive integer; the method also includes: when the electronic device communicates with T communication devices through the short-range communication chip, receiving a seventh operation applied to the first display screen, the seventh operation being used to trigger the use of the first communication device, the first communication device being different from the T communication devices, and T being a positive integer less than P; in response to the seventh operation, determining whether (T+1) is less than or equal to P; when (T+1) is less than or equal to P, the first display screen communicates with the first communication device through the short-range communication chip; when (T+1) is greater than P, displaying a seventh prompt message on the first display screen, the seventh prompt message indicating that the first communication device cannot be used.
[0041] In the above method, the first display screen and the second display screen share a short-range communication chip. When the electronic device receives a user operation (for example, the seventh operation, which is used to trigger the addition of a new communication path between the first display screen and the first communication device) acting on any one of the display screens (for example, the first display screen), it will first determine whether the short-range communication chip can currently support the addition of a new communication path, that is, determine whether (T+1) is less than or equal to P. When the judgment result is yes, the short-range communication chip will add a new communication path, thereby ensuring that the short-range communication chip can normally support the communication path of the first display screen and the second display screen, avoiding abnormalities in the existing communication path or the new communication path when adding a new communication path, resulting in the first display screen and the second display screen being unable to use the bound communication device normally, reducing the occurrence of abnormal situations from the root, and improving functional availability.
[0042] In one possible implementation, the number of communication devices that the short-range communication chip supports for transmitting audio data is P; the determination of whether (T+1) is less than or equal to P includes: when the T communication devices and the first communication device both correspond to audio services, determining whether (T+1) is less than or equal to P; the method also includes: when the T communication devices correspond to audio services and the first communication device corresponds to services other than audio services, in response to the seventh operation, the first display screen communicates with the first communication device through the short-range communication chip.
[0043] In the above method, the short-distance communication chip supports at most P-channel audio communication. When there are T-channel audio communications, if the user intends to add a new communication channel, the electronic device can obtain the service of the new communication channel and judge whether the short-distance communication chip can currently support the addition of the new communication channel based on the acquisition result. It can be understood that, considering that the maximum number of communication channels supported by the short-distance communication chip for different services is different, it can be judged whether to add a new communication channel based on the actual business situation, thereby ensuring that the short-distance communication chip can normally support the communication channels of the first display screen and the second display screen, while more effectively utilizing the short-distance communication chip, further improving the utilization rate of the short-distance communication chip.
[0044] In one possible implementation, the method further includes: receiving an eighth operation acting on the second display screen, the eighth operation being used to trigger deletion of the first communication device; in response to the eighth operation, determining whether the first display screen communicates with the first communication device through the short-range communication chip; when the first display screen communicates with the first communication device through the short-range communication chip, displaying an eighth prompt message on the second display screen, the eighth prompt message indicating that the first communication device cannot be deleted; when the first display screen does not communicate with the first communication device through the short-range communication chip, unpairing the short-range communication chip and the first communication device.
[0045] In some examples, after the second display screen is bound to the communication device, the electronic device may also receive a user operation on the first display screen for triggering the deletion of the communication device. In response to the user operation, it is determined whether the second display screen communicates with the communication device through the short-range communication chip. When the judgment result is yes, the first display screen displays a prompt message that the communication device cannot be deleted. When the judgment result is no, the electronic device deletes the communication device. It can be understood that the first display screen and the second display screen share a short-range communication chip, and the user can operate any display screen (such as the second display screen) to trigger the deletion of the communication device bound to the other display screen (such as the first communication device bound to the first display screen), that is, each display screen of the electronic device provides the function of deleting the communication device, while meeting the needs of the user of each screen.
[0046] In the above method, when the electronic device receives a user operation for triggering the deletion of a communication device, it will first determine whether the communication device is used by the bound display screen (that is, whether the two are communicating). If the judgment result is yes, the communication device will not be deleted. When the judgment result is no, the communication device will be deleted to avoid the communication device being accidentally deleted during use, resulting in a bad experience for the user using the communication device. The function of deleting the communication device is more intelligent.
[0047] In one possible implementation, the method also includes: receiving a ninth operation acting on the second display screen, the ninth operation being used to trigger deletion of the first communication device; in response to the ninth operation, determining whether the first display screen and the first communication device are bound through the first display screen; when the first display screen and the first communication device are bound, displaying a ninth prompt message on the second display screen, the ninth prompt message indicating that the first communication device cannot be deleted; when the first display screen and the first communication device are not bound, unpairing the short-range communication chip and the first communication device.
[0048] In the above method, when the electronic device receives a user operation for triggering the deletion of a communication device, it will first determine whether the communication device is bound to other display screens other than the current display screen. If the judgment result is yes, the communication device will not be deleted. When the judgment result is no, the communication device will be deleted to avoid the communication device being accidentally deleted when bound to other display screens, resulting in a bad experience for users of the display screen bound to the communication device. The function of deleting the communication device is more intelligent.
[0049] In a possible implementation, the method further includes: canceling the connection between the short-range communication chip and the first communication device; and binding the first display screen and the first communication device when establishing a connection between the short-range communication chip and the first communication device.
[0050] In the above method, after the connection between the first communication device and the electronic device is disconnected, the next time the connection is established again, the first communication device can be directly bound to the display screen that was bound the most recently, without the need for manual operation by the user. The binding function of short-range communication is more intelligent, improving the user experience.
[0051] In one possible implementation, the method further includes: canceling the connection between the short-range communication chip and the first communication device; when establishing a connection between the short-range communication chip and the first communication device, binding the first communication device through a preset display screen of the electronic device, and the preset display screen is the first display screen or the second display screen.
[0052] In the above method, after the connection between the first communication device and the electronic device is disconnected, the first communication device can be directly bound to the preset display screen when the connection is established again next time, without the need for manual operation by the user, thereby improving the user experience.
[0053] In one possible implementation, the method further includes: canceling the connection between the short-range communication chip and the first communication device; detecting the area where the first communication device is located when establishing a connection between the short-range communication chip and the first communication device; when the first communication device is located in the area of the first display screen, binding the first communication device through the first display screen; when the first communication device is located in the area of the second display screen, binding the first communication device through the second display screen.
[0054] In the above method, after the connection between the first communication device and the electronic device is disconnected, the next time the connection is established again, the electronic device can detect the area where the first communication device is located and determine the binding between the first communication device and the display screen in the area, without the need for manual operation by the user. The binding function of short-range communication is more intelligent, improving the user experience.
[0055] In a possible implementation, the electronic device includes a first user space and a second user space, the first user space corresponds to the first display screen, and the second user space corresponds to the second display screen.
[0056] In the above method, the electronic device can manage different display screens through different user spaces, so that when multiple display screens share a short-range communication chip, the multiple display screens can independently perform their own short-range communication services, ensuring the user experience of users of each display screen.
[0057] In a possible implementation, the electronic device is a vehicle or a vehicle-mounted device, the first display screen is a passenger screen, and the second display screen is a rear screen.
[0058] In the above method, the passenger screen and the rear screen in the vehicle or vehicle-mounted equipment can share a short-range communication chip, avoiding the situation where the passenger screen and the rear screen are independently configured with short-range communication chips, and part or all of the short-range communication chips are idle due to the rare scenario of more than two people using them at the same time. This effectively improves the utilization rate of the short-range communication chip of the vehicle or vehicle-mounted equipment, and also ensures the user experience in the vehicle.
[0059] In a second aspect, the present application provides an electronic device comprising a transceiver, a processor and a memory; the memory is used to store a computer program, and the processor calls the computer program, so that the electronic device executes the short-range communication method provided in the first aspect and any one of the embodiments of the first aspect.
[0060] In a third aspect, the present application provides a computer storage medium storing a computer program. When the computer program is executed by a processor, it is used to execute the short-range communication method provided in the first aspect and any one of the embodiments of the first aspect.
[0061] In a fourth aspect, the present application provides a computer program product. When the computer program product runs on a device, the device executes the short-range communication method provided in the first aspect and any one of the embodiments of the first aspect.
[0062] In a fifth aspect, the present application provides an electronic device, the electronic device including a method or apparatus for executing any aspect or embodiment of the present application. The electronic device is, for example, a chip.
[0063] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single implementation. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one implementation. Therefore, the description of a technical feature, technical solution or beneficial effect in this application does not necessarily refer to the same implementation. Furthermore, the technical features, technical solutions and beneficial effects described in this application can also be combined in any appropriate manner. Those skilled in the art will understand that this application can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific implementation. In other implementations, additional technical features and beneficial effects can also be identified in specific implementations that do not embody all implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The following is an introduction to the drawings used in this application.
[0065] FIG1 is a schematic diagram of the hardware structure of an electronic device provided by the present application;
[0066] FIG2 is a schematic diagram of the hardware structure of another electronic device provided by the present application;
[0067] FIG3 is a schematic diagram of a software architecture of an electronic device provided by the present application;
[0068] Figures 4 to 10 are schematic diagrams of some user interfaces provided by this application;
[0069] FIG11 is a schematic diagram of a flow chart of a Bluetooth connection process provided by the present application;
[0070] FIG12 is a flow chart of a process for updating a binding relationship provided by the present application;
[0071] FIG13 is a flowchart of another Bluetooth connection process provided by the present application;
[0072] FIG14 is a flow chart of a Bluetooth communication process provided by the present application;
[0073] FIG15 is a flowchart of a process for deleting a Bluetooth device provided in this application. DETAILED DESCRIPTION
[0074] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents or, for example, A / B can represent A or B; "and / or" in the text is merely a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two.
[0075] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0076] The embodiment of the present application proposes a short-range communication method, which is applied to an electronic device. The electronic device may include M display screens (M is an integer greater than 1). These M display screens can share a short-range communication chip. Any one of the M display screens can be connected and communicated with at least one communication device through the short-range communication chip, avoiding the following situation: when the M display screens are independently configured with corresponding short-range communication chips, some screens are connected and communicated with the communication device through the configured short-range communication chips (at this time, the configured Bluetooth chips are being used), and the short-range communication chips configured for other screens are not being used. The present application can effectively improve the utilization rate of short-range communication chips and reduce costs.
[0077] Furthermore, for scenarios where these M display screens share a short-range communication chip to connect to a communication device, the electronic device can be equipped with corresponding processing rules, such as display rules, rules for connecting to the communication device (referred to as connection rules), rules for transmitting data from the connected communication device (referred to as communication rules), and rules for deleting the communication device (referred to as deletion rules), to ensure that different display screens in this scenario can independently implement services (such as outputting audio data) without affecting each other, and to ensure the use of services on the display screen, thereby ensuring user experience. Examples of display rules and connection rules can be found in Figures 11-13 below, examples of communication rules can be found in Figure 14 below, and examples of deletion rules can be found in Figure 15 below.
[0078] The short-range communication chip in the embodiment of the present application can use short-range wireless communication technology to realize related functions. Short-range wireless communication technology may include technology that supports wireless short-range communication. Wireless short-range communication includes the communication parties transmitting information through radio waves and the transmission distance is within a relatively short range (for example, within 100 meters). It can be called short-range wireless communication, including but not limited to Bluetooth technology, Wireless Fidelity (Wi-Fi) technology, Near Field Communication (NFC) technology, Wi-Fi Aware technology, general short-range communication technology, SparkLink Alliance-standard short-range wireless communication technology (for example, SparkLink low energy (SLE), SparkLink basic access technology (SLB)), etc. The short-range communication chip can also be named according to the short-range wireless communication technology it supports. For example, a short-range communication chip that supports Bluetooth technology can be called a Bluetooth chip. For another example, a short-range communication chip that supports SparkLink Alliance-standard short-range wireless communication technology can be called a SparkLink chip. Short-range wireless communication can be widely used in file transfer, remote control, screen projection, perception of surrounding devices (such as smart vehicles, smart terminal devices, smart home devices and smart manufacturing equipment, etc.), etc.
[0079] For the sake of convenience, the following embodiments are described using a short-range communication chip as a Bluetooth chip that supports Bluetooth technology. In this case, the connection / communication achieved through the short-range communication chip can also be called Bluetooth connection / Bluetooth communication, and the corresponding communication device can also be called a Bluetooth device.
[0080] Exemplarily, the electronic device is a vehicle / vehicle-mounted device, which may include a display screen for the driver's seat, a display screen for the co-pilot seat (which may be referred to as the co-pilot screen), and a display screen for the rear seats (which may be referred to as the rear screen). The display screen for the driver's seat includes, for example, a central control screen, an instrument screen, and an augmented reality (AR)-head-up display (HUD). There may be one or more rear screens. Conventional Bluetooth chips support up to 2-way audio data communication. In vehicle usage scenarios, the co-pilot screen and the rear screen are mostly used by one or two people at the same time (for example, by outputting audio data through a connected Bluetooth device). It is rare for three or more people to use them at the same time. If each screen is independently configured with a Bluetooth chip, it is easy for some Bluetooth chips to be idle. In an embodiment of the present application, the co-pilot screen and the rear screen of the electronic device can share a Bluetooth chip and use corresponding processing rules to improve the utilization rate of the Bluetooth chip while ensuring the user experience in the vehicle.
[0081] In the embodiments of the present application, the electronic device may be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart TV, a smart screen and other smart home devices, augmented reality (AR), virtual reality (VR), mixed reality (MR) and other extended reality (XR) devices, a vehicle or vehicle-mounted device, and a smart city device, etc. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.
[0082] In the embodiments of the present application, an electronic device can connect to other electronic devices via a Bluetooth chip. For the purposes of this electronic device, these other electronic devices may be referred to as Bluetooth devices. Bluetooth devices may be, but are not limited to, headphones, microphones, smart glasses, game controllers, and other devices. The embodiments of the present application do not impose any particular restrictions on the specific type of Bluetooth device.
[0083] FIG1 exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .
[0084] As shown in FIG1 , the electronic device 100 may include a Bluetooth chip 101 , a system-on-a-chip (SoC) 102 , a display screen 103 , and a display screen 104 , wherein the SoC 102 may be connected to the Bluetooth chip 101 , the display screen 103 , and the display screen 104 , respectively.
[0085] The Bluetooth chip 101 can be used for short-range wireless communication. The electronic device 100 can connect and communicate with at least one Bluetooth device through the Bluetooth chip 101. It is understandable that the bandwidth capacity of the Bluetooth chip is limited. For the convenience of explanation, the Bluetooth chip 101 in the embodiment of the present application supports up to N-way connection (i.e., it can connect up to N Bluetooth devices, which can also be referred to as the maximum connection path that can be supported is N), and supports up to P-way communication / transmission (i.e., it supports communicating with up to P connected Bluetooth devices at the same time, which can also be referred to as the maximum communication path that can be supported is P). N and P are positive integers, and P is less than or equal to N. It is understandable that in actual scenarios, different types of services have different requirements for Bluetooth bandwidth capabilities. Therefore, when connecting Bluetooth devices of different types of services, the above N can be different. For example, for Bluetooth devices for audio playback services (such as Bluetooth headsets, Bluetooth speakers, etc.), the Bluetooth chip 101 supports up to 2 connections. Optionally, when the Bluetooth chip 101 is connected to two Bluetooth devices for audio playback services, it can also support connecting at least one Bluetooth device for game services (such as a game controller). Similarly, when transmitting data of different types of services, the above P may be different. For example, the Bluetooth chip 101 supports the transmission of up to 2 channels of audio data. Optionally, when the Bluetooth chip 101 already has the transmission of 2 channels of audio data, it may also add the transmission of at least 1 channel of game command data. For another example, the Bluetooth chip 101 supports the transmission of up to 1 channel of call data, which may be the call data of a cellular call or the call data of an Internet call.
[0086] SoC102 can be used to manage the binding relationship between the display screen of the electronic device 100 and the Bluetooth device. Any display screen and any Bluetooth device have a binding relationship (also referred to as binding), which may include: the electronic device 100 (including the display screen) establishes a Bluetooth connection (also referred to as having a connection relationship) with the Bluetooth device through the Bluetooth chip 101, and the display screen can communicate with the bound Bluetooth device through the Bluetooth chip 101 to realize the business of the display screen. The binding of the display screen and the Bluetooth device can also be referred to as the connection between the display screen and the Bluetooth device. Among the at least one Bluetooth device connected to the electronic device 100, there may be a Bluetooth device bound to the display screen 103, or there may not be a Bluetooth device bound to the display screen 103, there may be a Bluetooth device bound to the display screen 104, or there may not be a Bluetooth device bound to the display screen 104. Display screen 103 / display screen 104 can communicate with a bound Bluetooth device via Bluetooth chip 101 to implement related business scenarios. For example, display screen 103 / display screen 104 can send audio data for audio services / call services to a bound Bluetooth device such as headphones or speakers to implement a business scenario in which audio data is played through the Bluetooth device. In this case, display screen 103 / display screen 104 can be understood as a data source, and the bound Bluetooth device is used to receive data from the data source. For another example, display screen 103 / display screen 104 can receive game command data sent by a bound Bluetooth device such as a game controller to implement a business scenario in which a game is played through the Bluetooth device.
[0087] In some examples, the electronic device 100 is connected to two Bluetooth devices through the Bluetooth chip 101, and the SoC 102 can manage the binding relationship between the display screen and the Bluetooth device: the display screen 103 and the display screen 104 are respectively bound to one Bluetooth device. Not limited to this, in other examples, the binding relationship is: the display screen 103 is bound to two Bluetooth devices, and there is no Bluetooth device bound to the display screen 104 at this time. In other examples, the binding relationship is: the display screen 104 is bound to two Bluetooth devices, and there is no Bluetooth device bound to the display screen 103 at this time.
[0088] SoC102 can also be used to manage the services of the electronic device 100. The services of the electronic device 100 may include services related to the display screen 103 (which can also be understood as services running / displayed on the display screen 103) and services related to the display screen 104 (which can also be understood as services running / displayed on the display screen 104), such as but not limited to audio services, call services, game services, etc.
[0089] Display screen 103 / display screen 104 can be used to provide corresponding device functions for users. In one embodiment, display screen 103 / display screen 104 can provide corresponding device functions for users through a connected Bluetooth device. In one embodiment, display screen 103 and display screen 104 can respectively provide corresponding device functions for different users located in different areas. In some examples, electronic device 100 is a vehicle / vehicle-mounted device, display screen 103 is a passenger screen, and the user sitting in the passenger seat can use display screen 103, and display screen 104 is a rear screen, and the user sitting in the rear seat can use display screen 104. For ease of explanation, the user using display screen 103 is referred to as user A, and the user using display screen 104 is referred to as user B.
[0090] In an embodiment of the present application, when any display screen of the electronic device 100 (taking display screen 103 as an example for illustration) is bound to any Bluetooth device (taking Bluetooth device Z as an example for illustration), the electronic device 100 may display Bluetooth device Z in a paired state on the display screen 103, and highlight Bluetooth device Z to indicate that the display screen 103 and Bluetooth device Z are bound. In one embodiment, the electronic device 100 is also connected to other Bluetooth devices (taking Bluetooth device Y as an example for illustration), but the display screen 103 and Bluetooth device Y do not have a binding relationship. Therefore, the display screen 103 may not display Bluetooth device Y in a paired state, or may display Bluetooth device Y in a paired state but not highlight Bluetooth device Y. It can be understood that by highlighting a Bluetooth device on the display screen, it can be indicated that the display screen and the Bluetooth device have a binding relationship.
[0091] In one embodiment, SoC 102 may include a system space (also referred to as a kernel space) and at least one user space. Different display screens of electronic device 100 may correspond to different user spaces. For example, as shown in FIG1 , SoC 102 may include two user spaces: user space A and user space B. Display screen 103 corresponds to user space A, and display screen 104 corresponds to user space B. In one embodiment, when any user uses any display screen of electronic device 100, an account corresponding to the user may be logged in / recorded on the display screen. Different users may have different accounts, and different accounts may correspond to different user spaces. For example, user A may use registered account A to log in to display screen 103, and user B may use registered account B to log in to display screen 104. Account A corresponds to user space A, and account B corresponds to user space B. For another example, when user C logs in to display screen 103 for the first time, he may use account C in guest mode. When user D logs in to display screen 103 for the first time, he may use account D in guest mode. Account C and account D correspond to user space C and user space D, respectively (not shown).
[0092] In one embodiment, SoC 102 may include kernel memory and user memory. System space may belong to kernel memory, and user space may belong to user memory. In some examples, SoC 102 may include a 4-gigabyte (GB) virtual address space. The upper 1GB of the virtual address space (e.g., from virtual address 0xC0000000 to 0xFFFFFFFF) may be used by the kernel and may serve as kernel memory. The lower 3GB of the virtual address space (e.g., from virtual address 0x00000000 to 0xBFFFFFFF) may be used by various processes and may serve as user memory. In some examples, the user memory in SoC 102 may be divided into multiple memory regions, each corresponding to a different user space. For example, if SoC 102 includes user space A and user space B, the user memory in the SoC may be divided into two memory regions, each corresponding to user space A and user space B, respectively.
[0093] It is understandable that the structure shown in FIG1 does not constitute a limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown (for example, more display screens), or combine certain components (for example, the Bluetooth chip 101 may be integrated in the SoC 102), or split certain components, or arrange the components differently. In other embodiments, the connection relationship between the components in the electronic device 100 may have other situations. For example, the display screen 103 and the display screen 104 are not connected through the SoC 102 and the Bluetooth chip 101, but are directly connected to the Bluetooth chip 101. The embodiments of the present application do not limit this. The components shown in FIG1 can be implemented in hardware, software, or a combination of software and hardware. For example, the Bluetooth chip 101 is a software function module for Bluetooth, the SoC 102 is a software processing module for audio services, game services, etc., the display screen 103 is a software setting module for the display screen 103, and the display screen 104 is a software setting module for the display screen 104.
[0094] FIG2 exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .
[0095] As shown in Figure 2, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0096] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0097] The processor 110 may include one or more processing units. For example, the processor 110 may include 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 / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0098] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0099] Processor 110 may also include a memory for storing instructions and data. In one embodiment, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0100] In one embodiment, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (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.
[0101] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging implementations, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging implementations, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 100 via the power management module 141.
[0102] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In another embodiment, the power management module 141 can also be set in the processor 110. In another embodiment, the power management module 141 and the charging management module 140 can also be set in the same device.
[0103] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0104] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In another embodiment, the antenna can be used in conjunction with a tuning switch.
[0105] The mobile communication module 150 can provide wireless communication solutions for the electronic device 100, including second generation (2G), third generation (3G), fourth generation (4G), fifth generation (5G), and sixth generation (6G). The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via the antenna 1. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be located in the processor 110. In another embodiment, at least some of the functional modules of the mobile communication module 150 and at least some of the modules of the processor 110 can be located in the same device.
[0106] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In one embodiment, the modem processor may be an independent device. In another embodiment, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0107] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0108] In one embodiment, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0109] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0110] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be 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 MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In one embodiment, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0111] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0112] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and other factors. It can also optimize parameters such as exposure and color temperature of the captured scene. In one embodiment, the ISP can be located within camera 193.
[0113] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In one embodiment, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0114] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0115] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0116] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0117] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0118] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0119] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor. The electronic device 100 can also implement audio functions such as music playback and recording through a connected Bluetooth device.
[0120] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In one embodiment, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0121] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0122] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0123] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In another embodiment, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In another embodiment, the electronic device 100 can also be provided with three, four or more microphones 170C to realize sound signal collection, noise reduction, and can also identify the source of sound, realize directional recording function, etc.
[0124] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In one embodiment, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In one embodiment, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.
[0125] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The ambient light sensor 180L is used to sense the brightness of the ambient light. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. The temperature sensor 180J is used to detect temperature. The bone conduction sensor 180M can obtain vibration signals.
[0126] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In another embodiment, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0127] Keys 190 include a power button, volume button, and other buttons. Keys 190 can be mechanical or touch-sensitive. Electronic device 100 can receive key inputs and generate key signal inputs related to user settings and function control of electronic device 100. Motor 191 can generate vibration prompts. Indicator 192 can be an indicator light that can be used to indicate charging status, battery level changes, messages, missed calls, notifications, and more.
[0128] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. For example, the software system with a layered architecture can be an Android system, a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100.
[0129] FIG3 exemplarily shows a schematic diagram of a software architecture of an electronic device 100 .
[0130] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In one embodiment, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0131] The application layer can include a series of application packages.
[0132] As shown in Figure 3, the application package may include applications such as camera, gallery, music, video, game, short message, call, map, navigation, Bluetooth, browser, etc. The application in the embodiment of the present application can also be replaced by other software such as mini-programs and atomic services. In one embodiment, the electronic device 100 may include multiple display screens. After installing application package A through any one of the display screens, these multiple display screens can all run application package A. It can be understood that the installed application package is "shared" by multiple display screens. It is not limited to this. In another embodiment, after installing application package A through any one of the display screens, only the display screen can run application package A, and other display screens cannot run application package A. It can be understood that the application packages of different display screens are independent of each other and will not be "shared". The embodiment of the present application does not limit this.
[0133] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0134] As shown in FIG3 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0135] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0136] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0137] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0138] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0139] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0140] The notification manager enables applications to display notification information in the status bar. This can be used to convey notification-type messages and can disappear automatically after a short period of time without user interaction. For example, the notification manager is used to notify the completion of downloads, message reminders, etc. The notification manager can also be used to display notifications in the form of icons or scrolling text in the top status bar of the system, such as notifications from applications running in the background, or notifications that appear on the screen in the form of dialog windows. For example, a text message can be displayed in the status bar, a notification sound can be emitted, the electronic device 100 can vibrate, an indicator light can flash, etc.
[0141] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0142] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0143] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0144] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0145] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0146] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0147] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0148] A 2D graphics engine is a drawing engine for 2D drawings.
[0149] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0150] The following describes the workflow of the software and hardware of the electronic device 100 in conjunction with a Bluetooth playback scenario.
[0151] Assume that the electronic device 100 includes a display screen A and a display screen B, and the electronic device 100 is connected to a Bluetooth headset via Bluetooth, and the Bluetooth headset is bound to the display screen A, and user A can wear the Bluetooth headset. When the touch sensor 180K provided on the display screen A receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, timestamp of the touch operation and other information). The original input event is stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch single-click operation, and the control corresponding to the single-click operation as an example, the audio application calls the interface of the application framework layer, and then by calling the kernel layer, sends audio data to the Bluetooth headset through the wireless communication module 160, so that the Bluetooth headset outputs the audio data.
[0152] The following describes the application scenarios involved in the embodiments of the present application and user interface examples in these scenarios. The following examples are described using an electronic device 100 having the structure shown in FIG1 , where the Bluetooth chip 101 of the electronic device 100 supports a maximum of two connections (i.e., N is 2) and a maximum of two communications (i.e., P is 2).
[0153] Fig. 4 is a schematic diagram of a user interface, which is illustrated by taking the case where the display screen 103 and the display screen 104 have the Bluetooth function turned on but are not connected to a Bluetooth device as an example.
[0154] As shown in Figure 4, the display screen 103 of the electronic device 100 can display a user interface 410, and the display screen 104 of the electronic device 100 can display a user interface 420. The user interface 410 may include a title "Bluetooth", indicating that the user interface 410 is a setting interface for the Bluetooth function. The user interface 410 may include a function name 411 (i.e., "Bluetooth"), a function description 412 (i.e., "Currently discoverable by nearby Bluetooth devices"), a function switch 413 (used to trigger turning on or off the Bluetooth function on the display screen 103), a device name 414 (i.e., the Bluetooth name "AAA" of the display screen 103), and a file control 415 (used to trigger viewing of files received via Bluetooth on the display screen 103). When the function switch 413 is on, it indicates that the Bluetooth function on the display screen 103 is turned on. In this case, the display screen 103 can display an available device list 416. The available device list 416 may include information about at least one Bluetooth device scanned by the Bluetooth chip 101. For example, the Bluetooth devices shown in the available device list 416 include: a Bluetooth device named "CCC's Bluetooth headset" (subsequent descriptions will refer to Bluetooth devices by name, here referred to as "CCC's Bluetooth headset"), "DDD's Bluetooth headset", "EEE's Bluetooth headset", and "FFF's handle". The electronic device 100 can connect to any Bluetooth device in the available device list 416 (including pairing with the Bluetooth device) in response to a user operation acting on the device. User interface 420 is similar to user interface 410, and also includes: function name 421 (i.e., "Bluetooth"), function description 422 (i.e., "currently discoverable by nearby Bluetooth devices"), function switch 423 (used to trigger turning on or off the Bluetooth function on display screen 104, currently on), device name 424 (i.e., the Bluetooth name "BBB" of display screen 104), file control 425 (used to trigger viewing of files received via Bluetooth on display screen 104), and available device list 426. The description of available device list 426 is similar to that of available device list 416 and will not be repeated here. The Bluetooth devices shown in available device list 416 in user interface 410 and available device list 426 in user interface 420 are the same. It can be understood that when display screen 103 and display screen 104 share the Bluetooth chip 101, display screen 103 and display screen 104 have the same Bluetooth function.
[0155] The state of the Bluetooth function on the display screen of the electronic device 100 (including the on state and the off state, for example, the state of the Bluetooth function on the display screen 103 is determined by the state of the function switch 413) only indicates whether the Bluetooth function can be used on the display screen, and does not indicate the state of the Bluetooth function of the electronic device 100 (i.e., the state of the Bluetooth function provided by the Bluetooth chip 101, which can also be understood as the state of the Bluetooth chip 101). For example, when the Bluetooth function on the display screen 103 is off, the user cannot use the Bluetooth function on the display screen 103 (e.g., cannot connect to a Bluetooth device through the Bluetooth chip 101), but the Bluetooth function provided by the Bluetooth chip 101 can be on or off.
[0156] In one embodiment, whether the Bluetooth chip 101 is in an operating state is determined by whether the Bluetooth function on the display screen is turned on. When the Bluetooth function on at least one display screen on the electronic device 100 is turned on, the Bluetooth function provided by the Bluetooth chip 101 is turned on. Alternatively, when the Bluetooth function on all displays on the electronic device 100 is turned off, the Bluetooth function provided by the Bluetooth chip 101 is turned off. Without limitation, in another embodiment, the Bluetooth function provided by the Bluetooth chip 101 is always turned on.
[0157] The embodiment of the present application uses the example of a Bluetooth function setting interface including a function switch (used to trigger or turn off the Bluetooth function on the current display screen) for illustration, but this should not constitute a limitation. In a specific implementation, the Bluetooth function setting interface may also not include a function switch, that is, any display screen of the electronic device 100 may provide the user with a way to turn on or off the Bluetooth function on this display screen, or may not provide the user with this way. In some examples, the Bluetooth function provided by the Bluetooth chip 101 is always on, and the display screen of the electronic device 100 may not provide the user with a way to turn on or off the Bluetooth function on this display screen. For example, in the current case, the user interface 410 displayed on the display screen 103 does not include a function name 411, a function description 412, and a function switch 413.
[0158] In the embodiment of the present application, the Bluetooth chip 101 of the electronic device 100 supports a maximum of two connections, which may include but are not limited to the following three situations:
[0159] Case 1: The Bluetooth chip 101 supports connecting to a maximum of two Bluetooth devices with audio playback services (such Bluetooth devices are used to output audio data, such as Bluetooth headphones and Bluetooth speakers).
[0160] Case 2: The Bluetooth chip 101 can support: connecting to two or fewer Bluetooth devices for audio playback services, as well as connecting to Bluetooth devices for other services. That is, the number of connection paths supported by the Bluetooth chip 101 (i.e., the number of connected Bluetooth devices) can exceed two. For example, the Bluetooth chip 101 can be connected to two Bluetooth headsets and one game controller. Assuming that the display 103 is bound to the game controller, the display 103 can communicate game command data with the game controller to implement the application scenario of the gaming service (the user can play the game on the display 103 by operating the game controller).
[0161] Case 3: For any service Bluetooth device, the Bluetooth chip 101 supports a maximum of 2 connections.
[0162] It should be noted that the Bluetooth chip 101 supporting connection to a Bluetooth device means that the Bluetooth device can be connected and the Bluetooth device is available. The situation where the Bluetooth device can be connected but the Bluetooth device is unavailable does not fall within the scope of supporting connection.
[0163] In an embodiment of the present application, before the electronic device 100 connects to the Bluetooth device A, it can determine whether the Bluetooth chip 101 supports connecting to the Bluetooth device A based on the capabilities of the Bluetooth chip 101 (such as the three situations mentioned above), the service type of the Bluetooth device A to be connected, and the number and service type of Bluetooth devices currently connected to the Bluetooth chip 101. If the judgment result is yes, a connection with the Bluetooth device A can be established through the Bluetooth chip 101, such as the following scenarios 1, 2, 3, 4 and 5. For examples of scenarios where the judgment result is no, please refer to the following scenarios 6, 7, 8 and 9.
[0164] Scenario 1: After the Bluetooth function on the display screen 103 is turned on (for example, after the implementation shown in Figure 4), the electronic device 100 can receive user operations acting on the Bluetooth device 1 shown on the display screen 103 (for example, a touch operation acting on the Bluetooth device 1 in the available device list 416 of the user interface 410 shown in Figure 4). Since the Bluetooth chip 101 is not currently connected to any Bluetooth device (the Bluetooth chip 101 at this time has the ability to connect to a new Bluetooth device), the electronic device 100 can respond to the user operation, establish a connection with the Bluetooth device 1 through the Bluetooth chip 101, and determine that the Bluetooth device 1 and the display screen 103 have a binding relationship. At this time, the display screen 103 and the display screen 104 can display information about the Bluetooth device 1. For a specific example, see Figure 5 below.
[0165] Fig. 5 is a schematic diagram of another user interface, which is illustrated by taking the case where the display screen 103 is bound to the Bluetooth device 1, the display screen 104 is not bound to a Bluetooth device, and the Bluetooth device 1 is "CCC's Bluetooth headset" as an example.
[0166] As shown in FIG5 , the display screen 103 of the electronic device 100 may display a user interface 510, and the display screen 104 of the electronic device 100 may display a user interface 520. The user interface 510 is similar to the user interface 410 shown in FIG4 , except that the user interface 510 also includes a paired device list. The paired device list may include information about Bluetooth devices that have a Bluetooth pairing relationship with the electronic device 100 (hereinafter referred to as paired devices of the electronic device 100), such as information 511 of Bluetooth device 1 (i.e., "CCC's Bluetooth headset"). The available device list 416 in the user interface 510 does not include information about Bluetooth device 1. The device name 511A "CCC's Bluetooth headset" shown in information 511 is highlighted (e.g., displayed in bold font), and information 511 also includes prompt information 511B ("Connected to AAA"), indicating that the display screen 103 and "CCC's Bluetooth headset" have a binding relationship. When the display screen 103 is bound to "CCC's Bluetooth headset", the display screen 103 can communicate with the "CCC's Bluetooth headset" through the Bluetooth chip 101. For example, the display screen 103 can serve as a data source to send audio data to the "CCC's Bluetooth headset" to output the audio data of the display screen 103 through the "CCC's Bluetooth headset". The user interface 520 is similar to the user interface 420 shown in Figure 4, with the difference that the user interface 520 also includes a list of paired devices. The paired device list, for example, includes information 521 of Bluetooth device 1 (i.e., "CCC's Bluetooth headset"), and the available device list 426 in the user interface 520 does not include information of Bluetooth device 1. Among them, the device name "CCC's Bluetooth headset" shown in the information 521 is not highlighted (for example, the font is not bold), indicating that the display screen 104 and "CCC's Bluetooth headset" are not bound. The information of any Bluetooth device in the paired device list displayed on display screen 103 and display screen 104 may include the setting options of the Bluetooth device. For example, the information 511 of Bluetooth device 1 in user interface 510 includes setting option 511C, which can be used to trigger the setting interface of "CCC's Bluetooth headset". As can be seen from Figure 5, a Bluetooth connection (including a Bluetooth pairing relationship) is established between electronic device 100 and Bluetooth device 1, wherein display screen 103 is currently bound to Bluetooth device 1, and display screen 104 is currently not bound to a Bluetooth device.
[0167] In the embodiment of the present application, the paired devices of the electronic device 100 may include devices that currently have a Bluetooth connection with the electronic device 100, and may also include devices that have previously established a Bluetooth connection with the electronic device 100. The electronic device 100 may scan for paired devices, or may not scan for paired devices. The electronic device 100 may be connected to a paired device, or may not be connected to a paired device. For example, when a paired device is a device that has previously established a Bluetooth connection with the electronic device 100, the electronic device 100 may not scan for the paired device, nor may it be connected to the paired device. The electronic device 100 may store information about paired devices, such as a Bluetooth address, a Bluetooth name, etc.
[0168] FIG5 illustrates an example of highlighting a bold font, but does not constitute a limitation. The “highlighting” in the embodiments of the present application may include, but is not limited to, at least one of the following: highlighting, bolding, italicizing, underlining, setting a shading background, having a circle or rectangle around the character, a font color that is different from the font color of other text, a font type that is different from the font type of other text (for example, Kaiti and Songti belong to different font types), a font size that is different from the font size of other text, etc.
[0169] Not limited to the display mode shown in Figure 5, in another embodiment, the prompt information 511B displayed on the display screen 103 may also be "bound to AAA". The embodiment of the present application does not limit the specific content of the prompt information used to characterize the binding of the display screen and the Bluetooth device. In another embodiment, the prompt information 511B displayed on the display screen 103 may not include the device name "AAA" of the display screen 103, that is, the prompt information 511B does not reflect the binding relationship between the display screen and the Bluetooth device, but only represents that "CCC's Bluetooth headset" is connected to the electronic device 100, for example, "connected". The embodiment of the present application does not limit the specific content of the prompt information used to characterize the connection between the electronic device and the Bluetooth device. In another embodiment, the information 521 displayed on the display screen 104 may also include prompt information, and the description of the prompt information is similar to the description of the prompt information 511B, for example, the prompt information is "connected" or "connected to AAA". The prompt information may be the same as or different from the prompt information 511B, for example, the prompt information is "connected" and the prompt information 511B is "connected to AAA". In another embodiment, the paired device list of the display screen 104 may not include “CCC’s Bluetooth headset”, that is, a display screen that has no binding relationship with a Bluetooth device may not display the Bluetooth device in the paired device list.
[0170] Scenario 2: After the display screen 103 of the electronic device 100 is bound to the Bluetooth device 1 (for example, after the implementation shown in Figure 5), the electronic device 100 can receive a user operation acting on the Bluetooth device 1 shown on the display screen 104 (for example, a touch operation acting on the information 521 in the user interface 520 shown in Figure 5), and in response to the user operation, cancel the binding relationship between the display screen 103 and the Bluetooth device 1, and determine that the display screen 104 and the Bluetooth device 1 have a binding relationship. At this time, the way in which the display screens 103 and 104 display the Bluetooth device 1 will change. For a specific example, see Figure 6 below.
[0171] Fig. 6 is a schematic diagram of another user interface, which is illustrated by taking the example of display screen 104 being bound to Bluetooth device 1, display screen 103 not being bound to a Bluetooth device, and Bluetooth device 1 being "CCC's Bluetooth headset".
[0172] As shown in FIG6 , the display screen 103 of the electronic device 100 may display a user interface 610, and the display screen 104 of the electronic device 100 may display a user interface 620. User interface 610 is similar to user interface 510 shown in FIG5 , except that information 511 of Bluetooth device 1 in the paired device list is displayed differently. In the paired device list of user interface 610 , the device name "CCC's Bluetooth Headset" in information 511 of Bluetooth device 1 is not highlighted, and information 511 does not include a prompt message, indicating that there is no binding relationship between display screen 103 and "CCC's Bluetooth Headset." User interface 620 is similar to user interface 520 shown in FIG5 , except that information 521 of Bluetooth device 1 in the paired device list is displayed differently. In the paired device list of user interface 620 , the device name 521A "CCC's Bluetooth Headset" in information 521 of Bluetooth device 1 is highlighted, and information 521 includes a prompt message 521B "Connected to BBB," indicating that there is a binding relationship between display screen 104 and "CCC's Bluetooth Headset." When display screen 104 is bound to "CCC's Bluetooth headset," display screen 104 can communicate with "CCC's Bluetooth headset" via Bluetooth chip 101. As can be seen in FIG6 , a Bluetooth connection (including a Bluetooth pairing relationship) is established between electronic device 100 and Bluetooth device 1, wherein display screen 103 is currently not bound to a Bluetooth device, and display screen 104 is currently bound to Bluetooth device 1.
[0173] Not limited to the embodiment shown in Figure 6, in another embodiment, the electronic device 100 can respond to the user operation acting on the Bluetooth device 1 shown in the display screen 104 to determine whether the display screen 103 is using the Bluetooth device 1 (that is, the display screen 103 is communicating with the Bluetooth device 1 through the Bluetooth chip 101). When the judgment result is yes, the electronic device 100 can maintain the binding relationship between the display screen 103 and the Bluetooth device 1. Optionally, the display screen 104 can display a prompt message (such as "Bluetooth device 1 is being used by other displays and cannot be connected"). When the judgment result is no, the electronic device 100 can cancel the binding relationship between the display screen 103 and the Bluetooth device 1, and determine that the display screen 104 and the Bluetooth device 1 have a binding relationship.
[0174] Scenario 3: After the display screen 103 of the electronic device 100 is bound to the Bluetooth device 1 (for example, after the implementation shown in FIG5 ), the electronic device 100 can receive a user operation acting on the Bluetooth device 2 (corresponding to the audio service) shown on the display screen 104 (for example, a touch operation acting on the Bluetooth device 2 in the available device list 426 of the user interface 520 shown in FIG5 ). Since the Bluetooth chip 101 is currently only connected to one Bluetooth device 1, the electronic device 100 can respond to the user operation by establishing a connection with the Bluetooth device 2 through the Bluetooth chip 101 and determining that the Bluetooth device 2 and the display screen 104 have a binding relationship. At this time, both the display screen 103 and the display screen 104 can display the information of the Bluetooth device 2. For a specific example, see FIG7 below.
[0175] Figure 7 shows another user interface. Figure 7 takes the example of display screen 103 being bound to Bluetooth device 1, display screen 104 being bound to Bluetooth device 2, Bluetooth device 1 being "CCC's Bluetooth headset", and Bluetooth device 2 being "DDD's Bluetooth headset".
[0176] As shown in FIG7 , display screen 103 of electronic device 100 may display user interface 710, and display screen 104 of electronic device 100 may display user interface 720. User interface 710 is similar to user interface 510 shown in FIG5 , both indicating that display screen 103 and "CCC's Bluetooth Headset" are bound together. The difference is that the paired device list in user interface 710 also includes information 711 for Bluetooth device 2 (i.e., "DDD's Bluetooth Headset"), while the available device list 416 in user interface 710 does not include information for Bluetooth device 2. The device name "DDD's Bluetooth Headset" in information 711 is not highlighted, and information 711 does not include a prompt message, indicating that display screen 103 and "DDD's Bluetooth Headset" are not bound together. User interface 720 is similar to user interface 520 shown in FIG5 , both indicating that display screen 104 and "CCC's Bluetooth Headset" are not bound together. The difference is that the paired device list in user interface 720 also includes information 721 for Bluetooth device 2 (i.e., "DDD's Bluetooth Headset"), while the available device list 426 in user interface 720 does not include information for Bluetooth device 2. The device name 721A "DDD's Bluetooth Headset" in the information 721 is highlighted (for example, the font is bold), and the information 721 also includes a prompt message 721B ("Connected to BBB"), indicating that the display screen 104 and the "DDD's Bluetooth Headset" have a binding relationship. When the display screen 104 and the "DDD's Bluetooth Headset" are bound, the display screen 104 can communicate with the "DDD's Bluetooth Headset" through the Bluetooth chip 101. As can be seen from Figure 7, the electronic device 100 has established a Bluetooth connection (including a Bluetooth pairing relationship) with the Bluetooth device 1 and the Bluetooth device 2, wherein the display screen 103 is currently bound to the Bluetooth device 1, and the display screen 104 is currently bound to the Bluetooth device 2. The current scenario can be understood as a "1 screen 1-way connection + 1 screen 1-way connection" scenario.
[0177] In the scenario shown in Figure 7, the display screen 103 can communicate with the bound Bluetooth device 1 through the Bluetooth chip 101, and the display screen 104 can communicate with the bound Bluetooth device 2 through the Bluetooth chip 101. For example, the display screen 103 can output audio data through the bound Bluetooth device 1, and the display screen 104 can also output audio data through the bound Bluetooth device 2. These two channels of audio data belong to different data sources (i.e., the display screen 103 and the display screen 104). In this case, the Bluetooth chip 101 maintains two-way communication, and the current scenario can be understood as a "1 screen 1-way communication + 1 screen 1-way communication" scenario. The data of these two communications can use different encoding methods or the same encoding method.
[0178] Scenario 4: After the display screen 103 of the electronic device 100 is bound to the Bluetooth device 1 (for example, after the implementation shown in Figure 5), the electronic device 100 can receive a user operation acting on the Bluetooth device 2 shown on the display screen 103 (for example, a touch operation acting on the Bluetooth device 2 in the available device list 416 of the user interface 510 shown in Figure 5), and in response to the user operation, cancel the binding relationship between the display screen 103 and the Bluetooth device 1 (optionally, the electronic device 100 cancels the Bluetooth connection between it and the Bluetooth device 1), and the electronic device 100 can establish a connection with the Bluetooth device 2 through the Bluetooth chip 101, and determine that the Bluetooth device 2 and the display screen 103 have a binding relationship. At this time, both the display screen 103 and the display screen 104 can display the information of the Bluetooth device 2. For a specific example, see Figure 8 below.
[0179] Figure 8 illustrates another user interface. Figure 8 uses the example of electronic device 100 where paired devices include Bluetooth device 1 and Bluetooth device 2, display screen 103 is bound to Bluetooth device 2 but not to Bluetooth device 1, display screen 104 is unbound to a Bluetooth device, Bluetooth device 1 is "CCC's Bluetooth headset," and Bluetooth device 2 is "DDD's Bluetooth headset."
[0180] As shown in Figure 8 , the display screen 103 of the electronic device 100 can display a user interface 810, and the display screen 104 of the electronic device 100 can display a user interface 820. User interface 810 is similar to user interface 510 shown in Figure 5 , except that information 511 for Bluetooth device 1 in the paired device list is displayed differently, and the paired device list in user interface 810 also includes information 811 for Bluetooth device 2. The description of information 511 in user interface 810 can be found in the description of information 511 in user interface 610 shown in Figure 6 , indicating that there is no binding relationship between the display screen 103 and "CCC's Bluetooth headset." The device name "DDD's Bluetooth headset" in information 811 for Bluetooth device 2 is highlighted, and information 811 includes the prompt "Connected to AAA," indicating that there is a binding relationship between the display screen 103 and "DDD's Bluetooth headset." When the display screen 103 and "DDD's Bluetooth headset" are bound, the display screen 103 can communicate with "DDD's Bluetooth headset" via the Bluetooth chip 101. User interface 820 is similar to user interface 520 shown in FIG5 , both indicating that display screen 104 and “CCC’s Bluetooth headset” are not bound to each other. The difference is that the paired device list in user interface 820 also includes information 821 for Bluetooth device 2. The device name “DDD’s Bluetooth headset” in information 821 is not highlighted, and information 821 does not include a prompt message, indicating that display screen 104 and “DDD’s Bluetooth headset” are not bound to each other. As can be seen from FIG8 , electronic device 100 is paired with Bluetooth device 1 but not connected, while electronic device 100 is paired with Bluetooth device 2 and connected. Display screen 103 is currently bound to Bluetooth device 2, while display screen 104 is not currently bound to any Bluetooth device. The current scenario can be understood as a “1 screen 1-way connection + 1 screen 0-way connection” scenario.
[0181] As can be seen from the description of Figure 8, the display screen 103 can only be bound to one Bluetooth device with audio service at a time. Therefore, when the display screen 103 is connected to the Bluetooth device 1 (i.e., the scenario shown in Figure 5), if the electronic device 100 receives a user operation for connecting the display screen 103 and the Bluetooth device 2, the electronic device 100 can cancel the original binding relationship between the display screen 103 and the Bluetooth device 1, and establish a new binding relationship for the display screen 103, i.e., the binding relationship between the display screen 103 and the Bluetooth device 2.
[0182] Not limited to the embodiment shown in Figure 8, in another embodiment, after the display screen 103 and the Bluetooth device 1 are bound, the electronic device 100 can display a prompt message in response to the above-mentioned user operation acting on the Bluetooth device 2 shown on the display screen 103, and the prompt message indicates that the display screen 103 cannot be bound to the new Bluetooth device 2.
[0183] Not limited to the embodiment shown in FIG8 , in another embodiment, it is assumed that the capability of the Bluetooth chip 101 belongs to the above-mentioned situation 3. After the display screen 103 is bound to the Bluetooth device 1, the electronic device 100 can respond to the above-mentioned user operation on the Bluetooth device 2 shown on the display screen 103 to determine whether the number of Bluetooth devices currently connected to the Bluetooth chip 101 is less than N (i.e., 2). Since the current judgment result is yes, the electronic device 100 can establish a connection with the Bluetooth device 2 through the Bluetooth chip 101, and determine that the Bluetooth device 2 and the display screen 103 have a binding relationship. In addition, the electronic device 100 will not cancel the binding relationship between the display screen 103 and the Bluetooth device 1, that is, the display screen 103 is now bound to two Bluetooth devices. For a specific example, please refer to FIG9 below.
[0184] Figure 9 illustrates another user interface. Figure 9 uses an example in which the paired devices of electronic device 100 include Bluetooth device 1 and Bluetooth device 2, display screen 103 is bound to Bluetooth device 1 and Bluetooth device 2, display screen 104 is unbound to a Bluetooth device, Bluetooth device 1 is "CCC's Bluetooth headset," and Bluetooth device 2 is "DDD's Bluetooth headset."
[0185] As shown in FIG9 , the display screen 103 of the electronic device 100 can display a user interface 910, and the display screen 104 of the electronic device 100 can display a user interface 920. User interface 910 is similar to user interface 510 shown in FIG5 , both indicating that the display screen 103 and “CCC’s Bluetooth headset” are bound together. The difference is that the paired device list in user interface 910 also includes information 911 for Bluetooth device 2. For a description of information 911, see the description of information 811 in user interface 810 shown in FIG8 , indicating that the display screen 103 and “DDD’s Bluetooth headset” are bound together. User interface 920 is similar to user interface 520 shown in FIG5 , both indicating that the display screen 104 and “CCC’s Bluetooth headset” are not bound together. The difference is that the paired device list in user interface 820 also includes information 921 for Bluetooth device 2. For a description of information 921, see the description of information 821 in user interface 820 shown in FIG8 , indicating that the display screen 104 and “DDD’s Bluetooth headset” are not bound together. As can be seen from Figure 9, electronic device 100 is connected and paired with Bluetooth device 1 and Bluetooth device 2, wherein display screen 103 is currently bound to Bluetooth device 1 and Bluetooth device 2, and display screen 104 is currently not bound to a Bluetooth device. The current scenario can be understood as a "1 screen 2-way connection + 1 screen 0-way connection" scenario.
[0186] In one embodiment, in the scenario shown in FIG9 , display screen 103 is bound to two Bluetooth devices. Display screen 103 can select a communicating Bluetooth device from these two Bluetooth devices in response to a user operation. In some examples, display screen 103 can display information about Bluetooth device 1 and Bluetooth device 2. When the user selects Bluetooth device 1 on display screen 103, display screen 103 can communicate with Bluetooth device 1 via Bluetooth chip 101. When the user selects Bluetooth device 2 on display screen 103, display screen 103 can communicate with Bluetooth device 2 via Bluetooth chip 101. When the user selects Bluetooth device 1 and Bluetooth device 2 on display screen 103, display screen 103 can display a prompt message (such as "Do you allow simultaneous communication with two Bluetooth devices?"). Display screen 103 can communicate with Bluetooth device 1 and Bluetooth device 2 via Bluetooth chip 101 in response to the user operation acting on the prompt message. In this case, Bluetooth chip 101 maintains two-way communication. The current scenario can be understood as a "1-screen 2-way communication + 1-screen 0-way communication" scenario.
[0187] Figure 9 illustrates an example in which the display screen 103 can be bound to two Bluetooth devices at the same time. In other examples, the display screen 103 can also be bound to three or more Bluetooth devices at the same time. However, it should be noted that the number of Bluetooth devices bound to the display screen 103 and the display screen 104 must be less than or equal to the maximum number of connection paths N supported by the Bluetooth chip 101.
[0188] In one embodiment, the electronic device 100 can respond to user operations on the setting interface of the display screen 103 to enable the function of binding multiple Bluetooth devices to the display screen 103 at the same time. An example of the scenario after the function is enabled can be seen in Figure 9, and an example of the above-mentioned setting interface can be seen in Figure 10 below.
[0189] FIG10 exemplarily shows a schematic diagram of yet another user interface.
[0190] As shown in Figure 10, the display screen 103 of the electronic device 100 can display a user interface 1010. In some examples, the user interface 1010 can be displayed by the electronic device 100 in response to the setting option 511C in the user interface 510 shown in Figure 5. The user interface 1010 may include a title "CCC's Bluetooth Headset", indicating that the user interface 1010 is a setting interface for "CCC's Bluetooth Headset". The user interface 1010 may include setting information 1011 for the "volume synchronization" function, setting information 1012 for the "multi-device connection" function, and an option 1013 for "unpairing". Among them, the setting information 1011 may include a description of the "volume synchronization" function ("Bluetooth device volume is synchronized with the cockpit") and a switch control (for turning on or off the "volume synchronization" function). Settings information 1012 may include a description of the "Multi-Device Connection" feature ("Can be connected to AAA simultaneously with other Bluetooth devices") and a switch control (used to turn the "Multi-Device Connection" feature on or off). In some examples, when the "Multi-Device Connection" feature is turned on, "CCC's Bluetooth Headset" can be simultaneously paired with other Bluetooth devices to a single display screen. An example scenario is shown in Figure 9 above. Option 1013 is used to trigger the cancellation of the Bluetooth pairing relationship between electronic device 100 and "CCC's Bluetooth Headset."
[0191] In other examples, when the "multi-device connection" function of "CCC's Bluetooth headset" is not turned on, "CCC's Bluetooth headset" cannot bind the display screen 103 with other Bluetooth devices at the same time. For scenario examples, please refer to the description of Figure 8 above and the description of the above-mentioned display prompt information (the prompt information indicates that the display screen 103 cannot bind the new Bluetooth device 2).
[0192] Without being limited to the above embodiment, in another embodiment, regardless of whether the "multi-device connection" function of "CCC's Bluetooth headset" is turned on, "CCC's Bluetooth headset" can be bound to the display screen 103 at the same time as other Bluetooth devices. Accordingly, the display screen 103 can be bound to multiple Bluetooth devices, but when the "multi-device connection" function of "CCC's Bluetooth headset" is not turned on, the display screen 103 requires user confirmation before it can be bound to "CCC's Bluetooth headset" and other Bluetooth devices at the same time. When the "multi-device connection" function of "CCC's Bluetooth headset" is turned on, the display screen 103 can be bound to multiple Bluetooth devices (including "CCC's Bluetooth headset") at the same time without user confirmation. In some examples, it is assumed that the "multi-device connection" function of Bluetooth device 1 is not turned on. After the display screen 103 is bound to the Bluetooth device 1, the electronic device 100 can respond to the user operation on the Bluetooth device 2 shown on the display screen 103 by displaying a prompt message (such as "Is it allowed to bind multiple Bluetooth devices at the same time?"). The electronic device 100 will only execute the subsequent process (such as determining whether the number of Bluetooth devices currently connected to the Bluetooth chip 101 is less than N) when it receives a confirmation operation based on the prompt message (such as an operation on the "Allow" option in the prompt message). Otherwise, the display screen 103 cannot bind Bluetooth device 1 and Bluetooth device 2 at the same time. When the "multi-device connection" function of Bluetooth device 1 is turned on, the above prompt message will not be displayed. For details, please refer to Figure 9.
[0193] The above embodiment is illustrated by taking the judgment result as yes (i.e., the number of Bluetooth devices currently connected to the Bluetooth chip 101 is less than 2) as an example. In another embodiment, when the judgment result is no, the display screen 103 cannot be bound to Bluetooth device 1 and Bluetooth device 2 at the same time. In some examples, the Bluetooth chip 101 is connected to two Bluetooth devices, the display screen 103 is bound to Bluetooth device 1, and the display screen 104 is bound to Bluetooth device 2. The electronic device 100 can receive user operations (such as multi-device pairing operations) for the Bluetooth device 3 shown on the display screen 103, and determine whether the number of Bluetooth devices currently connected to the Bluetooth chip 101 is less than N (i.e., 2). Since the current judgment result is no, the Bluetooth chip 101 will not connect to Bluetooth device 3. Optionally, the display screen 103 can display a prompt message at this time, such as "The current number of connected devices has reached the maximum, and new Bluetooth devices cannot be connected."
[0194] Scenario 5: Assume that the capabilities of the Bluetooth chip 101 fall within the above-mentioned scenario 2. The Bluetooth chip 101 of the electronic device 100 is already connected to two Bluetooth devices for audio services (e.g., the scenario shown in FIG7 or the scenario shown in FIG9 ). The scenario shown in FIG9 is used as an example for illustration. The electronic device 100 can receive a user operation on the Bluetooth device 3 shown on the display screen 104 , assuming that the Bluetooth device 3 is an "FFF controller." Although the Bluetooth chip 101 is already connected to two Bluetooth devices, since these two Bluetooth devices correspond to audio services and the Bluetooth device 3 to be connected corresponds to a gaming service, the capabilities of the Bluetooth chip 101 are sufficient to support the connection of the new Bluetooth device 3. Therefore, in response to the above-mentioned user operation, the electronic device 100 can connect to the Bluetooth device 3 through the Bluetooth chip 101 and determine that the Bluetooth device 3 is bound to the display screen 104. At this point, in the Bluetooth setting interface displayed on the display screen 103 and the display screen 104, the paired device list also includes information about the Bluetooth device 3, and the Bluetooth device 3 displayed on the display screen 103 is not highlighted, while the Bluetooth device 3 displayed on the display screen 104 is highlighted.
[0195] Scenario 6: Assume that the capabilities of Bluetooth chip 101 fall within scenario 2 above. The Bluetooth chip 101 of electronic device 100 is already connected to two Bluetooth devices for audio services (e.g., the scenario shown in FIG. 7 or FIG. 9 ). The scenario shown in FIG. 9 is used as an example for illustration. Electronic device 100 may receive a user operation on Bluetooth device 3 shown on display 104. Assume that Bluetooth device 3 is "EEE's Bluetooth headset." Because Bluetooth chip 101 is already connected to two Bluetooth devices for audio services, and the Bluetooth device 3 to be connected also supports audio services, the capabilities of Bluetooth chip 101 are insufficient to support the connection of a new Bluetooth device for audio services. Therefore, in response to the user operation, electronic device 100 may determine that Bluetooth device 3 cannot be connected. At this point, display 104 may display a prompt indicating that Bluetooth device 3 cannot be connected. For example, the prompt may read, "AAA and BBB have reached the maximum number of connected audio devices: 2. No new audio device can be connected. Please disconnect at least one audio device before connecting a new one."
[0196] Scenario 7: Assume that the capability of the Bluetooth chip 101 belongs to the above-mentioned situation 3. When the Bluetooth chip 101 of the electronic device 100 is already connected to two Bluetooth devices (that is, the number of connections of the Bluetooth chip 101 has reached the maximum of 2) (for example, the scenario shown in FIG7 , or the scenario shown in FIG9 ), the scenario shown in FIG9 is taken as an example for explanation. The electronic device 100 can receive user operations acting on the Bluetooth device 3 shown on the display screen 104. Assume that the Bluetooth device 3 is an "FFF handle". Since the Bluetooth chip 101 is already connected to two Bluetooth devices, the maximum number of connections that can be supported has been reached. Therefore, the electronic device 100 determines that a connection cannot be established between the Bluetooth chip 101 and the Bluetooth device 3. At this time, the display screen 104 can display a prompt message indicating that the Bluetooth device 3 cannot be connected. For example, the prompt message is "AAA and BBB have connected Bluetooth devices that have reached 2 (maximum). New devices cannot be connected. Please disconnect at least one Bluetooth device before connecting a new device."
[0197] Scenario 8: The description of Scenario 8 is similar to that of Scenario 6 / Scenario 7 (Scenario 7 is used as an example here), with the difference being that when the current judgment result is no, the electronic device 100 can cancel the connection with a Bluetooth device, and the electronic device 100 can establish a connection with the Bluetooth device 3 through the Bluetooth chip 101, and determine that the Bluetooth device 3 and the display screen 104 have a binding relationship. The Bluetooth device that cancels the connection can be any Bluetooth device connected to the display screen 103 (i.e., the display screen that does not receive user operations). Optionally, when the display screen 103 is bound to multiple Bluetooth devices, the Bluetooth device that cancels the connection can be the earliest connected device among the multiple Bluetooth devices, or the latest connected device, or the device that was last used the earliest, or the device that was last used the latest. Not limited to this, the Bluetooth device that cancels the connection can also be any Bluetooth device bound to the display screen 104. The embodiment of the present application does not limit the Bluetooth device that cancels the connection. Taking the Bluetooth device that cancels the connection as the device that was first connected to the display screen 103 (i.e., Bluetooth device 1, also known as "CCC's Bluetooth headset" as shown in FIG9 ) as an example, after the electronic device 100 completes the above process, the Bluetooth chip 101 and Bluetooth device 2 (i.e., "DDD's Bluetooth headset" as shown in FIG9 ), and Bluetooth device 3 (i.e., "EEE's Bluetooth headset" as shown in FIG9 ) have a connection relationship, and Bluetooth device 2 and the display screen 103 have a binding relationship, and Bluetooth device 3 and the display screen 104 have a binding relationship. At this time, in the Bluetooth setting interface displayed on the display screen 103 and the display screen 104, the list of paired devices also includes the information of Bluetooth device 3, and the Bluetooth device 3 displayed on the display screen 103 is not highlighted, and the displayed Bluetooth device 2 is highlighted, and the Bluetooth device 3 displayed on the display screen 104 is highlighted, and the displayed Bluetooth device 2 is not highlighted.
[0198] Scenario 9: The description of Scenario 9 is similar to that of Scenario 6 / Scenario 7 (Scenario 7 is used as an example here), with the difference being that, when the current judgment result is negative, the electronic device 100 can establish a connection with the Bluetooth device 3 via the Bluetooth chip 101, and determine that the Bluetooth device 3 and the display screen 104 have a binding relationship, but the Bluetooth device 3 is in an unavailable state, that is, the display screen 104 cannot communicate with the Bluetooth device 3 via the Bluetooth chip 101. For example, the paired list displayed on the display screen 104 includes information about the Bluetooth device 3, and the information about the Bluetooth device 3 is similar to the information 721 in the user interface 720 shown in FIG7 . Optionally, the prompt information in the information about the Bluetooth device 3 further indicates that the Bluetooth device 3 is unavailable, for example, further including "The number of connected Bluetooth devices has reached 2 (maximum) and cannot be used." For example, when the display screen 104 receives a user operation for triggering communication with the Bluetooth device 3 (also referred to as for triggering the use of the Bluetooth device 3), the prompt information is displayed, and the prompt information indicates that the Bluetooth device 3 is unavailable.
[0199] In the above embodiments, all Bluetooth devices connected to the Bluetooth chip 101 of the electronic device 100, except for unavailable Bluetooth devices (e.g., Bluetooth device 3 in the above scenario 9), can communicate with the electronic device 100 (including the display screens 103 and 104) through the Bluetooth chip 101. For example, if the Bluetooth chip 101 supports N-way connections, it can support N-way communication. For example, the description of scenarios 1 to 4 above.
[0200] Without limitation, in another embodiment, before the electronic device 100 transmits data A through the Bluetooth chip 101 and the Bluetooth device, it can determine whether the Bluetooth chip 101 supports the transmission of data A based on the capability of the Bluetooth chip 101, the type of data A to be transmitted by the Bluetooth chip 101, the type of data currently transmitted by the Bluetooth chip 101, and the number of Bluetooth devices to which the Bluetooth chip 101 has currently transmitted data. The capability of the Bluetooth chip 101 means that the Bluetooth chip 101 supports at most 2-way communication. The example is similar to the example of the case where the Bluetooth chip 101 of the electronic device 100 supports at most 2-way connection. If the judgment result is yes, the display screen can transmit data A through the Bluetooth chip 101 and the bound Bluetooth device. If the judgment result is no, data A cannot be transmitted through the Bluetooth chip 101, for example, a prompt message (such as "The current Bluetooth communication path has reached the maximum (2), please close at least one path and add a new communication path") is displayed. For a specific example, please refer to the following scenario 10.
[0201] Scenario 10: Assume that the Bluetooth chip 101 is capable of supporting two or fewer channels of audio data communication and at least one channel of other data communication. In some examples, the Bluetooth chip 101 of the electronic device 100 is not currently supporting audio data communication or is already supporting one channel of audio data communication. When a user triggers the addition of a new audio data communication channel, the Bluetooth chip 101 is capable of supporting the addition of the new communication channel. Therefore, the Bluetooth chip 101 can add the new audio data communication channel. In other examples, the Bluetooth chip 101 of the electronic device 100 is already supporting two channels of audio data communication. When a user triggers the addition of a new audio data communication channel, the Bluetooth chip 101 is unable to support more than two channels of audio data communication and therefore determines that the new audio data communication channel cannot be added. In other examples, the Bluetooth chip 101 of the electronic device 100 is already supporting two channels of audio data communication. When a user triggers the addition of a new game command data communication channel, the Bluetooth chip 101 is capable of supporting the addition of a new non-audio data communication channel. Therefore, the Bluetooth chip 101 can add the new game command data communication channel.
[0202] Scenario 11: When the Bluetooth chip 101 communicates different types of data, the electronic device 100 can adjust the state of the Bluetooth chip 101's communication path based on the current state (such as the data type and communication status), and optionally adjust the state of the Bluetooth chip 101's connection path. In some examples, the Bluetooth chip 101 is connected to two Bluetooth headsets and a game controller. Assume that the display 103 (such as the passenger screen) is bound to a Bluetooth headset, and the display 104 (such as the rear screen) is bound to a Bluetooth headset and a game controller. Furthermore, the display 103 outputs audio data through the bound Bluetooth headset, and the display 104 outputs audio data through the bound Bluetooth headset and transmits game command data to the bound game controller. Optionally, the electronic device 100 can reduce the bit rate of the audio data output by at least one of the two Bluetooth headsets to improve the real-time performance of the game controller. Optionally, if the electronic device 100 detects a high latency in the game controller, the electronic device 100 can cancel the output of at least one of the two Bluetooth headsets. Optionally, when the electronic device 100 obtains the game controller with a high latency, it can cancel the connection with at least one of the two Bluetooth headsets. Optionally, when the electronic device 100 obtains the game controller with a high latency, the display screen 103 and / or the display screen 104 can display a prompt message.
[0203] The above embodiments exemplify some Bluetooth device connection scenarios, and the following exemplifies some Bluetooth device deletion scenarios. For specific examples, see the following scenarios 12, 13, and 14. Deleting a Bluetooth device in this embodiment means canceling pairing with a Bluetooth device.
[0204] Scenario 12: When the display screen 103 is bound to the Bluetooth device 1 and the display screen 104 is not bound to the Bluetooth device 1, for example, in the scenario shown in Figure 5, the electronic device 100 can receive a user operation acting on the display screen 104. The user operation is used to delete the Bluetooth device 1. For example, the user operation is a user operation (such as a touch operation) acting on the cancel pairing option in the setting interface of the "CCC Bluetooth Headset" displayed on the display screen 104. The description of the setting interface of the "CCC Bluetooth Headset" is similar to the user interface 1010 shown in Figure 10 and is not repeated here. In response to the user operation, the electronic device 100 can determine whether the Bluetooth device 1 is being used (for example, whether the display screen 103 is outputting audio data through the Bluetooth device 1). In one embodiment, when the above judgment result is yes, the electronic device 100 can determine that the Bluetooth device 1 cannot be deleted. At this time, the display screen 104 can display a prompt message (such as "The device is being used by other displays and cannot be deleted"). In another embodiment, when the above judgment result is no, the electronic device 100 may display a prompt message on the display screen 103 (such as "Other display screens request to delete CCC's Bluetooth headset, do you agree?"), and optionally determine whether to delete the Bluetooth device 1 based on the user operation acting on the display screen 103. For example, the prompt message also includes a confirmation control and a cancel control, the confirmation control is used to trigger the deletion of the Bluetooth device 1, and the cancel control is used to cancel the deletion of the Bluetooth device 1. Not limited to this, in other examples, the electronic device 100 may also determine whether a user operation acting on the prompt message is received within a preset time period after the prompt message is displayed, and determine whether to delete the Bluetooth device 1 based on the judgment result. In other examples, when the above judgment result is no, the electronic device 100 may also directly delete the Bluetooth device 1. The embodiment of the present application does not limit the processing method of the electronic device 100 when the above judgment result is no.
[0205] Not limited to the above embodiment, in another embodiment, the electronic device 100 may not determine whether the Bluetooth device 1 is being used, but directly delete the Bluetooth device 1 in response to the above user operation on the display screen 104 .
[0206] Scenario 13: When display screen 103 is bound to Bluetooth device 1 and display screen 104 is not bound to Bluetooth device 1, for example, in the scenario shown in FIG5 , electronic device 100 may receive a user operation on display screen 104, and the user operation is used to delete Bluetooth device 1. In response to the user operation, electronic device 100 may determine whether Bluetooth device 1 is bound to a display screen other than display screen 104. Since the judgment result is yes, electronic device 100 may determine that Bluetooth device 1 cannot be deleted. At this time, display screen 104 may display a prompt message (such as "This device is already connected to another display screen and cannot be deleted").
[0207] Scenario 14: Electronic device 100's paired and / or connected devices include Bluetooth device 1, but neither display screen 103 nor display screen 104 is bound to Bluetooth device 1. Electronic device 100 may receive a user operation on display screen 103 / 104 to delete Bluetooth device 1. In response to the user operation, electronic device 100 may determine whether Bluetooth device 1 is bound to the display screen. Since the determination is negative, electronic device 100 may delete Bluetooth device 1.
[0208] Not limited to the above embodiment, in another embodiment, the electronic device 100 may not determine whether the Bluetooth device 1 is bound to other display screens other than the display screen receiving the user operation, but directly delete the Bluetooth device 1 in response to the user operation.
[0209] Next, some scenarios in which the electronic device 100 and the Bluetooth device are disconnected and then reconnected are exemplified. For details, please refer to the following scenarios 15, 16, and 17.
[0210] Scenario 15: The electronic device 100 is first in state 1: the display screen 103 is bound to the Bluetooth device 1 and the display screen 104 is not bound to the Bluetooth device 1 (for example, the scenario shown in Figure 5), and then in state 2: the display screen 104 is bound to the Bluetooth device 1 and the display screen 103 is not bound to the Bluetooth device 1 (for example, the scenario shown in Figure 6). For specific process examples, please refer to the description of Figures 5 and 6. Then, the Bluetooth connection between the electronic device 100 and the Bluetooth device 1 is disconnected (the reason for the disconnection is, for example, that the Bluetooth function of the Bluetooth device 1 or the electronic device 100 is turned off). When the electronic device 100 and the Bluetooth device 1 subsequently turn on the Bluetooth function, the electronic device 100 and the Bluetooth device 1 can directly establish a Bluetooth connection, and the electronic device 100 can determine that the Bluetooth device 1 and the display screen 104 have a binding relationship without the user performing a connection operation / binding operation (such as selecting the Bluetooth device 1 in the Bluetooth setting interface displayed on the display screen 104). It can be understood that the Bluetooth device 1 can connect to the display screen that was bound the most recently.
[0211] Scenario 16: Display screen 103 is bound to a Bluetooth device, and display screen 104 is not bound to Bluetooth device 1, such as the scenario shown in Figure 5. Then, the Bluetooth connection between the electronic device 100 and the Bluetooth device 1 is disconnected. When the Bluetooth function of the electronic device 100 and the Bluetooth device 1 is subsequently turned on, the electronic device 100 and the Bluetooth device 1 can directly establish a Bluetooth connection, and the electronic device 100 can determine that the Bluetooth device 1 and the preset display screen 104 have a binding relationship without the user performing a connection operation / binding operation (such as selecting Bluetooth device 1 in the Bluetooth setting interface displayed on the display screen 104). It can be understood that the Bluetooth device 1 can be bound to the preset display screen of the electronic device 100.
[0212] Scenario 17: The electronic device 100 is a vehicle / on-board device, the display screen 103 is the co-pilot screen, and the display screen 104 is the rear screen. Then, the Bluetooth connection between the electronic device 100 and the Bluetooth device 1 is disconnected. When the Bluetooth function of the electronic device 100 and the Bluetooth device 1 is subsequently turned on, the electronic device 100 can detect the location of the Bluetooth device 1. When the Bluetooth device 1 is in the area corresponding to the co-pilot screen (such as the cockpit of the co-pilot seat), the electronic device 100 can connect to the Bluetooth device 1 and determine that the Bluetooth device 1 and the display screen 103 are bound. When the Bluetooth device 1 is in the area corresponding to the rear screen (such as the cockpit of the rear seat), the electronic device 100 can connect to the Bluetooth device 1 and determine that the Bluetooth device 1 and the display screen 104 are bound. It can be understood that the Bluetooth device 1 can be bound to the display screen in the area.
[0213] In one embodiment, any display screen of the electronic device 100 (taking display screen 103 as an example) can communicate with multiple Bluetooth devices, but only one of these multiple Bluetooth devices may be connected to the electronic device 100 and bound to the display screen 103, and the other Bluetooth devices may be in a listening state (such as listening to the Bluetooth device bound to the display screen 103). In this case, the display screen 103 is still in a "one screen one-way communication" scenario.
[0214] Based on the above embodiments, the short-range communication method involved in the embodiments of the present application is described. This method can be applied to the electronic device 100 shown in Figure 1. This method can be applied to the electronic device 100 shown in Figure 2. This method can be applied to the electronic device 100 shown in Figure 3. The following process is described using the electronic device 100 having the structure shown in Figure 1 as an example.
[0215] Please refer to Figure 11, which is a flowchart of a Bluetooth connection process provided by an embodiment of the present application. Figure 11 illustrates the process by taking the establishment of a Bluetooth connection between electronic device 100 and Bluetooth device 1 as an example. The process may include but is not limited to the following steps:
[0216] S101: Bluetooth device 1 broadcasts via Bluetooth (eg, broadcasts information of Bluetooth device 1).
[0217] S102: The display screen 103 scans devices via Bluetooth and displays a Bluetooth setting interface (available devices include Bluetooth device 1).
[0218] S103: The display screen 104 scans devices via Bluetooth and displays a Bluetooth setting interface (available devices include Bluetooth device 1).
[0219] S103 is an optional step.
[0220] In one embodiment, the display screen 103 and / or the display screen 104 can scan the surrounding Bluetooth devices through the Bluetooth chip 101 and display the scanned Bluetooth devices (i.e., available devices) in the Bluetooth setting interface. Optionally, after the Bluetooth function of the display screen 103 and / or the display screen 104 is turned on, the surrounding Bluetooth devices will be scanned through the Bluetooth chip 101. For a specific example, see Figure 4 above. The available device list described in Figure 4 is used to display the scanned Bluetooth devices. In some examples, since the current Bluetooth device 1 is broadcasting via Bluetooth, the display screen 103 and the display screen 104 can scan the Bluetooth device 1 through the Bluetooth chip 101. The display screen 103 and the display screen 104 display the Bluetooth setting interface, and the available devices may include the Bluetooth device 1.
[0221] S104 : When the electronic device 100 receives a user operation on the Bluetooth device 1 in the Bluetooth setting interface displayed on the display screen 103 , the electronic device 100 connects and pairs with the Bluetooth device 1 via the Bluetooth chip 101 .
[0222] In one embodiment, Figure 11 illustrates the case where the Bluetooth chip 101 is not connected to any Bluetooth device before S104. Therefore, the Bluetooth chip 101 is sufficient to support the connection of a new Bluetooth device 1, and the electronic device 100 can establish a Bluetooth connection (including pairing process and connection process) through the Bluetooth chip 101 and the Bluetooth device 1 in response to user operations.
[0223] After S104 , a Bluetooth connection is established between the Bluetooth chip 101 and the Bluetooth device 1 , which can also be referred to as a connection relationship between the Bluetooth chip 101 and the Bluetooth device 1 .
[0224] S105: The Bluetooth chip 101 notifies the display screen 103 that the Bluetooth device 1 is connected.
[0225] In one implementation, the Bluetooth chip 101 may notify the SoC 102 of the access of the Bluetooth chip 1 , and the SoC 102 may then notify the display screen 103 of the access of the Bluetooth device 1 .
[0226] S106 : Display screen 103 requests SoC 102 to bind Bluetooth device 1 .
[0227] In one embodiment, SoC 102 can be used to maintain a binding relationship between the display screen of electronic device 100 and a Bluetooth device (specifically, a Bluetooth device connected to Bluetooth chip 101). In one embodiment, before S106, Bluetooth device 1 has a connection relationship with Bluetooth chip 101, but does not have a binding relationship with display screen 103 / display screen 104. Therefore, SoC 102 does not maintain a binding relationship between the display screen of electronic device 100 and Bluetooth device 1 at this time. Optionally, an example of the interface displayed on the display screen at this time can be seen in Figure 4.
[0228] In one implementation, the display screen 103 may send a request message to the SoC 102 , where the request message is used to request a binding relationship between the display screen 103 and the Bluetooth device 1 . Optionally, the request message includes information about the Bluetooth device 1 .
[0229] S107: SoC102 updates the binding relationship between the display screen and the Bluetooth device.
[0230] In one embodiment, after receiving the request from display screen 103, SoC 102 may update the maintained binding relationship between the display screen and the Bluetooth device, that is, add the binding relationship between display screen 103 and Bluetooth device 1. In one embodiment, after SoC 102 updates the binding relationship between the display screen and the Bluetooth device, it may notify display screen 103 and display screen 104 of the update result, such as in S108 and S109, so that display screen 103 and display screen 104 adjust their display interfaces according to the update result, such as in S110 and S111.
[0231] After S107 , the Bluetooth device 1 and the Bluetooth chip 101 have a connection relationship, and the Bluetooth device 1 and the display screen 103 have a binding relationship.
[0232] Without being limited to the description of S105 - S107 , in another embodiment, after the SoC 102 obtains access to the Bluetooth chip 1 , it may directly execute S107 without executing S105 - S106 .
[0233] S108 : SoC 102 notifies display screen 103 that display screen 103 and Bluetooth device 1 are bound.
[0234] S109 : SoC 102 notifies display screen 104 that display screen 103 and Bluetooth device 1 are bound.
[0235] S110: The display screen 103 displays the Bluetooth setting interface (including the highlighted Bluetooth device 1).
[0236] S110 is an optional step.
[0237] In one embodiment, after S108, the display screen 103 may display a Bluetooth setting interface, in which the Bluetooth device 1 in the Bluetooth setting interface is highlighted and is in a paired state. The paired state here refers to a display mode indicating that the Bluetooth device 1 has been paired with the Bluetooth chip 101. For example, when the Bluetooth device 1 is displayed in the paired list, it can be considered that the Bluetooth device 1 is in a paired state. The "highlighted display" in the embodiment of the present application may include, but is not limited to, at least one of the following: highlighted display, bold font display, italic font display, underlined text, textured background, circle or rectangle borders around characters, font color different from the font color of other texts, font type different from the font type of other texts (for example, Kaiti and Songti belong to different font types), font size different from the font size of other texts, etc.
[0238] S111: the display screen 104 displays the Bluetooth setting interface (including the non-highlighted Bluetooth device 1).
[0239] S111 is an optional step.
[0240] In one embodiment, after S109, the display screen 104 may display a Bluetooth setting interface, in which the Bluetooth device 1 is not highlighted. In some examples, the Bluetooth device 1 in the Bluetooth setting interface may be in a paired state, and in other examples, may not be in a paired state.
[0241] In some examples, the scenario of the process shown in Figure 11 is the above-mentioned scenario 1, Bluetooth device 1 is "CCC's Bluetooth headset", and the interface examples of S102 and S103 can be found in Figure 4. The user operation described in S104 is, for example, an operation on "CCC's Bluetooth headset" in the available device list 416 of the user interface 410 shown in Figure 4, and the interface examples of S110 and S111 can be found in Figure 5.
[0242] The order of S108 and S109 is not limited, and the order of S110 and S111 is not limited.
[0243] S112 : The display screen 103 communicates with the Bluetooth device 1 via the Bluetooth chip 101 .
[0244] S112 is an optional step.
[0245] In one embodiment, after S107, that is, when SoC102 maintains the binding relationship between the display screen 103 and the Bluetooth device 1, the display screen 103 can communicate with the Bluetooth device 1 through the Bluetooth chip 101 to implement the service of the display screen 103. In some examples, the Bluetooth device 1 is a headset, and the display screen 103 can send audio data to the Bluetooth device 1 to implement the audio playback service of outputting the audio data of the display screen 103 through the Bluetooth device 1. In other examples, the Bluetooth device 1 is a game controller, and the display screen 103 can receive game instruction data sent by the Bluetooth device 1 to implement the game service of operating the game status of the display screen 103 through the Bluetooth device 1. In other examples, the Bluetooth device 1 is a microphone, and the display screen 103 can receive voice data sent by the Bluetooth device 1 to implement the voice assistant service of operating the display screen 103 through the Bluetooth device 1. The embodiments of the present application do not limit the communication method and the services implemented.
[0246] In the method shown in Figure 11, display screen 103 and display screen 104 can share a Bluetooth chip 101. Display screen 103 and display screen 104 can both display the Bluetooth device (such as Bluetooth device 1) scanned by Bluetooth chip 101. User A using display screen 103 and user B using display screen 104 can both choose Bluetooth device 1 for connection, ensuring that the Bluetooth functions provided to user A and user B are consistent. After the display screen 103 is bound to the Bluetooth device 1, the Bluetooth device 1 in the paired state can be displayed on the display screen 103 and the display screen 104, instead of only displaying the Bluetooth device 1 in the paired state on the display screen 103 (in this case, user B cannot obtain the Bluetooth device bound to the display screen other than the display screen 103), and the display screen 103 highlights the Bluetooth device 1, and the display screen 104 does not highlight the Bluetooth device 1. This allows user A using the display screen 103 to obtain that the electronic device 100 has been paired with the Bluetooth device 1 and that the display screen 103 has been bound to the Bluetooth device 1. It also allows user B using the display screen 104 to obtain that the electronic device 100 has been paired with the Bluetooth device 1 and that the display screen 104 and the Bluetooth device 1 are not bound, effectively improving the user experience.
[0247] Please refer to Figure 12, which is a flowchart of a process for updating a binding relationship provided by an embodiment of the present application. Figure 12 takes the process including updating the binding relationship related to Bluetooth device 1 as an example for explanation.
[0248] FIG12 illustrates an example in which the Bluetooth chip 101 and the Bluetooth device 1 are connected, and the display screen 103 and the Bluetooth device 1 are bound. For example, the process shown in FIG11 is executed before FIG12 .
[0249] The process may include but is not limited to the following steps:
[0250] S201 : When the electronic device 100 receives a user operation on the Bluetooth device 1 in the Bluetooth setting interface displayed on the display screen 104 , the display screen 104 requests the SoC 102 to bind the Bluetooth device 1 .
[0251] S202: SoC102 updates the binding relationship between the display screen and the Bluetooth device.
[0252] In one embodiment, after receiving the request from display screen 104, SoC 102 may update the maintained binding relationship between the display screen and the Bluetooth device, that is, update the display screen bound to Bluetooth device 1 from display screen 103 to display screen 104. In one embodiment, after SoC 102 updates the binding relationship between the display screen and the Bluetooth device, it may notify display screen 103 and display screen 104 of the update result, such as in S203 and S204, so that display screen 103 and display screen 104 adjust their display interfaces according to the update result, such as in S205 and S206.
[0253] After S202, the Bluetooth device 1 is no longer bound to the display screen 103, but is bound to the display screen 104. It can also be said that the binding relationship between the Bluetooth device 1 and the display screen 103 is deleted / canceled, and a new binding relationship between the Bluetooth device 1 and the display screen 104 is added. At the same time, the connection relationship between the Bluetooth device 1 and the Bluetooth chip 101 remains unchanged.
[0254] S203 : SoC 102 notifies display screen 103 that display screen 104 and Bluetooth device 1 are bound.
[0255] S204 : SoC 102 notifies display screen 104 that display screen 104 and Bluetooth device 1 are bound.
[0256] S205: The display screen 103 displays the Bluetooth setting interface (including the non-highlighted Bluetooth device 1).
[0257] S205 is an optional step, and S205 is similar to S111 in FIG11 . For details, please refer to the description of S111 in FIG11 , and details will not be repeated here.
[0258] S206: The display screen 104 displays the Bluetooth setting interface (including the highlighted Bluetooth device 1).
[0259] S206 is an optional step, and S206 is similar to S110 in FIG. 11 . For details, please refer to the description of S110 in FIG. 11 , and details will not be repeated here.
[0260] In some examples, the scenario of the process shown in Figure 11 is the above-mentioned scenario 2, the Bluetooth device 1 is "CCC's Bluetooth headset", the interface example before S201 can be seen in Figure 5, the user operation described in S201 is, for example, an operation acting on the information 521 of "CCC's Bluetooth headset" in the user interface 520 shown in Figure 5, and the interface examples of S205 and S206 can be seen in Figure 6.
[0261] The order of S203 and S204 is not limited, and the order of S205 and S206 is not limited.
[0262] S207 : The display screen 104 communicates with the Bluetooth device 1 via the Bluetooth chip 101 .
[0263] S207 is an optional step, and S207 is similar to S112 in FIG. 11 . For details, please refer to the description of S112 in FIG. 11 , and no further details are given.
[0264] In the method shown in Figure 12, after the Bluetooth chip 101 and the Bluetooth device 1 establish a Bluetooth connection, when the display screen 103 and the Bluetooth device 1 are bound, the electronic device 100 can respond to the user operation of user B using the display screen 104 (for triggering the connection of the Bluetooth device 1) and switch the display screen bound to the Bluetooth device 1 to the display screen 104. It can be understood that when the display screen 103 and the display screen 104 share a Bluetooth chip 101, for the Bluetooth device 1 connected to the Bluetooth chip 101, any one of the display screens 103 and 104 can connect to and use the Bluetooth device 1. It can also be understood that the connection relationship between the Bluetooth chip 101 and the Bluetooth device 1 is fixed, and the binding relationship between the display screen of the electronic device 100 and the Bluetooth device 1 is variable. Therefore, in response to the user operation of the above-mentioned user B, the electronic device 100 can directly update the binding relationship between the display screen and the Bluetooth device 1 without having to reconnect and pair with the Bluetooth device 1, thereby reducing device power consumption and improving user efficiency.
[0265] Please refer to Figure 13, which is a flowchart of another Bluetooth connection process provided by an embodiment of the present application. Figure 13 takes the process including the electronic device 100 and the Bluetooth device 2 establishing a Bluetooth connection as an example for explanation.
[0266] FIG13 illustrates an example in which the Bluetooth chip 101 and the Bluetooth device 1 are connected, and the display screen 103 and the Bluetooth device 1 are bound. For example, the process shown in FIG11 is executed before FIG13 .
[0267] The process may include but is not limited to the following steps:
[0268] S301: Bluetooth device 2 broadcasts via Bluetooth (eg, broadcasts information of Bluetooth device 2).
[0269] S302: The display screen 103 scans devices via Bluetooth and displays a Bluetooth setting interface (available devices include Bluetooth device 2).
[0270] S303: The display screen 104 scans devices via Bluetooth and displays a Bluetooth setting interface (available devices include Bluetooth device 2).
[0271] S302 is an optional step.
[0272] S302 and S303 are similar to S102 and S103 in FIG11 , and for details, please refer to the description of S102 and S103 in FIG11 .
[0273] S304 : When the electronic device 100 receives a user operation on the Bluetooth device 2 in the Bluetooth setting interface displayed on the display screen 104 , the SoC 102 determines whether the existing connection paths are less than N.
[0274] In one embodiment, when the electronic device 100 receives the above-mentioned user operation, the SoC 102 can determine whether the current connection path of the Bluetooth chip 101 (i.e., the number of connected Bluetooth devices) is less than the maximum connection path (i.e., N) supported by the Bluetooth chip 101. When the judgment result is yes, the SoC 102 can determine that the Bluetooth chip 101 and the Bluetooth device 2 can establish a Bluetooth connection, for example, executing S305. Figure 13 illustrates the above-mentioned judgment result as yes as an example. Figure 13 illustrates the above-mentioned case 3 (i.e., for any business Bluetooth device, the Bluetooth chip 101 supports a maximum of N connections) as an example.
[0275] S305 : When the number of existing connection paths is less than N, the electronic device 100 is connected and paired with the Bluetooth device 2 via the Bluetooth chip 101 .
[0276] After S305 , the Bluetooth chip 101 and the Bluetooth device 2 have a connection relationship.
[0277] S306: The Bluetooth chip 101 notifies the display screen 104 that the Bluetooth device 2 is connected.
[0278] S306 is similar to the description of S105 in FIG. 11 , and for details, please refer to the description of S105 in FIG. 11 .
[0279] S307 : The display screen 104 requests the SoC 102 to bind the Bluetooth device 2 .
[0280] S307 is similar to the description of S106 in FIG. 11 , and for details, please refer to the description of S106 in FIG. 11 .
[0281] S308: SoC102 updates the binding relationship between the display screen and the Bluetooth device.
[0282] In one embodiment, after receiving a request from display screen 104, SoC 102 may add the binding relationship between display screen 104 and Bluetooth device 2 to the maintained binding relationships. In one embodiment, after SoC 102 updates the binding relationship between the display screen and the Bluetooth device, it may notify display screens 103 and 104 of the update result. This process is similar to S108 and S109 in FIG. 11 , except that the notification now contains information about the binding between display screen 104 and Bluetooth device 2. Display screens 103 and 104 may adjust their display interfaces based on the received update result. This process is similar to S110 and S111 in FIG. 11 .
[0283] In some examples, the scenario of the process shown in Figure 13 above is the above scenario 3, Bluetooth device 1 is "CCC's Bluetooth headset", Bluetooth device 2 is "DDD's Bluetooth headset", and the interface examples of S302 and S303 can be found in Figure 5. The user operation described in S304 is, for example, an operation on "DDD's Bluetooth headset" in the available device list 426 of the user interface 520 shown in Figure 5. The interface examples of display screens 103 and 104 after S308 can be found in Figure 7.
[0284] Without being limited to the description of S306 - S308 , in another embodiment, after the electronic device 100 is connected and paired with the Bluetooth device 2 via the Bluetooth chip 101 , S308 may be directly executed without executing S306 - S307 .
[0285] S309 : the display screen 104 communicates with the Bluetooth device 2 via the Bluetooth chip 101 .
[0286] S309 is an optional step, and S309 is similar to S112 in FIG. 11 . For details, please refer to the description of S112 in FIG. 11 , and details will not be repeated here.
[0287] Not limited to the judgment shown in S304 of Figure 13, in another embodiment, the electronic device 100 will also determine whether to connect to the Bluetooth device to be connected based on the capabilities of the Bluetooth chip 101 (specifically, the capability to connect to the Bluetooth device), the service type of the Bluetooth device to be connected, the number of Bluetooth devices currently connected to the Bluetooth chip 101 (i.e., the existing connection paths), and the service type of the Bluetooth device currently connected to the Bluetooth chip 101. Among them, examples of the capabilities of the Bluetooth chip 101 can be found in Case 1, Case 2, and Case 3 above. For scenario examples, see Scenarios 1 to 9 above.
[0288] Without being limited to the process shown in FIG. 13 , in another embodiment, when the judgment result of S304 is negative, SoC 102 may determine that the Bluetooth chip 101 and Bluetooth device 2 cannot establish a Bluetooth connection, and therefore, S304 will not be executed. Optionally, the display screen 104 may display a corresponding prompt message. For example, see Scenario 7 above. In another embodiment, when the judgment result of S304 is negative, SoC 102 may instruct the Bluetooth chip 101 to disconnect from one Bluetooth device, and instruct the Bluetooth chip 101 to establish a connection with Bluetooth device 2. For example, based on the process shown in FIG. 13 , the Bluetooth chip 101 and Bluetooth device 1 are disconnected, and accordingly, the Bluetooth device 1 and display screen 103 are also unbound. For example, see Scenario 8 above. In another embodiment, when the judgment result of S304 is negative, SoC 102 may determine that the Bluetooth chip 101 and Bluetooth device 2 can establish a Bluetooth connection, but Bluetooth device 2 cannot be used. For example, see Scenario 9 above.
[0289] Not limited to the process shown in Figure 13 above, in another embodiment, before the electronic device 100 receives a user operation for triggering the connection of a new Bluetooth device, there may be more Bluetooth devices that have a connection relationship with the Bluetooth chip 101. Specific scenario examples can be found in Figures 7 and 9, and this embodiment of the present application is not limited to this.
[0290] In the method shown in Figure 13, the display screen 103 and the display screen 104 share a Bluetooth chip 101. When the electronic device 100 receives a user operation for triggering the display screen 104 to bind to the Bluetooth device 2, it is necessary to first determine whether the current connection path of the Bluetooth chip 101 (including the current connection path of the display screen 103 and the current connection path of the display screen 104) is less than N, that is, to determine whether the Bluetooth chip 101 can support the addition of a new connection path. When the judgment result is yes, the Bluetooth chip 101 will add a new connection path (for example, Bluetooth device 1), thereby ensuring that the Bluetooth chip 101 can normally support the connection paths of the display screen 103 and the display screen 104, that is, the display screen 103 and the display screen 104 can both connect and communicate normally with the bound Bluetooth device, avoiding the situation where the connection paths of other display screens are abnormal when adding a new connection path, and the Bluetooth function cannot be used normally, thereby effectively improving the user experience.
[0291] The processes shown in Figures 11 to 13 are explained by taking the example that after the display screen and the Bluetooth device have a binding relationship, the Bluetooth chip 101 can communicate with the Bluetooth device. In other embodiments, before the display screen communicates with the bound Bluetooth device, the electronic device 100 can first determine whether the current communication path of the Bluetooth chip 101 is less than P, and determine whether the display screen can communicate with the bound Bluetooth device through the Bluetooth chip 101 based on the judgment result. Specific examples can be seen in Figure 14 below.
[0292] Please refer to Figure 14, which is a flowchart of a Bluetooth communication process provided in an embodiment of the present application.
[0293] FIG14 illustrates the following scenario: Bluetooth chip 101 is connected to Bluetooth device 1, Bluetooth device 2, and Bluetooth device 3. Display screen 103 is bound to Bluetooth device 1 and Bluetooth device 2, and display screen 104 is bound to Bluetooth device 3. An example of the process of establishing a connection and binding relationship between electronic device 100 and any Bluetooth device can be seen in FIG11 .
[0294] The process may include but is not limited to the following steps:
[0295] S401: When the electronic device 100 receives a user operation on the display screen 104 (for triggering communication with the Bluetooth device 3), the SoC 102 determines whether the existing communication path is less than P.
[0296] In one embodiment, SoC 102 can, in response to the user operation on display screen 104, determine whether the current communication paths of Bluetooth chip 101 (i.e., the number of Bluetooth devices that are connected and transmitting data) are less than the maximum communication paths (i.e., P) supported by Bluetooth chip 101. In one case (i.e., case A shown in FIG14 ), when the determination result is yes, SoC 102 determines that a new communication path can be added, for example, executing S402. In another case (i.e., case B shown in FIG14 ), when the determination result is no, SoC 102 determines that a new communication path cannot be added, for example, executing S403-S404.
[0297] S402 : When the existing communication path is smaller than P, the display screen 104 communicates with the Bluetooth device 3 via the Bluetooth chip 101 .
[0298] In one embodiment, when the existing communication path is less than P, the display screen 103 can communicate with the Bluetooth device 3 via the Bluetooth chip 101 to implement services of the display screen 103 .
[0299] In some examples, assuming that P is 2, before S401, the existing communication path may be 0, that is, the display screen 103 does not communicate with the bound Bluetooth device 1 and Bluetooth device 2 through the Bluetooth chip 101. Not limited to this, in other examples, before S401, the existing communication path may be 1, that is, the display screen 103 is communicating with the bound Bluetooth device 1 or Bluetooth device 2 through the Bluetooth chip 101. For specific examples, please refer to the scenario shown in Figure 7 above.
[0300] S403 : When the existing communication path is greater than or equal to P, the SoC 102 sends a corresponding notification to the display screen 104 .
[0301] In one embodiment, the display screen 104 may obtain information that the Bluetooth chip 101 cannot communicate with the Bluetooth device 3 based on the notification sent by the SoC 102 . Optionally, a prompt message may be displayed at this time, for example, S404 is executed.
[0302] S404: The display screen 104 displays a prompt message (the prompt message indicates, for example, that the current communication path has reached its maximum and communication with the Bluetooth device 3 is impossible).
[0303] S404 is an optional step.
[0304] Not limited to the judgment shown in S401 of Figure 14, in another embodiment, the electronic device 100 will also determine whether to add a new communication path based on the capabilities of the Bluetooth chip 101 (specifically, the ability to support simultaneous data transmission), the type of data to be transmitted (i.e., the type of business data of the display screen 104, which can also be understood as the business type of the Bluetooth device 3 to be communicated), the number of Bluetooth devices currently transmitting data through the Bluetooth chip 101 (i.e., the existing communication paths of the Bluetooth chip 101), and the type of data currently transmitted through the Bluetooth chip 101 (which can also be understood as the business type of the Bluetooth device currently communicating data through the Bluetooth chip 101). Among them, the example of the capabilities of the Bluetooth chip 101 is similar to the above-mentioned Case 1, Case 2, and Case 3. For scenario examples, please refer to the above-mentioned scenario 10, which is not limited to this. For example, there are scenarios similar to scenarios 1 to 9.
[0305] In the method shown in Figure 14, the display screen 103 and the display screen 104 share a Bluetooth chip 101. When the electronic device 100 receives a user operation for triggering the addition of a new communication path, it is necessary to first determine whether the current communication path of the Bluetooth chip 101 (including the current communication path of the display screen 103 and the current communication path of the display screen 104) is less than P, that is, to determine whether the Bluetooth chip 101 can support the addition of a new communication path. When the judgment result is yes, the Bluetooth chip 101 will add a new communication path (such as Bluetooth device 3), thereby ensuring that the Bluetooth chip 101 can normally support the communication paths of the display screen 103 and the display screen 104, so that the display screen 103 and the display screen 104 can both transmit data normally with the bound Bluetooth device, avoiding the situation where the communication paths of other display screens are abnormal when adding a new communication path, and the Bluetooth function cannot be used normally, thereby effectively improving the user experience.
[0306] Please refer to Figure 15, which is a flowchart of a process for deleting a Bluetooth device provided in an embodiment of the present application.
[0307] FIG15 illustrates an example in which the Bluetooth chip 101 and the Bluetooth device 1 are connected, and the display screen 103 and the Bluetooth device 1 are bound. For example, the process shown in FIG11 is executed before FIG15 .
[0308] The process may include but is not limited to the following steps:
[0309] S501: When the electronic device 100 receives a user operation on the display screen 104 (for triggering the deletion of a Bluetooth device), the SoC 102 determines whether the Bluetooth device 1 is currently in use.
[0310] In one embodiment, SoC102 can respond to the above-mentioned user operation acting on the display screen 104 to determine whether the Bluetooth device 1 is currently used by the bound display screen 103 (for example, whether the display screen 103 transmits business data with the Bluetooth device 1). In some examples, assuming that the Bluetooth device 1 is a "CCC Bluetooth headset", the above-mentioned user operation acting on the display screen 104 may include: an operation of canceling the pairing control in the setting interface of the Bluetooth device 1 displayed on the display screen 104, and the setting interface of the Bluetooth device 1 is similar to the user interface 1010 shown in Figure 10 (wherein option 1013 is a cancel pairing control). In one case (i.e., case C shown in Figure 15), when the judgment result is yes, SoC102 determines that the Bluetooth device 1 cannot be deleted, for example, executing S502-S503. In another case (i.e., case D shown in Figure 15), when the judgment result is no, SoC102 determines to delete the Bluetooth device 1, for example, executing S504-S510.
[0311] S502 : When the display screen 103 is using the Bluetooth device 1 , the SoC 102 sends a notification to the display screen 104 that the Bluetooth device 1 cannot be deleted.
[0312] In one embodiment, the display screen 104 may obtain, based on the notification sent by the SoC 102 , that the Bluetooth device 1 cannot be deleted currently. Optionally, a prompt message may be displayed at this time, for example, executing S503 .
[0313] S503: The display screen 104 displays a prompt message (the prompt message indicates, for example, that the Bluetooth device 1 is being used and cannot be deleted).
[0314] S503 is an optional step.
[0315] S504 : When the Bluetooth device 1 is not in use, the pairing between the Bluetooth chip 101 and the Bluetooth device 1 is canceled.
[0316] S505: When the pairing between the Bluetooth chip 101 and the Bluetooth device is successfully canceled, the Bluetooth chip 101 notifies the SoC 102 that the pairing with the Bluetooth device 1 has been canceled, so that the SoC 102 notifies the display screen 103 and the display screen 104 that the pairing with the Bluetooth device 1 has been canceled (for example, S507 and S508).
[0317] S506: SoC102 updates the binding relationship between the display screen and the Bluetooth device.
[0318] In one embodiment, after receiving the notification sent by the Bluetooth chip 101 , the SoC 102 may delete the binding relationship related to the Bluetooth device 1 , that is, delete the binding relationship between the display screen 103 and the Bluetooth device 1 .
[0319] S507 : The SoC 102 notifies the display screen 103 that the pairing with the Bluetooth device 1 has been cancelled.
[0320] S508 : The SoC 102 notifies the display screen 104 that the pairing with the Bluetooth device 1 has been cancelled.
[0321] The order of S506, S507, and S508 is not limited.
[0322] S509: The display screen 103 displays the Bluetooth setting interface (excluding the Bluetooth device 1 in the paired state).
[0323] S509 is an optional step.
[0324] In one embodiment, after the display screen 103 receives the notification sent by the SoC102, it can obtain that the pairing with the Bluetooth device 1 has been canceled. Therefore, when the Bluetooth setting interface is displayed, the Bluetooth device 1 may not be displayed, or although the Bluetooth device 1 is displayed, the Bluetooth device 1 is not in a paired state.
[0325] S510: The display screen 104 displays the Bluetooth setting interface (excluding the Bluetooth device 1 in the paired state).
[0326] S510 is an optional step.
[0327] The descriptions of S510 and S509 are similar and will not be repeated here.
[0328] In some examples, the scenario of the process shown in FIG15 is the above-mentioned scenario 12.
[0329] In the method shown in FIG15 , the display screen 103 and the display screen 104 share a Bluetooth chip 101. The user can trigger the deletion of the Bluetooth device 1 bound to the display screen 103 on the display screen 104. That is, each screen of the electronic device 100 provides the function of deleting the paired Bluetooth device (including the Bluetooth device bound to other screens), and the user operation is more flexible. In addition, in response to the user operation, the electronic device 100 needs to first determine whether the Bluetooth device 1 is currently in use. If the judgment result is yes, the Bluetooth device 1 will not be deleted. If the judgment result is no, the Bluetooth device 1 will be deleted. This avoids the Bluetooth device 1 from being accidentally deleted when in use, resulting in a bad experience for the user A using the display screen 103. The function of deleting the Bluetooth device is more intelligent and improves the user experience.
[0330] Without being limited to the process shown in FIG15 , in other embodiments, the determination in S501 may be replaced by determining whether Bluetooth device 1 is currently bound to a screen other than display screen 104. If the determination result is yes, SoC 102 determines that Bluetooth device 1 cannot be deleted, and the execution process is similar to S502-S503. If the determination result is no, SoC 102 determines that Bluetooth device 1 cannot be deleted, and the execution process is similar to S504-S510. For example scenarios, see Scenarios 13 and 14 above.
[0331] The above implementation manner is described by taking deleting a Bluetooth device as canceling pairing with the Bluetooth device as an example. In another implementation manner, deleting a Bluetooth device may also be canceling the connection with the Bluetooth device without canceling the pairing. The specific description is similar to that of the above implementation manner and will not be repeated here.
[0332] The above embodiments are described using Bluetooth communication technology as an example. The embodiments of the present application can also be applied to other short-range communication technologies, such as Wi-Fi, NFC, IR, GNSS, SLE, SLB, etc., and the embodiments of the present application are not limited to this.
[0333] The methods provided in the various embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)). As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit the same. Although the present application has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments may be modified, or some of the technical features thereof may be replaced by equivalents. However, such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A short-range communication method, characterized in that: Applied to an electronic device, the electronic device comprises a short-range communication chip, a first display screen and a second display screen, the first display screen and the second display screen both correspond to the short-range communication chip, the method comprises: receiving a first operation applied to the first display screen; In response to the first operation, establishing a connection with a first communication device through the short-range communication chip, and binding the first display screen with the first communication device; A first interface is displayed on the first display screen, and a second interface is displayed on the second display screen, wherein the first interface includes the first communication device in a paired state, and the first communication device in the first interface is highlighted, and the second interface includes the first communication device in a paired state, and the first communication device in the second interface is not highlighted.
2. The method according to claim 1, characterized in that The first interface and the second interface are settings interfaces for a short-range communication function.
3. The method according to claim 1 or 2, characterized in that Before receiving the first operation acting on the first display screen, the method further includes: The first communication device is scanned through the short-range communication chip, a third interface is displayed on the first display screen, and a fourth interface is displayed on the second display screen; wherein the third interface includes the first communication device in an unpaired state, the fourth interface includes the first communication device in an unpaired state, and the first operation is an operation acting on the first communication device in the third interface.
4. The method according to any one of claims 1 to 3, characterized in that: The highlighting method includes at least one of the following: highlighting, bold font display, italic font display, underline, background texture, borders around characters, font color different from the font color of other texts, font type different from the font type of other texts, and font size different from the font size of other texts.
5. The method according to any one of claims 1 to 4, characterized in that: The first interface includes first prompt information, and / or the second interface includes second prompt information, wherein: The first prompt information indicates that the first communication device is connected to the electronic device, and / or the first prompt information indicates that the first communication device is bound to the first display screen; The second prompt information indicates that the first communication device is connected to the electronic device, and / or the second prompt information indicates that the first communication device is bound to the first display screen.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: receiving a second operation acting on the first communication device in the second interface; In response to the second operation, canceling the binding between the first display screen and the first communication device, and canceling the binding between the second display screen and the first communication device; A fifth interface is displayed on the first display screen, and a sixth interface is displayed on the second display screen, wherein the fifth interface includes the first communication device in a paired state, and the first communication device in the fifth interface is not highlighted, and the sixth interface includes the first communication device in a paired state, and the first communication device in the sixth interface is highlighted.
7. The method according to any one of claims 1 to 6, characterized in that: The number of communication devices supported by the short-range communication chip for connection is N, where N is an integer greater than 1; the method further includes: When the short-range communication chip establishes a connection with S communication devices, receiving a third operation acting on the first display screen, wherein the third operation is used to trigger connection with a second communication device, the second communication device is different from the S communication devices, and S is a positive integer less than N; In response to the third operation, determining whether (S+1) is less than or equal to N; When (S+1) is less than or equal to N, a connection is established between the short-range communication chip and the second communication device, and the first display screen and the second communication device are bound.
8. The method according to claim 7, characterized in that The method further comprises: When (S+1) is greater than N, a third prompt message is displayed on the first display screen, wherein the third prompt message indicates that the second communication device cannot be connected; or, When (S+1) is greater than N, the short-range communication chip and the third communication device among the S communication devices cancel the connection, and ... The short-range communication chip establishes a connection with the second communication device, and binds the first display screen with the second communication device; or, When (S+1) is greater than N, a connection is established between the short-range communication chip and the second communication device, and the first display screen and the second communication device are bound together, and the second communication device bound to the first display screen is in an unusable state.
9. The method according to claim 7 or 8, characterized in that The number of communication devices for audio services connected supported by the short-range communication chip is N, and the S communication devices and the second communication device both correspond to audio services.
10. The method according to claim 7 or 8, characterized in that The number of communication devices of the audio service connected to the short-range communication chip is N; and the determining whether (S+1) is less than or equal to N includes: When the S communication devices and the third communication device both correspond to audio services, determining whether (S+1) is less than or equal to N; The method further comprises: When the S communication devices correspond to audio services and the third communication device corresponds to services other than audio services, in response to the third operation, a connection is established between the short-range communication chip and the third communication device, and the first display screen is bound to the third communication device.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: receiving a fourth operation acting on a fourth communication device in the second interface; In response to the fourth operation, establishing a connection with the fourth communication device through the short-range communication chip, and binding the fourth communication device through the second display screen; A seventh interface is displayed on the first display screen, and an eighth interface is displayed on the second display screen, the seventh interface includes the first communication device and the fourth communication device in a paired state, the first communication device in the seventh interface is highlighted, and the fourth communication device in the seventh interface is not highlighted, and the eighth interface includes the first communication device and the fourth communication device in a paired state, the first communication device in the eighth interface is not highlighted, and the fourth communication device in the eighth interface is highlighted.
12. The method according to any one of claims 1 to 10, characterized in that: The first interface includes first prompt information, the first prompt information indicating that the first communication device is connected to the electronic device, and indicating that the first communication device is bound to the first display screen; The method further comprises: receiving a fifth operation acting on a fifth communication device in the first interface; In response to the fifth operation, the short-range communication chip and the first communication device are disconnected, a connection is established between the short-range communication chip and the fifth communication device, and the first display screen is bound to the fifth communication device; A ninth interface is displayed on the first display screen, the ninth interface including the first communication device and the fifth communication device in a paired state, the first communication device in the ninth interface is not highlighted, the ninth interface does not include the first prompt information, the fifth communication device in the ninth interface is highlighted, the ninth interface includes fourth prompt information, the fourth prompt information indicates that the fifth communication device is connected to the electronic device, and indicates that the fifth communication device is bound to the first display screen.
13. The method according to any one of claims 1 to 10, characterized in that: The first interface includes first prompt information, the first prompt information indicating that the first communication device is connected to the electronic device, and indicating that the first communication device is bound to the first display screen; The method further comprises: receiving a sixth operation acting on a sixth communication device in the first interface; In response to the sixth operation, establishing a connection with the sixth communication device through the short-range communication chip, and binding the first display screen with the sixth communication device; A tenth interface is displayed on the first display screen, the tenth interface includes the first communication device and the sixth communication device in a paired state, the first communication device and the sixth communication device in the tenth interface are highlighted, the tenth interface includes the first prompt information and the fifth prompt information, the fifth prompt information indicates that the sixth communication device is connected to the electronic device, and indicates that the sixth communication device is bound to the first display screen.
14. The method according to claim 13, characterized in that The step of establishing a connection with the sixth communication device through the short-range communication chip and binding the sixth communication device through the first display screen includes: When the multi-device connection function of the first communication device is turned on, a connection is established with the sixth communication device through the short-range communication chip, and the first display screen is bound with the sixth communication device; The method further comprises: When the multi-device connection function of the first communication device is turned off, the short-range communication chip and the first communication device are disconnected, a connection is established with the sixth communication device through the short-range communication chip, and the first display screen is bound with the sixth communication device; or, When the multi-device connection function of the first communication device is turned off, a sixth prompt message is displayed on the first display screen, and the sixth prompt message indicates that the sixth communication device cannot be connected.
15. The method according to any one of claims 1 to 14, characterized in that: The method further comprises: The first display screen communicates with the first communication device via the short-range communication chip.
16. The method according to any one of claims 1 to 15, characterized in that: The number of communication devices supported by the short-range communication chip is P, where P is a positive integer; the method further includes: When the electronic device communicates with T communication devices through the short-range communication chip, receiving a seventh operation acting on the first display screen, the seventh operation is used to trigger the use of the first communication device, the first communication device is different from the T communication devices, and T is a positive integer less than P; In response to the seventh operation, determining whether (T+1) is less than or equal to P; When (T+1) is less than or equal to P, the first display screen communicates with the first communication device through the short-range communication chip; When (T+1) is greater than P, seventh prompt information is displayed on the first display screen, and the seventh prompt information indicates that the first communication device cannot be used.
17. The method according to claim 16, characterized in that The number of communication devices supported by the short-distance communication chip for transmitting audio data is P; and the determining whether (T+1) is less than or equal to P includes: When the T communication devices and the first communication device both correspond to audio services, determining whether (T+1) is less than or equal to P; The method further comprises: When the T communication devices correspond to audio services and the first communication device corresponds to services other than audio services, in response to the seventh operation, the first display screen communicates with the first communication device through the short-range communication chip.
18. The method according to any one of claims 1 to 17, characterized in that: The method further comprises: receiving an eighth operation acting on the second display screen, wherein the eighth operation is used to trigger deletion of the first communication device; In response to the eighth operation, determining whether the first display screen communicates with the first communication device through the short-range communication chip; When the first display screen communicates with the first communication device through the short-range communication chip, an eighth prompt message is displayed on the second display screen, wherein the eighth prompt message indicates that the first communication device cannot be deleted; When the first display screen does not communicate with the first communication device through the short-range communication chip, the short-range communication chip and the first communication device are unpaired.
19. The method according to any one of claims 1 to 17, characterized in that: The method further comprises: receiving a ninth operation acting on the second display screen, wherein the ninth operation is used to trigger deletion of the first communication device; In response to the ninth operation, determining whether to bind the first display screen and the first communication device; When the first display screen and the first communication device are bound, a ninth prompt message is displayed on the second display screen, wherein the ninth prompt message indicates that the first communication device cannot be deleted; When the first display screen and the first communication device are not bound, the short-range communication chip and the first communication device are unpaired.
20. The method according to any one of claims 1 to 19, characterized in that The method further comprises: The short-range communication chip and the first communication device are disconnected; When the connection is established with the first communication device through the short-range communication chip, the first display screen is bound with the first communication device.
21. The method according to any one of claims 1 to 19, characterized in that: The method further comprises: The short-range communication chip and the first communication device are disconnected; When the connection is established between the short-range communication chip and the first communication device, the electronic device is bound to the first communication device through a preset display screen, where the preset display screen is the first display screen or the second display screen.
22. The method according to any one of claims 1 to 19, characterized in that: The method further comprises: The short-range communication chip and the first communication device are disconnected; When establishing a connection with the first communication device through the short-range communication chip, detecting the area where the first communication device is located; When the first communication device is located in the area of the first display screen, binding the first communication device with the first display screen; When the first communication device is located in the area of the second display screen, the second display screen is bound to the first communication device.
23. The method according to any one of claims 1 to 22, characterized in that The electronic device includes a first user space and a second user space, the first user space corresponds to the first display screen, and the second user space corresponds to the second display screen.
24. The method according to any one of claims 1 to 23, characterized in that The electronic device is a vehicle or a vehicle-mounted device, the first display screen is a co-pilot screen, and the second display screen is a rear screen.
25. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 1 to 24.
26. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 24 is implemented.
Citation Information
Patent Citations
Short-range communication method, electronic device, and computer storage medium
CN119450420B
Multi-screen equipment control method and communication system
CN114840156A
Screen projection method and device, equipment and storage medium
CN116009807A
Vehicle interaction control method and device, vehicle and storage medium
CN116185322A
Double-screen display industrial vehicle-mounted computer
CN217213686U