CN115599267A - Component display method, device, electronic equipment and readable storage medium - Google Patents

Component display method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115599267A
CN115599267A CN202211323226.6A CN202211323226A CN115599267A CN 115599267 A CN115599267 A CN 115599267A CN 202211323226 A CN202211323226 A CN 202211323226A CN 115599267 A CN115599267 A CN 115599267A
Authority
CN
China
Prior art keywords
task
component
display
area
target
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.)
Pending
Application number
CN202211323226.6A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211323226.6A priority Critical patent/CN115599267A/en
Publication of CN115599267A publication Critical patent/CN115599267A/en
Pending legal-status Critical Current

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

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

Abstract

The application relates to the field of electronic equipment, and provides a component display method, a device, electronic equipment and a readable storage medium, wherein the component display method comprises the following steps: displaying a first component of a first application in a first area, wherein the display content of the first component is determined according to a target task in the first application, and the target task is provided with a task arrival node; under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition, switching the first assembly from the first area to the second area for display; wherein the second area is more pronounced than the first area.

Description

Component display method, device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a component display method and device, electronic equipment and a readable storage medium.
Background
In the related art, after a user finishes ordering a take-out or express delivery through an application program of a mobile phone, or sets a schedule, if the user wants to check specific information of the take-out, the express delivery or the schedule, the user needs to start a corresponding application program first and can check the information only by selecting a corresponding interface, and the operation is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a component display method, a component display device, electronic equipment and a readable storage medium, which can avoid the complex operation of viewing information on the electronic equipment.
In a first aspect, an embodiment of the present application provides a component display method, including:
displaying a first component of a first application in a first area, wherein the display content of the first component is determined according to a target task in the first application, and the target task is provided with a task arrival node;
under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition, switching the first assembly from the first area to the second area for display;
wherein the second region is more pronounced than the first region.
In a second aspect, an embodiment of the present application provides a component display device, including:
the first display module is used for displaying a first component of the first application in a first area, the display content of the first component is determined according to a target task in the first application, and the target task is provided with a task arrival node;
the switching module is used for switching the first assembly from the first area to the second area for display under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition;
wherein the second region is more pronounced than the first region.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the component display method as provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the component display method as provided in the first aspect.
In a fifth aspect, the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the component display method as provided in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the steps of the component display method as provided in the first aspect.
In an embodiment of the present application, a first component of a first application is displayed in a first area of an electronic device, where display content in the first component is determined by a target task of the first application, the target task having an arrival node, for example, a time-dependent task: travel tasks, meeting tasks or drama pursuits tasks, etc., and for example, tasks related to geographical locations: take-out task or express delivery task etc. and then can show corresponding information on first subassembly, the user need not to start first application just can look over corresponding information, reduces the loaded down with trivial details degree of the operation of looking over the information for the process that the user looked over the information is more convenient.
And, in the case that the difference between the current task node of the target task and the task arrival node meets the display switching condition, the display position of the first component is switched from the first area to the second area, that is, the first component is switched from the first area to the second area for display, the degree of the second area on the screen of the electronic device is higher than the degree of the first area on the screen of the electronic device, so that a relatively urgent state can be reached at the current task node of the target task, the degree of the display of the first component is improved, the user can easily perceive the first component, and the effect of reminding the user is achieved.
Drawings
FIG. 1 shows a flow diagram of a component display method according to an embodiment of the application;
fig. 2 is a block diagram showing a structure of a component display apparatus according to an embodiment of the present application;
FIG. 3 is a diagram illustrating components on an electronic device displayed on a second screen according to an embodiment of the application;
FIG. 4 shows a schematic diagram of components on an electronic device displayed in a home screen according to an embodiment of the application;
FIG. 5 is a schematic diagram showing components on an electronic device displayed on a lock screen according to an embodiment of the application;
FIG. 6 is a diagram illustrating components on an electronic device displaying a message screen according to an embodiment of the application;
FIG. 7 is a diagram illustrating components displayed in user-specified preset bits on an electronic device according to an embodiment of the application;
FIG. 8 shows a block diagram of an electronic device according to an embodiment of the application;
fig. 9 shows a hardware structure diagram of an electronic device implementing an embodiment of the present application.
Wherein, the correspondence between the reference numbers and the part names in fig. 3 to 7 is:
310 second screen, 320 main screen, 330 lock screen, 340 screen stop screen, 350 first component.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in other sequences than those illustrated or otherwise described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense to distinguish one object from another, and not necessarily to limit the number of objects, e.g., the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The component display method, the component display apparatus, the electronic device, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In some embodiments of the present application, a component display method is provided for an electronic device, and fig. 1 shows a flowchart of a component display method according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step 102: displaying a first component of a first application in a first area, wherein the display content of the first component is determined according to a target task in the first application, and the target task is provided with a task arrival node;
step 104: under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition, switching the first assembly from the first area to the second area for display; wherein the second region is more pronounced than the first region.
In the embodiment of the application, the first component of the first application is displayed in the first area of the electronic device, wherein the display content in the first component is determined by the target task of the first application, the target task has a reaching node, and then corresponding information can be displayed on the first component, so that a user can view the corresponding information without starting the first application, the complexity of the operation of viewing the information is reduced, and the process of viewing the information by the user is more convenient.
And, in the case that the difference between the current task node of the target task and the task arrival node meets the display switching condition, the display position of the first component is switched from the first area to the second area, that is, the first component is switched from the first area to the second area for display, and the degree of the second area on the screen of the electronic device is higher than the degree of the first area on the screen of the electronic device, so that when the current task node of the target task reaches a relatively urgent state, the degree of the first component is improved, so that the user can more easily perceive the first component, thereby playing a role in reminding the user. A component is a style of icon that displays information in one or more locations on the desktop of an electronic device.
The electronic device may display the first component in the first area in response to an input from a user, and the specific process includes: the user touches a screen of the electronic equipment, displays the component in the first area, operates the component again, and associates the component with the first application to form the first component, so that the information of the target task in the first application can be displayed on the first component; or, the user touches a screen of the electronic device to operate in the first application, and the electronic device generates the first component in the first area according to the first application, so that information of the target task in the first application can be displayed on the first component.
Alternatively, the first application may automatically generate the first component in the first area of the electronic device when generating the target task.
Specifically, the first application may be a take-away application, an express application, a trip application, a video application, a schedule application, or the like.
The target tasks may be broadly classified into time-related tasks, such as a travel task, a meeting task, a drama task, and the like, and geographical location-related tasks, such as a takeout task, an express task, a navigation task, and the like.
Task arrival nodes may also be broadly classified into time-related task arrival nodes and geographic location-related task arrival nodes, and the time-related task arrival nodes may correspond to travel times, such as: departure time or high-speed railway departure time, corresponding to a conference task may be a conference time, for example: the start time and the end time of the conference, etc., and the episode update time, etc. can be corresponding to the episode chase task; the task reaching node related to the geographic position may be a takeaway delivery designated address corresponding to the takeaway task, may be an express delivery designated address corresponding to the express task, and may be a navigation destination address corresponding to the navigation task.
Wherein the first area may be an initial display position of the first component.
In particular, the display interface may be graded by the apparent degree of the different regions, the obvious degree effectively reaches and can be that the screen is locked to fourth screen-third screen-second screen-main screen-lock screen-rest screen. The second screen may be a screen after the main screen is turned over once, for example: negative one screen flipping to the left, or a second screen flipping to the right, and the third screen may be the screen after the main screen has flipped twice, for example: negative two screens turning to the left, or a third screen turning to the right, the fourth screen may be the screen after the main screen has been turned three times, for example: a negative three screens flipping to the left, or a fourth screen flipping to the right.
If the first area is the fourth screen, the second area is any one of the third screen, the second screen, the main screen, the screen locking screen and the screen displaying screen, and if the first area is the second screen, the second area is any one of the main screen, the screen locking screen and the screen displaying screen.
Of course, the first area and the second area may be different positions under the same screen, for example: the first area is the middle position of the main screen, and the second area is the bottom position of the main screen, and the like.
The above first area and second area may be system defined or customized by a user. Specifically, the user may set a second area on the display interface of the electronic device, for example: the user sets the second area at the lower position of the main screen, and then under the condition that the difference between the current task node of the target task and the task arrival node meets the display switching condition, the first assemblies are displayed in the second area, and if the target tasks corresponding to the first assemblies all meet the display switching condition, the first assemblies are all displayed in the second area, that is, the user can set a first assembly used for displaying that all the target tasks meet the display switching condition on the display interface of the electronic equipment, and then the first assemblies corresponding to the target tasks in a relatively urgent state are all displayed in the second area set by the user. Likewise, the specific location of the first area may also be user-set, for example: the user sets the first area at the upper position of the main screen, and then when the first component is generated, the first area is displayed in the electronic equipment, and if the number of the first components is multiple, when the multiple first components are generated, the first area is displayed in the electronic equipment.
And, the display content on the first component may be: the distance (2 km, 500m or 1 m) and the state (in production, meal has been taken, rider has taken meal, on delivery route or delivery) between the take-out and take-out delivery designated addresses, or the distance and the state between the courier and take-out delivery designated addresses may be replaced with a picture showing the take-out placement position taken by the take-out on the take-out assembly, which is automatically displayed on the folding screen and the take-out assembly. Or the display content on the first component may be: the status of the flight (optional, in-flight or boarding), also shows the critical time node of the flight (also 5min finish boarding, also 30s take-off), etc.
As a possible implementation manner, the target task is a delivery task of the target delivery object, the task arrival node is a target delivery object arrival target delivery position, and the current task node is a current delivery position of the target delivery object; and under the condition that the distance between the current delivery position of the target delivery object and the target delivery position is smaller than a preset distance threshold value, judging that the difference between the current task node and the task arrival node of the target task meets the display switching condition.
Specifically, the target task may be a delivery task that is a target delivery object, such as: take-away tasks and express delivery tasks, where the task arrival node is a target delivery object arriving at a target delivery location, for example: the take-out to take-out delivery designated address and the express delivery to express delivery designated address, and the current task node may be the current delivery location of the target delivery object, for example: the current location of take-out and express, etc.
And then under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition, the method specifically comprises the following steps: and judging the size relation between the distance between the current distribution position of the target distribution object and the target distribution position and a preset distance threshold, judging that the difference between the current task node of the target task and the task arrival node meets a display switching condition under the condition that the distance between the current distribution position of the target distribution object and the target distribution position is smaller than the preset distance threshold, and switching the limiting position of the first component on the electronic equipment from a first area to a second area.
That is, for a task related to a geographical position, whether the display switching condition is satisfied is determined by a distance between the current position and the specified position.
The preset distance threshold may be user-defined or system-defined for the electronic device.
For example: if the target task is a takeaway task, the task arrival node is a takeaway delivery designated address, the preset distance threshold value can be 0.5km, then when the takeaway task of the first application is generated, a first component is generated and displayed in a first area, and if the distance between the takeaway and takeaway delivery designated addresses is less than 0.5km, the first component is displayed in the first area and switched to be displayed in a second area.
Similarly, if the target task is an express task, the task arrival node is an express delivery destination address, the preset distance threshold value may be 1km, and then when the express task of the first application is generated (the generation may be order generation or generation that express enters delivery), a first component is generated and displayed in the first area, and if the distance between the express and the express delivery destination address is less than 1km, the first component is switched from display in the first area to display in the second area.
As a possible implementation manner, the target task is a schedule task of the target schedule object, the task arrival node is the schedule start time of the target schedule object, and the current task node is the current time; and under the condition that the difference value between the current time and the schedule starting time is smaller than a preset time threshold, judging that the difference between the current task node of the target task and the task arrival node meets the display switching condition.
Specifically, the target task may be a calendar task of a target calendar object, such as: trip tasks, meeting tasks and episode tasks, the task arrival node is the start time of the schedule of the target schedule object, for example: the departure time of the fan, the departure time of the high-speed rail, the conference start time, the episode update time and the like, and the current task node may be the current time.
And then under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition, the method specifically comprises the following steps: and judging the size relation between the difference between the current time and the schedule starting time and a preset time threshold, and under the condition that the difference between the current time and the schedule starting time is smaller than the preset time threshold, judging that the difference between the current task node and the task arriving node of the target task meets the display switching condition, and at the moment, switching the limiting position of the first component on the electronic equipment from the first area to the second area.
That is, for the time-related task, whether the display switching condition is satisfied is determined by a time difference between the current time and the schedule start time.
The preset time threshold may be user-defined or system-defined for the electronic device.
For example: if the target task is a travel task, the task arrival node is the departure time of a high-speed rail or an airplane, the preset time threshold value can be 2 hours, then when the travel task of the first application is generated, the first component is generated and displayed in the first area, and if the time difference between the current time and the departure time of the high-speed rail or the airplane is smaller than 2 hours, the first component is displayed in the first area and is switched to be displayed in the second area.
Similarly, if the target task is a conference task, the task arrival node is conference start time, the preset time threshold can be 1 hour, then when the conference task of the first application is generated, the first component is generated and displayed in the first area, and if the time difference between the current time and the conference start time is less than 1 hour, the first component is switched from display in the first area to display in the second area.
Similarly, if the target task is an episode updating task, the task arrival node is episode updating time of the conference, the preset time threshold may be 1 hour, and then when the episode updating task of the first application is generated, the first component is generated and displayed in the first area, and if the time difference between the current time and the episode updating time is less than 1 hour, the first component is switched from the display in the first area to the display in the second area.
As a possible embodiment, the display switching condition is a first condition; the method further comprises the following steps: under the condition that the difference between the current task node of the target task and the task arrival node meets a second condition, switching the first assembly from the second area to the third area for display; wherein the third region is more pronounced than the second region.
Specifically, the display switching condition is a first condition, that is, when a difference between a current task node of the target task and a task arrival node satisfies the first condition, the method switches the first component from the first area to the second area for display, and further includes, after switching the first component from the first area to the second area for display: under the condition that the difference between the current task node of the target task and the task arrival node meets the second condition, the display position of the first assembly is switched from the second area to the third area, namely the first assembly is switched from the second area to the third area for displaying, in addition, the obvious degree of the third area on the screen of the electronic equipment is higher than that of the second area on the screen of the electronic equipment, and further, when the current task node of the target task reaches a more urgent state, the display obvious degree of the first assembly is further improved, so that the user can more easily perceive the first assembly, and the effect of reminding the user is achieved.
Further, it may be determined that a difference between the current task node and the task arrival node of the target task satisfies a third condition, a fourth condition, a fifth condition, or the like, and it is determined that the first component is displayed in a fourth area, a fifth area, a sixth area, or the like, where an apparent degree of the sixth area is greater than an apparent degree of the fifth area, an apparent degree of the fifth area is greater than an apparent degree of the fourth area, and an apparent degree of the fourth area is greater than an apparent degree of the third area.
The target task is specifically a conference task as an example for explanation.
The conference start time is 10:00, the first condition is that the difference between the current time and the conference start time is less than 3 hours, the second condition is that the difference between the current time and the conference start time is less than 2 hours, and the third condition is that the difference between the current time and the conference start time is less than 1 hour.
Specifically, as shown in fig. 3, after the first application sets a conference task, a first component 350 is generated and displayed on the second screen 310, where the current time is 6:00, and 10: the time difference between 00 is 4 hours, greater than 3 hours, and the first component 350 remains displayed on the second screen 310.
As shown in fig. 4, the current time is 7:30, and 10: the time difference between 00 is 2.5 hours, less than 3 hours, and the first component 350 is displayed by the second screen 310 and is switched to be displayed by the main screen 320.
As shown in fig. 5, the current time is 8:30, and 10: the time difference between 00 is 1.5 hours, less than 2 hours, and the first component 350 is displayed by the main screen 320 and switched to be displayed by the lock screen 330.
As shown in fig. 6, the current time is 9:30, and 10: the time difference between 00 is 0.5 hours, less than 1 hour, and the first component 350 is displayed by the lock screen 330 and switched to the snooze screen 340.
Alternatively, the conference start time is 10:00, the first condition is that the difference between the current time and the conference start time is less than 2 hours, and the second condition is that the difference between the current time and the conference start time is less than 1 hour.
After the first application sets a conference task, generating a first component, displaying the first component at the upper position of the main screen, and setting the current time to be 7:00, and 10: the time difference between 00 is 3 hours, more than 2 hours, and the first component remains displayed in the upper position of the main screen.
The current time is 8:30, and 10: the time difference between 00 is 1.5 hours, less than 2 hours, and the first component is displayed by the upper position of the main screen and switched to the middle position of the main screen.
The current time is 9:30, and 10: the time difference between 00 is 0.5 hour, less than 1 hour, and the first component is displayed by the middle position of the main screen and is switched to the lower position of the main screen.
The target task is specifically a takeout task as an example for explanation.
The specified address of the takeaway delivery is a user-set address, the distance between the current takeaway position and the user-set address is less than 2km under the first condition, and the difference between the current time and the conference start time is less than 1km under the second condition.
Specifically, after the first application generates the takeaway order, the first component is generated and displayed on the main screen, and when the distance between the takeaway current position and the user-set address is 3km, which is greater than 2km, the first component remains displayed on the main screen.
When the distance between the take-away current location and the user-set address is 1.5km, which is less than 2km, the first component switches from the main screen display to the lock screen display.
And when the distance between the current takeout position and the address set by the user is 0.5km, the distance is less than 1km, and the first component is switched from screen locking display to screen displaying.
The target task is specifically a navigation task.
The navigation destination address is a user-set address, the first condition is that the distance between the current position of the user and the user-set address is less than 20km, the second condition is that the distance between the current position of the user and the user-set address is less than 16km, the third condition is that the distance between the current position of the user and the user-set address is less than 12km, the fourth condition is that the distance between the current position of the user and the user-set address is less than 8km, and the fifth condition is that the distance between the current position of the user and the user-set address is less than 4km.
And after the first application generates the navigation task, generating a first component and displaying the first component on a fourth screen, wherein when the distance between the current position of the user and the address set by the user is 22km, the distance is more than 20km, and the first component is kept on the fourth screen for displaying.
And when the distance between the current position of the user and the address set by the user is 18km, the distance is less than 20km, and the first component is switched from the fourth screen display to the third screen display.
And when the distance between the current position of the user and the address set by the user is 15km, the distance is less than 16km, and the first component is switched from the third screen display to the second screen display.
When the distance between the current position of the user and the address set by the user is 10km, the distance is less than 12km, and the first component is switched to the main screen display from the second screen display.
And when the distance between the current position of the user and the address set by the user is 7km, the distance is less than 8km, and the display of the first assembly is switched from the main screen display to the screen locking display.
As shown in fig. 7, when the distance between the current location of the user and the address set by the user is 1km, which is less than 4km, the first component 350 is switched from the lock screen display to the information screen 340 display.
As a possible implementation, the display size of the first component in the second area is larger than the display size of the first component in the first area.
Specifically, the display size of the first assembly in the second area is larger than that of the first assembly in the first area, the obvious degree of the first assembly is improved on the display position, the display degree of the first assembly is also improved on the display size, the user can perceive the first assembly more easily, and the reminding effect of the user is improved.
Further, the display size of the first component in the third area is larger than the display size of the first component in the second area.
Specifically, the display size of the first assembly in the third area is larger than that of the first assembly in the second area, the obvious degree of the first assembly is improved on the display position, the display degree of the first assembly is also improved on the display size, the user can perceive the first assembly more easily, and the reminding effect of the user is improved.
As a possible implementation, the method further comprises: under the condition that a second component is displayed in a second area, determining the emergency degree of the first component according to the difference between the current task node and the task arrival node of the target task; according to the emergency degree of the first assembly and the emergency degree of the second assembly, respectively determining a first display size of the first assembly and a second display size of the second assembly; and displaying the first component and the second component in the second area according to the first display size and the second display size.
Specifically, if the second area simultaneously displays the first component and the second component, the first display size of the first component and the second display size of the second component are determined according to the emergency degree of the first component and the emergency degree of the second component, the first component is displayed in the second area according to the first display size, the second component is displayed in the second area according to the second display size, and then one component with a higher emergency degree is highlighted under the condition that a plurality of components are displayed in the second area, so that the user can be clearly reminded of which component is more urgent in the target task.
The urgency degree of the first assembly can be determined according to the difference between the current task node of the target task and the task arrival node, and similarly, the urgency degree of the second assembly is determined to be the same as the urgency degree of the first assembly.
When the first component and the second component are both time-related tasks, a first time difference between the current time of the first component and the schedule starting time and a second time difference between the current time of the second component and the schedule starting time can be determined, the first time difference and the second time difference are compared, the smaller component is judged to be higher in urgency, and the corresponding component is displayed in a larger display size.
In the case that the first component and the second component are both address-related tasks, a first distance between a current task node of the first component and the target delivery position and a second distance between the current task node of the second component and the target delivery position can be determined, and a smaller one is judged to be more urgent compared with the first distance and the second distance, so that the corresponding component is displayed in a larger display size.
In the case where one of the first and second components is a task related to time and the other is a task related to address, an urgency level may be set, the urgency levels of the first and second components may be determined respectively, and then the more urgent one may be displayed with a larger display size in comparison with the urgency level. For example: for time-related tasks, the level of urgency of tasks with time differences less than 15 minutes is level A, the level of urgency of tasks with time differences between 15 minutes and 30 minutes is level B, and the level of urgency of tasks with time differences between 30 minutes and 1 hour is level C; for the tasks related to the addresses, the level of urgency of the tasks with the distance less than 1km is A level, the level of urgency of the tasks with the distance less than 3km is B level, and the level of urgency of the tasks with the distance less than 5km is C level. Further, it is possible to determine that the corresponding component is displayed in a larger size in comparison with the degree of urgency. The level A has higher urgency degree than the level B, and the level B has higher urgency degree than the level C. For example, the classification of the urgency level may be in other forms, such as: converting the distance parameter into a time parameter according to the moving speed of the target, comparing the distance parameter with the time parameter, and the like.
The adjustment may be to increase more urgent components or to decrease less urgent components, or to both increase more urgent components and decrease less urgent components.
As a possible implementation, the target task has a task completion node, and the method further includes: and under the condition that the target task reaches the task completion node, canceling the display of the first component.
Specifically, the target task further has a task completion node, and when the target task reaches the task completion node, the display of the first component on the screen is canceled, that is, when the target task has been completed, the electronic device does not display the first component any more, so that a sufficient display position is provided for other tasks, and interference of invalid components to the user is reduced.
For example: the task completion node may be a take-out, express, meeting, airplane or high-speed rail arrival, etc.
In the module display method provided by the embodiment of the application, the execution main body can be a module display device. In the embodiment of the present application, an example in which a component display apparatus executes a component display method is taken as an example, and an apparatus of the component display method provided in the embodiment of the present application is described.
As shown in fig. 2, in some embodiments of the present application, the present application provides a component display apparatus 200 comprising: a first display module 202, configured to display a first component of a first application in a first area, where display content of the first component is determined according to a target task in the first application, and the target task has a task arrival node; the first switching module 204 is used for switching the first component from the first area to the second area for display under the condition that the difference between the current task node and the task arrival node of the target task meets the display switching condition; wherein the second area is more pronounced than the first area.
In the embodiment of the application, the first component of the first application is displayed in the first area of the electronic device, wherein the display content in the first component is determined by the target task of the first application, the target task has a reaching node, and then corresponding information can be displayed on the first component, so that a user can check the corresponding information without starting the first application, the complexity of the operation of checking the information is reduced, and the process of checking the information by the user is more convenient.
And, in the case that the difference between the current task node of the target task and the task arrival node meets the display switching condition, the display position of the first component is switched from the first area to the second area, that is, the first component is switched from the first area to the second area for display, and the degree of the second area on the screen of the electronic device is higher than the degree of the first area on the screen of the electronic device, so that when the current task node of the target task reaches a relatively urgent state, the degree of the first component is improved, so that the user can more easily perceive the first component, thereby playing a role in reminding the user. A component is a style of icon that displays information in one or more locations on the desktop of an electronic device.
The electronic device may display the first component in the first area in response to an input from a user, and the specific process includes: the user touches a screen of the electronic equipment, displays the component in the first area, operates the component again, and associates the component with the first application to form the first component, so that the information of the target task in the first application can be displayed on the first component; or, the user touches a screen of the electronic device to operate in the first application, and the electronic device generates the first component in the first area according to the first application, so that information of the target task in the first application can be displayed on the first component.
Alternatively, the first application may automatically generate the first component on the screen of the electronic device when generating the target task.
Specifically, the first application may be a take-away application, an express application, a trip application, a video application, a schedule application, and the like.
The target tasks may be broadly classified into time-related tasks, such as a travel task, a meeting task, a drama task, and the like, and geographical location-related tasks, such as a takeout task, an express task, a navigation task, and the like.
Task arrival nodes may also be broadly classified into time-related task arrival nodes and geographic location-related task arrival nodes, and the time-related task arrival nodes may correspond to travel times, such as: departure time or high-speed rail departure time, what corresponds to a conference task may be a conference time, for example: the start time and the end time of the conference, etc., and the episode update time, etc. can be corresponding to the episode tracing task; the task reaching node related to the geographic position may be a takeaway delivery designated address corresponding to the takeaway task, may be an express delivery designated address corresponding to the express task, and may be a navigation destination address corresponding to the navigation task.
The first area may be a non-protruding position on a display interface of the electronic device or an initial position of the first component.
In particular, the display interface may be graded by the degree of visibility of the different regions, the obvious degree can be effectively achieved by the fourth screen, the third screen, the second screen, the main screen, the screen locking screen and the screen saving screen. The second screen may be a screen after the main screen is turned over once, for example: negative one screen flipping to the left, or a second screen flipping to the right, and the third screen may be the screen after the main screen has flipped twice, for example: negative two screens turning to the left, or a third screen turning to the right, the fourth screen may be the screen after the main screen has been turned three times, for example: a negative three screens flipping to the left, or a fourth screen flipping to the right.
If the first area is the fourth screen, the second area is any one of the third screen, the second screen, the main screen, the screen locking screen and the screen displaying screen, and if the first area is the second screen, the second area is any one of the main screen, the screen locking screen and the screen displaying screen.
Of course, the first area and the second area may be different positions under the same screen, for example: the first area is the middle position of the main screen, and the second area is the bottom position of the main screen, and the like.
The above first area and second area may be system defined or customized by a user. Specifically, the user may set a second area on the display interface of the electronic device, for example: the user sets the second area at the lower position of the main screen, and then under the condition that the difference between the current task node of the target task and the task arrival node meets the display switching condition, the first assemblies are displayed in the second area, and if the target tasks corresponding to the first assemblies all meet the display switching condition, the first assemblies are all displayed in the second area, that is, the user can set a first assembly used for displaying that all the target tasks meet the display switching condition on the display interface of the electronic equipment, and then the first assemblies corresponding to the target tasks in a relatively urgent state are all displayed in the second area set by the user. Likewise, the specific location of the first area may also be user-set, for example: the user sets the first area at the upper position of the main screen, and then when the first component is generated, the first area is displayed in the electronic equipment, and if the number of the first components is multiple, when the multiple first components are generated, the first area is displayed in the electronic equipment.
And, the display content on the first component may be: the distance (2 km, 500m or 1 m) and the state (in production, meal has been taken, rider has taken meal, on delivery route or delivery) between the take-out and take-out delivery designated addresses, or the distance and the state between the courier and take-out delivery designated addresses may be replaced with a picture showing the take-out placement position taken by the take-out on the take-out assembly, which is automatically displayed on the folding screen and the take-out assembly. Or the display content on the first component may be: the status of the flight (optional, in-flight or boarding), also shows the critical time node of the flight (also 5min finish boarding, also 30s take-off), etc.
As a possible implementation manner, the target task is a delivery task of the target delivery object, the task arrival node is a target delivery position where the target delivery object arrives, and the current task node is a current delivery position of the target delivery object; the component display device further includes: the first judging module is used for judging that the difference between the current task node of the target task and the task arrival node meets the display switching condition under the condition that the distance between the current distribution position of the target distribution object and the target distribution position is smaller than a preset distance threshold.
As a possible implementation manner, the target task is a schedule task of the target schedule object, the task arrival node is a schedule start time of the target schedule object, and the current task node is a current time; the component display device further includes: and the second judging module is used for judging that the difference between the current task node and the task arrival node of the target task meets the display switching condition under the condition that the difference between the current time and the schedule starting time is smaller than a preset time threshold.
As a possible embodiment, the display switching condition is a first condition; the component display device further includes: the second switching module is used for switching the first component from the second area to the third area for display under the condition that the difference between the current task node of the target task and the task arrival node meets a second condition; wherein the third region is more pronounced than the second region.
As a possible implementation, the display size of the first component in the second area is larger than the display size of the first component in the first area.
As a possible embodiment, the component display apparatus further includes: the first determining module is used for determining the emergency degree of the first assembly according to the difference between the current task node and the task arrival node of the target task under the condition that the second assembly is displayed in the second area; the second determining module is used for respectively determining a first display size of the first component and a second display size of the second component according to the emergency degree of the first component and the emergency degree of the second component; and the second display module is used for displaying the first assembly and the second assembly in the second area according to the first display size and the second display size.
As a possible embodiment, the target task has a task completion node, and the component display apparatus further includes: and the canceling module is used for canceling and displaying the first component under the condition that the target task reaches the task completion node.
The component display apparatus in the embodiment of the present application may be an electronic device, and may also be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be an electronic device or may be a device other than an electronic device. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), an assistant, a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The component display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The component display device provided by the embodiment of the application can realize each process realized by the method embodiment, achieves the same technical effect, and is not repeated here to avoid repetition.
Fig. 8 shows a block diagram of the electronic device according to the embodiment of the present application, and as shown in fig. 8, the electronic device 800 includes a processor 802 and a memory 804, and a program or an instruction stored in the memory 804 and capable of running on the processor 802, where the program or the instruction is executed by the processor 802 to implement the processes of the method embodiments, and can achieve the same technical effects, and is not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The display unit 906 is configured to display a first component of the first application in the first area, where the display content of the first component is determined according to a target task in the first application, and the target task has a task arrival node.
The display unit 906 is configured to switch the first component from the first area to the second area for display when a difference between a current task node and a task arrival node of the target task satisfies a display switching condition; wherein the second region is more pronounced than the first region.
The processor 910 is configured to determine that a difference between a current task node of a target task and a task arrival node satisfies a display switching condition when a distance between a current distribution position of the target distribution object and the target distribution position is smaller than a preset distance threshold, where the target task is a distribution task of the target distribution object, the task arrival node is a target distribution position reached by the target distribution object, and the current task node is a current distribution position of the target distribution object.
The processor 910 is configured to determine that a difference between a current task node of the target task and a task arrival node satisfies a display switching condition when a difference between the current time and the schedule start time is smaller than a preset time threshold, where the target task is a schedule task of the target schedule object, the task arrival node is a schedule start time of the target schedule object, and the current task node is the current time.
The display unit 906 is configured to switch the first component from the second area to the third area for display when a difference between the current task node and the task arrival node of the target task satisfies a second condition; wherein the degree of significance of the third region is higher than that of the second region, and the display switching condition is the first condition.
The processor 910 is configured to control a display size of the first component in the second area to be larger than a display size of the first component in the first area.
The processor 910 is configured to determine the urgency level of the first component according to the difference between the current task node of the target task and the task arrival node in case that the second component is displayed in the second area.
The processor 910 is configured to determine a first display size of the first component and a second display size of the second component according to the urgency of the first component and the urgency of the second component, respectively.
The display unit 906 is configured to display the first component and the second component in the second area according to the first display size and the second display size.
Processor 910 is configured to dismiss the first component if the target task reaches the task completion node, the target task having the task completion node.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. A touch panel 9071, also called a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 909 may include volatile memory or nonvolatile memory, or the memory 909 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct bus RAM (DRRAM). The memory 909 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as computer Read-Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing component display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing embodiment of the component display method, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A component display method, comprising:
displaying a first component of a first application in a first area, wherein the display content of the first component is determined according to a target task in the first application, and the target task is provided with a task arrival node;
under the condition that the difference between the current task node of the target task and the task arrival node meets a display switching condition, switching the first component from the first area to a second area for display;
wherein the second region is more pronounced than the first region.
2. The component display method according to claim 1, wherein the target task is a delivery task of a target delivery object, the task arrival node is a target delivery location reached by the target delivery object, and the current task node is a current delivery location of the target delivery object;
and under the condition that the distance between the current delivery position of the target delivery object and the target delivery position is smaller than a preset distance threshold, judging that the difference between the current task node of the target task and the task arrival node meets the display switching condition.
3. The component display method according to claim 1, wherein the target task is a schedule task of a target schedule object, the task arrival node is a schedule start time of the target schedule object, and the current task node is a current time;
and under the condition that the difference value between the current time and the schedule starting time is smaller than a preset time threshold, judging that the difference between the current task node of the target task and the task arrival node meets the display switching condition.
4. The component display method according to claim 1, wherein the display switching condition is a first condition;
the method further comprises the following steps:
under the condition that the difference between the current task node of the target task and the task arrival node meets a second condition, switching the first assembly from the second area to a third area for display;
wherein the third region is more pronounced than the second region.
5. The component display method according to claim 1, wherein a display size of the first component in the second area is larger than a display size of the first component in the first area.
6. The component display method according to claim 1, further comprising:
under the condition that a second assembly is displayed in the second area, determining the emergency degree of the first assembly according to the difference between the current task node of the target task and the task arrival node;
according to the emergency degree of the first component and the emergency degree of the second component, respectively determining a first display size of the first component and a second display size of the second component;
displaying the first component and the second component in the second area according to the first display size and the second display size.
7. The component display method according to claim 1, wherein the target task has a task completion node;
the method further comprises the following steps:
and under the condition that the target task reaches the task completion node, canceling the display of the first component.
8. A component display apparatus, comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a first component of a first application in a first area, the display content of the first component is determined according to a target task in the first application, and the target task is provided with a task arrival node;
the first switching module is used for switching the first component from the first area to the second area for display under the condition that the difference between the current task node of the target task and the task arrival node meets a display switching condition;
wherein the second region is more pronounced than the first region.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the component display method of any of claims 1 to 7.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the component display method according to any one of claims 1 to 7.
CN202211323226.6A 2022-10-27 2022-10-27 Component display method, device, electronic equipment and readable storage medium Pending CN115599267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211323226.6A CN115599267A (en) 2022-10-27 2022-10-27 Component display method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211323226.6A CN115599267A (en) 2022-10-27 2022-10-27 Component display method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115599267A true CN115599267A (en) 2023-01-13

Family

ID=84851023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211323226.6A Pending CN115599267A (en) 2022-10-27 2022-10-27 Component display method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115599267A (en)

Similar Documents

Publication Publication Date Title
CN107230046B (en) Travel information prompting method and mobile terminal
CN112148174B (en) Application information display method and device and electronic equipment
US9170119B2 (en) Method and system for dynamically adapting user interfaces in vehicle navigation systems to minimize interaction complexity
CN112099685B (en) Notification message display control method and device, electronic equipment and readable storage medium
US9223468B2 (en) Display apparatus, display method and program
US10042035B2 (en) System and method for tile-based reduction of access point location information
CN104346047A (en) Icon arrangement processing method, device and terminal
US20210165702A1 (en) Memory crash prevention for a computing device
CN112148412A (en) Notification message display method and device and electronic equipment
US20110258555A1 (en) Systems and methods for interface management
CN115469785B (en) Timeline user interface
CN113325978B (en) Message display method and device and electronic equipment
CN110663052B (en) Computing system and computer-implemented method
CN112148169B (en) Identification display control method and device and electronic equipment
CN112764611A (en) Application program control method and device and electronic equipment
CN115599267A (en) Component display method, device, electronic equipment and readable storage medium
US20150227342A1 (en) Prioritize and sort for recently added contacts based on time and location
CN115576514A (en) Content display method and device, electronic equipment and readable storage medium
CN115729544A (en) Desktop component generation method and device, electronic equipment and readable storage medium
CN111813303B (en) Text processing method and device, electronic equipment and readable storage medium
US20180288168A1 (en) Managing user sessions based on contextual information
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN112148982A (en) Display method, display device and electronic equipment
CN113986081B (en) Reminding task creation method and device
CN114741143B (en) Notification display method and electronic equipment

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