CN107329763B - Application program interface display method and device, electronic equipment and storage medium - Google Patents

Application program interface display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN107329763B
CN107329763B CN201710526415.6A CN201710526415A CN107329763B CN 107329763 B CN107329763 B CN 107329763B CN 201710526415 A CN201710526415 A CN 201710526415A CN 107329763 B CN107329763 B CN 107329763B
Authority
CN
China
Prior art keywords
function
candidate
application program
functions
current data
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
CN201710526415.6A
Other languages
Chinese (zh)
Other versions
CN107329763A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710526415.6A priority Critical patent/CN107329763B/en
Publication of CN107329763A publication Critical patent/CN107329763A/en
Application granted granted Critical
Publication of CN107329763B publication Critical patent/CN107329763B/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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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

Landscapes

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

Abstract

The invention provides a display method and device of an application program interface, electronic equipment and a storage medium. Wherein, the method comprises the following steps: when an application program is started, acquiring a candidate function; acquiring current data to be detected corresponding to the terminal equipment according to the candidate function; judging whether the current data to be detected meets preset conditions corresponding to the candidate functions; if yes, determining the candidate function as the target function, and displaying a target function button corresponding to the target function in a preset area of the application interface. According to the method, when the application program is started, the most needed function is determined according to the current state of the terminal device, and the function button corresponding to the function is displayed in the application interface preset area, so that the user can conveniently and quickly start the corresponding function through the function button displaying the corresponding function in the application interface preset area, the trouble of manually searching the corresponding function by the user is reduced, and the user experience is improved.

Description

Application program interface display method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of terminal device technologies, and in particular, to a method and an apparatus for displaying an application program interface, an electronic device, and a storage medium.
Background
With the continuous development of the internet era, the functions of terminal devices such as smart phones are more and more powerful, and users can install application programs with various functions, such as news application programs, instant chat application programs, security application programs, shopping application programs and the like, in the terminal devices according to requirements.
Typically, there are multiple functions in an application for use by a user, for example, a security-type application provides multiple functions for the user, such as acceleration function, scanning function, application lock, secure connection, and so on.
In the related art, when an application program is started, function buttons are listed and displayed in a user function interface, and a user needs to search according to the current requirement of the user or search for the function button corresponding to the prompt according to the prompt of the application program, so that the operation is complicated when the user uses the application program.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first object of the present invention is to provide a method for displaying an application program interface, where when an application program is started, the method determines a currently most required function according to a current state of a terminal device, and displays a function button of a corresponding function in a preset area of the application interface, so that a user can conveniently and quickly start the corresponding function through the function button of the corresponding function displayed in the preset area of the application interface, thereby reducing a trouble of manually searching for the corresponding function by the user, and improving user experience.
The second purpose of the invention is to provide a display device of an application program interface.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a storage medium.
A fifth object of the invention is to propose an application.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for displaying an application program interface, including: when an application program is started, acquiring a candidate function; acquiring current data to be detected corresponding to the terminal equipment according to the candidate function; judging whether the current data to be detected meets a preset condition corresponding to the candidate function; and if the current data to be detected meets the preset condition corresponding to the candidate function, determining the candidate function as a target function, and displaying a target function button corresponding to the target function in a preset area of an application interface.
Optionally, if it is determined that the current data to be detected does not satisfy the preset condition corresponding to the candidate function, sequentially taking a next function as the candidate function according to a function execution sequence, so as to further determine whether the candidate function is a target function.
Optionally, when the candidate function is a cleaning function, the obtaining of the current data to be detected corresponding to the terminal device according to the candidate function includes: and acquiring the current garbage information to be cleaned of the terminal equipment according to the cleaning function.
Optionally, when the candidate function is an acceleration function, the obtaining of the current data to be detected corresponding to the terminal device according to the candidate function includes: and acquiring the current memory state information of the terminal equipment according to the acceleration function.
Optionally, when the candidate function is a scanning function, the obtaining of the current data to be detected corresponding to the terminal device according to the candidate function includes: and carrying out safety scanning on the terminal equipment according to the scanning function so as to obtain the scanning result of the terminal equipment.
Optionally, when it is determined that each function in the function execution sequence does not meet the preset condition corresponding to each function, the method further includes: and controlling to display a function button corresponding to the candidate function acquired when the application program is started in a preset area of an application interface.
Optionally, the obtaining the candidate function includes: and determining the function buttons displayed in the preset area of the application interface before the application program is closed, and determining the candidate functions according to the function buttons and the function execution sequence, or taking the functions corresponding to the function buttons displayed in the preset area of the application interface before the application program is closed as the candidate functions.
In order to achieve the above object, a second embodiment of the present invention provides a display device for an application interface, including: the first acquisition module is used for acquiring candidate functions when the application program is started; the second acquisition module is used for acquiring the current data to be detected corresponding to the terminal equipment according to the candidate function; the judging module is used for judging whether the current data to be detected meets the preset condition corresponding to the candidate function; and the display module is used for determining the candidate function as a target function when judging that the current data to be detected meets the preset condition corresponding to the candidate function, and displaying a target function button corresponding to the target function in a preset area of an application interface.
Optionally, the apparatus further comprises: and the first processing module is used for sequentially taking the next function as the candidate function according to a function execution sequence when the current data to be detected is judged not to meet the preset condition corresponding to the candidate function, so as to further judge whether the candidate function is the target function.
Optionally, when the candidate function is a cleaning function, the second obtaining module is specifically configured to: and acquiring the current garbage information to be cleaned of the terminal equipment according to the cleaning function.
Optionally, when the candidate function is an acceleration function, the second obtaining module is specifically configured to: and acquiring the current memory state information of the terminal equipment according to the acceleration function.
Optionally, when the candidate function is a scan function, the second obtaining module is specifically configured to: and carrying out safety scanning on the terminal equipment according to the scanning function so as to obtain the scanning result of the terminal equipment.
Optionally, when it is determined that each function of the function execution sequence does not meet the preset condition corresponding to each function, the apparatus further includes: and the second processing module is used for controlling the display of a function button corresponding to the candidate function acquired when the application program is started in a preset area of an application interface.
Optionally, the first obtaining module is specifically configured to: determining a function button displayed in a preset area of an application interface before the application program is closed; determining the candidate function according to the function button and the function execution sequence; or, taking the function corresponding to the function button displayed in the preset area of the application interface before the application program is closed as the candidate function.
To achieve the above object, an embodiment of a third aspect of the present invention provides an electronic device, including: a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface are connected through the bus and complete mutual communication; the memory stores executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the display method of the application program interface according to the embodiment of the first aspect of the present invention.
In order to achieve the above object, a fourth aspect of the present invention provides a storage medium, where the storage medium is used to store an application program, and the application program is used to execute the display method of the application program interface according to the present invention when the application program is executed.
In order to achieve the above object, an embodiment of a fifth aspect of the present invention provides an application program, where the application program is configured to execute the display method of the application program interface according to the present invention when running.
In the invention, when an application program is started, a candidate function is obtained, the current data to be detected corresponding to the terminal equipment is obtained according to the candidate function, then, whether the current data to be detected meets the preset condition corresponding to the candidate function is judged, if yes, the candidate function is a target function, and a target function button corresponding to the target function is displayed in the preset area of an application interface. Therefore, when the application program is started, the most needed function is determined according to the current state of the terminal device, and the function button corresponding to the function is displayed in the application interface preset area, so that the user can conveniently and quickly start the corresponding function through the function button displaying the corresponding function in the application interface preset area, the trouble of manually searching the corresponding function by the user is reduced, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a display method of an application interface according to an embodiment of the present invention.
Fig. 2 is an exemplary diagram of function buttons displaying corresponding functions in an application interface preset area.
FIG. 3 is a flowchart of a method for displaying an application interface, according to an embodiment of the present invention;
FIG. 4a is an example of displaying a function button corresponding to a scan function in an application interface preset area;
FIG. 4b is an exemplary diagram showing the presence of a danger and a function button corresponding to a scan function in an application interface preset area;
FIG. 4c is an exemplary diagram showing a risk status and a function button corresponding to a scan function in an application interface preset area;
FIG. 4d is an exemplary diagram illustrating the display of function buttons corresponding to cleaning functions in a preset area of an application interface;
FIG. 5 is a schematic diagram of a display device of an application program interface according to one embodiment of the present invention;
FIG. 6 is a schematic diagram of a display device of an application program interface according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A display method, a display apparatus, an electronic device, and a storage medium of an application interface according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a display method of an application interface according to an embodiment of the present invention.
As shown in fig. 1, the display method of the application program interface includes:
s11, when the application is started, a candidate function is acquired.
In particular, when an application is started, candidate functions can be acquired in various ways. Examples are as follows:
as an example, a function used before the application is closed is acquired and is taken as a candidate function.
As another example, function buttons displayed in a preset area of an application interface before the application is closed are determined, and candidate functions are determined according to the function buttons and the function execution order.
Specifically, after determining a function button displayed in a preset area of an application interface before the application is closed, a function corresponding to the function button may be acquired, and according to the function and the function execution order, a previous function or a next function adjacent to the function may be used as a candidate function.
In order to facilitate the user to operate the functions in the application program, the application program may display function buttons corresponding to the functions in a preset area of the application interface.
The function execution sequence is the execution sequence of each function preset by the application program for the application program.
It should be noted that the execution sequence of the functions may include an execution sequence of all or part of the functions in the application program.
For example, an exemplary diagram of function buttons corresponding to functions displayed in a preset area of an application interface is shown in fig. 2, and as shown in fig. 2, the function button 2 of the function 2 displayed in the preset area can be seen from fig. 2, and assuming that the function execution sequence is function 1, function 2, and function 3, the function 3 can be taken as a candidate function according to the obtained function 2 and the function execution sequence.
As another example, a function button displayed in a preset area of an application interface before the application program is closed is determined, and a function corresponding to the function button is used as a candidate function.
And S12, acquiring the current data to be detected corresponding to the terminal equipment according to the candidate function.
It should be understood that, the candidate functions are different, and the acquired data to be detected of the terminal device response is different.
The terminal device can be a mobile phone, a tablet computer, a personal computer and other hardware devices with various operating systems.
As an exemplary implementation manner, when the candidate function is a cleaning function, current to-be-cleaned spam information of the terminal device is acquired according to the cleaning function.
The spam to be cleaned may include, but is not limited to, internet spam files, registry spam, uninstallation residues, temporary files generated by application running, game spam, and the like.
As an exemplary implementation manner, when the candidate function is an acceleration function, current memory state information of the terminal device is obtained according to the acceleration function.
As an exemplary embodiment, when the candidate function is a scanning function, the terminal device is securely scanned according to the scanning function to obtain a scanning result of the terminal device.
When the candidate function is a scanning function, the terminal device can be scanned for viruses, trojans, system bugs, malicious advertisements, risks and the like, so as to obtain a scanning result of the terminal device.
And S13, judging whether the current data to be detected meets the preset condition corresponding to the candidate function.
It should be understood that the candidate functions are different, and the corresponding preset conditions are different.
As an exemplary embodiment, when the candidate function is a cleaning function, it may be determined whether the current to-be-cleaned spam of the terminal device exceeds a preset threshold.
The preset threshold is a preset threshold which needs to clear the junk information, and the preset threshold can be set by default in the terminal device or can be set by a user according to requirements.
As another exemplary implementation manner, when the candidate function is the acceleration function, it may be determined whether current memory state information of the terminal device exceeds a preset memory threshold.
The preset memory threshold may be set by default in the terminal device, or may be preset by the user according to the requirement.
Specifically, when the candidate function is the acceleration function, it may be determined whether the current memory occupancy amount of the terminal device exceeds a preset memory occupancy threshold.
As another exemplary embodiment, when the candidate function is a scan function, whether or not there is a risk and danger in the terminal device may be determined according to the scan result.
And S14, if the current data to be detected meet the preset conditions corresponding to the candidate functions, determining the candidate functions as target functions, and displaying target function buttons corresponding to the target functions in the preset area of the application interface.
In an embodiment of the present invention, in order to further facilitate using functions of an application program, while a target function button corresponding to a target function is displayed in a preset area of an application interface, a function button of a next function adjacent to the target function may be displayed in another preset area of the application interface.
And S15, if the data to be detected does not meet the preset condition corresponding to the candidate function, sequentially taking the next function as the candidate function according to the function execution sequence so as to further judge whether the candidate function is the target function.
According to the display method of the application program interface, when the application program is started, the candidate function is obtained, the current data to be detected corresponding to the terminal equipment is obtained according to the candidate function, then whether the current data to be detected meets the preset condition corresponding to the candidate function or not is judged, if yes, the candidate function is the target function, and the target function button corresponding to the target function is displayed in the preset area of the application interface. Therefore, when the application program is started, the most needed function is determined according to the current state of the terminal device, and the function button corresponding to the function is displayed in the application interface preset area, so that the user can conveniently and quickly start the corresponding function through the function button displaying the corresponding function in the application interface preset area, the trouble of manually searching the corresponding function by the user is reduced, and the user experience is improved.
Based on the above embodiment, in an embodiment of the present invention, when it is determined that each function in the function execution sequence does not meet the respective corresponding preset condition, the function button corresponding to the candidate function obtained when the application program is started may be controlled to be displayed in the application interface preset area.
In another embodiment of the present invention, when it is determined that each function in the function execution sequence does not meet its corresponding preset condition, a next function adjacent to the candidate function may also be determined according to the candidate function obtained when the application program is started and the function execution sequence, and a function button corresponding to the next function is displayed in the preset area of the application interface.
Fig. 3 is a flowchart of a display method of an application interface according to an embodiment of the present invention. In this embodiment, the application is used as a security application, and the application includes three functions, namely a cleaning function, a scanning function, and an acceleration function, and it is assumed that when the application is started, the acquired candidate function is the acceleration function, and the function execution sequence pre-saved by the application is the acceleration function, the scanning function, and the cleaning function.
As shown in fig. 3, the display method of the application program interface includes:
and S31, acquiring the current memory occupation amount of the terminal equipment according to the acceleration function.
And S32, judging whether the current memory occupation amount of the terminal equipment exceeds a preset memory occupation threshold, if so, executing a step S33, otherwise, executing a step S34.
And S33, displaying a function button corresponding to the acceleration function in the preset area of the application interface.
An example of a function button corresponding to the acceleration function is displayed in the preset area of the application interface, as shown in fig. 4 a.
And S34, determining the next function as a scanning function according to the acceleration function and the function execution sequence, and performing security scanning on the terminal device according to the scanning function to obtain the scanning result of the terminal device.
And S35, determining whether the terminal equipment has danger according to the scanning result, if so, executing a step S36, otherwise, executing a step S37.
And S36, displaying the dangerous state and the function button corresponding to the scanning function in the preset area of the application interface.
An exemplary diagram of function buttons corresponding to the danger and the scanning function is displayed in the preset area of the application interface, as shown in fig. 4 b.
And S37, determining whether the terminal equipment has risks according to the scanning result, if so, executing a step S38, and otherwise, executing a step S39.
And S38, displaying the risk state and the function button corresponding to the scanning function in the preset area of the application interface.
An exemplary diagram of the risk state and the function button corresponding to the scan function is displayed in the preset area of the application interface, as shown in fig. 4 c.
And S39, determining the next function as a cleaning function according to the scanning function and the function execution sequence, and acquiring the current garbage information to be cleaned of the terminal equipment according to the cleaning function.
And S40, judging whether the current garbage information to be cleaned of the terminal equipment exceeds a preset threshold value, if so, executing a step S41, otherwise, executing a step S42.
And S41, displaying a function button corresponding to the cleaning function in the preset area of the application interface.
An example diagram of function buttons corresponding to the cleaning function is displayed in the preset area of the application interface, as shown in fig. 4 d.
And S42, controlling the function button corresponding to the acceleration function to be displayed in the preset area of the application interface.
That is to say, when it is determined that all functions in the function execution sequence do not meet their respective corresponding preset conditions, the function button corresponding to the target function acquired when the application program is started is displayed in the application interface preset area.
According to the display method of the application program interface, when the application program is started, the candidate function is obtained, the current data to be detected corresponding to the terminal equipment is obtained according to the candidate function, then whether the current data to be detected meets the preset condition corresponding to the candidate function or not is judged, if yes, the candidate function is the target function, and the target function button corresponding to the target function is displayed in the preset area of the application interface. Therefore, when the application program is started, the most needed function is determined according to the current state of the terminal device, and the function button corresponding to the function is displayed in the application interface preset area, so that the user can conveniently and quickly start the corresponding function through the function button displaying the corresponding function in the application interface preset area, the trouble of manually searching the corresponding function by the user is reduced, and the user experience is improved.
In order to implement the above embodiments, the present invention further provides a display device for an application interface.
Fig. 5 is a schematic structural diagram of a display device of an application program interface according to an embodiment of the present invention.
As shown in fig. 5, the display device of the application program interface includes a first obtaining module 110, a second obtaining module 120, a determining module 130, a display module 140, and a first processing module 150, wherein:
the first obtaining module 110 is used for obtaining candidate functions when the application program is started.
In one embodiment of the present invention, the first obtaining module 110 may obtain the candidate functions in various ways, for example, as follows:
as an example, the first obtaining module 110 may obtain a function used before the application is closed and take the function as a candidate function.
As another example, the first obtaining module 110 may determine function buttons displayed in a preset area of the application interface before the application is closed, and determine candidate functions according to the function buttons and the function execution order.
As another example, the first obtaining module 110 may determine a function button displayed in a preset area of an application interface before the application program is closed, and take a function corresponding to the function button as a candidate function.
The second obtaining module 120 is configured to obtain current data to be detected corresponding to the terminal device according to the candidate function.
The determining module 130 is configured to determine whether the current data to be detected meets a preset condition corresponding to the candidate function.
The display module 140 is configured to determine that the candidate function is the target function when it is determined that the current data to be detected meets the preset condition corresponding to the candidate function, and display a target function button corresponding to the target function in a preset area of the application interface.
The first processing module 150 is configured to, when it is determined that the current data to be detected does not satisfy the preset condition corresponding to the candidate function, sequentially take a next function as the candidate function according to the function execution order, so as to further determine whether the candidate function is the target function.
In an embodiment of the present invention, when the candidate function is a cleaning function, the second obtaining module 120 is specifically configured to: and acquiring the current garbage information to be cleaned of the terminal equipment according to the cleaning function.
In an embodiment of the present invention, when the candidate function is an acceleration function, the second obtaining module is specifically configured to: and acquiring the current memory state information of the terminal equipment according to the acceleration function.
In an embodiment of the present invention, when the candidate function is a scan function, the second obtaining module is specifically configured to: and carrying out safety scanning on the terminal equipment according to the scanning function so as to obtain the scanning result of the terminal equipment.
In an embodiment of the present invention, on the basis of the embodiment shown in fig. 5, as shown in fig. 6, the apparatus may further include a second processing module 160, where the second processing module 160 is configured to, when it is determined that each function in the function execution sequence does not meet the corresponding preset condition, control to display, in a preset area of the application interface, a function button corresponding to the candidate function obtained when the application program is started.
It should be noted that the explanation of the foregoing embodiment of the display method of the application program interface is also applicable to the display device of the application program interface of this embodiment, and details are not repeated here.
According to the display device of the application program interface, when the application program is started, the candidate function is obtained, the current data to be detected corresponding to the terminal equipment is obtained according to the candidate function, then whether the current data to be detected meets the preset condition corresponding to the candidate function or not is judged, if yes, the candidate function is the target function, the target function button corresponding to the target function is displayed in the preset area of the application interface, and if not, the next function is sequentially used as the candidate function according to the function execution sequence, so that whether the candidate function is the target function or not is further judged. Therefore, when the application program is started, the most needed function is determined according to the current state of the terminal device, and the function button corresponding to the function is displayed in the application interface preset area, so that the user can conveniently and quickly start the corresponding function through the function button displaying the corresponding function in the application interface preset area, the trouble of manually searching the corresponding function by the user is reduced, and the user experience is improved.
In order to implement the above embodiments, the present invention further provides an electronic device.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
As shown in fig. 7, the electronic device includes a processor 51, a memory 52, a communication interface 53, and a bus 54, wherein:
the processor 51, the memory 52 and the communication interface 53 are connected through a bus 54 and complete mutual communication; the memory 52 stores executable program code; the processor 51 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 52 for executing the display method of the application interface in the above embodiment.
According to the electronic equipment provided by the embodiment of the invention, when the application program is started, the candidate function is obtained, the current data to be detected corresponding to the terminal equipment is obtained according to the candidate function, then, whether the current data to be detected meets the preset condition corresponding to the candidate function is judged, if yes, the candidate function is the target function, and the target function button corresponding to the target function is displayed in the preset area of the application interface. Therefore, when the application program is started, the function which is most needed by the user is determined according to the current state of the terminal device, and the function button corresponding to the function is displayed in the application interface preset area, so that the user can conveniently and quickly start the corresponding function through the function button displaying the corresponding function in the application interface preset area, the trouble of manually searching the corresponding function by the user is reduced, and the user experience is improved.
In order to implement the foregoing embodiments, the present invention further provides a storage medium, where the storage medium is used for storing an application program, and the application program is used for executing the display method of the application program interface of the present invention when the application program is executed.
In order to implement the above embodiment, the present invention further provides an application program, where the application program is configured to execute the display method of the application program interface of the present invention during running.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (14)

1. A display method of an application program interface is characterized by comprising the following steps:
when an application program is started, acquiring a candidate function; acquiring current data to be detected corresponding to the terminal equipment according to the candidate functions, wherein the current data to be detected corresponding to different candidate functions are different;
judging whether the current data to be detected meets a preset condition corresponding to the candidate function; when the current data to be detected meets the preset condition corresponding to the candidate function, determining the candidate function as a target function, and displaying a target function button corresponding to the target function in an application interface preset area corresponding to the application program;
if the current data to be detected does not meet the preset condition corresponding to the candidate function, sequentially taking the next function as the candidate function according to a function execution sequence so as to further judge whether the candidate function is a target function; if all the functions in the function execution sequence are determined not to meet the preset conditions corresponding to the respective functions, displaying function buttons corresponding to the candidate functions acquired when the application program is started in the application interface preset area; and the function execution sequence is the execution sequence of each function preset by the application program.
2. The method according to claim 1, wherein when the candidate function is a cleaning function, the obtaining of the current data to be detected corresponding to the terminal device according to the candidate function includes:
and acquiring the current garbage information to be cleaned of the terminal equipment according to the cleaning function.
3. The method according to claim 1, wherein when the candidate function is an acceleration function, the obtaining of the current data to be detected corresponding to the terminal device according to the candidate function includes:
and acquiring the current memory state information of the terminal equipment according to the acceleration function.
4. The method according to claim 1, wherein when the candidate function is a scanning function, the obtaining of the current data to be detected corresponding to the terminal device according to the candidate function includes:
and carrying out safety scanning on the terminal equipment according to the scanning function so as to obtain the scanning result of the terminal equipment.
5. The method according to claim 1, wherein when it is determined that each function in the function execution sequence does not meet its corresponding preset condition, the method further comprises:
and controlling to display a function button corresponding to the candidate function acquired when the application program is started in the application interface preset area.
6. The method according to any one of claims 1-4, wherein the obtaining the candidate function comprises:
determining function buttons displayed in a preset area of an application interface before the application program is closed, and determining the candidate functions according to the function buttons and the function execution sequence; alternatively, the first and second electrodes may be,
and taking the function corresponding to the function button displayed in the preset area of the application interface before the application program is closed as the candidate function.
7. A display device for an application program interface, comprising:
the first acquisition module is used for acquiring candidate functions when the application program is started;
the second acquisition module is used for acquiring the current data to be detected corresponding to the terminal equipment according to the candidate functions, wherein the current data to be detected corresponding to different candidate functions are different;
the judging module is used for judging whether the current data to be detected meets the preset condition corresponding to the candidate function;
the display module is used for determining the candidate function as a target function when judging that the current data to be detected meets the preset condition corresponding to the candidate function, and displaying a target function button corresponding to the target function in a preset area of an application interface;
the first processing module is used for sequentially taking the next function as the candidate function according to a function execution sequence when the current data to be detected is judged not to meet the preset condition corresponding to the candidate function, so as to further judge whether the candidate function is a target function; if all the functions in the function execution sequence are determined not to meet the preset conditions corresponding to the respective functions, displaying function buttons corresponding to the candidate functions acquired when the application program is started in the application interface preset area; and the function execution sequence is the execution sequence of each function preset by the application program.
8. The apparatus of claim 7, wherein when the candidate function is a cleaning function, the second obtaining module is specifically configured to:
and acquiring the current garbage information to be cleaned of the terminal equipment according to the cleaning function.
9. The apparatus of claim 7, wherein when the candidate function is an acceleration function, the second obtaining module is specifically configured to:
and acquiring the current memory state information of the terminal equipment according to the acceleration function.
10. The apparatus of claim 7, wherein when the candidate function is a scan function, the second obtaining module is specifically configured to:
and carrying out safety scanning on the terminal equipment according to the scanning function so as to obtain the scanning result of the terminal equipment.
11. The apparatus according to claim 7, wherein when it is determined that none of the functions in the execution sequence of the functions meets their respective preset conditions, the apparatus further comprises:
and the second processing module is used for controlling the display of a function button corresponding to the candidate function acquired when the application program is started in a preset area of an application interface.
12. The apparatus according to any one of claims 7 to 9, wherein the first obtaining module is specifically configured to:
determining function buttons displayed in a preset area of an application interface before the application program is closed, and determining the candidate functions according to the function buttons and the function execution sequence; alternatively, the first and second electrodes may be,
and taking the function corresponding to the function button displayed in the preset area of the application interface before the application program is closed as the candidate function.
13. An electronic device comprising a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the display method of the application program interface according to any one of claims 1 to 6.
14. A storage medium for storing an application program for executing the application program interface display method according to any one of claims 1 to 6 when the application program is executed.
CN201710526415.6A 2017-06-30 2017-06-30 Application program interface display method and device, electronic equipment and storage medium Active CN107329763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526415.6A CN107329763B (en) 2017-06-30 2017-06-30 Application program interface display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526415.6A CN107329763B (en) 2017-06-30 2017-06-30 Application program interface display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107329763A CN107329763A (en) 2017-11-07
CN107329763B true CN107329763B (en) 2020-12-18

Family

ID=60198087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526415.6A Active CN107329763B (en) 2017-06-30 2017-06-30 Application program interface display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107329763B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977234A (en) * 2017-12-19 2018-05-01 珠海市君天电子科技有限公司 Software function bootstrap technique and device
CN109445873B (en) * 2018-11-13 2022-12-16 北京微播视界科技有限公司 Method and device for displaying setting interface
CN111880704B (en) * 2020-07-20 2022-02-18 北京百度网讯科技有限公司 Application program processing method, device, equipment and medium
CN115865809B (en) * 2023-02-02 2023-06-02 爱集微咨询(厦门)有限公司 Data transmission method, device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094866A (en) * 2014-05-12 2015-11-25 联想(北京)有限公司 Application program boot method and electronic device
CN105138355A (en) * 2015-08-10 2015-12-09 北京金山安全软件有限公司 Method and device for inserting elements in interface of application program and electronic equipment
CN105204908A (en) * 2015-09-30 2015-12-30 北京金山安全软件有限公司 Application program package stopping method and device and electronic equipment
CN106127030A (en) * 2016-06-22 2016-11-16 广东欧珀移动通信有限公司 A kind of interface control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094866A (en) * 2014-05-12 2015-11-25 联想(北京)有限公司 Application program boot method and electronic device
CN105138355A (en) * 2015-08-10 2015-12-09 北京金山安全软件有限公司 Method and device for inserting elements in interface of application program and electronic equipment
CN105204908A (en) * 2015-09-30 2015-12-30 北京金山安全软件有限公司 Application program package stopping method and device and electronic equipment
CN106127030A (en) * 2016-06-22 2016-11-16 广东欧珀移动通信有限公司 A kind of interface control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
OA权限模块根据用户权限显示不同的操作按钮;周江霄;《https://blog.csdn.net/zjx86320/article/details/48999763》;20151009;1-5 *

Also Published As

Publication number Publication date
CN107329763A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107329763B (en) Application program interface display method and device, electronic equipment and storage medium
CN105335048B (en) Electronic equipment with hidden application icon and method for hiding application icon
CN111526529A (en) Network prompting method and device and electronic equipment
CN106227585B (en) Application program starting method, device and equipment
US20150101055A1 (en) Method, system and terminal device for scanning virus
US10474507B2 (en) Terminal application process management method and apparatus
CN105988836B (en) Application recommendation method and device
CN106445309B (en) Application download entry display method and device
CN108710795B (en) Information prompting method and device, mobile terminal and storage medium
CN106980442B (en) Icon management method and electronic equipment
CN104346569A (en) Method and device for identifying malicious advertisements in mobile terminal and mobile terminal
CN112148163B (en) Screen recording method and device and electronic equipment
CN105117110A (en) Method and device for displaying user equipment state on preset interface of application program
CN109547335B (en) Session message processing method and device
CN108021630B (en) Junk file cleaning method, intelligent terminal and computer readable storage medium
CN105988805A (en) Management method for application programs and mobile terminal
CN105446987B (en) Picture garbage file identification method and device and electronic equipment
CN108595965B (en) Method and device for preventing attribute information of interface control from being stolen
CN103164326A (en) Detecting method and detecting system for game operating environment
CN106648281B (en) Screenshot method and device
CN107332991B (en) Screen locking interface information processing method and device
CN106713596B (en) Video playing method and device and mobile terminal
CN106951239B (en) Method and device for setting display of application program
CN111865763A (en) Message display method and device, electronic equipment and storage medium
CN111158829A (en) Operation rollback processing method and device

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