CN109144650B - Display object management method and device, electronic equipment and computer storage medium - Google Patents

Display object management method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN109144650B
CN109144650B CN201810963193.9A CN201810963193A CN109144650B CN 109144650 B CN109144650 B CN 109144650B CN 201810963193 A CN201810963193 A CN 201810963193A CN 109144650 B CN109144650 B CN 109144650B
Authority
CN
China
Prior art keywords
display
display object
trigger
triggering
displayed
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
CN201810963193.9A
Other languages
Chinese (zh)
Other versions
CN109144650A (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.)
Lazas Network Technology Shanghai Co Ltd
Original Assignee
Lazas Network Technology Shanghai 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 Lazas Network Technology Shanghai Co Ltd filed Critical Lazas Network Technology Shanghai Co Ltd
Priority to CN201810963193.9A priority Critical patent/CN109144650B/en
Publication of CN109144650A publication Critical patent/CN109144650A/en
Application granted granted Critical
Publication of CN109144650B publication Critical patent/CN109144650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (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 embodiment of the disclosure discloses a display object management method, a display object management device, an electronic device and a computer storage medium, wherein the method comprises the following steps: acquiring a display object parameter set, wherein the display object parameter set comprises display priority information of the display object; generating a display object according to the display object parameter set; and responding to the detection of the display object triggering operation, and displaying the triggering display object according to the display priority information. The scheme can realize the purposes of batch setting of display object parameters and batch generation of display objects, further form a unified management and creation mechanism, save a lot of precious time of technicians, and greatly improve the working efficiency of the technicians.

Description

Display object management method and device, electronic equipment and computer storage medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a display object management method and apparatus, an electronic device, and a computer storage medium.
Background
With the development of internet technology, many applications and clients have come to be used, and in order to perfect the use functions and the human-computer interaction interfaces of the applications and the clients, technicians usually create many dialog boxes or pop-up windows for displaying prompt information to users or providing user interaction. At present, technicians usually set parameters one by one based on Dialog objects (Dialog objects) according to functions to be realized by each Dialog box or popup window when creating Dialog boxes or popup windows, and a unified management and creation mechanism is not provided, so that a lot of precious time of the technicians is wasted, and the working efficiency of the technicians is greatly reduced.
Disclosure of Invention
The embodiment of the disclosure provides a display object management method and device, electronic equipment and a computer storage medium.
In a first aspect, a display object management method is provided in an embodiment of the present disclosure.
Specifically, the display object management method includes:
acquiring a display object parameter set, wherein the display object parameter set comprises display priority information of the display object;
generating a display object according to the display object parameter set;
and responding to the detection of the display object triggering operation, and displaying the triggering display object according to the display priority information.
With reference to the first aspect, in a first implementation manner of the first aspect, the display object parameter set further includes one or more of the following parameters: the display method comprises the steps of display layers, display positions, display contents, display forms, display effects, display intervals, display attributes, display duration and display ending triggering conditions.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the generating a display object according to the display object parameter set includes:
creating an implementation object;
sending the display object parameter set to an implementation object;
and generating a display object according to the display object parameter set by utilizing the implementation object.
With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the displaying a trigger display object according to the display priority information in response to detecting a display object trigger operation includes:
sorting the display objects according to display priority;
and in response to detecting the display object triggering operation, displaying the triggering display objects according to the sorting sequence of the display objects.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the displaying, in response to detecting a display object trigger operation, a trigger display object according to a sorting order of the display objects includes:
in response to detecting a display object trigger operation, when the trigger display object is of a first priority and there is no display object being displayed, displaying the trigger display object;
in response to the detection of a display object triggering operation, when the triggering display object is of a first priority and a display object which is being displayed exists, covering the currently displayed display object and displaying the triggering display object;
in response to detecting a display object trigger operation, when the trigger display object is of a second priority and there is no display object being displayed, displaying the trigger display object;
and responding to the detection of the display object triggering operation, and when the triggering display object is in the second priority and the display object which is being displayed exists, displaying the triggering display object after the display of the currently displayed display object is finished.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the present disclosure further includes:
and after the display of the trigger display object is finished, the trigger display object is retained to wait for the next trigger or is deleted.
In a second aspect, an embodiment of the present disclosure provides a display object management apparatus.
Specifically, the display object management apparatus includes:
an obtaining module configured to obtain a display object parameter set, wherein the display object parameter set includes display priority information of the display object;
a generation module configured to generate a display object from the set of display object parameters;
a display module configured to display a trigger display object according to the display priority information in response to detecting a display object trigger operation.
With reference to the second aspect, in a first implementation manner of the second aspect, the display object parameter set further includes one or more of the following parameters: the display method comprises the steps of display layers, display positions, display contents, display forms, display effects, display intervals, display attributes, display duration and display ending triggering conditions.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the generating module includes:
a creation submodule configured to create an implementation object;
a transmitting sub-module configured to transmit the display object parameter set to an implementation object;
a generation submodule configured to generate a display object from the set of display object parameters using the implementation object.
With reference to the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the display module includes:
a sorting submodule configured to sort the display objects by display priority;
a first display sub-module configured to display, in response to detecting a display object trigger operation, a trigger display object according to the sorted order of the display objects.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, and the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the first display sub-module includes:
a second display submodule configured to, in response to detection of a display object trigger operation, display a trigger display object when the trigger display object is of a first priority and there is no display object being displayed;
the third display submodule is configured to respond to the detection of a display object triggering operation, when the triggering display object is in the first priority and a display object which is being displayed exists, the current display object is covered, and the triggering display object is displayed;
a fourth display submodule configured to, in response to detecting a display object trigger operation, display a trigger display object when the trigger display object is of a second priority and there is no display object being displayed;
and the fifth display submodule is configured to respond to the detection of the display object triggering operation, and when the triggering display object is in the second priority and the display object which is being displayed exists, the triggering display object is displayed after the display of the currently displayed display object is finished.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, and the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the present disclosure further includes:
and the processing module is configured to leave the trigger display object for waiting for the next trigger or delete after the trigger display object is displayed.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer instructions for supporting a display object management apparatus to execute the display object management method in the first aspect, and the processor is configured to execute the computer instructions stored in the memory. The display object management apparatus may further include a communication interface for the display object management apparatus to communicate with other devices or a communication network.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions for a display object management apparatus, where the computer instructions include computer instructions for executing the display object management method in the first aspect to the display object management apparatus.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the display object parameter set is set, the display objects are generated according to the display object parameter set, the display triggering display objects are displayed according to the display priority information in response to the fact that the display object triggering operation is detected, the purpose of setting the display object parameters in batches and generating the display objects in batches is achieved, then a unified management and creation mechanism is formed, a lot of precious time of technicians is saved, and the working efficiency of the technicians is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a display object management method according to an embodiment of the present disclosure;
FIG. 2 illustrates an application scenario diagram according to an embodiment of the present disclosure;
FIG. 3 shows a flowchart of step S102 of the display object management method according to the embodiment shown in FIG. 1;
FIG. 4 shows a flowchart of step S103 of the display object management method according to the embodiment shown in FIG. 1;
FIG. 5 illustrates a flowchart of step S402 of the display object management method according to the embodiment shown in FIG. 4;
FIG. 6 illustrates a flow diagram of a display object management method according to another embodiment of the present disclosure;
fig. 7 illustrates a block diagram of a display object management apparatus according to an embodiment of the present disclosure;
fig. 8 is a block diagram showing a configuration of a generation module 702 of the display object management apparatus according to the embodiment shown in fig. 7;
fig. 9 is a block diagram showing a configuration of a display module 703 of the display object management apparatus according to the embodiment shown in fig. 7;
fig. 10 is a block diagram showing the structure of a first display submodule 902 of the display object management apparatus according to the embodiment shown in fig. 9;
fig. 11 illustrates a block diagram of a display object management apparatus according to another embodiment of the present disclosure;
FIG. 12 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of a computer system suitable for implementing a display object management method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
According to the technical scheme provided by the embodiment of the disclosure, the display object parameter set is set, the display object is generated according to the display object parameter set, the display triggering object is displayed according to the display priority information in response to the detection of the display object triggering operation, so that the purposes of setting the display object parameters in batches and generating the display object in batches are achieved, a unified management and creation mechanism is further formed, a lot of precious time of technicians is saved, and the working efficiency of the technicians is greatly improved.
Fig. 1 illustrates a flowchart of a display object management method according to an embodiment of the present disclosure. As shown in fig. 1, the display object management method includes the following steps S101 to S103:
in step S101, a display object parameter set is acquired, where the display object parameter set includes display priority information of the display object;
in step S102, a display object is generated according to the display object parameter set;
in step S103, in response to detecting a display object triggering operation, a triggering display object is displayed according to the display priority information.
As mentioned above, with the development of internet technology, many applications and clients have come to be used, and in order to perfect the functions of the applications and clients and the human-computer interaction interface, technicians usually create many dialog boxes or pop-up windows for displaying prompts to users or providing user interaction. At present, technicians usually set parameters one by one based on a Dialog object when creating Dialog boxes or popup windows according to functions to be realized by each Dialog box or popup window, and a unified management and creation mechanism is not provided, so that a lot of precious time of the technicians is wasted, and the working efficiency of the technicians is greatly reduced.
In view of the above-mentioned drawbacks, in this embodiment, a display object management method is proposed that first acquires a display object parameter set; generating a display object according to the display object parameter set; and responding to the detection of the display object triggering operation, and displaying the triggering display object according to the display priority information. The technical scheme can achieve the purposes of setting the parameters of the display objects in batches and generating the display objects in batches, and form a unified management and creation mechanism, thereby saving much precious time of technicians and greatly improving the working efficiency of the technicians.
The display object refers to a display object such as a dialog box, a popup window, a floating window and the like.
Wherein the display object parameter set comprises display priority information of the display object and one or more of the following parameters: the display method comprises the steps of display layers, display positions, display contents, display forms, display effects, display intervals, display attributes, display duration and display ending triggering conditions. The display priority information of the display object refers to corresponding priority information set according to the display content of the display object, and the priority information may be expressed as multiple priority levels, for example, if the display content of the display object is an emergency prompt such as "system crash" or "network disconnection", the priority of the corresponding display object may be set to the highest level or the emergency level; if the display content of the display object is daily prompt or interactive content, the priority of the corresponding display object can be set to be a medium level or a common level. Wherein, the display layer refers to layer information to be displayed by the display object. The display position refers to a specific position of the display object on the display screen or the application interface, such as a pixel position of the display object on the display screen or the application interface, and the like. The display content refers to content to be presented to a user by the display object. The display form refers to what form the display object is shown to the user, such as text form or image form, dynamic form or static form, animated form or non-animated form, audio form or video form, and so on. The display effect refers to an effect presented when the display object is displayed to a user, such as a two-dimensional effect or a three-dimensional effect, a planar effect or a stereoscopic effect, and the like. The display interval refers to a distance between the display object and other objects, such as a distance between the display object and an edge of a display screen or an application interface, or a distance between the display object and an edge of other display objects being displayed, and the like. The display attribute refers to attribute information of the display object, and the attribute information includes information such as a size of the display object, a style of the display object, a size of the display text, a color of the display text, a style of the display text, a pattern of the display background, and a color of the display background. The display duration refers to a time during which the display object lasts from the start of display to the end of display. The display ending triggering condition refers to a triggering condition for ending the display of the display object, such as reaching a display duration, a user command trigger, a system command trigger, and the like, where the user command trigger may be, for example, a user operation command interaction such as determining, canceling, next step, exiting, and the like displayed on the display object, or a user command trigger occurring at a preset position within a display range of the display object or outside the display range of the display object.
Fig. 2 is a schematic view of an application scenario according to an embodiment of the present disclosure, in fig. 2, a popup is displayed in a middle area of a device main body, a main body portion of the popup is used for displaying corresponding main body content, and a determination button and a cancel button are disposed at a bottom of the main body portion.
The display object triggering operation includes a user triggering operation and a system triggering operation, where the user triggering operation may be, for example, a user click operation, a user drag operation, a user slide operation, a user gesture operation, and the like, the system triggering operation includes a system state detection triggering operation, a system information sensing triggering operation, and the like, and the system state detection triggering operation may be, for example, a system failure detection triggering operation, a network interruption detection triggering operation, an insufficient memory detection triggering operation, and the like.
In an optional implementation manner of this embodiment, the display object parameter set may be centrally and manually input by a technician, may be automatically and centrally acquired according to a preset parameter setting rule, and may also be acquired in other manners. In addition, the acquired display object parameter set may be stored in a memory in advance, or in a Holder object. Therefore, technicians can be separated from the tedious work of setting the parameters of the display objects one by one, and the working efficiency of the technicians is greatly improved.
In an optional implementation manner of this embodiment, as shown in fig. 3, the step S102, namely the step of generating the display object according to the display object parameter set, includes steps S301 to S303:
in step S301, an implementation object is created;
in step S302, the display object parameter set is sent to an implementation object;
in step S303, a display object is generated according to the display object parameter set by using the implementation object.
In order to generate display objects in batch and further improve the working efficiency of workers, in the embodiment, an implementation object is first created, where the implementation object refers to an object tool capable of implementing or generating a display object, such as a commonly used Dialog object and a nice Dialog object; then, a temporary storage display object parameter set is obtained from a memory or a Holder object; and finally, generating display objects in batches by using the realization objects according to the display object parameter set for subsequent display and calling.
When the display object is generated, an interactive interface with a technician can be set as a common visual interface, or a list-type interface or other operable interfaces, and can be specifically selected according to the requirements of practical application.
In an optional implementation manner of this embodiment, as shown in fig. 4, the step S103 of, in response to detecting a display object triggering operation, displaying a triggering display object according to the display priority information includes steps S401 to S402:
in step S401, the display objects are sorted according to display priority;
in step S402, in response to detecting a display object triggering operation, triggering display objects to be displayed according to the sorted order of the display objects.
In order to facilitate display of the display objects and further improve the display speed of the real objects, in this embodiment, the display objects are sorted according to priority information corresponding to the display objects, then when a display object trigger operation is detected, the corresponding trigger display objects are displayed according to the sorting order of the display objects, and if the priorities of the plurality of display objects are the same, the corresponding trigger display objects are displayed according to the trigger time.
When the display objects are sorted according to the display priority, the display objects can be sorted according to the display priority from high to low, or sorted according to the display priority from low to high, and the display objects can be specifically selected according to the requirements of practical application.
In an optional implementation manner of this embodiment, as shown in fig. 5, the step S402, that is, the step of displaying, in response to detecting the display object triggering operation, the triggering display objects according to the sorting order of the display objects includes steps S501 to S504:
in step S501, in response to detecting a display object trigger operation, when the trigger display object is of a first priority and there is no display object being displayed, displaying the trigger display object;
in step S502, in response to detecting a display object triggering operation, when the triggering display object is of a first priority and there is a display object being displayed, overlaying the currently displayed display object and displaying the triggering display object;
in step S503, in response to detecting the display object triggering operation, when the triggering display object is of the second priority and there is no display object being displayed, displaying the triggering display object;
in step S504, in response to detecting the display object triggering operation, when the triggering display object is of the second priority and there is a display object being displayed, the triggering display object is displayed after the display of the currently displayed display object is finished.
For the system operation, the number of display objects that generally need to be displayed is two or more, in order to reasonably display all display objects, so as not to cause the display of an urgent display object to be delayed, thereby bringing operational risks, in this embodiment, the display objects are displayed in a targeted manner according to the priorities of the display objects, for example, when a trigger display object is the highest priority, i.e., the first priority, if there is no display object currently being displayed, the trigger display object is directly displayed, and if there is a display object currently being displayed, the currently displayed display object is covered, and the trigger display object with the highest priority is displayed; and when the trigger display object is of a common priority, namely the second priority, if the display object which is currently displayed does not exist at the moment, directly displaying the trigger display object, and if the display object which is currently displayed exists, waiting for the display of the currently displayed display object to be finished and then displaying the trigger display object.
In an optional implementation manner of this embodiment, the method further includes a step of processing a display object that triggers display end, that is, as shown in fig. 6, the method includes steps S601 to S604:
in step S601, a display object parameter set is obtained, where the display object parameter set includes display priority information of the display object;
in step S602, a display object is generated according to the display object parameter set;
in step S603, in response to detecting a display object triggering operation, displaying a triggering display object according to the display priority information;
in step S604, after the display of the trigger display object is finished, the trigger display object is retained to wait for the next trigger or is deleted.
In this embodiment, after the display of the trigger display object is finished, the trigger display object may be processed according to the requirement of the actual application, for example, if the time for making or creating the next display object is saved, the trigger display object may be saved in a buffer to wait for the next trigger and call, and of course, in order to save the system storage space, the trigger display object that is finished in displaying may also be directly deleted, and the trigger display object is created when needed next time.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 7 illustrates a block diagram of a display object management apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 7, the display object management apparatus includes:
an obtaining module 701 configured to obtain a display object parameter set, where the display object parameter set includes display priority information of the display object;
a generating module 702 configured to generate a display object from the set of display object parameters;
a display module 703 configured to, in response to detecting a display object triggering operation, display a triggering display object according to the display priority information.
As mentioned above, with the development of internet technology, many applications and clients have come to be used, and in order to perfect the functions of the applications and clients and the human-computer interaction interface, technicians usually create many dialog boxes or pop-up windows for displaying prompts to users or providing user interaction. At present, technicians usually set parameters one by one based on a Dialog object when creating Dialog boxes or popup windows according to functions to be realized by each Dialog box or popup window, and a unified management and creation mechanism is not provided, so that a lot of precious time of the technicians is wasted, and the working efficiency of the technicians is greatly reduced.
In view of the above-mentioned drawbacks, in this embodiment, a display object management apparatus is proposed, which acquires a display object parameter set by an acquisition module 701; the generating module 702 generates a display object according to the set of display object parameters; the display module 703, in response to detecting the display object triggering operation, displays a triggering display object according to the display priority information. The technical scheme can achieve the purposes of setting the parameters of the display objects in batches and generating the display objects in batches, and form a unified management and creation mechanism, thereby saving much precious time of technicians and greatly improving the working efficiency of the technicians.
The display object refers to a display object such as a dialog box, a popup window, a floating window and the like.
Wherein the display object parameter set comprises display priority information of the display object and one or more of the following parameters: the display method comprises the steps of display layers, display positions, display contents, display forms, display effects, display intervals, display attributes, display duration and display ending triggering conditions. The display priority information of the display object refers to corresponding priority information set according to the display content of the display object, and the priority information may be expressed as multiple priority levels, for example, if the display content of the display object is an emergency prompt such as "system crash" or "network disconnection", the priority of the corresponding display object may be set to the highest level or the emergency level; if the display content of the display object is daily prompt or interactive content, the priority of the corresponding display object can be set to be a medium level or a common level. Wherein, the display layer refers to layer information to be displayed by the display object. The display position refers to a specific position of the display object on the display screen or the application interface, such as a pixel position of the display object on the display screen or the application interface, and the like. The display content refers to content to be presented to a user by the display object. The display form refers to what form the display object is shown to the user, such as text form or image form, dynamic form or static form, animated form or non-animated form, audio form or video form, and so on. The display effect refers to an effect presented when the display object is displayed to a user, such as a two-dimensional effect or a three-dimensional effect, a planar effect or a stereoscopic effect, and the like. The display interval refers to a distance between the display object and other objects, such as a distance between the display object and an edge of a display screen or an application interface, or a distance between the display object and an edge of other display objects being displayed, and the like. The display attribute refers to attribute information of the display object, and the attribute information includes information such as a size of the display object, a style of the display object, a size of the display text, a color of the display text, a style of the display text, a pattern of the display background, and a color of the display background. The display duration refers to a time during which the display object lasts from the start of display to the end of display. The display ending triggering condition refers to a triggering condition for ending the display of the display object, such as reaching a display duration, a user command trigger, a system command trigger, and the like, where the user command trigger may be, for example, a user operation command interaction such as determining, canceling, next step, exiting, and the like displayed on the display object, or a user command trigger occurring at a preset position within a display range of the display object or outside the display range of the display object.
Fig. 2 is a schematic view of an application scenario according to an embodiment of the present disclosure, in fig. 2, a popup is displayed in a middle area of a device main body, a main body portion of the popup is used for displaying corresponding main body content, and a determination button and a cancel button are disposed at a bottom of the main body portion.
The display object triggering operation includes a user triggering operation and a system triggering operation, where the user triggering operation may be, for example, a user click operation, a user drag operation, a user slide operation, a user gesture operation, and the like, the system triggering operation includes a system state detection triggering operation, a system information sensing triggering operation, and the like, and the system state detection triggering operation may be, for example, a system failure detection triggering operation, a network interruption detection triggering operation, an insufficient memory detection triggering operation, and the like.
In an optional implementation manner of this embodiment, the display object parameter set may be centrally and manually input by a technician, may be automatically and centrally acquired according to a preset parameter setting rule, and may also be acquired in other manners. In addition, the acquired display object parameter set may be stored in a memory in advance, or in a Holder object. Therefore, technicians can be separated from the tedious work of setting the parameters of the display objects one by one, and the working efficiency of the technicians is greatly improved.
In an optional implementation manner of this embodiment, as shown in fig. 8, the generating module 702 includes:
a creation sub-module 801 configured to create an implementation object;
a sending sub-module 802 configured to send the set of display object parameters to an implementation object;
a generating sub-module 803 configured to generate a display object from the set of display object parameters using the implementation object.
In order to generate display objects in batch and further improve the work efficiency of workers, in the present embodiment, an implementation object is created by the creating sub-module 801, where the implementation object refers to an object tool capable of implementing or generating a display object, such as a commonly used Dialog object and a nico object; the sending sub-module 802 obtains the temporarily stored display object parameter set from the memory or the Holder object; the generating sub-module 803 uses the implementation object to generate display objects in batch according to the display object parameter set for subsequent display and call.
When the display object is generated, an interactive interface with a technician can be set as a common visual interface, or a list-type interface or other operable interfaces, and can be specifically selected according to the requirements of practical application.
In an optional implementation manner of this embodiment, as shown in fig. 9, the display module 703 includes:
a sorting submodule 901 configured to sort the display objects according to display priority;
a first display submodule 902 configured to, in response to detecting a display object trigger operation, display trigger display objects according to the sorted order of the display objects.
In order to facilitate the display of the display objects and further improve the display speed of the real objects, in this embodiment, the sorting sub-module 901 sorts the display objects according to the priority information corresponding to the display objects, when the trigger operation of the display objects is detected, the first display sub-module 902 displays the corresponding trigger display objects according to the sorting order of the display objects, and if the priorities of the display objects are the same, the corresponding trigger display objects are displayed according to the trigger time.
When the display objects are sorted according to the display priority, the display objects can be sorted according to the display priority from high to low, or sorted according to the display priority from low to high, and the display objects can be specifically selected according to the requirements of practical application.
In an optional implementation manner of this embodiment, as shown in fig. 10, the first display sub-module 902 includes:
a second display submodule 1001 configured to, in response to detection of a display object trigger operation, display a trigger display object when the trigger display object is of a first priority and there is no display object being displayed;
a third display sub-module 1002, configured to, in response to detecting a display object trigger operation, when the trigger display object is of a first priority and there is a display object being displayed, overlay the currently displayed display object and display the trigger display object;
a fourth display submodule 1003 configured to, in response to detecting a display object trigger operation, display the trigger display object when the trigger display object is of the second priority and there is no display object being displayed;
a fifth display sub-module 1004 configured to, in response to detecting a display object trigger operation, when the trigger display object is of the second priority and there is a display object being displayed, display the trigger display object after the display of the currently displayed display object is finished.
For system operation, the number of display objects that generally need to be displayed is two or more, in order to reasonably display all display objects, so as not to cause the display objects that are urgent to be displayed later, thereby bringing operational risks, in this embodiment, the display objects are displayed in a targeted manner according to the priorities of the display objects, for example, when the trigger display object is the highest priority, i.e., the first priority, if there is no display object currently being displayed, the second display submodule 1001 directly displays the trigger display object, and if there is a display object currently being displayed, the third display submodule 1002 covers the display object currently being displayed, and displays the trigger display object with the highest priority; when the trigger display object is of a common priority, that is, the second priority, if there is no display object currently being displayed, the fourth display sub-module 1003 directly displays the trigger display object, and if there is a display object currently being displayed, the fifth display sub-module 1004 waits for the display of the currently displayed display object to be completed and then displays the trigger display object.
In an optional implementation manner of this embodiment, the apparatus further includes a portion for processing a display object that triggers display end, that is, as shown in fig. 11, the apparatus includes:
an obtaining module 1101 configured to obtain a display object parameter set, wherein the display object parameter set includes display priority information of the display object;
a generating module 1102 configured to generate a display object from the set of display object parameters;
a display module 1103 configured to display a trigger display object according to the display priority information in response to detecting a display object trigger operation;
and the processing module 1104 is configured to leave the trigger display object for waiting for the next trigger or deleting after the display of the trigger display object is finished.
In this embodiment, after the display of the trigger display object is finished, the processing module 1104 may process the trigger display object according to the requirement of the actual application, for example, if the time for making or creating the next display object is saved, the trigger display object may be stored in a buffer to wait for the next trigger and call, and of course, in order to save the system storage space, the deletion operation may also be directly performed on the trigger display object that is finished being displayed, and the trigger display object is created when needed next time.
The present disclosure also discloses an electronic device, fig. 12 shows a block diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 12, the electronic device 1200 includes a memory 1201 and a processor 1202; wherein the content of the first and second substances,
the memory 1201 is used to store one or more computer instructions, which are executed by the processor 1202 to implement any of the method steps described above.
Fig. 13 is a schematic structural diagram of a computer system suitable for implementing the display object management method according to the embodiment of the present disclosure.
As shown in fig. 13, the computer system 1300 includes a Central Processing Unit (CPU)1301 that can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)1302 or a program loaded from a storage portion 1308 into a Random Access Memory (RAM) 1303. In the RAM1303, various programs and data necessary for the operation of the system 1300 are also stored. The CPU1301, the ROM1302, and the RAM1303 are connected to each other via a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
The following components are connected to the I/O interface 1305: an input portion 1306 including a keyboard, a mouse, and the like; an output section 1307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1308 including a hard disk and the like; and a communication section 1309 including a network interface card such as a LAN card, a modem, or the like. The communication section 1309 performs communication processing via a network such as the internet. A drive 1310 is also connected to the I/O interface 1305 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1310 as necessary, so that a computer program read out therefrom is mounted into the storage portion 1308 as necessary.
In particular, the above described methods may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the display object management method. In such embodiments, the computer program may be downloaded and installed from a network via communications component 1309 and/or installed from removable media 1311.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (22)

1. A display object management method, comprising:
acquiring a display object parameter set, wherein the display object parameter set comprises display priority information of the display object;
generating display objects in batches according to the display object parameter set, wherein the batch generation of the display objects according to the display object parameter set comprises: generating display objects in batches by utilizing an implementation object capable of implementing or displaying the objects according to the display object parameter set acquired from a memory or a Holder object for subsequent display and calling;
and responding to the detection of the display object triggering operation, and displaying the triggering display object according to the display priority information.
2. The method of claim 1, wherein the display object parameter set further comprises one or more of the following parameters: the display method comprises the steps of display layers, display positions, display contents, display forms, display effects, display intervals, display attributes, display duration and display ending triggering conditions.
3. The method of claim 1 or 2, wherein generating a display object according to the set of display object parameters further comprises:
creating an implementation object;
and sending the display object parameter set to an implementation object.
4. The method according to claim 1 or 2, wherein the displaying a trigger display object according to the display priority information in response to detecting a display object trigger operation comprises:
sorting the display objects according to display priority;
and in response to detecting the display object triggering operation, displaying the triggering display objects according to the sorting sequence of the display objects.
5. The method of claim 4, wherein in response to detecting a display object trigger operation, displaying trigger display objects according to the sorted order of the display objects comprises:
in response to detecting a display object trigger operation, when the trigger display object is of a first priority and there is no display object being displayed, displaying the trigger display object;
in response to the detection of a display object triggering operation, when the triggering display object is of a first priority and a display object which is being displayed exists, covering the currently displayed display object and displaying the triggering display object;
in response to detecting a display object trigger operation, when the trigger display object is of a second priority and there is no display object being displayed, displaying the trigger display object;
and responding to the detection of the display object triggering operation, and when the triggering display object is in the second priority and the display object which is being displayed exists, displaying the triggering display object after the display of the currently displayed display object is finished.
6. The method of claim 3, wherein in response to detecting a display object trigger operation, displaying a trigger display object according to the display priority information comprises:
sorting the display objects according to display priority;
and in response to detecting the display object triggering operation, displaying the triggering display objects according to the sorting sequence of the display objects.
7. The method of claim 6, wherein in response to detecting a display object trigger operation, displaying trigger display objects according to the sorted order of the display objects comprises:
in response to detecting a display object trigger operation, when the trigger display object is of a first priority and there is no display object being displayed, displaying the trigger display object;
in response to the detection of a display object triggering operation, when the triggering display object is of a first priority and a display object which is being displayed exists, covering the currently displayed display object and displaying the triggering display object;
in response to detecting a display object trigger operation, when the trigger display object is of a second priority and there is no display object being displayed, displaying the trigger display object;
and responding to the detection of the display object triggering operation, and when the triggering display object is in the second priority and the display object which is being displayed exists, displaying the triggering display object after the display of the currently displayed display object is finished.
8. The method of any one of claims 1, 2, 5, 6, and 7, further comprising:
and after the display of the trigger display object is finished, the trigger display object is retained to wait for the next trigger or is deleted.
9. The method of claim 3, further comprising:
and after the display of the trigger display object is finished, the trigger display object is retained to wait for the next trigger or is deleted.
10. The method of claim 4, further comprising:
and after the display of the trigger display object is finished, the trigger display object is retained to wait for the next trigger or is deleted.
11. A display object management apparatus, comprising:
an obtaining module configured to obtain a display object parameter set, wherein the display object parameter set includes display priority information of the display object;
the generation module is configured to generate display objects in batches according to the display object parameter set, and comprises a generation submodule configured to generate display objects in batches according to the display object parameter set acquired from a memory or a Holder object by using an implementation object capable of implementing or displaying the objects for subsequent display calling;
a display module configured to display a trigger display object according to the display priority information in response to detecting a display object trigger operation.
12. The apparatus of claim 11, wherein the display object parameter set further comprises one or more of the following parameters: the display method comprises the steps of display layers, display positions, display contents, display forms, display effects, display intervals, display attributes, display duration and display ending triggering conditions.
13. The apparatus of claim 11 or 12, wherein the generating module comprises:
a creation submodule configured to create an implementation object;
a transmitting sub-module configured to transmit the display object parameter set to an implementation object.
14. The apparatus of claim 11 or 12, wherein the display module comprises:
a sorting submodule configured to sort the display objects by display priority;
a first display sub-module configured to display, in response to detecting a display object trigger operation, a trigger display object according to the sorted order of the display objects.
15. The apparatus of claim 14, wherein the first display sub-module comprises:
a second display submodule configured to, in response to detection of a display object trigger operation, display a trigger display object when the trigger display object is of a first priority and there is no display object being displayed;
the third display submodule is configured to respond to the detection of a display object triggering operation, when the triggering display object is in the first priority and a display object which is being displayed exists, the current display object is covered, and the triggering display object is displayed;
a fourth display submodule configured to, in response to detecting a display object trigger operation, display a trigger display object when the trigger display object is of a second priority and there is no display object being displayed;
and the fifth display submodule is configured to respond to the detection of the display object triggering operation, and when the triggering display object is in the second priority and the display object which is being displayed exists, the triggering display object is displayed after the display of the currently displayed display object is finished.
16. The apparatus of claim 13, wherein the display module comprises:
a sorting submodule configured to sort the display objects by display priority;
a first display sub-module configured to display, in response to detecting a display object trigger operation, a trigger display object according to the sorted order of the display objects.
17. The apparatus of claim 16, wherein the first display sub-module comprises:
a second display submodule configured to, in response to detection of a display object trigger operation, display a trigger display object when the trigger display object is of a first priority and there is no display object being displayed;
the third display submodule is configured to respond to the detection of a display object triggering operation, when the triggering display object is in the first priority and a display object which is being displayed exists, the current display object is covered, and the triggering display object is displayed;
a fourth display submodule configured to, in response to detecting a display object trigger operation, display a trigger display object when the trigger display object is of a second priority and there is no display object being displayed;
and the fifth display submodule is configured to respond to the detection of the display object triggering operation, and when the triggering display object is in the second priority and the display object which is being displayed exists, the triggering display object is displayed after the display of the currently displayed display object is finished.
18. The apparatus of any one of claims 11, 12, 15, 16, 17, further comprising:
and the processing module is configured to leave the trigger display object for waiting for the next trigger or delete after the trigger display object is displayed.
19. The apparatus of claim 13, further comprising:
and the processing module is configured to leave the trigger display object for waiting for the next trigger or delete after the trigger display object is displayed.
20. The apparatus of claim 14, further comprising:
and the processing module is configured to leave the trigger display object for waiting for the next trigger or delete after the trigger display object is displayed.
21. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,
the memory is for storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-10.
22. A computer-readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, carry out the method steps of any of claims 1-10.
CN201810963193.9A 2018-08-22 2018-08-22 Display object management method and device, electronic equipment and computer storage medium Active CN109144650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810963193.9A CN109144650B (en) 2018-08-22 2018-08-22 Display object management method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810963193.9A CN109144650B (en) 2018-08-22 2018-08-22 Display object management method and device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN109144650A CN109144650A (en) 2019-01-04
CN109144650B true CN109144650B (en) 2022-03-01

Family

ID=64791218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810963193.9A Active CN109144650B (en) 2018-08-22 2018-08-22 Display object management method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN109144650B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766162B (en) * 2019-01-15 2022-05-03 深圳乐信软件技术有限公司 Bullet layer control method and device, server and storage medium
CN110275748B (en) * 2019-06-18 2022-08-16 广州小鹏汽车科技有限公司 Popup display method and device for vehicle-mounted application and intelligent automobile
CN112883299A (en) * 2019-11-29 2021-06-01 拉扎斯网络科技(上海)有限公司 Object display method and device, electronic equipment and computer readable storage medium
CN111580899B (en) * 2020-03-31 2024-04-30 深圳市麦谷科技有限公司 Layered structure-based message popup window system and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528946A (en) * 2016-10-18 2017-03-22 天津理工大学 Method for inserting AutoCAD graph blocks in batches

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5219407B2 (en) * 2007-05-31 2013-06-26 株式会社エヌ・ティ・ティ・ドコモ Information processing apparatus and program
US9424094B2 (en) * 2009-06-01 2016-08-23 International Business Machines Corporation Server consolidation using virtual machine resource tradeoffs
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
CN107066271B (en) * 2017-03-31 2020-06-16 武汉斗鱼网络科技有限公司 Hierarchical management method and system for display object

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528946A (en) * 2016-10-18 2017-03-22 天津理工大学 Method for inserting AutoCAD graph blocks in batches

Also Published As

Publication number Publication date
CN109144650A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109144650B (en) Display object management method and device, electronic equipment and computer storage medium
CN105094617A (en) Screen capturing method and device
CN110908625A (en) Multi-screen display method, device, equipment, system, cabin and storage medium
WO2020001234A1 (en) Folder icon display method, system, readable storage medium and terminal
US5796398A (en) Information visualization icons
CN103473027A (en) Split-screen multi-task interaction method for communication terminal and communication terminal
WO2016045523A1 (en) Display method and device for interface contents of mobile terminal and terminal
CN104035683A (en) Split-screen multitask interaction method for communication terminal
US20190164347A1 (en) Method of displaying at least one virtual object in mixed reality, and an associated terminal and system
CN110634171A (en) Device and method for drawing map
CN106843794B (en) Split screen display method and system based on android
CN113467660A (en) Information sharing method and electronic equipment
US20200118305A1 (en) Automatic line drawing coloring program, automatic line drawing coloring apparatus, and graphical user interface program
WO2024131563A1 (en) Special-effect presentation method and apparatus, and device and storage medium
CN113536755A (en) Method, device, electronic equipment, storage medium and product for generating poster
CN112684963A (en) Screenshot method and device and electronic equipment
CN111931708A (en) Form generation method and device
CN105183288B (en) Single-window multi-task display method and intelligent mobile terminal thereof
CN113783770B (en) Image sharing method, image sharing device and electronic equipment
CN115953493A (en) Method and device for editing special effect layer, electronic equipment and storage medium
CN115643468A (en) Poster generation method and device, electronic equipment and storage medium
CN114742534A (en) Multi-machine linkage cooperative system and control method
CN114356264A (en) Signal generation method, device, equipment and readable storage medium
CN109254712B (en) Information processing method and electronic equipment
CN113791858A (en) Display method, device, equipment and storage medium

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