CN112925457A - Application program control method and device, storage medium and terminal - Google Patents
Application program control method and device, storage medium and terminal Download PDFInfo
- Publication number
- CN112925457A CN112925457A CN202110192107.0A CN202110192107A CN112925457A CN 112925457 A CN112925457 A CN 112925457A CN 202110192107 A CN202110192107 A CN 202110192107A CN 112925457 A CN112925457 A CN 112925457A
- Authority
- CN
- China
- Prior art keywords
- function
- interface data
- control
- module
- stack
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000006870 function Effects 0.000 claims description 217
- 238000012545 processing Methods 0.000 claims description 15
- 238000007667 floating Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a control method, a device, a storage medium and a terminal of an application program, the application program triggers and displays a function control set containing a plurality of function controls through a function trigger control, when a trigger instruction of a user to any one or more function controls in the plurality of function controls is detected, if the application program currently starts a currently running function module, first interface data of the currently running function module is stored in a stack, then whether the function module corresponding to the selected function control has corresponding second interface data in a storage unit is judged, if the function module corresponding to the selected function control exists, the currently running function module is closed, and the second function module is recovered and started based on the second interface data, so that parallel switching among the plurality of function modules in the application program is realized, after switching, the function is recovered to the previous state based on the prestored interface data, the normal use of the user is not influenced, and the convenience of operation can be improved when the user switches a plurality of functional modules in the application.
Description
Technical Field
The present application relates to the field of human-computer interaction, and in particular, to a method and an apparatus for controlling an application program, a storage medium, and a terminal.
Background
Human-Computer Interaction technologies (Human-Computer Interaction technologies) refers to a technology for realizing Human-Computer Interaction in an efficient manner through Computer input and output devices. The man-machine interaction technology comprises the steps that a machine provides a large amount of relevant information and prompt requests for people through an output or display device, and a person inputs the relevant information, answers questions, prompts and the like to the machine through an input device. The man-machine interaction technology is one of important contents in computer user interface design, for an application program on a target intelligent terminal device, an intelligent terminal is provided with a touch screen, a user uses the application program to trigger an operation task based on a touch control mode so as to use a related function module of the application program, a common application program is provided with a plurality of different function modules, and how to quickly use a plurality of functions of the application program is a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides a control method and device of an application program, a storage medium and a terminal, which can improve the convenience of operation when a plurality of functions of the application program are used. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for controlling an application program, where the method includes:
displaying a function trigger control of an application program through a display unit;
displaying a function trigger control of an application program through a display unit;
receiving a first trigger instruction of a user for the function trigger control, and displaying a function control set of the application program through the display unit in response to the first trigger instruction; the function control set comprises a plurality of function controls, and each function control corresponds to one function module;
receiving a second trigger instruction of a user to a target function control in the plurality of function controls; the second trigger instruction is used for starting a target function module;
judging whether the interface data at the top of the stack is the interface data of the target function module;
if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
In a second aspect, an embodiment of the present application provides an apparatus for controlling an application, where the apparatus includes: a processing unit and a transceiver unit;
the processing unit is used for displaying the function trigger control of the application program through the display unit;
receiving a first trigger instruction of a user to the function trigger control through the transceiving unit, and responding to the first trigger instruction to display a function control set of the application program through the display unit; the function control set comprises a plurality of function controls, and each function control corresponds to one function module;
receiving a second trigger instruction of a user to a target function control in the plurality of function controls through the transceiving unit; the second trigger instruction is used for starting a target function module;
judging whether the interface data at the top of the stack is the interface data of the target function module;
if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
triggering and displaying a function control set containing a plurality of function controls through a function triggering control, when a triggering instruction of a user to any one function control in the plurality of function controls is detected, if the application program is started with the currently running functional module, storing the first interface data of the currently running functional module into the stack, then judging whether the function module corresponding to the selected function control has corresponding second interface data in the storage unit, if so, closing the currently running function module, and restoring and starting the second functional module based on the second interface data, thus realizing the parallel switching among a plurality of functional modules in the application program, the function is restored to the previous state based on the pre-stored interface data, so that the normal use of the user is not influenced, and the convenience of operation can be improved when the user switches a plurality of functional modules in the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a control method for an application according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a user interface of an application provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a user interface of an application provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a user interface of an application provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of a user interface of an application provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a control device of an application program according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The following describes in detail a control method of an application program provided in an embodiment of the present application with reference to fig. 1 to 5. The method may be implemented in dependence on a computer program, executable on a control device based on an application of the von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application. The control device of the application program in the embodiment of the present application may be a terminal, including but not limited to a smartphone, a personal computer, a tablet computer, a handheld device, an in-vehicle device, a wearable device, a computing device, or other processing device connected to a wireless modem.
Fig. 1 is a schematic flow chart of a control method of an application according to an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
and S101, displaying the function trigger control of the application program through a display unit.
The function triggering control is an object used for a user to interact to input data or operate in a user interface, and the user interface can be any user interface in an application program. The terminal may preset a trigger mode of the function trigger control, for example: when the terminal is a touch screen terminal, the triggering operation of the function triggering control is click triggering, double-click triggering or long-press triggering, and the like, and the embodiment of the application does not display.
For example: referring to fig. 2, the processor displays a work order editing interface 21 of the application program through the display unit, a function trigger control 20 is arranged above the function editing interface, the function trigger control 20 is a global control, and according to fig. 2, the application program currently starts a function module for work order editing.
S102, receiving a first trigger instruction of a user to the function trigger control, and responding to the first trigger instruction to display a function control set of an application program through the display unit.
The first trigger instruction may be used for performing a trigger operation on the display function trigger control in S101 by a user, for example: the triggering operation is a single-click operation, a double-click operation, a long-press operation or other operations, the function control set comprises a plurality of function controls, the function controls are starting inlets of all function modules corresponding to the application program, and the arrangement mode of the function controls is not displayed in the application and can be arranged in a matrix or a circle.
For example: referring to fig. 3, after the user clicks the function trigger control 20 in fig. 2, the set of function controls displayed on the display screen of the terminal includes: the communication, equipment, information, local conversation, vehicle utilization and work order are 6 function controls, and the 6 function controls are circularly arranged.
S103, receiving a second trigger instruction of a user to a target function control in the plurality of function controls;
the second trigger instruction is used to start a target function module, where the target function control is any one function control selected by the user in the function control set, but a function corresponding to the function control selected by the user is different from a currently started function in the application program, for example: the currently started function in the application program is 'local call', the function control selected by the user is 'local call', and the corresponding function module is different from the currently started function module, and the frequency is higher. When receiving a second trigger instruction of a user to any one target function control in the function control set, the processor may determine whether to start a target function module currently through a pre-configured function running state table, where the target function module is a function module currently started by the application program, and an ID of the currently running function module is recorded in the function running state table.
And S104, judging whether the interface data at the top of the stack is the interface data of the target function module.
The interface data represents data displayed and rendered on the display screen by the functional module, the interface data at the top of the stack is the interface data of the currently running functional module, and whether the interface data at the top of the stack is the interface data of the target functional module to be started or not is judged.
And S105, if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
If the interface data at the top of the stack is the interface data of the target function module, the function module does not need to be switched, and the current function module continues to operate.
In one or more embodiments, the method further comprises: and if the interface data at the top of the stack is not the interface data of the target function module, inquiring whether historical interface data of the target function module exist in the stack.
If the interface data at the top of the stack is not the interface data of the target function module to be started, that is, the currently running function module is not the target function module, the currently running function module needs to be switched. And inquiring whether historical interface data of the target function module exists in the stack, wherein the historical interface data is the interface data stored in the stack when the target function module operates last time.
In one or more embodiments, when historical interface data of the target function module is not queried in the stack, selecting one interface data from the stack;
moving the selected interface data to the top of the stack, and running the selected interface data.
The method for selecting interface data from the stack may be to select interface data at a fixed position in the stack, for example: interface data at the 2 nd bit in the stack is selected, or other rules are adopted to select the interface data, which is not limited in the present application.
In one or more embodiments, if the historical interface data of the target function module exists in the stack, whether the interface data at the top of the stack has an interrupt function module is detected, if not, the historical interface data of the target function module is moved to the top of the stack, and the historical interface data is operated.
Wherein, whether the interface data at the top of the stack has a terminal function module is detected, that is, whether the currently running function module has an interrupt function module is detected, for example: the currently running functional module is a video call functional module, so that the functional module does not have an interrupt functional module and can be switched after the video call is finished. And if the currently running functional module has an interrupt functional module, moving the historical interface data of the module function to the top of the stack to clear the original interface data at the top of the stack.
The android system is taken as an example for explanation, and Activity exists in a stack form in the android system. The root Activity in the stack is the launch Activity of the application. While the top Activity in the stack is the currently running/UI Activity the user is operating. Activity objects are stored in the stack, and if one Activity is used for multiple times in one application program, multiple Activity objects appear in the same task. An application is normally in the same stack during runtime and initiated Activity, this is also called Task stack < Task >.
Wherein the characteristics of the stack: only push and pop and first in and last out are linked lists of the one-way queues. The principle of parallel switching of the application is to utilize a queue task stack to sort a linked list of a one-way queue in the interface switching process, press current first interface data into the stack, sort a switching target interface (second interface data) to the top in the stack, namely the currently running UI Activity/the UI Activity being operated by a user, and recover data, so as to achieve the switching purpose of zero perception of the user.
For example: referring to fig. 3 and 4, a user selects a "communication" control in the function control set, the user performs a single-click operation on the "communication" control, the processor receives a second trigger instruction, the processor determines that the application program currently runs a "work order editing" function module, and the processor acquires interface data of the "work order editing" function module and stores the interface data in the storage unit. Then, the processor inquires corresponding interface data in the storage unit according to the ID of the communication function module, closes the work order editing function module, starts the communication function module based on the inquired interface data, displays a user interface 23 of the communication function module, and the user interface 23 is also provided with a function trigger control 20.
In one or more possible embodiments, the function trigger control has a draggable property, the terminal may move the function trigger control to any position of the user interface according to a drag operation of a user, and further, a preset region of the function trigger control may be hidden, for example, as shown in fig. 4, a half region of the function trigger control 20 is hidden from an edge of the user interface.
In one or more possible embodiments, the function triggering control is disposed in a transparent floating layer on the user interface of the currently running function module, and the shape and size of the transparent floating layer are the same as those of the function triggering control.
For example: referring to fig. 2, a transparent floating layer is arranged on the user interface 21 of the currently running function module, and the function triggering control 20 is arranged in the transparent floating layer.
In one or more possible embodiments, the set of functionality controls is highlighted on the user interface of the currently running functionality module.
For example: referring to fig. 3, the set of functionality controls 22 is displayed in a manner different from the user interface of the currently running functionality module, and the brightness of the set of functionality controls 22 is higher than the brightness of the user interface of the currently running functionality module
In one or more possible embodiments, the method further comprises:
and when a third trigger instruction of the user to the area outside the function control set is received, closing the function control set, and displaying the function trigger control through the display unit.
For example: referring to fig. 3, when the user clicks on the area outside the set of functionality controls, the processor receives the third trigger instruction, closes the set of functionality controls 22, and then redisplays the functionality controls 20
In the embodiment of the application, a function control set comprising a plurality of function controls is triggered and displayed through a function trigger control, when a trigger instruction of a user to any one of the plurality of function controls is detected, if the application program is started with the currently running functional module, storing the first interface data of the currently running functional module into the storage unit, then judging whether the function module corresponding to the selected function control has corresponding second interface data in the storage unit, if so, closing the currently running function module, and restoring and starting the second functional module based on the second interface data, thus realizing the parallel switching among a plurality of functional modules in the application program, the function is restored to the previous state based on the pre-stored interface data, so that the normal use of the user is not influenced, and the convenience of operation can be improved when the user switches a plurality of functional modules in the application.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a schematic structural diagram of a control device of an application according to an exemplary embodiment of the present application is shown. The control means of the application may be implemented as all or part of the terminal by software, hardware or a combination of both. The device 1 comprises a display unit 10, a transceiver unit 20 and a processing unit 30.
The processing unit 30 is configured to display a function trigger control of an application program through the display unit 10;
receiving a first trigger instruction of the user to the function trigger control through the transceiving unit 20, and displaying a function control set of the application program through the display unit in response to the first trigger instruction; the function control set comprises a plurality of function controls, and each function control corresponds to one function module;
receiving a second trigger instruction of the user to a target function control in the plurality of function controls through the transceiving unit 20; the second trigger instruction is used for starting a target function module;
judging whether the interface data at the top of the stack is the interface data of the target function module;
if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
In one or more embodiments, processing unit 30 is further configured to:
if the interface data at the top of the stack is not the interface data of the target function module, inquiring whether historical interface data of the target function module exist in the stack;
if so, detecting whether the interface data at the top of the stack has an interrupt function module, if not, moving the historical interface data of the target function module to the top of the stack, and operating the historical interface data.
In one or more embodiments, processing unit 30 is further configured to:
when historical interface data of the target function module are not inquired in the stack, selecting one interface data from the stack;
moving the selected interface data to the top of the stack, and running the selected interface data.
In one or more possible embodiments, the functionality trigger control has mobility, and when the functionality trigger control moves to an edge of the user interface, the preset area of the functionality trigger control is hidden.
In one or more possible embodiments, the plurality of functionality controls included in the set of functionality controls are arranged in a circle.
In one or more possible embodiments, the function triggering control is disposed on a transparent floating layer of the currently running function module.
In one or more possible embodiments, the set of functionality controls is highlighted on the user interface of the currently running functionality module.
In one or more possible embodiments, the processing unit 30 is further configured to:
writing the first interface data of the currently running functional module into a stack, and switching the second interface data of the second functional module to the top of the stack.
In one or more possible embodiments, the processing unit 30 is also used for
And when the instruction transceiver unit 20 receives a third trigger instruction of the user to the area outside the set of function controls, closing the set of function controls, and displaying the function trigger controls through the display unit.
It should be noted that, when the control device of the application program provided in the above embodiment executes the control method of the application program, the division of the above functional modules is merely used as an example, and in practical applications, the above functions may be distributed to different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the control device of the application program and the control method embodiment of the application program provided in the above embodiments belong to the same concept, and details of the implementation process are referred to in the method embodiment, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a function control set comprising a plurality of function controls is triggered and displayed through a function trigger control, when a trigger instruction of a user to any one of the plurality of function controls is detected, if the application program is started with the currently running functional module, storing the first interface data of the currently running functional module into the storage unit, then judging whether the function module corresponding to the selected function control has corresponding second interface data in the storage unit, if so, closing the currently running function module, and restoring and starting the second functional module based on the second interface data, thus realizing the parallel switching among a plurality of functional modules in the application program, the function is restored to the previous state based on the pre-stored interface data, so that the normal use of the user is not influenced, and the convenience of operation can be improved when the user switches a plurality of functional modules in the application.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1 to 5, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 5, which are not described herein again.
Please refer to fig. 7, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 7, the terminal 1000 can include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one functional module (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described various method embodiments, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 7, a memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a fraud phone identification application.
In the terminal 1000 shown in fig. 7, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to call an application stored in the memory 1005, and specifically perform the following operations:
displaying a function trigger control of an application program through the display screen;
receiving a first trigger instruction of a user for the function trigger control through a user interface 1003, and displaying a function control set of the application program through the display unit in response to the first trigger instruction; the function control set comprises a plurality of function controls, and each function control corresponds to one function module;
receiving a second trigger instruction of the user for a target function control in the plurality of function controls through the user interface 1003; the second trigger instruction is used for starting a target function module;
judging whether the interface data at the top of the stack is the interface data of the target function module;
if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
In one or more embodiments, processor 1001 is further configured to perform:
if the interface data at the top of the stack is not the interface data of the target function module, inquiring whether historical interface data of the target function module exist in the stack;
if so, detecting whether the interface data at the top of the stack has an interrupt function module, if so, moving the historical interface data of the target function module to the top of the stack, and operating the historical interface data.
In one or more possible embodiments, the processor 1001 is further configured to perform:
when historical interface data of the target function module are not inquired in the stack, selecting one interface data from the stack;
moving the selected interface data to the top of the stack, and running the selected interface data.
In one or more possible embodiments, the functionality trigger control has mobility, and when the functionality trigger control moves to an edge of the user interface, the preset area of the functionality trigger control is hidden.
In one or more possible embodiments, the plurality of functionality controls included in the set of functionality controls are arranged in a circle.
In one or more possible embodiments, the function triggering control is disposed on a transparent floating layer of the currently running function module.
In one or more possible embodiments, the set of functionality controls is highlighted on the user interface of the currently running functionality module.
In one or more possible embodiments, the processor 1001 is further configured to perform:
and when a third trigger instruction of the user to the area outside the function control set is received, closing the function control set, and displaying the function trigger control through the display unit.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.
Claims (10)
1. A method for controlling an application, the method comprising:
displaying a function trigger control of an application program through a display unit;
receiving a first trigger instruction of a user for the function trigger control, and displaying a function control set of the application program through the display unit in response to the first trigger instruction; the function control set comprises a plurality of function controls, and each function control corresponds to one function module;
receiving a second trigger instruction of a user to a target function control in the plurality of function controls; the second trigger instruction is used for starting a target function module;
judging whether the interface data at the top of the stack is the interface data of the target function module;
if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
2. The method of claim 1, further comprising:
if the interface data at the top of the stack is not the interface data of the target function module, inquiring whether historical interface data of the target function module exist in the stack;
if so, detecting whether the interface data at the top of the stack has an interrupt function module or not,
if not, moving the historical interface data of the target function module to the top of the stack, and operating the historical interface data.
3. The method of claim 1, further comprising:
when historical interface data of the target function module are not inquired in the stack, selecting one interface data from the stack;
moving the selected interface data to the top of the stack, and running the selected interface data.
4. The control method according to claim 1, wherein the function trigger control has mobility; and when the function trigger control moves to the edge of the user interface, hiding the preset area of the function trigger control.
5. The method of claim 1, wherein a transparent floating layer is arranged on a user interface of the currently running function module, and the function triggering control is arranged on the transparent floating layer, and the size and shape of the transparent floating layer are the same as those of the function triggering control.
6. The method according to claim 1, wherein the set of functionality controls includes a plurality of functionality controls displayed in a manner different from a user interface of the currently running functionality module, and the set of functionality controls is disposed on the user interface of the currently running functionality module.
7. The method of claim 1, further comprising:
and when a third trigger instruction of the user to the area outside the function control set is received, closing the function control set, and displaying the function trigger control through the display unit.
8. An apparatus for controlling an application, the apparatus comprising: the device comprises a processing unit, a display unit and a transceiving unit;
the processing unit is used for displaying the function trigger control of the application program through the display unit;
receiving a first trigger instruction of a user to the function trigger control through the transceiving unit, and responding to the first trigger instruction to display a function control set of the application program through the display unit; the function control set comprises a plurality of function controls, and each function control corresponds to one function module;
receiving a second trigger instruction of a user to a target function control in the plurality of function controls through the transceiving unit; the second trigger instruction is used for starting a target function module;
judging whether the interface data at the top of the stack is the interface data of the target function module;
if so, the currently operated functional module is the target functional module, and the target functional module is operated according to the interface data at the top of the stack.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110192107.0A CN112925457A (en) | 2021-02-19 | 2021-02-19 | Application program control method and device, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110192107.0A CN112925457A (en) | 2021-02-19 | 2021-02-19 | Application program control method and device, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112925457A true CN112925457A (en) | 2021-06-08 |
Family
ID=76171544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110192107.0A Pending CN112925457A (en) | 2021-02-19 | 2021-02-19 | Application program control method and device, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112925457A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089877A (en) * | 2021-11-30 | 2022-02-25 | 深圳Tcl新技术有限公司 | Application control method and device, storage medium and electronic equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000066904A (en) * | 1998-08-21 | 2000-03-03 | Canon Inc | Method for controlling multitask and storage medium |
US20060248315A1 (en) * | 2005-04-28 | 2006-11-02 | Oki Electric Industry Co., Ltd. | Stack controller efficiently using the storage capacity of a hardware stack and a method therefor |
US20110276908A1 (en) * | 2010-05-06 | 2011-11-10 | Cadence Design Systems, Inc. | System and method for management of controls in a graphical user interface |
WO2014151152A2 (en) * | 2013-03-15 | 2014-09-25 | Apple Inc. | Mapping application with several user interfaces |
CN106933468A (en) * | 2017-03-13 | 2017-07-07 | 深圳市金立通信设备有限公司 | A kind of user interface switching method and terminal |
US20190138323A1 (en) * | 2017-11-06 | 2019-05-09 | International Business Machines Corporation | Control of layers in a graphical user interface |
JP2019139365A (en) * | 2018-02-07 | 2019-08-22 | オムロン株式会社 | Method for creation of application program and device and program |
CN110209454A (en) * | 2019-05-30 | 2019-09-06 | 北京小米移动软件有限公司 | Interface switching method and changing interface device |
CN111443863A (en) * | 2020-04-07 | 2020-07-24 | Oppo广东移动通信有限公司 | Page control method and device, storage medium and terminal |
CN112130937A (en) * | 2019-06-24 | 2020-12-25 | 北京京东尚科信息技术有限公司 | Page display method and device, storage medium and electronic equipment |
CN112256164A (en) * | 2020-09-21 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Page display method and device, electronic equipment and storage medium |
CN112306322A (en) * | 2020-10-30 | 2021-02-02 | 上海中通吉网络技术有限公司 | Interaction method, device and equipment for shortcut switching function in palm application |
-
2021
- 2021-02-19 CN CN202110192107.0A patent/CN112925457A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000066904A (en) * | 1998-08-21 | 2000-03-03 | Canon Inc | Method for controlling multitask and storage medium |
US20060248315A1 (en) * | 2005-04-28 | 2006-11-02 | Oki Electric Industry Co., Ltd. | Stack controller efficiently using the storage capacity of a hardware stack and a method therefor |
US20110276908A1 (en) * | 2010-05-06 | 2011-11-10 | Cadence Design Systems, Inc. | System and method for management of controls in a graphical user interface |
WO2014151152A2 (en) * | 2013-03-15 | 2014-09-25 | Apple Inc. | Mapping application with several user interfaces |
CN106933468A (en) * | 2017-03-13 | 2017-07-07 | 深圳市金立通信设备有限公司 | A kind of user interface switching method and terminal |
US20190138323A1 (en) * | 2017-11-06 | 2019-05-09 | International Business Machines Corporation | Control of layers in a graphical user interface |
JP2019139365A (en) * | 2018-02-07 | 2019-08-22 | オムロン株式会社 | Method for creation of application program and device and program |
CN110209454A (en) * | 2019-05-30 | 2019-09-06 | 北京小米移动软件有限公司 | Interface switching method and changing interface device |
CN112130937A (en) * | 2019-06-24 | 2020-12-25 | 北京京东尚科信息技术有限公司 | Page display method and device, storage medium and electronic equipment |
CN111443863A (en) * | 2020-04-07 | 2020-07-24 | Oppo广东移动通信有限公司 | Page control method and device, storage medium and terminal |
CN112256164A (en) * | 2020-09-21 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Page display method and device, electronic equipment and storage medium |
CN112306322A (en) * | 2020-10-30 | 2021-02-02 | 上海中通吉网络技术有限公司 | Interaction method, device and equipment for shortcut switching function in palm application |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089877A (en) * | 2021-11-30 | 2022-02-25 | 深圳Tcl新技术有限公司 | Application control method and device, storage medium and electronic equipment |
CN114089877B (en) * | 2021-11-30 | 2024-09-17 | 深圳Tcl新技术有限公司 | Application control method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3842905B1 (en) | Icon display method and apparatus, terminal and storage medium | |
CN108089786B (en) | User interface display method, device, equipment and storage medium | |
JP7536173B2 (en) | Application interface switching method and device, terminal, and storage medium | |
CN109062479B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN109164964B (en) | Content sharing method and device, terminal and storage medium | |
CN111147660B (en) | Control operation method and electronic equipment | |
CN114779987B (en) | Method, device, terminal and storage medium for displaying content | |
CN109726539B (en) | Application starting method, device, terminal and storage medium | |
CN118113204A (en) | Long screen capturing method, device, terminal and storage medium | |
CN110515524B (en) | Method, device, terminal and storage medium for inputting information | |
US20180088966A1 (en) | Electronic device and method thereof for managing applications | |
CN113268182A (en) | Application icon management method and electronic equipment | |
CN114415886A (en) | Application icon management method and electronic equipment | |
CN112925457A (en) | Application program control method and device, storage medium and terminal | |
EP4130964B1 (en) | Setting control display method and apparatus, storage medium, and electronic device | |
CN111694626B (en) | Application jump method, device, terminal and storage medium | |
CN106227417B (en) | A kind of three-dimensional user interface exchange method, device, display box and its system | |
CN107491249A (en) | Control method, device and equipment of intelligent tablet and storage medium | |
CN115268725A (en) | Application switching method and device, electronic equipment and storage medium | |
CN112596883A (en) | Application switching method and device, storage medium and electronic equipment | |
CN112214297A (en) | Application switching method and electronic equipment | |
CN105511720A (en) | Message displaying method and terminal | |
CN112035175A (en) | Application setting method and device | |
CN114816692B (en) | Screen projection display method and device, mobile terminal and storage medium | |
WO2024032037A1 (en) | Method for processing unread-message notification, and electronic device 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210608 |