Status bar setting method and device, terminal equipment and storage medium
By allowing users to customize the elements and positions in the status bar, the problem of insufficient flexibility in displaying the existing status bar is solved, and the display flexibility and user experience of the status bar are improved.
Patent Information
- Application Number
- CN202311431532.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-05-02
AI Technical Summary
The existing status bar is not displayed flexibly enough to customize the position of elements and the height of the status bar.
It provides a method of setting the status bar, allowing users to set the elements contained in the status bar of the terminal device and their positions by receiving user operations, and supports adjusting the height of the status bar.
Improves the display flexibility of the status bar, realizes customized display of elements in the status bar, and improves the user experience.
Smart Images

Figure CN119916979A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a method, apparatus, terminal device and storage medium for setting a status bar. Background Art
[0002] With the development of terminal device technology, terminal devices have become an indispensable tool in people's lives. Among them, the status bar, as an indispensable component in the operating system of the terminal device, can display the time, power, network connection status, Bluetooth connection status and other elements of the terminal device, so that users can grasp the operating status or communication status of the terminal device at any time.
[0003] However, currently, when the status bar provides services to users, the display mode of the status bar is not flexible enough. Summary of the invention
[0004] The present application provides a status bar setting method, apparatus, terminal device and storage medium to improve the display flexibility of the status bar.
[0005] In a first aspect, the present application provides a method for setting a status bar, which is applied to a terminal device, and the method comprises: receiving a first user operation, wherein the first user operation is used to set M elements contained in a status bar in a user interface of the terminal device and a position of each of the M elements in the status bar, where M is a positive integer; receiving a second user operation, wherein the second user operation is used to indicate an update of the status bar; and in response to the second user operation, setting the status bar according to the first user operation.
[0006] As an example, the method can be executed by a terminal device, or by a chip system, hardware circuit and / or software module applied to the terminal device. In this technical solution, the terminal device is used as an example for explanation.
[0007] As an example, the first user operation may include an operation of selecting M elements displayed in the status bar. For example, the M elements included in the status bar are selected by clicking on a selectable element that can be displayed in the status bar.
[0008] As an example, the first user operation may also include an operation of setting the position of each of the M elements in the status bar. For example, after selecting M elements, each of the M elements can be dragged to the target position to adjust the position of each element in the status bar. For another example, the position of the element in the status bar can be set by setting the display order and / or layout direction of the element in the status bar. Among them, the display order is, for example, displayed in the status bar from left to right in the order of selection, and the layout direction is, for example, laid out from left to right, from right to left, from both ends to the middle, from the middle to both ends, etc. in the order of selection, and the present application does not make specific limitations on this.
[0009] As an example, the second user operation may be an operation of confirming to update the content displayed in the status bar.
[0010] In the present technical solution, after the user sets the elements displayed in the status bar and the positions of each element displayed in the status bar through a first user operation, the user can confirm the update of the display content in the status bar through a second user operation; after the terminal device receives the second user operation, it can set the status bar according to the first user operation, so that the display content in the status bar can be updated based on the user's usage needs, thereby realizing customized display of elements in the status bar and improving the display flexibility of the status bar.
[0011] In combination with the first aspect, in some implementations of the first aspect, the M elements include system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
[0012] As an example, system elements can be used to indicate the operating status of the terminal device, such as system operating status or communication status. For example, system elements include but are not limited to time, power, Bluetooth connection status, network connection status, operator signal, network signal, notification area, real-time network speed, etc. Among them, the notification area refers to the area used to display the application icons of third-party applications.
[0013] In some embodiments, the system element controls may be pre-set in the terminal device for invocation.
[0014] As an example, third-party applications can be understood as applications or services developed by non-terminal device manufacturers or non-original software (such as operating system) developers. Among them, the application can be displayed in the user interface through an application window, or located in the task bar of the terminal device, or run in the background of the terminal device, and the application service can be displayed in the notification bar of the terminal device or run in the background of the terminal device.
[0015] As an example, application elements can be used to indicate information about third-party applications that provide services to terminal devices. For example, application elements include, but are not limited to, lyrics and play buttons of music applications, unread email lists of email applications, friend lists and message lists of social applications, to-do lists of memo applications, news hot lists and recommendation lists of reading applications, payment records of payment applications, pet images of pet applications, learning cards of learning applications, trend charts of investment applications, etc.
[0016] In some embodiments, the terminal device can access the third-party application through an interface (such as an application programming interface (API)) opened by the third-party application for the terminal device to obtain application elements in the third-party application that can be displayed in the status bar.
[0017] In this implementation, the terminal device can display system elements and application elements in the status bar, enriching the elements that can be displayed in the status bar.
[0018] In combination with the first aspect, in certain implementations of the first aspect, before receiving the first user operation, the method also includes: receiving a third user operation, wherein the third user operation is used to trigger the setting process of the status bar; displaying a setting interface of the status bar, wherein the setting interface includes alternative system elements in the terminal device and / or elements in third-party applications that can be displayed in the status bar.
[0019] As an example, the third user operation may include a physical action, which may include clicking, long pressing, sliding the display screen of the terminal device, clicking a button of the terminal device, etc.
[0020] In some embodiments, when receiving the third user operation, the terminal device may combine image recognition technology and / or sensors in the terminal device to receive the third user operation to improve the accuracy of the terminal device in receiving and identifying the third user operation.
[0021] As an example, a settings interface may include element selection controls and adjustment controls.
[0022] As an example, the element selection control includes at least one system element control and / or at least one application element control, which is used to select system elements and / or application elements displayed in the status bar.
[0023] The adjustment control is used to display the system element control and / or application element control selected through the element selection control, and supports adjusting the position and / or size of the system element control and / or application element control in the adjustment control.
[0024] As an example, the setting interface may also include a status bar display template selection control, which is used to select a display template for the status bar, wherein each display template includes at least one system element control and / or at least one application element control.
[0025] In some embodiments, each display template contains different system element controls, or contains different application element controls, or contains system element controls with different positions and / or sizes, or contains application elements with different positions and / or sizes.
[0026] In this implementation, after receiving the third user operation, the terminal device displays the setting interface of the status bar in response to the operation, and after receiving the second user operation, sets the status bar based on the first user operation of the user in the setting interface, thereby improving the display flexibility of the status bar. Among them, the terminal device starts the setting process of the status bar after receiving the third user operation, thereby avoiding affecting the normal operation of the terminal device due to the user's accidental touch, thereby improving the operational stability of the terminal device.
[0027] In combination with the first aspect, in some implementations of the first aspect, the third user operation includes: continuously clicking the camera of the terminal device N times, where N is a positive integer.
[0028] In this implementation, when there is a hole-punch area in the display screen of the terminal device, the third user operation may be to click the hole-punch area N times in a row, wherein the hole-punch area may be understood as the front camera of the terminal device.
[0029] In combination with the first aspect, in certain implementations of the first aspect, before receiving the third user operation, the method also includes: displaying a first user interface, the first user interface including a display window of a first application, and the first application is a third-party application; wherein the settings interface includes elements of the first application that can be displayed in the status bar.
[0030] As an example, the display window of the first application can be understood as an application window displayed in the first user interface when the first application is running in the terminal device.
[0031] In this implementation, the application elements included in the setting interface may be application elements corresponding to the first application that displays the application window in the first user interface. For example, if the first application is a music application, the application elements included in the setting interface may include song titles, singers, lyrics, album covers, etc. Among them, the application elements corresponding to the first application can be understood as elements that can be displayed in the status bar of the first application.
[0032] In combination with the first aspect, in certain implementations of the first aspect, the first user interface includes a display window of each third-party application among multiple third-party applications; wherein the setting interface includes elements in each third-party application that can be displayed in the status bar.
[0033] In this implementation, the first user interface may display application windows of multiple third-party applications, and the setting interface may include application elements corresponding to each third-party application in all third-party applications whose application windows are displayed in the first user interface.
[0034] In some embodiments, the application window of the third-party application can be displayed in the first user interface through any of the following windows: a main application window, a floating window application window, or a split-screen application window.
[0035] In combination with the first aspect, in certain implementations of the first aspect, the first user interface includes a display window of each third-party application among multiple third-party applications, and the multiple third-party applications include the first application; wherein, before displaying the setting interface of the status bar, the method also includes: receiving a fourth user operation, and the fourth user operation is used to select the first application among the multiple third-party applications.
[0036] In this implementation, when multiple application windows of third-party applications are displayed in the first user interface, the first application can be selected from the multiple third-party applications before the setting interface is displayed. There can be multiple first applications, and the application elements included in the setting interface are application elements corresponding to the first application selected from the multiple third-party applications by the fourth user operation.
[0037] As an example, after receiving the third user operation, the terminal device may display an application selection interface for selecting the first application, and based on the fourth user operation in the application selection interface, the terminal device may access the first application selected by the fourth user operation to obtain the application element corresponding to the first application, thereby determining the application element included in the setting interface. The selectable applications in the application selection interface include multiple third-party applications whose application windows are displayed in the first user interface.
[0038] In this implementation, the first application can be selected first, and then the setting interface containing the application elements corresponding to the first application is displayed, which improves the efficiency of the user in selecting the application elements to be displayed in the status bar in the setting interface, thereby improving the user's usage experience.
[0039] In combination with the first aspect, in certain implementations of the first aspect, before displaying the setting interface of the status bar, the method also includes: starting the third-party application in the background; and obtaining elements in the third-party application that can be displayed in the status bar from the third-party application.
[0040] In this implementation, the setting interface may also include application elements corresponding to third-party applications that are installed but not running in the terminal device. The running third-party applications include third-party applications that display application windows in the first user interface, third-party applications located in the task bar of the terminal device, third-party applications whose application services are located in the notification bar of the terminal device, and third-party applications running in the background.
[0041] As an example, after receiving the third user operation and before displaying the setting interface, the terminal device may display an application selection interface for selecting a target application, and based on the user operation in the application selection interface, start the target application selected by the user operation in the background, and access the target application through the interface to obtain the application element corresponding to the target application, so as to determine the application element included in the setting interface. Among them, the applications available for selection in the application selection interface include third-party applications that have been installed but not run in the terminal device.
[0042] In this implementation, application elements corresponding to third-party applications that are installed but not running in the terminal device can be displayed in the status bar, thereby improving the flexibility of the status bar display.
[0043] In combination with the first aspect, in certain implementations of the first aspect, before displaying the setting interface of the status bar, the method also includes: obtaining elements that can be displayed in the status bar in the third-party application from a cloud server, and the cloud server includes a status bar setting server and / or a server of the third-party application.
[0044] As an example, the status bar setting server can be understood as a server used by a terminal device manufacturer, and the third-party application server can be understood as a server that provides application services for third-party applications.
[0045] In this implementation, the setting interface may also include application elements corresponding to third-party applications not installed in the terminal device. Although the terminal device does not install the third-party application, the server of the third-party application can communicate directly / indirectly with the terminal device, so that the terminal device can obtain the application elements corresponding to the third-party application through the server of the third-party application.
[0046] As an example, the server of the third-party application can communicate with the status bar setting server to achieve data interaction. For example, the server of the third-party application can send the application element corresponding to the application to the status bar setting server. Therefore, the terminal device can obtain the application element corresponding to the third-party application by accessing the status bar setting server.
[0047] As an example, the server of the third-party application may directly communicate with the terminal device, so that the terminal device may directly access the server of the third-party application to obtain the application element corresponding to the third-party application.
[0048] As an example, after receiving the third user operation and before displaying the setting interface, the terminal device may display an application selection interface for selecting a target application, and based on the user operation in the application selection interface, obtain the application element corresponding to the target application selected by the user operation through the cloud server, so as to determine the application element included in the setting interface. It should be understood that the applications available for selection in the application selection interface include third-party applications that are not installed in the terminal device.
[0049] In this implementation, in some embodiments, the application selection interface may also include third-party applications that are installed but not running in the terminal device. If the target application selected by the user in the application selection interface includes this type of third-party application, the terminal device can obtain the application element corresponding to this type of third-party application through the cloud server, so that this type of third-party application does not need to be started in the background, thereby reducing the operating power consumption of the terminal device.
[0050] In this implementation, application elements corresponding to third-party applications that are not installed in the terminal device can be displayed in the status bar, which enriches the elements that can be displayed in the status bar and improves the flexibility of the status bar display.
[0051] In a second aspect, the present application provides a status bar setting device, which includes modules for implementing the method in the first aspect or any one of the implementations thereof, and each module can be implemented in the form of hardware and / or software.
[0052] For example, the device may include a transceiver module and a processing module. The transceiver module is used to receive a first user operation, where the first user operation is used to set M elements contained in a status bar in a user interface of the terminal device and the position of each of the M elements in the status bar, where M is a positive integer; the transceiver module is also used to receive a second user operation, where the second user operation is used to instruct to update the status bar; and the processing module is used to set the status bar according to the first user operation in response to the second user operation.
[0053] In combination with the second aspect, in some implementations of the second aspect, the M elements include system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
[0054] In conjunction with the second aspect, in some implementations of the second aspect, the device may further include a display module. The transceiver module is further configured to receive a third user operation, wherein the third user operation is configured to trigger the setting process of the status bar; and the display module is configured to display a setting interface of the status bar, wherein the setting interface includes optional system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
[0055] In combination with the second aspect, in some implementations of the second aspect, the third user operation includes: continuously clicking the camera of the terminal device N times, where N is a positive integer.
[0056] In combination with the second aspect, in certain implementations of the second aspect, the display module is also used to display a first user interface, the first user interface includes a display window of a first application, and the first application is a third-party application; wherein the settings interface includes elements of the first application that can be displayed in the status bar.
[0057] In combination with the second aspect, in certain implementations of the second aspect, the first user interface includes a display window of each third-party application among multiple third-party applications; wherein the setting interface includes elements in each third-party application that can be displayed in the status bar.
[0058] In combination with the second aspect, in certain implementations of the second aspect, the first user interface includes a display window for each third-party application among multiple third-party applications, and the multiple third-party applications include the first application; the transceiver module is also used to receive a fourth user operation, and the fourth user operation is used to select the first application among the multiple third-party applications.
[0059] In combination with the second aspect, in some implementations of the second aspect, the processing module is also used to start the third-party application in the background; the processing module is also used to obtain elements in the third-party application that can be displayed in the status bar from the third-party application.
[0060] In combination with the second aspect, in certain implementations of the second aspect, the processing module is also used to obtain elements in the third-party application that can be displayed in the status bar from a cloud server, and the cloud server includes a status bar setting server and / or a server of the third-party application.
[0061] In a third aspect, the present application provides a terminal device, comprising: a transceiver, for receiving a first user operation, wherein the first user operation is used to set M elements contained in a status bar in a user interface of the terminal device and the position of each of the M elements in the status bar, where M is a positive integer; the transceiver, also for receiving a second user operation, wherein the second user operation is used to indicate an update of the status bar; and a processor, for responding to the second user operation and setting the status bar according to the first user operation.
[0062] In combination with the third aspect, in certain implementations of the third aspect, the M elements include system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
[0063] In combination with the third aspect, in some implementations of the third aspect, the terminal device further includes: a display;
[0064] The transceiver is further used to receive a third user operation, where the third user operation is used to trigger a setting process of the status bar;
[0065] The display is used to display a setting interface of the status bar, wherein the setting interface includes optional system elements in the terminal device and / or elements that can be displayed in the status bar in a third-party application.
[0066] In combination with the third aspect, in some implementations of the third aspect, the third user operation includes: continuously clicking the camera of the terminal device N times, where N is a positive integer.
[0067] In combination with the third aspect, in certain implementations of the third aspect, the display is also used to display a first user interface, the first user interface includes a display window of a first application, and the first application is a third-party application; wherein the settings interface includes elements of the first application that can be displayed in the status bar.
[0068] In combination with the third aspect, in certain implementations of the third aspect, the first user interface includes a display window of each third-party application among multiple third-party applications; wherein the setting interface includes elements in each third-party application that can be displayed in the status bar.
[0069] In combination with the third aspect, in certain implementations of the third aspect, the first user interface includes a display window for each third-party application among multiple third-party applications, and the multiple third-party applications include the first application; the transceiver is also used to receive a fourth user operation, and the fourth user operation is used to select the first application among the multiple third-party applications.
[0070] In combination with the third aspect, in certain implementations of the third aspect, the processor is further used to start the third-party application in the background; the processor is further used to obtain from the third-party application elements in the third-party application that can be displayed in the status bar.
[0071] In combination with the third aspect, in certain implementations of the third aspect, the processor is further used to obtain elements in the third-party application that can be displayed in the status bar from a cloud server, and the cloud server includes a status bar setting server and / or a server of the third-party application.
[0072] In a fourth aspect, a terminal device is provided, comprising: a processor, a memory, a transceiver and a display; the transceiver is coupled to the processor, and the processor controls the transceiver's transceiver action.
[0073] The memory is used to store computer executable program code, and the program code includes instructions; when the processor executes the instructions, the instructions cause the terminal device to execute the method as described in the first aspect or any possible implementation method thereof.
[0074] In a fifth aspect, a terminal device is provided, comprising a unit, a module or a circuit for executing the method described in the first aspect or any possible implementation manner thereof.
[0075] In a sixth aspect, a terminal device (eg, a chip) is provided, wherein a computer program is stored on the terminal device, and when the computer program is executed by the terminal device, the method described in the first aspect or any possible implementation method thereof is implemented.
[0076] In a seventh aspect, a computer program product including computer program code is provided, which, when executed on a computer, enables the computer to execute the method described in the first aspect or any possible implementation thereof. In some embodiments, the computer program code may be an instruction.
[0077] In an eighth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer executes the method described in the first aspect or any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 A flowchart of a status bar setting method provided in Embodiment 1 of the present application;
[0079] Figure 2 A schematic diagram illustrating a setting interface provided in accordance with an embodiment of the present application;
[0080] Figure 3A flowchart of a status bar setting method provided in Embodiment 2 of the present application;
[0081] Figure 4 A schematic diagram of a display window provided in accordance with an embodiment of the present application;
[0082] Figure 5 A schematic diagram illustrating a setting interface provided in another embodiment of the present application;
[0083] Figure 6 A schematic diagram of a status bar provided for one embodiment of the present application;
[0084] Figure 7 An exemplary structural diagram of a terminal device provided for one embodiment of the present application;
[0085] Figure 8 An exemplary structural diagram of a status bar setting device provided in one embodiment of the present application;
[0086] Fig. 9 An exemplary structural diagram of a terminal device provided for yet another embodiment of the present application. DETAILED DESCRIPTION
[0087] With the development of terminal devices, terminal devices have become an indispensable tool in people's lives, and users can view various messages on terminal devices. In some scenarios, for example, when a user needs to obtain some important information, the user needs to open the corresponding application window from the user interface of the terminal device to obtain the information, or obtain the information in the drop-down notification bar of the terminal device. The whole process is complicated and inefficient. Among them, the application window can be understood as an application window displayed by a third-party application in the user interface, and the third-party application can be understood as an application or service developed by a non-terminal device manufacturer or non-original software (such as an operating system) developer. Among them, when the application is running, it can be displayed in the user interface through the application window, or located in the taskbar of the terminal device, or running in the background of the terminal device. When the application service is running, it can be displayed in the notification bar of the terminal device or run in the background of the terminal device.
[0088] The status bar is an essential component of the operating system of the terminal device. The information in the status bar can be viewed when the terminal device is turned on. Therefore, important information that the user needs to obtain can be displayed in the status bar, thereby simplifying the steps for the user to view information and improving efficiency.
[0089] However, currently, when the status bar provides services to users, the display mode of the status bar is not flexible enough. For example, the position of the elements displayed in the status bar cannot be customized, and the height of the status bar is fixed.
[0090] In view of this, the technical solution of the present application provides a method, device, terminal device and storage medium for setting a status bar. The technical solution proposed in the present application supports adjusting the position of elements displayed in the status bar and supports adjusting the height of the status bar, thereby improving the display flexibility of the status bar and further improving the user experience.
[0091] The technical solution provided by the present application is described in detail below in conjunction with the accompanying drawings.
[0092] Figure 1 This is a flow chart of a status bar setting method provided in Example 1 of the present application. Figure 1 As shown, the method may include S101 to S105.
[0093] The method may be executed by a terminal device, or by a chip system, a hardware circuit and / or a software module applied to the terminal device. In this embodiment, the method is described in terms of a terminal device.
[0094] S101, receiving a third user operation, where the third user operation is used to trigger a status bar setting process.
[0095] As an example, the third user operation may include a physical action, which may include clicking, long pressing, sliding the display screen of the terminal device, clicking a button of the terminal device, etc.
[0096] As an example, when there is a hole-punch area in the display screen of the terminal device, the third user operation may be to click the hole-punch area N times in a row, where N is a positive integer. The hole-punch area may be a front camera of the terminal device.
[0097] In this embodiment, when receiving the second user operation, the terminal device may combine image recognition technology and / or sensors in the terminal device to identify and receive the second user operation, so as to improve the accuracy of the terminal device in receiving and identifying the second user operation. The sensor of the terminal device may include a gyroscope sensor, a light sensor, etc.
[0098] S102, displaying a setting interface of the status bar, where the setting interface includes selectable system elements in the terminal device.
[0099] In this embodiment, after receiving the third user operation, the terminal device may display a setting interface of the status bar in response to the operation.
[0100] As an example, a settings interface may include element selection controls and adjustment controls.
[0101] In some embodiments, the element selection controls may include at least one system element control for selecting a system element displayed in the status bar.
[0102] Among them, system elements can be used to indicate the operating status of the terminal device, such as system operation status or communication status. As an example, system elements include but are not limited to time, power, Bluetooth connection status, network connection status, operator signal, network signal, notification area, real-time network speed, or larger elements that may appear later, elements that support interaction provided by other systems, etc. Among them, the notification area refers to the area used to display application icons of third-party applications.
[0103] In some embodiments, the system element controls may be pre-set in the terminal device for invocation.
[0104] In some embodiments, when a system element is displayed in the status bar, the display style may be multiple.
[0105] The adjustment control is used to display the system element control selected through the element selection control, and supports adjusting the position and / or size of the system element control in the status bar in the adjustment control.
[0106] As an example, the setting interface may also include a status bar display template selection control. The status bar display template selection control is used to select a display template of the status bar, and each display template includes at least one system element control.
[0107] In some embodiments, each display template includes different system element controls, and / or each display template includes different positions, sizes, and styles of system element controls. The different positions of system element controls can also be understood as different orders and layouts of system element controls.
[0108] In some embodiments, the status bar display template may be pre-set in the terminal device for invocation.
[0109] In some embodiments, the status bar display template selection control supports users to adjust based on usage habits. For example, the user can enter the adjustment process by long pressing the status bar display template selection control, and adjust the position and / or size of the system element control in the display template selection control by clicking, sliding, dragging, etc.
[0110] For example, Figure 2 This is a schematic diagram of a setting interface provided by an embodiment of the present application. Figure 2 As shown, the setting interface 200 includes an element selection control 210, a status bar preview control 220, and a status bar display template selection control 230. The status bar preview control 220 is an example of an adjustment control.
[0111] Among them, the element selection control 210 includes a power control 210-1, an operator signal control 210-2, a network connection control 210-3, a time control 210-4, a real-time network speed control 210-5 and a notification area control 210-6; the status bar preview control 220 includes the power control 210-1 and the time control 210-4 selected by the element selection control 210; the status bar display template selection control 230 includes a control 230-1 and a control 230-2.
[0112] See also Figure 2 The system element controls contained in controls 230-1 and 230-2 are different, and the order of the system element controls is not completely consistent. The display styles of the time control and the power control are different, and the size of the notification area control is different.
[0113] like Figure 2 As shown, since the hole area has no display function, it can be restricted to not allow elements to be placed in the hole area.
[0114] S103, receiving a first user operation, where the first user operation is used to set M elements included in a status bar in a user interface of a terminal device and a position of each of the M elements in the status bar, where M is a positive integer.
[0115] As an example, the first user operation may include an operation of selecting M system elements displayed in the status bar. For example, clicking at least one system element control in the element selection control so that the clicked at least one system element control can be displayed in the adjustment control; or dragging at least one system element control in the element selection control to the adjustment control.
[0116] In some embodiments, when the system element controls are displayed in the adjustment control, they can be automatically arranged according to a preset rule. For example, the system element controls are arranged in the adjustment control from left to right and from top to bottom according to the click / drag order.
[0117] In some embodiments, the first user operation may further include an operation of setting the position of each of the M system elements in the status bar. For example, dragging the system element control to a target position in the adjustment control to adjust the position of the system element in the status bar.
[0118] In some embodiments, the first user operation can also be used to set the size, direction, etc. of the system element displayed in the status bar. For example, by using multiple fingers (such as two fingers) to press and hold the system element control in the adjustment control and increasing the distance between the fingers, the system element control can be enlarged; by using multiple fingers (such as two fingers) to press and hold the system element control in the adjustment control and reducing the distance between the fingers, the system element control can be reduced; by using multiple fingers (such as two fingers) to press and hold the system element control in the adjustment control and rotating the system element control, the direction of the system element control can be adjusted.
[0119] In some embodiments, when dragging the system element control in the element selection control to the adjustment control, the system element control can be directly dragged to the target position in the adjustment control, thereby adjusting the position of the system element in the status bar.
[0120] As an example, the first user operation may be an input for selecting a status bar display template. For example, clicking any one of the status bar display template selection controls to select a status bar display template may determine the M elements included in the status bar and the position of each of the M elements in the status bar.
[0121] S104: Receive a second user operation, where the second user operation is used to instruct to update the status bar.
[0122] In this embodiment, the second user operation may be an operation of confirming to update the content displayed in the status bar.
[0123] As an example, the setting interface may also include a confirmation control. For example, after the user determines the M elements included in the status bar and the position of each of the M elements in the status bar through the first user operation, the user may instruct the terminal device to update the status bar by clicking the confirmation control. It should be understood that the second user operation in this example is the operation of clicking the confirmation control.
[0124] As an example, the second user operation may also be operations such as continuously clicking on the back or side of the terminal device, and this application does not impose any specific restrictions on this.
[0125] S105: In response to the second user operation, setting the status bar according to the first user operation.
[0126] In this embodiment, after receiving the second user operation, the terminal device can update the content displayed in the status bar based on the first user operation, such as the system elements displayed in the status bar and the position, size, direction, etc. of each system element in the status bar.
[0127] As an example, the content displayed in the status bar can be consistent with the content displayed in the adjustment control.
[0128] As an example, the content displayed in the status bar may be consistent with the status bar display template selected by the first user operation.
[0129] In some embodiments, the height of the status bar can be adjusted according to the content displayed in the status bar, and the display aesthetics of the status bar can be ensured while ensuring the display integrity of the M system elements selected based on the first user operation in the status bar. For example, the blank area at the top of the status bar and / or the blank area at the bottom of the status bar needs to meet a preset threshold, and the preset threshold can be set according to actual needs.
[0130] In some embodiments, the maximum display height of the status bar can be preconfigured in the terminal device.
[0131] In some embodiments, after updating the content displayed in the status bar, the terminal device may also update the data of the system element displayed in the status bar. The present application does not specifically limit the method for updating the data of the system element.
[0132] In this embodiment, the system elements displayed in the status bar and the layout of the system elements are adjusted to achieve customized display of the system elements in the status bar, thereby improving the display flexibility of the status bar.
[0133] Figure 3 This is a flow chart of a status bar setting method provided in Embodiment 2 of the present application. Figure 3 As shown, the method may include S301 to S306.
[0134] The method may be executed by a terminal device, or by a chip system, a hardware circuit and / or a software module applied to the terminal device. In this embodiment, the method is described in terms of a terminal device.
[0135] S301, displaying a first user interface, wherein the first user interface includes a display window of a first application, and the first application is a third-party application.
[0136] In this embodiment, the display window of the first application can be understood as an application window displayed in the first user interface when the first application is running in the terminal device.
[0137] In some embodiments, the display window of the first application may be one of the following windows: a main application window, a floating window application window, or a split-screen application window.
[0138] In some embodiments, the number of the first application may be one or more. Accordingly, the first user interface may include display windows of one or more third-party applications.
[0139] For example, Figure 4 A schematic diagram of a display window provided in one embodiment of the present application. Figure 4 As shown in (a), the number of first applications is 3, and the first user interface includes a main application window, a floating window application window 1 located on the main application window, and a floating window application window 2 located on the main application window. The main application window, the floating window application window 1, and the floating window application window 2 belong to different third-party applications respectively; Figure 4 As shown in (b), the number of first applications is 2, and the first user interface includes split-screen application window 1 and split-screen application window 2, and split-screen application window 1 and split-screen application window 2 belong to different third-party applications respectively.
[0140] S302: Receive a third user operation, where the third user operation is used to trigger a status bar setting process.
[0141] The specific implementation of S302 may refer to S101 and will not be described in detail here.
[0142] S303, displaying a setting interface of the status bar, where the setting interface includes optional system elements in the terminal device and / or elements that can be displayed in the status bar in third-party applications.
[0143] In this embodiment, after receiving the third user operation, the terminal device may display a setting interface of the status bar in response to the operation.
[0144] As an example, a settings interface may include element selection controls and adjustment controls.
[0145] Optionally, the element selection control includes at least one system element control and at least one application element control, which are used to select system elements and / or application elements displayed in the status bar.
[0146] Among them, the application element is used to indicate the information of the third-party application that provides services for the terminal device. As an example, the application element includes but is not limited to application icons, text, lists, pictures, trend charts, three-dimensional images, etc. As an example, the application element may include lyrics and play buttons of a music application, an unread email list of an email application, a friend list and message list of a social application, a to-do list of a memo application, a news hot list and recommendation list of a reading application, a payment record of a payment application, a pet image of a pet application, a learning card of a learning application, and a trend chart of an investment application.
[0147] In some embodiments, application elements may support interactivity.
[0148] In some embodiments, the application element control may include an element that can be displayed in the status bar of the first application. It should be understood that when there are multiple first applications, the first user interface may include a display window of each third-party application in multiple third-party applications, so the application element control may include an element that can be displayed in the status bar of each third-party application in the multiple third-party applications that display application windows in the first user interface.
[0149] As an example, the terminal device can access the first application through an interface (such as an application programming interface (API)) opened by the first application to the terminal device, thereby obtaining application elements in the first application that can be displayed in the status bar.
[0150] The adjustment control is used to display the system element control and / or application element control selected through the element selection control, and supports adjusting the position of the system element control and / or application element control in the adjustment control.
[0151] As an example, the setting interface may also include a status bar display template selection control, wherein each display template includes at least one system element control and / or at least one application element control.
[0152] In some embodiments, each display template contains different system element controls, or contains different application element controls, or contains system element controls with different positions and / or sizes, or contains application elements with different positions and / or sizes.
[0153] For example, Figure 5 This is a schematic diagram of a setting interface provided by another embodiment of the present application. Figure 5 As shown, the setting interface 500 includes an element selection control 510, a status bar preview control 520, and a status bar display template control 530. The status bar preview control 520 is an example of an adjustment control.
[0154] Among them, the element selection control 510 may include system element controls, such as the power control 511-1, the operator signal control 511-2, the network connection control 511-3, the time control 511-4, the real-time network speed control 511-5 and the notification area control 511-6 in the figure. The element selection control 510 also includes application element controls, such as the song title control 512-1, the album picture control 512-2, the singer control 512-3, the first lyrics control 512-4, the second lyrics control 512-5 and the music playback control 512-6 in the figure. The first lyrics control 512-4 contains one line of lyrics, and the second lyrics control 512-5 contains two lines of lyrics.
[0155] The status bar preview control 520 may include a power control 511 - 1 and a song title control 512 - 1 selected through the element selection control, and the status bar display template selection control 530 includes a control 530 - 1 and a control 530 - 2 .
[0156] See also Figure 5 , the system element controls and application element controls included in the controls 530 - 1 and 530 - 2 may not be completely different, and the positions of the system element controls and the application element controls are different.
[0157] S304, receiving a first user operation, where the first user operation is used to set M elements included in a status bar in a user interface of a terminal device and a position of each of the M elements in the status bar, where M is a positive integer.
[0158] The specific implementation of S304 may refer to S103. For example, the related operations on application elements and system elements in S304 are similar to the related operations on system elements in S103, and are not described in detail here.
[0159] S305: Receive a second user operation, where the second user operation is used to instruct to update the status bar.
[0160] The specific implementation of S305 may refer to S104 and will not be described in detail here.
[0161] S306: In response to the second user operation, set the status bar according to the first user operation.
[0162] In some embodiments, the specific implementation of S306 may refer to S105 and will not be repeated here.
[0163] For example, Figure 6 A schematic diagram of a status bar provided in one embodiment of the present application, wherein the status bar is a status bar updated according to a first user operation and in response to a second user operation of a terminal device. Figure 6 As shown, the system elements contained in the status bar include battery level, time, and operator signal, and the application elements contained in the status bar include song title, singer, and lyrics.
[0164] In some embodiments, after updating the content displayed in the status bar, the terminal device also needs to update the data of the system elements and the application elements.
[0165] In this embodiment, the data of the application element may be provided by a third-party application corresponding to the application element. For example, the terminal device accesses the third-party application corresponding to the application element through an interface to obtain the data of the application element. The third-party application should be in a running state.
[0166] In some embodiments, if the third-party application corresponding to the application element exits operation, but the service of the application has not yet exited operation, the service of the application can provide the terminal device with the data of the application element. Among them, the exit of the third-party application can be understood as the exit of the application of the third-party application. In some scenarios, when the application of the third-party application exits operation, the service of the application can still be displayed in the notification bar to provide services to the user.
[0167] In some embodiments, when the third-party application corresponding to the application element exits and the service of the application exits, the server of the third-party application can provide the terminal device with the data of the application element, so that the terminal device can update the data of the application element displayed in the status bar. It should be noted that the server of the third-party application can be understood as the server that provides application services for the application.
[0168] In some embodiments, when the server of the third-party application provides the data of the application element to the terminal device, the server of the third-party application can transmit the data of the application element to the status bar setting server, and the terminal device can obtain the data of the application element through the status bar setting server; or the terminal device can directly access the server of the third-party application to obtain the data of the application element. Among them, the status bar setting server can be understood as the server used by the terminal device manufacturer.
[0169] In some embodiments, the terminal device may refresh the data of the system elements or application elements displayed in the status bar in real time.
[0170] In this embodiment, the application elements of the third-party application whose application window is displayed in the first user interface are displayed in the status bar, thereby realizing customized display of the application elements in the status bar, enriching the elements displayed in the status bar, and improving the flexibility of the status bar display.
[0171] In some embodiments, when the first user interface includes application windows of multiple third-party applications, the terminal device may further display an application selection interface for selecting a target application before executing S303, and determine the application element controls included in the setting interface based on the fourth user operation in the application selection interface, thereby improving the efficiency of the user in selecting the application element controls in the setting interface, thereby improving the user's experience. Among them, the target application can be understood as a third-party application corresponding to the application element that the user wants to display in the setting interface. Among them, the fourth user operation is used to select the target application from the optional applications included in the application selection interface, and the optional applications include multiple third-party applications whose application windows are displayed in the first user interface. Therefore, the application element controls included in the setting interface are controls for the application elements corresponding to the target application. The number of target applications can be one or more.
[0172] In some embodiments, when the first user interface does not include any application window of a third-party application, the terminal device may not execute S301, and directly execute S302 to S306.
[0173] In this implementation, before executing S303, the terminal device may display an application selection interface for selecting a target application, and determine the application element controls included in the setting interface based on the user operation in the application selection interface. The user operation in the application selection interface is used to select the target application from the optional applications included in the application selection interface, and the application element controls included in the setting interface are controls of the application elements corresponding to the target application.
[0174] As an example, the optional applications included in the application selection interface may be third-party applications whose application windows are not displayed in the first user interface but are still running in the terminal device, such as third-party applications located in the taskbar of the terminal device, third-party applications located in the notification bar of the terminal device, or third-party applications running in the background of the terminal device.
[0175] In this example, the terminal device can directly access the target application through the interface to obtain the application elements in the target application that can be displayed in the status bar, and display them in the setting interface.
[0176] As an example, the optional applications included in the application selection interface may be third-party applications that have been installed but not running in the terminal device.
[0177] In this example, the terminal device can start the target application selected by the user operation in the application selection interface in the background, and access the target application through the interface to obtain application elements in the target application that can be displayed in the status bar, and display them in the settings interface.
[0178] In some embodiments, the time when the terminal device starts the target application selected by the user operation in the application selection interface in the background can be before or after the display of the settings interface. This application does not impose any specific restrictions on this.
[0179] In some embodiments, the terminal device may not start the target application selected by the user operation in the application selection interface in the background, but obtain the application elements of the target application that can be displayed in the status bar through the cloud server and display them in the settings interface. Among them, the cloud server includes a status bar settings server and / or a server for third-party applications. In some embodiments, the time when the terminal device obtains the application element corresponding to the target application can be before or after the settings interface is displayed, and this application does not make specific restrictions on this.
[0180] As an example, the server of the third-party application can communicate with the status bar setting server to implement data interaction. For example, the server of the third-party application can send the application element corresponding to the application to the status bar setting server, and the terminal device can obtain the application element corresponding to the third-party application by accessing the status bar setting server; or the terminal device can directly access the server of the third-party application to obtain the application element corresponding to the third-party application.
[0181] As an example, the optional application included in the application selection interface may also be a third-party application that is not installed in the terminal device. The server of the third-party application may communicate directly / indirectly with the terminal device, so that the terminal device may obtain the application element corresponding to the third-party application through the server of the third-party application. For example, the terminal device may obtain the application element corresponding to the third-party application by accessing the status bar setting server, or directly access the server of the third-party application to obtain the application element corresponding to the third-party application.
[0182] In some embodiments, when displaying the selectable third-party applications, the application selection interface may also include identification information of the third-party application, which is used to identify whether the third-party application is an application that has been installed in the terminal device.
[0183] It should be understood that the application selection interface shown in this embodiment is only an example, and any service or interface having the same function as the application selection interface can be included in the scope of the application selection interface.
[0184] In some embodiments, when the first user interface does not include any application window of a third-party application, the terminal device may not execute S301, and directly execute S302 to S306.
[0185] In this implementation, in some embodiments, during the process of executing S303, the terminal device may further include an application selection control for selecting a target application in the setting interface of the status bar, and determine the application element control included in the setting interface based on the user operation in the setting interface. The user operation in the setting interface is used to select the target application from the optional applications included in the application selection control, and the application element control included in the setting interface is the application element corresponding to the target application.
[0186] It should be noted that the optional applications included in the application selection control may be consistent with the optional applications shown in the aforementioned implementation, and will not be described in detail here.
[0187] In this implementation method, the terminal device can directly access the target application through the interface based on the target application selected by the user operation in the setting interface, or start the target application in the background and then access the target application through the interface, or directly access the cloud server to obtain the application elements corresponding to the target application and display them in the setting interface. For details, please refer to the contents shown in the aforementioned implementation method, which will not be repeated here.
[0188] In some embodiments, when the terminal device receives the first user operation, if the M elements contained in the status bar set by the first user operation include an application element of a third-party application that has been installed but not run in the terminal device, the second user operation may also be an operation to start the third-party application corresponding to the application element. In this case, after receiving the first user operation, when the terminal device detects that the user has started the third-party application corresponding to the application element, the status bar can be set according to the first user operation, thereby updating the content displayed in the status bar.
[0189] In some embodiments, the status bar setting interface may further include a decorative element selection control, which is used to select decorative elements displayed in the status bar. The decorative elements may be understood as elements that do not carry information but can beautify the status bar of the terminal device, and the decorative elements may be, for example, icons, three-dimensional images, pictures, and other elements.
[0190] In some embodiments, the decoration element selection control may be pre-set in the terminal device for invocation.
[0191] Figure 7 This is an exemplary structural diagram of a terminal device provided in one embodiment of the present application. Figure 7 As shown, the terminal device 700 may include a status bar process 710 and a status bar customization process 720 .
[0192] like Figure 7 As shown, the status bar process 710 is used to receive a third user operation, such as executing S101 and S302 in the aforementioned embodiment.
[0193] In some embodiments, the status bar process 710 is also used to activate the status bar customization process 720 based on a third user operation, and send system elements that can be displayed in the status bar and / or a status bar display template that only contains system elements to the status bar customization process 720; accordingly, the status bar customization process 720 receives the information.
[0194] In some embodiments, the status bar customization process 720 is used to display a setting interface of the status bar, such as executing S102 and S303 in the aforementioned embodiments.
[0195] In some embodiments, the status bar customization process 720 is also used to access a third-party application or a cloud server to obtain application elements corresponding to the third-party application and display them in the settings interface.
[0196] In some embodiments, the status bar customization process 720 is also used to receive a first user operation and a second user operation, such as executing S103, S104, S304 and S305 in the aforementioned embodiments, and sending the first user operation to the status bar process 710 in response to the second user operation.
[0197] In some embodiments, the status bar process 710 is further used to set the status bar according to the first user operation, such as executing S105 and S306 in the aforementioned embodiments.
[0198] In some embodiments, the status bar customization process 720 is also used to display the first user interface, such as executing S301 in the aforementioned embodiment.
[0199] In some embodiments, the terminal device 700 may further include a third-party application process 730 and a third-party application service 740. The third-party application process 730 may be understood as an instance of the application program of the third-party application when it is running.
[0200] The third-party application process 730 can communicate with the status bar process 710 and the status bar customization process 720 through an interface to achieve data interaction. For example, the status bar customization process 720 can obtain the application element corresponding to the application through the third-party application process 730; the status bar process 710 can obtain the data of the application element corresponding to the application through the third-party application process 730.
[0201] In some embodiments, when the third-party application process 730 exits but the third-party application service 740 does not exit, the third-party application service 740 communicates with the status bar process 710 and the status bar customization process 720 .
[0202] In some embodiments, when the third-party application process 730 exits and the service 740 of the third-party application exits, the cloud server communicates with the status bar process 710 and the status bar customization process 720 .
[0203] It can be understood that the status bar process, the status bar custom process, the third-party application process and the service of the third-party application are merely examples, and any service, application or process with the same functions as the status bar process, the status bar custom process, the third-party application process and the service of the third-party application here can be included in the scope of the status bar process, the status bar custom process, the third-party application process and the service of the third-party application in the embodiments of the present application.
[0204] It should be noted that the technical solution provided by this application can also be applied to the setting of other layouts supporting customized content, such as the setting of the navigation bar of the terminal device, and this application does not make specific restrictions on this. Among them, the layout supporting customized content can be located at the upper edge, lower edge, left edge or right edge of the terminal device screen, or can be located at the second small screen of the terminal device, or can be located at other locations such as the watch screen, and this application does not make specific restrictions on this.
[0205] In some embodiments, the terminal device in the embodiments of the present application may be a device that provides voice / data connectivity to users, such as a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of terminal devices are: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, personal digital assistants (PDA), handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, etc., and the embodiments of the present application are not limited to this.
[0206] Figure 8 An exemplary structural diagram of a status bar setting device provided for one embodiment of the present application. Figure 8 The device 800 shown can be used to implement Figure 1 or Figure 3 Each step in Figure 8 As shown, the device 800 may include a transceiver module 810 , a processing module 820 and a display module 830 .
[0207] The device 800 is used to implement Figure 1In the method shown, the transceiver module 810 can be used to implement S101, S103 and S104, the processing module 820 can be used to implement S105, and the display module 830 can be used to implement S102.
[0208] The device 800 is used to implement Figure 3 In the method shown, the transceiver module 810 can be used to implement S302, S304 and S305, the processing module 820 can be used to implement S306, and the display module 830 can be used to implement S301 and S303.
[0209] In some embodiments, the apparatus 800 may be a terminal device.
[0210] Fig. 9 An exemplary structural diagram of a terminal device provided for yet another embodiment of the present application. Fig. 9 The terminal device shown is used to implement each step in the above-mentioned embodiment. Fig. 9 As shown, the terminal device 900 includes: a transceiver 910, a processor 920, a display 930, a memory 940, a communication interface 950 and a bus 960. The transceiver 910, the processor 920, the display 930, the memory 940 and the communication interface 950 are connected to each other through the bus 960.
[0211] The transceiver 910 can be used to implement S101, S103, S104, S302, S304 and S305 in the aforementioned embodiments, the processor 920 can be used to implement S105 and S306 in the aforementioned embodiments, and the display 930 can be used to implement S102, S301 and S303 in the aforementioned embodiments.
[0212] Among them, the transceiver 910 is coupled to the processor 920, and the processor 920 controls the transceiver 910's transceiver action; the display 930 can be connected to the processor 920, and display the setting interface or the first user interface in the above embodiment under the control of the processor 920.
[0213] The processor 920 may be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits to execute related programs.
[0214] The processor 920 may also be an integrated circuit chip having signal processing capabilities. The processor 920 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0215] The memory 940 may include a high-speed random-access memory (RAM) and may also include a non-volatile memory (NVM), such as at least one disk memory. Various instructions may be stored in the memory 940 to perform various processing functions and implement the method steps of the present application.
[0216] In an embodiment of the present application, the above-mentioned memory 940 is used to store computer executable program code, and the program code includes instructions; when the processor 920 executes the instructions, the instructions enable the processor 920 of the terminal device to perform the processing actions of the terminal device in the above-mentioned method embodiment, and enable the transceiver 910 to perform the transceiver actions of the terminal device in the above-mentioned method embodiment. The implementation principles and technical effects are similar and will not be repeated here.
[0217] The communication interface 950 may use, but is not limited to, a transceiver or other transceiver device to implement communication between the terminal device 900 and other devices or a communication network.
[0218] The bus 960 may include a path for transmitting information between various components of the terminal device 900 (eg, the transceiver 910 , the processor 920 , the display 930 , the memory 940 , and the communication interface 950 ).
[0219] The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 940, and the processor 920 reads the information in the memory 940, and completes the steps / functions required to be executed in the embodiment of the present application in combination with its hardware.
[0220] It should be noted that the components shown in the above embodiments may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain module above is implemented in the form of a processing element calling a program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes, such as a controller. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0221] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, software module or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0222] The term "plurality" in this article refers to two or more than two. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0223] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
[0224] It can be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Claims
1. A method for setting a status bar, characterized in that: The method is applied to a terminal device, and the method comprises: Receive a first user operation, where the first user operation is used to set M elements included in a status bar in a user interface of the terminal device and a position of each of the M elements in the status bar, where M is a positive integer; receiving a second user operation, where the second user operation is used to instruct to update the status bar; In response to the second user operation, setting the status bar according to the first user operation.
2. The method according to claim 1, characterized in that: The M elements include system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
3. The method according to claim 1 or 2, characterized in that: Before receiving the first user operation, the method further includes: receiving a third user operation, where the third user operation is used to trigger a setting process of the status bar; A setting interface of the status bar is displayed, wherein the setting interface includes optional system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
4. The method according to claim 3, characterized in that: The third user operation includes: clicking the camera of the terminal device N times in succession, where N is a positive integer.
5. The method according to claim 3 or 4, characterized in that: Before receiving the third user operation, the method further includes: A first user interface is displayed, wherein the first user interface includes a display window of a first application, the first application is a third-party application, and the setting interface includes elements of the first application that can be displayed in the status bar.
6. The method according to claim 5, characterized in that The first user interface includes a display window of each third-party application in a plurality of third-party applications; The setting interface includes elements in each third-party application that can be displayed in the status bar.
7. The method according to claim 5, characterized in that The first user interface includes a display window of each third-party application in a plurality of third-party applications, and the plurality of third-party applications includes the first application; Before displaying the setting interface of the status bar, the method further includes: A fourth user operation is received, where the fourth user operation is used to select the first application among the plurality of third-party applications.
8. The method according to claim 3 or 4, characterized in that: Before displaying the setting interface of the status bar, the method further includes: Starting the third-party application in the background; An element in the third-party application that can be displayed in the status bar is acquired from the third-party application.
9. The method according to claim 3 or 4, characterized in that: Before displaying the setting interface of the status bar, the method further includes: The elements of the third-party application that can be displayed in the status bar are obtained from a cloud server, wherein the cloud server includes a status bar setting server and / or a server of the third-party application.
10. A terminal device, characterized in that: include: A transceiver, configured to receive a first user operation, wherein the first user operation is used to set M elements included in a status bar in a user interface of the terminal device and a position of each of the M elements in the status bar, where M is a positive integer; The transceiver is further used to receive a second user operation, where the second user operation is used to instruct to update the status bar; The processor is configured to, in response to the second user operation, set the status bar according to the first user operation.
11. The terminal device according to claim 10, characterized in that: The M elements include system elements in the terminal device and / or elements in a third-party application that can be displayed in the status bar.
12. The terminal device according to claim 10 or 11, characterized in that: The terminal device further includes: a display; The transceiver is further used to receive a third user operation, where the third user operation is used to trigger a setting process of the status bar; The display is used to display a setting interface of the status bar, wherein the setting interface includes optional system elements in the terminal device and / or elements that can be displayed in the status bar in a third-party application.
13. The terminal device according to claim 12, characterized in that: The third user operation includes: clicking the camera of the terminal device N times in succession, where N is a positive integer.
14. The terminal device according to claim 12 or 13, characterized in that: The display is further used to display a first user interface, wherein the first user interface includes a display window of a first application, and the first application is a third-party application; The setting interface includes elements of the first application that can be displayed in the status bar.
15. The terminal device according to claim 14, characterized in that: The first user interface includes a display window of each third-party application in a plurality of third-party applications; The setting interface includes elements in each third-party application that can be displayed in the status bar.
16. The terminal device according to claim 15, characterized in that: The first user interface includes a display window of each third-party application in a plurality of third-party applications, and the plurality of third-party applications includes the first application; The transceiver is further used to receive a fourth user operation, where the fourth user operation is used to select the first application from the multiple third-party applications.
17. The terminal device according to claim 12 or 13, characterized in that: The processor is further used to start the third-party application in the background; The processor is further configured to obtain, from the third-party application, elements in the third-party application that can be displayed in the status bar.
18. The terminal device according to claim 12 or 13, characterized in that: The processor is further used to obtain elements in the third-party application that can be displayed in the status bar from a cloud server, and the cloud server includes a status bar setting server and / or a server of the third-party application.
19. A terminal device, characterized in that: A computer program is stored on the terminal device, and when the computer program is executed by the terminal device, the method according to any one of claims 1 to 9 is implemented.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method according to any one of claims 1 to 9 is implemented.
21. A computer program product, characterized in that The method comprises a computer program code, which, when executed on a computer, causes the computer to implement the method according to any one of claims 1 to 9.