Device control method, device, wearable device and storage medium
By adopting a dual-core system architecture in wearable devices and utilizing a low-power second processor to perform the photography function, the high power consumption problem caused by the photography function is solved, simplifying user operation and improving device battery life.
Patent Information
- Application Number
- CN202011508897.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-19
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2040-12-19
AI Technical Summary
The camera function of wearable devices requires high processing power, resulting in high power consumption and affecting the device's battery life.
It adopts a dual-core system architecture, in which a low-power second processor is used to perform the photo-taking function. The first processor receives user-triggered operations and sends instructions to the second processor to perform the photo-taking function, reducing user operation steps and lowering device power consumption.
It simplifies the user operation process, reduces device power consumption, improves the user experience, and meets the needs of the photography function.
Smart Images

Figure CN114650364B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a device control method, apparatus, wearable device and storage medium. Background Art
[0002] With the development of communication technology, smart wearable devices have attracted more attention from consumers.
[0003] At present, taking photos is a very important function in terminal consumer products and is deeply loved by consumers. When the photo function is applied to wearable devices, the photo function requires high processing power of the wearable devices, resulting in high power consumption of the wearable devices and affecting the battery life of the wearable devices. Summary of the invention
[0004] The embodiments of the present application provide a device control method, apparatus, wearable device and storage medium, which can simplify user operations.
[0005] In a first aspect, a device control method 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 system, and the second processor is used to run a second system, and the power consumption of the second processor is lower than the power consumption of the first processor, and the method includes:
[0006] Receiving a first trigger operation of the first system; the first trigger operation is used to trigger a camera function of the wearable device;
[0007] In response to the first trigger operation, a first instruction is sent to the second system; the first instruction is used to instruct the second system to execute a camera function to obtain image data.
[0008] In a second aspect, a device control apparatus 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 system, the second processor is used to run a second system, and the power consumption of the second processor is lower than that of the first processor, including:
[0009] An acquisition module, configured to receive a first trigger operation of the first system; the first trigger operation is used to trigger a camera function of the wearable device;
[0010] The response module is used to send a first instruction to the second system in response to the first trigger operation; the first instruction is used to instruct the second system to execute a camera function to obtain image data.
[0011] In a third aspect, a wearable device includes a memory and a first processor and a second processor, wherein the first processor is used to run a first system, the second processor is used to run a second system, the power consumption of the second processor is lower than that of the first processor, and a computer program is stored in the memory. When the computer program is executed by the first processor, the first processor executes the steps of the above-mentioned device control method.
[0012] In a fourth aspect, a computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned device control method when executed by a processor.
[0013] The above-mentioned device control method, apparatus, wearable device and storage medium are applied to wearable devices. The above-mentioned wearable device includes a first processor and a second processor, wherein the first processor is used to run a first system, and the second processor is used to run a second system, and the power consumption of the second processor is lower than the power consumption of the first processor. The above-mentioned method includes: receiving a first trigger operation of the first system; then, in response to the first trigger operation, sending a first instruction to the second system; wherein the above-mentioned first trigger operation is used to trigger the camera function of the wearable device; and the above-mentioned first instruction is used to instruct the second system to execute the camera function to obtain image data. Since the wearable device can receive the first trigger operation under the first system, when the user uses the camera function set in the second system, the user can directly execute the first trigger operation on the interface of the first system to execute the camera function, without switching the wearable device from the first system to the second system, thereby reducing the operation steps for the user to use the camera function under the first system and simplifying the user operation process; further, after receiving the first trigger operation of the user on the first interface, the wearable device can send a first instruction to the second system, so that the wearable device can also obtain image data when running under the first system, thereby meeting the user's demand for the camera function; in addition, since the power consumption of the first system is lower than that of the second system, the above method can not only reduce the power consumption of the device, but also meet the user's demand for the camera function, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.
[0015] Figure 1 An application environment diagram of a device control method in an embodiment;
[0016] Figure 2 is a flow chart of a device control method in one embodiment;
[0017] Figure 3 is a flow chart of a device control method in one embodiment;
[0018] Figure 4 is a schematic diagram of a device control method in one embodiment;
[0019] Figure 5 is a schematic diagram of a device control method in one embodiment;
[0020] Figure 6 is a schematic diagram of a device control method in one embodiment;
[0021] Figure 7 is a schematic diagram of a device control method in one embodiment;
[0022] Figure 8 is a flow chart of a device control method in one embodiment;
[0023] Fig. 9 is a flow chart of a device control method in one embodiment;
[0024] Fig.10 is a flow chart of a device control method in one embodiment;
[0025] Fig.11 is a schematic diagram of a device control method in one embodiment;
[0026] Fig.12 is a flow chart of a device control method in one embodiment;
[0027] Fig.13 is a flow chart of a device control method in one embodiment;
[0028] Fig.14 is a structural block diagram of a device control device in an embodiment;
[0029] Fig.15 is a structural block diagram of a device control device in an embodiment;
[0030] Fig.16 is a structural block diagram of a device control device in an embodiment;
[0031] Fig.17 is a structural block diagram of a device control device in an embodiment;
[0032] Fig.18 is a structural block diagram of a wearable device in one embodiment. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0034] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first system may be referred to as a second system, and similarly, a second system may be referred to as a first system. Both the first system and the second system are operating systems of a wearable device, but they are not the same operating system.
[0035] Figure 1 FIG. 1 is a schematic diagram of an application environment of a device control method in an embodiment. Figure 1 As shown, the application environment includes an electrical wearable device 100, and the wearable device may be, but is not limited to, a smart bracelet, a smart watch, smart glasses, a smart head-mounted device, and the like. The wearable device 100 may run multiple operating systems, including a first system and a second system, and the first system and the second system may be switched between them. The first system may be a system running on a microcontroller unit (MCU), or a system running on a graphics processing unit (GPU), which is not limited here. The second system may be a system running on a central processing unit (CPU).
[0036] Figure 2 FIG. 1 is a flow chart of a device control method according to an embodiment. The device control method according to this embodiment is to run Figure 1 The wearable device in the embodiment of the present invention is described as an example. The wearable device includes a first processor and a second processor. The first processor is used to run the first system, the second processor is used to run the second system, and the power consumption of the second processor is lower than that of the first processor. Figure 2 As shown, the device control method includes:
[0037] S101, receiving a first trigger operation of a first system; the first trigger operation is used to trigger a camera function of a wearable device.
[0038] The wearable device may be a portable device integrated into the user, which can exchange data with the cloud or other terminal devices. The wearable device may be a wrist-worn device, such as a smart bracelet, a smart watch, etc.; the wearable device may also be a head-worn device, such as a smart helmet, smart glasses, etc.; the wearable device may also be various types of devices, such as smart shoes and smart gloves.
[0039] The wearable device may include a first processor and a second processor, wherein the first processor is used to run the first system, and the second processor is used to run the second system. The two operating systems may respectively implement functions such as sensor data acquisition, and user interaction functions. For example, the first system in the wearable device may be an operating system running on the MCU, and the wearable device may measure the user's heart rate data, number of steps, etc. in the first system; the second system may be an operating system running on the main control board, and the wearable device may interact intelligently with the user through the second system, for example, it may implement a chat function, a photo taking function, etc. It should be noted that the first system and the second system are only used to distinguish between dual-core systems, the second system may also be a system that implements the sensor data acquisition function, and the first system may also be a system that implements the user interaction function.
[0040] When the wearable device is working in the first system, the first interface can be displayed. The first interface can be the default user interface of the wearable device in the first system, or it can be the interface reached after the user triggers the default user interface, which is not limited here. The user can perform the photo-taking function on the first interface. For example, the first interface can include a camera start interface, and the user can use the photo-taking function in the first system by triggering the camera start interface. In addition, the first interface can include interfaces of other applications, such as a pedometer program, etc. The first interface can also include a time display window, a background image set by the user, etc. The display method of the corresponding first interface is not limited here.
[0041] The above-mentioned camera startup interface can be an application interface displayed on the first interface; the above-mentioned camera startup interface can also be a shortcut icon interface set at the bottom of the screen, such as the camera logo in the lower right corner of the screen; the above-mentioned camera startup interface can also be a shortcut icon displayed in suspension on the first interface; the display method of the above-mentioned camera startup interface is not limited here.
[0042] When the user uses the photo function under the first system, he can click on the camera start interface displayed on the first interface to start the camera to perform the photo function; or, the user can pull up or pull down to superimpose the first interface on the current interface, thereby triggering the above-mentioned camera start interface on the first interface; the user can also slide left or right on the current interface to make the wearable device enter the first interface, and the wearable device can automatically trigger the camera start interface after entering the first interface; the user can also drag the drag bar on the first interface to trigger the camera start interface, and the triggering method of the first triggering operation is not limited here. It should be noted that the user can use a variety of triggering methods to perform the photo function under the first system of the wearable device, and the above-mentioned multiple methods can be any combination of the above-mentioned triggering methods.
[0043] The wearable device can control the display screen under the first system and monitor whether the user performs the first trigger operation.
[0044] S102: In response to a first trigger operation, a first instruction is sent to the second system; the first instruction is used to instruct the second system to execute a camera function to obtain image data.
[0045] After the wearable device obtains the first trigger operation, it can be considered that the user needs to use the camera function in the first system. The wearable device can send a first instruction to the second system through the first system to instruct the second system to execute the camera function to obtain image data.
[0046] The above-mentioned camera function can be used to obtain a single image, or to obtain multiple images taken continuously, or to obtain dynamic images, which are not limited here. In the above-mentioned camera function, the user can also select a camera mode so that the user can obtain image data in different modes. The above-mentioned camera modes may include scene modes, such as character scenes, night scenes, still life scenes, etc.; the above-mentioned camera modes may also include square images, panoramic images, time-lapse images, etc. The user can select the camera mode on the interface of the first system, or select the camera mode on the interface of the second system, which are not limited here. For example, after the user selects the camera mode on the interface of the first system, the wearable device can send the camera mode selected by the user to the second system through the data transmission channel, so that the second system can adopt the camera mode selected by the user to obtain image data.
[0047] Specifically, for a wearable device with a dual-core system, it can include a data transmission channel between the first system and the second system. The wearable device can send a first instruction to the second system through the data transmission channel, so that the second system can control the camera module in the second system according to the first instruction to implement the photo-taking function and obtain image data.
[0048] After the wearable device obtains the image data, it can be displayed on the interface so that the user can intuitively see the captured image; or the wearable device may not display the image data on the interface, but directly store the image data, so that the user can view the image captured by the user under the first system at any time when needed.
[0049] When the wearable device displays the image data on the interface, it can be displayed in a pop-up window, or the first interface can be jumped to the image display interface for display. The display method of the image data is not limited here.
[0050] After obtaining the first trigger operation, the wearable device may display the image data obtained by executing the camera function by the second system in the first system; or display the image data obtained by executing the camera function by the second system in the second system. After turning on the camera function, the wearable device may first display a preview image so that the user can determine the image data to be captured based on the preview image; or, after turning on the camera function, the wearable device may receive the user's camera instruction and directly capture the data collected by the current camera.
[0051] When storing image data, the wearable device can store the image data in the first system; optionally, the wearable device can also store the image data in the second system. Since the storage resources in the first system are limited, the wearable device can periodically clear the data stored in the first system to release the storage space in the first system and ensure that the first system can run smoothly.
[0052] The above-mentioned device control method is applied to a wearable device, and the above-mentioned wearable device includes a first processor and a second processor, wherein the first processor is used to run a first system, and the second processor is used to run a second system, and the power consumption of the second processor is lower than the power consumption of the first processor. The above-mentioned method includes: receiving a first trigger operation of the first system; then, in response to the first trigger operation, sending a first instruction to the second system; wherein the above-mentioned first trigger operation is used to trigger the camera function of the wearable device; and the above-mentioned first instruction is used to instruct the second system to execute the camera function to obtain image data. Since the wearable device can receive the first trigger operation under the first system, when the user uses the camera function set in the second system, the user can directly execute the first trigger operation on the interface of the first system to execute the camera function, without switching the wearable device from the first system to the second system, thereby reducing the operation steps for the user to use the camera function under the first system and simplifying the user operation process; further, after receiving the first trigger operation of the user on the first interface, the wearable device can send a first instruction to the second system, so that the wearable device can also obtain image data when running under the first system, thereby meeting the user's demand for the camera function; in addition, since the power consumption of the first system is lower than that of the second system, the above method can not only reduce the power consumption of the device, but also meet the user's demand for the camera function, thereby improving the user experience.
[0053] In one embodiment, based on the above embodiment, before the wearable device sends the first instruction to the second system, the second system in the dormant state can be awakened to the working state.
[0054] When the wearable device runs the first system, the second system may be in a dormant state. When the user triggers the camera start interface in the first system, the wearable device can wake up the second system so that the second system can perform the photo taking function to obtain image data. Specifically, the wearable device can send a wake-up instruction to the second system through the data transmission channel between the first system and the second system, so that the second system can switch from the dormant state to the working state.
[0055] After the second system completes the camera function, the wearable device obtains the image data. If the user no longer needs to use the camera function, a trigger operation to exit the camera function can be executed on the wearable device. The trigger operation can be a virtual control on the display interface that triggers the return to the main screen of the first system, or a physical control on the wearable device that triggers the return to the main screen. When the wearable device monitors the user's trigger to exit the camera function, the wearable device can assume that the user no longer needs to use the camera function and can control the second system to enter a dormant state. After the user triggers the operation to exit the camera function, the wearable device promptly controls the second system to enter a dormant state, which can reduce the number of processes running in the wearable device and reduce device power consumption.
[0056] Figure 3 : is a flow chart of a device control method in another embodiment. This embodiment relates to a way of displaying image data on a wearable device. Based on the above embodiment, the above method further includes:
[0057] S201. Displaying a first preview image interface in a first system; wherein the first preview image interface includes a window for a first image to be captured and a first photo-taking control, and the image to be captured displayed in the window for the first image to be captured is a preview image acquired by the second system.
[0058] Specifically, after the wearable device obtains the first trigger operation, the first system can send a wake-up instruction and a camera function start instruction to the second system through the data transmission channel to control the second system to turn on the camera module. After the camera module is turned on, the wearable device can capture a preview image through the second system, and send the preview image to the first system through the data transmission channel. The above preview image can be an image captured by the second system controlling the camera of different scenes when the user moves the wearable device. Optionally, due to resource limitations of the first system, or limitations on the transmission capacity of the data transmission channel, the second system can send the preview image at a preset sending interval, or the second system can compress the preview image and then send it to the first system through the data transmission channel.
[0059] The first system of the wearable device can control the display content of the display screen so that the display screen displays a first preview image interface of the first system, such as Figure 4 As shown. The first preview image interface may include a window for the first image to be captured and a first photo control. The window for the first image to be captured may be located above the first photo control or below the first photo control. The shape of the first photo control may be circular or in the shape of a camera, which is not limited here. The image to be captured may be displayed in the window for the first image to be captured, and the image to be captured is a preview image captured after the second system turns on the camera module.
[0060] S202: Receive a second trigger operation of the user on the first photo-taking control.
[0061] The user can capture the required image data from the different preview images displayed on the first preview image interface, and then perform a second trigger operation on the first photo control. The second trigger operation is for the user to capture the image data, and the second trigger operation can be a click operation or a slide operation, which is not limited here.
[0062] The first system in the wearable device can monitor the triggering status of the screen, and after receiving the second triggering operation, it can generate a photo-taking instruction according to the second triggering operation, and send the photo-taking instruction to the second system through the data transmission channel.
[0063] After receiving the photo-taking instruction, the second system controls the camera to execute the photo-taking function to collect current image data, and sends the image data to the first system through the data transmission channel.
[0064] S203 . In response to the second trigger operation, display the image data acquired by the second system in the first system.
[0065] After receiving the image data in the first system, the wearable device can control the display screen to display the image data in the first system. Specifically, the wearable device can display the image data on the current first preview image interface, or jump to other interfaces for display.
[0066] In one implementation, Figure 5 As shown, the wearable device can control the first photo control of the first preview image interface to switch from an operable state to an inoperable state after the user performs a second trigger operation on the first photo control. When the first photo control is in an inoperable state, the user cannot continue to trigger the control. In the inoperable state, the wearable device can control the first photo control to be displayed in gray, or add an inoperable indication to the logo of the first photo control, such as adding a layer displaying "X" to the logo of the first photo control; the display method of the above-mentioned inoperable state is not limited here. Furthermore, the wearable device can display the captured image data in the window of the first image to be captured in the first preview image interface. In the above implementation method, the wearable device directly displays the image data on the first preview image interface, which can reduce the frequency of interface updates under the first system and reduce the demand for the system processing power of the first system.
[0067] In another implementation, Figure 6 As shown, the wearable device can switch the current first preview image interface to the image display interface in response to the second trigger operation, so that the wearable device can display the image data in the display image interface. In the above implementation, after the wearable device switches the first preview image interface to the display image interface, the image data can be displayed in a larger display area, thereby showing the user richer image information, making it easier for the user to obtain the content in the image data, and improving the user's reading experience of the image data.
[0068] Furthermore, after the wearable device displays the image data acquired after the second system executes the camera function under the first system, it can return to the first preview image interface, so that the user can continue to operate the first camera control under the first preview image and continue to capture image data. The wearable device can display the first preview image interface under the first system after the display time of the image data exceeds a preset threshold, and switch the first camera control from an inoperable state to an operable state on the first preview image interface. Among them, if the image data is displayed in the window of the first image to be captured in the first preview image interface, the wearable device can continue to receive the preview image sent by the second system after the display time of the image data exceeds the preset threshold, and display the preview image in the window of the first image to be captured; then, the wearable device can switch the first camera control from an inoperable state to an operable state, so that the user can operate the first camera control. Alternatively, if the image data is displayed on the image display interface, such as Figure 7 As shown, the wearable device can continue to receive the preview image sent by the second system, and switch the image display interface to the first preview image interface, in the window of the first image to be captured; then, the wearable device can switch the first camera control from an inoperable state to an operable state, so that the user can continue to operate the first camera control to obtain more image data.
[0069] In the above-mentioned device control method, the wearable device directly displays the image data in the first system by transmitting image data, so that the user can use the camera function to view the image data in the interface of the same operating system, and the interface changes more smoothly; in addition, when the power consumption of the first system in the wearable device is low, the display content of the display screen is controlled by the first system, and the operation on the touch screen is monitored by the first system, so that the device can always run in low power consumption mode, thereby reducing the power consumption of the device.
[0070] Figure 8 2 is a flow chart of a device control method in another embodiment, wherein the first preview image interface further includes a first exit control. Based on the above embodiment, the above method further includes:
[0071] S301, receiving a third trigger operation performed by a user on a first exit control; the third trigger operation is used to exit a camera function in a first system.
[0072] A first exit control may also be displayed on the first preview image interface of the wearable device, and the first exit control may be a control for returning to the default user interface of the first system. The user may perform a third trigger operation on the first exit control to exit the camera function in the first system. The wearable device may monitor the trigger operation of the display screen in the first system and receive the third trigger operation.
[0073] S302: In response to a third trigger operation, display a default user interface of the first system.
[0074] Based on the above steps, the wearable device can send a camera function exit instruction to the second system through the data transmission channel. After receiving the camera function exit instruction, the second system can turn off the camera module. The wearable device can display the default user interface of the first system.
[0075] Furthermore, the wearable device may send a second instruction to the second system to instruct the second system to enter a sleep state.
[0076] According to the above device control method, the wearable device can monitor whether the user wants to exit the photo-taking function under the first system, so as to promptly receive the third trigger operation performed by the user on the first exit control, and thus can exit the photo-taking function according to the third trigger operation of the user; after the wearable device exits the photo-taking function, it displays the default user interface so that the user can continue to use other functions in the first system.
[0077] In one embodiment, a device control method is provided. Based on the above embodiment, Fig. 9 As shown, including:
[0078] S401, receiving a first trigger operation of a first system; the first trigger operation is used to trigger a camera function of a wearable device;
[0079] S402, waking up the second system in a dormant state to a working state;
[0080] S403, in response to the first trigger operation, sending a first instruction to the second system;
[0081] S404, displaying a first preview image interface in the first system; the first preview image interface includes a window for a first image to be captured and a first photo taking control, and the image to be captured displayed in the window for the first image to be captured is a preview image acquired by the second system;
[0082] S405, receiving a second trigger operation of the user on the first photo-taking control;
[0083] S406, controlling the second system to execute a camera function to obtain image data;
[0084] S407, controlling the wearable device to store the image data in the second system;
[0085] S408, on the first preview image interface, switching the first photo-taking control from an operable state to an inoperable state;
[0086] S409, receiving the image data acquired by the second system, and displaying the image data in the first system;
[0087] S410, after the display time of the image data exceeds a preset threshold, displaying a first preview image interface in the first system;
[0088] S411, on the first preview image interface, switching the first photo-taking control from an inoperable state to an operable state;
[0089] S412: receiving a third trigger operation performed by the user on the first exit control;
[0090] S413: In response to the third trigger operation, display the default user interface of the first system.
[0091] S414, controlling the second system to turn off the camera module;
[0092] S415. Send a second instruction to the second system; the second instruction is used to instruct the second system to enter a sleep state.
[0093] The implementation principle and technical effects of the above-mentioned device control method are similar to those of the above-mentioned embodiment and will not be repeated here.
[0094] Fig.10 : is a flow chart of a device control method in another embodiment. This embodiment relates to another way of displaying image data on a wearable device. Based on the above embodiment, the above method further includes:
[0095] S501. Displaying a second preview image interface through a second system; wherein the second preview image interface includes a window for a second image to be captured and a second photo control, and the image to be captured displayed in the window for the second image to be captured is a preview image obtained by the second system executing a photo function.
[0096] Specifically, after the wearable device monitors that the camera start interface is triggered, the first system can send a wake-up instruction and a camera function start instruction to the second system through the data transmission channel to control the second system to turn on the camera module. After the camera module is turned on, the wearable device can collect preview images through the second system. The preview images can be images collected by the second system controlling the camera for different scenes when the user moves the wearable device.
[0097] The wearable device can also send a control right switching instruction to the second system through the data transmission channel, so that the second system can control the display content of the wearable device and monitor the user's triggering operation on the touch screen after receiving the instruction. The wearable device can display the second preview image interface of the second system, such as Fig.11As shown. The second preview image interface may include a window for the second image to be captured and a second photo control. The window for the second image to be captured may be located above the second photo control or below the second photo control. The shape of the second photo control may be circular or camera-shaped, which is not limited here. The image to be captured may be displayed in the window for the second image to be captured, and the image to be captured is a preview image captured after the second system turns on the camera module.
[0098] S502: Receive, through the second system, a fourth trigger operation of the user on the second photo-taking control.
[0099] The user can capture the required image data from the different preview images displayed on the second preview image interface, and then perform the fourth trigger operation on the second photo control. The fourth trigger operation is for the user to capture the image data, and the fourth trigger operation can be a click operation or a slide operation, which is not limited here.
[0100] The second system in the wearable device can monitor the triggering status of the touch screen, and after receiving the fourth triggering operation, can control the camera module to execute the photo taking function and obtain image data.
[0101] S503: In response to the fourth trigger operation, display the image data acquired by the second system through the second system.
[0102] Furthermore, the wearable device can display the image data on the interface of the second system through the second system. Specifically, the wearable device can display the image data on the current second preview image interface, or jump to other interfaces for display.
[0103] Furthermore, after the wearable device displays the image data under the second system, it can return to the second preview image interface, so that the user can continue to operate the second photo control under the second preview image and continue to capture image data. After the display time of the image data is greater than a preset threshold, the wearable device can display the second preview image interface under the second system, and display the second photo control as an operable state on the second preview image interface.
[0104] In the above-mentioned device control method, the wearable device transmits image data through the data transmission channel, transfers the control authority of screen display and touch screen monitoring to the second system, and displays the image data through the second system, so that the second system does not need to send preview images and image data to the first system through the data transmission channel, and reduces the command interaction between the first system and the second system, greatly reduces the data transmission pressure of the data transmission channel, and makes the image data acquisition speed faster during the use of the camera function, thereby improving the user experience.
[0105] Fig.12 2 is a flow chart of a device control method in another embodiment, wherein the second preview image interface further includes a second exit control. Based on the above embodiment, the above method further includes:
[0106] S601. Receive, through the second system, a fifth trigger operation performed by the user on the second exit control; the fifth trigger operation is used to exit the camera function in the second system.
[0107] A second exit control may also be displayed on the second preview image interface of the wearable device, and the second exit control may be used for the photo function. The user may perform a fifth trigger operation on the second exit control to exit the photo function under the second system. The wearable device may monitor the trigger operation of the display screen under the second system and receive the fifth trigger operation. After receiving the fifth trigger operation, the wearable device may turn off the camera module, save image data, etc. under the second system; the second system may send a control authority transfer instruction to the first system through the data transmission channel, so that the first system may control the content displayed on the display and monitor the operation of the touch screen.
[0108] S602: In response to a fifth trigger operation, display a default user interface of the first system.
[0109] After the first system in the wearable device obtains the control authority, it can control the display to display the default user interface of the first system.
[0110] Furthermore, the wearable device may send a third instruction to the second system; the third instruction is used to instruct the second system to enter a sleep state.
[0111] According to the above device control method, the wearable device can monitor whether the user wants to exit the photo-taking function under the second system, so that the second preview image interface can be exited in time according to the user's fifth trigger operation; after the wearable device exits the second preview image interface, the default user interface of the first system is displayed, so that the user can continue to use other functions in the first system.
[0112] In one embodiment, a device control method is provided. Based on the above embodiment, Fig.13 As shown, including:
[0113] S701, receiving a first trigger operation of a first system; the first trigger operation is used to trigger a camera function of a wearable device;
[0114] S702, waking up the second system in a dormant state to a working state;
[0115] S703: In response to the first trigger operation, sending a first instruction to the second system; the first instruction is used to instruct the second system to execute a camera function to obtain image data;
[0116] S704, displaying a second preview image interface through the second system; the second preview image interface includes a window for a second image to be captured and a second camera control, and the image to be captured displayed in the window for the second image to be captured is a preview image acquired by the second system;
[0117] S705, receiving, through the second system, a fourth triggering operation of the user on the second photo-taking control;
[0118] S706, controlling the second system to execute a camera function to obtain image data;
[0119] S707, storing the data collected by the camera function in the second system;
[0120] S708, displaying the image data through the second system;
[0121] S709, after the display time of the image data is greater than a preset threshold, displaying a second preview image interface through the second system;
[0122] S710: receiving, through the second system, a fifth triggering operation performed by the user on the second exit control;
[0123] S711. In response to the fifth trigger operation, display the default user interface of the first system.
[0124] S712, controlling the second system to turn off the camera module;
[0125] S713. Send a third instruction to the second system; the third instruction is used to instruct the second system to enter a sleep state.
[0126] The implementation principle and technical effects of the above-mentioned device control method are similar to those of the above-mentioned embodiment and will not be repeated here.
[0127] It should be understood that although Figure 2-13 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-13 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0128] Fig.14 FIG. 1 is a structural block diagram of a device control device according to an embodiment. Fig.14 As shown, a device control device is applied to a wearable device, the wearable device includes a first processor and a second processor, wherein the first processor is used to run a first system, the second processor is used to run a second system, and the power consumption of the second processor is lower than that of the first processor, including:
[0129] The acquisition module 10 is used to receive a first trigger operation of the first system; the first trigger operation is used to trigger a camera function of the wearable device;
[0130] The response module 20 is used to send a first instruction to the second system in response to the first trigger operation; the first instruction is used to instruct the second system to execute a camera function to obtain image data.
[0131] In one embodiment, based on the above embodiment, the response module 20 is further used to wake up the second system in a dormant state to a working state.
[0132] In one embodiment, based on the above embodiment, Fig.15 As shown, the device further includes a first display module 30, and the first display module 30 is used to display the image data acquired by the second system under the first system.
[0133] In one embodiment, based on the above embodiment, the first display module 30 is specifically used to: display a first preview image interface under the first system; wherein the first preview image interface includes a window for a first image to be captured and a first photo-taking control, and the image to be captured displayed in the window for the first image to be captured is a preview image acquired by the second system; receive a second trigger operation of the user on the first photo-taking control; and in response to the second trigger operation, display the image data acquired by the second system under the first system.
[0134] In one embodiment, based on the above embodiment, the first display module 30 is further used to: on the first preview image interface, switch the first photographing control from an operable state to an inoperable state.
[0135] In one embodiment, based on the above embodiment, the first display module 30 is further used to: display image data in the first window for capturing the image in response to the second trigger operation.
[0136] In one embodiment, based on the above embodiment, the first display module 30 is further used to: display image data in the image display interface of the first system in response to the second trigger operation.
[0137] In one embodiment, based on the above embodiment, the first display module 30 is also used to: after the display time of the image data is greater than a preset threshold, display a first preview image interface under the first system, and on the first preview image interface, switch the first photo-taking control from an inoperable state to an operable state.
[0138] In one embodiment, based on the above embodiment, the first preview image interface also includes a first exit control, and the first display module 30 is also used to: receive a third trigger operation performed by the user on the first exit control; the third trigger operation is used to exit the photo-taking function under the first system; in response to the third trigger operation, display the default user interface of the first system.
[0139] In one embodiment, based on the above embodiment, Fig.16 As shown, the above device also includes a sleep module 40, and the sleep module 40 is used to: send a second instruction to the second system; the second instruction is used to instruct the second system to enter a sleep state
[0140] In one embodiment, based on the above embodiment, Fig.17 As shown, the device further includes a second display module 50, and the second display module 50 is used to display the image data acquired by the second system through the second system.
[0141] In one embodiment, based on the above embodiment, the second display module 50 is specifically used to: display a second preview image interface through the second system; wherein the second preview image interface includes a window for a second image to be captured and a second photo control, and the image to be captured displayed in the window for the second image to be captured is a preview image acquired by the second system; receive a fourth trigger operation of the user on the second photo control through the second system; in response to the fourth trigger operation, display the image data acquired after the second system executes the photo function through the second system.
[0142] In one embodiment, based on the above embodiment, the second display module 50 is further used to: display a second preview image interface through a second system after the display time of the image data is greater than a preset threshold.
[0143] In one embodiment, based on the above embodiment, the second display module 50 is also used to: receive a fifth trigger operation performed by the user on the second exit control through the second system; the fifth trigger operation is used to exit the photo-taking function under the second system; and in response to the fifth trigger operation, display the default user interface of the first system.
[0144] In one embodiment, based on the above embodiment, the sleep module 40 is further used to: send a third instruction to the second system; the third instruction is used to instruct the second system to enter a sleep state.
[0145] The division of the various modules in the above-mentioned device control device is only for illustration. In other embodiments, the device control device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned device control device.
[0146] For the specific definition of the device control device, please refer to the definition of the device control method above, which will not be repeated here. Each module in the above-mentioned device control device 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.
[0147] Fig.18 FIG. 1 is a schematic diagram of the internal structure of a wearable device in one embodiment. Fig.18 As shown, the wearable device includes a first processor, a second processor and a memory connected through a system bus. The first processor is used to run the first system, and the second processor is used to run the second system. The power consumption of the second processor is lower than that of the first processor, wherein the first processor and the second processor are used to provide computing and control capabilities to support the operation of the entire wearable device. 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 the processor to implement a device control method provided in each of the following embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium.
[0148] The implementation of each module in the device control device provided in the embodiment 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. The program modules constituted by the computer program may be stored in the memory of the wearable device. When the computer program is executed by the processor, the steps of the method described in the embodiment of the present application are implemented.
[0149] The embodiment of the present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the device control method.
[0150] A computer program product comprising instructions, when executed on a computer, causes the computer to execute a device control method.
[0151] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. 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 many 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).
[0152] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A device control method, characterized in that: Applied to a wearable device, the wearable device includes a first processor and a second processor, wherein the first processor is used to run a first system, the second processor is used to run a second system, and the power consumption of the first system is lower than the power consumption of the second system, including: Receiving a first trigger operation of the first system; the first trigger operation is used to trigger a camera function of the wearable device; In response to the first trigger operation, sending a first instruction to the second system; the first instruction is used to instruct the second system to acquire image data; The second system controls the camera module in the second system according to the first instruction to implement the photo-taking function and obtain the image data.
2. The method according to claim 1, characterized in that Before sending the first instruction to the second system in response to the first trigger operation, the method further includes: The second system in the dormant state is awakened to the working state.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: The image data acquired by the second system is displayed under the first system.
4. The method according to claim 3, characterized in that The displaying of the image data acquired by the second system under the first system comprises: Displaying a first preview image interface under the first system; wherein the first preview image interface includes a window for a first image to be captured and a first photo-taking control, and the image to be captured displayed in the window for the first image to be captured is a preview image acquired by the second system; Receiving a second trigger operation of the user on the first photo-taking control; In response to the second trigger operation, the image data acquired by the second system is displayed under the first system.
5. The method according to claim 4, characterized in that After receiving the second trigger operation of the user on the first photo-taking control, the method further includes: On the first preview image interface, the first photographing control is switched from an operable state to an inoperable state.
6. The method according to claim 5, characterized in that In response to the second trigger operation, displaying the image data acquired by the second system in the first system includes: In response to the second trigger operation, the image data is displayed in the window of the first image to be captured.
7. The method according to claim 5, characterized in that The method of displaying the image data acquired by the second system in the first system in response to the second trigger operation includes: In response to the second trigger operation, the image data is displayed in an image display interface of the first system.
8. The method according to claim 5, characterized in that After displaying the image data acquired by the second system in the first system, the method further comprises: After the display time of the image data is greater than a preset threshold, the first preview image interface is displayed under the first system, and on the first preview image interface, the first camera control is switched from an inoperable state to an operable state.
9. The method according to claim 4, characterized in that The first preview image interface also includes a first exit control, and the method further includes: receiving a third trigger operation performed by a user on the first exit control; the third trigger operation is used to exit the camera function under the first system; In response to the third trigger operation, a default user interface of the first system is displayed.
10. The method according to claim 9, characterized in that After receiving the third trigger operation performed by the user on the first exit control, the method further includes: A second instruction is sent to the second system; the second instruction is used to instruct the second system to enter a sleep state.
11. The method according to claim 1 or 2, characterized in that: The method further comprises: Image data acquired by the second system is displayed by the second system.
12. The method according to claim 11, characterized in that The displaying, by the second system, of the image data acquired by the second system comprises: Displaying a second preview image interface through the second system; wherein the second preview image interface includes a window for a second image to be captured and a second photo-taking control, and the image to be captured displayed in the window for the second image to be captured is a preview image acquired by the second system; receiving, through the second system, a fourth triggering operation of the user on the second photographing control; In response to the fourth trigger operation, the image data acquired by the second system is displayed through the second system.
13. The method according to claim 12, characterized in that After displaying the image data acquired by the second system under the second system, the method further comprises: After the display time of the image data is greater than a preset threshold, the second preview image interface is displayed through the second system.
14. The method according to any one of claim 12, characterized in that: The second preview image interface also includes a second exit control, and the method further includes: receiving, through the second system, a fifth trigger operation performed by the user on the second exit control; the fifth trigger operation is used to exit the camera function under the second system; In response to the fifth trigger operation, a default user interface of the first system is displayed.
15. The method according to claim 14, characterized in that After displaying the default user interface of the first system, the method further includes: A third instruction is sent to the second system; the third instruction is used to instruct the second system to enter a sleep state.
16. The method according to claim 1, characterized in that The method further comprises: storing the image data in the first system and / or the second system; The image data stored in the first system is cleared periodically.
17. A device control device, characterized in that: Applied to a wearable device, the wearable device includes a first processor and a second processor, wherein the first processor is used to run a first system, the second processor is used to run a second system, and the power consumption of the first system is lower than the power consumption of the second system, including: An acquisition module, configured to receive a first trigger operation of the first system; the first trigger operation is used to trigger a camera function of the wearable device; A response module, configured to send a first instruction to the second system in response to the first trigger operation; the first instruction is used to instruct the second system to execute a camera function to obtain image data; The second system is used to control the camera module in the second system to implement the photo-taking function and obtain the image data according to the first instruction.
18. A wearable device, characterized in that: It includes a memory and a first processor and a second processor, wherein the first processor is used to run a first system, the second processor is used to run a second system, the power consumption of the first system is lower than the power consumption of the second system, and a computer program is stored in the memory. When the computer program is executed by the first processor, the first processor executes the steps of the device control method as described in any one of claims 1 to 16.
19. 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 device control method according to any one of claims 1 to 16 are implemented.
Citation Information
Patent Citations
System interaction method and wearable equipment
CN110908496A
Wearable equipment and image signal processing device thereof
CN111988511A
Application program starting method and device
CN112015475A