WO2023045921A1 - Display method and apparatus, and electronic device - Google Patents

Display method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023045921A1
WO2023045921A1 PCT/CN2022/119902 CN2022119902W WO2023045921A1 WO 2023045921 A1 WO2023045921 A1 WO 2023045921A1 CN 2022119902 W CN2022119902 W CN 2022119902W WO 2023045921 A1 WO2023045921 A1 WO 2023045921A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
icon
electronic device
preset
display
Prior art date
Application number
PCT/CN2022/119902
Other languages
French (fr)
Chinese (zh)
Inventor
陆荣
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023045921A1 publication Critical patent/WO2023045921A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the technical field of communication, and in particular to a display method, device and electronic equipment.
  • the status bar of the electronic device is usually set on the top area of the display screen.
  • the space of the non-display area on the front of the electronic device is constantly being compressed.
  • Part of the space is used to install hardware devices such as front-facing cameras, which will cause the space in the display area of the status bar to be compressed, and the icons in the status bar are usually used to represent the system status of the electronic device.
  • the compressed space of the display area of the status bar will reduce the number of status bar icons that can be displayed in the status bar, which in turn will lead to poor display effect of the status bar of the electronic device.
  • the purpose of the embodiment of the present application is to provide a conversation processing method, device and electronic equipment, which can solve the problem that the current conversation list interface display mode of the conversation identifier is not convenient for the user to process the message corresponding to the important conversation identifier.
  • the present application provides a display method, device and electronic equipment, which can improve the display effect of icons in the status bar of the electronic equipment.
  • the embodiment of the present application provides a display method, including:
  • the at least one preset icon is hidden, and prompt information is displayed in the preset area, and the prompt information is used to represent the target state of the electronic device is the second state;
  • the prompt information is hidden and the at least one preset icon is displayed.
  • the embodiment of the present application provides a display device, including:
  • a display module configured to display at least one preset icon in a preset area of a display screen of the electronic device
  • the display module is further configured to hide the at least one preset icon and display prompt information in the preset area when it is detected that the target state of the electronic device is switched from the first state to the second state , the prompt information is used to indicate that the target state of the electronic device is the second state;
  • the display module is further configured to hide the prompt information and display the at least one preset icon when a preset condition is met.
  • the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and operable on the processor, and the program or instruction is processed by the The steps described in the first aspect above are realized when the controller is executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps described in the above first aspect are implemented.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and the programs or instructions When executed by the processor, the steps described in the first aspect above are realized.
  • an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect. The steps of the display method described above.
  • the embodiment of the present application provides an electronic device configured to execute the steps of the display method described in the first aspect.
  • the system status corresponding to the preset icon can be displayed in real time through the at least one preset icon.
  • the at least one preset icon is hidden, and prompt information corresponding to the changed state is displayed in the preset area, thereby prompting the user through the prompt information.
  • the state changes, and after the prompt is completed, the prompt information is hidden and at least one preset icon is displayed.
  • the system state corresponding to the preset icon can be displayed in real time, and at the same time, when the system state of the electronic device changes, a reminder can be provided through the preset area, thereby improving the display effect of the status bar icon of the electronic device.
  • FIG. 1 is one of the schematic flowcharts of the display method provided by the embodiment of the present application.
  • Fig. 2 is one of the display states of the preset area in the embodiment of the present application.
  • Fig. 3 is the second display state of the preset area in the embodiment of the present application.
  • Fig. 4 is the third display state of the preset area in the embodiment of the present application.
  • Fig. 5 is the fourth display state of the preset area in the embodiment of the present application.
  • Fig. 6 is the fifth display state of the preset area in the embodiment of the present application.
  • Fig. 7 is the sixth display state of the preset area in the embodiment of the present application.
  • Fig. 8 is the seventh display state of the preset area in the embodiment of the present application.
  • Fig. 9 is the eighth display state of the preset area in the embodiment of the present application.
  • Fig. 10 is the ninth display state of the preset area in the embodiment of the present application.
  • Fig. 11 is the second schematic flow diagram of the display method provided by the embodiment of the present application.
  • Fig. 12 is a schematic structural diagram of a display device provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • Figure 1 is a flow chart of a display method provided by the embodiment of the present application, the method includes the following steps:
  • Step S101 displaying at least one preset icon in a preset area of a display screen of the electronic device
  • Step S102 when it is detected that the target state of the electronic device is switched from the first state to the second state, hide the at least one preset icon, and display prompt information in the preset area, the prompt information
  • the target state for characterizing the electronic device is the second state
  • Step S103 if the preset condition is met, hide the prompt information and display the at least one preset icon.
  • the preset area may be an area near the top of the display screen of the electronic device, that is, the preset area may be used as a status bar display area of the electronic device.
  • the aforementioned preset icon may be a system icon defined by the user, and the user may select the type of the aforementioned preset icon in the "settings" function of the electronic device. Specifically, the user can set the system icon corresponding to the system state that is more concerned about as the preset icon. Since the preset area can display the preset icon in real time, it is convenient for the user to view the system state corresponding to the preset icon in real time. .
  • the at least one preset icon includes: a Subscriber Identity Module (Subscriber Identity Module, SIM) card signal icon, a Wireless Fidelity (Wireless Fidelity, Wi-Fi) signal icon and system power icon.
  • the above-mentioned target state may refer to system states of various electronic devices, for example, it may be a state of whether the electronic device is in flight mode, a state of whether the Bluetooth of the electronic device is turned on, or the like.
  • the target state may also refer to the connection state between the electronic device and the external device, for example, it may refer to the state of whether the electronic device is connected to an earphone cable, or the state of whether the electronic device is connected to a Bluetooth device, etc.
  • the target state may also refer to whether a specific application program in the electronic device is running or not. It can be understood that the target state may also refer to a system state corresponding to the preset icon.
  • the display method provided by the embodiment of the present application is further explained:
  • the preset area Before the power of the system is switched from the first state to the second state, the preset area may display a preset icon as shown in FIG. 2 . It can be preset that when the system power of the electronic device is lower than a first preset value, it is determined that the battery enters a low power state. Therefore, the above-mentioned first state may be a state in which the power of the system is higher than or equal to a first preset value, and the above-mentioned second state may be a state in which the power of the battery is lower than the first preset value.
  • the prompt information may be a battery icon, and the electric quantity in the battery icon is displayed in a red area.
  • the aforementioned preset condition may mean that the display duration of the prompt information exceeds a preset value, for example, when the display duration of the prompt information exceeds 2 seconds or exceeds 5 seconds, the prompt information is hidden and the at least one preset icon.
  • the preset condition may also mean that the target state is switched from the second state to the first state.
  • the aforementioned preset conditions may also be changed based on the current state of the electronic device.
  • the aforementioned preset conditions may refer to: after the display screen of the electronic device is turned on, the prompt Whether the information display time exceeds the preset value.
  • the prompt information may refer to: whether the display duration of the prompt information exceeds a preset value. Therefore, it is avoided that the user misses key status information of the system due to the electronic device being in the off-screen state.
  • the system status corresponding to the preset icon can be displayed in real time through the at least one preset icon.
  • the at least one preset icon is hidden, and prompt information corresponding to the changed state is displayed in the preset area, thereby prompting the user through the prompt information.
  • the state changes, and after the prompt is completed, the prompt information is hidden and at least one preset icon is displayed.
  • the system status corresponding to the preset icon can be displayed in real time, and at the same time, when the system status of the electronic device changes, a reminder can be provided through the preset area, thereby improving the display effect of the status bar icon of the electronic device.
  • the displaying prompt information in the preset area includes:
  • a first icon is displayed in the preset area, and the first icon is used to indicate that the preset system state of the electronic device is the second state.
  • the preset system status may refer to system status such as: system power status, whether the electronic device is in flight mode, whether the electronic device has Bluetooth function enabled, etc.
  • the first icon may be a battery icon, a flight mode icon and bluetooth icon etc.
  • the display area of the first icon may be larger than the display area of the preset icon, so as to better remind the user of system changes of the electronic device.
  • an icon is used to remind the state change of the electronic device, thereby improving the effect of reminding the state change of the system.
  • the preset system state is the system power state of the electronic device
  • the second state is that the system power state of the electronic device is lower than a first preset value
  • the The first icons are displayed in the preset area, including:
  • the first icon and the first charging line icon are displayed in the preset area, and the first charging line icon is used to prompt the user to charge the electronic device.
  • the first icon may be a battery icon, and the remaining battery area in the first icon may be displayed in red, and the first charging line icon may be consistent with all
  • the battery is relatively separated to remind the user that the current electronic device is in a low battery state, and to remind the user that the electronic device needs to be charged.
  • the first icon and the first charging line icon may be hidden.
  • the second icon is used to represent the real-time power value of the electronic device
  • the second charging line icon is respectively used to represent that the electronic device is in a charging state.
  • the current power of the electronic device can also be displayed in the form of text in the preset area.
  • the second icon may be a dynamic icon of gradually increasing battery power, correspondingly, the insertion end of the second charging line icon may face the first icon, and at the same time, the insertion end of the second charging line icon may Contact with the first icon to remind the user that the electronic device is in a charging state.
  • different battery icons and different charging line icons are used to represent different states of the battery of the electronic device, thereby helping the user to better understand the battery state of the electronic device.
  • the displaying prompt information in the preset area includes:
  • Prompt information is dynamically displayed in the preset area.
  • the above-mentioned dynamic display may mean that the prompt information moves left and right within the preset area, for example, the target state is the state of whether the electronic device is in flight mode, and the first state is the state of the electronic device Not in the state of the flight mode, the second state is the state of the electronic device in the flight mode.
  • the icon corresponding to the flight mode can be displayed on the left side of the preset area, and the icon of the flight mode Move to the right, and when the icon of the flight mode covers the preset icon, the corresponding preset icon is hidden.
  • the prompt information may continue to flicker during the left and right movement, and the color of the icon displayed in the preset area changes once after each flicker.
  • the user's attention to the preset area can be increased, thereby improving the status prompt effect of the status bar.
  • the Prompt information will be displayed in the above preset area, including:
  • a third icon and the target state information are displayed in the preset area, the third icon is used to indicate that the connection state between the electronic device and the target device is the second state, and the target state is
  • the information includes at least one of the following state information: quantity information of target devices connected to the electronic device, and state information of the target devices.
  • a corresponding third icon and target status information may be displayed in the preset area, so that the user can determine whether the connection is successful based on the third icon, and, based on
  • the target status information determines status information such as the number of target devices connected to the electronic device and the current status of the devices.
  • the status information of the target device may refer to the current remaining power of the target device, or may refer to Status information such as whether the connection between the target device and the electronic device is disconnected. For example, please refer to FIG.
  • the icon of the Bluetooth headset can be displayed in the preset area, and the current power information of the Bluetooth headset can be displayed, so that the user can The icon determines that the electronic device has successfully established a connection with the Bluetooth headset, and determines the power status of the Bluetooth headset based on the current power information of the Bluetooth headset.
  • the hotspot icon can also be displayed in the preset area as a third icon, and the target of connecting the hotspot of the electronic device can be displayed the number of devices.
  • connection state between the electronic device and the target device is represented in the form of a third icon, and at the same time, the current state of the target device is represented in the form of target state information, or the connection with the electronic device is represented by the target state information.
  • the preset system state is the Wi-Fi network state of the electronic device
  • the second state is the Wi-Fi disconnection of the electronic device
  • the The first icons are displayed in the preset area, including:
  • the first icon and fifth icon are displayed in the preset area, wherein the first icon is used to represent the current signal strength of the Wi-Fi network status, and the fifth icon is used to represent the current Wi-Fi network status.
  • the device's Wi-Fi is disconnected.
  • the first icon may be displayed when the Wi-Fi signal strength of the electronic device is lower than a preset signal strength.
  • the Wi-Fi of the electronic device is in a disconnected state, the first icon and the fifth icon are displayed simultaneously.
  • the Wi-Fi status of the electronic device is displayed based on the first icon and the fifth icon, so that the user can know the current network status of the electronic device based on the first icon and the fifth icon.
  • the preset area Display prompt information including:
  • a fourth icon is displayed in the preset area, and the fourth icon is used to indicate that the application program is in a running state.
  • the above-mentioned application program may refer to the system program of the electronic device.
  • the application program may refer to the "alarm clock program” in the electronic device.
  • the preset An "alarm clock icon” is set to be displayed in the area as the fourth icon, so that the user can determine that the alarm clock is set successfully based on the fourth icon.
  • the application program can also be other programs than the system program of the electronic device.
  • it can be an application program installed in the electronic device by the user. When the user starts the application program, it can be in the preset area Displays the application's icon.
  • the above-mentioned fourth icon may specifically be used to indicate that the application program is switched from the non-running state to the running state. Specifically, when the electronic device receives a start instruction from the user to start the application program, in response to the start instruction, the running At the same time, the application program displays the fourth icon in the preset area to prompt the user that the application program is started successfully.
  • the icon corresponding to the application program is displayed in the preset area, so that the user can determine the start status of the application program based on the application program icon.
  • Figure 11 is a flow chart of a display method provided by the embodiment of this application, the method includes the following steps:
  • the target state is a system power state
  • the second state is that the system power of the electronic device is lower than a first preset value
  • the first icon and the first icon are displayed in the preset area.
  • a charging line icon, the first charging line icon is used to prompt the user to charge the electronic device.
  • the method further includes: hiding the first icon and the charging line when it is detected that the electronic device is connected to the charging line.
  • the first charging line icon, and displaying a second icon and a second charging line icon, the second icon is used to represent the real-time power value of the electronic device, and the second charging line icon is used to represent the electronic device The device is charging.
  • the target state is a connection state between the electronic device and the target device
  • the second state is a connection between the electronic device and the target device
  • displaying a second state in the preset area Three icons and the target state information, the third icon is used to indicate that the connection state between the electronic device and the target device is the second state
  • the target state information includes at least one of the following state information One: information on the quantity of target devices connected to the electronic device, and status information on the target devices.
  • the target state is whether the application program in the electronic device is in the running state, and the second state is the application program is in the running state, displaying a fourth icon in the preset area, the The fourth icon is used to indicate that the application program is running.
  • the target state can also be other states of the electronic device, and the display form of the prompt information can be changed based on the type of the target state, Not exhaustive here.
  • the preset condition is met, the prompt information is hidden and the at least one preset icon is displayed, wherein the preset condition may be a display duration, for example, the display duration exceeds 2 seconds.
  • the embodiment of the present application also provides a display device 1200, which includes:
  • a display module 1201, configured to display at least one preset icon in a preset area of a display screen of the electronic device
  • the display module 1201 is further configured to hide the at least one preset icon and display a prompt in the preset area when it is detected that the target state of the electronic device is switched from the first state to the second state information, the prompt information is used to indicate that the target state of the electronic device is the second state;
  • the display module 1201 is further configured to hide the prompt information and display the at least one preset icon when the preset condition is met.
  • the display module 1201 is further configured to display a first icon in the preset area, and the first icon is used to represent the electronic device
  • the preset system state is the second state.
  • the display module 1201. Further displaying the first icon and a first charging line icon in the preset area, where the first charging line icon is used to prompt a user to charge the electronic device.
  • the display module 1201 is further configured to hide the first icon and the first charging line icon, and display the second icon and A second charging line icon, the second icon is used to represent the real-time power value of the electronic device, and the second charging line icons are respectively used to represent that the electronic device is in a charging state.
  • the display module 1201 is further configured to dynamically display prompt information in the preset area.
  • the display module 1201 when the target state is a connection state between the electronic device and the target device, and the second state is a connection between the electronic device and the target device, the display module 1201, further displaying a third icon and the target state information in the preset area, where the third icon is used to indicate that the connection state between the electronic device and the target device is the second state , the target state information includes at least one of the following state information: quantity information of target devices connected to the electronic device, and state information of the target devices.
  • the display module 1201 when the target state is whether the application in the electronic device is running, and the second state is that the application is running, the display module 1201 further uses A fourth icon is displayed in the preset area, and the fourth icon is used to indicate that the application program is in a running state.
  • the system status corresponding to the preset icon can be displayed in real time through the at least one preset icon.
  • the at least one preset icon is hidden, and prompt information corresponding to the changed state is displayed in the preset area, thereby prompting the user through the prompt information.
  • the state changes, and after the prompt is completed, the prompt information is hidden and at least one preset icon is displayed.
  • the system status corresponding to the preset icon can be displayed in real time, and at the same time, when the system status of the electronic device changes, a reminder can be provided through the preset area, thereby improving the display effect of the status bar icon of the electronic device.
  • the display device 1200 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • PC Personal Computer
  • TV Television, TV
  • teller machine or self-service machine etc.
  • the display device 1200 in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the display device 1200 provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 1 or 11 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 1300, including a processor 1302, a memory 1301, and programs or instructions stored in the memory 1301 and operable on the processor 1302,
  • an electronic device 1300 including a processor 1302, a memory 1301, and programs or instructions stored in the memory 1301 and operable on the processor 1302,
  • the program or instruction is executed by the processor 1302
  • each process of the above-mentioned display method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the display device in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
  • FIG. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1400 includes, but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410, etc. part.
  • the electronic device 1400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 14 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the graphics processor 14041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1407 includes a touch panel 14071 and other input devices 14072 . Touch panel 14071, also called touch screen.
  • the touch panel 14071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 14072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1409 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1410 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various aspects of the above display method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application also provides a computer program product stored in a readable storage medium, the storage medium may be volatile or nonvolatile, and the computer program product is executed by at least one processor to implement the above-mentioned
  • a computer program product stored in a readable storage medium
  • the storage medium may be volatile or nonvolatile
  • the computer program product is executed by at least one processor to implement the above-mentioned
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

The present application belongs to the technical field of display. Disclosed are a display method and apparatus, and an electronic device. The method comprises: displaying at least one preset icon in a preset area of a display screen of an electronic device; if it is detected that a target state of the electronic device is switched from a first state to a second state, hiding the at least one preset icon, and displaying prompt information in the preset area, wherein the prompt information is used for representing the fact that the target state of the electronic device is the second state; and if a preset condition is met, hiding the prompt information, and displaying the at least one preset icon.

Description

显示方法、装置和电子设备Display method, device and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年09月24日在中国提交的中国专利申请No.202111119820.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111119820.9 filed in China on September 24, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请涉及通信技术领域,具体涉及一种显示方法、装置和电子设备。The present application relates to the technical field of communication, and in particular to a display method, device and electronic equipment.
背景技术Background technique
相关技术中,电子设备的状态栏通常是设置于显示屏的顶部区域。随着电子设备逐渐朝高屏占比的方向发展,电子设备正面的非显示区域的空间不断被压缩,为确保前置摄像头等硬件设备能够正常安装,通常是在显示屏的状态栏显示区域划分出部分空间用于安装前置摄像头等硬件设备,这样,将导致状态栏显示区域的空间被压缩,而状态栏的图标通常用于表征电子设备的系统状态。状态栏显示区域的空间被压缩将导致状态栏可显示的状态栏图标的数量减少,进而导致电子设备的状态栏的显示效果变差。In the related art, the status bar of the electronic device is usually set on the top area of the display screen. With the gradual development of electronic devices in the direction of high screen-to-body ratio, the space of the non-display area on the front of the electronic device is constantly being compressed. Part of the space is used to install hardware devices such as front-facing cameras, which will cause the space in the display area of the status bar to be compressed, and the icons in the status bar are usually used to represent the system status of the electronic device. The compressed space of the display area of the status bar will reduce the number of status bar icons that can be displayed in the status bar, which in turn will lead to poor display effect of the status bar of the electronic device.
发明内容Contents of the invention
本申请实施例的目的是提供一种会话处理方法、装置及电子设备,能够解决目前会话列表界面的会话标识显示方式不便于用户对重要会话标识对应的消息进行处理的问题。The purpose of the embodiment of the present application is to provide a conversation processing method, device and electronic equipment, which can solve the problem that the current conversation list interface display mode of the conversation identifier is not convenient for the user to process the message corresponding to the important conversation identifier.
本申请提供的一种显示方法、装置和电子设备,可以改善电子设备的状态栏图标的显示效果。The present application provides a display method, device and electronic equipment, which can improve the display effect of icons in the status bar of the electronic equipment.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:
第一方面,本申请实施例提供了一种显示方法,包括:In the first aspect, the embodiment of the present application provides a display method, including:
在电子设备的显示屏的预设区域显示至少一个预设图标;displaying at least one preset icon in a preset area of a display screen of the electronic device;
在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下, 隐藏所述至少一个预设图标,并在所述预设区域显示提示信息,所述提示信息用于表征所述电子设备的目标状态为所述第二状态;When it is detected that the target state of the electronic device is switched from the first state to the second state, the at least one preset icon is hidden, and prompt information is displayed in the preset area, and the prompt information is used to represent the target state of the electronic device is the second state;
在满足预设条件的情况下,隐藏所述提示信息,并显示所述至少一个预设图标。If the preset condition is met, the prompt information is hidden and the at least one preset icon is displayed.
第二方面,本申请实施例提供了一种显示装置,包括:In a second aspect, the embodiment of the present application provides a display device, including:
显示模块,用于在电子设备的显示屏的预设区域显示至少一个预设图标;A display module, configured to display at least one preset icon in a preset area of a display screen of the electronic device;
所述显示模块,还用于在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下,隐藏所述至少一个预设图标,并在所述预设区域显示提示信息,所述提示信息用于表征所述电子设备的目标状态为所述第二状态;The display module is further configured to hide the at least one preset icon and display prompt information in the preset area when it is detected that the target state of the electronic device is switched from the first state to the second state , the prompt information is used to indicate that the target state of the electronic device is the second state;
所述显示模块,还用于在满足预设条件的情况下,隐藏所述提示信息,并显示所述至少一个预设图标。The display module is further configured to hide the prompt information and display the at least one preset icon when a preset condition is met.
第三方面,本申请实施例提供了一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现上述第一方面所述的步骤。In the third aspect, the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and operable on the processor, and the program or instruction is processed by the The steps described in the first aspect above are realized when the controller is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现上述第一方面所述的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps described in the above first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,所述程序或指令被处理器执行时实现上述第一方面所述的步骤。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and the programs or instructions When executed by the processor, the steps described in the first aspect above are realized.
第六方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的显示方法的步骤。In a sixth aspect, an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect. The steps of the display method described above.
第七方面,本申请实施例提供了一种电子设备,被配置为执行如第一方面所述的显示方法的步骤。In a seventh aspect, the embodiment of the present application provides an electronic device configured to execute the steps of the display method described in the first aspect.
本申请实施例中,通过将至少一个预设图标显示于电子设备显示屏的预设区域,以便于通过所述至少一个预设图标实时显示预设图标对应的系统状态。同时,在检测到电子设备的某一状态发生变化时,隐藏所述至少一个预 设图标,并在所述预设区域显示与所述发生变化的状态对应的提示信息,从而通过提示信息提示用户该状态发生变化,并在提示完成之后,隐藏提示信息、显示至少一个预设图标。这样,既可以实时显示预设图标对应的系统状态,同时,还可以在电子设备的系统状态发生变化时,通过预设区域进行提醒,从而改善了改善电子设备的状态栏图标的显示效果。In the embodiment of the present application, by displaying at least one preset icon in a preset area of the display screen of the electronic device, the system status corresponding to the preset icon can be displayed in real time through the at least one preset icon. At the same time, when a change in a certain state of the electronic device is detected, the at least one preset icon is hidden, and prompt information corresponding to the changed state is displayed in the preset area, thereby prompting the user through the prompt information The state changes, and after the prompt is completed, the prompt information is hidden and at least one preset icon is displayed. In this way, the system state corresponding to the preset icon can be displayed in real time, and at the same time, when the system state of the electronic device changes, a reminder can be provided through the preset area, thereby improving the display effect of the status bar icon of the electronic device.
附图说明Description of drawings
图1是本申请实施例提供的显示方法的流程示意图之一;FIG. 1 is one of the schematic flowcharts of the display method provided by the embodiment of the present application;
图2是本申请实施例中预设区域的显示状态之一;Fig. 2 is one of the display states of the preset area in the embodiment of the present application;
图3是本申请实施例中预设区域的显示状态之二;Fig. 3 is the second display state of the preset area in the embodiment of the present application;
图4是本申请实施例中预设区域的显示状态之三;Fig. 4 is the third display state of the preset area in the embodiment of the present application;
图5是本申请实施例中预设区域的显示状态之四;Fig. 5 is the fourth display state of the preset area in the embodiment of the present application;
图6是本申请实施例中预设区域的显示状态之五;Fig. 6 is the fifth display state of the preset area in the embodiment of the present application;
图7是本申请实施例中预设区域的显示状态之六;Fig. 7 is the sixth display state of the preset area in the embodiment of the present application;
图8是本申请实施例中预设区域的显示状态之七;Fig. 8 is the seventh display state of the preset area in the embodiment of the present application;
图9是本申请实施例中预设区域的显示状态之八;Fig. 9 is the eighth display state of the preset area in the embodiment of the present application;
图10是本申请实施例中预设区域的显示状态之九;Fig. 10 is the ninth display state of the preset area in the embodiment of the present application;
图11是本申请实施例提供的显示方法的流程示意图之二;Fig. 11 is the second schematic flow diagram of the display method provided by the embodiment of the present application;
图12是本申请实施例提供的一种显示装置的结构示意图;Fig. 12 is a schematic structural diagram of a display device provided by an embodiment of the present application;
图13是本申请实施例提供的一种电子设备的结构示意图;FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图14是本申请实施例提供的电子设备的硬件结构示意图。FIG. 14 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别 类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示方法、装置和电子设备进行详细地说明。The display method, device, and electronic device provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
请参见图1,为本申请实施例提供的一种显示方法的流程图,所述方法包括以下步骤:Please refer to Figure 1, which is a flow chart of a display method provided by the embodiment of the present application, the method includes the following steps:
步骤S101、在电子设备的显示屏的预设区域显示至少一个预设图标;Step S101, displaying at least one preset icon in a preset area of a display screen of the electronic device;
步骤S102、在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下,隐藏所述至少一个预设图标,并在所述预设区域显示提示信息,所述提示信息用于表征所述电子设备的目标状态为所述第二状态;Step S102, when it is detected that the target state of the electronic device is switched from the first state to the second state, hide the at least one preset icon, and display prompt information in the preset area, the prompt information The target state for characterizing the electronic device is the second state;
步骤S103、在满足预设条件的情况下,隐藏所述提示信息,并显示所述至少一个预设图标。Step S103, if the preset condition is met, hide the prompt information and display the at least one preset icon.
其中,所述预设区域可以是电子设备显示屏靠近顶部的区域,即可以将所述预设区域作为电子设备的状态栏显示区域。Wherein, the preset area may be an area near the top of the display screen of the electronic device, that is, the preset area may be used as a status bar display area of the electronic device.
上述预设图标可以是用户自行定义的系统图标,用户可以通过在电子设备的“设置”功能中对上述预设图标的类型进行选择。具体地,用户可以将比较关注的系统状态对应的系统图标设置为所述预设图标,由于所述预设区域可以实时显示所述预设图标,从而方便用户实时查看预设图标对应的系统状态。例如,请参见图2,在本申请一个实施例中,所述至少一个预设图标包括:用户识别模块(Subscriber Identity Module,SIM)卡信号图标、无线保真(Wireless Fidelity,Wi-Fi)信号图标和系统电量图标。The aforementioned preset icon may be a system icon defined by the user, and the user may select the type of the aforementioned preset icon in the "settings" function of the electronic device. Specifically, the user can set the system icon corresponding to the system state that is more concerned about as the preset icon. Since the preset area can display the preset icon in real time, it is convenient for the user to view the system state corresponding to the preset icon in real time. . For example, referring to Fig. 2, in one embodiment of the present application, the at least one preset icon includes: a Subscriber Identity Module (Subscriber Identity Module, SIM) card signal icon, a Wireless Fidelity (Wireless Fidelity, Wi-Fi) signal icon and system power icon.
上述目标状态可以是指各类电子设备的系统状态,例如,可以是电子设备是否进入飞行模式的状态、电子设备的蓝牙是否开启的状态等。此外,所述目标状态还可以是指电子设备与外部设备之间的连接状态,例如,可以是指电子设备是否连接耳机线的状态,或者,电子设备是否连接蓝牙设备的状 态等。或者,所述目标状态还可以是指所述电子设备中的特定应用程序是否处于运行状态等。可以理解的是,所述目标状态也可以是指上述预设图标对应的系统状态。The above-mentioned target state may refer to system states of various electronic devices, for example, it may be a state of whether the electronic device is in flight mode, a state of whether the Bluetooth of the electronic device is turned on, or the like. In addition, the target state may also refer to the connection state between the electronic device and the external device, for example, it may refer to the state of whether the electronic device is connected to an earphone cable, or the state of whether the electronic device is connected to a Bluetooth device, etc. Alternatively, the target state may also refer to whether a specific application program in the electronic device is running or not. It can be understood that the target state may also refer to a system state corresponding to the preset icon.
在本申请一个实施例中,以所述目标状态为系统电量状态为例,对本申请实施例提供的显示方法作进一步的解释说明:In one embodiment of the present application, taking the target state as the system power state as an example, the display method provided by the embodiment of the present application is further explained:
在所述系统电量由第一状态切换至第二状态之前,所述预设区域可以显示图2所示的预设图标。可以预先设置当电子设备的系统电量低于第一预设值时,确定电池进入低电量状态。因此,上述第一状态可以是系统电量高于或等于第一预设值的状态,上述第二状态可以是电池的电量低于第一预设值的状态。这样,当电池切换至低电量状态时,可以隐藏所述预设区域的至少一个预设图标,同时,显示提示信息,所述提示信息用于指示所述电池切换至低电量状态。其中,请参见图3,所述提示信息可以是电池图标,且所述电池图标中的电量以红色区域进行显示。Before the power of the system is switched from the first state to the second state, the preset area may display a preset icon as shown in FIG. 2 . It can be preset that when the system power of the electronic device is lower than a first preset value, it is determined that the battery enters a low power state. Therefore, the above-mentioned first state may be a state in which the power of the system is higher than or equal to a first preset value, and the above-mentioned second state may be a state in which the power of the battery is lower than the first preset value. In this way, when the battery switches to the low battery state, at least one preset icon in the preset area can be hidden, and at the same time, prompt information is displayed, and the prompt information is used to instruct the battery to switch to the low battery state. Wherein, referring to FIG. 3 , the prompt information may be a battery icon, and the electric quantity in the battery icon is displayed in a red area.
上述预设条件可以是指所述提示信息的显示时长超过预设值,例如,当所述提示信息的显示时长超过2秒或者超过5秒时,隐藏所述提示信息,同时显示所述至少一个预设图标。此外,所述预设条件也可以是指所述目标状态由第二状态切换至第一状态。The aforementioned preset condition may mean that the display duration of the prompt information exceeds a preset value, for example, when the display duration of the prompt information exceeds 2 seconds or exceeds 5 seconds, the prompt information is hidden and the at least one preset icon. In addition, the preset condition may also mean that the target state is switched from the second state to the first state.
上述预设条件还可以基于电子设备的当前状态进行变化,例如,当电子设备当前处于息屏状态时,上述预设条件可以是指:在所述电子设备的显示屏亮屏后,所述提示信息的显示时长是否超过预设值。而当所述电子设备当前处于亮屏状态时,所述提示信息可以是指:所述提示信息的显示时长是否超过预设值。从而避免由于电子设备处于息屏状态,而导致用户遗漏系统的关键状态信息。The aforementioned preset conditions may also be changed based on the current state of the electronic device. For example, when the electronic device is currently in a screen-off state, the aforementioned preset conditions may refer to: after the display screen of the electronic device is turned on, the prompt Whether the information display time exceeds the preset value. When the electronic device is currently in a bright screen state, the prompt information may refer to: whether the display duration of the prompt information exceeds a preset value. Therefore, it is avoided that the user misses key status information of the system due to the electronic device being in the off-screen state.
该实施方式中,通过将至少一个预设图标显示于电子设备显示屏的预设区域,以便于通过所述至少一个预设图标实时显示预设图标对应的系统状态。同时,在检测到电子设备的某一状态发生变化时,隐藏所述至少一个预设图标,并在所述预设区域显示与所述发生变化的状态对应的提示信息,从而通过提示信息提示用户该状态发生变化,并在提示完成之后,隐藏提示信息、显示至少一个预设图标。这样,既可以实时显示预设图标对应的系统状态, 同时,还可以在电子设备的系统状态发生变化时,通过预设区域进行提醒,从而改善了改善电子设备的状态栏图标的显示效果。In this embodiment, by displaying at least one preset icon in a preset area of the display screen of the electronic device, the system status corresponding to the preset icon can be displayed in real time through the at least one preset icon. At the same time, when a change in a certain state of the electronic device is detected, the at least one preset icon is hidden, and prompt information corresponding to the changed state is displayed in the preset area, thereby prompting the user through the prompt information The state changes, and after the prompt is completed, the prompt information is hidden and at least one preset icon is displayed. In this way, the system status corresponding to the preset icon can be displayed in real time, and at the same time, when the system status of the electronic device changes, a reminder can be provided through the preset area, thereby improving the display effect of the status bar icon of the electronic device.
可选地,在所述目标状态为预设系统状态的情况下,所述在所述预设区域显示提示信息,包括:Optionally, when the target state is a preset system state, the displaying prompt information in the preset area includes:
在所述预设区域显示第一图标,所述第一图标用于表征所述电子设备的所述预设系统状态为所述第二状态。A first icon is displayed in the preset area, and the first icon is used to indicate that the preset system state of the electronic device is the second state.
其中,所述预设系统状态可以是指:系统电量状态、电子设备是否进行飞行模式的状态、电子设备是否开启蓝牙功能等系统状态,相应地,所述第一图标可以是电池图标、飞行模式图标和蓝牙图标等。Wherein, the preset system status may refer to system status such as: system power status, whether the electronic device is in flight mode, whether the electronic device has Bluetooth function enabled, etc. Correspondingly, the first icon may be a battery icon, a flight mode icon and bluetooth icon etc.
上述第一图标的显示面积可以大于所述预设图标的显示面积,以便于更好的提醒用户电子设备的系统变化情况。The display area of the first icon may be larger than the display area of the preset icon, so as to better remind the user of system changes of the electronic device.
该实施方式中,由于电子设备的状态栏的区域的面积通常较小,因此,通过文字等形式提醒可能会由于文字字体过小而导致提醒效果变差的问题。基于此,本申请实施例中通过采用图标的形式对电子设备的状态变化进行提醒,从而提高对系统状态变化的提醒效果。In this implementation manner, since the area of the status bar of the electronic device is generally small, prompting through text or other forms may lead to a problem that the prompting effect is deteriorated due to the small text font. Based on this, in the embodiment of the present application, an icon is used to remind the state change of the electronic device, thereby improving the effect of reminding the state change of the system.
可选地,在所述预设系统状态为所述电子设备的系统电量状态,且所述第二状态为所述电子设备的系统电量低于第一预设值的情况下,所述在所述预设区域显示第一图标,包括:Optionally, when the preset system state is the system power state of the electronic device, and the second state is that the system power state of the electronic device is lower than a first preset value, the The first icons are displayed in the preset area, including:
在所述预设区域显示所述第一图标和第一充电线图标,所述第一充电线图标用于提示用户对所述电子设备进行充电。The first icon and the first charging line icon are displayed in the preset area, and the first charging line icon is used to prompt the user to charge the electronic device.
请参见图3,在本申请一个实施例中,所述第一图标可以为电池图标,且所述第一图标中的剩余电量区域可以显示为红色,所述第一充电线图标的可以与所述电池相对隔开,以提示用户当前电子设备处于低电量状态,以及,提示用户需要对电子设备进行充电。Please refer to FIG. 3 , in an embodiment of the present application, the first icon may be a battery icon, and the remaining battery area in the first icon may be displayed in red, and the first charging line icon may be consistent with all The battery is relatively separated to remind the user that the current electronic device is in a low battery state, and to remind the user that the electronic device needs to be charged.
相应地,请参见图4,在检测到所述电子设备与充电线连接的情况下,即所述电子设备正在开始充电的情况下,可以隐藏所述第一图标和所述第一充电线图标,以及,显示第二图标和第二充电线图标,所述第二图标用于表征所述电子设备的实时电量值,所述第二充电线图标分别用于表征所述电子设备处于充电状态。同时,还可以在所述预设区域以文字的形式显示电子设 备的当前电量。Correspondingly, referring to FIG. 4, when it is detected that the electronic device is connected to the charging line, that is, the electronic device is starting to charge, the first icon and the first charging line icon may be hidden. , and displaying a second icon and a second charging line icon, the second icon is used to represent the real-time power value of the electronic device, and the second charging line icon is respectively used to represent that the electronic device is in a charging state. At the same time, the current power of the electronic device can also be displayed in the form of text in the preset area.
具体地,所述第二图标可以是电池电量逐渐增加的动态图标,相应地,所述第二充电线图标的插入端可以朝向第一图标,同时,所述第二充电线图标的插入端可以与第一图标相接触,以提示用户电子设备正处于充电状态。Specifically, the second icon may be a dynamic icon of gradually increasing battery power, correspondingly, the insertion end of the second charging line icon may face the first icon, and at the same time, the insertion end of the second charging line icon may Contact with the first icon to remind the user that the electronic device is in a charging state.
该实施方式中,通过采用不同的电池图标和不同的充电线图标来表征电子设备电池的不同状态,从而有利于用户更好的了解电子设备的电池状态。In this embodiment, different battery icons and different charging line icons are used to represent different states of the battery of the electronic device, thereby helping the user to better understand the battery state of the electronic device.
可选地,所述在所述预设区域显示提示信息,包括:Optionally, the displaying prompt information in the preset area includes:
在所述预设区域动态显示提示信息。Prompt information is dynamically displayed in the preset area.
具体地,上述动态显示可以是指所述提示信息在所述预设区域内左右移动,例如,所述目标状态为所述电子设备是否进入飞行模式的状态,且所述第一状态为电子设备未处于飞行模式的状态,所述第二状态为电子设备处于飞行模式的状态。此时,请参见图5-图7,若所述电子设备由第一状态切换至第二状态,可以在所述预设区域的左侧显示飞行模式对应的图标,并使飞行模式的图标向右侧移动,在所述飞行模式的图标覆盖所述预设图标时,隐藏对应的预设图标。此外,所述提示信息在左右移动的过程中还可以持续闪烁,且每次闪烁之后预设区域显示的图标的颜色变化一次。Specifically, the above-mentioned dynamic display may mean that the prompt information moves left and right within the preset area, for example, the target state is the state of whether the electronic device is in flight mode, and the first state is the state of the electronic device Not in the state of the flight mode, the second state is the state of the electronic device in the flight mode. At this time, please refer to Figures 5-7, if the electronic device is switched from the first state to the second state, the icon corresponding to the flight mode can be displayed on the left side of the preset area, and the icon of the flight mode Move to the right, and when the icon of the flight mode covers the preset icon, the corresponding preset icon is hidden. In addition, the prompt information may continue to flicker during the left and right movement, and the color of the icon displayed in the preset area changes once after each flicker.
该实施方式中,通过使所述提示信息动态显示,这样可以提高用户对预设区域的关注度,进而提高状态栏的状态提示效果。In this embodiment, by dynamically displaying the prompt information, the user's attention to the preset area can be increased, thereby improving the status prompt effect of the status bar.
可选地,在所述目标状态为所述电子设备与所述目标设备之间的连接状态,且所述第二状态为所述电子设备与所述目标设备连接的情况下,所述在所述预设区域显示提示信息,包括:Optionally, when the target state is a connection state between the electronic device and the target device, and the second state is a connection between the electronic device and the target device, the Prompt information will be displayed in the above preset area, including:
在所述预设区域显示第三图标和所述目标状态信息,所述第三图标用于表征所述电子设备与所述目标设备之间的连接状态为所述第二状态,所述目标状态信息包括以下状态信息中的至少一种:与所述电子设备连接的目标设备的数量信息、所述目标设备的状态信息。A third icon and the target state information are displayed in the preset area, the third icon is used to indicate that the connection state between the electronic device and the target device is the second state, and the target state is The information includes at least one of the following state information: quantity information of target devices connected to the electronic device, and state information of the target devices.
其中,当所电子设备与其他设备之间建立连接时,可以在所述预设区域显示相应地的第三图标和目标状态信息,以便于用户基于所述第三图标确定是否连接成功,以及,基于所述目标状态信息确定与所述电子设备连接的目标设备的数量和所述设备的当前状态等状态信息,所述目标设备的状态信息 可以是指目标设备当前的剩余电量,或者,可以是指目标设备与电子设备之间的连接是否断开等状态信息。例如,请参见图8,当所述电子设备与蓝牙耳机连接的情况下,可以在所述预设区域显示蓝牙耳机的图标,以及,显示蓝牙耳机的当前电量信息,以便于用户基于蓝牙耳机的图标确定电子设备以成功与蓝牙耳机建立连接,以及,基于所述蓝牙耳机的当前电量信息确定蓝牙耳机的电量状态。Wherein, when a connection is established between the electronic device and other devices, a corresponding third icon and target status information may be displayed in the preset area, so that the user can determine whether the connection is successful based on the third icon, and, based on The target status information determines status information such as the number of target devices connected to the electronic device and the current status of the devices. The status information of the target device may refer to the current remaining power of the target device, or may refer to Status information such as whether the connection between the target device and the electronic device is disconnected. For example, please refer to FIG. 8, when the electronic device is connected to the Bluetooth headset, the icon of the Bluetooth headset can be displayed in the preset area, and the current power information of the Bluetooth headset can be displayed, so that the user can The icon determines that the electronic device has successfully established a connection with the Bluetooth headset, and determines the power status of the Bluetooth headset based on the current power information of the Bluetooth headset.
此外,请参见图9,当所述电子设备向其他设备共享WI-FI热点时,还可以在所述预设区域显示热点图标作为第三图标,以及,显示连接所述电子设备的热点的目标设备的数量。In addition, referring to FIG. 9, when the electronic device shares a WI-FI hotspot with other devices, the hotspot icon can also be displayed in the preset area as a third icon, and the target of connecting the hotspot of the electronic device can be displayed the number of devices.
该实施方式中,通过以第三图标的形式表征电子设备与目标设备之间的连接状态,同时,以目标状态信息的形式表征目标设备的当前状态,或者,通过目标状态信息表征与电子设备连接的目标设备的数量,从而可以方便用户基于预设区域显示的内容掌握尽可能多的状态信息,以进一步提高预设区域的状态显示效果。In this embodiment, the connection state between the electronic device and the target device is represented in the form of a third icon, and at the same time, the current state of the target device is represented in the form of target state information, or the connection with the electronic device is represented by the target state information The number of target devices, so that it is convenient for the user to grasp as much status information as possible based on the content displayed in the preset area, so as to further improve the status display effect of the preset area.
请参见图10,在所述预设系统状态为所述电子设备的Wi-Fi网络状态,且所述第二状态为所述电子设备的Wi-Fi断开连接的情况下,所述在所述预设区域显示第一图标,包括:Please refer to FIG. 10, when the preset system state is the Wi-Fi network state of the electronic device, and the second state is the Wi-Fi disconnection of the electronic device, the The first icons are displayed in the preset area, including:
在所述预设区域显示所述第一图标和第五图标,其中,所述第一图标用于表征所述Wi-Fi网络状态当前的信号强弱,所述第五图标用于表征当前电子设备的Wi-Fi处于断开状态。The first icon and fifth icon are displayed in the preset area, wherein the first icon is used to represent the current signal strength of the Wi-Fi network status, and the fifth icon is used to represent the current Wi-Fi network status. The device's Wi-Fi is disconnected.
可以理解的是,当所述电子设备的Wi-Fi未处于断开状态时,所述第五图标不显示。It can be understood that, when the Wi-Fi of the electronic device is not disconnected, the fifth icon is not displayed.
具体而言,在本申请一个实施例中,可以在所述电子设备的Wi-Fi的信号强度低于预设信号强度时,显示所述第一图标。在所述电子设备的Wi-Fi处于断开状态时,同时显示所述第一图标和第五图标。Specifically, in one embodiment of the present application, the first icon may be displayed when the Wi-Fi signal strength of the electronic device is lower than a preset signal strength. When the Wi-Fi of the electronic device is in a disconnected state, the first icon and the fifth icon are displayed simultaneously.
该实施方式中,通过基于第一图标和第五图标对电子设备的Wi-Fi状态进行显示,以便于用户基于第一图标和第五图标了解电子设备当前的网络状态。In this embodiment, the Wi-Fi status of the electronic device is displayed based on the first icon and the fifth icon, so that the user can know the current network status of the electronic device based on the first icon and the fifth icon.
可选地,在所述目标状态为所述电子设备中的应用程序的是否处于运行 状态,且所述第二状态为所述应用程序处于运行状态的情况下,所述在所述预设区域显示提示信息,包括:Optionally, when the target state is whether the application in the electronic device is running, and the second state is that the application is running, the preset area Display prompt information, including:
在所述预设区域显示第四图标,所述第四图标用于表征所述应用程序处于运行状态。A fourth icon is displayed in the preset area, and the fourth icon is used to indicate that the application program is in a running state.
其中,上述应用程序可以是指电子设备的系统程序,例如,所述应用程序可以是指电子设备中的“闹钟程序”,当用户基于“闹钟程序”设定一个闹钟时,可以在所述预设区域显示“闹钟图标”作为所述第四图标,以便于用户基于所述第四图标确定闹钟设定成功。此外,所述应用程序还可以是电子设备的系统程序之外的其他程序,例如,可以是用户自行安装于电子设备中的应用程序,当用户启动该应用程序时,可以在所述预设区域显示该应用程序的图标。Wherein, the above-mentioned application program may refer to the system program of the electronic device. For example, the application program may refer to the "alarm clock program" in the electronic device. When the user sets an alarm clock based on the "alarm clock program", the preset An "alarm clock icon" is set to be displayed in the area as the fourth icon, so that the user can determine that the alarm clock is set successfully based on the fourth icon. In addition, the application program can also be other programs than the system program of the electronic device. For example, it can be an application program installed in the electronic device by the user. When the user starts the application program, it can be in the preset area Displays the application's icon.
上述第四图标具体可以用于表征所述应用程序由非运行状态切换至运行状态,具体而言,当电子设备接收到用户启动所述应用程序的启动指令时,响应于所述启动指令,运行所述应用程序,同时,在所述预设区域显示所述第四图标,以提示用户所述应用程序启动成功。The above-mentioned fourth icon may specifically be used to indicate that the application program is switched from the non-running state to the running state. Specifically, when the electronic device receives a start instruction from the user to start the application program, in response to the start instruction, the running At the same time, the application program displays the fourth icon in the preset area to prompt the user that the application program is started successfully.
该实施方式中,通过在电子设备中的应用程序成功启动的情况下,在预设区域显示应用程序对应的图标,以便于用户基于应用程序的图标确定应用程序的启动状态。In this embodiment, when the application program in the electronic device is successfully started, the icon corresponding to the application program is displayed in the preset area, so that the user can determine the start status of the application program based on the application program icon.
请参见图11,为本申请实施例提供的一种显示方法流程图,所述方法包括以下步骤:Please refer to Figure 11, which is a flow chart of a display method provided by the embodiment of this application, the method includes the following steps:
在电子设备的显示屏的预设区域显示至少一个预设图标;在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下,隐藏所述至少一个预设图标,并基于目标状态的类型信息对应的提示信息;其中:Displaying at least one preset icon in a preset area of the display screen of the electronic device; hiding the at least one preset icon when it is detected that the target state of the electronic device is switched from the first state to the second state, and The prompt information corresponding to the type information based on the target state; among them:
在所述目标状态为系统电量状态,且所述第二状态为所述电子设备的系统电量低于第一预设值的情况下,在所述预设区域显示所述第一图标和第一充电线图标,所述第一充电线图标用于提示用户对所述电子设备进行充电。所述在所述预设区域显示所述第一图标和充电线图标之后,所述方法还包括:在检测到所述电子设备与充电线连接的情况下,隐藏所述第一图标和所述第 一充电线图标,以及,显示第二图标和第二充电线图标,所述第二图标用于表征所述电子设备的实时电量值,所述第二充电线图标分别用于表征所述电子设备处于充电状态。When the target state is a system power state, and the second state is that the system power of the electronic device is lower than a first preset value, the first icon and the first icon are displayed in the preset area. A charging line icon, the first charging line icon is used to prompt the user to charge the electronic device. After displaying the first icon and the charging line icon in the preset area, the method further includes: hiding the first icon and the charging line when it is detected that the electronic device is connected to the charging line. The first charging line icon, and displaying a second icon and a second charging line icon, the second icon is used to represent the real-time power value of the electronic device, and the second charging line icon is used to represent the electronic device The device is charging.
在所述目标状态为所述电子设备与所述目标设备之间的连接状态,且所述第二状态为所述电子设备与所述目标设备连接的情况下,在所述预设区域显示第三图标和所述目标状态信息,所述第三图标用于表征所述电子设备与所述目标设备之间的连接状态为所述第二状态,所述目标状态信息包括以下状态信息中的至少一种:与所述电子设备连接的目标设备的数量信息、所述目标设备的状态信息。When the target state is a connection state between the electronic device and the target device, and the second state is a connection between the electronic device and the target device, displaying a second state in the preset area Three icons and the target state information, the third icon is used to indicate that the connection state between the electronic device and the target device is the second state, and the target state information includes at least one of the following state information One: information on the quantity of target devices connected to the electronic device, and status information on the target devices.
在所述目标状态为所述电子设备中的应用程序的是否处于运行状态,且所述第二状态为所述应用程序处于运行状态的情况下,在所述预设区域显示第四图标,所述第四图标用于表征所述应用程序处于运行状态。When the target state is whether the application program in the electronic device is in the running state, and the second state is the application program is in the running state, displaying a fourth icon in the preset area, the The fourth icon is used to indicate that the application program is running.
可以理解的是,以上三种状态为本申请实施例列举的三种状态,所述目标状态还可以是电子设备的其他状态,且所述提示信息的显示形式可以基于目标状态的类型进行变化,在此不再穷举。It can be understood that the above three states are the three states listed in the embodiment of the present application, the target state can also be other states of the electronic device, and the display form of the prompt information can be changed based on the type of the target state, Not exhaustive here.
在满足预设条件的情况下,隐藏所述提示信息,并显示所述至少一个预设图标,其中,所述预设条件可以是显示时长,例如,显示时长超过2秒。If the preset condition is met, the prompt information is hidden and the at least one preset icon is displayed, wherein the preset condition may be a display duration, for example, the display duration exceeds 2 seconds.
本实施例的具体实现过程与上述实施例相同,且能实现相同的有益效果,为避免重复,再次不再予以赘述。The specific implementation process of this embodiment is the same as that of the above-mentioned embodiment, and can achieve the same beneficial effect. To avoid repetition, it will not be described again.
请参见图12,本申请实施例还提供了一种显示装置1200,所述装置包括:Please refer to FIG. 12 , the embodiment of the present application also provides a display device 1200, which includes:
显示模块1201,用于在电子设备的显示屏的预设区域显示至少一个预设图标;A display module 1201, configured to display at least one preset icon in a preset area of a display screen of the electronic device;
所述显示模块1201,还用于在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下,隐藏所述至少一个预设图标,并在所述预设区域显示提示信息,所述提示信息用于表征所述电子设备的目标状态为所述第二状态;The display module 1201 is further configured to hide the at least one preset icon and display a prompt in the preset area when it is detected that the target state of the electronic device is switched from the first state to the second state information, the prompt information is used to indicate that the target state of the electronic device is the second state;
所述显示模块1201,还用于在满足预设条件的情况下,隐藏所述提示信 息,并显示所述至少一个预设图标。The display module 1201 is further configured to hide the prompt information and display the at least one preset icon when the preset condition is met.
可选地,在所述目标状态为预设系统状态的情况下,所述显示模块1201,还用于在所述预设区域显示第一图标,所述第一图标用于表征所述电子设备的所述预设系统状态为所述第二状态。Optionally, when the target state is a preset system state, the display module 1201 is further configured to display a first icon in the preset area, and the first icon is used to represent the electronic device The preset system state is the second state.
可选地,在所述预设系统状态为所述电子设备的系统电量状态,且所述第二状态为所述电子设备的系统电量低于第一预设值的情况下,所述显示模块1201,还用于在所述预设区域显示所述第一图标和第一充电线图标,所述第一充电线图标用于提示用户对所述电子设备进行充电。Optionally, when the preset system state is the system power state of the electronic device, and the second state is that the system power state of the electronic device is lower than a first preset value, the display module 1201. Further displaying the first icon and a first charging line icon in the preset area, where the first charging line icon is used to prompt a user to charge the electronic device.
可选地,所述显示模块1201,还用于在检测到所述电子设备与充电线连接的情况下,隐藏所述第一图标和所述第一充电线图标,以及,显示第二图标和第二充电线图标,所述第二图标用于表征所述电子设备的实时电量值,所述第二充电线图标分别用于表征所述电子设备处于充电状态。Optionally, the display module 1201 is further configured to hide the first icon and the first charging line icon, and display the second icon and A second charging line icon, the second icon is used to represent the real-time power value of the electronic device, and the second charging line icons are respectively used to represent that the electronic device is in a charging state.
可选地,所述显示模块1201,还用于在所述预设区域动态显示提示信息。Optionally, the display module 1201 is further configured to dynamically display prompt information in the preset area.
可选地,在所述目标状态为所述电子设备与所述目标设备之间的连接状态,且所述第二状态为所述电子设备与所述目标设备连接的情况下,所述显示模块1201,还用于在所述预设区域显示第三图标和所述目标状态信息,所述第三图标用于表征所述电子设备与所述目标设备之间的连接状态为所述第二状态,所述目标状态信息包括以下状态信息中的至少一种:与所述电子设备连接的目标设备的数量信息、所述目标设备的状态信息。Optionally, when the target state is a connection state between the electronic device and the target device, and the second state is a connection between the electronic device and the target device, the display module 1201, further displaying a third icon and the target state information in the preset area, where the third icon is used to indicate that the connection state between the electronic device and the target device is the second state , the target state information includes at least one of the following state information: quantity information of target devices connected to the electronic device, and state information of the target devices.
可选地,在所述目标状态为所述电子设备中的应用程序的是否处于运行状态,且所述第二状态为所述应用程序处于运行状态的情况下,所述显示模块1201,还用于在所述预设区域显示第四图标,所述第四图标用于表征所述应用程序处于运行状态。Optionally, when the target state is whether the application in the electronic device is running, and the second state is that the application is running, the display module 1201 further uses A fourth icon is displayed in the preset area, and the fourth icon is used to indicate that the application program is in a running state.
该实施方式中,通过将至少一个预设图标显示于电子设备显示屏的预设区域,以便于通过所述至少一个预设图标实时显示预设图标对应的系统状态。同时,在检测到电子设备的某一状态发生变化时,隐藏所述至少一个预设图标,并在所述预设区域显示与所述发生变化的状态对应的提示信息,从而通过提示信息提示用户该状态发生变化,并在提示完成之后,隐藏提示信息、显示至少一个预设图标。这样,既可以实时显示预设图标对应的系统状态, 同时,还可以在电子设备的系统状态发生变化时,通过预设区域进行提醒,从而改善了改善电子设备的状态栏图标的显示效果。In this embodiment, by displaying at least one preset icon in a preset area of the display screen of the electronic device, the system status corresponding to the preset icon can be displayed in real time through the at least one preset icon. At the same time, when a change in a certain state of the electronic device is detected, the at least one preset icon is hidden, and prompt information corresponding to the changed state is displayed in the preset area, thereby prompting the user through the prompt information The state changes, and after the prompt is completed, the prompt information is hidden and at least one preset icon is displayed. In this way, the system status corresponding to the preset icon can be displayed in real time, and at the same time, when the system status of the electronic device changes, a reminder can be provided through the preset area, thereby improving the display effect of the status bar icon of the electronic device.
本申请实施例中的显示装置1200可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The display device 1200 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplary, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant). Assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的显示装置1200可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The display device 1200 in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的显示装置1200能够实现图1或11的方法实施例实现的各个过程,为避免重复,这里不再赘述。The display device 1200 provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 1 or 11 , and details are not repeated here to avoid repetition.
可选的,如图13所示,本申请实施例还提供一种电子设备1300,包括处理器1302,存储器1301,存储在存储器1301上并可在所述处理器1302上运行的程序或指令,该程序或指令被处理器1302执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 13 , the embodiment of the present application further provides an electronic device 1300, including a processor 1302, a memory 1301, and programs or instructions stored in the memory 1301 and operable on the processor 1302, When the program or instruction is executed by the processor 1302, each process of the above-mentioned display method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的显示装置包括上述所述的移动电子设备和非移动电子设备。It should be noted that the display device in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
图14为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409、以及处理器1410等部件。The electronic device 1400 includes, but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410, etc. part.
本领域技术人员可以理解,电子设备1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更 多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 14 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
应理解的是,本申请实施例中,输入单元1404可以包括图形处理器(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1406可包括显示面板14061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14061。用户输入单元1407包括触控面板14071以及其他输入设备14072。触控面板14071,也称为触摸屏。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。It should be understood that, in the embodiment of the present application, the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the graphics processor 14041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1407 includes a touch panel 14071 and other input devices 14072 . Touch panel 14071, also called touch screen. The touch panel 14071 may include two parts, a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 1409 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1410 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various aspects of the above display method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例还提供了一种计算机程序产品,存储在可读存储介质中,所述存储介质可以是易失的或非易失的,所述计算机程序产品被至少一个处 理器执行以实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a computer program product stored in a readable storage medium, the storage medium may be volatile or nonvolatile, and the computer program product is executed by at least one processor to implement the above-mentioned Each process of the method embodiment is shown, and the same technical effect can be achieved, so in order to avoid repetition, details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the essence of the technical solution of this application or the part that contributes to related technologies can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk, etc.) ) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (17)

  1. 一种显示方法,包括:A display method comprising:
    在电子设备的显示屏的预设区域显示至少一个预设图标;displaying at least one preset icon in a preset area of a display screen of the electronic device;
    在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下,隐藏所述至少一个预设图标,并在所述预设区域显示提示信息,所述提示信息用于表征所述电子设备的目标状态为所述第二状态;When it is detected that the target state of the electronic device is switched from the first state to the second state, the at least one preset icon is hidden, and prompt information is displayed in the preset area, and the prompt information is used to represent the target state of the electronic device is the second state;
    在满足预设条件的情况下,隐藏所述提示信息,并显示所述至少一个预设图标。If the preset condition is met, the prompt information is hidden and the at least one preset icon is displayed.
  2. 根据权利要求1所述的方法,其中,在所述目标状态为预设系统状态的情况下,所述在所述预设区域显示提示信息,包括:The method according to claim 1, wherein when the target state is a preset system state, displaying prompt information in the preset area comprises:
    在所述预设区域显示第一图标,所述第一图标用于表征所述电子设备的所述预设系统状态为所述第二状态。A first icon is displayed in the preset area, and the first icon is used to indicate that the preset system state of the electronic device is the second state.
  3. 根据权利要求2所述的方法,其中,在所述预设系统状态为所述电子设备的系统电量状态,且所述第二状态为所述电子设备的系统电量低于第一预设值的情况下,所述在所述预设区域显示第一图标,包括:The method according to claim 2, wherein the preset system state is a system power state of the electronic device, and the second state is a state in which the system power of the electronic device is lower than a first preset value In some cases, the displaying the first icon in the preset area includes:
    在所述预设区域显示所述第一图标和第一充电线图标,所述第一充电线图标用于提示用户对所述电子设备进行充电。The first icon and the first charging line icon are displayed in the preset area, and the first charging line icon is used to prompt the user to charge the electronic device.
  4. 根据权利要求3所述的方法,其中,所述在所述预设区域显示所述第一图标和充电线图标之后,所述方法还包括:The method according to claim 3, wherein, after displaying the first icon and the charging line icon in the preset area, the method further comprises:
    在检测到所述电子设备与充电线连接的情况下,隐藏所述第一图标和所述第一充电线图标,以及,显示第二图标和第二充电线图标,所述第二图标用于表征所述电子设备的实时电量值,所述第二充电线图标分别用于表征所述电子设备处于充电状态。When it is detected that the electronic device is connected to the charging line, hide the first icon and the first charging line icon, and display the second icon and the second charging line icon, the second icon is used for To represent the real-time power value of the electronic device, and the second charging line icons are respectively used to represent that the electronic device is in a charging state.
  5. 根据权利要求1所述的方法,其中,在所述目标状态为所述电子设备与所述目标设备之间的连接状态,且所述第二状态为所述电子设备与所述目标设备连接的情况下,所述在所述预设区域显示提示信息,包括:The method according to claim 1, wherein the target state is a connection state between the electronic device and the target device, and the second state is a connection state between the electronic device and the target device In other cases, the prompt information displayed in the preset area includes:
    在所述预设区域显示第三图标和所述目标状态信息,所述第三图标用于 表征所述电子设备与所述目标设备之间的连接状态为所述第二状态,所述目标状态信息包括以下状态信息中的至少一种:与所述电子设备连接的目标设备的数量信息、所述目标设备的状态信息。A third icon and the target state information are displayed in the preset area, the third icon is used to indicate that the connection state between the electronic device and the target device is the second state, and the target state is The information includes at least one of the following state information: quantity information of target devices connected to the electronic device, and state information of the target devices.
  6. 根据权利要求1所述的方法,其中,在所述目标状态为所述电子设备中的应用程序的是否处于运行状态,且所述第二状态为所述应用程序处于运行状态的情况下,所述在所述预设区域显示提示信息,包括:The method according to claim 1, wherein, when the target state is whether the application program in the electronic device is in the running state, and the second state is the application program is in the running state, the The prompt information displayed in the preset area includes:
    在所述预设区域显示第四图标,所述第四图标用于表征所述应用程序处于运行状态。A fourth icon is displayed in the preset area, and the fourth icon is used to indicate that the application program is in a running state.
  7. 一种显示装置,包括:A display device comprising:
    显示模块,用于在电子设备的显示屏的预设区域显示至少一个预设图标;A display module, configured to display at least one preset icon in a preset area of a display screen of the electronic device;
    所述显示模块,还用于在检测到所述电子设备的目标状态由第一状态切换至第二状态的情况下,隐藏所述至少一个预设图标,并在所述预设区域显示提示信息,所述提示信息用于表征所述电子设备的目标状态为所述第二状态;The display module is further configured to hide the at least one preset icon and display prompt information in the preset area when it is detected that the target state of the electronic device is switched from the first state to the second state , the prompt information is used to indicate that the target state of the electronic device is the second state;
    所述显示模块,还用于在满足预设条件的情况下,隐藏所述提示信息,并显示所述至少一个预设图标。The display module is further configured to hide the prompt information and display the at least one preset icon when a preset condition is met.
  8. 根据权利要求7所述的装置,其中,在所述目标状态为预设系统状态的情况下,所述显示模块,还用于在所述预设区域显示第一图标,所述第一图标用于表征所述电子设备的所述预设系统状态为所述第二状态。The device according to claim 7, wherein, when the target state is a preset system state, the display module is further configured to display a first icon in the preset area, and the first icon uses The preset system state representing the electronic device is the second state.
  9. 根据权利要求8所述的装置,其中,在所述预设系统状态为所述电子设备的系统电量状态,且所述第二状态为所述电子设备的系统电量低于第一预设值的情况下,所述显示模块,还用于在所述预设区域显示所述第一图标和第一充电线图标,所述第一充电线图标用于提示用户对所述电子设备进行充电。The device according to claim 8, wherein the preset system state is a system power state of the electronic device, and the second state is a state in which the system power of the electronic device is lower than a first preset value In some cases, the display module is further configured to display the first icon and the first charging line icon in the preset area, and the first charging line icon is used to prompt the user to charge the electronic device.
  10. 根据权利要求9所述的装置,其中,所述显示模块,还用于在检测到所述电子设备与充电线连接的情况下,隐藏所述第一图标和所述第一充电线图标,以及,显示第二图标和第二充电线图标,所述第二图标用于表征所 述电子设备的实时电量值,所述第二充电线图标分别用于表征所述电子设备处于充电状态。The device according to claim 9, wherein the display module is further configured to hide the first icon and the first charging line icon when it is detected that the electronic device is connected to a charging line, and , to display a second icon and a second charging line icon, the second icon is used to represent the real-time power value of the electronic device, and the second charging line icon is respectively used to represent that the electronic device is in a charging state.
  11. 根据权利要求7所述的装置,其中,在所述目标状态为所述电子设备与所述目标设备之间的连接状态,且所述第二状态为所述电子设备与所述目标设备连接的情况下,所述显示模块,还用于在所述预设区域显示第三图标和所述目标状态信息,所述第三图标用于表征所述电子设备与所述目标设备之间的连接状态为所述第二状态,所述目标状态信息包括以下状态信息中的至少一种:与所述电子设备连接的目标设备的数量信息、所述目标设备的状态信息。The apparatus according to claim 7, wherein the target state is a connection state between the electronic device and the target device, and the second state is a connection state between the electronic device and the target device In some cases, the display module is further configured to display a third icon and the target status information in the preset area, and the third icon is used to represent the connection status between the electronic device and the target device For the second state, the target state information includes at least one of the following state information: quantity information of target devices connected to the electronic device, and state information of the target devices.
  12. 根据权利要求7所述的装置,其中,在所述目标状态为所述电子设备中的应用程序的是否处于运行状态,且所述第二状态为所述应用程序处于运行状态的情况下,所述显示模块,还用于在所述预设区域显示第四图标,所述第四图标用于表征所述应用程序处于运行状态。The apparatus according to claim 7, wherein, when the target state is whether the application program in the electronic device is in the running state, and the second state is the application program is in the running state, the The display module is further configured to display a fourth icon in the preset area, and the fourth icon is used to indicate that the application program is in a running state.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任一项所述的显示方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 6 are realized The steps of any one of the display methods.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的显示方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the display method according to any one of claims 1 to 6 when the programs or instructions are executed by a processor.
  15. 一种芯片,所述芯片包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行网络设备程序或指令,实现如权利要求1至6中任一项所述的显示方法的步骤。A chip, the chip includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a network device program or instruction to implement any one of claims 1 to 6 The steps of the display method.
  16. 一种计算机程序产品,所述计算机程序产品存储在非易失的存储介质中,其中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至6中任一项所述的显示方法的步骤。A computer program product, the computer program product is stored in a non-volatile storage medium, wherein the computer program product is executed by at least one processor to realize the display according to any one of claims 1 to 6 method steps.
  17. 一种电子设备,被配置为执行如权利要求1至6中任一项所述的显示方法的步骤。An electronic device configured to execute the steps of the display method according to any one of claims 1 to 6.
PCT/CN2022/119902 2021-09-24 2022-09-20 Display method and apparatus, and electronic device WO2023045921A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111119820.9 2021-09-24
CN202111119820.9A CN113806000A (en) 2021-09-24 2021-09-24 Display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023045921A1 true WO2023045921A1 (en) 2023-03-30

Family

ID=78940062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/119902 WO2023045921A1 (en) 2021-09-24 2022-09-20 Display method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113806000A (en)
WO (1) WO2023045921A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806000A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Display method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137252A1 (en) * 2009-08-18 2012-05-31 Panasonic Corporation Gui device and gui display method
CN108155683A (en) * 2017-12-07 2018-06-12 北京小米移动软件有限公司 Reminding method and device, the electronic equipment of charged state
CN108200288A (en) * 2018-01-02 2018-06-22 联想(北京)有限公司 Information processing method and device
CN110267145A (en) * 2019-07-09 2019-09-20 维沃移动通信有限公司 A kind of state display method and terminal device
CN112740634A (en) * 2018-11-13 2021-04-30 深圳市欢太科技有限公司 Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment
CN113806000A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Display method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137252A1 (en) * 2009-08-18 2012-05-31 Panasonic Corporation Gui device and gui display method
CN108155683A (en) * 2017-12-07 2018-06-12 北京小米移动软件有限公司 Reminding method and device, the electronic equipment of charged state
CN108200288A (en) * 2018-01-02 2018-06-22 联想(北京)有限公司 Information processing method and device
CN112740634A (en) * 2018-11-13 2021-04-30 深圳市欢太科技有限公司 Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment
CN110267145A (en) * 2019-07-09 2019-09-20 维沃移动通信有限公司 A kind of state display method and terminal device
CN113806000A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Display method and device and electronic equipment

Also Published As

Publication number Publication date
CN113806000A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
WO2023274144A1 (en) Message processing method and apparatus, electronic device, and storage medium
CN106528028B (en) Information processing method, system, device and terminal
CN110536008B (en) Screen projection method and mobile terminal
CN108135033B (en) Bluetooth connection method and mobile terminal
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
WO2013123728A1 (en) Method and device for controlling size of screen display of mobile terminal
CN106406924B (en) Control method and device for starting and quitting picture of application program and mobile terminal
CN108536370B (en) Input interface switching method and device and electronic equipment
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
CN112511412B (en) Information sending method and device, electronic equipment and readable storage medium
CN106980694B (en) Browser page information interaction method and device and mobile terminal
CN112269505B (en) Audio and video control method and device and electronic equipment
WO2023045885A1 (en) Synchronization method and apparatus
WO2023045921A1 (en) Display method and apparatus, and electronic device
CN111314548A (en) Double-screen display method and device, storage medium and terminal
WO2022012617A1 (en) Message display method and apparatus, and electronic device and storage medium
CN110769303A (en) Playing control method and device and mobile terminal
CN105578278B (en) The method for showing equipment and realizing logical function of sending a telegram here to MHL information source
EP3993438B1 (en) Mobile terminal and control method
WO2023030292A1 (en) Multimedia file playback method and apparatus
CN112148167A (en) Control setting method and device and electronic equipment
CN112422735A (en) Information prompting method and device and electronic equipment
WO2022253178A1 (en) Method and apparatus for prompting level of charge
CN111309133A (en) Power saving control method and electronic equipment
CN112492108B (en) Call processing method and device and electronic equipment

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: 22871967

Country of ref document: EP

Kind code of ref document: A1