CN104714805B - A kind of method and device of the setting menu of control application program - Google Patents
A kind of method and device of the setting menu of control application program Download PDFInfo
- Publication number
- CN104714805B CN104714805B CN201510128203.3A CN201510128203A CN104714805B CN 104714805 B CN104714805 B CN 104714805B CN 201510128203 A CN201510128203 A CN 201510128203A CN 104714805 B CN104714805 B CN 104714805B
- Authority
- CN
- China
- Prior art keywords
- setting
- program
- application program
- menu
- application
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of method and devices of the setting menu of control application program, are related to field of electronic device, the setting menu built in application program is passed through setting program display.It is instructed this method comprises: setting program obtains setting menu call;The setting menu that menu call instruction is used to indicate setting program display application program is set;Program is arranged to be instructed according to setting menu call, the description data of the setting menu of application program storage are obtained by access interface;Access interface is used for transmission data relevant to the setting menu of application program;Description data are used to store the menu item of the setting menu of application program;Program is set according to the setting menu of description data display applications program.
Description
Technical field
The present invention relates to field of electronic device more particularly to a kind of methods and dress of the setting menu of control application program
It sets.
Background technique
In order to meet the needs of people are different, user can install various application programs in smart machine.Many applications
Can all there be built-in setting menu that the relevant options of application program are checked and be arranged for user in program.Different application is set
The different location that menu is distributed in each application program is set, when user searches setting menu in the application, unfixed
Accessed path when user needs to be configured the relevant options of application program, needs gradually to search setting in the application
Menu, therefore reduce user experience.
To solve the above-mentioned problems, a kind of side based on the setting of operating system aggregated application program is provided in the prior art
Method, concrete scheme are as follows: setting up the set interface setup rule information of application program;Application program end with operating system interface
Node in, according to the Rule Information be written data;The system setting program of system terminal is to all applications that installation is completed
Program inquires the data of the node, and the application program for meeting the Rule Information is polymerize presentation in system setup menu.In this way
All application programs for meeting Rule Information can be polymerize to presentation in system setup menu, user clicks desired setting
Application program, which will be activated, and then, program is arranged by application journey corresponding to start-up parameter information in system
Sequence set interface starts corresponding application program set interface.
During the set interface for stating control application program in realization, inventor's discovery at least exists in the prior art
Following problem: above scheme is only simply that the setting menu of each application program adds a jump in system setting program
It is transferred to mouth, final or application program display setting menu can not be arranged in program in system and show setting for each application program
Set menu.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of the setting menu of control application program, by that will apply journey
The display of the setting menu of sequence and the description data separating of setting menu will be answered into setting two programs of program and application program
Pass through setting program display with the setting menu built in program.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the present invention provides a kind of methods of the setting menu of control application program, comprising:
Program is set and obtains setting menu call instruction;Setting menu call, which instructs, is used to indicate setting program display application
The setting menu of program;
Program is arranged to be instructed according to setting menu call, the setting menu of application program storage is obtained by access interface
Data are described;Access interface is used for transmission data relevant to the setting menu of application program;Data are described for storing application
The menu item of the setting menu of program;
Program is set according to the setting menu of description data display applications program.
Second aspect, the present invention provides a kind of devices of the setting menu of control application program, comprising: setting program mould
Block and application program module;
Program module is set, is instructed for obtaining setting menu call;Setting menu call, which instructs, is used to indicate setting journey
Sequence module shows the setting menu of application program;
Program module is set, is also used to be instructed according to setting menu call, application program storage is obtained by access interface
Setting menu description data;Access interface is used for transmission data relevant to the setting menu of application program;Data are described
For storing the menu item of the setting menu of application program module;
Program module is set, the setting menu according to description data display applications program is also used to.
The embodiment of the invention provides a kind of method and device of the setting menu of control application program, setting program is obtained
Menu call is arranged to instruct, is instructed according to setting menu call, the setting menu of application program storage is obtained by access interface
Description data, and according to description data display applications program setting menu.Storage setting menu in this way in application program
Description data are shown, so that the display of the setting menu of application program is mutually separated with the description data of setting menu, finally
Can setting menu built-in in application program directly be shown in setting program.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention
Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the method for the setting menu of control application program provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram that menu display mode is arranged provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of another setting menu display mode provided in an embodiment of the present invention;
Fig. 4 is the process signal of the method for the setting menu of another control application program provided in an embodiment of the present invention
Figure;
Fig. 5 is the process signal of the method for the setting menu of another control application program provided in an embodiment of the present invention
Figure;
Fig. 6 is the process signal of the method for the setting menu of another control application program provided in an embodiment of the present invention
Figure;
Fig. 7 is the process signal of the method for the setting menu of another control application program provided in an embodiment of the present invention
Figure;
Fig. 8 is the process signal of the method for the setting menu of another control application program provided in an embodiment of the present invention
Figure;
Fig. 9 is a kind of functional schematic of the device of the setting menu of control application program provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is provided by the invention control application program setting menu method, by application program setting menu display with
The description data separating of menu is set into setting two programs of program and application program.Application program can be to setting menu
Description data are modified, the logical communication link in control setting menu between the various menu item, at the same provide striding course inquiry and
The access interface of rewriting.The description data that are arranged menu of the program by this access interface striding course inquiry application are set,
And shown the setting menu of application program according to description data, when some setting options of user's operation display interface
When, data of the user to the operation of setting menu can also be passed to application program by access interface by setting program, be applied
Program depending on the user's operation, modifies or directly executes counterlogic to the description data of setting menu.
It should be noted that the setting menu of application program is made of a plurality of menu item, each menu item corresponding one is retouched
State data.Each menu item that menu is arranged is defined and is stored in a manner of a description data.Each is retouched
Stating data is by multiple fields predetermined, and field stores its corresponding attribute value and the attribute value group of each field closes
Come what is described.Necessary field and respective description in the description data of each menu item are listed in following table.
Wherein, numeric field can be modified for storing the numerical value that user can modify in the current set of menu item, user is showing
The setting operation of menu item can be converted by setting program on interface, the modification of the numerical value of this field is operated, application program is logical
It crosses after access interface listens to the modification of this numerical value, executes the corresponding logical code of modified data, complete primary modification.Dish
Individual event identification code field is used to store the unique identification of the current set of menu item, this mark represents a menu item, to the behaviour of menu item
It is converted to the operation to the data comprising its menu item identification code.Whether there is submenu field for indicating current dish
Whether individual event has Submenu Items.Parent menu item identifies menu item identification code of the code field for the parent menu item of storage menu item.
It is linked to each other between parent menu item and Submenu Items by exclusive identification code.When menu item is unfolded or is clicked, setting
Program can inquire in this menu item corresponding data the value of " whether having submenu " field first, if there is Submenu Items, then can look into
It askes parent menu item in the description data of all menu items and identifies code field, by the menu item identification code of parent menu item and current dish
The identical menu item of individual event identification code is determined as the Submenu Items of the current set of menu item.
It should be noted that each menu item is made of one or more controls, the type of control may include: by
Button, switch, progress bar, drop-down list, option square etc..
The embodiment of the invention provides a kind of methods of the setting menu of control application program, as shown in Figure 1, comprising:
101, setting program obtains setting menu call and instructs.
Wherein, setting menu call instructs the setting menu for being used to indicate setting program display application program.
It should be noted that setting program is the program for specially controlling the setting menu of all application programs.It is each
The description data of the setting menu of application program are stored respectively in each application program, and setting program does not save these information,
When needing to show the setting menu of some application program, the access interface that setting program provides when being registered by application program is dynamic
State reads the description data of the setting menu of the application program, and according to the description data display setting menu read.In this way
Realize the display of setting menu and decoupling, the description data of the setting menu of application program of the description data of setting menu
It can be changed by corresponding application program dynamic, and directly can show setting built-in in application program in setting program
Menu.
Specifically, the user in operating system, which inputs management module (window manager), detects that user inputs letter
Breath determines that the user inputs the Call Condition whether information meets setting program, in the feelings for the Call Condition for meeting setting program
Under condition, triggering setting program starts, and setting program loads setting menu call during startup and instructs.Wherein, Call Condition
As long as the condition of other operations of triggering is different from the prior art, it can be the specific key of triggering, can also be existed with user
Particular track is marked on display screen, the present invention is without limitation.
Illustratively, it is assumed that triggering setting routine call condition is that user triggers specific setting button, in equipment monitoring
To after user's operation, determine whether the operation of user is triggering setting button, is triggering setting button in the operation for determining user
In the case where, triggering setting program starts, and setting program loads setting menu call during startup and instructs.
102, setting program is instructed according to setting menu call, and the setting dish of application program storage is obtained by access interface
Single description data.
Wherein, access interface is used for transmission relevant with the setting menu of application program between setting program and application program
Data, description data are used to store the menu item of the setting menu of application program.
It should be noted that being stored with the application mark of registered application program in the application database of setting program
Knowledge and corresponding access interface.Wherein, application identities are used to one application program of unique identification.By taking Android system as an example, application
The application identities of program can be packet name character string.Access interface is used to striding course and obtains the description data of setting menu and change
It writes in description data and modifies numerical value.
Specifically, setting program determines according to the instruction after getting setting menu call and instructing and needs to show setting
The application program of menu finds out needs and shows setting menu then from the application database that setting program is stored
The corresponding access interface of application program, setting program parse access interface, pass through this interface read setting menu description number
According to.The description data of read operation request are back to setting program by the read operation of this interface of application response simultaneously.
It should be noted that the trigger condition obtained according to setting program when setting menu call instructs is different, cause to set
The setting menu call instruction for setting program acquisition is different, and then it is different that the display mode of menu on the screen is arranged.One is will
The setting menu of all registered application programs is all shown.Another kind is the setting for the application program for handling user
Menu is shown.
Further, the application identities of application program can be carried in call instruction, and program is set at this time and only shows calling
The setting menu for the application program specified in instruction.
It should be noted that there may be need the application program of display setting menu not register in setting program
The case where crossing does not store the corresponding application identities of the application program in the application database of setting program and access connects
Mouthful, program is set at this time and is searched from application database less than corresponding access interface, program is arranged at this time to be obtained
The description data of menu are set, and then cannot show the setting menu of the application program.
It should be noted that user, can be to setting dish after the setting menu of display application program due in most cases
Option in list is modified, so application program is needed to description after setting program reads the description data of application program
Can be modified in data numerical value addition data variation monitor, for monitoring users in the display interface to can modify data progress
Modification.Program is arranged simultaneously (such as can also can modify numerical value, visibility, available to the field that can be modified in description data
Property etc.) addition data variation monitor, when the description data that the data variation monitor listens in application program change
When, setting program re-reads description data, and shows updated setting menu.
103, setting program is according to the setting menu for describing data display applications program.
Specifically, setting program parses the description data that read, according to the rule of the description data definition of setting menu,
By every description data conversion at a menu item, and the various menu item is shown in display interface.
The embodiment of the invention provides a kind of method of the setting menu of control application program, setting program obtains setting dish
Unitary call instruction is instructed according to setting menu call, and the description of the setting menu of application program storage is obtained by access interface
Data, and according to the setting menu of description data display applications program.The description number of storage setting menu in this way in application program
According to the description data for the setting menu that setting program reads application program by access interface are shown, so that application program
The display of setting menu mutually separated with the description data of setting menu, may finally directly in setting program display using journey
Built-in setting menu in sequence.
It should be noted that one is infuse all the embodiment of the invention provides the display mode that two kinds are arranged menu
The setting menu for the application program that volume is crossed all is shown, needs for current movable application program to be switched into display interface
Be arranged program, at this point, setting menu display can be as shown in Figure 2 by display in need application program setting menu
It shows simultaneously in the display interface, can also show that left hand page has multirow, one application program of every row with two pages of left and right
Title clicks a wherein guild and shows that second page, second page show the setting menu of this application program.Another kind is by user
The display interface that the setting menu of the application program handled floats on application program is shown, shows boundary into this
Face does not need switching application program, and current applications active is constant and continues to run, and the display of menu is arranged as shown in Figure 3
Interface can call appearance at any time, and part of screen float in space is occupied on the interface of current application program and is shown.No
With trigger condition, lead to be arranged that the setting menu call instruction that program obtains is different, and then menu on the screen aobvious is set
Show mode difference.The processing step of corresponding terminal is instructed to carry out respectively different setting menu calls with two embodiments below
Explanation.
The embodiment of the invention provides a kind of methods of the setting menu of control application program, when setting menu call instructs
Menu call is arranged for the current application that the setting menu for the application program that program display user is being handled is arranged in instruction to instruct,
As shown in Figure 4, comprising:
401, setting program obtains current application setting menu call and instructs.
Wherein, current application setting menu call, which instructs, is used to indicate the setting movable application program of program display top layer
Menu is set.
It should be noted that the movable application program of top layer refers to the application program of current user operation.
Specifically, the user in operating system, which inputs management module (window manager), detects that user inputs letter
Breath determines that the user inputs whether information meets the condition that instruction is arranged in setting routine call current application, is meeting calling item
In the case where part, triggering starting setting program, setting program loads current application setting menu call during startup and instructs.
402, setting program obtains the application identities of the movable application program of top layer.
Wherein, application identities are used for one application program of unique identification.
Specifically, passing through the application management of operating system after setting program receives current application setting menu call instruction
Frame (activity manager) inquires the application identities of the current movable application program of top layer.
403, setting program is arranged menu call according to current application and instructs, and obtains that top layer is movable answers by access interface
With the description data for the setting menu that program stores.
Wherein, access interface is used for transmission relevant with the setting menu of application program between setting program and application program
Data.Description data are used to store the menu item of the setting menu of application program.
Specifically, can refer to step 102, no longer illustrate herein.
404, setting program shows the setting menu of the movable application program of top layer according to description data.
Specifically, can refer to step 103, no longer illustrate herein.
The embodiment of the invention provides a kind of method of the setting menu of control application program, setting program, which obtains, is currently answered
It is instructed with setting menu call, obtains the application identities of the movable application program of top layer, setting program is arranged according to current application
Menu call instruction obtains the description data of the setting menu of the movable application program storage of top layer, and root by access interface
The setting menu of the movable application program of top layer is shown according to description data.The description number of storage setting menu in this way in application program
According to the description data for the setting menu that setting program reads application program by access interface are shown, so that application program
The display of setting menu mutually separated with the description data of setting menu, may finally directly in setting program display using journey
Built-in setting menu in sequence.
The embodiment of the invention provides the methods of the setting menu of another control application program, when setting menu call refers to
It enables the registered applications for the setting menu of instruction setting all registered application programs of program display that menu call is arranged to refer to
It enables.As shown in Figure 5, comprising:
501, setting program obtains registered applications setting menu call and instructs.
Wherein, registered applications setting menu call, which instructs, is used to indicate the setting registered application program of program display
Menu is set.
Specifically, the user in operating system, which inputs management module (window manager), detects that user inputs letter
Breath determines that the user inputs whether information meets the condition that menu call instruction is arranged in setting routine call registered applications,
Triggering setting program starts in the case where meeting Call Condition, and setting program loads registered applications setting dish during startup
Unitary call instruction.
502, setting program searches the application identities of registered application program from application database.
Wherein, application database is that the application identities for being used to store registered application program of program management are arranged
And the database of corresponding access interface.
Specifically, setting program reads all records from application database, obtain all in setting program registration
The application identities for the application program crossed.
503, menu call instruction and application program identification are set according to registered applications, pass sequentially through and application program mark
Know the description data that corresponding access interface obtains the setting menu of application program storage corresponding with application program identification, and root
According to the setting menu of description data display applications program.
Specifically, successively obtaining the description data of each application program, and answer each according to the application identities got
With the setting menu of program in same interface display.The process for obtaining the description data of each application program, can refer to step
102, according to the process that description data show the setting menu of each application program, it can refer to step 103, herein no longer
It repeats.
The embodiment of the invention provides a kind of method of the setting menu of control application program, setting program obtains registered
It is instructed using setting menu call, setting program searches the application mark of registered application program from application database
Know, menu call instruction and application program identification are set according to registered applications, passed sequentially through corresponding with application program identification
Access interface obtains the description data of the setting menu of application program storage corresponding with application program identification, and according to description number
According to the setting menu of display application program.The description data of storage setting menu, setting program pass through visit in this way in application program
Ask that interface reads the description data of setting menu of application program and shown so that the display of the setting menu of application program and
The description data that menu is arranged mutually separate, and directly may finally show setting dish built-in in application program in setting program
It is single.
How setting menu built-in in application program to be shown it should be noted that above-described embodiment only describes
Show, on the basis of display, user can also modify to the option in setting menu, so the embodiment of the invention provides one
The method of the setting menu of kind control application program, for repairing the description data that the setting menu of program display is arranged
Change.As shown in Figure 6, comprising:
601, setting program obtains setting operational order.
Wherein, setting operational order is used to change the target menu item in the setting menu of application program.Setting operation refers to
Enable the updated value for modifying numeric field for carrying target menu item.
It should be noted that target menu item is the menu item that operational order is arranged and needs to modify.
Specifically, the setting menu control of display belongs to different application programs respectively, in general, one is generated in system
Table is opened, using application program identification as keyword, using its menu item identification code array as numerical value.In this way, clicking some dish
When individual event, it is to belong to that application program that program, which can be found,.User in operating system inputs management module (window
Manager the operation that) detects operation of the user to display interface, and will test is distributed on setting menu display interface
Specific menu control.The operation of the specific menu control response user operated on the display interface of menu, menu control are set
The setting operational order for carrying updated value is sent to setting program.
602, setting program modifies numeric word for be arranged that the updated value that operational order carries is converted to target menu item
The corresponding settable numerical value of section.
It should be noted that the updated value obtained from the window management module in operating system may be character string type,
And the type of the corresponding settable numerical value of numeric field can be modified as number, so need to be converted to character string number, so as to
Application program can change target menu item according to settable numerical value.
Specifically, the menu control information that setting program inquiring triggers, finds its corresponding menu item identification code, determines mesh
Menu item is marked, and updated value is converted by corresponding settable numerical value according to related transformation rule.
603, setting program sends overwrite request to application program by access interface.
Wherein, the mark of overwrite request carrying target menu item and settable numerical value.
It should be noted that setting program determines target menu item, mesh is then found out in application database
The corresponding access interface of application program belonging to menu item is marked, is sent by the interface to application program and carries settable data
Overwrite request.
604, application program updates the description data of the target menu item of setting menu according to overwrite request, and updates setting
Menu item relevant to target menu item in menu.
It should be noted that being provided with the logical relation between menu item in application program, can be repaired when in a menu item
When changing numeric field update, menu item related to this can may also change.Wherein, it is arranged in menu and target menu item
Relevant menu item refers to that upper menu item relevant to target menu item is arranged in the logic of application program.
Illustratively, if there are two menu item in setting menu, one for whether mute menu item, the other is control
The menu item of volume.So when target menu item is whether mute menu item, and need for target menu item to be changed to quiet
When sound-like state, the menu item for needing to modify control volume is down state.
Specifically, application program determines target menu item according to the menu item identification code carried in overwrite request, by target
The numerical value that numeric field can be modified in menu item is updated to settable numerical value, then according to each menu of application program inner setting
Logical relation between carries out the menu item of the influence after modification target menu Xiang Zhongke modification numeric field accordingly more
Newly.
It should be noted that step 601-604 completes the modification operation of the setting menu to application program, but not
There is the setting menu for updating and showing, so in order to which updated setting menu is shown that further, this method is also wrapped
It includes:
605, setting program obtains the description data of the setting menu of updated application program, and root by access interface
According to the setting menu of description data display applications program.
Specifically, setting program shows the process of setting menu again, it can refer to step 102-103, repeat no more again.
It and then executes after step 604 it should be noted that step 605 can be, after being also possible to step 604, uses
After the interface for the display setting menu that program is arranged is closed at family, executed when showing setting menu again.
The embodiment of the invention provides it is a kind of control application program setting menu method, show setting menu it
Afterwards, setting program obtains setting operational order, and the updated value that operational order carries will be arranged and be converted to setting for target menu item
The corresponding settable numerical value of numeric field can be modified by setting control, sent by access interface to application program and carried settable numerical value
Overwrite request.Application program updates the description data of the target menu item of setting menu according to overwrite request, and updates setting
Menu item relevant to target menu item in menu.In this way, setting program only needs to pass to the data obtained from user
Application program, application program can modify to respective menu items, complete the modification of setting menu.
It should be noted that before the setting menu of display application program, it is also necessary to by application program in setting program
Middle registration, so the embodiment of the invention provides a kind of methods of the setting menu of control application program, in setting program
Middle registrer application.As shown in fig. 7, comprises:
701, in the case where the user data of application program is empty, application program sends registration request to setting program and disappears
Breath.
Wherein, the application identities and access interface of application program are carried in login request message.
It should be noted that it includes: installation application program that the user data of application program, which is empty situation, or upgrading is answered
With program, perhaps restores application program default setting or user empties the user data of application program.
It should be noted that application identities and access interface are the build-in attributes in application program.It is by application program sheet
What body was determined.
It should be noted that user data is the data for all operations that user does application program, such as user's account
Number, use setting information etc. of trace, user's modification.
702, setting program updates application database according to login request message.
It should be noted that can also determine acquisition before updating application database according to login request message
Login request message in the application identities that carry and access interface whether meet respective rule, in legal situation,
Application database is updated according to login request message;In the case where not being inconsistent normally, illustrate application identities and/or access
Interface is wrong, does not update application database.
It should be noted that application program is sent there are many case where login request message, wherein only in application program
In the case where being installation for the first time, do not have to store the application identities and access interface of application program in application database;At it
The access interface of application program used with mark is stored in the case of him, in application database.So program is arranged at this time
Also need to be judged according to the application identities in login request message in application database whether registered applications program.
Correspondingly, step 702, different according to the result determined, concrete implementation process is different.
If registered applications program, according in login request message access interface update application database in
The corresponding access interface of application identities in login request message;If unregistered application program, will be in login request message
Application identities and access interface correspondence are stored in application database.
Specifically, determining to be stored with the application carried in login request message in application layer sequence database in setting program
When mark, access interface corresponding with the application identities in application database is updated to carry in login request message
Access interface;Determine do not have to store the application identities carried in login request message in application database in setting program
When, the application identities carried in login request message and access interface are stored in application database.
The embodiment of the invention provides it is a kind of control application program setting menu method, display setting menu it
Before, in the case where the user data of application program is empty, application program sends login request message to setting program, and journey is arranged
Sequence updates application database according to login request message.In this way, realizing application program in the application program of setting program
Registration in database.
It should be noted that it is all of above be embodiment on the basis of, when in aforementioned manners in setting program
In the case where having registered some application program in application database, this application program can send at any time cancellation and ask
It asks, for nullifying the setting menu of the application program in setting program.The embodiment of the invention provides a kind of controls to apply journey
The method of the setting menu of sequence, for nullifying the application program registered in setting program.As shown in Figure 8, comprising:
801, application program sends de-registration request to setting program.
Wherein, application identities are carried in the data of de-registration request.
802, setting program carries application identities according in the data of de-registration request, the lookup pair in application database
The application identities and access interface answered.
Specifically, setting program has searched whether identical using application identities as keyword in application database
Application identities, after finding corresponding data, by the application identities stored in application database and corresponding access interface
It deletes.
If the setting menu for showing this application program on menu display interface 803, is arranged, shows and infused again
The setting menu of the application program of volume, or directly exit setting menu display interface.
It should be noted that in the case where all showing the setting menu of all registered application programs simultaneously,
The description data for re-reading all registered application programs show setting menu again.When handling user answers
It in the case that interface display of the menu floating on application program is set, is directly closed setting menu with program and shows boundary
Face.
The embodiment of the invention provides it is a kind of control application program setting menu method, application program to setting program
Send de-registration request.Program is set and carries application identities according in the data of de-registration request, is searched in application database
Corresponding application identities and access interface, if showing the setting menu of this application program on setting menu display interface,
The setting menu of registered application program is then shown again, or directly exits setting menu display interface.In this way, just realizing
The application program that register in setting program is nullified.
As shown in figure 9, the embodiment of the invention provides a kind of functions of the device of setting menu for controlling application program to show
It is intended to, refering to what is shown in Fig. 9, the device includes: 901 setting program modules and application program module 902.
Program module 901 is set, is instructed for obtaining setting menu call;Setting menu call, which instructs, is used to indicate setting
Program module 901 shows the setting menu of application program;
Program module 901 is set, is also used to be instructed according to setting menu call, application program is obtained by access interface and is deposited
The description data of the setting menu of storage;Access interface is used for transmission the setting between setting program and application program with application program
The relevant data of menu;Description data are used to store the menu item of the setting menu of application program module 902;
Program module 901 is set, the setting menu according to description data display applications program is also used to.
Different, the effect difference of setting program module 901 is instructed according to setting menu call.
The first situation, it includes: that current application setting menu call instructs that setting menu call, which instructs,;Current application setting
Menu call instruction is used to indicate the setting menu that setting program module 901 shows the movable application program of top layer;
At this point, setting program module 901, is also used to obtain the application identities of the movable application program of top layer;Application identities
For one application program of unique identification;
Program module 901 is set, is specifically used for that menu call instruction is arranged according to current application, is obtained by access interface
The description data of the setting menu of the movable application program storage of top layer;
Program module 901 is set, specifically for showing the setting menu of the movable application program of top layer according to description data.
The first situation, it includes: that registered applications setting menu call instructs that setting menu call, which instructs,;Registered applications
Menu call instruction is set and is used to indicate the setting menu that setting program module 901 shows registered application program;
At this point, setting program module 901, is also used to search answering for registered application program from application database
With mark;Application database be used for store registered application program application identities and corresponding access interface;
Program module 901 is set, is specifically used for that menu call instruction and application program identification are arranged according to registered applications,
It passes sequentially through and what the corresponding access interface of application program identification obtained that application program corresponding with application program identification stores sets
The description data of menu are set, and according to the setting menu of description data display applications program.
Further, program module 901 is set, is also used to obtain setting operational order;Setting operational order is for changing
Target menu item in the setting menu of application program;The numeric field of modifying that operational order carries target menu item is set
Updated value;
Program module 901 is set, and being also used to can by be arranged that the updated value that operational order carries is converted to target menu item
Modify the corresponding settable numerical value of numeric field;
Program module 901 is set, is also used to send overwrite request to application program module 902 by access interface;It rewrites
The menu item identification code of request carrying target menu item and settable numerical value;
Application program module 902 is also used to update the description data of the target menu item of setting menu according to overwrite request,
And update menu item relevant to target menu item in setting menu.
Further, program module 901 is set, is also used to obtain the setting of updated application program by access interface
The description data of menu, and according to the setting menu of description data display applications program.
Further, application program module 902, in the case where the user data of application program is empty, to setting
Program module 901 sends login request message;The application identities and access interface of application program are carried in login request message;
Wherein, it includes: installation application program or upgrade applications that the user data of application program, which is empty situation,
Perhaps restore application program default setting or user empties the user data of application program;
Program module 901 is set, is also used to update application database according to login request message.
Further, program module 901 is set, is also used to according to the application identities judgement in login request message using journey
In sequence database whether registered applications program;
Program module 901 is set, if being specifically used for registered applications program, is connect according to the access in login request message
Access interface corresponding with the application identities in login request message in oral replacement application database;If unregistered apply journey
Sequence, then by login request message application identities and access interface correspondence be stored in application database.
The embodiment of the invention provides a kind of device of the setting menu of control application program, setting program obtains setting dish
Unitary call instruction is instructed according to setting menu call, and the description of the setting menu of application program storage is obtained by access interface
Data, and according to the setting menu of description data display applications program.The description number of storage setting menu in this way in application program
According to the description data for the setting menu that setting program reads application program by access interface are shown, so that application program
The display of setting menu mutually separated with the description data of setting menu, may finally directly in setting program display using journey
Built-in setting menu in sequence.And after showing setting menu, setting program obtains setting operational order, and setting is grasped
The settable control for making that the updated value carried is instructed to be converted to target menu item can modify the corresponding settable numerical value of numeric field,
The overwrite request for carrying settable numerical value is sent to application program by access interface.Application program is set according to overwrite request update
The description data of the target menu item of menu are set, and update menu item relevant to target menu item in setting menu.In this way, setting
It sets program only to need the data obtained from user passing to application program, application program can carry out respective menu items
The modification of setting menu is completed in modification.Further application program can also send login request message and cancellation to setting program
Request is realized the application program registration and unregistration in setting program.
In several embodiments provided herein, it should be understood that described system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
Two or more units are integrated in one unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the portion of each embodiment the method for the present invention
Step by step.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, abbreviation
ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc. are various can store
The medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of method of the setting menu of control application program characterized by comprising
Program is set and obtains setting menu call instruction;The setting menu call instruction is used to indicate the setting program display
The setting menu of application program;
The setting program is instructed according to the setting menu call, obtains setting for the application program storage by access interface
Set the description data of menu;The access interface is used for transmission data relevant to the setting menu of the application program;It is described
Description data are used to store the menu item of the setting menu of the application program;
The setting program shows the setting menu of the application program according to the description data.
2. the method according to claim 1, wherein setting menu call instruction includes: that current application is set
Set menu call instruction;It is movable that the current application setting menu call instruction is used to indicate the setting program display top layer
The setting menu of application program;
After the setting program obtains setting menu call instruction, the setting program refers to according to the setting menu call
It enables, before the description data of setting menu that application program storage is obtained by access interface, further includes:
The setting program obtains the application identities of the movable application program of the top layer;The application identities are used for unique identification
One application program;
The setting program is instructed according to the setting menu call, and the setting dish of application program storage is obtained by access interface
Single description data include:
The setting program is arranged menu call according to the current application and instructs, and obtains the top layer activity by access interface
Application program storage setting menu description data;
The setting program shows that the setting menu of the application program includes: according to the description data
The setting program shows the setting menu of the movable application program of the top layer according to the description data.
3. the method according to claim 1, wherein setting menu call instruction includes: registered applications
Menu call is arranged to instruct;It is registered that the registered applications setting menu call instruction is used to indicate the setting program display
Application program setting menu;
After the setting program obtains setting menu call instruction, the setting program refers to according to the setting menu call
It enables, before the description data of setting menu that application program storage is obtained by access interface, further includes:
The setting program searches the application identities of registered application program from application database;The application program
Database be used for store registered application program application identities and corresponding access interface;
The setting program is instructed according to the setting menu call, and the setting dish of application program storage is obtained by access interface
Single description data, setting program show that the setting menu of the application program includes: according to the description data
Menu call instruction and application program identification are set according to the registered applications, passed sequentially through and the application program mark
Know the description data that corresponding access interface obtains the setting menu of application program storage corresponding with the application program identification,
And the setting menu of the application program is shown according to the description data.
4. the method according to claim 1, wherein showing institute according to the description data in the setting program
After the setting menu for stating application program, further includes:
The setting program obtains setting operational order;The setting operational order is used to change the setting dish of the application program
Target menu item in list;The setting operational order carries the updated value for modifying numeric field of the target menu item;
The updated value that the setting operational order carries is converted to repairing for the target menu item by the setting program
Change the corresponding settable numerical value of numeric field;
The setting program sends overwrite request to the application program by the access interface;The overwrite request carries institute
State target menu item menu item identification code and the settable numerical value;
The application program updates the description data of the target menu item of the setting menu according to the overwrite request, and more
Menu item relevant to the target menu item in the new setting menu.
5. according to the method described in claim 4, it is characterized in that, updating institute according to the overwrite request in the application program
The description data of the target menu item of setting menu are stated, and update dish relevant to the target menu item in the setting menu
After individual event, further includes:
The setting program obtains the description data of the setting menu of the updated application program, and root by access interface
The setting menu of the application program is shown according to the description data.
6. the method according to claim 1, wherein being referred in the setting program according to the setting menu call
It enables, before the description data of setting menu that application program storage is obtained by access interface, further includes:
In the case where the user data of the application program is empty, the application program sends registration to the setting program and asks
Seek message;The application identities and access interface of the application program are carried in the login request message;
The setting program updates application database according to the login request message.
7. according to the method described in claim 6, being registered it is characterized in that, being sent in the application program to the setting program
After request message, the setting program is updated according to the login request message before application database, further includes:
The setting program according to the application identities in the login request message judge in the application database whether
The registered application program;
The setting program updates application database according to the login request message
If the registered application program, the application database is updated according to the access interface in login request message
In access interface corresponding with the application identities in the login request message;
If the unregistered application program, by the login request message application identities and access interface correspondence be stored in
The application database.
8. according to the method described in claim 6, it is characterized in that, the user data of the application program is empty situation packet
It includes: the application program is installed, perhaps the upgrading application program perhaps restores application program default setting or user is clear
The user data of the empty application program.
9. a kind of device of the setting menu of control application program characterized by comprising setting program module and application program
Module;
The setting program module is instructed for obtaining setting menu call;The setting menu call instruction is used to indicate institute
State the setting menu that setting program module shows application program;
The setting program module is also used to be instructed according to the setting menu call, obtains the application by access interface
The description data of the setting menu of program storage;The access interface is used for transmission related to the setting menu of the application program
Data;The description data are used to store the menu item of the setting menu of the application program module;
The setting program module is also used to show the setting menu of the application program according to the description data.
10. device according to claim 9, which is characterized in that the setting menu call instruction includes: that current application is set
Set menu call instruction;The current application setting menu call instruction is used to indicate the setting program module and shows that top layer is living
The setting menu of dynamic application program;
The setting program module, is also used to obtain the application identities of the movable application program of the top layer;The application identities
For one application program of unique identification;
The setting program module is specifically used for that menu call instruction is arranged according to the current application, is obtained by access interface
Take the description data of the setting menu of the movable application program storage of the top layer;
The setting program module, specifically for showing the setting of the movable application program of the top layer according to the description data
Menu.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510128203.3A CN104714805B (en) | 2015-03-23 | 2015-03-23 | A kind of method and device of the setting menu of control application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510128203.3A CN104714805B (en) | 2015-03-23 | 2015-03-23 | A kind of method and device of the setting menu of control application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104714805A CN104714805A (en) | 2015-06-17 |
CN104714805B true CN104714805B (en) | 2019-08-13 |
Family
ID=53414182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510128203.3A Active CN104714805B (en) | 2015-03-23 | 2015-03-23 | A kind of method and device of the setting menu of control application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104714805B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094923B (en) * | 2015-08-18 | 2019-01-01 | 深圳Tcl数字技术有限公司 | The method and device of display terminal Loading Menu |
CN106445314B (en) * | 2016-09-07 | 2019-07-26 | Oppo广东移动通信有限公司 | Display interface method for refreshing and device |
CN107729116B (en) * | 2017-11-21 | 2021-02-09 | 中国电子科技集团公司第四十一研究所 | Method for synchronizing interface component states of multi-mode multi-window measuring instrument |
CN109753529A (en) * | 2018-12-24 | 2019-05-14 | 青岛海信电器股份有限公司 | Management method, system and the smart television of application program setting menu item |
CN109960555B (en) * | 2019-02-25 | 2022-12-02 | 维沃移动通信有限公司 | Interface display method and device, mobile terminal and storage medium |
CN114138363A (en) * | 2021-11-27 | 2022-03-04 | 深圳市元征科技股份有限公司 | Program data calling method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312512A (en) * | 2007-05-21 | 2008-11-26 | 三星电子株式会社 | Method and device for displaying application program and menu |
CN102646021A (en) * | 2012-03-27 | 2012-08-22 | 厦门九纬信息技术有限公司 | Method for realizing 3D (three-dimensional) function menu of mobile phone |
CN102819431A (en) * | 2012-07-10 | 2012-12-12 | 上海华勤通讯技术有限公司 | Setting method of logical orders, calling method of application program and mobile terminal |
CN103207733A (en) * | 2013-03-27 | 2013-07-17 | 四川长虹电器股份有限公司 | Setting method for aggregation application procedures based on operating system |
CN103823715A (en) * | 2014-02-11 | 2014-05-28 | 亿赞普(北京)科技有限公司 | Mobile terminal, method and device for one-key calling of application programs on mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3284540B2 (en) * | 1998-10-26 | 2002-05-20 | 日本電気株式会社 | System configuration information setting method for information processing equipment |
-
2015
- 2015-03-23 CN CN201510128203.3A patent/CN104714805B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312512A (en) * | 2007-05-21 | 2008-11-26 | 三星电子株式会社 | Method and device for displaying application program and menu |
CN102646021A (en) * | 2012-03-27 | 2012-08-22 | 厦门九纬信息技术有限公司 | Method for realizing 3D (three-dimensional) function menu of mobile phone |
CN102819431A (en) * | 2012-07-10 | 2012-12-12 | 上海华勤通讯技术有限公司 | Setting method of logical orders, calling method of application program and mobile terminal |
CN103207733A (en) * | 2013-03-27 | 2013-07-17 | 四川长虹电器股份有限公司 | Setting method for aggregation application procedures based on operating system |
CN103823715A (en) * | 2014-02-11 | 2014-05-28 | 亿赞普(北京)科技有限公司 | Mobile terminal, method and device for one-key calling of application programs on mobile terminal |
Non-Patent Citations (1)
Title |
---|
设置手机应用程序权限管理;shanxi20081124;《http://jingyan.baidu.com/article/a501d80ced97d5ec630f5e88.html》;20140310;第1-7页 |
Also Published As
Publication number | Publication date |
---|---|
CN104714805A (en) | 2015-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104714805B (en) | A kind of method and device of the setting menu of control application program | |
CN105204927B (en) | For the application collating unit of terminal device and using aligning method | |
CN109947388B (en) | Page playing and reading control method and device, electronic equipment and storage medium | |
CN101071478B (en) | Friendly packet management method | |
CN104216698B (en) | A kind of registration web page method and relevant apparatus | |
CN110348236A (en) | A kind of operating right setting method, device and the storage medium of file | |
CN108399073A (en) | Information displaying method, device, server and computer-readable medium | |
CN109660400A (en) | Flow control configuration method and system | |
CN110351111A (en) | A kind of subscription processing method, network node and customer data base | |
CN108365968A (en) | Data collection and analysis control method and computer storage media, terminal | |
CN109428968A (en) | The method, apparatus and storage medium of controlling terminal | |
CN109147022A (en) | VR data rendering method and system, computer equipment, computer storage medium | |
US5404440A (en) | Metaphor environment control system | |
CN103677913A (en) | Business processing method and device based on business process management (BPM) | |
CN113010255B (en) | Interaction method and device based on binding session group and computer equipment | |
CN106412078B (en) | Accurate information method for pushing, device and system | |
CN108304235A (en) | page display method and device | |
CN102821211A (en) | Automatic testing method and device for communication network elements | |
CN110187953A (en) | A kind of operation method and device of application program | |
CN104572661B (en) | terminal device and information processing method | |
CN108156029A (en) | Capability of Internet of things integrates and combined system and ability integrates and combined method | |
US20150365292A1 (en) | System and method for rerouting services using routing policies in a multiple resource node system | |
CN109640002A (en) | A kind of multifunctional network matrix demo system and the equipment for network matrix demonstration | |
CN113220182B (en) | Information prompting method and device, storage medium and electronic equipment | |
CN101739260A (en) | Method and device for displaying node information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |