Business data transmission method and related equipment
By establishing multiple Bluetooth logical channels between mobile phones and wearable devices, intelligent decisions are made based on business needs to transmit data to the appropriate main control chip, which solves the problem of insufficient battery life caused by frequent awakening of high-energy-consuming main control chips in wearable devices. Significantly improves the battery life of the device.
Patent Information
- Application Number
- CN202110727498.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-06-29
AI Technical Summary
In wearable devices, frequent awakening of the high-energy-consuming main control chip to process distributed collaborative services leads to the problem of insufficient device life.
By establishing a first Bluetooth logical channel and a second Bluetooth logical channel between the mobile phone and the wearable device, the business data is transmitted to an application processor (AP) with stronger processing capabilities or to an AP with weaker processing capabilities according to the service interaction channel policy. Micro control unit (MCU) to reduce the number of wake-ups of the high-energy-consuming main control chip.
It effectively reduces the number of wake-ups of high-energy-consuming main control chips in wearable devices and improves the battery life of the device.
Smart Images

Figure CN115550891B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a business data transmission method and related equipment. Background Art
[0002] At present, terminal devices, such as watches, glasses and other wearable devices, usually adopt a dual system structure to achieve richer functions and better user experience. The device includes two main control chips, one of which has strong processing power and high energy consumption, such as the application processor (AP), and the other has weak processing power and low energy consumption, such as the micro control unit (MCU). In the scenario of collaborative application between devices, if other devices frequently wake up the main control chip with higher energy consumption in the device to process distributed collaborative services, it will seriously affect the battery life of the device. Summary of the invention
[0003] The embodiment of the present application discloses a business data transmission method and related equipment, which can determine the channel for a mobile phone to transmit business data to a wearable device, reduce the number of wake-up times of a high-energy consumption main control chip in the wearable device, and improve the battery life of the wearable device.
[0004] The first aspect of the present application discloses a business data transmission method, which is applied to a mobile phone. The method includes: establishing a first Bluetooth logical channel with a first main control chip of a wearable device and a second Bluetooth logical channel with a second main control chip of the wearable device, wherein the first main control chip and the second main control chip have different processing capabilities and energy consumption; according to the interaction channel corresponding to the business, sending the business data to the first main control chip through the first Bluetooth logical channel, or sending it to the second main control chip through the second Bluetooth logical channel.
[0005] According to the service data transmission method provided in the embodiment of the present application, the mobile phone can decide the channel for transmitting service data to the wearable device, reduce the number of wake-up times of the high-energy consumption main control chip in the wearable device, and improve the battery life of the wearable device.
[0006] In some optional embodiments, before sending the business data to the first main control chip through the first Bluetooth logical channel or sending it to the second main control chip through the second Bluetooth logical channel according to the interaction channel corresponding to the business, the method also includes: receiving an interaction channel strategy sent by the second main control chip through the second Bluetooth logical channel; determining the interaction channel corresponding to the business according to the interaction channel strategy.
[0007] In some optional embodiments, sending the business data to the first main control chip through the first Bluetooth logical channel or to the second main control chip through the second Bluetooth logical channel according to the interaction channel corresponding to the business includes: if the interaction channel corresponding to the business is a dynamic Bluetooth logical channel, sending the business data to the first main control chip through the first Bluetooth logical channel or to the second main control chip through the second Bluetooth logical channel according to the status of the first main control chip and the second main control chip; if the interaction channel corresponding to the business is the first Bluetooth logical channel, sending the business data to the first main control chip through the first Bluetooth logical channel; if the interaction channel corresponding to the business is the second Bluetooth logical channel, sending the business data to the second main control chip through the second Bluetooth logical channel.
[0008] In some optional embodiments, if the interaction channel corresponding to the service is a dynamic Bluetooth logical channel, the method further includes: sending a status query instruction to the second main control chip through the second Bluetooth logical channel; and receiving status information of the first main control chip and the second main control chip returned by the second main control chip.
[0009] In some optional embodiments, sending the business data to the first main control chip through the first Bluetooth logical channel or sending it to the second main control chip through the second Bluetooth logical channel according to the status of the first main control chip and the second main control chip includes: if the first main control chip is in a sleep state and the second main control chip is in a non-high-load state, sending the business data to the second main control chip through the second Bluetooth logical channel; if the first main control chip is in a running state, sending the business data to the first main control chip through the first Bluetooth logical channel; if the first main control chip is in a sleep state and the second main control chip is in a high-load state, temporarily storing the business data.
[0010] In some optional embodiments, establishing a first Bluetooth logical channel with a first main control chip of a wearable device and a second Bluetooth logical channel with a second main control chip of the wearable device includes: establishing a physical channel with the first main control chip and simultaneously establishing the first Bluetooth logical channel with the first main control chip, the first Bluetooth logical channel having a first channel number; receiving a second channel number sent by the first main control chip, the second channel number marking the second Bluetooth logical channel generated by the second main control chip; and connecting the second Bluetooth logical channel according to the second channel number.
[0011] In some optional implementations, the first main control chip is an application processor, and the second main control chip is a micro control unit.
[0012] The second aspect of the present application discloses a service data transmission method, which is applied to a wearable device, wherein the wearable device includes a first main control chip and a second main control chip, and the first main control chip and the second main control chip have different processing capabilities and energy consumptions. The method includes:
[0013] Establishing a first Bluetooth logical channel between the first main control chip and the mobile phone, and a second Bluetooth logical channel between the second main control chip and the mobile phone;
[0014] Receive the service data sent by the mobile phone to the first main control chip through the first Bluetooth logical channel, or sent to the second main control chip through the second Bluetooth logical channel.
[0015] In some optional implementations, after receiving the service data sent by the mobile phone to the first main control chip through the first Bluetooth logical channel, the method further includes:
[0016] The first main control chip processes the service data.
[0017] In some optional implementations, after receiving the service data sent by the mobile phone to the second main control chip through the second Bluetooth logical channel, the method further includes:
[0018] The second main control chip determines a service processing strategy corresponding to the service data.
[0019] In some optional implementations, determining the service processing strategy corresponding to the service data includes:
[0020] The service processing strategy is determined according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device.
[0021] In some optional implementations, determining the service processing strategy according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device includes:
[0022] If the first main control chip is in operation, or the amount of tasks to be processed by the second main control chip is greater than or equal to a preset amount, the business data is forwarded to the first main control chip for processing.
[0023] In some optional implementations, the service data is a message, and determining the service processing strategy according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device includes:
[0024] After receiving the preset time of the message, if it is detected that the user views the message, the message center of the first main control chip is entered;
[0025] Within the preset time after receiving the message, if it is detected that the user turns on the screen of the wearable device, the second main control chip displays the message in full screen.
[0026] In some optional implementations, the service data is motion data, and determining the service processing strategy according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device includes:
[0027] If it is detected that the user opens the map, the first main control chip processes the motion data;
[0028] If it is detected that the user turns on other sports functions, the second main control chip processes the sports data.
[0029] The third aspect of the present application discloses a computer-readable storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the service data transmission method as described in the first aspect or the second aspect.
[0030] The fourth aspect of the present application discloses an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the business data transmission method described in the first aspect or the second aspect.
[0031] The fifth aspect of the present application discloses a chip system, which is applied to an electronic device; the chip system includes an interface circuit and a processor; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive signals from the memory of the electronic device and send signals to the processor, and the signals include computer instructions stored in the memory; when the processor executes the computer instructions, the chip system executes the business data transmission method described in the first aspect or the second aspect.
[0032] In a sixth aspect, the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes the service data transmission method as described in the first aspect or the second aspect.
[0033] The seventh aspect of the present application discloses a device having the function of implementing the electronic device behavior in the method provided in the first aspect or the second aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0034] It should be understood that the computer-readable storage medium described in the third aspect, the electronic device described in the fourth aspect, the chip system described in the fifth aspect, the computer program product described in the sixth aspect, and the device described in the seventh aspect all correspond to the methods of the first and second aspects above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of an application scenario of the business data transmission method provided in an embodiment of the present application.
[0036] Figure 2 This is an architectural diagram of a mobile phone and a watch that use the business data transmission method provided in an embodiment of the present application.
[0037] Figure 3 It is a flowchart of the business data transmission method provided in an embodiment of the present application.
[0038] Figure 4 It is a schematic diagram of an interaction channel strategy between a first electronic device and a second electronic device.
[0039] Figure 5 It is a schematic diagram of the business processing strategy of the second main control chip.
[0040] Figure 6 It is a schematic diagram of the micro control unit of the watch performing business processing according to the business processing strategy corresponding to the message notification business after receiving the message sent by the mobile phone.
[0041] Figure 7 It is a schematic diagram of the microcontroller unit of the watch performing business processing according to the business processing strategy corresponding to the sports business after receiving the pace and distance sent by the mobile phone.
[0042] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given by way of example for reference.
[0044] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0045] In order to better understand the business data transmission method and related equipment provided in the embodiments of the present application, the application scenario of the business data transmission method of the present application is first described below.
[0046] Figure 1 It is a schematic diagram of an application scenario of the business data transmission method provided in an embodiment of the present application.
[0047] The service data transmission method provided in the embodiment of the present application is applied to a first electronic device 10 and a second electronic device 11. The first electronic device 10 and the second electronic device 11 may be terminal devices, and in particular, the second electronic device 11 may be a wearable device. Figure 1 In the illustrated embodiment, the first electronic device 10 is a mobile phone, and the second electronic device 11 is a watch. The first electronic device 10 and the second electronic device 11 perform distributed collaborative services. Distributed collaborative services are services that are collaboratively processed between electronic devices, such as sports, music, message notifications, and the like. For example, the first electronic device 10 (such as a mobile phone) and the second electronic device 11 (such as a watch) run a message notification service. After the first electronic device 10 receives a message, it displays the message on the second electronic device 11 to facilitate the user to view the message. For another example, the first electronic device 10 and the second electronic device 11 run a sports service. When the user runs, the first electronic device 10 sends information such as pace and distance to the second electronic device 11, and the second electronic device 11 generates and displays a running route.
[0048] According to the business data transmission method provided in the embodiment of the present application, during the process of the first electronic device 10 and the second electronic device 11 executing a distributed collaborative business, the first electronic device 10 decides the channel through which the first electronic device 10 transmits business data to the second electronic device 12, thereby reducing the number of wake-up times of the high-energy consumption main control chip in the second electronic device 12 and improving the battery life of the second electronic device 11.
[0049] Figure 2 This is an architectural diagram of a mobile phone and a watch that use the business data transmission method provided in an embodiment of the present application.
[0050] like Figure 2As shown, the service data transmission method provided in the embodiment of the present application is applied to a system consisting of a mobile phone 20 and a watch 21. The mobile phone 20 includes a mobile phone side service 201 and a device management application 202. The watch 21 includes an application processor (AP) 211, a micro control unit (MCU) 212 and a Bluetooth chip 213.
[0051] The mobile phone side service 201 is a distributed collaborative application running in the mobile phone 20. The mobile phone 20 realizes distributed collaboration by running the mobile phone side service 201 and linking with the watch 21. The mobile phone side service 201 may include wearable capabilities (WearEngine), sports, music, message notifications, etc.
[0052] The device management application 202 is used to establish a first Bluetooth logical channel with the AP 211 and a second Bluetooth logical channel with the MCU 212, decide the Bluetooth logical channel for sending business data to the watch 21, and send the business data to the AP 211 or the MCU 212 through the decided Bluetooth logical channel.
[0053] AP 211 is a control chip with strong processing capability and high energy consumption in the watch 21, and can be called the first main control chip. The energy consumption of AP211 when running is, for example, 100mAH (100 milliamperes per hour), and the energy consumption when in standby is, for example, 5mAH (5 milliamperes per hour). AP 211 can process distributed collaborative services with high performance requirements, such as WearEngine and music, and can also process distributed collaborative services with low performance requirements, such as message notifications.
[0054] Unlike AP 211, MCU 212 is a control chip with weaker processing power and lower energy consumption in watch 21, which can be called a second main control chip. The energy consumption of MCU 212 when running is, for example, 50mAH, and the energy consumption when in standby is, for example, 10uAH (10 microamperes per hour). MCU 212 can handle distributed collaborative services with low performance requirements, such as message notifications.
[0055] The Bluetooth chip 213 is used to implement data transmission between the mobile phone 20 and the AP 211 through the first Bluetooth logical channel, and to implement data transmission between the mobile phone 20 and the MCU 212 through the second Bluetooth logical channel. When the device management application 202 sends data (such as business data) to the AP 211 through the first Bluetooth logical channel, the Bluetooth chip 213 receives the channel number and data corresponding to the first Bluetooth logical channel sent by the device management application 202, and forwards the data to the AP 211 according to the channel number corresponding to the first Bluetooth logical channel. When the device management application 202 sends data to the MCU 212 through the second Bluetooth logical channel, the Bluetooth chip 213 receives the channel number and data corresponding to the second Bluetooth logical channel sent by the device management application 202, and forwards the data to the MCU 212 according to the channel number corresponding to the second Bluetooth logical channel.
[0056] When AP 211 sends data to mobile phone 20 through the first Bluetooth logical channel, Bluetooth chip 213 receives the data sent by AP 211 and sends the data to mobile phone 20. When MCU 212 sends data to mobile phone 20 through the second Bluetooth logical channel, Bluetooth chip 213 receives the data sent by MCU 212 and sends the data to mobile phone 20.
[0057] Currently, the Bluetooth protocol stack of watches is deployed on the AP. Any Bluetooth event and message interaction will wake up the AP for processing. For Bluetooth-based services between watches and mobile phones, such as synchronizing watch sports and health data to mobile phones, although the watch sports and health services are processed by the MCU, the MCU cannot directly interact with the mobile phone via Bluetooth, and must wake up the AP for transfer processing through the AP. Each Bluetooth service delivery will wake up the AP, resulting in frequent AP wake-ups, and the overall battery life cannot be optimized, resulting in the current battery life of watches in the industry being around 2 days.
[0058] According to the business data transmission method provided in the embodiment of the present application, when the MCU meets the processing capability requirements, the business data is sent directly to the MCU without waking up the AP, thereby reducing the energy consumption of the watch and improving the battery life of the watch.
[0059] Figure 2In the illustrated embodiment, the first electronic device is a mobile phone, the second electronic device is a watch, the watch includes an AP, an MCU and a Bluetooth chip, and based on the Bluetooth chip of the watch, the mobile phone establishes a first Bluetooth logical channel with the AP and a second Bluetooth logical channel with the MCU. It should be understood that in other embodiments of the present application, the first electronic device and the second electronic device may be other devices (for example, the first electronic device is a tablet, and the second electronic device is glasses), the first main control chip and the second main control chip in the second electronic device may be other types, and the communication chip in the second electronic device may be other types. Accordingly, the first logical channel established by the first electronic device with the first main control chip and the second logical channel with the second main control chip may also be other types.
[0060] Figure 3 1 is a flow chart of a business data transmission method provided in an embodiment of the present application. The business data transmission method provided in an embodiment of the present application is applied to a first electronic device and a second electronic device, and the second electronic device includes a first main control chip and a second main control chip. The first main control chip is a control chip with strong processing power and high energy consumption, and the second main control chip is a control chip with weak processing power and low energy consumption.
[0061] 301. A first electronic device establishes a first logic channel with a first main control chip and a second logic channel with a second main control chip.
[0062] The first logical channel and the second logical channel are established based on a physical channel (eg, a Bluetooth physical channel) between the first electronic device and the second electronic device.
[0063] The first logical channel and the second logical channel may be identified by channel numbers. For example, the channel number of the first logical channel is 5, and the channel number of the second logical channel is 9.
[0064] by Figure 2 Taking the application scenario shown as an example, the first electronic device is a mobile phone, the second electronic device is a watch, the first main control chip is an AP, and the second main control chip is an MCU. The mobile phone establishes a first Bluetooth logical channel with the AP and a second Bluetooth logical channel with the MCU.
[0065] In one embodiment of the present application, a first electronic device establishes a first logical channel with a first main control chip and a second logical channel with a second main control chip in the following manner: the first electronic device establishes a physical channel with the first main control chip, and at the same time establishes a first logical channel with the first main control chip, the first logical channel having a first channel number; the first main control chip generates a second logical channel, the second logical channel having a second channel number and corresponding to the second main control chip; the first main control chip notifies the first electronic device of the second channel number and the corresponding second main control chip; the first electronic device connects the second logical channel according to the second channel number, thereby establishing a connection with the second main control chip.
[0066] Continue with Figure 2 Taking the application scenario shown as an example, the mobile phone establishes a first Bluetooth logical channel with the AP and a second Bluetooth logical channel with the MCU in the following manner: the mobile phone establishes a Bluetooth physical channel with the AP, and at the same time establishes a first Bluetooth logical channel with the AP, the first Bluetooth logical channel has a first Bluetooth channel number; the AP generates a second Bluetooth logical channel, the second Bluetooth logical channel has a second Bluetooth channel number and corresponds to the MCU; the AP notifies the mobile phone of the second Bluetooth channel number and the corresponding MCU; the mobile phone connects to the second Bluetooth logical channel according to the second Bluetooth channel number, thereby establishing a connection with the MCU.
[0067] In one embodiment of the present application, the second electronic device includes a communication chip (eg, a Bluetooth chip, see Figure 2 As shown, the communication chip is used to realize short-distance data transmission), the data transmission between the first electronic device and the first main control chip through the first logical channel, and the data transmission between the second main control chip through the second logical channel are realized by the communication chip.
[0068] When the first electronic device sends data (such as business data) to the first main control chip through the first logical channel, the first electronic device can send the first channel number and the data to the communication chip, and the communication chip forwards the data to the first main control chip according to the first channel number. When the first electronic device sends data to the second main control chip through the second logical channel, the first electronic device can send the second channel number and the data to the communication chip, and the communication chip forwards the data to the second main control chip according to the second channel number.
[0069] When the first master control chip sends data to the first electronic device through the first logic channel, the first master control chip can send the data to the communication chip, and the communication chip sends the data to the first electronic device. When the second master control chip sends data to the first electronic device through the second logic channel, the second master control chip can send the data to the communication chip, and the communication chip sends the data to the first electronic device.
[0070] 302. The second main control chip sends an interactive channel strategy to the first electronic device through the second logical channel.
[0071] Continue with Figure 2 Taking the application scenario shown as an example, the MCU sends the interactive channel strategy to the mobile phone through the second Bluetooth logical channel.
[0072] The interaction channel policy is used to describe the interaction channels used by different services between the first electronic device and the second electronic device.
[0073] In one embodiment of the present application, the interactive channel policy defines that the interactive channel corresponding to the service includes a first logical channel, a second logical channel, and a dynamic logical channel. The interactive channel corresponding to the service is the first logical channel, which means that the service data is transmitted to the first main control chip through the first logical channel. The interactive channel corresponding to the service is the second logical channel, which means that the service data is transmitted to the second main control chip through the second logical channel. The interactive channel corresponding to the service is a dynamic logical channel, which means that a dynamic decision is made to transmit the service data to the first main control chip through the first logical channel, or to the second main control chip through the second logical channel.
[0074] Figure 4 It is a schematic diagram of an interaction channel strategy between a first electronic device and a second electronic device. Figure 4 by Figure 2 The following application scenario is used as an example to illustrate. Figure 4 As shown, the distributed collaborative services between the mobile phone and the watch include wearable capabilities (WearEngine), sports, music, message notifications, etc. The interactive channel corresponding to the wearable capability is the first Bluetooth logical channel, the interactive channel corresponding to sports is the dynamic Bluetooth logical channel, the interactive channel corresponding to music is the first Bluetooth logical channel, the interactive channel corresponding to message notifications is the dynamic Bluetooth logical channel, and the interactive channel corresponding to other services (referring to services other than wearable capabilities, sports, music, and message notifications) is the second Bluetooth logical channel.
[0075] Figure 4 The main control chips corresponding to different services are also listed (the watch processing chip column in the figure), indicating the main control chip that processes the service data. For example, the main control chip corresponding to the wearable capability (WearEngine) is AP, the main control chip corresponding to sports is MCU+AP, the main control chip corresponding to music is AP, the main control chip corresponding to message notification is MCU+AP, and other services do not specify the corresponding main chips.
[0076] 301-302 may be performed after the first electronic device is paired with the second electronic device, so as to prepare for business data transmission between the first electronic device and the second electronic device.
[0077] 303: When the service data is to be sent to the second electronic device, the first electronic device determines an interaction channel corresponding to the service.
[0078] Continue with Figure 2 Taking the application scenario shown as an example, when business data is to be sent to a watch, the mobile phone determines the interaction channel corresponding to the business (referring to the business corresponding to the business data).
[0079] For example, when a message is to be sent to a watch, the mobile phone determines that the corresponding interaction channel is a dynamic Bluetooth logical channel.
[0080] For another example, when music is to be sent to a watch, the mobile phone determines that the corresponding interaction channel is the first Bluetooth logical channel.
[0081] 304A, if the interactive channel corresponding to the service is a dynamic logical channel, the first electronic device sends a status query instruction to the second main control chip through the second logical channel.
[0082] Continue with Figure 2 Taking the application scenario shown as an example, when a message is to be sent to a watch, the corresponding interaction channel is the dynamic Bluetooth logical channel, and the mobile phone sends a status query instruction to the MCU through the second Bluetooth logical channel.
[0083] 305 , the second main control chip returns status information of the first main control chip and the second main control chip to the first electronic device.
[0084] After receiving the status query instruction, the second main control chip queries the status information of the first main control chip and the second main control chip.
[0085] The second main control chip may query the status information of the first main control chip through the dual-core service of the second electronic device, and may query the status information of the second main control chip from the state machine of the second main control chip.
[0086] Continue with Figure 2 Taking the application scenario shown in the figure as an example, the MCU returns the status information of the AP and the MCU to the mobile phone.
[0087] In one embodiment of the present application, the state of the first master control chip includes a running state and a sleeping state, and the state of the second master control chip includes a high-load state and a non-high-load state.
[0088] The status information of the first main control chip and the second main control chip returned by the second main control chip to the first electronic device may be the status of the first main control chip and the second main control chip. Alternatively, the status information of the first main control chip and the second main control chip returned by the second main control chip to the first electronic device may be the operating parameters of the first main control chip and the second main control chip (such as processor occupancy), and the first electronic device determines the status of the first main control chip and the second main control chip based on the status information of the first main control chip and the second main control chip.
[0089] The first main control chip is in the running state, which means that the first main control chip is processing the service. The first main control chip is in the sleeping state, which means that the first main control chip is not processing the service.
[0090] The second main control chip being in a high load state indicates that the current load of the second main control chip is relatively heavy, and the second main control chip being in a non-high load state indicates that the current load of the second main control chip is relatively light.
[0091] Option 1: 306A, if the first main control chip is in a sleep state and the second main control chip is not in a high-load state, the first electronic device sends the service data to the second main control chip through the second logic channel.
[0092] Continue with Figure 2 Taking the application scenario shown as an example, if the AP is in sleep mode and the MCU is not in high-load mode, the mobile phone sends the service data to the MCU through the second Bluetooth logical channel.
[0093] Option 2: 306B, if the first main control chip is in operation, the first electronic device sends the service data to the first main control chip through the first logical channel.
[0094] Continue with Figure 2 Taking the application scenario shown as an example, if the AP is in operation, the first electronic device sends the service data to the AP through the first Bluetooth logical channel.
[0095] Option three: 306C, if the first main control chip is in a sleep state and the second main control chip is in a high-load state, the first electronic device temporarily stores the business data.
[0096] Continue with Figure 2 Taking the application scenario shown as an example, if the AP is in sleep mode and the MCU is in high-load mode, the mobile phone temporarily stores the service data.
[0097] 304B: If the interactive channel corresponding to the service is the first logical channel, the first electronic device sends the service data to the first main control chip through the first logical channel.
[0098] Continue with Figure 2 Taking the application scenario shown as an example, if the interaction channel corresponding to the service is the first Bluetooth logical channel, the mobile phone sends the service data to the AP through the first Bluetooth logical channel.
[0099] For example, the service data to be sent by the mobile phone is music, and the corresponding interaction channel is the first Bluetooth logical channel. The mobile phone sends the music to the AP through the first Bluetooth logical channel.
[0100] 304C, if the interaction channel corresponding to the service is the second logical channel, the first electronic device sends the service data to the second main control chip through the second logical channel.
[0101] Continue with Figure 2 Taking the application scenario shown as an example, if the interaction channel corresponding to the service is the second Bluetooth logical channel, the mobile phone sends the service data to the MCU through the second Bluetooth logical channel.
[0102] For example, the service data to be sent by the mobile phone is other services, and the corresponding interaction channel is the second Bluetooth logical channel. The mobile phone sends the service data to the MCU through the second Bluetooth logical channel.
[0103] It should be noted that if the interactive channel corresponding to the business is a dynamic logical channel, execute 304A to 306C; if the interactive channel corresponding to the business is a first logical channel, execute 304B; if the interactive channel corresponding to the business is a second logical channel, execute 304C.
[0104] In some embodiments of the present application, after the second main control chip receives the service data (it may be receiving the service data through 306 or receiving the service data through 310), it determines the service processing strategy corresponding to the service data. The second main control chip may determine the service processing strategy according to the states of the first main control chip and the second main control chip, user operations on the second electronic device, etc. The service processing strategy may include processing by the first main control chip, processing by the second main control chip, and collaborative processing by the first main control chip and the second main control chip.
[0105] In one embodiment of the present application, the second master control chip monitors the status of the first master control chip and the number of tasks of the second master control chip. When it is monitored that the first master control chip is in an operating state, or the amount of tasks to be processed by the second master control chip (for example, the number of messages in the message buffer pool) is greater than or equal to a preset number (for example, 10), the business data is forwarded to the first master control chip for processing.
[0106] Continue with Figure 2 Taking the application scenario shown as an example, after the MCU receives the service data, if the AP is in the running state, the MCU forwards the service data to the AP for processing.
[0107] It should be noted that if the first electronic device sends the service data to the first main control device through the second logical channel, the first main control device directly processes the service and does not forward the service data to the second main control device for processing.
[0108] Figure 5 It is a schematic diagram of the business processing strategy of the second main control chip. Figure 5 by Figure 2 The application scenario shown is taken as an example for explanation.
[0109] See also Figure 5 As shown in the figure, the business processing strategy for sports is: the user turns on the map AP for processing, and turns on other sports functions for processing by the MCU. That is, after the MCU receives the business data of the sports (such as pace, distance, etc.), if the user chooses to display the map interface on the watch, it will be processed by the AP, and other functions will be processed by the MCU.
[0110] The service processing strategy corresponding to the message notification is: within 1 minute after receiving the message, if the user raises his wrist or presses a key to light up the screen, the MCU will display the message in full screen; 1 minute after receiving the message, the user needs to enter the AP's message center to view the message, and the AP will process it. That is to say, after the MCU receives the message, if the user raises his wrist or presses a key to light up the screen within 1 minute, the MCU will process it and display the message in full screen; if the user views the message within 1 minute or later, he needs to enter the AP's message center to be processed by the AP.
[0111] Figure 6 It is a schematic diagram of the micro control unit of the watch performing business processing according to the business processing strategy corresponding to the message notification business after receiving the message sent by the mobile phone.
[0112] like Figure 6 As shown, after the MCU of the watch receives the message sent by the mobile phone, it decides whether the AP or the MCU displays the message. If within 1 minute after receiving the message, the user raises his wrist or presses a button to light up the screen, the MCU displays the message in full screen and displays the full-screen message display interface. If 1 minute after receiving the message, the user raises his wrist or presses a button to light up the screen, the MCU displays the dial interface; if the user swipes on the dial interface, the watch enters the message center interface from the dial interface, and the AP displays the message in the message center interface. When the user performs other swipes on the dial interface, the watch can enter the exercise record interface from the dial interface. When the user presses a button on the dial interface, the watch can enter the function interface from the dial interface. When the user times out without operating in the full-screen message display interface, dial interface, message center interface, exercise record interface, and function interface, the watch screen turns off.
[0113] In the message push scenario, the AP does not need to wake up and run frequently. If the mobile phone pushes 100 messages to the watch every day, the battery life of the watch can be increased by 0.4 days.
[0114] In one embodiment of the present application, when the MCU monitors that the AP is in running state, or the number of messages in the message buffer pool of the MCU is greater than or equal to a preset number (for example, 10 messages), the message is synchronized to the AP (as shown in the figure, this is implemented through the message notification module of the AP and the MCU).
[0115] Figure 7 It is a schematic diagram of the microcontroller unit of the watch performing business processing according to the business processing strategy corresponding to the sports business after receiving the pace and distance sent by the mobile phone.
[0116] In one embodiment of the present application, a mobile phone (eg Figure 2The mobile device management application 202 starts the sports service and sends the sports start notification to the MCU through the second Bluetooth logical channel. After receiving the operation start notification, the MCU displays the sports interface and monitors the user's operation to decide whether the AP or the MCU displays the sports information. During the exercise, the MCU of the watch sends the heart rate, blood pressure, body temperature and other data sensed by the watch to the mobile phone through the second Bluetooth logical channel, and the mobile phone sends the pace, distance and other data to the MCU through the second Bluetooth logical channel. The user can see all the exercise data on the watch and the mobile phone, and can control the pause, continue and end of the exercise.
[0117] like Figure 7 As shown in the figure, after the MCU receives the motion start notification, it displays the motion interface. When the user presses a button or slides on the motion interface, the AP is awakened and switched to the AP displaying the motion interface. When the user slides on the motion interface displayed by the AP, the AP displays the map interface. When the user presses a button to exit from the map interface, the AP displays the exit prompt interface. When the user does not operate within the time limit, the MCU turns off the screen. When the user raises his wrist or presses a button to turn on the screen, the watch returns to the interface before the screen turns off.
[0118] In the sports linkage scenario, based on 1 hour of exercise per day, the watch's battery life can be increased by 0.2 days.
[0119] The business data transmission method provided in the present application is applied to a first electronic device and a second electronic device that execute distributed collaborative services. The first electronic device decides the channel through which the first electronic device transmits business data to the second electronic device, reduces the number of wake-up times of a high-energy consumption main control chip in the second electronic device, and improves the battery life of the second electronic device.
[0120] Figure 8 is a schematic diagram of the structure of an electronic device (a first electronic device or a second electronic device) provided in an embodiment of the present application. Figure 8 As shown, the electronic device 80 may include: a radio frequency (RF) circuit 801, a memory 802, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, a Wi-Fi module 807, a processor 808, a power supply 809, and a Bluetooth module 810. Those skilled in the art will appreciate that Figure 8 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0121] The RF circuit 801 can be used to send and receive information or receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is transferred to the processor 808 for processing; in addition, the uplink data is sent to the base station. Generally, the RF circuit 801 includes, but is not limited to: an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.
[0122] The memory 802 can be used to store software programs and modules. The processor 808 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 802. The memory 802 can mainly include a program storage area and a data storage area, wherein the program storage area can 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 can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 802 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0123] The input unit 803 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 803 may include a touch panel 8031 and other input devices 8032. The touch panel 8031, also known as a touch screen, can collect the user's touch operation on or near it (such as the user using any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 8031 or near the touch panel 8031) and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 8031 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 808, and receives the command sent by the processor 808 and executes it. In addition, the touch panel 8031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 8031, the input unit 803 may also include other input devices 8032. Specifically, the other input devices 8032 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0124] The display unit 804 can be used to display information input by the user or information provided to the user and various menus of the electronic device. The display unit 804 may include a display panel 8041. Optionally, the display panel 8041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 8031 may cover the display panel 8041. When the touch panel 8031 detects a touch operation on or near it, it is transmitted to the processor 808 to determine the type of touch event. Subsequently, the processor 808 provides a corresponding visual output on the display panel 8041 according to the type of touch event. Although in Figure 8 In the embodiment, the touch panel 8031 and the display panel 8041 are used as two independent components to implement the input and output functions of the electronic device. However, in some embodiments, the touch panel 8031 and the display panel 8041 can be integrated to implement the input and output functions of the electronic device.
[0125] The electronic device may also include at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 8041 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 8041 and / or the backlight when the electronic device is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used for applications that identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; in addition, the electronic device may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0126] The audio circuit 806, the speaker 8061, and the microphone 8062 can provide an audio interface between the user and the electronic device. The audio circuit 806 can transmit the received audio data to the speaker 8061 after converting the received audio data into an electrical signal, which is converted into a sound signal for output by the speaker 8061; on the other hand, the microphone 8062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 806 and converted into audio data, and then the audio data is processed by the output processor 808 and sent to another electronic device through the RF circuit 801, or the audio data is output to the memory 802 for further processing.
[0127] Wi-Fi is a short-range wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through Wi-Fi module 807. It provides users with wireless broadband Internet access. Figure 8 A Wi-Fi module 807 is shown, but it is understandable that it is not an essential component of the electronic device and can be omitted as needed without changing the essence of the invention.
[0128] The processor 808 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 802 and calling data stored in the memory 802, thereby monitoring the electronic device as a whole.
[0129] The processor 808 may include one or more processing units. For example, the processor 808 may include an application processor (AP), a micro control unit (MCU), 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), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0130] The processor 808 may integrate an application processor and a modem, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 808.
[0131] The electronic device also includes a power source 809 (such as a battery) for supplying power to various components. Optionally, the power source can be logically connected to the processor 808 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.
[0132] The Bluetooth module is a Bluetooth chip, and the Bluetooth module 810 communicates with other electronic devices having Bluetooth functions through the Bluetooth protocol.
[0133] Although not shown, the electronic device may also include a camera, etc., which will not be described in detail here.
[0134] Figure 8 The electronic device described in the present application can be used to implement Figure 3 For part or all of the processes in the method embodiments described, please refer to the aforementioned Figure 3 The relevant explanations in the embodiments are not repeated here.
[0135] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the business data transmission method in the above-mentioned embodiment.
[0136] This embodiment also provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the service data transmission method in the above-mentioned embodiment.
[0137] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor may execute the computer execution instructions stored in the memory so that the chip executes the business data transmission method in the above-mentioned method embodiments.
[0138] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.
[0139] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0141] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
[0142] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.
[0144] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A business data transmission method, applied to a mobile phone, characterized in that: The method comprises: Establishing a first Bluetooth logical channel with a first main control chip of a wearable device and a second Bluetooth logical channel with a second main control chip of the wearable device, wherein the first main control chip and the second main control chip have different processing capabilities and energy consumption; Receiving the interactive channel strategy sent by the second main control chip through the second Bluetooth logical channel; Determine the interaction channel corresponding to the service according to the interaction channel strategy, send the service data to the first main control chip through the first Bluetooth logical channel, or send it to the second main control chip through the second Bluetooth logical channel, and the data processing capability of the second main control chip is different from that of the first main control chip.
2. The service data transmission method according to claim 1, characterized in that: The step of determining the interaction channel corresponding to the service according to the interaction channel strategy, and sending the service data to the first main control chip through the first Bluetooth logical channel, or sending the service data to the second main control chip through the second Bluetooth logical channel comprises: If the interaction channel corresponding to the service is a dynamic Bluetooth logical channel, according to the states of the first main control chip and the second main control chip, the service data is sent to the first main control chip through the first Bluetooth logical channel, or is sent to the second main control chip through the second Bluetooth logical channel; If the interaction channel corresponding to the service is the first Bluetooth logical channel, sending the service data to the first main control chip through the first Bluetooth logical channel; If the interaction channel corresponding to the service is the second Bluetooth logical channel, the service data is sent to the second main control chip through the second Bluetooth logical channel.
3. The service data transmission method according to claim 1, characterized in that: If the interaction channel corresponding to the service is a dynamic Bluetooth logical channel, the method further includes: Sending a status query instruction to the second main control chip through the second Bluetooth logical channel; Receive status information of the first main control chip and the second main control chip returned by the second main control chip.
4. The service data transmission method according to claim 2, characterized in that: The sending the service data to the first main control chip through the first Bluetooth logical channel or to the second main control chip through the second Bluetooth logical channel according to the states of the first main control chip and the second main control chip comprises: If the first main control chip is in a dormant state and the second main control chip is in a non-high-load state, sending the service data to the second main control chip through the second Bluetooth logical channel; If the first main control chip is in a running state, sending the service data to the first main control chip through the first Bluetooth logical channel; If the first main control chip is in a dormant state and the second main control chip is in a high-load state, the business data is temporarily stored.
5. The service data transmission method according to claim 1, characterized in that: The step of establishing a first Bluetooth logical channel with a first main control chip of the wearable device and a second Bluetooth logical channel with a second main control chip of the wearable device includes: Establishing a physical channel with the first main control chip, and establishing the first Bluetooth logical channel with the first main control chip, wherein the first Bluetooth logical channel has a first channel number; Receive a second channel number sent by the first main control chip, where the second channel number indicates the second Bluetooth logical channel generated by the second main control chip; The second Bluetooth logical channel is connected according to the second channel number.
6. The service data transmission method according to any one of claims 1 to 5, characterized in that: The first main control chip is an application processor, and the second main control chip is a micro control unit.
7. A service data transmission method, applied to a wearable device, wherein the wearable device comprises a first main control chip and a second main control chip, wherein the first main control chip and the second main control chip have different processing capabilities and energy consumptions, and wherein: The method comprises: Establishing a first Bluetooth logical channel between the first main control chip and the mobile phone, and a second Bluetooth logical channel between the second main control chip and the mobile phone; Sending an interactive channel strategy to the mobile phone, wherein the interactive channel strategy is sent by the second main control chip through the second Bluetooth logical channel; Receive the service data sent by the mobile phone to the first main control chip through the first Bluetooth logical channel, or sent to the second main control chip through the second Bluetooth logical channel.
8. The service data transmission method according to claim 7, characterized in that: After receiving the service data sent by the mobile phone to the first main control chip through the first Bluetooth logical channel, the method further includes: The first main control chip processes the service data.
9. The service data transmission method according to claim 7, characterized in that: After receiving the service data sent by the mobile phone to the second main control chip through the second Bluetooth logical channel, the method further includes: The second main control chip determines a service processing strategy corresponding to the service data.
10. The service data transmission method according to claim 9, characterized in that: Determining the business processing strategy corresponding to the business data includes: The service processing strategy is determined according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device.
11. The service data transmission method according to claim 10, characterized in that: The determining the service processing strategy according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device includes: If the first main control chip is in operation, or the amount of tasks to be processed by the second main control chip is greater than or equal to a preset amount, the business data is forwarded to the first main control chip for processing.
12. The service data transmission method according to claim 10, characterized in that: The service data is a message, and determining the service processing strategy according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device includes: After receiving the preset time of the message, if it is detected that the user views the message, the message center of the first main control chip is entered; Within the preset time after receiving the message, if it is detected that the user turns on the screen of the wearable device, the second main control chip displays the message in full screen.
13. The service data transmission method according to claim 10, characterized in that: The service data is motion data, and determining the service processing strategy according to the states of the first main control chip and the second main control chip and / or the user operation on the wearable device includes: If it is detected that the user opens the map, the first main control chip processes the motion data; If it is detected that the user turns on other sports functions, the second main control chip processes the sports data.
14. A computer-readable storage medium, characterized in that: It comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the business data transmission method as claimed in any one of claims 1 to 6 or any one of claims 7 to 13.
15. An electronic device, characterized in that: The electronic device comprises a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the business data transmission method as described in any one of claims 1 to 6, or any one of claims 7 to 13.
16. A chip system, the chip system is applied to electronic equipment; characterized in that: The chip system includes an interface circuit and a processor; the interface circuit and the processor are interconnected via lines; the interface circuit is used to receive signals from the memory of the electronic device and send signals to the processor, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, the chip system executes the business data transmission method as described in any one of claims 1 to 6, or any one of claims 7 to 13.
Citation Information
Patent Citations
Data transmission control method, mobile terminal and computer readable storage medium
CN109890022A
Control method of single-chip heterogeneous system and wearable equipment
CN111694402A
Cited By
Service data transmission method and related device
WO2023272982A1
