CN109407926B - Processing method and electronic equipment - Google Patents

Processing method and electronic equipment Download PDF

Info

Publication number
CN109407926B
CN109407926B CN201811212149.0A CN201811212149A CN109407926B CN 109407926 B CN109407926 B CN 109407926B CN 201811212149 A CN201811212149 A CN 201811212149A CN 109407926 B CN109407926 B CN 109407926B
Authority
CN
China
Prior art keywords
state
designated
component
status
icon
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201811212149.0A
Other languages
Chinese (zh)
Other versions
CN109407926A (en
Inventor
赵蕊
陈悦珲
宋丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811212149.0A priority Critical patent/CN109407926B/en
Publication of CN109407926A publication Critical patent/CN109407926A/en
Application granted granted Critical
Publication of CN109407926B publication Critical patent/CN109407926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a processing method, comprising: obtaining a trigger event; determining a status icon corresponding to the trigger event; and controlling to display a state icon in a designated area on a main interface (home page) occupied by the designated component, wherein the designated component is used for displaying part of the content of the application program corresponding to the designated component, and if the triggering operation aiming at the designated component is obtained, the application program corresponding to the designated component is started. The present disclosure also provides an electronic device.

Description

Processing method and electronic equipment
Technical Field
The disclosure relates to a processing method and an electronic device.
Background
On the display screen of the terminal equipment, the running state of the system of the terminal equipment can be intuitively known through the state icon information presented on the system state bar. However, the area of the system status bar on the display screen is limited, and is often the display area (i.e. the first display area at the top) matched with the top of the screen, especially, the bang (notch) screen is often adopted when the electronic device seeks a higher high screen occupation ratio, the display area reserved for the system status bar is compressed, and the size of the system status bar is further compressed in order to be matched with the notch screen. The number of status icons that can be presented by the system status bar is very limited, and in the case where the number of status icons increases due to a change in the status of the system, the system status bar cannot carry the increased status icons, and thus cannot display the increased status icons.
Disclosure of Invention
One aspect of the present disclosure provides a processing method, including: the method comprises the steps of obtaining a trigger event, determining a state icon corresponding to the trigger event, and controlling a designated area on a main interface (home page) occupied by a designated component to display the state icon, wherein the designated component is used for displaying partial content of an application program corresponding to the designated component, and if the trigger operation aiming at the designated component is obtained, the application program corresponding to the designated component is started.
Optionally, the state icon is only used to show a system state corresponding to the state icon, or obtain a trigger operation for the specified component, and invoking the application program corresponding to the specified component includes: determining a trigger point corresponding to the trigger operation, and if the trigger point belongs to the designated area of the designated component, starting the application program corresponding to the designated component.
Optionally, the controlling to display the status icon in a designated area on a main interface (home page) occupied by the designated component includes: and determining the number of the state icons currently carried by the system state bar, and executing the control to display the state icons in a designated area on a main interface (home page) occupied by a designated component under the condition that the number of the state icons currently carried by the system state bar is reached.
Optionally, the controlling to display the status icon in a designated area on a main interface (home page) occupied by the designated component includes: and under the condition that the trigger event meets a preset rule, executing the control to display the state icon in a specified area on a main interface (home page) occupied by the specified component.
Optionally, the trigger event is a connection event, and the predetermined rule is to perform connection in a wireless manner.
Optionally, the method further includes: determining whether the main interface (home page) bears a first component, and taking the first component as a designated component under the condition that the main interface (home page) bears the first component.
Optionally, the controlling to display the status icon in a designated area on a main interface (home page) occupied by the designated component includes: and if the designated component is in the use state, controlling to display the state icon in a designated area on the main interface (home page) occupied by the designated component.
Optionally, the method further includes: and acquiring a deleting operation aiming at the specified component, responding to the deleting operation, controlling the system status bar to bear the status icon corresponding to the trigger event, and deleting the specified component.
Optionally, the controlling to display the status icon in a designated area on a main interface (home page) occupied by the designated component includes: the method comprises the steps of obtaining the equipment state of the electronic equipment, and controlling to display a state icon in a designated area on a main interface (home page) occupied by a designated component under the condition that the equipment state of the electronic equipment is a first equipment state, wherein the system state bar corresponds to a first edge of a display screen of the electronic equipment under the condition that the electronic equipment is in the first equipment state, and the first edge of the display screen is provided with a notch.
Another aspect of the present disclosure provides an electronic device, including a display screen and a processor, where the processor is configured to obtain a trigger event, determine a status icon corresponding to the trigger event, and control to display the status icon in a designated area on a main interface (home page) occupied by a designated component, where the designated component is configured to display a partial content of an application program corresponding to the designated component, and if a trigger operation for the designated component is obtained, launch the application program corresponding to the designated component.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically shows an application scenario of a processing method according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a processing method according to an embodiment of the present disclosure;
FIG. 3A schematically illustrates a flowchart for obtaining a trigger operation for a specified component to invoke an application corresponding to the specified component, according to an embodiment of the disclosure;
FIG. 3B schematically illustrates a flow chart for controlling display of a status icon in a designated area on a home interface (home page) occupied by a designated component, in accordance with an embodiment of the disclosure;
FIG. 3C schematically illustrates a flow diagram of a processing method according to another embodiment of the disclosure;
FIG. 3D schematically illustrates a flow diagram for controlling display of a status icon in a designated area on a home interface (home page) occupied by a designated component, in accordance with another embodiment of the disclosure;
FIG. 3E schematically illustrates a flow diagram of a processing method according to yet another embodiment of the disclosure;
FIG. 3F schematically illustrates a flow diagram for controlling display of a status icon in a designated area on a home interface (home page) occupied by a designated component, in accordance with yet another embodiment of the present disclosure;
FIG. 3G schematically illustrates an effect diagram of displaying a status icon in a designated area on a home interface (home page) occupied by a designated component with an electronic device in a first device state, according to an embodiment of the disclosure;
fig. 3H schematically illustrates an effect diagram of a system status bar carrying a status icon corresponding to the trigger event when the electronic device is in the second device state according to an embodiment of the present disclosure;
FIG. 4 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure; and
FIG. 5 schematically shows a block diagram of a computer system according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of this disclosure, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The present disclosure provides a processing method, comprising: obtaining a trigger event; determining a status icon corresponding to the trigger event; and controlling to display a state icon in a designated area on a main interface (home page) occupied by the designated component, wherein the designated component is used for displaying part of the content of the application program corresponding to the designated component, and if the triggering operation aiming at the designated component is obtained, the application program corresponding to the designated component is started.
Fig. 1 schematically shows an application scenario of a processing method according to an embodiment of the present disclosure.
On the display screen of the terminal equipment, the running state of the system of the terminal equipment can be intuitively known through the state icon information presented on the system state bar. However, the area of the system status bar on the display screen is limited, and is often the display area (i.e. the first display area at the top) matched with the top of the screen, especially when the electronic device seeks a higher high screen occupation ratio, a bang-bang screen design (notch) screen as shown in fig. 1 is often adopted, the display area reserved for the system status bar is compressed, and the size of the system status bar is further compressed in order to be matched with the notch screen. The number of status icons that can be presented by the system status bar is very limited, and in the case where the number of status icons increases due to a change in the status of the system, the system status bar will not be able to carry the increased status icons and thus will not be able to display the increased status.
In implementing the disclosed concept, the inventors found that at least the following drawbacks exist in the related art to solve the above problems: if the state of the system changes and the number of the state icons is increased, the system state bar is expanded, for example, the system state bar is expanded into two bars, and the increased state icons are carried on the second bar. However, the system standard of the electronic device requires that the system status bar 101 only display one bar (i.e., the first bar described in the background), and if the user needs to view the status information of the added status icons, the user is required to perform a pull-down operation to expand the system status bar from one bar to two bars. Alternatively, for another example, the operating system may develop an application program for monitoring and displaying the power of the connected device for the device wirelessly connected to the current terminal device. But the application is not on the home interface (home page) 102 but on the minus one screen, then if the user needs to view the amount of power presented by the application, the user is required to perform at least one right-swipe operation to reveal the content of the minus one screen. Therefore, in the above prior art, the user is required to perform at least one operation, which cannot meet the requirement of the user for viewing the status icon, and the status information for viewing the status icon becomes complicated, thereby affecting the user experience.
According to the processing method provided by the embodiment of the disclosure, when the number of the state icons is increased due to the change of the state of the system, the system state bar cannot bear the increased state icons, and therefore the increased state can not be displayed, the state information of the state icons is presented on the designated component 103 on the main interface (home page) 102, so that the requirement of the user for seeing and obtaining the state icons is met, the state information for viewing the state icons is complicated and simple, and the use feeling of the user is improved.
FIG. 2 schematically shows a flow chart of a processing method according to an embodiment of the disclosure.
As shown in fig. 2, the method includes operations S210 to S230. Wherein:
in operation S210, a trigger event is obtained.
In operation S220, a status icon corresponding to the trigger event is determined.
In operation S230, controlling to display a status icon in a designated area on a home page occupied by a designated component, where the designated component is used to display a part of content of an application program corresponding to the designated component.
According to the embodiment of the present disclosure, the trigger event may be any operation for the electronic device, such as entering any contextual model, or a connection event of an external electronic device, and the specific content of the trigger event is not limited in the embodiment of the present disclosure. It can be understood that different trigger events may need to call different hardware resources and software resources of the electronic device, so as to facilitate a user to intuitively know the operating state of the system of the electronic device, corresponding icons may be configured for the hardware resources and the software resources, and a state icon capable of reflecting the use state of the resources is presented on a system state bar. For example, if the triggering event is entering the flight mode, in response to the triggering event wifi and the data network being in the off state, the status icon will not be displayed in the system status bar.
In the case that the number of the status icons is increased due to the change of the status of the system, the system status bar cannot bear the increased status icons, and thus cannot display the increased status icons, and therefore, the related art expands the system status bar, so that a user performs one pull-down operation to expand one system status bar into two; or the state information is presented on the negative screen, so that the user performs right sliding operation at least once to display the content of the negative screen.
According to the embodiment of the disclosure, the state icon is controlled to be displayed in the designated area on the main interface (home page) occupied by the designated component instead of the state icon being displayed on the system state bar, wherein the designated component is used for displaying part of the content of the application program corresponding to the designated component, and if the triggering operation aiming at the designated component is obtained, the application program corresponding to the designated component is started. The designated component may be a Widget, and the Widget may display a status icon, which may be a status icon corresponding to the trigger event.
It can be understood that a certain piece of information corresponding to a trigger event may include one display state or multiple display states, and if a certain piece of information includes multiple display states, part of the state information is transferred to a Widget of a home page to be displayed, so as to reduce the presentation pressure of the system state bar information.
For example, the battery includes 3 display states, i.e., a normal state, a charging state, and a power percentage, and according to an embodiment of the present disclosure, the display state, i.e., the power percentage that is more important or more concerned by the user, of the 3 display states may be transferred to a Widget of a home interface (home page) for display.
For another example, the bluetooth includes 3 display states, i.e., an open state, a connection state, and a power state of the bluetooth device, and according to an embodiment of the present disclosure, the display state, i.e., the power state of the bluetooth device that is more important or concerned by the user, in the 3 display states may be transferred to a home page Widget for display.
Specifically, which state of the multiple display states is displayed on the home page Widget, which is not limited in the present disclosure, may be selected according to actual needs, or defined according to the use habits of the user.
According to the embodiment of the disclosure, controlling the display of the status icon in the designated area on the main interface (home page) occupied by the designated component includes two implementation manners:
the first implementation mode comprises the following steps: controlled by the underlying release of information. Specifically, the state icon corresponding to the trigger event is notified to the designated component through broadcast information or notification issued by the bottom layer or a mode of modifying a system bottom layer protocol, and the designated component controls and determines how to display the state icon.
The second implementation mode comprises the following steps: not controlled by the underlying published information. Specifically, the control icon is displayed in a designated area on a main interface (home page) occupied by the designated component, namely, the control icon is displayed in an overlapping manner and is in binding relation with the designated component.
The status icons displayed in the designated area on the main interface (home page) occupied by the designated component, which are realized by the two implementation manners, can move along with the movement of the designated component.
Through the embodiment of the disclosure, due to the adoption of the technical scheme that the state icon corresponding to the trigger event is displayed in the designated area on the main interface (home page) occupied by the designated component, the requirement of a user for seeing and obtaining the state icon can be met, the user can view the state information corresponding to the trigger event by clicking the home key or using the gesture of returning to the main interface (home page), an application program is not required to be independently developed by an operating system for the equipment wirelessly connected with the current terminal equipment, the electric quantity of the connected equipment is monitored and displayed on a negative screen, the viewing operation of the state information is simple, convenient and quick, the display pressure of the system state bar is relieved, and the technical effect of expanding the system state bar is not required.
According to the embodiment of the disclosure, the status icon corresponding to the trigger event is displayed in a designated area on a main interface (home page) occupied by the designated component or in a system status bar, and one of the status icon and the system status bar is specifically displayed in the designated area on the main interface (home page) occupied by the designated component or in the system status bar. The method shown in fig. 2 is further described with reference to fig. 3A-3H in conjunction with specific embodiments.
According to the embodiment of the present disclosure, displaying the status icon in the designated area on the home page occupied by the designated component is different from displaying the status icon presented by the notification center.
Specifically, displaying the status icon in the designated area on the main interface (home page) occupied by the designated component is only used for displaying the system status corresponding to the status icon, and does not support any user operation for the status icon. In other words, when an operation such as clicking is performed on a state icon displayed in a designated area on a main interface (home page) occupied by a designated component, even if the coordinate point corresponding to the clicking operation of the user on the state icon coincides with the coordinate point of the coordinate point at the position where the state icon is located, no response is generated to the state icon.
The state icon presented by the notification center can not only display the state, but also be used by the user to perform various operations to change the state of the hardware.
For example, when a wifi status icon is clicked, if the wifi status icon is displayed in a designated area on a main interface (home page) occupied by a designated component, the wireless connection will not be opened or closed, and if the wifi status icon is displayed in a notification center, the wireless connection will be opened or closed.
Fig. 3A schematically illustrates a flowchart of obtaining a trigger operation for a specified component to invoke an application corresponding to the specified component according to an embodiment of the present disclosure.
As shown in fig. 3A, the method includes operations S311 and S312. Wherein:
in operation S311, a trigger point corresponding to the trigger operation is determined.
In operation S312, in case that the trigger point belongs to the designated area of the designated component, the application corresponding to the designated component is invoked.
According to the embodiments of the present disclosure, even if the coordinates of the trigger point corresponding to the trigger operation coincide with the coordinates of the state icon displayed in the designated area of the designated component, that is, the click operation by the user is pressed onto the state icon, it is determined in the designated area of the designated component. In other words, the click operation of the user on the status icon does not affect the operated response of the specified component.
Through the embodiment of the disclosure, the state icon is displayed in the designated area on the main interface (home page) occupied by the designated component and is only used for displaying, so that a user can conveniently, quickly and intuitively see the information of the state icon corresponding to the trigger event, the function of being operated is not provided, and misoperation of the state icon on the designated component by the user is avoided.
FIG. 3B schematically illustrates a flow diagram for controlling display of a status icon in a designated area on a home interface (home page) occupied by a designated component, according to an embodiment of the disclosure.
As shown in fig. 3B, the aforementioned operation S230 (controlling display of a status icon in a designated area on a home page on a home interface occupied by a designated component) includes operations S321 and S322. Wherein:
in operation S321, the number of status icons currently carried by the system status bar is determined.
In operation S322, in a case where the number of status icons currently carried by the system status bar reaches a threshold value, execution control displays the status icons in a designated area on a home interface (home page) occupied by a designated component.
According to the embodiment of the present disclosure, after the aforementioned operation S210 (obtaining the trigger event), the number of the status icons currently carried by the system status bar may be determined, and whether to display the status icon in the designated area on the main interface (home page) occupied by the designated component is controlled based on the number of the status icons currently carried by the system status bar.
For example, the triggering event is entering into an airplane mode, wifi and the data network are in a closed state after responding to the triggering event, and accordingly, status icons of wifi and the data network are not displayed in the system status bar. The number of the status icons currently carried by the system status bar is the number without wifi and data network icons.
It will be appreciated that the system status bar has a limited area on the display screen, often the top of the screen (i.e. the first display area at the top), and therefore there is a threshold number of status icons carried by the system status bar depending on how the first display area fits into the notch screen.
According to the embodiment of the disclosure, under the condition that the number of the state icons currently carried by the system state bar reaches the threshold value, the control is executed to display the state icons in the designated area on the main interface (home page) occupied by the designated component, and under the condition that the number of the state icons currently carried by the system state bar does not reach the threshold value, the system state bar is controlled to carry the state icons corresponding to the trigger events.
Through the embodiment of the disclosure, whether the state icons are displayed in the designated area on the main interface (home page) occupied by the designated component is controlled based on the number of the state icons currently carried by the system state bar, so that the state icons are displayed in the designated area on the main interface (home page) occupied by the designated component under the condition that the state of the system changes to cause the increase of the number of the state icons and the system state bar cannot carry the increased state icons, the technical problem of complicated state icon information viewing can be at least avoided, the technical effect of rapidly viewing the state icons is realized, and the user experience is better.
Alternatively, in a case where the trigger event satisfies a predetermined rule, execution control displays a status icon in a designated area on a home interface (home page) occupied by the designated component.
According to the embodiment of the disclosure, in view of the problem of saving energy consumption of the electronic device, whether the trigger event meets the predetermined rule or not can be detected, and in the case that the trigger event meets the predetermined rule, the state icon is controlled to be displayed in the designated area on the main interface (home page) occupied by the designated component. In the event that the trigger event does not satisfy the predetermined rule, the status icon is not displayed in the designated area on the home interface (home page) occupied by the designated component.
Optionally, the triggering event is a connection event; the predetermined rule is to connect wirelessly.
Through the embodiment of the disclosure, under the condition that the trigger event meets the preset rule, the execution control is performed to display the state icon in the designated area on the main interface (home page) occupied by the designated component, so that the display problem of the state icon caused by misoperation of a user can be at least avoided, and meanwhile, the waste of energy consumption of the electronic equipment can be saved.
Fig. 3C schematically shows a flow chart of a processing method according to another embodiment of the present disclosure.
As shown in fig. 3C, the method includes operations S331 and S332, in addition to the aforementioned operations S210 to S230 (which are not described herein again). Wherein:
in operation S331, it is determined whether the home page carries a first component.
In operation S332, in the case where the home page carries the first component, the first component is taken as a designated component.
According to the embodiment of the disclosure, any number of components may be carried on the main interface (home page), no component may be carried, one component may be carried, and multiple components may be carried, wherein the multiple components are arranged on the main interface (home page) according to a certain layout.
And under the condition that no bearing component exists on the main interface (home page), the control system status bar bears the status icon corresponding to the trigger event. Specifically, the display position of the status icon corresponding to the trigger event is controlled based on the threshold of the status icon carried by the system status bar and the number of the currently carried status icons, if the number of the currently carried status icons does not reach the threshold, the status icon corresponding to the trigger event may be carried on the first bar, and if the number of the currently carried status icons reaches the threshold, the status icon corresponding to the trigger event may be carried on the second bar.
In the case where one or more components are carried on a main interface (home page), a specified component is determined based on the number of main components.
In the case where a component is loaded on the home page, the component is taken as a specified component. When a plurality of components are loaded on a home page, one component meeting a preset rule can be selected from the plurality of components as a designated component according to the preset rule. Such as the one that is uppermost among the plurality of components as the designated component. It is to be understood that which component of the multiple components is specifically taken as the designated component, and the embodiments of the present disclosure are not limited thereto, and may be selected according to actual situations.
Through the embodiment of the disclosure, under the condition that the main interface (home page) bears the components, the specified components can be determined, the display of the state icons in the specified areas on the main interface (home page) occupied by the specified components is controlled, and under the condition that no components exist on the main interface (home page), the state bar of the control system bears the state icons corresponding to the trigger events, so that the state icons corresponding to the trigger events are displayed in the specified areas on the main interface (home page) occupied by the specified components or in the system state bar, and the state icons are prevented from being lost and displayed.
FIG. 3D schematically illustrates a flow diagram for controlling display of a status icon in a designated area on a home interface (home page) occupied by a designated component, in accordance with another embodiment of the disclosure.
As shown in fig. 3D, the aforementioned operation S230 (controlling display of a status icon in a designated area on a home page on a main interface occupied by a designated component) includes operations S341 and S342. Wherein:
in operation S341, it is determined whether the specified component is in a use state.
In operation S342, in a case where the designated component is in the use state, control displays a state icon in a designated area on a home interface (home page) occupied by the designated component.
According to an embodiment of the present disclosure, a display position of a status icon corresponding to a trigger event may be controlled based on whether a designated component is in a use state.
Specifically, in the case where the designated component is borne on the home interface (home page), it is determined that the designated component is in a use state, and the state icon is controlled to be displayed in a designated area on the home interface (home page) occupied by the designated component. And under the condition that the designated component is borne on other interfaces except a main interface (home page), determining that the designated component is in a non-use state, and controlling a system status bar to bear a status icon corresponding to the trigger event. Specifically, the display position of the status icon corresponding to the trigger event is controlled based on the threshold of the status icon carried by the system status bar and the number of the currently carried status icons, if the number of the currently carried status icons does not reach the threshold, the status icon corresponding to the trigger event may be carried on the first bar, and if the number of the currently carried status icons reaches the threshold, the status icon corresponding to the trigger event may be carried on the second bar.
According to the embodiment of the disclosure, when the designated component is borne on the main interface (home page), the designated component is determined to be in the use state, the state icon is controlled to be displayed in the designated area on the main interface (home page) occupied by the designated component, when the designated component is borne on other interfaces except the main interface (home page), the designated component is determined to be in the non-use state, the system state bar is controlled to bear the state icon corresponding to the trigger event, so that the state icon corresponding to the trigger event is displayed in the designated area on the main interface (home page) occupied by the designated component or in the system state bar, and the state icon missing display is avoided.
FIG. 3E schematically shows a flow chart of a processing method according to yet another embodiment of the present disclosure.
As shown in fig. 3E, the method includes operations S351 and S352, in addition to the aforementioned operations S210 to S230 (which are not described herein again). Wherein:
in operation S351, a delete operation for the specified component is obtained.
In operation S352, in response to the deletion operation, the control system status bar bears a status icon corresponding to the trigger event, and the designated component is deleted at the same time.
According to the embodiment of the disclosure, when the designated component is deleted, the display state icon in the designated area on the main interface (home page) occupied by the designated component is restored to the system state bar for display. Specifically, the display position of the status icon corresponding to the trigger event is controlled based on the threshold of the status icon carried by the system status bar and the number of the currently carried status icons, if the number of the currently carried status icons does not reach the threshold, the status icon corresponding to the trigger event may be carried on the first bar, and if the number of the currently carried status icons reaches the threshold, the status icon corresponding to the trigger event may be carried on the second bar.
It can be understood that after the designated component is executed with the deletion operation, the trigger event may not be stopped, and may still be in a persistent state, and the deletion of the designated component will cause the state icon not to be displayed in the designated area on the main interface (home page) occupied by the designated component, but will only be shifted to the system state bar for display, and will not completely delete the displayed state icon.
Through the embodiment of the disclosure, after the designated component is deleted, the control system status bar bears the status icon corresponding to the trigger event, so that the deletion of the designated component does not affect the display of the status icon, and the missing display of the status icon caused by the deletion of the component is avoided.
FIG. 3F schematically illustrates a flow diagram for controlling display of a status icon in a designated area on a home interface (home page) occupied by a designated component, in accordance with yet another embodiment of the present disclosure.
As shown in fig. 3F, the aforementioned operation S230 (controlling display of a status icon in a designated area on a home page on a main interface occupied by a designated component) includes operations S361 and S362. Wherein:
in operation S361, a device state of the electronic device is obtained.
In operation S362, in a case where the device state of the electronic device is the first device state, controlling to display a state icon in a designated area on a home interface (home page) occupied by the designated component.
It is understood that the electronic device may have different device states, and whether to control the display of the state icon in a designated area on the home interface (home page) occupied by a designated component may be determined based on the device state of the electronic device.
According to an embodiment of the present disclosure, the first device status may be that the system status bar corresponds to a first edge of a display screen of the electronic device, and the first edge of the display screen has a gap, and correspondingly, the second device status may be that the system status bar corresponds to a second edge of the display screen of the electronic device, and the second edge of the display screen is a complete edge.
For the mobile phone, the vertical screen is in a normal use state, so the first device state (as shown in fig. 3G) may be a vertical screen state, at this time, the system status bar corresponds to a first side (a transverse side or a short side) of the display screen of the electronic device, and the first side of the display screen has a notch; the second device state (as shown in fig. 3H) may be a horizontal screen state, the system status bar corresponds to a second edge (vertical edge or long edge) of the display screen of the electronic device, and the second edge of the display screen is a complete edge without a gap.
For the Ipad, the long side and the short side of the display screen are not provided with gaps, the vertical screen can be in a normal use state, the horizontal screen can also be in a normal use state, and the Ipad can be determined to be in a first equipment state or a second equipment state according to the actual use habit of a user. In combination with the first device status and the second device status determined by the mobile phone, the device status of the system status bar corresponding to the short side of the Ipad display screen may be the first device status, and the device status of the system status bar corresponding to the long side of the Ipad display screen may be the second device status.
Fig. 3G schematically shows an effect diagram of displaying a status icon in a designated area on a home interface (home page) occupied by a designated component with an electronic device in a first device state according to an embodiment of the disclosure.
Fig. 3H schematically shows an effect diagram of a system status bar carrying a status icon corresponding to the trigger event when the electronic device is in the second device state according to the embodiment of the present disclosure.
As shown in fig. 3G, when the electronic device is in the first device state, the system status bar corresponds to the first side of the display screen of the electronic device with the gap, and since the number of status icons that can be presented by the system status bar is very limited, the status icons can be displayed in the designated area on the main interface (home page) occupied by the designated component.
As shown in fig. 3H, when the system status bar corresponds to a second side having a complete edge on the display screen of the electronic device, the system status bar is controlled to bear the status icon corresponding to the trigger event. Specifically, the display position of the status icon corresponding to the trigger event is controlled based on the threshold of the status icon carried by the system status bar and the number of the currently carried status icons, if the number of the currently carried status icons does not reach the threshold, the status icon corresponding to the trigger event may be carried on the first bar, and if the number of the currently carried status icons reaches the threshold, the status icon corresponding to the trigger event may be carried on the second bar.
With reference to the embodiments shown in fig. 3G and fig. 3H, it can be seen that, when the mobile phone is in the first device state (vertical screen state), the state icon is displayed in the designated area on the home interface (home page) occupied by the designated component, and when the mobile phone is in the second device state (horizontal screen state), the state icon is displayed in the system state bar, so that in the process of switching the mobile phone from the first device state (vertical screen state) to the second device state (horizontal screen state), the state icon is switched from the state displayed in the designated area on the home interface (home page) occupied by the designated component before switching to the state displayed in the system state bar after switching to the state, and correspondingly, in the process of switching the mobile phone from the second device state (horizontal screen state) to the first device state (vertical screen state), the state icon is also switched from the state displayed in the system state bar before switching to the state displayed in the designated area on the home interface (home page) occupied by the designated component after switching to the state Is shown in (a). The change of the device state of the mobile phone can be sensed by a sensor or the like, or can be sensed by the acquired screen turning angle, which is not limited in the embodiment of the disclosure.
Through the embodiment of the disclosure, the display position of the state icon is controlled based on the equipment state of the electronic equipment, so that the display of the state icon is suitable for the switching of the electronic equipment state, and the user experience is better.
According to an embodiment of the present disclosure, in a case where the status icon includes a plurality of status icons, for aesthetic appearance of a display effect, a layout of the plurality of status icons displayed in a designated area on a main interface (home page) occupied by the designated component may be determined according to the number of icons and a size of the designated area occupied by the designated component.
For example, in the case where there are 2 status icons, these 2 status icons may be displayed side by side in a designated area on the home interface (home page) occupied by the designated component. In the case of 4 status icons, two rows of status icons may be displayed in a designated area on a home page (home page) occupied by the designated component, and 2 status icons are respectively displayed in the upper row and the lower row. In the case that the number of the status icons is 5, the status icons may be displayed in two rows in a designated area on a home page (home interface) occupied by the designated component, wherein 2 status icons are displayed in the upper row, and 3 status icons are displayed in the lower row. Under the condition that the number of the state icons is 6, the state icons can be displayed in two rows in a designated area on a main interface (home page) occupied by the designated component, the upper row and the lower row respectively display 3 state icons, or the state icons can be displayed in two rows and three rows in the designated area on the main interface (home page) occupied by the designated component, wherein the first row displays 1 state icon, the second row displays 2 state icons, and the third row displays 3 state icons, so that the attractive display effect is realized. In particular, the method of arrangement is not limiting in this disclosure.
Fig. 4 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
As shown in fig. 4, the electronic device 400 includes a display 410 and a processor 420. Wherein:
the processor 420 is configured to perform the aforementioned operation S210: obtaining a trigger event; operation S220: determining a status icon corresponding to the trigger event, and operation S230: and controlling to display a state icon in a designated area on a main interface (home page) occupied by the designated component, wherein the designated component is used for displaying part of the content of the application program corresponding to the designated component, and if the triggering operation aiming at the designated component is obtained, starting the application program corresponding to the designated component.
Embodiments of the present disclosure display the status icons of the status bar on the widget because the bang causes the taskbar to be compressed. In another embodiment of the present disclosure, if the display of the status bar is located on a notched side of the screen of the electronic device, if the new status icon cannot be displayed in the default display area of the status bar (i.e., a first threshold of the number of status icons that can be carried by the default display area of the status bar is reached), the new status icon is displayed in the display area of the widget of the main interface, and if the display of the status bar is located on a non-notched full side of the screen of the electronic device, the new status icon is displayed in the default display area of the status bar if the new status icon is enlarged relative to the default display area of the status bar located on the notched side. If the display of the status bar is located on the full edge of the screen of the electronic device without a break. Then, the electronic device obtains a new status icon, and the enlarged default display area of the status bar still cannot be displayed (that is, a second threshold value of the number of status icons that can be carried by the default display area of the status bar is reached, and the second threshold value corresponds to the enlarged default display area of the status bar), and then the new status icon is loaded on the expansion bar of the status bar, and the expansion bar of the status bar can be displayed only by a user through a gesture operation. Of course, at this time, the new status icon may be displayed in the display area of the widget of the main interface.
FIG. 5 schematically shows a block diagram of a computer system according to an embodiment of the disclosure.
As shown in fig. 5, computer system 500 includes display screen 410, processor 420, and computer-readable storage medium 510. The computer system 500 may perform the methods described above with reference to fig. 2, 3A-3F.
In particular, processor 420 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 420 may also include on-board memory for caching purposes. Processor 420 may be a single processing unit or a plurality of processing units for performing different actions of the method flows described with reference to fig. 2, 3A-3F in accordance with embodiments of the present disclosure.
Computer-readable storage medium 510 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The computer-readable storage medium 510 may include a computer program 511, which computer program 511 may include code/computer-executable instructions that, when executed by the processor 420, cause the processor 420 to perform a method flow such as that described above in connection with fig. 2, 3A-3F, and any variations thereof.
The computer program 511 may be configured with computer program code, for example, comprising computer program modules. For example, in an example embodiment, code in computer program 511 may include one or more program modules, including for example 511A, modules 511B, … …. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, and when these program modules are executed by the processor 420, the processor 420 may execute the method flows described above in conjunction with fig. 2 and fig. 3A to 3F, for example, and any variation thereof.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (10)

1. A method of processing, comprising:
obtaining a trigger event;
determining a status icon corresponding to the trigger event; and
and controlling to display the state icon in a designated area on a main interface occupied by a designated component, wherein the designated component is used for displaying part of the content of the application program corresponding to the designated component, and the main interface is a home page, and if the triggering operation aiming at the designated component is obtained, the application program corresponding to the designated component is started.
2. The method of claim 1, wherein:
the state icon is only used for displaying the system state corresponding to the state icon;
or
Obtaining a trigger operation for the specified component, and invoking the application program corresponding to the specified component comprises:
determining a trigger point corresponding to the trigger operation; and
and when the trigger point belongs to the designated area of the designated component, starting the application program corresponding to the designated component.
3. The method of claim 2, wherein the controlling displaying the status icon in a designated area on the main interface occupied by a designated component comprises:
determining the number of state icons currently carried by a system state bar; and
and under the condition that the number of the state icons currently carried by the system state bar reaches a threshold value, executing the control to display the state icons in a designated area on a main interface occupied by a designated component.
4. The method of claim 2, wherein the controlling displaying the status icon in a designated area on the main interface occupied by a designated component comprises:
and under the condition that the trigger event meets a preset rule, executing the control to display the state icon in a designated area on the main interface occupied by the designated component.
5. The method of claim 4, wherein:
the triggering event is a connection event;
the predetermined rule is to connect wirelessly.
6. The method of claim 2, wherein the method further comprises:
determining whether the main interface carries a first component; and
and in the case that the main interface bears a first component, taking the first component as a designated component.
7. The method of claim 2, wherein the controlling displaying the status icon in a designated area on the main interface occupied by a designated component comprises:
determining whether a designated component is in a use state, wherein if the designated component is in the use state, the designated component is carried on the main interface; and
and under the condition that the designated component is in the use state, controlling to display the state icon in a designated area on the main interface occupied by the designated component.
8. The method of claim 2, wherein the method further comprises:
obtaining a delete operation for the specified component; and
and responding to the deletion operation, controlling a system status bar to bear the status icon corresponding to the trigger event, and deleting the specified component.
9. The method of claim 2, wherein the controlling displaying the status icon in a designated area on the main interface occupied by a designated component comprises:
obtaining a device state of the electronic device; and
and under the condition that the equipment state of the electronic equipment is a first equipment state, controlling to display the state icon in a designated area on a main interface occupied by a designated component, wherein if the electronic equipment is in the first equipment state, a system state bar corresponds to a first edge of a display screen of the electronic equipment, and the first edge of the display screen is provided with a notch.
10. An electronic device, comprising:
a display screen; and
the processor is used for obtaining a trigger event, determining a state icon corresponding to the trigger event and controlling the state icon to be displayed in a designated area on a main interface occupied by a designated component, wherein the designated component is used for displaying partial content of an application program corresponding to the designated component, and if the trigger operation aiming at the designated component is obtained, the application program corresponding to the designated component is started.
CN201811212149.0A 2018-10-17 2018-10-17 Processing method and electronic equipment Active CN109407926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811212149.0A CN109407926B (en) 2018-10-17 2018-10-17 Processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811212149.0A CN109407926B (en) 2018-10-17 2018-10-17 Processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN109407926A CN109407926A (en) 2019-03-01
CN109407926B true CN109407926B (en) 2021-09-14

Family

ID=65468333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811212149.0A Active CN109407926B (en) 2018-10-17 2018-10-17 Processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109407926B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753153A (en) * 2019-09-04 2020-02-04 深圳传音控股股份有限公司 Terminal control method, terminal and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693120A (en) * 2011-03-21 2012-09-26 联想(北京)有限公司 Widget display method, display device and electronic equipment
CN103984464A (en) * 2013-02-07 2014-08-13 腾讯科技(深圳)有限公司 Display method and device of mobile terminal shortcut
CN104239188A (en) * 2013-06-09 2014-12-24 腾讯科技(深圳)有限公司 Method and device for displaying state information
CN106293315A (en) * 2015-06-03 2017-01-04 腾讯科技(深圳)有限公司 The method and apparatus that floating frame shows
CN106445392A (en) * 2016-10-31 2017-02-22 维沃移动通信有限公司 Operating method of status bar icon and mobile terminal
KR20170046459A (en) * 2015-10-21 2017-05-02 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN107846501A (en) * 2016-09-20 2018-03-27 三星电子株式会社 Electronic installation and its operating method
CN108650412A (en) * 2018-04-25 2018-10-12 北京小米移动软件有限公司 A kind of display methods, display device and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080276170A1 (en) * 2007-02-06 2008-11-06 Access Systems Americas, Inc. System and method for generating and arranging status gadgets in a small display area
US20110061019A1 (en) * 2009-09-10 2011-03-10 Motorola, Inc. Portable Electronic Device for Providing a Visual Representation of a Widget
CN104133760A (en) * 2014-08-14 2014-11-05 北京锐美无限科技发展有限公司 Battery state display method and device
CN105320405A (en) * 2015-11-06 2016-02-10 深圳市金立通信设备有限公司 Icon display method and terminal
CN105979080A (en) * 2016-04-29 2016-09-28 努比亚技术有限公司 Application state display device, method and terminal
CN106201189A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Widget display packing, device and electronic equipment
CN106445345B (en) * 2016-09-30 2019-06-28 北京金山安全软件有限公司 Suspension window display method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693120A (en) * 2011-03-21 2012-09-26 联想(北京)有限公司 Widget display method, display device and electronic equipment
CN103984464A (en) * 2013-02-07 2014-08-13 腾讯科技(深圳)有限公司 Display method and device of mobile terminal shortcut
CN104239188A (en) * 2013-06-09 2014-12-24 腾讯科技(深圳)有限公司 Method and device for displaying state information
CN106293315A (en) * 2015-06-03 2017-01-04 腾讯科技(深圳)有限公司 The method and apparatus that floating frame shows
KR20170046459A (en) * 2015-10-21 2017-05-02 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN107846501A (en) * 2016-09-20 2018-03-27 三星电子株式会社 Electronic installation and its operating method
CN106445392A (en) * 2016-10-31 2017-02-22 维沃移动通信有限公司 Operating method of status bar icon and mobile terminal
CN108650412A (en) * 2018-04-25 2018-10-12 北京小米移动软件有限公司 A kind of display methods, display device and computer readable storage medium

Also Published As

Publication number Publication date
CN109407926A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US10853979B2 (en) Electronic device and method for displaying screen thereof
KR102571369B1 (en) Display control method, storage medium and electronic device for controlling the display
KR101457632B1 (en) Mobile electronic device having program notification function and program notification method thereof
CN109992263B (en) Method and device for executing visual programming
EP2991327B1 (en) Electronic device and method of providing notification by electronic device
CN107852527B (en) Method of controlling sharing of video and electronic device adapted to the method
US10635270B2 (en) Method and apparatus for configuring home screen of device
EP3008559B1 (en) Method and apparatus for providing graphic user interface
KR102429740B1 (en) Method and apparatus for precessing touch event
US20150212691A1 (en) Method and apparatus for desktop management
EP3691255A1 (en) Method for playing multiple videos on mobile terminal, mobile terminal, and readable storage medium
US11409421B2 (en) Object processing method and terminal device
US20160046025A1 (en) Robot service cooperation system, platform and method
CN109923507A (en) Multiple free windows are managed in notification bar drop-down menu
CN109960504B (en) Object switching method based on visual programming, interface display method and device
CN108646961B (en) Management method and device for tasks to be handled and storage medium
KR20170106822A (en) Display device with multiple display surface and method for operating thereof
EP4224299A1 (en) Menu display method and apparatus, electronic device, and storage medium
US20170031591A1 (en) Screen controlling method and electronic device for supporting the same
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
KR20180081231A (en) Method for sharing data and an electronic device thereof
CN109407926B (en) Processing method and electronic equipment
CN105549809B (en) Method and apparatus for notifying content change
CN110457032B (en) Data object information interface generation and display method and device
US20150293888A1 (en) Expandable Application Representation, Milestones, and Storylines

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant