Nothing Special   »   [go: up one dir, main page]

CN107807834A - 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
CN107807834A
CN107807834A CN201710890889.9A CN201710890889A CN107807834A CN 107807834 A CN107807834 A CN 107807834A CN 201710890889 A CN201710890889 A CN 201710890889A CN 107807834 A CN107807834 A CN 107807834A
Authority
CN
China
Prior art keywords
function
candidate
current state
state information
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710890889.9A
Other languages
Chinese (zh)
Inventor
张锦炘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710890889.9A priority Critical patent/CN107807834A/en
Publication of CN107807834A publication Critical patent/CN107807834A/en
Pending legal-status Critical Current

Links

Landscapes

  • 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: aiming at each candidate function in the application program, acquiring current state information of a function index corresponding to the candidate function in the terminal equipment; acquiring a target function of which the current state information of the function index meets the display condition of the candidate function; aiming at the obtained multiple target functions, determining the display sequence of the function options corresponding to each target function in the application interface preset area according to the priority sequence of each target function; and displaying the function options corresponding to the target functions in a preset area of the application interface according to the display sequence. The method of the embodiment facilitates the user to quickly start the corresponding function through the function options displaying the corresponding function in the preset area of the application interface, reduces the trouble of manually searching the corresponding function by the user, and improves the experience of the user.

Description

Display methods, device, electronic equipment and the storage medium of Application Program Interface
Technical field
The present invention relates to the display methods application program of terminal device technical field, more particularly to a kind of Application Program Interface Display methods, device, electronic equipment and the storage medium at interface.
Background technology
With the continuous development of Internet era, the function of terminal device such as smart mobile phone is stronger and stronger, Yong Huke The application program of various functions, such as news category application program, instant chat class application are installed in terminal device according to demand Program, security classes application program, shopping class application program etc..
Generally, function button corresponding to each subfunction of display is enumerated in the function interface in application program, user needs Go to search according to oneself demand now, or, the function button according to corresponding to the prompting of application program goes lookup to prompt, so as to Operated during appearance user's use cumbersome.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.Therefore, the present invention First purpose is to propose a kind of display methods of Application Program Interface, and this method determines according to the current state of terminal device Go out the function of being currently needed for displaying, and corresponding work(is sequentially shown in application interface predeterminable area according to the priority orders of function The function choosing-item of energy, facilitate user and pass through the function choosing-item quickly startup pair that corresponding function is shown in application interface predeterminable area The function of answering, reduce the trouble that user searches corresponding function manually, improve the Experience Degree of user.
Second object of the present invention is to propose a kind of display device of Application Program Interface.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of storage medium.
The 5th purpose of the present invention is to propose a kind of application program.
To achieve the above object, first aspect present invention embodiment proposes a kind of display methods of Application Program Interface, Including:For each candidate's function in application program, functional parameter corresponding with candidate's function in terminal device is obtained Current state information;Obtain the functional parameter current state information meet candidate's function displaying condition target Function;For acquired multiple objective functions, each objective function pair is determined according to the priority orders of each objective function Displaying order of the function choosing-item answered in application interface predeterminable area;Preset according to displaying order in the application interface Function choosing-item corresponding to each objective function is shown in region.
Optionally, the current state information for obtaining the functional parameter meets the displaying condition of candidate's function Objective function, including:Whether the current state information for detecting functional parameter corresponding to candidate's function meets candidate's work( Displaying condition corresponding to energy, when the current state information for detecting functional parameter corresponding to candidate's function meets the candidate Corresponding to function during displaying condition, it is objective function to determine candidate's function.
Optionally, each objective function is shown in the application interface predeterminable area according to displaying order described After corresponding function choosing-item, methods described also includes:The trigger action to objective function option is received, and according to the target Function choosing-item is to optimization process operation corresponding to terminal device execution.
Optionally, in the trigger action received to objective function option, and according to the objective function option to institute After stating optimization process operation corresponding to terminal device execution, methods described also includes:By in the application interface predeterminable area The objective function option delete.
Optionally, the candidate whether is met in the current state information for judging functional parameter corresponding to candidate's function Displaying condition corresponding to function, and obtain before meeting multiple objective functions of displaying condition, methods described also includes:Judge Whether the candidate function was performed in preset time;If judging to be not carried out candidate's function in preset time, Perform whether the current state information for judging functional parameter corresponding to candidate's function meets that candidate's function is corresponding Displaying condition the step of.
Optionally, each objective function is shown in the application interface predeterminable area according to displaying order described While corresponding function choosing-item, methods described also includes:Show on each function choosing-item and work as corresponding to each functional parameter Preceding status information.
To achieve the above object, second aspect of the present invention embodiment proposes a kind of display device of Application Program Interface, Including:First acquisition module, for for each candidate's function in application program, obtain in terminal device with candidate's work( The current state information of functional parameter corresponding to energy;Second acquisition module, the current state for obtaining the functional parameter are believed Breath meets the objective function of the displaying condition of candidate's function;Determining module, for for acquired multiple objective functions, Function choosing-item is in application interface predeterminable area according to corresponding to the priority orders of each objective function determine each objective function In displaying order;Display module, for showing each mesh in the application interface predeterminable area according to displaying order Mark function choosing-item corresponding to function.
Optionally, second acquisition module, including:Detection unit, for detecting function corresponding to candidate's function Whether the current state information of index meets displaying condition corresponding to candidate's function;Determining unit, institute is detected for working as When stating the current state information of functional parameter corresponding to candidate's function and meeting displaying condition corresponding to candidate's function, institute is determined It is objective function to state candidate's function.
Optionally, described device also includes:Optimization module, for receiving the trigger action to objective function option, and root Optimization process operation corresponding to being performed according to the objective function option to the terminal device.
Optionally, described device also includes:Removing module, for by the target in the application interface predeterminable area Function choosing-item is deleted.
Optionally, described device also includes:Judge module, for judging the candidate whether was performed in preset time Function;
The processing module, is additionally operable to:When judging to be not carried out candidate's function in preset time, institute is performed State and judge whether the current state information of functional parameter corresponding to candidate's function meets to show corresponding to candidate's function The step of condition.
Optionally, the display module, is additionally operable to:Shown on each function choosing-item current corresponding to each functional parameter Status information.
To achieve the above object, third aspect present invention embodiment proposes a kind of electronic equipment, including:Processor, deposit Reservoir, communication interface and bus;The processor, the memory and the communication interface are connected and completed by the bus Mutual communication;The memory storage executable program code;The processor is stored by reading in the memory Executable program code run program corresponding with the executable program code, for performing first aspect present invention The display methods at the application programs interface of embodiment.
To achieve the above object, fourth aspect present invention embodiment proposes a kind of storage medium, wherein, the storage is situated between Matter is used to store application program, and the application program is used for the display for operationally performing Application Program Interface of the present invention Method.
To achieve the above object, fifth aspect present invention embodiment proposes a kind of application program, wherein, it is described to apply journey Sequence is used for the display methods for operationally performing Application Program Interface of the present invention.
In the present invention, for each candidate's function in application program, by corresponding with candidate's function in terminal device Functional parameter current state information, and the current state information for obtaining functional parameter meets displaying bar corresponding to candidate's function The objective function of part, for acquired multiple objective functions, each mesh is shown according to the priority orders of each objective function Mark function choosing-item corresponding to function.Thus, determined to be currently needed for the function of displaying, and root according to the current state of terminal device The function choosing-item of corresponding function is sequentially shown in application interface predeterminable area according to the priority orders of function, user is facilitated and leads to Function corresponding to showing the quick startup of function choosing-item of corresponding function is crossed in application interface predeterminable area, reduces user and looks into manually The trouble of corresponding function is looked for, improves the Experience Degree of user.
Brief description of the drawings
Fig. 1 is the flow chart of the display methods of Application Program Interface according to an embodiment of the invention;
Fig. 2 a are the exemplary plots one of the application interface comprising function choosing-item;
Fig. 2 b are the exemplary plots two of the application interface comprising function choosing-item;
Fig. 3 is the flow chart of the display methods of Application Program Interface in accordance with another embodiment of the present invention;
Fig. 4 is the flow chart according to the display methods of the Application Program Interface of another embodiment of the invention;
Fig. 5 is the flow chart according to the display methods of the Application Program Interface of further embodiment of the present invention;
Fig. 6 is the structural representation of the display device of Application Program Interface according to an embodiment of the invention;
Fig. 7 is the structural representation of the display device of Application Program Interface in accordance with another embodiment of the present invention;
Fig. 8 is the structural representation according to the display device of the Application Program Interface of another embodiment of the invention;
Fig. 9 is the structural representation according to the display device of the Application Program Interface of further embodiment of the present invention;
Figure 10 is the structural representation of the display device of Application Program Interface in accordance with another embodiment of the present invention;
Figure 11 is the structural representation of electronic equipment according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings describe the display methods of the Application Program Interface of the embodiment of the present invention, device, electronic equipment and Storage medium.
Fig. 1 is the flow chart of the display methods of Application Program Interface according to an embodiment of the invention.
As shown in figure 1, the display methods of the Application Program Interface includes:
S11, for each candidate's function in application program, obtain function corresponding with candidate's function in terminal device and refer to Target current state information.
During using terminal equipment, receive triggering of the user to any one application program in terminal device and grasp Make, and the application program is started according to the trigger action of user.For each candidate's function in the application program, terminal is obtained The current state information of functional parameter corresponding with candidate's function in equipment.
Wherein, terminal device can be that the hardware that mobile phone, tablet personal computer, personal computer etc. have various operating systems is set It is standby.
, wherein it is desired to explanation, candidate's function is different, and the functional parameter corresponding to it is different.
As a kind of exemplary embodiment, when candidate's function is battery optimization function, battery optimization function is corresponding Functional parameter be terminal device battery, specifically, when candidate's function of application program includes battery optimization function, obtain The current electric quantity of the battery of terminal device is taken, current state information is the current electric quantity of battery.
As a kind of exemplary embodiment, when candidate's function is CPU cooling functions, corresponding to CPU cooling functions Functional parameter is the CPU of terminal device, obtains the Current Temperatures of CPU in terminal device, and current state information is CPU current temperature Degree.
As a kind of exemplary embodiment, when candidate's function is informing clearing function, obtain in terminal device What is notified in informing works as preceding article number, and current state information works as preceding article number for what is notified in informing.
As a kind of exemplary embodiment, when candidate's function is message security function, obtain in terminal device not The current quantity of message is read, current state information is the current quantity for not reading message.
As a kind of exemplary embodiment, when candidate's function is garbage-cleaning function, obtain in terminal device not The current capacities of rubbish are cleared up, current state information is the current capacities for not clearing up rubbish.
As a kind of exemplary embodiment, when candidate's function is acceleration function, internal memory in terminal device is obtained Current occupancy, current state information are the current occupancy of internal memory.
As a kind of exemplary embodiment, when candidate's function is killing function, the killing knot of terminal device is obtained The current state of fruit, wherein, the current state of killing result includes safe condition and non-secure states, and current state information is to look into Kill the current state of result.
As a kind of exemplary embodiment, when candidate's function is WiFi security functions, obtain in terminal device WiFi current connection state, current state information are WiFi current connection state.
S12, obtain functional parameter current state information meet candidate's function displaying condition objective function.
, wherein it is desired to explanation, candidate's function is different, and its corresponding displaying condition differs.For example, candidate's work( Can be battery optimization function, displaying condition corresponding to battery optimization function is less than default power threshold for the current electric quantity of battery When (such as 40%), battery optimization function is shown.In another example candidate's function is acceleration function, displaying bar corresponding to acceleration function When part is more than or equal to default occupancy threshold value for the occupancy of internal memory, acceleration function is shown.
Specifically, for each function choosing-item in application program, the current of functional parameter corresponding to candidate's function is detected Whether status information meets displaying condition corresponding to candidate's function, when the current shape for detecting functional parameter corresponding to candidate's function When state information meets displaying condition corresponding to candidate's function, it is objective function to determine candidate's function choosing-item.
As a kind of exemplary embodiment, when candidate's function is battery optimization function, the electricity of terminal device is judged Whether the current electric quantity in pond is less than default power threshold, if judging, the current electric quantity of the battery of terminal device is less than default electricity Threshold value, it is determined that battery optimization function is to meet the objective function of displaying condition.
Wherein, default power threshold is the threshold value of the electricity pre-set, for example, default power threshold is 40%.
As a kind of exemplary embodiment, when candidate's function is CPU cooling functions, the CPU of terminal device is judged Current Temperatures whether be more than preset temperature threshold value, if judging, the CPU of terminal device Current Temperatures are more than preset temperature threshold Value, it is determined that CPU cooling functions are the objective function for meeting displaying condition.
Wherein, preset temperature threshold value is the threshold value of the CPU pre-set temperature, for example, preset temperature threshold value can be 55℃。
As a kind of exemplary embodiment, when candidate's function is informing clearing function, judge in terminal device Notified in informing when whether preceding article number is more than or equal to the first predetermined number, if judging in terminal device in informing Notice is more than or equal to the first predetermined number when preceding article number, it is determined that informing clearing function is the mesh for meeting displaying condition Mark function.
Wherein, the first predetermined number is the threshold value that bar number is notified in the informing pre-set, for example, the first predetermined number For 3.
For example, it is assumed that the first predetermined number is 3, for informing clearing function, is led to if obtained in terminal device Know that the preceding article number of working as notified in column is 4, be more than the first predetermined number by comparing the bar number that can determine to be notified in informing, Then determine that informing clearing function is objective function.
As a kind of exemplary embodiment, when candidate's function is message security function, judge in terminal device not Whether the current quantity for reading message is more than or equal to the second predetermined number, if judging not reading the current of message in terminal device Quantity is more than or equal to the second predetermined number, it is determined that message security function is objective function.
Wherein, the second predetermined number is the threshold value of the default quantity for not reading message set.
For example, it is assumed that the second predetermined number is 10, for message security function, is not read in terminal device if obtained The current quantity of message is 12, passes through and compares, it may be determined that the current quantity for not reading message in terminal device is pre- more than second If quantity, now, it may be determined that message security function is objective function.
As a kind of exemplary embodiment, when candidate's function is garbage-cleaning function, judge in terminal device not Whether the current capacities of cleaning rubbish are more than preset capacity threshold value, if it is judged that not clearing up the current appearance of rubbish in terminal device Amount is more than preset capacity threshold value, it is determined that garbage-cleaning function is objective function.
Wherein, the threshold value of the preset capacity threshold value capacity of rubbish that is that what is pre-set do not clear up.
For example, it is assumed that preset capacity threshold value is 700MB, for garbage-cleaning function, if obtained in terminal device The current capacities for not clearing up rubbish are 750MB, pass through and compare, it may be determined that garbage-cleaning function is objective function.
As a kind of exemplary embodiment, when candidate's function is acceleration function, internal memory in terminal device is judged Whether current occupancy is more than or equal to default occupancy threshold value, if it is judged that in terminal device internal memory current occupancy More than or equal to default occupancy threshold value, it is determined that acceleration function is objective function.
As a kind of exemplary embodiment, when candidate's function is killing function, the killing knot of terminal device is judged Whether the current state of fruit is non-secure states, if, it is determined that killing function is objective function.
As a kind of exemplary embodiment, when candidate's function is WiFi security functions, institute in terminal device is judged Whether the WiFi of connection is safe WiFi, if it is not, determining that WiFi security functions are objective function.
As a kind of exemplary embodiment, it is determined that after terminal device connection WiFi, connected WiFi can be obtained Service set SSID (SSID, Service Set Identifier), and judge whether included in the cloud storehouse that pre-sets The SSID, if comprising, it is determined that the WiFi that terminal device is connected is not safe WiFi, otherwise determines that terminal device is connected WiFi be safe WiFi.
, wherein it is desired to illustrate, that preserved in cloud storehouse is safe WiFi SSID.
S13, for acquired multiple objective functions, each target is determined according to the priority orders of each objective function Displaying order of the function choosing-item corresponding to function in application interface predeterminable area.
For example, it is assumed that application program includes 5 candidate's functions, respectively candidate's function 1, candidate's function 2, candidate Function 3, candidate's function 4 and candidate's function 5, if the current shape according to functional parameter corresponding with candidate's function in terminal device State information determines that candidate's function 1, candidate's function 3 and candidate's function 5 are to meet the function of displaying condition, and pre- in terminal device The priority orders for the candidate's function of first setting are from high to low candidate's function 4, candidate's function 3, candidate's function 1, candidate's function 2 With candidate's function 5.After it is determined that needing the candidate's function 1, candidate's function 3 and the candidate's function 5 that show, by comparing candidate's function Priority orders, can really in application program predeterminable area function choosing-item displaying order be from front to back:Candidate's function 3 Function choosing-item 1 corresponding to corresponding function choosing-item 3, candidate's function 1, function choosing-item 5 corresponding to candidate's function 5.
S14, each objective function in application interface predeterminable area is shown according to displaying order corresponding to function choosing-item.
As a kind of exemplary embodiment, understand function relevant with function in terminal device in order to facilitate user and refer to Target current state, allow user to have more deep perception, each mesh is being shown in application interface predeterminable area according to displaying order While marking function choosing-item corresponding to function, current shape corresponding to each functional parameter can also be shown on each function choosing-item State information.
In addition, as a kind of exemplary embodiment, in order to improve the Consumer's Experience of man-machine interaction, selected in each function On while show current state information corresponding to each functional parameter, can also be shown on each function choosing-item corresponding to Prompt message.
For example, it is assumed that the exemplary plot of the application interface comprising function choosing-item, as shown in Figure 2 a, can be seen by Fig. 2 Go out, the current state information of battery is in battery optimization function choosing-item:Electricity 9%, corresponding prompt message are:" battery consumption It is too fast ".CPU current state information is in CPU cooling function options:55 DEG C of temperature, corresponding prompt message are:" warning!You Mobile phone need to cool ".The current state information notified in informing clearing function option is 5, and corresponding prompt message is: " rubbish notice is dragging your slow mobile phone speed!”.WiFi current state is corresponding to WiFi security function options:“CM- Guest " is dangerous, and corresponding prompt message is:" it is recommended that cancelling connection ".
The display methods of the Application Program Interface of the embodiment of the present invention, for each candidate's function in application program, lead to The current state information of functional parameter corresponding with candidate's function in terminal device is crossed, and obtains the current state letter of functional parameter Breath meets the objective function of displaying condition corresponding to candidate's function, for acquired multiple objective functions, according to each target The priority orders of function show function choosing-item corresponding to each objective function.Thus, it is true according to the current state of terminal device The function of being currently needed for displaying is made, and is sequentially shown and corresponded in application interface predeterminable area according to the priority orders of function The function choosing-item of function, user is facilitated by showing that the function choosing-item of corresponding function quickly starts in application interface predeterminable area Corresponding function, reduce the trouble that user searches corresponding function manually, improve the Experience Degree of user.
On the basis of above-described embodiment, in order to facilitate user by triggering the function choosing-item in application interface to terminal Equipment optimizes processing, each objective function is being shown in application interface predeterminable area according to displaying order corresponding to function After option, as shown in figure 3, this method can also include:
S15, the trigger action to objective function option is received, and correspondence is performed to terminal device according to objective function option Optimization process operation.
, wherein it is desired to explanation, the optimization process operation corresponding to difference in functionality option is different.
For example, when the objective function option of user's triggering is garbage-cleaning function, performed optimization processing behaviour As:Rubbish of not clearing up in terminal device is cleared up.
In another example when the objective function option of user's triggering is acceleration function, performed optimization process operation is:It is right Internal memory in terminal device carries out acceleration processing.
On the basis of above-described embodiment, in order to improve the Experience Degree of user, reduce the function choosing-item of executed to The influence at family, the trigger action to objective function option is being received, and correspondence is performed to terminal device according to objective function option Optimization process operation after, as shown in figure 4, this method also includes:
S16, the objective function option in application interface predeterminable area is deleted.
For example, it is assumed that the exemplary plot of the application interface comprising function choosing-item, as shown in Figure 2 a, wherein it is desired to illustrate , it is only illustrative in Fig. 2 a and illustrates partial function option, it is assumed that is also included in the safe candidate's function choosing-items of WiFi Acceleration function option, after the battery optimization function choosing-item that user triggers application interface, mobile phone is according to the trigger action pair of user Mobile phone carries out battery optimization, and after battery optimization is completed, the battery optimization function choosing-item in application interface predeterminable area is deleted Remove, delete the exemplary plot of the application interface after battery optimization function choosing-item, as shown in Figure 2 b.
, wherein it is desired to explanation, because the screen of terminal device is limited, can not show all mesh in same screen When marking each self-corresponding function choosing-item of function, user can be received the upward sliding of predeterminable area is operated, and according to the cunning of user Dynamic operation provides the user corresponding function choosing-item.
Fig. 5 is the flow chart according to the display methods of the Application Program Interface of further embodiment of the present invention.
As shown in figure 5, the display methods of the Application Program Interface includes:
S51, for each candidate's function in application program, obtain function corresponding with candidate's function in terminal device and refer to Target current state information.
, wherein it is desired to explanation, step S51 is identical with abovementioned steps S11, the foregoing explanation to step S11 Using the step S51 of the embodiment, here is omitted.
S52, judge candidate's function whether was performed in preset time, if so, then performing step S53.
Wherein, preset time is the time pre-set, for example, preset time is 20 minutes.
Generally, terminal device is optimized in the short time after handling, that is, is used by triggering some function in user , because terminal device has been completed to optimize, therefore, same function pair is repeatedly triggered in the short time again by the function is triggered in family Terminal device optimization is unintentionally.In order to reduce influence of the function of having been performed in the short time to user, the embodiment judges It is true by step S53 when candidate's function whether was performed in preset time, and being not carried out in preset time candidate's function Determine whether candidate's function is the function of needing to show.
Whether S53, the current state information for detecting functional parameter corresponding to candidate's function meet to open up corresponding to candidate's function Show condition, if so, then performing step S54.
S54, it is objective function to determine candidate's function.
For example, it is assumed that candidate's function is battery optimization function, and displaying condition is corresponding to battery optimization function:Battery Electricity be less than 40%, can determine whether user performed battery optimization function in 20 minutes, if so, then determining whether battery Current electric quantity whether be less than 40%, if judge battery current electric quantity be less than 40%, it is determined that battery optimization function is mesh Mark function, i.e. function choosing-item corresponding to battery optimization function is subsequently shown in application interface predeterminable area.
S55, for acquired multiple objective functions, each target is determined according to the priority orders of each objective function Displaying order of the function choosing-item corresponding to function in application interface predeterminable area.
S56, each objective function in application interface predeterminable area is shown according to displaying order corresponding to function choosing-item.
, wherein it is desired to explanation, the foregoing explanation to step S13-S14 are also applied for step S55-S56, herein Repeat no more.
The display methods of the Application Program Interface of the embodiment of the present invention, pass through work(corresponding with candidate's function in terminal device The current state information of energy index, and when judging to be not carried out candidate's function in preset time, detect candidate's function Whether the current state information of corresponding functional parameter meets displaying condition corresponding to candidate's function, and in detection candidate's function pair When the current state information for the functional parameter answered meets displaying condition corresponding to candidate's function, it is target work(to determine candidate's function Can, and for acquired multiple objective functions, each objective function is shown according to the priority orders of each objective function Corresponding function choosing-item.Thus, determined to be currently needed for the function of displaying according to the current state of terminal device, and according to function Priority orders the function choosing-item of corresponding function is sequentially shown in application interface predeterminable area, facilitate user and pass through application Function corresponding to the quick startup of function choosing-item of corresponding function is shown in the predeterminable area of interface, reduces user and searches manually correspondingly The trouble of function, improve the Experience Degree of user.
In order to realize above-described embodiment, the present invention also proposes a kind of display device of Application Program Interface.
Fig. 6 is the structural representation of the display device of Application Program Interface according to an embodiment of the invention.
As shown in fig. 6, the display device of the Application Program Interface includes the first acquisition module 110, the second acquisition module 120th, determining module 130 and display module 140, wherein:
First acquisition module 110 be used for be directed to application program in each candidate's function, obtain terminal device in candidate The current state information of functional parameter corresponding to function.
The current state information that second acquisition module 120 is used to obtaining functional parameter meets the displaying condition of candidate's function Objective function.
Determining module 130 is used for the function according to corresponding to the priority orders of each objective function determine each objective function Displaying order of the option in application interface predeterminable area.
Corresponding to display module 140 is used in application interface predeterminable area showing each objective function according to displaying order Function choosing-item.
In one embodiment of the invention, on the basis of shown in Fig. 6, as shown in fig. 7, the second acquisition module 120 can With including:
Whether the current state information that detection unit 121 is used to detect functional parameter corresponding to candidate's function meets candidate's work( Displaying condition corresponding to energy;
Determining unit 122 is used for when the current state information for detecting functional parameter corresponding to candidate's function meets candidate's work( Corresponding to energy during displaying condition, it is objective function to determine candidate's function.
In one embodiment of the invention, on the basis of shown in Fig. 6, as shown in figure 8, the device can also include:
Optimization module 150 is used to receive the trigger action to objective function option, and according to objective function option to terminal Optimization process operation corresponding to equipment execution.
, wherein it is desired to illustrate, the optimization module 150 in the device embodiment shown in earlier figures 8 can also be included in In device embodiment shown in earlier figures 7, the embodiment is not construed as limiting to this.
In one embodiment of the invention, on the basis of shown in Fig. 8, as shown in figure 9, the device can also include:
Removing module 160 is used to delete the objective function option in application interface predeterminable area.
In one embodiment of the invention, on the basis of shown in Fig. 6, as shown in Figure 10, the device can also include:
Judge module 170 is used to judge whether performed candidate's function in preset time.
In one embodiment of the invention, processing module 120 is additionally operable to:Judging to be not carried out in preset time During candidate's function, execution judges whether the current state information of functional parameter corresponding to candidate's function meets corresponding to candidate's function The step of displaying condition.
Wherein, it should be noted that, the structure of the judge module 170 in the device embodiment shown in earlier figures 10 can also wrap It is contained in the device embodiment shown in earlier figures 7- Fig. 9, the embodiment is not construed as limiting to this.
In one embodiment of the invention, display module 140 is additionally operable to:Each function is shown on each function choosing-item Current state information corresponding to index.
As a kind of exemplary embodiment, understand function relevant with function in terminal device in order to facilitate user and refer to Target current state, allow user to have more deep perception, display module 140 according to displaying order in application interface predeterminable area While showing function choosing-item corresponding to each objective function, each functional parameter pair can also be shown on each function choosing-item The current state information answered.
In addition, as a kind of exemplary embodiment, in order to improve the Consumer's Experience of man-machine interaction, in display module While showing current state information corresponding to each functional parameter on 140 each function choosing-items, it can also be selected in each function Prompt message corresponding to display on item.
, wherein it is desired to explanation, the explanation of the foregoing display methods embodiment to Application Program Interface are also suitable In the display device of the Application Program Interface of the embodiment, here is omitted.
The display device of the Application Program Interface of the embodiment of the present invention, for each candidate's function in application program, lead to The current state information of functional parameter corresponding with candidate's function in terminal device is crossed, and obtains the current state letter of functional parameter Breath meets the objective function of displaying condition corresponding to candidate's function, for acquired multiple objective functions, according to each target The priority orders of function show function choosing-item corresponding to each objective function.Thus, it is true according to the current state of terminal device The function of being currently needed for displaying is made, and is sequentially shown and corresponded in application interface predeterminable area according to the priority orders of function The function choosing-item of function, user is facilitated by showing that the function choosing-item of corresponding function quickly starts in application interface predeterminable area Corresponding function, reduce the trouble that user searches corresponding function manually, improve the Experience Degree of user.
In order to realize above-described embodiment, the present invention also proposes a kind of electronic equipment.
Figure 11 is the structural representation of electronic equipment according to an embodiment of the invention.
As shown in figure 11, the electronic equipment includes processor 51, memory 52, communication interface 53 and bus 54, wherein:
Processor 51, memory 52 and communication interface 53 are connected by bus 54 and complete mutual communication;Memory 52 storage executable program codes;Processor 51 by read the executable program code stored in memory 52 run with can Program corresponding to configuration processor code, for performing the display methods of the Application Program Interface in upper embodiment.
The electronic equipment of the embodiment of the present invention, for each candidate's function in application program, by terminal device with The current state information of functional parameter corresponding to candidate's function, and the current state information for obtaining functional parameter meets candidate's function The objective function of corresponding displaying condition, it is suitable according to the priority of each objective function for acquired multiple objective functions Sequence shows function choosing-item corresponding to each objective function.Thus, determine to be currently needed for opening up according to the current state of terminal device The function of showing, and sequentially show that the function of corresponding function is selected in application interface predeterminable area according to the priority orders of function , user is facilitated by function corresponding to the quick startup of the function choosing-item for show corresponding function in application interface predeterminable area, Reduce the trouble that user searches corresponding function manually, improve the Experience Degree of user.
In order to realize above-described embodiment, the present invention also proposes a kind of storage medium, wherein, storage medium, which is used to store, to be applied Program, application program are used for the display methods for operationally performing the Application Program Interface of the present invention.
In order to realize above-described embodiment, the present invention also proposes a kind of application program, wherein, application program is used for operationally Perform the display methods of the Application Program Interface of the present invention.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that can the paper of print routine thereon or other suitable be situated between Matter, because can then enter edlin, interpretation or if necessary with other for example by carrying out optical scanner to paper or other media Suitable method is handled electronically to obtain program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly be can by program come instruct correlation hardware complete, program can be stored in a kind of computer-readable recording medium In, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.If integrated module with The form of software function module realize and be used as independent production marketing or in use, can also be stored in one it is computer-readable Take in storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

1. a kind of display methods of Application Program Interface, it is characterised in that comprise the following steps:
For each candidate's function in application program, functional parameter corresponding with candidate's function in terminal device is obtained Current state information;
Obtain the functional parameter current state information meet candidate's function displaying condition objective function;
For acquired multiple objective functions, determine that each objective function is corresponding according to the priority orders of each objective function Function choosing-item in application interface predeterminable area displaying order;
The function choosing-item according to corresponding to displaying order shows each objective function in the application interface predeterminable area.
2. according to the method for claim 1, it is characterised in that the current state information for obtaining the functional parameter is expired The objective function of the displaying condition of foot candidate's function, including:
Whether the current state information for detecting functional parameter corresponding to candidate's function meets to open up corresponding to candidate's function Show condition, when the current state information for detecting functional parameter corresponding to candidate's function meets corresponding to candidate's function During displaying condition, it is objective function to determine candidate's function.
3. according to the method for claim 1, it is characterised in that it is described according to the displaying order in the application interface After function choosing-item corresponding to each objective function is shown in predeterminable area, methods described also includes:
The trigger action to objective function option is received, and correspondence is performed to the terminal device according to the objective function option Optimization process operation.
4. according to the method for claim 3, it is characterised in that the trigger action in the reception to objective function option, And after optimization process operation corresponding to being performed according to the objective function option to the terminal device, methods described is also wrapped Include:
The objective function option in the application interface predeterminable area is deleted.
5. according to the method for claim 1, it is characterised in that in the current state information for obtaining the functional parameter Before the objective function for meeting the displaying condition of candidate's function, methods described also includes:
Judge candidate's function whether was performed in preset time;
If judging to be not carried out candidate's function in preset time, the current of the acquisition functional parameter is performed Status information meets the step of objective function of the displaying condition of candidate's function.
6. according to the method described in claim any one of 1-5, it is characterised in that it is described according to the displaying order described While function choosing-item corresponding to each objective function is shown in application interface predeterminable area, methods described also includes:
Current state information corresponding to each functional parameter is shown on each function choosing-item.
A kind of 7. display device of Application Program Interface, it is characterised in that including:
First acquisition module, for for each candidate's function in application program, obtain in terminal device with candidate's work( The current state information of functional parameter corresponding to energy;
Second acquisition module, the current state information for obtaining the functional parameter meet the displaying condition of candidate's function Objective function;
Determining module, for for acquired multiple objective functions, being determined according to the priority orders of each objective function every Displaying order of the function choosing-item corresponding to individual objective function in application interface predeterminable area;
Display module, for showing that each objective function is corresponding in the application interface predeterminable area according to displaying order Function choosing-item.
8. device according to claim 7, it is characterised in that second acquisition module, including:
Whether detection unit, the current state information for detecting functional parameter corresponding to candidate's function meet the candidate Displaying condition corresponding to function;
Determining unit, for meeting the candidate when the current state information for detecting functional parameter corresponding to candidate's function Corresponding to function during displaying condition, it is objective function to determine candidate's function.
9. a kind of electronic equipment, it is characterised in that including reason device, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual communication;
The memory storage executable program code;
The processor is run and the executable program by reading the executable program code stored in the memory Program corresponding to code, for performing the display methods of the Application Program Interface as described in claim any one of 1-6.
10. a kind of storage medium, it is characterised in that the storage medium is used to store application program, and the application program is used for Operationally perform the display methods of the Application Program Interface as described in claim any one of 1-6.
CN201710890889.9A 2017-09-27 2017-09-27 Application program interface display method and device, electronic equipment and storage medium Pending CN107807834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710890889.9A CN107807834A (en) 2017-09-27 2017-09-27 Application program interface display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710890889.9A CN107807834A (en) 2017-09-27 2017-09-27 Application program interface display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN107807834A true CN107807834A (en) 2018-03-16

Family

ID=61592501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710890889.9A Pending CN107807834A (en) 2017-09-27 2017-09-27 Application program interface display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107807834A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242727A (en) * 2018-08-24 2019-01-18 平安科技(深圳)有限公司 A kind of information displaying method, storage medium and the server of house prosperity transaction system
CN112035100A (en) * 2020-09-03 2020-12-04 中国平安财产保险股份有限公司 Data display method, device, equipment and storage medium
CN112562601A (en) * 2020-12-21 2021-03-26 上海树泉信息技术有限公司 Optimal backlight time calculation method and application
CN112817662A (en) * 2021-02-22 2021-05-18 北京小米移动软件有限公司 Method and device for starting application program functional interface and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153376A1 (en) * 2002-03-01 2004-08-05 I2 Technologies Us, Inc. Generating an optimized supplier allocation plan
CN102308272A (en) * 2011-07-07 2012-01-04 华为终端有限公司 Method and device for automatic display of applications on home screen
CN104536813A (en) * 2014-12-29 2015-04-22 北京奇虎科技有限公司 Accelerating method and device for computing equipment
CN104714895A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and method and device for increasing running speed of mobile terminal
US20150317274A1 (en) * 2014-05-05 2015-11-05 International Business Machines Corporation Implementing coherent accelerator function isolation for virtualization
CN106951057A (en) * 2017-03-23 2017-07-14 广东欧珀移动通信有限公司 The control method and mobile terminal of application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153376A1 (en) * 2002-03-01 2004-08-05 I2 Technologies Us, Inc. Generating an optimized supplier allocation plan
CN102308272A (en) * 2011-07-07 2012-01-04 华为终端有限公司 Method and device for automatic display of applications on home screen
US20150317274A1 (en) * 2014-05-05 2015-11-05 International Business Machines Corporation Implementing coherent accelerator function isolation for virtualization
CN104536813A (en) * 2014-12-29 2015-04-22 北京奇虎科技有限公司 Accelerating method and device for computing equipment
CN104714895A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and method and device for increasing running speed of mobile terminal
CN106951057A (en) * 2017-03-23 2017-07-14 广东欧珀移动通信有限公司 The control method and mobile terminal of application

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242727A (en) * 2018-08-24 2019-01-18 平安科技(深圳)有限公司 A kind of information displaying method, storage medium and the server of house prosperity transaction system
CN112035100A (en) * 2020-09-03 2020-12-04 中国平安财产保险股份有限公司 Data display method, device, equipment and storage medium
CN112562601A (en) * 2020-12-21 2021-03-26 上海树泉信息技术有限公司 Optimal backlight time calculation method and application
CN112817662A (en) * 2021-02-22 2021-05-18 北京小米移动软件有限公司 Method and device for starting application program functional interface and terminal equipment

Similar Documents

Publication Publication Date Title
CN107807834A (en) Application program interface display method and device, electronic equipment and storage medium
CN106202095B (en) Group message display method and device
JP2016502204A5 (en)
CN104580385B (en) A kind of method and device for expanding customer relationship chain
CN103941871B (en) The method and apparatus for controlling the hardware running status of intelligent terminal
CN105004492B (en) Method and device for detecting leakage of refrigerant of air conditioning unit
CN105450505A (en) Notification message processing method and device and terminal equipment
CN107447442A (en) A kind of alarm method and smart machine based on image recognition technology
CN107653625A (en) A kind of intelligent detecting method and smart machine
CN107370644B (en) Linkage control method and device, computer readable storage medium and computer equipment
CN109614608A (en) Electronic device, text information detection method and storage medium
CN104965731B (en) A kind of data processing method and electric terminal
CN106448090A (en) Information reminding method and device
CN110458296A (en) The labeling method and device of object event, storage medium and electronic device
CN114244644A (en) Smart home control method and device, storage medium and electronic device
CN106446647A (en) Method and device for processing browser webpage browsing
CN106940923A (en) A kind of alarm monitoring method and device
CN105335636B (en) The control method and control system of a kind of smart home device
CN111130867B (en) Intelligent household equipment alarm method and device based on Internet of things
CN110749027B (en) Monitoring method and device for electrical equipment, air conditioner and storage medium
CN103888423B (en) Information processing method and information processing equipment
CN108171079A (en) A kind of collecting method based on terminal, device, terminal and storage medium
CN105049452B (en) Switching method, device and the intelligent terminal of resource downloading mode
CN113269828B (en) Method and device for searching articles, air conditioning equipment and storage medium
CN107666398B (en) Group notification method, system and storage medium based on user behavior

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: 20180316