Control method, device, electronic device and storage medium

By adopting a dual-system architecture in wearable devices, using high-performance and low-performance processors to run Bluetooth applications separately, and switching modes according to the device status, the problem of not being able to take into account high performance and low power consumption in the prior art is solved, and a better user experience is achieved.

CN115484577BActive Publication Date: 2025-08-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110661501.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-15
Publication Date
2025-08-12
Estimated Expiration
2041-06-15

AI Technical Summary

Technical Problem

Existing wearable devices cannot take into account both high-performance and low-power Bluetooth capabilities, resulting in waste of resources.

Method used

Using a dual-system architecture, high-performance processors and low-performance processors are used to run different Bluetooth applications separately, switching modes according to device status to achieve high-performance or low-power Bluetooth functions.

Benefits of technology

It realizes Bluetooth functions that take into account both high performance and low power consumption in different scenarios, providing a better user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484577B_ABST
    Figure CN115484577B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method, apparatus, electronic device, and storage medium. The method is applied to a wearable device, the wearable device comprising a first processor and a second processor, the first processor being configured to run a first system and the second processor being configured to run a second system. The method comprises: in response to a Bluetooth startup instruction, in a first state, the first system launching a first Bluetooth application; the first Bluetooth application supporting a first service; the second system launching a second Bluetooth application; the second Bluetooth application supporting a second service; in a second state, the first system launching the first Bluetooth application; the first Bluetooth application supporting the first service; or, in a second state, the second system launching a third Bluetooth application; the third Bluetooth application supporting both the first service and the second service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Bluetooth technology, and in particular to a control method, device, electronic equipment and storage medium. Background Art

[0002] At present, with the rapid development of wearable technology, the functions integrated into wearable devices are becoming more and more powerful. For example, wearable devices can integrate Bluetooth functions, so that they can realize Bluetooth communication with mobile terminals. Usually, wearable devices have a single processor, such as a high-performance central processing unit (CPU) or a microcontroller unit (MCU). The high-performance CPU can support more Bluetooth services that require high processing performance, but its power consumption is high. The microcontroller unit can only support some Bluetooth services that do not require high processing power, but its power consumption is low. Existing wearable devices cannot provide Bluetooth functions that take into account both high performance and low power consumption according to actual conditions. Summary of the Invention

[0003] In view of this, embodiments of the present invention are intended to provide a control method, device, electronic device, and storage medium.

[0004] The technical solution of the present invention is achieved as follows:

[0005] An embodiment of the present invention provides a control method applied to a wearable device, wherein the wearable device includes a first processor and a second processor, wherein the first processor is configured to run a first system and the second processor is configured to run a second system; the method includes:

[0006] In response to a Bluetooth activation instruction, in a first state, the first system activates a first Bluetooth application; the first Bluetooth application supports a first service; the second system activates a second Bluetooth application; the second Bluetooth application supports a second service;

[0007] In the second state, the first system starts the first Bluetooth application; the first Bluetooth application supports the first service; or, in the second state, the second system starts a third Bluetooth application; the third Bluetooth application supports the first service and the second service.

[0008] In the above solution, the step of responding to the Bluetooth activation instruction includes:

[0009] The second system receives a Bluetooth activation instruction, wherein the Bluetooth activation instruction is used to instruct to activate the Bluetooth chip; and sends the first instruction to the first system;

[0010] The first system receives the Bluetooth activation instruction; responds to the Bluetooth activation instruction, and activates the Bluetooth chip.

[0011] In the above solution, the method further includes:

[0012] The first system receives Bluetooth data and processes the Bluetooth data based on a current state.

[0013] In the above solution, processing the Bluetooth data based on the current state includes:

[0014] When the wearable device is in the second state, the first system processes the Bluetooth data;

[0015] or,

[0016] When the wearable device is in the second state, the first system forwards the Bluetooth data to the second system, and the second system processes the Bluetooth data;

[0017] or,

[0018] When the wearable device is in the first state, the first system forwards the Bluetooth data to a routing module on the first processor, and the routing module determines a system for processing the Bluetooth data.

[0019] In the above solution, the system for processing the Bluetooth data determined by the routing module includes:

[0020] If the Bluetooth data is data related to the first service, sending the Bluetooth data to the first system;

[0021] If the Bluetooth data is data related to the second service, the Bluetooth data is sent to the second system.

[0022] In the above solution, the method further includes:

[0023] When the first system is in operation and the second system is in sleep mode, if the routing module determines that the Bluetooth data is data related to the second service, the first system wakes up the second system so that the second system processes the Bluetooth data.

[0024] In the above solution, the wearable device includes a standard mode, a high performance mode and a low power consumption mode;

[0025] In the first state, the wearable device is in a standard mode; in the second state, the wearable device is in a high-performance mode or a low-power consumption mode.

[0026] In the above solution, in the first state, the wearable device is in a standard mode, including:

[0027] In the second state, the wearable device receives a first instruction; the first instruction is used to instruct switching to the standard mode; the wearable device responds to the first instruction and switches to the standard mode;

[0028] In the second state, the wearable device is in a high-performance mode or a low-power consumption mode, including:

[0029] In the first state, the wearable device receives a second instruction; the second instruction is used to instruct switching to a high-performance mode; the wearable device responds to the second instruction and switches to the high-performance mode;

[0030] or,

[0031] In the first state, the wearable device receives a third instruction; the third instruction is used to instruct switching to a low power consumption mode; the wearable device responds to the third instruction and switches to the low power consumption mode.

[0032] In the above solution, the second processor has a higher performance level requirement than the first processor; the first processor has a higher power consumption level requirement than the second processor.

[0033] An embodiment of the present invention provides a control device for a wearable device, wherein the wearable device includes a first processor and a second processor, wherein the first processor is configured to run a first system and the second processor is configured to run a second system. The device includes:

[0034] A first processing unit is configured to, in response to a Bluetooth activation instruction, activate a first Bluetooth application in a first state; the first Bluetooth application supports a first service; and activate a second Bluetooth application; the second Bluetooth application supports a second service;

[0035] The second processing unit is configured to start the first Bluetooth application in the second state; the first Bluetooth application supports the first service; or, in the second state, start a third Bluetooth application; the third Bluetooth application supports the first service and the second service.

[0036] An embodiment of the present invention provides an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor.

[0037] Wherein, when the processor is used to run the computer program, the steps of any of the above methods are implemented when executing the program.

[0038] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0039] The control method, apparatus, electronic device, and storage medium provided in embodiments of the present invention are applied to a wearable device, the wearable device comprising a first processor and a second processor, the first processor being configured to run a first system and the second processor being configured to run a second system. The method comprises: in response to a Bluetooth activation instruction, in a first state, the first system activating a first Bluetooth application, the first Bluetooth application supporting a first service; the second system activating a second Bluetooth application, the second Bluetooth application supporting a second service; in a second state, the first system activating the first Bluetooth application, the first Bluetooth application supporting the first service; or, in a second state, the second system activating a third Bluetooth application, the third Bluetooth application supporting both the first service and the second service. By adopting the technical solutions of the embodiments of the present invention, the wearable device has dual-system Bluetooth functionality and can determine, based on the current state, whether the first system or the second system is executing the Bluetooth application, or whether both the first system and the second system are executing Bluetooth applications. Because the services supported by the first Bluetooth application activated by the first system and the services supported by the second Bluetooth application activated by the second system are different, the wearable device can provide Bluetooth functionality that balances high performance and low power consumption according to actual conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of a Bluetooth solution in the related art;

[0041] Figure 2 This is a schematic diagram of another Bluetooth solution in the related art;

[0042] Figure 3a This is a schematic diagram of a system architecture for applying the control method provided by an embodiment of the present invention;

[0043] Figure 3b This is another system architecture diagram for applying the control method provided in an embodiment of the present invention;

[0044] Figure 4 Schematic diagram of the implementation flow of the control method according to an embodiment of the present invention;

[0045] Figure 5 The specific implementation process of the control method of the embodiment of the present invention is shown as follows Figure 1 ;

[0046] Figure 6 This is a schematic diagram of the connection structure between the first processor and the second processor according to an embodiment of the present invention;

[0047] Figure 7 This is a schematic diagram of a wearable device implementing a first Bluetooth application function according to an embodiment of the present invention;

[0048] Figure 8 This is a schematic diagram of a wearable device implementing a second Bluetooth application function according to an embodiment of the present invention;

[0049] Figure 9 The specific implementation process of the control method of the embodiment of the present invention is shown as follows Figure 2 ;

[0050] Figure 10 Schematic diagram 3 of a specific implementation flow of the control method according to an embodiment of the present invention;

[0051] Figure 11 A schematic diagram showing an operating mode displayed on a display interface of a wearable device according to an embodiment of the present invention;

[0052] Figure 12 This is a schematic diagram of the implementation process of sending and receiving Bluetooth data by a wearable device according to an embodiment of the present invention;

[0053] Figure 13 Schematic diagram of the structure of the control device according to an embodiment of the present invention;

[0054] Figure 14 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0055] Before describing the technical solutions of the embodiments of the present invention in detail, the relevant technologies are first introduced.

[0056] In related technologies, the dual-core system architecture supported by mainstream wearable devices is divided into high-performance processors (such as Qualcomm platform Snapdragon processors) and low-performance processors (such as MCU processors). The high-performance processor runs the Android system, and the low-performance processor runs the real-time operating system (RTOS). There are two existing dual-core systems and Bluetooth solutions. The first solution, such as Figure 1 As shown in the figure, the Bluetooth chip is mounted on a high-performance processor, and the Bluetooth application runs on the high-performance processor to provide a high-performance user experience. Figure 2 As shown in Figure 1, the Bluetooth chip is attached to a low-performance processor, and the Bluetooth application runs on the low-performance processor to provide a low-power user experience. However, high performance and low power consumption cannot be achieved at the same time.

[0057] To summarize, for the first solution, the Bluetooth chip is attached to a high-performance processor, which can fully utilize the high-performance characteristics of the high-performance processor, but it will result in increased power consumption. In the scenario of receiving message notifications from a mobile phone, more consideration is given to energy consumption rather than performance. For the second solution, the Bluetooth chip is attached to a low-performance processor, which can fully utilize the low-power characteristics of the low-performance processor, but the performance is relatively weak. In scenarios such as downloading APPs and upgrading with Over the Air Technology (OTA), the low-performance processor will appear to have very low performance. In existing dual-core devices, it is not possible to utilize both the high performance of a high-performance processor and the low power consumption of a low-performance processor at the same time. Only one of the two can be chosen, resulting in a waste of resources.

[0058] Based on this, in various embodiments of the present invention, the wearable device includes a first processor and a second processor; the first processor is used to run a first system, and the second processor is used to run a second system; in response to a Bluetooth startup instruction, in a first state, the first system starts a first Bluetooth application; the first Bluetooth application supports a first service; the second system starts a second Bluetooth application; the second Bluetooth application supports a second service; in a second state, the first system starts the first Bluetooth application; the first Bluetooth application supports the first service; or, in the second state, the second system starts a third Bluetooth application; the third Bluetooth application supports the first service and the second service.

[0059] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0060] Take the Bluetooth chip mounted on a low-performance processor as an example to illustrate. Figure 3a This is a schematic diagram of a system architecture for applying the control method provided by an embodiment of the present invention. Figure 3a As shown, the system includes:

[0061] The Bluetooth chip is mounted on the first processor.

[0062] The first processor is configured to run the first system.

[0063] The second processor is used to run the second system.

[0064] It is understood that the first processor may refer to a low-performance processor, i.e., a single-chip microcomputer with a relatively low-level chip, supporting simple functions, with the advantage of extremely low power consumption, serving battery life. The second processor may refer to a high-performance processor, i.e., a processor with a more advanced chip, richer functional modules, and stronger processing power, serving functions.

[0065] That is, the second processor has a higher performance level requirement than the first processor; and the first processor has a higher power consumption level requirement than the second processor.

[0066] Take the Bluetooth chip mounted on a high-performance processor as an example to illustrate. Figure 3b This is another system architecture diagram of the control method provided by the embodiment of the present invention. Figure 3b As shown, the system includes:

[0067] The Bluetooth chip is mounted on the second processor.

[0068] The first processor is configured to run the first system.

[0069] The second processor is used to run the second system.

[0070] It is understandable that wearable devices use a dual-system architecture, that is, a hardware architecture based on two processor chips. Each processor runs an independent operating system, and the two systems interact with each other to complete the Bluetooth function of the wearable device.

[0071] Figure 4 Schematic diagram of the implementation flow of the control method of an embodiment of the present invention, the control method is applied to a wearable device; the wearable device includes a first processor and a second processor, the first processor is used to run a first system, and the second processor is used to run a second system; Figure 4 As shown, the method includes steps 401 to 402:

[0072] Step 401: In response to a Bluetooth activation instruction, in a first state, the first system activates a first Bluetooth application; the first Bluetooth application supports a first service; the second system activates a second Bluetooth application; the second Bluetooth application supports a second service.

[0073] It is understood that the wearable device further includes a Bluetooth chip. The Bluetooth chip can be mounted on the first processor to fully utilize the low power consumption characteristics of the processor, or mounted on the second processor to fully utilize the high performance characteristics of the processor.

[0074] It is understandable that the wearable device may refer to a smart watch, etc.

[0075] It is understandable that the Bluetooth activation instruction may refer to a touch operation instruction of a user received by the wearable device, or may refer to an instruction for calling a Bluetooth function within the system of the wearable device.

[0076] It is understandable that the wearable device can be in the first state or the second state.

[0077] It is understandable that the wearable device may include three modes: standard mode, high performance mode and low power consumption mode.

[0078] Specifically, in the first state, the wearable device operates in a standard mode (also known as a hybrid mode).

[0079] Standard mode means that the Bluetooth application runs on both the high-performance processor (second processor) and the low-performance processor (first processor). In this mode, you can use the first Bluetooth application opened by the first processor to perform the first business (such as receiving message notifications from the mobile phone), or you can use the second Bluetooth application opened by the second processor to perform the second business (such as Bluetooth Internet access, downloading applications and OTA upgrades).

[0080] Step 402: In the second state, the first system starts the first Bluetooth application; the first Bluetooth application supports the first service; or, in the second state, the second system starts a third Bluetooth application; the third Bluetooth application supports the first service and the second service.

[0081] It is understandable that in the second state, the wearable device operates in a high-performance mode or a low-power mode.

[0082] Low power consumption mode means that the Bluetooth application runs on a low-performance processor (first processor). In this mode, the first Bluetooth application opened by the first processor can be used to perform the first service (such as receiving message notifications from the mobile phone, transmitting physiological data, etc.).

[0083] High-performance mode means that the Bluetooth application runs on a high-performance processor (second processor). In this mode, a third Bluetooth application opened by the second processor can be used to perform primary services (such as receiving message notifications from the mobile phone, transmitting physiological data, etc.) and secondary services (such as call forwarding, Bluetooth Internet access, audio playback, downloading applications and OTA upgrades, etc.).

[0084] It is understandable that, depending on the state of the wearable device, the Bluetooth application can run on the second processor (high-performance processor) to meet high performance requirements; the Bluetooth application can also run on the first processor (low-performance processor) to meet low power consumption requirements; of course, according to specific needs, the Bluetooth application can run on the second processor (high-performance processor) and the first processor (low-performance processor) at the same time, thereby making full use of the high performance of the second processor (high-performance processor) and the low power consumption characteristics of the first processor (low-performance processor) to provide a better user experience.

[0085] It should be noted that in an embodiment of the present invention, based on the dual-system Bluetooth sharing solution, the second processor (high-performance processor) and the first processor (low-performance processor) interact with data by calling the remote function device (RPC, Remote Procedure Call), so that the first system can run the Bluetooth application, or the second system can run the Bluetooth application, or both the first system and the second system can run the Bluetooth application, thereby taking into account the requirements of high performance and low power consumption.

[0086] The following embodiments are described by taking the Bluetooth chip mounted on the first processor (low-performance processor) as an example.

[0087] Figure 5 Schematic diagram of a specific implementation flow of the control method according to an embodiment of the present invention; Figure 5 As shown, the method includes steps 501 to 506:

[0088] Step 501: The second system receives a Bluetooth activation instruction; the Bluetooth activation instruction is used to instruct to activate the Bluetooth chip; the second system sends the Bluetooth activation instruction to the first system.

[0089] It is understood that the first system may refer to an operating system running on the first processor (low-performance processor), such as an RTOS system. The second system may refer to an operating system running on the second processor (high-performance processor), such as an Android system.

[0090] It is understandable that the user can trigger the Bluetooth button on the display interface of the wearable device, so that the second system can receive the Bluetooth startup instruction.

[0091] It is understandable that the second processor (high-performance processor) can send the Bluetooth activation instruction to the first processor (low-performance processor) through the "dual-core communication device", such as Figure 6 shown.

[0092] Step 502: The first system receives the Bluetooth activation instruction; responds to the Bluetooth activation instruction, and turns on the Bluetooth chip.

[0093] It can be understood that turning on the Bluetooth chip may refer to the first system initializing the Bluetooth protocol stack.

[0094] Step 503: The first system determines the state of the wearable device; if the wearable device is in the first state, step 504 is executed.

[0095] It can be understood that when the wearable device is in the first state, the wearable device can operate in the standard mode.

[0096] Step 504: The first system opens a first Bluetooth application.

[0097] It can be understood that, the first system opening the first Bluetooth application may refer to the first system initializing the first service corresponding to the first Bluetooth application.

[0098] After the first system opens the first Bluetooth application, the wearable device can use the first Bluetooth application to perform a first service, such as receiving a message notification sent by a mobile phone and displaying the received message notification on a display interface, such as Figure 7 shown.

[0099] Step 505: The second system waits for the first system to turn on the Bluetooth chip, and then determines the state of the wearable device; if the wearable device is in the first state, step 506 is executed.

[0100] Step 506: The second system opens a second Bluetooth application.

[0101] It can be understood that, opening the second Bluetooth application by the second system may refer to the second system initializing the second service corresponding to the second Bluetooth application.

[0102] After the first system opens the second Bluetooth application, the wearable device can use the second Bluetooth application to perform a second service, such as forwarding calls, and display the forwarded call mobile phone number, user name and other information on the display interface, such as Figure 8 shown.

[0103] It is understood that, depending on the state of the wearable device, the wearable device can operate in a corresponding mode. If the wearable device operates in the standard mode, both high performance and low power consumption can be taken into account.

[0104] Figure 9 Schematic diagram of a specific implementation flow of the control method according to an embodiment of the present invention; Figure 9 As shown, the method includes steps 901 to 904:

[0105] Step 901: The second system receives a Bluetooth activation instruction; the Bluetooth activation instruction is used to instruct to activate the Bluetooth chip; the second system sends the Bluetooth activation instruction to the first system.

[0106] Step 902: The first system receives the Bluetooth activation instruction; responds to the Bluetooth activation instruction and turns on the Bluetooth chip.

[0107] It can be understood that turning on the Bluetooth chip may refer to the first system initializing the Bluetooth protocol stack.

[0108] Step 903: The first system determines the state of the wearable device; if the wearable device is in the second state, step 904 is executed.

[0109] It can be understood that when the wearable device is in the second state, the wearable device can operate in a low power consumption mode.

[0110] Step 904: The first system opens a first Bluetooth application.

[0111] It can be understood that, the first system opening the first Bluetooth application may refer to the first system initializing the first service corresponding to the first Bluetooth application.

[0112] It is understood that, depending on the state of the wearable device, the wearable device can operate in a corresponding mode. If the wearable device operates in a low power consumption mode, the experience in power consumption is better.

[0113] Figure 10 Schematic diagram of a specific implementation flow of the control method according to an embodiment of the present invention; Figure 10 As shown, the method includes steps 1001 to 1003:

[0114] Step 1001: The second system receives a Bluetooth activation instruction; the Bluetooth activation instruction is used to instruct to activate the Bluetooth chip; the second system sends the Bluetooth activation instruction to the first system.

[0115] Step 1002: The first system receives the Bluetooth startup instruction; and responds to the Bluetooth startup instruction to turn on the Bluetooth chip; the second system waits for the first system to turn on the Bluetooth chip, and then determines the status of the wearable device; if the wearable device is in the second state, execute step 1003.

[0116] It can be understood that when the wearable device is in the second state, the wearable device can operate in a high-performance mode.

[0117] Step 1003: The second system opens a third Bluetooth application.

[0118] It can be understood that the second system opening the third Bluetooth application may refer to the second system initializing the first service and the second service corresponding to the third Bluetooth application.

[0119] It is understood that, depending on the state of the wearable device, the wearable device can operate in a corresponding mode. If the wearable device operates in a high-performance mode, the performance experience is better.

[0120] It should be noted that if Figure 11As shown, the user can also select a specified mode in the "Mode Management" option displayed on the display interface of the wearable device. In this way, when the wearable device is in the first state, if the first system detects that the current working mode is standard mode, the first system opens the first Bluetooth application; if the second system detects that the current working mode is standard mode, the second system opens the second Bluetooth application. When the wearable device is in the second state, if the first system detects that the current working mode is low power mode, the first system opens the first Bluetooth application. When the wearable device is in the second state, if the second system detects that the current working mode is high performance mode, the second system may open a third Bluetooth application.

[0121] In addition to the user selecting a specified mode in the "Mode Management" option displayed on the display interface of the wearable device, a "Mode Selection" switch can also be displayed on the display interface of the wearable device. In this way, after the user touches the switch corresponding to the corresponding mode, the wearable device can detect the current working mode.

[0122] Specifically, in the second state, the wearable device receives a first instruction; the first instruction is used to instruct switching to the standard mode; the wearable device responds to the first instruction and switches to the standard mode;

[0123] or,

[0124] In the first state, the wearable device receives a second instruction; the second instruction is used to instruct switching to a high-performance mode; the wearable device responds to the second instruction and switches to the high-performance mode;

[0125] or,

[0126] In the first state, the wearable device receives a third instruction; the third instruction is used to instruct switching to a low power consumption mode; the wearable device responds to the third instruction and switches to the low power consumption mode.

[0127] Figure 12 FIG. 1 is a schematic diagram of a wearable device sending and receiving Bluetooth data according to an embodiment of the present invention; FIG. Figure 12 As shown, the method includes steps 1201 to 1205:

[0128] Step 1201: The first system receives Bluetooth data and packages the data.

[0129] It is understandable that the first system in the wearable device is responsible for receiving Bluetooth data through the Bluetooth chip and packaging it. The Bluetooth data may specifically refer to notification messages sent by a mobile terminal such as a mobile phone.

[0130] Step 1202: If the wearable device is in the second state, execute step 1203 or step 1204; if the wearable device is in the first state, execute step 1205.

[0131] Step 1203: The first system processes the Bluetooth data packet and displays it.

[0132] Step 1204: The first system forwards the Bluetooth data packet to the second system, and the second system processes the Bluetooth data packet and displays it.

[0133] Step 1205: The first system forwards the Bluetooth data packet to a routing module on the first processor, so that the routing module determines a system for processing the Bluetooth data packet.

[0134] In one embodiment, when the wearable device is in the first state, the first system forwards the Bluetooth data to a routing module on the first processor. If the routing module determines that the Bluetooth data is data related to the first service, the first system processes the Bluetooth data.

[0135] As a second implementation, when the wearable device is in the first state, the first system forwards the Bluetooth data to a routing module on the first processor. If the routing module determines that the Bluetooth data is data related to the second service, the second system processes the Bluetooth data.

[0136] As a third implementation, when the wearable device is in the first state, the first system forwards the Bluetooth data to the routing module on the first processor. When the first system is in the running state and the second system is in the dormant state, if the routing module determines that the Bluetooth data is data related to the second service, the first system wakes up the second system so that the second system processes the Bluetooth data.

[0137] It is understandable that in high-performance mode, only the second system starts the Bluetooth application. In low-power mode, only the first system starts the Bluetooth application. In this way, after the first processor (low-performance processor) receives Bluetooth data through the Bluetooth chip, the first system can determine whether the data packet is sent to the second system or processed by itself based on the operating mode.

[0138] In standard mode, both the second system and the first system have started Bluetooth applications. After the first processor (low-performance processor) receives a data packet through the Bluetooth chip, the first system cannot determine whether to send it to the second system or process it itself based on the operating mode alone. Therefore, it is necessary to introduce a software module called "routing module" on the first processor. This software module determines whether the system processing the Bluetooth data is the first system or the second system.

[0139] It should be noted that when sending Bluetooth data to a terminal such as a mobile phone, the first processor sends the Bluetooth data through the Bluetooth chip; the second processor sends the Bluetooth data to be sent to the first processor, so that the first processor can send the Bluetooth data.

[0140] By adopting the technical solution of the embodiment of the present invention, the wearable device has a dual-system Bluetooth function, and can determine whether the first system runs the Bluetooth application or the second system runs the Bluetooth application according to the current state of the wearable device, or both the first processor and the second processor run the Bluetooth application, so that the wearable device can provide a high-performance and low-power consumption experience based on actual conditions.

[0141] To implement the control method of an embodiment of the present invention, an embodiment of the present invention further provides a control device, which is arranged on a wearable device. The wearable device includes a first processor and a second processor. The first processor is used to run a first system, and the second processor is used to run a second system. Figure 13 FIG. 1 is a schematic diagram of the structure of the control device according to an embodiment of the present invention; FIG. Figure 13 As shown, the device includes:

[0142] The first processing unit 131 is configured to, in response to a Bluetooth activation instruction, activate a first Bluetooth application in a first state; the first Bluetooth application supports a first service; and activate a second Bluetooth application; the second Bluetooth application supports a second service;

[0143] The second processing unit 132 is configured to start the first Bluetooth application in the second state; the first Bluetooth application supports the first service; or, in the second state, start a third Bluetooth application; the third Bluetooth application supports the first service and the second service.

[0144] In one embodiment, the second processing unit 132 is further configured to receive a Bluetooth activation instruction; the Bluetooth activation instruction is used to instruct to activate the Bluetooth chip; and send the Bluetooth activation instruction to the first processing unit 131;

[0145] The first processing unit 131 is further configured to receive the Bluetooth activation instruction and activate the Bluetooth chip in response to the Bluetooth activation instruction.

[0146] In one embodiment, the first processing unit 131 is further configured to: receive Bluetooth data; and process the Bluetooth data based on a current state.

[0147] In one embodiment, the first processing unit 131 is specifically configured to:

[0148] When the wearable device is in the second state, processing the Bluetooth data;

[0149] or,

[0150] When the wearable device is in the second state, forwarding the Bluetooth data to the second processing unit 132, and having the second processing unit 132 process the Bluetooth data;

[0151] or,

[0152] When the wearable device is in the first state, the Bluetooth data is forwarded to a routing module on the first processor, and the routing module determines a system for processing the Bluetooth data.

[0153] In one embodiment, the routing module is used to send the Bluetooth data to the first processing unit 131 if the Bluetooth data is data related to the first business, and the first processing unit 131 processes the Bluetooth data; if the Bluetooth data is data related to the second business, the routing module is used to send the Bluetooth data to the second processing unit 132, and the second processing unit 132 processes the Bluetooth data.

[0154] The routing module is specifically used to: when the first system is in operation and the second system is in sleep mode, if it is determined that the Bluetooth data is data related to the second service, the first system wakes up the second system so that the second system processes the Bluetooth data.

[0155] In one embodiment, the wearable device includes a standard mode, a high performance mode, and a low power consumption mode;

[0156] In the first state, the wearable device operates in a standard mode; in the second state, the wearable device operates in a high-performance mode or a low-power consumption mode.

[0157] In the first state, the wearable device is in a standard mode, including:

[0158] In the second state, the wearable device receives a first instruction; the first instruction is used to instruct switching to the standard mode; the wearable device responds to the first instruction and switches to the standard mode;

[0159] In the second state, the wearable device is in a high-performance mode or a low-power consumption mode, including:

[0160] In the first state, the wearable device receives a second instruction; the second instruction is used to instruct switching to a high-performance mode; the wearable device responds to the second instruction and switches to the high-performance mode;

[0161] or,

[0162] In the first state, the wearable device receives a third instruction; the third instruction is used to instruct switching to a low power consumption mode; the wearable device responds to the third instruction and switches to the low power consumption mode.

[0163] In one embodiment, the second processor has a higher performance level requirement than the first processor; and the first processor has a higher power consumption level requirement than the second processor.

[0164] In actual application, the first processing unit 131, the second processing unit 132, and the routing module can be implemented by a processor in the device; the processor can be a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU), or a field-programmable gate array (FPGA).

[0165] It should be noted that the control device provided in the above embodiment is only illustrated by the division of the above program modules. In actual application, the above processing can be assigned to different program modules as needed, that is, the internal structure of the terminal can be divided into different program modules to complete all or part of the above-described processing. In addition, the device provided in the above embodiment and the control method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0166] Based on the hardware implementation of the above device, an embodiment of the present invention further provides an electronic device, Figure 14 FIG. 1 is a schematic diagram of the hardware structure of a terminal according to an embodiment of the present invention. Figure 14 As shown, the electronic device 140 includes a memory 143, a processor 142, and a computer program stored in the memory 143 and executable on the processor 142; when the processor 142 executes the program, the method provided by one or more of the above technical solutions is implemented.

[0167] It should be noted that the specific steps implemented when the processor 142 executes the program have been described in detail above and will not be repeated here.

[0168] As will be appreciated, electronic device 140 also includes a communication interface 141 for exchanging information with other devices. Furthermore, the various components within electronic device 140 are coupled together via a bus system 144. As will be appreciated, bus system 144 is configured to facilitate communication between these components. In addition to a data bus, bus system 144 also includes a power bus, a control bus, and a status signal bus.

[0169] It is understood that the memory 143 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk memory or a magnetic tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memories.

[0170] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 142. Processor 142 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits within processor 142 or by software instructions. The above processor 142 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. Processor 142 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software modules may be located in a storage medium located in a memory. Processor 142 reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0171] The embodiments of the present invention further provide a storage medium, specifically a computer storage medium, more specifically a computer-readable storage medium, on which computer instructions, i.e., a computer program, are stored. When the computer instructions are executed by a processor, the method provided by one or more of the above technical solutions is implemented.

[0172] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and intelligent devices can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0173] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0175] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, ROM, RAM, disks or optical disks, etc. Various media that can store program codes.

[0176] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, terminal, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0177] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0178] In addition, the technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.

[0179] The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed by the present invention, which should be covered by the scope of protection of the present invention.

Claims

1. A control method, characterized in that: Applied to a wearable device, the wearable device includes a first processor and a second processor, the first processor is used to run a first system, and the second processor is used to run a second system; The second processor has a higher performance level requirement than the first processor; and the method includes: In response to a Bluetooth activation instruction, in a first state, the first system activates a first Bluetooth application; the first Bluetooth application supports a first service; the second system activates a second Bluetooth application; the second Bluetooth application supports a second service; In the second state, the first system starts the first Bluetooth application; the first Bluetooth application supports the first service; or, in the second state, the second system starts a third Bluetooth application; the third Bluetooth application supports the first service and the second service; wherein the first system receives Bluetooth data; and processes the Bluetooth data based on a current state; Among them, processing the Bluetooth data based on the current state includes: when the wearable device is in the first state, the first system forwards the Bluetooth data to the routing module on the first processor, and the routing module determines the system for processing the Bluetooth data.

2. The method according to claim 1, characterized in that The step of responding to the Bluetooth startup instruction includes: The second system receives a Bluetooth activation instruction, wherein the Bluetooth activation instruction is used to instruct the activation of the Bluetooth chip; and sends the Bluetooth activation instruction to the first system; The first system receives the Bluetooth activation instruction; responds to the Bluetooth activation instruction, and activates the Bluetooth chip.

3. The method according to claim 1, characterized in that The processing of the Bluetooth data based on the current state further includes: When the wearable device is in the second state, the first system processes the Bluetooth data; or, When the wearable device is in the second state, the first system forwards the Bluetooth data to the second system, and the second system processes the Bluetooth data.

4. The method according to claim 1, wherein The system for processing the Bluetooth data determined by the routing module includes: If the Bluetooth data is data related to the first service, sending the Bluetooth data to the first system; If the Bluetooth data is data related to the second service, the Bluetooth data is sent to the second system.

5. The method according to claim 4, characterized in that The method further comprises: When the first system is in operation and the second system is in sleep mode, if the routing module determines that the Bluetooth data is data related to the second service, the first system wakes up the second system so that the second system processes the Bluetooth data.

6. The method according to claim 1, characterized in that The wearable device includes a standard mode, a high performance mode and a low power consumption mode; In the first state, the wearable device operates in a standard mode; in the second state, the wearable device operates in a high-performance mode or a low-power consumption mode.

7. The method according to claim 6, characterized in that In the first state, the wearable device is in a standard mode, including: In the first state, the wearable device receives a first instruction; the first instruction is used to instruct switching to the standard mode; the wearable device responds to the first instruction and switches to the standard mode; Accordingly, in the second state, the wearable device is in a high-performance mode or a low-power consumption mode, including: In the second state, the wearable device receives a second instruction; the second instruction is used to instruct switching to the high-performance mode; the wearable device responds to the second instruction and switches to the high-performance mode; or, In the second state, the wearable device receives a third instruction; the third instruction is used to instruct switching to a low power consumption mode; the wearable device responds to the third instruction and switches to the low power consumption mode.

8. The method according to claim 1, characterized in that The power consumption level requirement of the first processor is higher than the power consumption level requirement of the second processor.

9. A control device, characterized in that: Applied to a wearable device, the wearable device includes a first processor and a second processor, the first processor is used to run a first system, and the second processor is used to run a second system; The second processor has a higher performance level requirement than the first processor; and the apparatus comprises: A first processing unit is configured to, in response to a Bluetooth activation instruction, activate a first Bluetooth application in a first state; the first Bluetooth application supports a first service; and activate a second Bluetooth application; the second Bluetooth application supports a second service; The second processing unit is configured to start the first Bluetooth application in the second state; the first Bluetooth application supports the first service; or, in the second state, start a third Bluetooth application; the third Bluetooth application supports the first service and the second service; The first processing unit is further configured to receive Bluetooth data and process the Bluetooth data based on a current state; The processing of the Bluetooth data based on the current state includes: when the wearable device is in the first state, forwarding the Bluetooth data to a routing module on the first processor, and the routing module determining a system for processing the Bluetooth data.

10. An electronic device, characterized in that: include: a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Low-power consumption intelligent Bluetooth watch

    CN106707735A

  • System switching method and device, electronic equipment and readable storage medium

    CN112492564A