Communication event processing method, system, electronic device and storage medium

By adopting a dual-core system architecture in smart terminal watches and using a low-power processor to monitor and control the modem, the high power consumption problem caused by the startup of the large-core system is solved, and low-power operation and long battery life are achieved.

CN115334621BActive Publication Date: 2025-09-05GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110510213.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-11
Publication Date
2025-09-05
Estimated Expiration
2041-05-11

AI Technical Summary

Technical Problem

The cellular communication service of smart terminal watches requires the activation of a large core system, which results in high power consumption and reduces the battery life of the device.

Method used

A dual-core system architecture is adopted, and a low-power first processor is used to monitor communication events reported by the modem, and the first processor controls the modem to execute corresponding functions of the communication events. The second processor reduces overall power consumption when in non-working state.

Benefits of technology

While realizing cellular communication services, it significantly reduces the power consumption of smart terminal watches and improves the battery life and response speed of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115334621B_ABST
    Figure CN115334621B_ABST
Patent Text Reader

Abstract

The present application relates to a communication event processing method, system, electronic device, and storage medium. The method comprises a first processor monitoring communication events reported by a modem while a second processor of a wearable device is in a non-operating target mode, obtaining an operation request corresponding to the communication event, and sending an event processing request to the modem in response to the operation request to instruct the modem to execute the corresponding function of the communication event. This method enables the wearable device to operate in a low-power mode while implementing cellular communication service functions, thereby significantly reducing the power consumption of the wearable device and greatly improving the battery life of the wearable device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a communication event processing method, system, electronic device and storage medium. Background Art

[0002] As electronic devices become more and more powerful, a single operating system sometimes cannot meet people's demands for the functions of electronic devices. Therefore, some electronic devices have begun to be equipped with dual systems to provide users with a better user experience.

[0003] For example, a smartwatch uses a dual-core system architecture. The larger core in this dual-core system typically has a built-in modem module to provide cellular communication services. In related technologies, cellular communication services on smartwatches require the larger core to be activated. However, activating the larger core results in higher power consumption on the smartwatch, reducing its battery life. Summary of the Invention

[0004] The embodiments of the present application provide a communication event processing method, system, electronic device and storage medium, which can reduce the power consumption of a smart terminal watch, thereby improving the battery life of the smart terminal watch.

[0005] In a first aspect, an embodiment of the present application provides a communication event processing method, which is applied to a wearable device, wherein the wearable device includes a first processor and a second processor, wherein the first processor is used to run a first operating system, and the second processor is used to run a second operating system, and the operating power consumption of the first processor is lower than the operating power consumption of the second processor, including:

[0006] The first processor monitors communication events reported by the modem in a target mode of the wearable device; the second processor is in a non-operating state in the target mode;

[0007] The first processor obtains an operation request corresponding to the communication event, and sends an event processing request to the modem in response to the operation request; the event processing request is used to instruct the modem to execute a corresponding function of the communication event.

[0008] In one embodiment, the method further comprises:

[0009] The first processor receives a first authority transfer instruction sent by the second processor; the first authority transfer instruction is used to transfer the control authority of the modem from the second processor to the first processor;

[0010] The first authority transfer instruction is sent by the second processor in response to the first switching instruction, and the first switching instruction is used to instruct switching from the original mode to the target mode.

[0011] In one embodiment, before the first processor monitors the communication events of the modem in the target mode, the method further comprises:

[0012] If the modem is in a power-off state, the first processor sends a power-on instruction to the modem; the power-on instruction is used to start the modem.

[0013] In one embodiment, the first processor obtains the operation request corresponding to the communication event, including:

[0014] The first processor displays an identifier corresponding to the communication event on a display interface of the wearable device;

[0015] The first processor obtains an operation request corresponding to the identifier based on the display interface.

[0016] In one embodiment, the method further comprises:

[0017] The first processor obtains a second switching instruction; the second switching instruction is used to instruct switching from the target mode to the original mode;

[0018] In response to the second switching instruction, the first processor sends a power-on instruction to the second processor, instructing the second processor to start up.

[0019] In one embodiment, after the second processor is started, the method further includes:

[0020] The first processor sends a second authority transfer instruction to the second processor; the second authority transfer instruction is used to transfer the control authority of the modem from the first processor to the second processor.

[0021] In one embodiment, the target mode is a long-endurance mode.

[0022] In a second aspect, an embodiment of the present application provides a communication event processing system, the system comprising: a first processor, a second processor, and a modem; the first processor is configured to run a first operating system, the second processor is configured to run a second operating system, and the operating power consumption of the first processor is lower than the operating power consumption of the second processor;

[0023] The first processor is used to monitor communication events reported by the modem in the target mode of the wearable device, obtain operation requests corresponding to the communication events, and send event processing requests to the modem in response to the operation requests; the event processing request is used to instruct the modem to execute the corresponding function of the communication event; the second processor is in a non-working state in the target mode.

[0024] In one embodiment, the second processor is configured to send a first authority transfer instruction to the first processor in response to the first switching instruction; the first switching instruction is configured to instruct switching from the original mode to the target mode; and the first authority transfer instruction is configured to transfer control authority of the modem from the second processor to the first processor.

[0025] In one embodiment, the second processor is further configured to send a power-off instruction to the modem in response to the first switching instruction to shut down the modem;

[0026] The first processor is further configured to send a power-on instruction to the modem; the power-on instruction is configured to start the modem.

[0027] In one embodiment, the first processor is further configured to display an identifier corresponding to the communication event on a display interface of the wearable device, and obtain an operation request corresponding to the identifier based on the display interface.

[0028] In one embodiment, the first processor is further configured to send a power-on instruction to the second processor instructing the second processor to start up in response to a second switching instruction; the second switching instruction is configured to instruct switching from the target mode to the original mode.

[0029] In one embodiment, the first processor is further configured to send a second authority transfer instruction to the second processor; the second authority transfer instruction is configured to transfer the control authority of the modem from the first processor to the second processor.

[0030] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory and a processor, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the communication event processing method provided in any one of the embodiments of the first aspect above.

[0031] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the communication event processing method provided in any one of the embodiments of the first aspect above are implemented.

[0032] The communication event processing method, system, electronic device and storage medium provided in the embodiments of the present application monitor the communication events reported by the modem through the first processor in the target mode when the second processor of the wearable device is in a non-working state, obtains the operation request corresponding to the communication event, and sends an event processing request to the modem in response to the operation request to instruct the modem to execute the corresponding function of the communication event. Since the second processor is in a non-working state in the target mode, and the operating power consumption of the second processor is less than the operating power consumption of the first processor, the first processor is running in the target mode, then the first processor with lower operating power consumption monitors the communication events reported by the modem in the target mode, and then instructs the modem to execute the corresponding function of the communication event according to the user operation request. In this way, the wearable device is in a low-power operation mode while realizing the function of the cellular communication service, which greatly reduces the power consumption of the wearable device and greatly improves the battery life of the wearable device. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0034] Figure 1 A diagram illustrating an application environment of a communication event processing method according to an embodiment;

[0035] Figure 2 1 is a flow chart of a method for handling communication events in one embodiment;

[0036] Figure 3 Schematic diagram of the internal structure of a wearable device in one embodiment;

[0037] Figure 4 A schematic diagram of an operation request for triggering a communication event on a display interface of a wearable device in one embodiment;

[0038] Figure 5 1 is a flow chart of a communication event processing method according to another embodiment;

[0039] Figure 6 1 is a flow chart of a communication event processing method according to another embodiment;

[0040] Figure 7 1 is a flow chart of a communication event processing method according to another embodiment;

[0041] Figure 8 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0043] It should be understood that the terms "first", "second", etc. in the claims, description and drawings of the present application are used to distinguish different objects rather than to describe a specific order. The term "comprising" used in the description and claims of the present application indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. It should also be understood that the terms used in the description of the present application are merely for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the description and claims of the present application, the singular forms "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0044] The communication event processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The wearable device can be, but is not limited to, a terminal device such as a smart bracelet, a smart watch, smart glasses, smart gloves, smart socks, a smart belt, etc. The embodiment of the present application does not limit this. As long as the wearable device can be worn and has the ability to execute the communication time processing method provided in the embodiment of the present application, Figure 1 Taking the smart terminal watch as an example, in the schematic diagram, in real-time applications, different wearable devices can refer to their actual structural shapes, and the embodiments of the present application are not limited to this. Among them, the smart terminal watch is a watch with information processing capabilities and meets the basic functional requirements of a watch. For example, the interior of the wearable device may include a processor and a memory, etc.; the processor is used to provide computing and control capabilities, and the memory includes a non-volatile storage medium and an internal memory; wherein the non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database is used for data related to the operation process of the wearable device. The network interface is used to communicate with other external devices through a network connection.

[0045] The following will describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems through embodiments and in combination with the accompanying drawings. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that the present application provides a communication event processing method, the execution subject of which is a low-power processor (i.e., the first processor) in a wearable device, wherein the execution subject of the method can also be a communication event processing device, which can be implemented as part or all of the processor through software, hardware, or a combination of software and hardware.

[0046] In one embodiment, Figure 2 As shown, a communication event processing method is provided. This embodiment involves a first processor monitoring a communication event reported by a modem in target mode, obtaining an operation request corresponding to the communication event, and sending an event processing request to the modem in response to the operation request to instruct the modem to perform a function corresponding to the communication event. The embodiment includes the following steps:

[0047] S101, a first processor monitors communication events reported by a modem in a target mode of a wearable device; a second processor is in a non-working state in the target mode.

[0048] In the embodiments of the present application, an application in a wearable device is described as an example. The wearable device includes a first processor and a second processor, wherein the first processor is configured to run a first operating system and the second processor is configured to run a second operating system, and the power consumption of the first processor is lower than that of the second processor.

[0049] Here, the first operating system and the second operating system are two different operating systems that can be run independently on an electronic device, that is, the first operating system can be run on a first processor, and the power consumption when the first operating system is run on the first processor is low. The second operating system can be run on a second processor, and the power consumption when the second operating system is run on the second processor is higher than the power consumption when the first operating system is run on the first processor. For example, the first operating system can be a real-time operating system (RTOS), and the second operating system can be an Android system, a Windows system, a Symbian system, an IOS system, etc. Among them, RTOS refers to an operating system that can accept and process external events or data at a fast enough speed when they are generated, and the results of its processing can control the production process or respond quickly to the processing system within a specified time, and control all real-time tasks to run in a coordinated and consistent manner. Therefore, the RTOS system is compared to the Android system, which can provide timely response and has high reliability. Therefore, the power consumption when the first processor runs the RTOS system is lower than the power consumption when the second processor runs the Android system.

[0050] Optionally, the first processor may be an MCU (Microcontroller Unit), and the second processor may be an application processor (AP). MCU, also known as a single-chip microcomputer or single-chip microcomputer, is a chip with the frequency and specifications of the central processing unit (CPU) appropriately reduced. It can be understood that MCU refers to a relatively low-level single-chip microcomputer with simple supported functions. Its advantage is extremely low power consumption, which serves the purpose of battery life. The functions it provides in the device are also very limited, and it only processes commonly used and simple functions such as displaying time, alarm clock, and power. The AP processor is an integration of all computing chips. Its chip is more advanced, with richer functional modules and stronger processing capabilities to serve the functions, but at the same time its operating power consumption will also be relatively high.

[0051] Of course, the second processor can also be a system-on-a-chip (SOC). SoC is an integration of multiple different processor units (PUs), such as CPU, GPU, DSP, Codec, AP, etc., which are distributed in different positions of SoC to form a chip system that cooperates with each other. The embodiment of the present application does not limit the specific types of the first processor and the second processor. Among them, the first processor in the embodiment of the present application can be called a small core, and the second processor can be called a large core. Therefore, in the subsequent description process, if the large core is mentioned, it refers to the second processor, and if the small core is mentioned, it refers to the first processor.

[0052] See Figure 3 As shown, Figure 3 The internal structure of a wearable device is shown in FIG. A first processor (small core) and a second processor (large core) are both connected to a modem via a communication bus, meaning both processors can communicate with the modem. The modem is connected to a radio frequency (RF) module.

[0053] In this embodiment, in target mode, the first processor needs to monitor communication events reported by the modem. Optionally, the target mode is a long-lasting battery life mode, which means that the second processor is not powered on (i.e., not running), and only operates in a low-power mode of the first processor. In other words, the second processor is in a non-operating state in target mode.

[0054] Since only the first processor is running in target mode, the first processor is required to monitor the communication events reported by the modem. Among them, modem is the abbreviation of Modulator (modulator) and Demodulator (demodulator), which can also be called "cat". The modem can generally refer to a modem that includes a 3GPP protocol stack (such as: LTE / WCDMA / GSM and other wireless communication protocols). By converting the radio signal received by the RF module into a digital signal or converting the digital signal into a radio signal and transmitting it to the RF module. It can provide support for cellular communication functions such as making calls, sending text messages, and surfing the Internet. Among them, the communication events reported by the modem include but are not limited to registration 2 / 3 / 4G status, signal strength status, incoming calls, incoming text messages and other events.

[0055] For example, the first processor monitors the communication events reported by the modem by sending an event reporting instruction to the modem, instructing the modem to report after receiving any of the above communication events, so that the first processor can timely grasp the communication events currently to be processed by the device.

[0056] S102: The first processor obtains an operation request corresponding to a communication event, and sends an event processing request to the modem in response to the operation request; the event processing request is used to instruct the modem to execute a function corresponding to the communication event.

[0057] The first processor needs to obtain operation requests corresponding to the communication events monitored and reported by the modem, where the operation request refers to an operation request triggered when the user needs to process the communication event.

[0058] In one implementation, the first processor obtains the operation request corresponding to the communication event by displaying an identifier corresponding to the communication event on a display interface of the wearable device; and then obtaining the operation request corresponding to the identifier based on the display interface.

[0059] Specifically, after monitoring the communication event reported by the modem, the first processor will present the reported communication event with corresponding graphic changes (i.e., corresponding identifiers) on the display interface of the wearable device for the convenience of user viewing. After viewing the specific content of the communication event, if the user needs to process it, the user can trigger a corresponding operation request on the display interface (UI interface) of the wearable device. At this time, the first processor can receive the operation request. For example, the communication event can be one of turning on the flight mode, answering a call, and making a call. The corresponding operation triggered by the user on the display interface corresponds to a button to trigger turning on the flight mode, a button to trigger answering a call, inputting the number to be dialed on the display interface and triggering a button to make an outgoing call, etc. Figure 4 As shown, taking answering a call as an example, Figure 4 The first processor displays an icon corresponding to answering a call on the interface of the wearable device, and the user triggers the icon to generate an operation request for an answering call event.

[0060] In response to the operation request, the first processor sends an event processing request to the modem, where the event processing request is used to instruct the modem to execute a corresponding function of the communication event.

[0061] For example, a communication event can be one of: turning on airplane mode, answering a call, or making a call. After the user triggers the corresponding action on the display interface, the first processor sends an event processing request to the modem, which is a processing request for turning on airplane mode, answering a call, or making a call. After receiving the event processing request, the modem executes the corresponding function of the communication event, i.e., if answering a call, it executes the answering function; if making a call, it executes the making call function.

[0062] The communication event processing method provided in the embodiment of the present application uses a first processor to monitor the communication events reported by the modem in a target mode in which the second processor of the wearable device is in a non-working state, and obtain an operation request corresponding to the communication event, and send an event processing request to the modem in response to the operation request to instruct the modem to execute the corresponding function of the communication event. Since the second processor is in a non-working state in the target mode, and the operating power consumption of the second processor is less than the operating power consumption of the first processor, the first processor is running in the target mode. Then, in the target mode, the first processor with lower operating power consumption monitors the communication events reported by the modem, and then instructs the modem to execute the corresponding function of the communication event according to the user operation request. In this way, the wearable device is in a low-power operation mode while realizing the function of the cellular communication service, which greatly reduces the power consumption of the wearable device and greatly improves the battery life of the wearable device.

[0063] Taking the smart terminal watch as an example, the smart terminal watch is a smart terminal that replaces the functions of traditional watches. It is set as a dual-core system. The dual-core system refers to a hardware architecture based on two processor chips. Each processor runs an independent operating system. The two systems interact with each other to complete the functions of the hardware terminal. When the smart terminal watch supports cellular communication services, the smart terminal watch itself does not have a modem. The smart terminal watch cannot support the functions of cellular communication services alone. In this case, the smart terminal watch is just equivalent to a Bluetooth communication device. When performing cellular communication services (such as making calls), it is necessary to connect to a terminal with a modem (such as a mobile phone) to handle it. This makes it inconvenient to rely on other terminals when using the smart terminal watch to perform cellular communication services.

[0064] Therefore, in the related art, by installing a modem in a smartwatch, the smartwatch can provide cellular communication services independently of other terminals. In one approach, the modem is built into only the second processor (i.e., the large core) of the smartwatch. In this case, if the user needs to use operations such as making calls or sending text messages on the smartwatch, they must power on the second processor to wake it up, start the system, and process cellular communication services on the second processor's operating system. However, this approach causes the second processor to enter a running state, significantly increasing the power consumption of the entire device. Moreover, since the first processor (i.e., the small core) is often running in smartwatch terminals, the switching to the first processor when activating the second processor to complete cellular communication services takes time, and the user can notice a significant delay. Another approach is to add a modem chip to the first processor, where "external" means that it is within the terminal but not in the second processor's operating system, giving the first processor cellular communication capabilities. In this approach, since the second processor generally has a built-in modem, configuring the first processor with a modem or adding a modem to the first processor would waste modem resources, increasing the overall cost of the product.

[0065] Compared to the existing technology, in the embodiment of the present application, when the user needs to process communication services on the smart terminal watch, the processor of the second processor is not powered on (non-working state), and the first processor controls the modem to wake up the modem. In this state, the smart terminal watch only needs to use the wireless communication protocol stack and encoding and decoding capabilities of the modem when the first processor is running to complete the required cellular communication services, while ensuring relatively low power consumption, greatly reducing the power consumption of the entire device and improving the battery life of the smart terminal watch. Therefore, the embodiment of the present application does not enable the second processor system, and only processes cellular communication services in the low-power mode of the first processor, greatly improving the battery life of the watch and the response speed of enabling the cellular communication function operation.

[0066] In the technical solution of the present application, the first processor controls the modem in target mode. In one embodiment, modem control can be permanently assigned to the first processor. In non-target mode, the second processor is required to operate normally. If the second processor needs to use a cellular communication service function during normal operation, the first processor instructs the modem to complete the corresponding communication service function. When entering target mode, the second processor is powered off and placed in an inoperative state. Control of the modem itself belongs to the first processor, eliminating the need for a large first processor handover, thereby avoiding operational delays caused by the time required for the large first processor handover.

[0067] In the above case where the modem control right is always given to the first processor, there is no need to switch the first processor or transfer the modem control right. However, if the modem control right is given to the second processor, then when entering the target mode, the second processor needs to transfer the modem control right to the first processor to facilitate the first processor to control the modem.

[0068] Based on this, an embodiment is provided, which is a specific process for the second processor to transfer modem control rights to the first processor. This embodiment includes: the first processor receiving a first authority transfer instruction sent by the second processor; the first authority transfer instruction is used to transfer modem control rights from the second processor to the first processor; wherein the first authority transfer instruction is sent by the second processor in response to a first switching instruction, and the first switching instruction is used to instruct to switch from the original mode to the target mode.

[0069] This embodiment is directed to the process of entering target mode, that is, the process of switching from original mode to target mode. Target mode is the mode in which the second processor is inactive. Accordingly, original mode is the mode in which the second processor is active. Before entering target mode, the device is in original mode. In original mode, the second processor receives an operation request triggered by the user on the display interface. Therefore, if target mode is required, the user triggers a request to enter target mode on the display interface. Upon receiving the request, the second processor transfers control of the modem to the first processor. In other words, the second processor sends a first permission transfer instruction in response to the first switching instruction. The first switching instruction is an instruction to switch from original mode to target mode. Alternatively, the second processor detects that the device's display interface is off, indicating that target mode can be entered. At this point, the second processor can also transfer control of the modem to the first processor. For the first processor, it has received the first permission transfer instruction sent by the second processor. The first permission transfer instruction is used to transfer control of the modem from the second processor to the first processor.

[0070] After the second processor transfers the control right of the modem to the first processor, it is powered off to switch to a non-working state, and the wearable device enters the target mode.

[0071] In this embodiment, before entering target mode, the first processor receives modem control from the second processor. This ensures that the first processor can still control the modem for cellular communication services even in target mode, allowing daily cellular communication needs to be met even when the second processor is not operating. Furthermore, the first processor consumes less power, ensuring low power consumption, improving the battery life of the smart terminal watch, and enhancing responsiveness.

[0072] When the second processor transfers control of the modem to the first processor, in the first case, the transfer must be performed while the modem is powered off. This means the modem must be powered off first and then powered back on after the transfer of control is complete. In the second case, the transfer does not require the modem to be powered off. This means the modem does not need to be powered off and then powered back on. Either of these two cases can be selected based on actual circumstances and is not limited in this embodiment.

[0073] The first case where the handover process requires the modem to be powered off is described through an embodiment. In one embodiment, the embodiment further includes: if the modem is powered off, the first processor sends a power-on instruction to the modem; the power-on instruction is used to start the modem.

[0074] The power-on and power-off process of the modem may be completed before the first processor monitors the communication events of the modem in the target mode.

[0075] The modem is in the power-off state when the second processor receives a first switching instruction (instructing a switch from the original mode to the target mode) triggered by the user on the display interface, or after the second processor detects that the device display interface is off, it sends a power-off instruction to the modem, which is used to instruct the modem to power off. For example, after receiving the command, the modem reports to the network (the operator's server) that it needs to power off. The operator's server will feedback that it will execute the power-off, and the modem completes the power-off after receiving the feedback.

[0076] After the modem is powered off, the second processor will transfer control of the modem to the first processor. At this time, after the first processor receives control of the modem, if it finds that the modem is in a power-off state, the first processor sends a power-on instruction to the modem; the power-on instruction is used to start the modem.

[0077] In this embodiment, if the modem is in a power-off state, the first processor needs to instruct the modem to start up and wake up the modem, ensuring that the modem can still be controlled by the first processor to perform cellular communication services in the target mode to meet daily cellular communication needs.

[0078] Target mode is primarily designed for simple, commonly used user functions such as displaying time, alarms, and battery status. To perform other functions, the device must switch back to native mode. The following describes in detail the process of switching back to native mode from target mode, as well as how the second processor controls the modem to perform cellular communication services in native mode.

[0079] Then in one embodiment, if Figure 5 As shown, this embodiment includes the following steps:

[0080] S201: A first processor obtains a second switching instruction; the second switching instruction is used to instruct switching from a target mode to an original mode.

[0081] The target mode is a mode in which the second processor is in a non-working state. Before switching from the target mode back to the original mode, it is still in the target mode. Therefore, in the target mode, the first processor receives a second switching instruction indicating switching from the target mode to the original mode. The second switching instruction can be triggered by the user on the display interface of the device, or it can be generated when the first processor detects that the device switches from the screen-off state to the screen-on state.

[0082] S202: In response to the second switching instruction, the first processor sends a power-on instruction to the second processor, instructing the second processor to start.

[0083] In response to the acquired second switching instruction, the first processor sends a power-on instruction to the second processor to instruct the second processor to start, so that the second processor switches from the non-working state to the working state. At this time, the device switches from the target mode back to the original mode.

[0084] Optionally, after the second processor is started, the first processor sends a second authority transfer instruction to the second processor; the second authority transfer instruction is used to transfer the control authority of the modem from the first processor to the second processor.

[0085] If the control of the modem is transferred by the second processor, then after the second processor is started, the first processor needs to transfer the control of the modem back to the second processor, and the first processor sends a second authority transfer instruction to the second processor; the second authority transfer instruction is used to transfer the control of the modem from the first processor to the second processor.

[0086] Similarly, when the first processor transfers control of the modem to the second processor, in the first case, the transfer must occur while the modem is powered off, meaning the modem must be powered off first and then powered back on after the control transfer is complete. In the second case, the transfer does not occur while the modem is powered off, meaning the modem does not need to be powered off and then powered back on. Either of these two cases can be selected based on actual circumstances, and this embodiment of the present application does not limit this.

[0087] Taking the first method as an example, the first processor sends a power-off command to the modem, instructing it to power off. For example, after receiving the command, the modem reports the need to power off to the network (the operator's server). The operator's server will feedback that it will execute the power-off. After receiving this feedback, the modem completes the power-off. Only after the modem completes the power-off will the first processor transfer control of the modem back to the second processor. At this time, after receiving control of the modem and discovering that the modem is in the powered-off state, the second processor sends a power-on command to the modem to start the modem.

[0088] In the original mode, after the modem is started and the control weight of the modem is returned to the second processor, the second processor monitors the communication events reported by the modem, such as registration 2 / 3 / 4G status, signal strength status, incoming calls, incoming text messages and other events. The second processor presents corresponding graphic changes (corresponding logos) on the display interface of the device based on the reported communication events, which is convenient for the user to view. After that, the second processor receives the operation request of the corresponding communication event triggered by the user on the display interface, and sends an event processing request to the modem. The event processing request is used to instruct the modem to perform the corresponding function of the communication event. The process of the second processor controlling the modem to process cellular communication services can be referred to the process description of the first processor controlling the modem to process cellular communication services. The principles of the two are similar and will not be repeated here.

[0089] In an embodiment of the present application, after receiving an instruction to switch from the target mode back to the original mode, the second processor is awakened and control of the modem is transferred back to the second processor, so that after the original state of the wearable device is restored, the integrity of the wearable device function in the original state is guaranteed.

[0090] like Figure 6 As shown, the embodiment of the present application also provides a communication event processing method. This embodiment is described as an example when a smart terminal watch enters long-life mode, where the first processor is an MCU small-core processor and the second processor is an AP large-core processor. This embodiment includes the following steps:

[0091] S301: The AP large-core processor receives a first switching instruction, where the first switching instruction instructs the AP to enter a long-endurance mode.

[0092] S302: The AP's large core processor sends a power-off instruction to the modem.

[0093] S303: The AP large-core processor sends a first authority transfer instruction to the MCU small-core processor. The first authority transfer instruction is used to transfer the control authority of the modem from the AP large-core processor to the MCU small-core processor.

[0094] S304: The MCU small core processor monitors the communication events reported by the modem in the long battery life mode.

[0095] S305, the MCU small core processor displays an identifier corresponding to the communication event on the smart terminal watch interface according to the monitored communication event.

[0096] S306, the MCU small core processor receives an operation request when the user triggers an identifier corresponding to a communication event on the smart terminal watch interface.

[0097] S307 , the MCU small core processor sends an event processing request to the modem according to the operation request; the event processing request is used to instruct the modem to execute the corresponding function of the communication event.

[0098] The implementation principles and technical effects of each step in the communication event handling method provided in this embodiment are similar to those in the previous communication event handling method embodiments and will not be repeated here. The implementation methods of each step in this embodiment are only examples and are not limited to each implementation method. The order of each step can be adjusted in actual application as long as the purpose of each step can be achieved.

[0099] like Figure 7 As shown, the embodiment of the present application also provides a communication event processing method. This embodiment is described by taking the case where the smart terminal watch exits the long-life mode and the first processor is an MCU small-core processor and the second processor is an AP large-core processor as an example. This embodiment includes the following steps:

[0100] S401: The MCU small-core processor receives a second switching instruction, where the second switching instruction instructs to exit the long-endurance mode.

[0101] S402: The MCU small-core processor sends a power-on instruction to the AP large-core processor, instructing the AP large-core processor to start.

[0102] S403: The MCU small core processor sends a power-off instruction to the modem to shut down the modem.

[0103] S404, the MCU small-core processor sends a second authority transfer instruction to the AP large-core processor; the second authority transfer instruction is used to transfer the control authority of the modem from the MCU small-core processor to the AP large-core processor.

[0104] S405: The AP's large core processor monitors the communication events reported by the modem.

[0105] S406: The AP large core processor displays an identifier corresponding to the communication event on the smart terminal watch interface according to the monitored communication event.

[0106] S407: The AP large-core processor receives an operation request when the user triggers an identifier corresponding to a communication event on the smart terminal watch interface.

[0107] S408 , the AP large core processor sends an event processing request to the modem according to the operation request; the event processing request is used to instruct the modem to execute a corresponding function of the communication event.

[0108] The implementation principles and technical effects of each step in the communication event handling method provided in this embodiment are similar to those in the previous communication event handling method embodiments and will not be repeated here. The implementation methods of each step in this embodiment are only examples and are not limited to each implementation method. The order of each step can be adjusted in actual application as long as the purpose of each step can be achieved.

[0109] It should be understood that, although the various steps in the flowcharts in the above-mentioned figures are shown in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps may be performed in other orders. Moreover, at least a portion of the steps in the above-mentioned figures may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but may be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0110] In addition, an embodiment of the present application provides a communication event processing system, the system comprising: a first processor, a second processor, and a modem; the first processor is used to run a first operating system, the second processor is used to run a second operating system, and the operating power consumption of the first processor is lower than the operating power consumption of the second processor;

[0111] The first processor is used to monitor communication events reported by the modem in the target mode of the wearable device, obtain operation requests corresponding to the communication events, and send event processing requests to the modem in response to the operation requests; the event processing request is used to instruct the modem to execute the corresponding function of the communication event; the second processor is in a non-working state in the target mode.

[0112] In one embodiment, the second processor is configured to send a first authority transfer instruction to the first processor in response to the first switching instruction; the first switching instruction is configured to instruct switching from the original mode to the target mode; and the first authority transfer instruction is configured to transfer the control authority of the modem from the second processor to the first processor.

[0113] In one embodiment, the second processor is further configured to send a power-off instruction to the modem in response to the first switching instruction to shut down the modem;

[0114] The first processor is further configured to send a power-on instruction to the modem; the power-on instruction is configured to start the modem.

[0115] In one embodiment, the first processor is further configured to display an identifier corresponding to the communication event on a display interface of the wearable device, and obtain an operation request corresponding to the identifier based on the display interface.

[0116] In one embodiment, the first processor is further configured to send a power-on instruction to the second processor instructing the second processor to start up in response to a second switching instruction; the second switching instruction is configured to instruct switching from the target mode to the original mode.

[0117] In one embodiment, the first processor is further configured to send a second authority transfer instruction to the second processor; the second authority transfer instruction is configured to transfer the control authority of the modem from the first processor to the second processor.

[0118] For the specific definition of the communication event processing system, please refer to the definition of the communication event processing method above, which will not be repeated here. The various modules in the above-mentioned communication event processing system can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0119] In one embodiment, an electronic device is also provided, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the steps of a communication event processing method provided in the above embodiments.

[0120] Figure 8 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. Figure 8As shown, the electronic device includes a first processor, a second processor and a memory connected via a system bus. The first processor and the second processor are used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores a first operating system, a second operating system and a computer program, wherein the first operating system and the second operating system can be switched with each other and can also be run. The computer program can be executed by the first processor and the second processor to implement a communication event processing method provided in each of the above embodiments. The internal memory provides a high-speed cache operating environment for the operating system computer program in the non-volatile storage medium. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a car computer, a wearable device, a smart home, etc.

[0121] The various modules in the communication event processing system provided in the embodiments of the present application may be implemented in the form of a computer program. The computer program may be run on an electronic device or electronic device. The program modules comprising the computer program may be stored in the memory of the electronic device or electronic device. When the computer program is executed by a processor, the steps of the method described in the embodiments of the present application are implemented.

[0122] The present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, cause the processors to perform the steps of the communication event processing method.

[0123] A computer program product comprising instructions, when running on a computer, enables the computer to execute a communication event processing method.

[0124] Any reference to memory, storage, database or other media used in the embodiments of the present application may include non-volatile and / or volatile memory. Suitable non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0125] The above communication event processing examples only express several implementation methods of the present application. Their descriptions are relatively specific and detailed, but they should not be understood as limiting the scope of the patent application. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the scope of protection of the patent application shall be based on the attached claims.

Claims

1. A communication event processing method, characterized in that: Applied to a wearable device, the wearable device includes a first processor, a second processor, and a modem, wherein the first processor is used to run a first operating system, the first processor is also used to control and wake up the modem to complete communication services required by the wearable device, the second processor is used to run a second operating system, and the operating power consumption of the first processor is lower than the operating power consumption of the second processor, including: The first processor monitors communication events reported by the modem in a target mode of the wearable device; the second processor is in a non-working state in the target mode; The first processor obtains an operation request corresponding to the communication event, and sends an event processing request to the modem in response to the operation request; the event processing request is used to instruct the modem to execute a function corresponding to the communication event.

2. The method according to claim 1, characterized in that The method further comprises: The first processor receives a first authority transfer instruction sent by the second processor; the first authority transfer instruction is used to transfer the control authority of the modem from the second processor to the first processor; The first permission transfer instruction is sent by the second processor in response to a first switching instruction, and the first switching instruction is used to instruct switching from the original mode to the target mode.

3. The method according to claim 2, characterized in that Before the first processor monitors the communication events of the modem in the target mode, the method further includes: If the modem is in a power-off state, the first processor sends a power-on instruction to the modem; the power-on instruction is used to start the modem.

4. The method according to any one of claims 1 to 3, characterized in that The first processor obtains the operation request corresponding to the communication event, including: The first processor displays an identifier corresponding to the communication event on a display interface of the wearable device; The first processor obtains an operation request corresponding to the identifier based on the display interface.

5. The method according to claim 2 or 3, characterized in that The method further comprises: The first processor obtains a second switching instruction; the second switching instruction is used to instruct switching from the target mode to the original mode; In response to the second switching instruction, the first processor sends a power-on instruction to the second processor, instructing the second processor to start up.

6. The method according to claim 5, characterized in that After the second processor is started, the method further includes: The first processor sends a second authority transfer instruction to the second processor; the second authority transfer instruction is used to transfer the control authority of the modem from the first processor to the second processor.

7. The method according to any one of claims 1 to 3, characterized in that The target mode is the long endurance mode.

8. A communication event processing system, characterized in that: The system includes: a first processor, a second processor, and a modem; the first processor is used to run a first operating system, the second processor is used to run a second operating system, the first processor is further used to control and wake up the modem to complete communication services required by the wearable device, and the operating power consumption of the first processor is lower than the operating power consumption of the second processor; The first processor is used to monitor communication events reported by the modem in the target mode of the wearable device, obtain an operation request corresponding to the communication event, and send an event processing request to the modem in response to the operation request; the event processing request is used to instruct the modem to perform the corresponding function of the communication event; the second processor is in a non-working state in the target mode.

9. The system according to claim 8, characterized in that The second processor is used to send a first authority transfer instruction to the first processor in response to the first switching instruction; the first switching instruction is used to instruct switching from the original mode to the target mode; the first authority transfer instruction is used to transfer the control authority of the modem from the second processor to the first processor.

10. The system according to claim 9, characterized in that The second processor is further configured to send a power-off instruction to the modem in response to the first switching instruction to shut down the modem; The first processor is further configured to send a power-on instruction to the modem; the power-on instruction is used to start the modem.

11. The system according to any one of claims 8 to 10, characterized in that: The first processor is further configured to display an identifier corresponding to the communication event on a display interface of the wearable device, and obtain an operation request corresponding to the identifier based on the display interface.

12. The system according to claim 9 or 10, characterized in that The first processor is further configured to send a power-on instruction to the second processor instructing the second processor to start up in response to a second switching instruction; the second switching instruction is configured to instruct switching from the target mode to the original mode.

13. The system according to claim 11, wherein: The first processor is further configured to send a second authority transfer instruction to the second processor; the second authority transfer instruction is configured to transfer the control authority of the modem from the first processor to the second processor.

14. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the communication event processing method according to any one of claims 1 to 7.

15. 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 communication event processing method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Loosely coupled heterogeneous multi-core processing system supporting parallelism of multiple operating systems

    CN102929713A