WO2023124634A1 - 显示方法、装置、电子设备及存储介质 - Google Patents

显示方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023124634A1
WO2023124634A1 PCT/CN2022/132941 CN2022132941W WO2023124634A1 WO 2023124634 A1 WO2023124634 A1 WO 2023124634A1 CN 2022132941 W CN2022132941 W CN 2022132941W WO 2023124634 A1 WO2023124634 A1 WO 2023124634A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
screen
dynamic interface
display
processor
Prior art date
Application number
PCT/CN2022/132941
Other languages
English (en)
French (fr)
Inventor
赵翔
曹晓亮
胡敏
黄锋华
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023124634A1 publication Critical patent/WO2023124634A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of electronic equipment, and more specifically, to a display method, device, electronic equipment, and storage medium.
  • the present application proposes a display method, device, electronic equipment and storage medium to improve the above problems.
  • an embodiment of the present application provides a display method applied to an electronic device, the electronic device includes a first processor and a second processor, the first processor is used to run the first system, and the first Two processors are used to run the second system, and the method includes: the first system controls the screen of the electronic device to display a dynamic interface; in response to switching from the first system to the second system, the second system The screen of the electronic device is controlled to display a static preview image corresponding to the dynamic interface.
  • an embodiment of the present application provides a display device that runs on an electronic device, the electronic device includes at least a first processor and a second processor, the first processor is used to run the first system, and the The second processor is used to run the second system, and the device includes: a first display module, used for the first system to control the screen of the electronic device to display a dynamic interface; a second display module, used for responding to the The first system is switched to the second system, and the second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface.
  • the embodiment of the present application provides an electronic device, including at least a first processor, a second processor, and a memory; one or more programs are stored in the memory and configured to be executed by the first The processor or the second processor executes, and the one or more programs are configured to execute the display method provided by the first aspect above.
  • an embodiment of the present application provides a computer-readable storage medium, where program code is stored in the computer-readable storage medium, wherein the above-mentioned first aspect is executed when the program code is run by a processor Provided display method.
  • FIG. 1 shows a flowchart of a display method provided by an embodiment of the present application
  • FIG. 2 shows a sequence diagram of data interaction between an electronic device and a designated application provided by an embodiment of the present application
  • FIG. 3 shows another sequence diagram of data interaction between an electronic device and a designated application provided by an embodiment of the present application
  • Fig. 4 shows a static effect diagram of the dynamic interface displayed on the screen of the electronic device controlled by the first system provided by the embodiment of the present application
  • Fig. 5 shows a flow chart of a display method provided by another embodiment of the present application.
  • Fig. 6 shows an example diagram of switching the displayed dynamic interface to a new dynamic interface by the first system provided by the embodiment of the present application
  • FIG. 7 shows a flow chart of a display method provided by another embodiment of the present application.
  • Fig. 8 shows an example diagram of controlling the screen switching of the electronic device to display different dynamic interfaces in response to the second touch operation acting on the screen of the electronic device provided by the first system provided by the embodiment of the present application;
  • FIG. 9 shows a structural block diagram of a display device provided by an embodiment of the present application.
  • FIG. 10 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 11 shows a storage unit used to store or carry program codes for implementing the display method according to the embodiment of the present application in the embodiment of the present application.
  • the inventor found that the screen of the electronic device can be controlled to display a dynamic interface through the first system; in response to switching from the first system to the second system, the second system controls the screen of the electronic device to display a static preview image corresponding to the dynamic interface .
  • the above method realizes that the first system controls the screen display dynamic interface of the electronic equipment, and when the system in the running state is switched from the first system to In the second system, the screen of the electronic device is controlled by the second system to only display the static preview image corresponding to the dynamic interface.
  • the power required by the electronic device to display interface data is saved, thereby prolonging the life of the electronic device.
  • the battery life of electronic devices is long, which in turn improves user experience.
  • the inventor proposes a display method, device, and electronic device provided by the present application that can save the power required by the electronic device to display interface data, thereby prolonging the battery life of the electronic device and further improving the user experience. and storage media.
  • FIG. 1 shows a flow chart of a display method provided by an embodiment of the present application.
  • This embodiment provides a display method that can be applied to electronic devices.
  • the electronic device in the embodiment of the present application includes at least a first A processor and a second processor, the first processor is used to run the first system, and the second processor is used to run the second system.
  • the first processor can be understood as a large core
  • the first system can be understood as a large core system in a dual system
  • the second processor can be understood as a small core
  • the second system can be understood as a small core system in a dual system.
  • the electronic device can be a mobile communication device equipped with a dual system such as a smart phone, a computer, a tablet, and a smart TV with a network connection function, or it can be a smart wearable device configured with a dual system, such as a smart watch, a smart wrist Ring, or other similar dial devices configured with dual systems, the specific type of the electronic device is not limited, and the electronic device is configured with a display screen.
  • the method includes:
  • Step S110 the first system controls the screen of the electronic device to display a dynamic interface.
  • the power consumption of the first system is higher than the power consumption of the second system.
  • the first system and the second system are respectively configured with applications with different functions, and the first system and the second system interact with each other (for example, switch each other) to complete the functions of the electronic device.
  • the first system can receive the dynamic interface data in the running state, and send the dynamic interface data to the second system.
  • the first system being in the running state may be understood as the system responsible for data processing is the first system (that is, the first system is in use), wherein the data processing may include processing at least one of application program data and sensor data; or It can be understood that the first system is running in the foreground, and the first processor running the first system controls the display screen of the electronic device to display data.
  • the dynamic interface represents an interface dynamically displayed on the interface
  • the dynamic interface may be a dial interface dynamically displaying expressions on a dial of a smart watch, or a display interface dynamically displaying expressions on a display screen of a smart TV.
  • the dynamic interface data includes data such as content displayed on the dynamic interface.
  • the first system may receive dynamic interface data sent by a specified application program in the running state, and at this time, the dynamic interface data may be packaged for the specified application program and then sent.
  • the specified application program may be a health data management application program (the type of the specific application program may not be limited).
  • FIG. 2 shows a sequence diagram of data interaction between an electronic device and a specified application program provided by an embodiment of the present application.
  • the electronic device is a smart wearable device (that is, the Wear Device shown in Figure 2)
  • the smart wearable device communicates with the mobile phone
  • the mobile phone is configured with a specified application program (Health APP as shown in Figure 2 ) and emoticon resource applications (ie Omoji APP shown in Figure 2).
  • a specified application program Health APP as shown in Figure 2
  • emoticon resource applications ie Omoji APP shown in Figure 2
  • the omoji app can obtain the device information (such as the resolution and bit rate shown in Figure 3) of the connected device (that is, the electronic device) provided by the Health APP by calling the getDeviceInfo() method of the provider interface, and then Through the device information, the corresponding required omoji expression resources can be generated and put into the fileprovider directory, and then the addNewWfStyleRes() method can be called to notify the Health APP to use, and the Health APP will copy the omoji expression resources to the device resource directory for style storage.
  • the device information such as the resolution and bit rate shown in Figure 3
  • the Health APP can return the error result to the Omoji APP, and the Omoji APP will give an exception prompt.
  • the stored temporary file resources ie expression resources
  • the Health APP After the Health APP successfully adds new omoji expression resources, it will put the omoji expression resources into a temporary folder, and then the Health APP will list them into the library (add to the database record style list), and then when the user selects
  • the time style the time style can include multiple fonts, such as italics, Song typeface, black body, etc.
  • the style file will be packaged (including the description of the time style) and sent to the smart wearable device, and then the smart wearable device will display it on the smart wearable device after receiving it.
  • the current watch face of the wearable device The current watch face of the wearable device.
  • the first system may control the screen of the electronic device to display the dynamic interface.
  • the dynamic interface data may include the background and the dynamic expression.
  • the first system may control the screen of the electronic device to dynamically display the interface including the background and the dynamic expression. Both the background and the dynamic emoticon can be dynamically displayed, or only the emoticon can be dynamically displayed.
  • the first system can support dynamic display
  • the second system is configured to support static display in order to save power and increase battery life.
  • the format supported by the first system may be jpg format
  • the format supported by the second system may be binary image format of rgb565.
  • the first system when it sends the dynamic interface data to the second system, it may first generate a static preview image corresponding to the dynamic interface according to the background and dynamic expressions, and then send the static preview image to the second system.
  • the background when generating the static preview image corresponding to the dynamic interface according to the background and the dynamic expression, the background may be used as the background image of the static preview image, and the expression content corresponding to the dynamic expression is superimposed on the background image to obtain the static preview image.
  • the number of backgrounds can be one or more, and the dynamic expressions can be different dynamic expressions of the same face or different dynamic expressions of different faces.
  • the background may include time ("09:30" as shown in Figure 4), date ("March 6" as shown in Figure 4) and week ( As shown in Figure 4 "Friday") and other content, wherein, the specific display style of each content can not be limited, the display style includes display font, display format (such as xx year xx month xx day, or xx month xx day, etc. display format) and display position, etc.
  • the dynamic expressions may be different expressions corresponding to different cartoon characters.
  • Step S120 In response to switching from the first system to the second system, the second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface.
  • the screen of the electronic device can be controlled by the second system to display a static preview image corresponding to the dynamic interface, and the static preview image corresponding to the dynamic interface represents A static image that displays the same content as that displayed on the dynamic interface.
  • the first system is run by the first processor, and the second system is run by the second processor.
  • the first processor can notify the second processor, and then the second processor can control the screen display dynamics of the electronic device.
  • the static preview image corresponding to the interface.
  • the processor in the embodiment of the present application may be a separate processing chip.
  • the first processor and the second processor are each a separate processing chip;
  • the processor may also be a processing core on an integrated chip.
  • the first processor and the second processor may be understood as two processing cores on an integrated chip.
  • the screen of the electronic device is controlled by the first system to display the dynamic interface, and then in response to switching from the first system to the second system, the second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface .
  • this solution realizes that the first system controls the screen display dynamic interface of electronic equipment, and when the system in the running state is switched from the first system to In the second system, the screen of the electronic device is controlled by the second system to only display the static preview image corresponding to the dynamic interface.
  • the power required by the electronic device to display interface data is saved, thereby prolonging the life of the electronic device.
  • the battery life of electronic devices is long, which in turn improves user experience.
  • FIG. 5 shows a flow chart of a display method provided by another embodiment of the present application.
  • This embodiment provides a display method that can be applied to electronic devices. The method includes:
  • Step S210 the first system controls the screen of the electronic device to display a dynamic interface.
  • the second system can respond The received data receiving command sends a wake-up command to the first system, and the first system can switch from the sleep state to the running state in response to the wake-up command.
  • the data receiving instruction is generated by the external device before the external device sends the dynamic interface data to the electronic device, and the data receiving instruction is used to notify the second system that the electronic device needs to receive the dynamic interface data sent by the external device.
  • the external device The dynamic interface data can be sent to the electronic device through the configured specified application program.
  • the wake-up command is used by the first system to wake up the second system, and notifies the second system that the electronic device needs to receive dynamic interface data sent by the external device.
  • the wake-up command can be generated by the second system and then sent to the first system, or can be generated by other sensors (the specific type of the sensor is not limited here, it can detect that the electronic device needs to receive the dynamic interface data sent by the external device) Then send it directly to the first system.
  • the second system may send a wake-up command to the first system to wake up the first system, and the first system may respond to the wake-up command, Switching from the dormant state to the running state, at this time, the second system can receive the dynamic interface data sent by the external device, and transparently transmit the dynamic interface data to the first system. If the dynamic interface data sent by the external device at this time is new dynamic interface data, then the second system can transparently transmit the received new dynamic interface data to the first system.
  • Step S220 In response to the switching instruction of the dynamic interface, the first system switches the displayed dynamic interface to a new dynamic interface.
  • the switching instruction of the dynamic interface is generated during the process of the first system controlling the display of the dynamic interface on the screen of the electronic device, and the switching instruction can be used to randomly switch the dynamic interface between different contents, and the "content" can be understood as The dynamically changing subject itself.
  • the face of the expression dial interface shown in Figure 4 is switched to the face of the expression dial interface shown in Figure 6, the face of the expression dial interface shown in Figure 4 is the same as the person of the expression dial interface shown in Figure 6
  • the faces are different human faces.
  • a switching instruction for the dynamic interface may be generated, and at this time the first system may In response to the switching instruction of the dynamic interface data, the displayed dynamic interface is switched to new dynamic interface data.
  • FIG. 6 shows an example diagram of switching the displayed dynamic interface to a new dynamic interface by the first system provided by the embodiment of the present application.
  • the dynamic interface shown in Figure 4 is the first dynamic interface displayed on the screen of the electronic device
  • the dynamic interface shown in Figure 4 can be switched to the dynamic interface shown in Figure 6 Interface (compared to the dynamic interface shown in Figure 4, Figure 6 shows a new dynamic interface).
  • Step S230 Send the dynamic interface data corresponding to the new dynamic interface to the second system.
  • the first system When the first system switches the displayed dynamic interface to a new dynamic interface, it will send (synchronize) the dynamic interface data corresponding to the new dynamic interface to the second system, so that the second system can obtain the electronic device in time
  • the current expression dial data ensures the consistency of information.
  • the first system sends the dynamic interface data corresponding to the new dynamic interface to the second system, it will first convert the new dynamic interface into the corresponding static preview image.
  • the specific conversion implementation method please refer to the aforementioned The description in the embodiment will not be repeated here.
  • Step S240 In response to switching from the first system to the second system, the second system controls the screen of the electronic device to display a static preview image corresponding to the new dynamic interface.
  • the second system After the first system switches the displayed dynamic interface to a new dynamic interface, and sends the dynamic interface data corresponding to the new dynamic interface to the second system, the second system will also control the screen of the electronic device to display the corresponding dynamic interface.
  • the static preview image for the specific implementation process, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
  • system switching may be triggered. For example, it can be triggered to switch the running system from the first system to the second system, or switch the running system from the second system to the first system.
  • the value of the preset duration may not be limited, for example, it may be 10 seconds, 15 seconds, 20 seconds or 30 seconds or other values.
  • the system in the running state can be triggered by the first system Switch to the second system.
  • the running state when it is detected that the screen of the electronic device is in the off-screen state for a preset duration, and the screen state of the electronic device is switched from the off-screen state to the on-screen state, the running state can be triggered.
  • the system is switched from the first system to the second system.
  • the specific function key may include an on/off key or a Home key of the electronic device.
  • the trigger screen is switched from the off-screen state to the on-screen state, then it can be detected that the screen of the electronic device is in the off-screen state
  • the system in the running state is triggered to switch from the first system to the second system.
  • the specific application program may include an instant messaging application program
  • the message notification of the specific application program may be a message notification of the instant messaging application program, or an incoming phone call, and the like.
  • the screen display of the electronic device is controlled by the first system to display the dynamic interface, and then in response to the switching instruction of the dynamic interface, the displayed dynamic interface is switched to a new dynamic interface, and then the new dynamic interface is switched to a new dynamic interface.
  • the corresponding dynamic interface data is sent to the second system, and then in response to switching from the first system to the second system, the second system controls the screen of the electronic device to display a static preview image corresponding to the new dynamic interface.
  • This solution realizes that the first system controls the screen display dynamic interface of the electronic equipment, and when the system in the running state is switched from the first system to the second system, the screen of the electronic equipment controlled by the second system only displays the dynamic interface corresponding
  • the static preview image by only displaying the static preview image corresponding to the dynamic interface, saves the power required by the electronic device to display interface data, thereby prolonging the battery life of the electronic device, thereby improving the user experience.
  • the dynamically displayed interface of the first system is running changes, the static preview corresponding to the changed dynamic interface is sent to the second system, so that the first system and the second system can display the same display in their respective display support methods information to improve user experience.
  • FIG. 7 shows a flow chart of a display method provided by another embodiment of the present application.
  • This embodiment provides a display method that can be applied to electronic devices, and the method includes:
  • Step S310 the first system controls the screen of the electronic device to display a dynamic interface.
  • Step S320 In response to switching from the first system to the second system, the second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface.
  • Step S330 Responding to a first touch operation acting on the screen of the electronic device, wake up the first system in a dormant state.
  • the first touch operation can be used to trigger to wake up the first system in the dormant state, and the first touch operation can be a click operation, a tap operation, a key (in this case, a virtual key) operation, or a sliding (sliding) operation. Shift) operation, the specific type of the first touch operation may not be limited.
  • the electronic device is a smart watch
  • the first system when the first system is in a dormant state, if the user clicks on the dial interface of the smart watch, the first system may be triggered to respond to the first touch operation acting on the screen of the electronic device, Switch from sleep state to wake state.
  • the first processor when the first system is in the dormant state, the first processor is in the background running state, and when the first system is switched from the dormant state to the awake state, the first processor will be switched from the dormant state to the awake state.
  • the first processor can control the display screen of the electronic device to display data; or the first processor will not control the display screen of the electronic device to display data, but only when the first system is in the running state, the first processing The controller will control the display screen of the electronic device for data display.
  • Step S340 the first system controls the screen of the electronic device to display the dynamic interface.
  • the first system when the first system switches from the dormant state to the awake state, if the first processor can control the display screen of the electronic device to display data, at this time, the first system (that is, the first processor) will again The screen of the control electronic device displays a dynamic interface. It should be noted that if the first system controls the screen of the electronic device to display the dynamic interface for the first time, the displayed dynamic interface does not change, then the first system again controls the dynamic interface displayed on the screen of the electronic device to be The previous dynamic interface; if the first system controls the screen display dynamic interface of the electronic device for the first time, the displayed dynamic interface changes, then the first system controls the dynamic interface displayed on the screen of the electronic device again to change After the dynamic interface.
  • the first system may respond to the first touch operation acting on the screen of the electronic device.
  • Touch operation control the screen switching of the electronic device to display different dynamic interfaces, where different dynamic interfaces represent dynamic interfaces with different content, that is, control the screen of the electronic device to randomly switch to display different dynamic interfaces, and the different dynamic interfaces also It can be understood as the new dynamic interface described in the foregoing embodiments. It should be noted that when the first system controls the screen of the electronic device to display the dynamic interface for the first time, if there is a touch operation acting on the screen of the electronic device, it can also control the screen of the electronic device to randomly switch and display different dynamic interfaces.
  • FIG. 8 shows that the first system provided by the embodiment of the present application can control the screen switching of the electronic device to display different dynamics in response to the second touch operation acting on the screen of the electronic device.
  • An example diagram of the interface As shown in FIG. 8, assuming that the screen of the electronic device initially displays the dynamic interface shown in FIG. The dynamic interface is switched to the dynamic interface shown in the leftmost figure in Figure 8.
  • the dynamic interface shown in the leftmost figure in Figure 8 can be switched to Figure 8
  • the dynamic interface shown in the middle figure of FIG. 8 is switched to the dynamic interface shown in the rightmost figure of FIG. 8 .
  • the screen of the electronic device is controlled by the first system to display the dynamic interface, and then in response to switching from the first system to the second system, the second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface , and then in response to the first touch operation acting on the screen of the electronic device, the first system in the dormant state is awakened, and then the first system controls the screen of the electronic device to display a dynamic interface.
  • FIG. 9 is a structural block diagram of a display device provided by an embodiment of the present application.
  • This embodiment provides a display device 500 that can run on an electronic device, and the electronic device includes at least a first processor and a second processor The first processor is used to run the first system, and the second processor is used to run the second system.
  • the device 500 includes: a first display module 510 and a second display module 520:
  • the first display module 510 is used for the first system to control the screen of the electronic device to display a dynamic interface.
  • the apparatus 500 may further include a data receiving module, configured for the first system to receive dynamic interface data and send the dynamic interface data to the second system.
  • the dynamic interface data includes a background and a dynamic expression
  • the sending the dynamic interface data to the second system includes: generating a static preview image corresponding to the dynamic interface according to the background and the dynamic expression ; Send the static preview image to the second system.
  • the device 500 may further include a wake-up module, configured to send a wake-up instruction to the first system by the second system in response to the received data receiving instruction before the first system receives the dynamic interface data; A system switches from a dormant state to a running state in response to the wake-up command.
  • a wake-up module configured to send a wake-up instruction to the first system by the second system in response to the received data receiving instruction before the first system receives the dynamic interface data
  • a system switches from a dormant state to a running state in response to the wake-up command.
  • the device 500 may further include a display switching module, configured to switch the displayed dynamic interface to a new dynamic interface by the first system in response to a switching instruction of the dynamic interface;
  • the dynamic interface data corresponding to the interface is sent to the second system.
  • the apparatus 500 may further include a system switching module, configured to switch the first system to the second system if the screen of the electronic device is off for a preset time.
  • a system switching module configured to switch the first system to the second system if the screen of the electronic device is off for a preset time.
  • the second display module 520 is configured to switch from the first system to the second system, and the second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface.
  • the wake-up module may also be used by the second system to control the screen of the electronic device to display the static preview image corresponding to the dynamic interface, and respond to the first touch operation acting on the screen of the electronic device, Waking up the first system in a dormant state; then the first system controls the screen of the electronic device to display the dynamic interface.
  • the first system controls the screen of the electronic device to display a dynamic interface, including: in response to a second touch operation acting on the screen of the electronic device, controlling the screen of the electronic device to switch and display different dynamic interfaces. interface.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
  • the embodiment of the present application also provides an electronic device 100 capable of performing the above display method.
  • the electronic device 100 includes at least a memory 102 and a first processor 103 and a second processor 104 coupled to each other.
  • the memory 102 is connected to the first processor 103 and the second processor 104 by communication lines.
  • the memory 102 stores programs that can execute the content in the foregoing embodiments, and the first processor 103 or the second processor 104 can execute the programs stored in the memory 102 .
  • the first processor 103 and the second processor 104 may also be respectively connected to different memories (not shown in the figure).
  • the first processor 103 or the second processor 104 may include one or more processing cores.
  • the first processor 103 or the second processor 104 uses various interfaces and lines to connect various parts in the entire electronic device 100, and by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling the stored
  • the data in the memory 102 executes various functions of the electronic device 100 and processes data.
  • the first processor 103 or the second processor 104 can adopt digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) in at least one form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the first processor 103 or the second processor 104 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the displayed content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the first processor 103 or the second processor 104, but may be realized by a communication chip alone.
  • the memory 102 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory).
  • the memory 102 may be used to store instructions, programs, codes, code sets or instruction sets, for example, a display device may be stored in the memory 102 .
  • the display device may be the aforementioned display device 500 .
  • the memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for realizing the foregoing embodiments, and the like.
  • the storage data area can also store data created during use of the electronic device 100 (such as phonebook, audio and video data, chat record data) and the like.
  • FIG. 11 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program codes are stored in the computer-readable medium 600, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
  • the computer readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the computer-readable storage medium 600 has a storage space for program code 610 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products. Program code 610 may, for example, be compressed in a suitable form.
  • the embodiment of the present application provides a display method, device, electronic device, and storage medium, through which the first system controls the screen display of the electronic device to display a dynamic interface, and then responds to switching from the first system to the second system, by The second system controls the screen of the electronic device to display the static preview image corresponding to the dynamic interface.
  • this solution realizes that the first system controls the screen display dynamic interface of electronic equipment, and when the system in the running state is switched from the first system to In the second system, the screen of the electronic device is controlled by the second system to only display the static preview image corresponding to the dynamic interface.
  • the power required by the electronic device to display interface data is saved, thereby prolonging the life of the electronic device.
  • the battery life of electronic devices is long, which in turn improves user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种显示方法、装置、电子设备及存储介质,涉及电子设备技术领域。方法包括:第一系统控制电子设备的屏幕显示动态界面;响应于第一系统切换为第二系统,第二系统控制电子设备的屏幕显示动态界面对应的静态预览图。实现了节省电子设备显示界面数据所需的电量,从而延长了电子设备的续航时长,进而提升了用户使用体验。

Description

显示方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2021年12月29日提交的申请号为202111642283.6的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及电子设备技术领域,更具体地,涉及一种显示方法、装置、电子设备及存储介质。
背景技术
随着智能设备技术的快速发展以及智能设备功能的逐步丰富,越来越多的电子设备配置有双系统。而相关的配置有双系统的电子设备在进行显示时,耗电高,致使续航较差,影响了用户使用体验。
发明内容
本申请提出了一种显示方法、装置、电子设备及存储介质,以改善上述问题。
第一方面,本申请实施例提供了一种显示方法,应用于电子设备,所述电子设备包括第一处理器和第二处理器,所述第一处理器用于运行第一系统,所述第二处理器用于运行第二系统,所述方法包括:所述第一系统控制所述电子设备的屏幕显示动态界面;响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
第二方面,本申请实施例提供了一种显示装置,运行于电子设备,所述电子设备至少包括第一处理器和第二处理器,所述第一处理器用于运行第一系统,所述第二处理器用于运行第二系统,,所述装置包括:第一显示模块,用于所述第一系统控制所述电子设备的屏幕显示动态界面;第二显示模块,用于响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
第三方面,本申请实施例提供了一种电子设备,至少包括第一处理器、第二处理器以及存储器;一个或多个程序被存储在所 述存储器中并被配置为由所述第一处理器或第二处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的显示方法。
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,其中,在所述程序代码被处理器运行时执行上述第一方面提供的显示方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请一实施例提供的一种显示方法的流程图;
图2示出了本申请实施例提供的电子设备与指定应用程序进行数据交互的一时序图;
图3示出了本申请实施例提供的电子设备与指定应用程序进行数据交互的另一时序图;
图4示出了本申请实施例提供的第一系统控制电子设备的屏幕显示动态界面的静态效果图;
图5示出了本申请另一实施例提供的一种显示方法的流程图;
图6示出了本申请实施例提供的第一系统将显示的动态界面切换为新的动态界面的示例图;
图7示出了本申请又一实施例提供的一种显示方法的流程图;
图8示出了本申请实施例提供的第一系统响应作用于电子设备的屏幕的第二触控操作,控制电子设备的屏幕切换显示不同的动态界面的示例图;
图9示出了本申请实施例提供的一种显示装置的结构框图;
图10示出了本申请实施例提供的一种电子设备的结构框图;
图11示出了本申请实施例的用于保存或者携带实现根据本申请实施例的显示方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
随着用户对应用体验需求越来越高,使得对智能设备中操作系统的各项性能指标的要求也随之变高,在智能设备上设置双系 统也成为可能。而相关的配置有双系统的电子设备在进行显示时,大多都是在大核上面实现的,耗电高,致使电子设备的续航较差,影响了用户使用体验。
发明人经过长期的研究发现,可以通过第一系统控制电子设备的屏幕显示动态界面;响应于第一系统切换为第二系统,由第二系统控制电子设备的屏幕显示动态界面对应的静态预览图。相对于现有技术中仅依靠大核系统来实现电子设备的界面数据显示,上述方式实现了由第一系统控制电子设备的屏幕显示动态界面,而当处于运行状态的系统由第一系统切换为第二系统时,由第二系统控制电子设备的屏幕仅显示动态界面对应的静态预览图,通过仅显示动态界面对应的静态预览图,节省了电子设备显示界面数据所需的电量,从而延长了电子设备的续航时长,进而提升了用户使用体验。
因此,为了改善上述问题,发明人提出了本申请提供的可以节省电子设备显示界面数据所需的电量,从而延长了电子设备的续航时长,进而提升了用户使用体验的显示方法、装置、电子设备及存储介质。
下面将结合附图具体描述本申请的各实施例。
请参阅图1,示出了本申请一实施例提供的一种显示方法的流程图,本实施例提供一种显示方法,可应用于电子设备,本申请实施例中的电子设备至少包括第一处理器和第二处理器,所述第一处理器用于运行第一系统,所述第二处理器用于运行第二系统。其中,第一处理器可以理解为大核,第一系统可以理解为双系统中的大核系统,第二处理器可以理解为小核,第二系统可以理解为双系统中的小核系统。
可选的,电子设备可以为配置有双系统的智能手机、电脑、平板、智能电视等具备网络连接功能的移动通信设备,也可以为配置有双系统的智能穿戴设备,例如智能手表、智能手环,或者可以为配置有双系统的其他类似表盘设备,电子设备的具体类型可以不做限定,电子设备配置有显示屏。该方法包括:
步骤S110:所述第一系统控制所述电子设备的屏幕显示动态界面。
本申请实施例中,第一系统的功耗高于第二系统的功耗。第一系统以及第二系统分别配置有不同功能的应用,第一系统与第二系统之间互相交互(例如相互切换),完成电子设备的功能。
作为一种方式,第一系统可以在运行状态下接收动态界面数据,并将动态界面数据发送给第二系统。第一系统处于运行状态可以理解为负责进行数据处理的系统为第一系统(即第一系统处 于使用状态),其中,数据处理可以包括处理应用程序的数据以及传感器的数据中的至少一个;或者可以理解为第一系统处于前台运行,且由运行第一系统的第一处理器控制电子设备的显示屏进行数据显示。
其中,动态界面表征在界面上进行动态显示的界面,例如,动态界面可以是在智能手表的表盘上动态显示表情的表盘界面,或者是在智能电视的显示屏上动态显示表情的显示界面。动态界面数据包括动态界面所显示的内容等数据。
作为一种实施方式,第一系统在运行状态下可以接收指定应用程序发送的动态界面数据,此时该动态界面数据可以为该指定应用程序打包后发送。指定应用程序可以为健康类数据管理应用程序(具体应用程序的类型可以不作限定)。
在一个具体的应用场景中,请参阅图2,示出了本申请实施例提供的电子设备与指定应用程序进行数据交互的一时序图。如图2所示,假设电子设备为智能穿戴设备(即图2中所示的Wear Device),智能穿戴设备与手机进行通信连接,手机中配置有指定应用程序(如图2所示的Health APP)以及表情资源应用程序(即图2中所示的Omoji APP)。如图3所示,omoji app通过调用provider接口的getDeviceInfo()方法,可以获取到Health APP提供的连接设备(即电子设备)的设备信息(例如图3所示的分辨率以及码率),再通过设备信息可以生成对应的所需的omoji表情资源放入fileprovider目录,然后可以调用addNewWfStyleRes()方法通知Health APP去使用,Health APP将omoji表情资源复制到设备资源目录下进行样式入库。
可选的,如果在样式入库的过程中出现异常,Health APP可以将错误结果返回给Omoji APP,Omoji APP进行异常提示,Omoji APP在得到Health APP返回的结果后,Omoji APP会将fileprovider目录下面存储的临时文件资源(即表情资源)删除。
如图2所示,Health APP添加新的omoji表情资源成功后,会将omoji表情资源放入到临时文件夹,然后Health APP将其进行列表入库(加入数据库记录样式列表),然后当用户选择时间样式(时间样式可以包括多种字体,例如楷体、宋体、黑体等)匹配后,将样式文件打包(包含time样式的描述)发送给智能穿戴设备,然后智能穿戴设备接收完成后,显示到智能穿戴设备当前表盘。
在第一系统接收了动态界面数据的情况下,第一系统可以控制电子设备的屏幕显示动态界面。其中,动态界面数据可以包括背景和动态表情,在这种方式下,如图4所示,第一系统可以控 制电子设备的屏幕动态显示包括了背景和动态表情的界面,即此种方式下,背景和动态表情均可以是动态显示的,或者只有表情是动态显示的。
本申请实施例中,第一系统可以支持动态显示,而为了便于省电以及增加续航时长,第二系统配置为支持静态显示。例如,第一系统支持显示的格式可以为jpg格式,而第二系统支持显示的格式可以为rgb565的二进制图像格式。在该种情况下,第一系统将动态界面数据发送给所述第二系统时,可以先根据背景与动态表情生成动态界面对应的静态预览图,再将该静态预览图发送给第二系统。其中,在根据背景与动态表情生成动态界面对应的静态预览图时,可以将背景作为静态预览图的背景图,将动态表情对应的表情内容叠加在该背景图上,进而得到静态预览图。通过在将动态界面数据发送给第二系统之前进行格式转换,可以实现系统切换时能在用户无感知的情况下快速的显示动态界面对应的静态预览图,提升用户使用体验。
本实施例中,对于同一动态界面或者是同一静态预览图,背景的数量可以为一个或者多个,动态表情可以为同一人脸的不同动态表情,也可以为不同人脸的不同动态表情。
在一个具体的应用场景中,如图4所示,背景可以包括时间(如图4所示的“09:30”)、日期(如图4所示的“3月6日”)以及星期(如图4所示的“星期五”)等内容,其中,每一内容的具体显示样式可以不作限定,显示样式包括显示字体、显示格式(例如xx年xx月xx日、或者是xx月xx日等显示格式)以及显示位置等。动态表情可以为不同卡通人物对应的不同表情。
步骤S120:响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
作为一种方式,当处于运行状态的系统由第一系统切换为第二系统时,可以由第二系统控制电子设备的屏幕显示动态界面对应的静态预览图,与动态界面对应的静态预览图表征显示内容与动态界面的显示内容相同的静态图片。
需要说明的是,本实施例中的第一系统由第一处理器运行,第二系统由第二处理器运行。在一种实施方式中,若处于运行状态的系统由第一系统切换为第二系统时,可以由第一处理器通知第二处理器,再由第二处理器执行控制电子设备的屏幕显示动态界面对应的静态预览图。
需要说明的是,本申请实施例中的处理器可以是一个单独的处理芯片,在这种方式下,第一处理器以及第二处理器各自为一个 单独的处理芯片;本申请实施例中的处理器也可以是一个集成芯片上的一个处理核心,在这种方式下,第一处理器以及第二处理器可以理解为一个集成芯片上的两个处理核心。
本实施例提供的显示方法,通过第一系统控制电子设备的屏幕显示动态界面,继而响应于第一系统切换为第二系统,由第二系统控制电子设备的屏幕显示动态界面对应的静态预览图。相对于现有技术中仅依靠大核系统来实现电子设备的界面数据显示,本方案实现了由第一系统控制电子设备的屏幕显示动态界面,而当处于运行状态的系统由第一系统切换为第二系统时,由第二系统控制电子设备的屏幕仅显示动态界面对应的静态预览图,通过仅显示动态界面对应的静态预览图,节省了电子设备显示界面数据所需的电量,从而延长了电子设备的续航时长,进而提升了用户使用体验。
请参阅图5,示出了本申请另一实施例提供的一种显示方法的流程图,本实施例提供一种显示方法,可应用于电子设备,该方法包括:
步骤S210:所述第一系统控制所述电子设备的屏幕显示动态界面。
如果在前述的指定应用程序在向第一系统发送动态界面数据时,第一系统处于休眠状态(即此时第二系统处于运行状态而第一系统处于休眠状态),那么第二系统可以响应于接收到的数据接收指令,向第一系统发送唤醒指令,第一系统则可以响应于该唤醒指令,由休眠状态切换为运行状态。
其中,该数据接收指令为外部设备向电子设备发送动态界面数据前由外部设备生成,数据接收指令用于通知第二系统电子设备需要接收外部设备发送的动态界面数据,如前所述,外部设备可以通过配置的指定应用程序向电子设备发送动态界面数据。唤醒指令用于第一系统去唤醒第二系统,并通知第二系统电子设备需要接收外部设备发送的动态界面数据。该唤醒指令可以为第二系统生成后发送给第一系统,也可以为其他传感器(此处传感器的具体类型可以不作限定,能够检测出电子设备需要接收外部设备发送的动态界面数据即可)生成后直接发送给第一系统。
作为一种实施方式,当第一系统处于休眠状态而第二系统处于运行状态时,可以由第二系统向第一系统发送唤醒指令以唤醒第一系统,第一系统可以响应于该唤醒指令,由休眠状态切换为运行状态,此时可以由第二系统接收外部设备发送的动态界面数据,并将该动态界面数据透传给第一系统。若此时外部设备发送的动态界面数据为新的动态界面数据,那么第二系统可以将接收 到的新的动态界面数据透传给第一系统。
步骤S220:响应于所述动态界面的切换指令,所述第一系统将显示的所述动态界面切换为新的动态界面。
其中,动态界面的切换指令为在第一系统控制电子设备的屏幕显示动态界面的过程中生成,该切换指令可以用于将动态界面在不同的内容之间随机切换,该“内容”可以理解为动态变化的主体本身。例如,将图4所示的表情表盘界面的人脸切换为图6所示的表情表盘界面的人脸,图4所示的表情表盘界面的人脸与图6所示的表情表盘界面的人脸为不同的人脸。
作为一种实施方式,在第一系统控制电子设备的屏幕显示动态界面的过程中,如果获取到作用于电子设备的屏幕的触控操作,可以生成动态界面的切换指令,此时第一系统可以响应于动态界面数据的切换指令,将显示的动态界面切换为新的动态界面数据。
在一个具体的应用场景中,请参阅图6,示出了本申请实施例提供的第一系统将显示的动态界面切换为新的动态界面的示例图。假设图4所示的动态界面为电子设备的屏幕最开始显示的动态界面,在第一系统响应于动态界面的切换指令后,可以将图4所示的动态界面切换为图6所示的动态界面(相对于图4所示的动态界面,图6所示为新的动态界面)。
步骤S230:将所述新的动态界面对应的动态界面数据发送给所述第二系统。
第一系统在将显示的动态界面切换为新的动态界面的情况下,会将新的动态界面对应的动态界面数据发送(同步)给第二系统,以使得第二系统可以及时获取到电子设备当前的表情表盘数据,确保信息的一致性。
在这种方式下,第一系统在将新的动态界面对应的动态界面数据发送给第二系统之前,会先将新的动态界面转换为对应的静态预览图,具体转换的实现方式可以参考前述实施例中的描述,在此不再赘述。
步骤S240:响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述新的动态界面对应的静态预览图。
第一系统将显示的动态界面切换为新的动态界面,并将新的动态界面对应的动态界面数据发送给第二系统后,第二系统也会控制电子设备的屏幕显示新的动态界面对应的静态预览图,具体实现过程可以参考前述实施例中的相关描述,在此不再赘述。
作为一种实施方式,当电子设备的屏幕处于灭屏状态的时长达到预设时长,可以触发进行系统切换。例如,可以触发将处于 运行状态的系统由第一系统切换为第二系统,或者将处于运行状态的系统由第二系统切换为第一系统。其中,预设时长的数值可以不作限定,例如,可以是10秒、15秒、20秒或30秒等数值。
在一些实施例中,可以实时检测电子的屏幕处于灭屏状态的时长,当检测到电子设备的屏幕处于灭屏状态的时长一达到预设时长,就可以触发处于运行状态的系统由第一系统切换为第二系统。
在另一些实施例中,可以当检测到电子设备的屏幕处于灭屏状态的时长达到预设时长,且电子设备的屏幕状态由灭屏状态切换为亮屏状态时,则可以触发处于运行状态的系统由第一系统切换为第二系统。
在一些具体的实施方式中,当检测到电子设备的屏幕处于灭屏状态的时长达到预设时长,且检测到用户通过触控电子设备的特定功能键使电子设备的屏幕状态由灭屏状态切换为亮屏状态时,则触发处于运行状态的系统由第一系统切换为第二系统。其中,特定功能键可以包括电子设备的开关机键或是Home键等。
在另一些具体的实施方式中,若预先设定了收到特定应用程序的消息通知时,触发屏幕由灭屏状态切换为亮屏状态,那么可以在检测到电子设备的屏幕处于灭屏状态的时长达到预设时长,且检测接收到特定应用程序的消息通知时,触发处于运行状态的系统由第一系统切换为第二系统。其中,特定应用程序可以包括即时通信应用程序,特定应用程序的消息通知可以为即时通信应用程序的消息通知、或者是电话呼入等。
本实施例提供的显示方法,通过第一系统控制电子设备的屏幕显示动态界面,继而响应于动态界面的切换指令,将显示的所述动态界面切换为新的动态界面,再将新的动态界面对应的动态界面数据发送给第二系统,然后响应于第一系统切换为第二系统,由第二系统控制电子设备的屏幕显示新的动态界面对应的静态预览图。本方案实现了由第一系统控制电子设备的屏幕显示动态界面,而当处于运行状态的系统由第一系统切换为第二系统时,由第二系统控制电子设备的屏幕仅显示动态界面对应的静态预览图,通过仅显示动态界面对应的静态预览图,节省了电子设备显示界面数据所需的电量,从而延长了电子设备的续航时长,进而提升了用户使用体验。同时,通过将第一系统运行时动态显示的界面发生变化时,将变化后动态界面对应的静态预览图发送给第二系统,使得第一系统与第二系统可以以各自的显示支持方式显示一致的信息,提升用户使用体验。
请参阅图7,示出了本申请又一实施例提供的一种显示方法的 流程图,本实施例提供一种显示方法,可应用于电子设备,该方法包括:
步骤S310:所述第一系统控制所述电子设备的屏幕显示动态界面。
步骤S320:响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
步骤S330:响应作用于所述电子设备的屏幕的第一触控操作,唤醒处于休眠状态的第一系统。
其中,第一触控操作可以用于触发唤醒处于休眠状态的第一系统,第一触控操作可以为点击操作、敲击操作、按键(此时可以为虚拟按键)操作、或者是滑动(滑移)操作,第一触控操作的具体类型可以不作限定。
作为一种实施方式,若电子设备为智能手表,在第一系统处于休眠状态时,若用户点击智能手表的表盘界面,可以触发第一系统响应作用于电子设备的屏幕的第一触控操作,由休眠状态切换为唤醒状态。
需要说明的是,第一系统处于休眠状态时,第一处理器处于后台运行状态,而当第一系统由休眠状态切换为唤醒状态时,第一处理器会从休眠状态切换为唤醒状态,此时第一处理器可以去控制电子设备的显示屏进行数据显示;或者第一处理器并不会去控制电子设备的显示屏进行数据显示,而只有当第一系统处于运行状态时,第一处理器才会去控制电子设备的显示屏进行数据显示。
步骤S340:所述第一系统控制所述电子设备的屏幕显示所述动态界面。
作为一种实施方式,当第一系统由休眠状态切换为唤醒状态时,若第一处理器能够控制电子设备的显示屏进行数据显示,此时,第一系统(即第一处理器)会再次控制电子设备的屏幕显示动态界面。需要说明的是,如果第一系统第一次控制电子设备的屏幕显示动态界面的过程中,所显示的动态界面没有发生变化,那么第一系统再次控制电子设备的屏幕所显示的动态界面即为之前的动态界面;如果第一系统第一次控制电子设备的屏幕显示动态界面的过程中,所显示的动态界面发生了变化,那么第一系统再次控制电子设备的屏幕所显示的动态界面为变化后的动态界面。
作为一种方式,在第一系统控制电子设备的屏幕显示动态界面的过程中,如果存在作用于电子设备的屏幕的第二触控操作,那么第一系统可以响应作用于电子设备的屏幕的第二触控操作, 控制电子设备的屏幕切换显示不同的动态界面,此处不同的动态界面表征内容不同的动态界面,即控制电子设备的屏幕随机切换显示不同的动态界面,该不同的动态界面也可以理解为前述实施例中所描述的新的动态界面。需要说明的是,在第一系统首次控制电子设备的屏幕显示动态界面的过程中,若存在作用于电子设备的屏幕的触控操作,也可以控制电子设备的屏幕随机切换显示不同的动态界面。
在一个具体的应用场景中,请参阅图8,示出了本申请实施例提供的第一系统可以响应作用于电子设备的屏幕的第二触控操作,控制电子设备的屏幕切换显示不同的动态界面的示例图。如图8所示,假设电子设备的屏幕最开始显示的是图4所示的动态界面,在确定存在作用于电子设备的屏幕的第二触控操作的情况下,可以将图4所示的动态界面切换为图8的最左侧图所示的动态界面,可选的,若用户再次点击了电子设备的屏幕,则可以将图8的最左侧图所示的动态界面切换为图8的中间图所示的动态界面,若用户再点击了电子设备的屏幕,则将图8的中间图所示的动态界面切换为图8的最右侧图所示的动态界面。
本实施例提供的显示方法,通过第一系统控制电子设备的屏幕显示动态界面,继而响应于第一系统切换为第二系统,由第二系统控制电子设备的屏幕显示动态界面对应的静态预览图,再响应作用于电子设备的屏幕的第一触控操作,唤醒处于休眠状态的第一系统,然后再由第一系统控制电子设备的屏幕显示动态界面。本方案实现了灵活的控制电子设备的屏幕显示动态界面,通过控制电子设备的屏幕切换显示不同的动态界面,提升了电子设备显示控制的灵活性与趣味性。
请参阅图9,为本申请实施例提供的一种显示装置的结构框图,本实施例提供一种显示装置500,可以运行于电子设备,所述电子设备至少包括第一处理器和第二处理器,所述第一处理器用于运行第一系统,所述第二处理器用于运行第二系统,所述装置500包括:第一显示模块510以及第二显示模块520:
第一显示模块510,用于所述第一系统控制所述电子设备的屏幕显示动态界面。
可选的,装置500还可以包括数据接收模块,用于所述第一系统接收动态界面数据,并将所述动态界面数据发送给所述第二系统。其中,所述动态界面数据包括背景和动态表情,所述将所述动态界面数据发送给所述第二系统,包括:根据所述背景与所述动态表情生成所述动态界面对应的静态预览图;将所述静态预览图发送给所述第二系统。
可选的,装置500还可以包括唤醒模块,用于所述第一系统接收动态界面数据之前,响应于接收到的数据接收指令,所述第二系统向第一系统发送唤醒指令;所述第一系统响应于所述唤醒指令,由休眠状态切换为运行状态。
可选的,装置500还可以包括显示切换模块,用于响应于所述动态界面的切换指令,所述第一系统将显示的所述动态界面切换为新的动态界面;将所述新的动态界面对应的动态界面数据发送给所述第二系统。
可选的,装置500还可以包括系统切换模块,用于若所述电子设备的屏幕处于灭屏状态的时长达到预设时长,将所述第一系统切换为所述第二系统。
第二显示模块520,用于响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
可选的,所述唤醒模块还可以用于第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图之后,响应作用于所述电子设备的屏幕的第一触控操作,唤醒处于休眠状态的第一系统;继而由所述第一系统控制所述电子设备的屏幕显示所述动态界面。其中,所述第一系统控制所述电子设备的屏幕显示动态界面,包括:响应作用于所述电子设备的屏幕的第二触控操作,控制所述电子设备的屏幕切换显示不同的所述动态界面。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
请参阅图10,基于上述的显示方法及装置,本申请实施例还提供了一种可以执行前述显示方法的电子设备100。电子设备100至少包括存储器102以及相互耦合的第一处理器103、第二处理器104。存储器102和第一处理器103、以及第二处理器104之间通信线路连接。存储器102中存储有可以执行前述实施例中内容的程序,而第一处理器103或第二处理器104可以执行存储器102中存储的程序。可选的,第一处理器103以及第二处理器104也可以分别连接不同的存储器(图中未示出)。
其中,第一处理器103或第二处理器104可以包括一个或者多个处理核。第一处理器103或第二处理器104利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器102内的指令、程序、代码集或指令集,以及调用存储在存储器102内的数据,执行电子设备100的各种功能和处理数据。可选地,第一处理器103或第二处理器104可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。第一处理器103或第二处理器104可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到第一处理器103或第二处理器104中,单独通过一块通信芯片进行实现。
存储器102可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器102可用于存储指令、程序、代码、代码集或指令集,例如,存储器102中可以存储有显示装置。该显示装置可以为前述的显示装置500。存储器102可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现前述各个实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
请参考图11,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质600中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质600可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质600包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质600具有执行上述方法中的任何方法步骤的程序代码610的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码610可以例如以适当形式进行压缩。
综上所述,本申请实施例提供的一种显示方法、装置、电子设备及存储介质,通过第一系统控制电子设备的屏幕显示动态界面,继而响应于第一系统切换为第二系统,由第二系统控制电子设备的屏幕显示动态界面对应的静态预览图。相对于现有技术中仅依靠大核系统来实现电子设备的界面数据显示,本方案实现了由第一系统控制电子设备的屏幕显示动态界面,而当处于运行状态的系统由第一系统切换为第二系统时,由第二系统控制电子设备的屏幕仅显示动态界面对应的静态预览图,通过仅显示动态界面对应的静态预览图,节省了电子设备显示界面数据所需的电量,从而延长了电子设备的续航时长,进而提升了用户使用体验。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种显示方法,其特征在于,应用于电子设备,所述电子设备包括第一处理器和第二处理器,所述第一处理器用于运行第一系统,所述第二处理器用于运行第二系统,所述方法包括:
    所述第一系统控制所述电子设备的屏幕显示动态界面;
    响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一系统接收动态界面数据,并将所述动态界面数据发送给所述第二系统。
  3. 根据权利要求2所述的方法,其特征在于,所述动态界面数据包括背景和动态表情,所述将所述动态界面数据发送给所述第二系统,包括:
    根据所述背景与所述动态表情生成所述动态界面对应的静态预览图;
    将所述静态预览图发送给所述第二系统。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述背景与所述动态表情生成所述动态界面对应的静态预览图,包括:
    将所述背景作为静态预览图的背景图,将所述动态表情对应的表情内容叠加在所述背景图上,得到静态预览图。
  5. 根据权利要求2所述的方法,其特征在于,所述第一系统接收动态界面数据之前,还包括:
    响应于接收到的数据接收指令,所述第二系统向第一系统发送唤醒指令;
    所述第一系统响应于所述唤醒指令,由休眠状态切换为运行状态。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    所述第二系统接收外部设备发送的动态界面数据;
    将所述动态界面数据透传给所述第一系统。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于所述动态界面的切换指令,所述第一系统将显示的所述动态界面切换为新的动态界面;
    将所述新的动态界面对应的动态界面数据发送给所述第二系统。
  8. 根据权利要求7所述的方法,其特征在于,所述将所述新的动态界面对应的动态界面数据发送给所述第二系统,包括:
    将所述新的动态界面转换为对应的静态预览图;
    将所述静态预览图发送给所述第二系统。
  9. 根据权利要求7所述的方法,其特征在于,所述响应于所述动态界面的切换指令,所述第一系统将显示的所述动态界面切换为新的动态界面之前,还包括:
    在所述第一系统控制所述电子设备的屏幕显示动态界面的过程中,若 存在作用于所述电子设备的屏幕的触控操作,生成所述动态界面的切换指令。
  10. 根据权利要求1所述的方法,其特征在于,所述响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图,包括:
    响应于所述第一系统切换为所述第二系统,所述第一处理器通知所述第二处理器控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:
    若所述电子设备的屏幕处于灭屏状态的时长达到预设时长,将所述第一系统切换为所述第二系统。
  12. 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:
    若所述电子设备的屏幕处于灭屏状态的时长达到预设时长,且所述电子设备的屏幕状态由灭屏状态切换为亮屏状态,将所述第一系统切换为所述第二系统。
  13. 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:
    若所述电子设备的屏幕处于灭屏状态的时长达到预设时长,且检测接收到特定应用程序的消息通知,将所述第一系统切换为所述第二系统,所述消息通知用于触发屏幕由灭屏状态切换为亮屏状态。
  14. 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:
    若所述电子设备的屏幕处于灭屏状态的时长达到预设时长,将所述第二系统切换为所述第一系统。
  15. 根据权利要求1所述的方法,其特征在于,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图之后,还包括:
    响应作用于所述电子设备的屏幕的第一触控操作,唤醒处于休眠状态的第一系统;
    所述第一系统控制所述电子设备的屏幕显示所述动态界面。
  16. 根据权利要求15所述的方法,其特征在于,所述第一系统控制所述电子设备的屏幕显示动态界面,包括:
    响应作用于所述电子设备的屏幕的第二触控操作,控制所述电子设备的屏幕切换显示不同的所述动态界面。
  17. 根据权利要求1所述的方法,其特征在于,所述第一系统的功耗高于所述第二系统的功耗。
  18. 一种显示装置,其特征在于,运行于电子设备,所述电子设备包括第一处理器和第二处理器,所述第一处理器用于运行第一系统,所述第二处理器用于运行第二系统,所述装置包括:
    第一显示模块,用于所述第一系统控制所述电子设备的屏幕显示动态界面;
    第二显示模块,用于响应于所述第一系统切换为所述第二系统,所述第二系统控制所述电子设备的屏幕显示所述动态界面对应的静态预览图。
  19. 一种电子设备,其特征在于,至少包括第一处理器、第二处理器以及存储器;
    一个或多个程序被存储在所述存储器中并被配置为由所述第一处理器或第二处理器执行,所述一个或多个程序配置用于执行权利要求1-17任一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码被处理器运行时执行权利要求1-17任一项所述的方法。
PCT/CN2022/132941 2021-12-29 2022-11-18 显示方法、装置、电子设备及存储介质 WO2023124634A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111642283.6A CN116414209A (zh) 2021-12-29 2021-12-29 显示方法、装置、电子设备及存储介质
CN202111642283.6 2021-12-29

Publications (1)

Publication Number Publication Date
WO2023124634A1 true WO2023124634A1 (zh) 2023-07-06

Family

ID=86997485

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/132941 WO2023124634A1 (zh) 2021-12-29 2022-11-18 显示方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN116414209A (zh)
WO (1) WO2023124634A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116577551A (zh) * 2023-04-03 2023-08-11 深圳市晶存科技有限公司 Ssd功耗测试方法、系统及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103688304A (zh) * 2011-07-12 2014-03-26 高通股份有限公司 显示静态图像
CN106775976A (zh) * 2016-12-08 2017-05-31 北京奇虎科技有限公司 终端系统切换方法及装置
KR20210001288A (ko) * 2019-06-27 2021-01-07 주식회사 텔레칩스 멀티 코어 시스템 및 그 방법
CN112783274A (zh) * 2021-01-29 2021-05-11 展讯通信(上海)有限公司 智能手表及其控制装置、控制方法
CN112860428A (zh) * 2019-11-28 2021-05-28 华为技术有限公司 一种高能效的显示处理方法及设备
CN112987986A (zh) * 2019-12-02 2021-06-18 Oppo广东移动通信有限公司 实现游戏应用的方法、装置、存储介质及电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103688304A (zh) * 2011-07-12 2014-03-26 高通股份有限公司 显示静态图像
CN106775976A (zh) * 2016-12-08 2017-05-31 北京奇虎科技有限公司 终端系统切换方法及装置
KR20210001288A (ko) * 2019-06-27 2021-01-07 주식회사 텔레칩스 멀티 코어 시스템 및 그 방법
CN112860428A (zh) * 2019-11-28 2021-05-28 华为技术有限公司 一种高能效的显示处理方法及设备
CN112987986A (zh) * 2019-12-02 2021-06-18 Oppo广东移动通信有限公司 实现游戏应用的方法、装置、存储介质及电子设备
CN112783274A (zh) * 2021-01-29 2021-05-11 展讯通信(上海)有限公司 智能手表及其控制装置、控制方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116577551A (zh) * 2023-04-03 2023-08-11 深圳市晶存科技有限公司 Ssd功耗测试方法、系统及电子设备

Also Published As

Publication number Publication date
CN116414209A (zh) 2023-07-11

Similar Documents

Publication Publication Date Title
US11868586B2 (en) Floating window user interface display method and apparatus, device, and storage medium
US20230088677A1 (en) Information sending method and apparatus and electronic device
WO2019174469A1 (zh) 消息提醒方法、装置、设备及存储介质
US11132101B2 (en) Icon moving method, terminal and storage medium
US20190245900A1 (en) User interface content state synchronization across devices
CN111813492B (zh) 快应用的显示方法、装置、电子设备以及存储介质
JP6284931B2 (ja) 多重動画再生方法及び装置
WO2023124634A1 (zh) 显示方法、装置、电子设备及存储介质
WO2022156668A1 (zh) 信息处理方法和电子设备
US20210216177A1 (en) Navigation bar controlling method and terminal
WO2022001452A1 (zh) 信息展示方法、装置、可穿戴设备及存储介质
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
CN110300047B (zh) 一种动画播放方法、装置及存储介质
US20240045702A1 (en) User interface display method and apparatus, device, and storage medium
CN112000408B (zh) 移动终端及其显示方法
CN112114965A (zh) 应用程序的运行方法、装置、终端及存储介质
CN110162350B (zh) 通知栏信息的显示方法、装置、服务器及存储介质
CN113423132B (zh) 关机预警方法、装置、介质及设备
US20210320890A1 (en) Method and device for displaying text and video in two threads
WO2023138235A1 (zh) 主题切换方法、装置、设备、存储介质及程序产品
CN115079808B (zh) 事件提醒方法、装置、可穿戴设备及存储介质
WO2023124554A1 (zh) 应用启动方法、装置、设备及存储介质
WO2023116236A1 (zh) 应用启动方法、装置、设备及存储介质
CN115114039A (zh) 画面显示方法、装置、电子设备及存储介质
KR102640049B1 (ko) 전자 장치 및 전자 장치의 디스플레이 구동 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22913892

Country of ref document: EP

Kind code of ref document: A1