Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, the first mode of operation may be referred to as a second mode of operation, and similarly, the second mode of operation may be referred to as the first mode of operation, without departing from the scope of the present application. Both the first and second modes of operation are modes of operation, but they are not the same mode of operation.
Fig. 1 is a schematic application environment diagram of a wearable device control method in an embodiment. As shown in fig. 1, the application environment includes awearable device 110 and anelectronic device 120. Thewearable device 110 may be a watch, a bracelet, or glasses, among others. Theelectronic device 120 may include any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and a wearable device. And each of thewearable device 110 and theelectronic device 120 includes a Subscriber Identity Module (SIM). A communication connection can be established between thewearable device 110 and theelectronic device 120, and a call operation is realized. The modes of operation of thewearable device 110 include a first mode of operation and a second mode of operation, wherein the first mode of operation consumes more power than the second mode of operation. The first operation mode is a mode in which the first system and the second system are simultaneously operated. The second operation mode is a mode in which only the second system is operated. Therefore, the power consumption of the first operation mode is higher than that of the second operation mode. And the power consumption of the first system is higher than that of the second system. The first system supports communication and the like operations and the second system supports motion and time dependent operations. And the sensors etc. can be controlled directly by the second system. For example, the first mode of operation may be a watch mode, supporting communication, etc. The second operation mode can be a bracelet mode and supports functions of step counting, heart rate detection and the like. The System may be, but not limited to, an android System, a Linux System, a Windows System, an IOS System, an RTOS (Real Time Operating System), and the like. For example, the first system may be an Android (Android) system and the corresponding second system may be an RTOS. Then, the first operation mode refers to that the wearable device simultaneously operates the android system and the RTOS system. The second operation mode is that the wearable device closes the android system and only operates the RTOS system.
Fig. 2 is a flow chart of a wearable device control method in one embodiment. The wearable device control method in this embodiment is described by taking thewearable device 110 in fig. 1 as an example. As shown in fig. 2, the wearable device control method includessteps 202 to 206.
Step 202, when the mode of the wearable device operation is the second operation mode, acquiring a triggered operation instruction.
The operation instruction triggered by the wearable device refers to an operation instruction triggered by a user and supported by the wearable device. For example, the operation instruction may be an operation instruction of a certain open application, a slide unlock instruction, or the like.
Specifically, when the mode in which the wearable device operates is the second operation mode, the wearable device may acquire and detect whether the triggered operation instruction is the first system-related instruction.
And 204, when the triggered operation instruction is detected to be a first system related instruction, switching the operation mode of the wearable device from the second operation mode to the first operation mode.
The first system-related instruction may refer to a communication-related instruction, such as an instruction to open a phone application, an instruction to open a dial, an instruction to input a phone number, a network-resident instruction, or a call start instruction, and may also refer to an entertainment-related instruction, such as a video display instruction, a game trigger instruction, and the like, without being limited thereto.
In particular, the second system does not support the execution of certain operating instructions, since the execution of certain operating instructions is power consuming. Such as communication-related instructions or entertainment-related instructions. These operation instructions can therefore only be called in the first system and corresponding operations are performed in the first system. When the wearable device detects that the triggered operation instruction is a communication-related instruction or an entertainment-related instruction or the like, the wearable device operation mode is switched from the second operation mode to the first operation mode.
Step 206, in the first operation mode, a first system related instruction is called to execute a corresponding operation.
Specifically, in a first operation mode, the wearable device calls a first system-related instruction through the first system to execute a corresponding operation.
In this embodiment, in the first operation mode, the wearable device may invoke the communication-related instruction by the first system to perform a communication operation, so as to implement a communication connection between the wearable device and the electronic device.
In this embodiment, in the first operation mode, the wearable device may invoke the video viewing related instruction by the first system to perform the video display operation, so as to increase the function of the wearable device.
In the wearable device control method in this embodiment, when the operating mode of the wearable device is the second operating mode, the triggered operating instruction is obtained, when it is detected that the triggered operating instruction is the first system-related instruction, the operating mode of the wearable device is switched from the second operating mode to the first operating mode, that is, when the triggered instruction is the first system-related instruction, the operating mode needs to be switched, and in the first operating mode, corresponding operation is executed according to the first system-related instruction, so that different operations can be implemented in a dual-system environment of the wearable device, and power consumption of the wearable device is reduced.
In one embodiment, the first system-related instructions comprise communication-related instructions. In a first operation mode, calling a first system related instruction to execute corresponding operation, including: under a first operation mode, acquiring an input communication identifier through a second system; sending the communication identification and the communication related instruction from the second system to the first system; and calling the communication-related instruction and the communication identifier to execute the communication-related operation through the first system.
The communication-related operation may be, but is not limited to, a call operation, a short message sending and receiving operation, and an internet access operation. The call operation refers to an operation of establishing a communication connection between the wearable device and the electronic device.
Communication identification refers to an identification that can be used to uniquely identify a telephone number or a user. For example, the communication identification may be a user name, a telephone number, a user number, and the like, without being limited thereto. The first system and the second system may share storage.
Specifically, in a first operation mode, the first system and the second system both operate, the wearable device obtains an input communication identifier through the second system, and sends the communication identifier and a communication related instruction from the second system to the first system. When the communication related instruction is a dialing related instruction, the wearable device performs a calling operation by mapping the communication identifier to a signal capable of performing the calling operation according to the dialing related instruction and the communication protocol through the first system. The communication protocol refers to the rules and conventions that must be followed by two entities to complete communication or service.
In the wearable device control method in this embodiment, in a first operation mode, an input communication identifier is acquired by a second system, and the communication identifier and a communication-related instruction are sent from the second system to a first system; through the first system, the communication related operation is executed according to the communication related instruction and the communication identifier, the second operation mode is operated when the dialing related instruction is not acquired, the electric quantity can be saved, the communication related operation is executed when the first system receives the communication related instruction and the communication identifier, and the communication connection can be realized under the dual-system environment of the wearable device.
In one embodiment, a wearable device includes a modem, a first processor, and a second processor, the first system located on the first processor, the second system located on the second processor, wherein power consumption of the first processor is higher than power consumption of the second processor, the modem coupled to the first processor, and the first processor coupled to the second processor. Invoking, by a first system, a communication-related instruction and a communication identifier to perform a communication-related operation, comprising: and calling the communication-related instruction and the communication identifier through a first processor of the first system to control the modem to execute communication-related operation.
Specifically, as shown in fig. 3, a hardware diagram of the wearable device in one embodiment is shown. The wearable device includes amodem 302, afirst processor 304, and asecond processor 306. Themodem 302 is coupled to afirst processor 304, and thefirst processor 304 is coupled to asecond processor 306. The first processor is a main processor and the second processor is a coprocessor. The first processor and the second processor are both microprocessors. For example, thefirst processor 304 may be a Central Processing Unit (CPU), and thesecond processor 306 may be a Micro Controller Unit (MCU) processor. The second processor may have installed therein motion and time related software or the like. The CPU has a main frequency up to 1.2GHz (gigahertz), and the MCU has a main frequency of about 120MHz (megahertz), so that the power consumption of the first processor is higher than that of the second processor, and the power consumption of the first system is higher than that of the second system. The electronic device calls the communication related instruction and the communication identifier through thefirst processor 304 of the first system, and controls the modem to send the communication analog signal, so that the electronic device corresponding to the communication identifier can receive the communication analog signal, and realize a telephone call or a network residence. The wearable device control method in this embodiment can execute communication-related operations in the case of only operating the first operation mode, and implement operations such as a phone call or a network residence.
In one embodiment, the wearable device comprises a first processor, a second processor and a display screen, wherein the first system is located on the first processor, the second system is located on the second processor, the first processor consumes more power than the second processor, the first processor is connected with the second processor, and the second processor is connected with the display screen. Acquiring the input communication identification through a second system, wherein the method comprises the following steps: displaying a communication related interface corresponding to the second system; and acquiring the input communication identification through the communication related interface.
The communication-related interface may refer to an interface for inputting a phone number or an interface for selecting a communication identifier. For example, the interface may be a dial interface, a short message interface, or an interface of an instant messaging tool, and the like.
Specifically, as shown in fig. 4, it is a hardware schematic diagram of a wearable device in another embodiment. The wearable device includes afirst processor 402, asecond processor 404, and adisplay 406. Thefirst processor 402 is coupled to thesecond processor 404. Thesecond processor 404 is coupled to adisplay 406. Because the second processor is connected with the display screen, the communication-related interface is a communication-related interface corresponding to the second system. The wearable device displays a communication related interface corresponding to the second system on the display screen, and obtains the input communication identification through the communication related interface.
In the wearable device control method in this embodiment, the first processor is connected to the second processor, the second processor is connected to the display screen, the wearable device displays a communication-related interface corresponding to the second system, and obtains the input communication identifier through the communication-related interface, that is, the interface related to the second processor is displayed through the display screen, so that power consumption of the wearable device is reduced.
In one embodiment, the first system is located on a first processor; the second system is located on a second processor. When the triggered operation instruction is detected to be a first system-related instruction, switching the mode of operation of the wearable device from the second operation mode to the first operation mode, including: when the triggered operation instruction is detected to be a first system-related instruction, a switch in the wearable device is controlled to enable the first processor and the second processor to be conducted, so that the operation mode of the wearable device is switched from the second operation mode to the first operation mode.
Fig. 5 is a schematic diagram of an internal structure of the wearable device in one embodiment. The wearable device may include one or more of aheart rate sensor 521, an acceleration +gyroscope 522, anatmospheric pressure sensor 523, atouch sensor 524, amagnetic sensor 525, a micro-pressuredifferential sensor 526, and the like. Thesecond processor 520 may be connected to a sensor included in the wearable device, and is configured to acquire data collected by the sensor; thesecond processor 520 may also be connected to a GPS (Global Positioning System)module 527, configured to obtain Positioning data received by the GPS antenna; and a DEBUG (DEBUG)module 528 for outputting DEBUG data of the wearable device.
Thefirst processor 510 and thesecond processor 520 are connected through an SPI (Serial Peripheral Interface), so that the first system and the second system can transmit communication data through the SPI bus. Thedisplay screen 530 is connected to thefirst Processor 510 and thesecond Processor 520 through a Mobile Industry Processor Interface (MIPI), and may display data output by thefirst Processor 510 or thesecond Processor 520. Thefirst processor 510 also includes a sensor hub driver, which may be used to drive the data acquisition and processing of the sensors.
Specifically, the first system is installed on a first processor and the second system is installed on a second processor. Fig. 6 is a schematic diagram illustrating an operation mode of the wearable device in one embodiment. Take the first operation mode as a watch mode and the second operation mode as a bracelet mode as an example. The watch mode and the bracelet mode can be switched with each other. In a second mode of operation, the first processor is powered down and the second processor is still powered on with the display screen or the like. When the wearable device detects that the triggered operation instruction is a first system-related instruction, a switch in the wearable device is controlled to enable the first processor and the second processor to be conducted, so that the operation mode of the wearable device is switched from the second operation mode to the first operation mode. That is, in the first mode of operation, the first processor and the second processor are on and both the first processor and the second processor are powered on.
In the wearable device control method in this embodiment, when it is detected that the triggered operation instruction is a first system-related instruction, the switch in the wearable device is controlled to turn on the first processor and the second processor, so as to switch the mode of operation of the wearable device from the second operation mode to the first operation mode, which can implement system switching, and switch the system to a system supporting some operations, thereby increasing functions of the wearable device.
In one embodiment, the wearable device control method further comprises: when the wearable device is in a standby state, a second operation mode is operated.
The standby state refers to a state in which the wearable device is turned on but does not perform substantial work. Specifically, the standby state may refer to storing data currently in an operating state in a memory, where the wearable device only supplies power to the memory, and the hard disk, the screen, the CPU, and other components stop supplying power. Since the data is stored in the fast memory, the waiting state is entered and the waking speed is fast. When the wearable device is in a standby state, the second operation mode, namely the mode with lower power consumption, is operated, so that the power consumption of the wearable device can be reduced, and the use duration after charging is prolonged.
In one embodiment, the wearable device control method further comprises: and when the operation execution is completed, switching the operation mode of the wearable device from the first operation mode to the second operation mode.
Specifically, after the operation is completed, the wearable device disconnects the first processor from the second processor, that is, the first processor is powered down, so as to switch the operation mode from the first operation mode to the second operation mode. Namely, the operation is automatically switched to a mode with lower power consumption after the execution is completed, so that the power consumption of the wearable device can be reduced, and the use time after charging is prolonged.
In an embodiment, as shown in fig. 7, a timing diagram of a wearable device control method in an embodiment, taking a communication related instruction as a dialing related instruction as an example, includes:
in step 702, the second processor obtains a triggered dialing related command.
At step 704, the second processor switches the mode of operation of the wearable device from the second mode of operation to the first mode of operation.
At step 706, the second processor obtains the input communication identification.
The second processor sends 708 a communication identification from the second processor to the first processor.
In step 710, the first processor performs mapping processing on the communication identifier.
The mapping process maps the communication identifier to a signal capable of performing a call operation according to the communication protocol.
At step 712, the first processor performs a call operation.
Step 714, the wearable device and the electronic device implement a phone interaction.
According to the wearable device control method in the embodiment, when the dialing related instruction is triggered, the switching operation is triggered, the second operation mode with lower power consumption is switched to the first operation mode with higher power consumption, the calling operation can be executed in the first operation mode, and the telephone interaction is realized.
In one embodiment, a wearable device control method is applied to a wearable device, the operation modes of the wearable device include a first operation mode and a second operation mode, wherein the first operation mode is a mode for operating a first system and a second system, the second operation mode is a mode for operating only the second system, the power consumption of the first operation mode is higher than that of the second operation mode, the wearable device includes a first processor, a second processor and a display screen, the first system is located on the first processor, the second system is located on the second processor, the power consumption of the first processor is higher than that of the second processor, the first processor is connected with a modem, the second processor is connected with the display screen, and the first system related instruction is taken as an example for explanation, and the method includes the following steps:
step a1, running a second mode of operation when the wearable device is in a standby state.
Step a2, when the mode of operation of the wearable device is the second operation mode, acquiring the triggered operation instruction.
Step a3, when the triggered operation instruction is detected to be a dialing related instruction, controlling a switch in the wearable device to make the first processor and the second processor conduct so as to switch the operation mode of the wearable device from the second operation mode to the first operation mode.
Step a4, in the first operation mode, displaying the communication related interface corresponding to the second system.
And a step a5, acquiring the input communication identification through the communication related interface.
Step a6, sending the communication identification and dialing related instruction from the second system to the first system.
Step a7, controlling the modem to execute the calling operation according to the dialing related command and the communication identifier by the first processor of the first system.
Step a8, after the call is finished, the mode of the wearable device is switched from the first operation mode to the second operation mode.
In the wearable device control method in this embodiment, when the operating mode of the wearable device is the second operating mode, the triggered operating instruction is obtained, when it is detected that the triggered operating instruction is the dialing related instruction, the operating mode of the wearable device is switched from the second operating mode to the first operating mode, that is, when the triggered instruction is the dialing related instruction, the operating mode needs to be switched, and in the first operating mode, a call operation is executed according to the dialing related instruction, so that a phone call can be implemented in a dual-system environment of the wearable device, and power consumption of the wearable device is saved.
It should be understood that although the steps in the flowcharts of fig. 2 and 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 8 is a block diagram of a wearable device control apparatus according to an embodiment. A wearable device control device comprises a wearable device, wherein the operation modes of the wearable device comprise a first operation mode and a second operation mode, wherein the first operation mode is a mode for operating a first system and a second system, the second operation mode is a mode for operating only the second system, and the power consumption of the first operation mode is higher than that of the second operation mode; as shown in fig. 8, the apparatus includes an obtainingmodule 802, aswitching module 804, and acalling module 806, including:
an obtainingmodule 802, configured to obtain a triggered operation instruction when the operation mode of the wearable device is a second operation mode;
theswitching module 804 is configured to switch the mode of operation of the wearable device from the second operation mode to the first operation mode when the triggered operation instruction is detected to be a first system-related instruction;
the invokingmodule 806 is configured to invoke the first system related instruction to execute the corresponding operation in the first operation mode.
In the wearable device control apparatus in this embodiment, when the mode in which the wearable device operates is the second operation mode, the triggered operation instruction is obtained, when it is detected that the triggered operation instruction is the first system-related instruction, the mode in which the wearable device operates is switched from the second operation mode to the first operation mode, that is, when the triggered instruction is the first system-related instruction, the operation mode needs to be switched, and in the first operation mode, the corresponding operation is executed according to the first system-related instruction, so that different operations can be implemented in a dual-system environment of the wearable device, and power consumption of the wearable device is saved.
In one embodiment, the first system-related instructions comprise communication-related instructions. The invokingmodule 806 is configured to, in the first operation mode, obtain the input communication identifier through the second system; sending the communication identification and the communication related instruction from the second system to the first system; and calling the communication-related instruction and the communication identifier to execute the communication-related operation through the first system.
In the wearable device control apparatus in this embodiment, in the first operation mode, the second system acquires the input communication identifier, and sends the communication identifier and the communication-related instruction from the second system to the first system; through the first system, the communication related instruction and the communication identifier are called to execute the communication related operation, the second operation mode is operated when the communication related instruction is not acquired, the electric quantity can be saved, when the first system receives the communication related instruction and the communication identifier, the communication related operation is executed, and the communication connection can be realized under the dual-system environment of the wearable device.
In one embodiment, a wearable device includes a modem, a first processor, and a second processor, the first system located on the first processor, the second system located on the second processor, wherein power consumption of the first processor is higher than power consumption of the second processor, the modem coupled to the first processor, and the first processor coupled to the second processor. The invokingmodule 806 is configured to invoke the dialing related instruction and the communication identifier through a first processor of the first system, and control the modem to perform the communication related operation. The wearable device control apparatus in this embodiment can execute communication-related operations to implement operations such as a phone call or a network residence when only the first operation mode is operated.
In one embodiment, the wearable device comprises a first processor, a second processor and a display screen, wherein the first system is located on the first processor, the second system is located on the second processor, the first processor consumes more power than the second processor, the first processor is connected with the second processor, and the second processor is connected with the display screen. The callingmodule 806 is configured to display a communication-related interface corresponding to the second system; and acquiring the input communication identification through the communication related interface.
In the wearable device control apparatus in this embodiment, the first processor is connected to the second processor, the second processor is connected to the display screen, and the wearable device displays a communication-related interface corresponding to the second system, and obtains the input communication identifier through the communication-related interface, that is, the interface related to the second processor is displayed through the display screen, so as to reduce power consumption of the wearable device.
In one embodiment, the first system is located on a first processor; the second system is located on a second processor. Theswitching module 804 is configured to control a switch in the wearable device to turn on the first processor and the second processor when the triggered operation instruction is detected to be a first system-related instruction, so as to switch the mode of operation of the wearable device from the second operation mode to the first operation mode.
In the wearable device control apparatus in this embodiment, when it is detected that the triggered operation instruction is a first system-related instruction, the switch in the wearable device is controlled to turn on the first processor and the second processor, so as to switch the mode of operation of the wearable device from the second operation mode to the first operation mode, which can implement system switching, and switch the system to a system supporting some operations, thereby increasing functions of the wearable device.
In one embodiment, the wearable device control apparatus further comprises an operation module. The operation module is used for operating a second operation mode when the wearable device is in a standby state. When the wearable device is in a standby state, the second operation mode, namely the mode with lower power consumption, is operated, so that the power consumption of the wearable device can be reduced, and the use duration after charging is prolonged.
In one embodiment, theswitching module 804 is further configured to switch the mode of operation of the wearable device from the first mode of operation to the second mode of operation when the execution of the operation is complete. Namely, the operation is automatically switched to a mode with lower power consumption after the execution is completed, so that the power consumption of the wearable device can be reduced, and the use time after charging is prolonged.
The division of the modules in the wearable device control apparatus is only used for illustration, and in other embodiments, the wearable device control apparatus may be divided into different modules as needed to complete all or part of the functions of the wearable device control apparatus.
For specific definitions of the wearable device control apparatus, reference may be made to the above definitions of the wearable device control apparatus, which are not described herein again. The respective modules in the wearable device control apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 9 is a schematic diagram of the internal structure of the wearable device in one embodiment. As shown in fig. 9, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing a wearable device control method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The wearable device may be a watch, bracelet, or the like.
The implementation of each module in the wearable device control apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules constituted by such computer programs may be stored on the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform steps of a wearable device control method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a wearable device control method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.