CN106933551A - Configuration processing method and device - Google Patents
Configuration processing method and device Download PDFInfo
- Publication number
- CN106933551A CN106933551A CN201511021115.XA CN201511021115A CN106933551A CN 106933551 A CN106933551 A CN 106933551A CN 201511021115 A CN201511021115 A CN 201511021115A CN 106933551 A CN106933551 A CN 106933551A
- Authority
- CN
- China
- Prior art keywords
- configuration
- client
- reference templates
- increment
- command
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of configuration processing method and device.Wherein, the method includes:Determine the used reference templates of the corresponding configuration of client;In the case where the custom command of client transmission is received, the increment of configuration is defined, wherein, increment is used for the element performance objective operation in reference templates, wherein, object run includes at least one of:Deletion action, addition operation and renewal operation;And reference templates and increment are preserved in the server, to complete the configuration of client.Present application addresses in the prior art the technical problem of poor user experience can not be caused according to the flexible variation configuration of the demand of user.
Description
Technical field
The application is related to computer realm, in particular to a kind of configuration processing method and device.
Background technology
Configuration is frequently applied in software program.In the prior art, generally preserve in the client on dimension index,
The configuration of menu, pattern.But above-mentioned configuration can not flexibly be changed according to the demand of client user.Specifically,
For the configuration on dimension index, if there is some or several configurations to want to increase new dimension and index,
Because all configurations are shared with portion dimension index definition, the AS database structures of all configurations must all be carried out
Upgrading, could meet the demand of the new dimension of above-mentioned needs increase and index;For the configuration on menu, own
Configuration all uses same menu, it is impossible to meet the menu customization demand of different clients end subscriber;To matching somebody with somebody on pattern
For putting, all of configuration all uses same pattern, it is impossible to meets user's pattern and customizes demand.
For above-mentioned problem, effective solution is not yet proposed at present.
The content of the invention
The embodiment of the present application provides a kind of configuration processing method and device, so that at least solve in the prior art can not basis
The flexible variation configuration of demand of user, causes the technical problem of poor user experience.
According to the one side of the embodiment of the present application, there is provided a kind of configuration processing method, including:Determine client pair
The reference templates that the configuration answered is used;In the case where the custom command that the client sends is received, definition
The increment of the configuration, wherein, the increment is used for the element performance objective operation in the reference templates, wherein,
The object run includes at least one of:Deletion action, addition operation and renewal operation;And in the server
The reference templates and the increment are preserved, to complete the configuration of the client.
Further, in the case where the custom command that the client sends is received, the increasing of the configuration is defined
Amount includes:According to the custom command, the object run is determined;Determine the path of the object run;And
Determine the value of the object run.
Further, preserve in the server after the configuration and the increment, methods described also includes:Receive and use
The viewing command of the configuration is checked in instruction;The used reference templates of the loading configuration;Load the configuration
Increment;The reference templates and the increment are merged, the configuration is obtained.
Further, it is determined that after the used reference templates of the corresponding configuration of client, methods described also includes:
Judge whether to receive the custom command that the client sends;Judging not receiving the self-defined life
In the case of order, the reference templates are preserved in the server, to complete the configuration of the client.
Further, it is determined that the used reference templates of the corresponding configuration of client include:The client is received to send
Version command, wherein, the version command be used for indicate selection reference templates version, the version include base
Plinth version and standard edition;According to the version command, the used reference templates of the corresponding configuration of the client are determined
Version.
According to the another aspect of the embodiment of the present application, a kind of configuration processing unit is additionally provided, including:Determining unit,
The reference templates used for determining the corresponding configuration of client;Definition unit, for receiving the client
In the case of the custom command of transmission, the increment of the configuration is defined, wherein, the increment is used for the benchmark
Element performance objective operation in template, wherein, the object run includes at least one of:Deletion action, add
Add operation and renewal are operated;And first storage unit, for preserving the reference templates and the increasing in the server
Amount, to complete the configuration of the client.
Further, the definition unit includes:First determining module, for according to the custom command, it is determined that
Object run;Second determining module, the path for determining the object run;And the 3rd determining module, it is used for
Determine the value of the object run.
Further, described device also includes:Receiving unit, for preserving the reference templates and institute in the server
State after increment, receive the viewing command that the configuration is checked for instruction;First loading unit, it is described for loading
The used reference templates of configuration;Second loading unit, the increment for loading the configuration;Integrated unit, is used for
The reference templates and the increment are merged, the configuration is obtained.
Further, described device also includes:Judging unit, for it is determined that client is corresponding to configure what is used
After reference templates, judge whether to receive the custom command that the client sends;Second storage unit,
For in the case where judging not receiving the custom command, the reference templates being preserved in the server,
To complete the configuration of the client.
Further, the determining unit includes:Receiver module, for receiving the version command that the client sends,
Wherein, the version command is used for the version of the reference templates for indicating selection, and the version includes base edition and standard edition;
4th determining module, for according to the version command, determining the used benchmark mould of the corresponding configuration of the client
The version of plate.
In the embodiment of the present application, the reference templates used using the corresponding configuration of client is determined;Receiving
In the case of stating the custom command of client transmission, the increment of the configuration is defined, wherein, it is right that the increment is used for
Element performance objective operation in the reference templates, wherein, the object run includes at least one of:Delete
Operation, addition operation and renewal operation;And the reference templates and the increment are preserved in the server, to complete
The mode of the configuration of the client, by receive characterize user customize demand custom command in the case of,
To the corresponding configuration definition increment of client for sending above-mentioned custom command, and the increment of configuration is used with configuration
Reference templates simultaneously be saved in server, so as to complete the configuration of above-mentioned client, reached according to user's request
The purpose of mobilism configuration is carried out to single client, it is achieved thereby that can flexibly change according to the demand of different user
Configuration, to improve the technique effect of Consumer's Experience, and then solve in the prior art can not be flexible according to the demand of user
Variation configuration, causes the technical problem of poor user experience.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen
Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In accompanying drawing
In:
Fig. 1 is a kind of flow chart of the configuration processing method according to the embodiment of the present application;And
Fig. 2 is a kind of schematic diagram of the configuration processing unit according to the embodiment of the present application.
Specific embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment
The only embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ability
The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, should all belong to
The scope of the application protection.
It should be noted that term " first ", " second " in the description and claims of this application and above-mentioned accompanying drawing
Etc. being for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so making
Data can be exchanged in the appropriate case, so that embodiments herein described herein can be with except herein
Order beyond those of diagram or description is implemented.Additionally, term " comprising " and " having " and their any deformation,
Be intended to that covering is non-exclusive to be included, for example, contain the process of series of steps or unit, method, system,
Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include not list clearly or
For these processes, method, product or other intrinsic steps of equipment or unit.
According to the embodiment of the present application, there is provided a kind of embodiment of the method for configuration processing method, it is necessary to explanation,
The step of flow of accompanying drawing is illustrated can perform in the such as one group computer system of computer executable instructions, and
And, although logical order is shown in flow charts, but in some cases, can be with different from order herein
Perform shown or described step.
Fig. 1 is a kind of flow chart of the configuration processing method according to the embodiment of the present application, as shown in figure 1, the method bag
Include following steps:
Step S102, determines the used reference templates of the corresponding configuration of client.
Specifically, reference templates are template pre-defined and comprising element.Reference templates are divided into two versions,
It is respectively base edition and standard edition.Above-mentioned two version is made according to the user's request of most of user, has
Generality.
Client can be any application program in terminal device, can be according to it using the user of client
Demand selects the version of reference templates.
It should be noted that the configuration in step S102 can be the configuration of menu, or the configuration of pattern, also
It can be the configuration of dimension index.
Step S104, in the case where the custom command of client transmission is received, defines the increment of configuration, wherein,
Increment is used for the element performance objective operation in reference templates, wherein, object run includes at least one of:Delete
Division operation, addition operation and renewal operation.
Specifically, when being want using the user of the client in applied scene (for example, menu, pattern) is configured
When increasing, update and delete some contents, customization demand can be realized by way of sending custom command.
It should be noted that, no matter performing several operations to the element in reference templates, for one configures, all only
Define an increment.
Step S106, preserves reference templates and increment, to complete the configuration of client in the server.
Specifically, reference templates and increment can be stored in the database of server.
In the embodiment of the present application, by receive characterize user customize demand custom command in the case of,
To the corresponding configuration definition increment of client for sending above-mentioned custom command, and the increment of configuration and configuration are used
Reference templates simultaneously be saved in server, so as to complete the configuration of above-mentioned client, reached according to user's request
The purpose of mobilism configuration is carried out to single client, it is achieved thereby that can flexibly change according to the demand of different user
Configuration, to improve the technique effect of Consumer's Experience, and then solve in the prior art can not be flexible according to the demand of user
Variation configuration, causes the technical problem of poor user experience.
It should be noted that the configuration processing method that the embodiment of the present application is provided can be separately to refer on dimension
In target configuration, the configuration of menu and the configuration of pattern, by performing step S102 to step S106, can just meet
The user of single client to the customization demand of the configuration, the configuration of menu and the configuration of pattern of above-mentioned dimension index,
So as to improve the Consumer's Experience and satisfaction of the user, and without the user to other clients it is corresponding configure into
Row associative operation.
Alternatively, in the embodiment of the present application, determine that the used reference templates of the corresponding configuration of client include step
S1021 and step S1023, it is specific as follows:
Step S1021, receives the version command that client sends, wherein, version command is used to indicate the benchmark of selection
The version of template, version includes base edition and standard edition.
By taking the configuration on dimension index as an example, two program codes of version of reference templates are shown separately below:
Base edition:
In the program code of the reference templates of above-mentioned base edition, following content is defined:
1st, comprising in which dimension group (that is, ViewportGroup) and dimension group (that is, viewportgroup)
Which dimension (that is, viewport) is contained, wherein, dimension group is a packet to dimension;
2nd, comprising being included in which index group (that is, MetricGroup) and index group (that is, MetricGroup)
Which index (that is, Metric), wherein, index group is a packet to index;
3rd, define dimension group (that is, ViewportGroup) and whether index group (that is, MetricGroup) is relevant
Connection relation, if relevant, dimension (that is, viewport) that just can be under dimension group (that is, ViewportGroup)
The data of index (that is, Metric) under middle inquiry index group (that is, MetricGroup).
Specifically, index (that is, Metric) refers to a polymerizable number, can be visit capacity, page browsing amount
Deng.For example, the visit capacity of a page is 100,1000 etc.;The page browsing amount of one page is 50,500 etc..
Dimension (that is, viewport) refers to that the visit capacity of a such as page is 1000, is browsed from index in terms of an angle
Device is a dimension, exactly from this index of visit capacity in terms of browser this angle, that is, an access for browser
Amount is how many, such as IE browser is that 500, Chrome is that 300, red fox browser is 200.
Standard edition:
In the program code of the reference templates of above-mentioned standard version, following content is defined:
1st, comprising in which dimension group (that is, ViewportGroup) and dimension group (that is, viewportgroup)
Which dimension (that is, viewport) contained;
2nd, comprising being included in which index group (that is, MetricGroup) and index group (that is, MetricGroup)
Which index (that is, Metric);
3rd, define dimension group (that is, ViewportGroup) and whether index group (that is, MetricGroup) is relevant
Connection relation, if relevant, dimension (that is, viewport) that just can be under dimension group (that is, ViewportGroup)
The data of index (that is, Metric) under middle inquiry index group (that is, MetricGroup).
Step S1023, according to version command, determines the version of the used reference templates of the corresponding configuration of client.
Specifically, each user can send version command according to its demand by client.
For example, in the version command that sends of client that the user that ID is 217 is used by it, selecting the base of base edition
The reference templates that quasi-mode plate is used as configuration of the user on dimension index, then can be by following program codes
Realize determining the reference templates that the corresponding configuration (that is, the configuration of dimension index) of above-mentioned user is used, it is specific as follows:
Said procedure code represents that the ID of the user is 217, the Tech blog of entitled KevinYang, above-mentioned user
Use the reference templates of base edition.
In the embodiment of the present application, because reference templates have two kinds of version, then user can select according to its use demand
The used reference templates of its corresponding configuration such that it is able to select the reference templates closer to user's use demand,
The effect for improving user satisfaction is reached.
Alternatively, in the embodiment of the present application, in the case where the custom command of client transmission is received, definition
The increment of configuration includes step S1041 to step S1045, specific as follows:
Step S1041, according to custom command, determines object run.
Specifically, because the customization demand of user can be realized by sending custom command, then according to above-mentioned self-defined
Order can determine object run.
By the above, the quantity of the operation included in object run can be one, or multiple,
Determine with specific reference to the custom command that client sends.
Step S1043, determines the path of object run.
Specifically, if including multiple operations in object run, namely it is made up of multiple operation, then needs determination above-mentioned every
The path of individual operation.
It should be noted that the path of object run refers to the operation included in object run correspondence in reference templates
Path.
Step S1045, determines the value of object run.
If likewise, object run is made up of multiple operation, needing to determine the value of above-mentioned each operation.
It should be noted that if the object run determined according to custom command were made up of an operation, the behaviour
The path for make, operating and the value of operation form increment.If the object run determined according to a custom command by
Multiple operation composition, then the value of all operationss, the path of all operationss and all operationss that are included in the object run is
Form increment.
Next operation only comprising addition operation (add), deletion action (remove) and is updated with object run respectively
(remove), it is illustrated below:
Addition operation (add):
For example, determining needs in the set of dimension group (i.e., according to the custom command that certain client sends
ViewportGroups a dimension group (that is, ViewportGroup), the then program code of the increment for defining are added under)
It is as follows:
As a example by configuring the reference templates for using standard edition, it is assumed that according to the custom command that certain client sends
Determine dimension collection of the needs under the 2nd dimension group (that is, [ViewportGroup] [PageResource]) (i.e.,
Viewports one dimension (that is, Viewport) of addition in), then the program code of the increment for defining is as follows:
Wherein, PageResource is exactly a specific Viewport.
It should be noted that, in the scheme that the embodiment of the present application is provided, subscript be all since 0, if so
It is 1 dimension of addition in the dimension collection (that is, Viewports) under the 2nd dimension group (that is, ViewportGroup)
Degree (that is, Viewport) if, in the program code of increment, under be designated as 1.
Deletion action (remove):
As a example by configuring the reference templates for using standard edition, it is assumed that according to the custom command that certain client sends
Determining needs to delete the 2nd dimension group (that is, ViewportGroup), then can be derived that deletion is exactly
[ViewportGroup] [PageResource] this dimension group, the program code of the increment of definition is expressed as follows:
Still as a example by configuring the reference templates for using standard edition, it is assumed that according to the self-defined life that certain client sends
Order determines dimension collection of the needs under the 2nd dimension group (that is, [ViewportGroup] [PageResource]) (i.e.,
Viewports) in delete the 2nd dimension (that is, [Page] [Title]), that is, by [Page] [Title] from
Deleted in [ViewportGroup] [PageResource] ViewportGroup, then the program code of the increment for defining is as follows:
Update operation (remove):
As a example by configuring the reference templates for using standard edition, it is assumed that according to the custom command that certain client sends
Determining needs the ViewportGroupId of the 1st dimension group (that is, [ViewportGroup] [ConversionPath])
[ViewportGroup] [Conversion] is revised as, then the program code of the increment for defining is as follows:
Wherein, ConversionPath is transduction pathway, and ViewportGroupId is the Id of dimension group.
Still as a example by configuring the reference templates for using standard edition, it is assumed that according to the self-defined life that certain client sends
Order is determined and needs the 1st dimension group that (that is, the dimension collection under [ViewportGroup] [ConversionPath] is (i.e.,
Viewports the 1st dimension (that is, [ConversionPath] [Path1LastStep]) is revised as in)
[ConversionPath] [PathOneLastStep], that is, by [ConversionPath] [Path1LastStep] this
The ViewportId of Viewport is revised as [ConversionPath] [PathOneLastStep], it is determined that the increment for going out
Program code is expressed as follows:
{
"op":"replace",
"path":"/ViewportGroups/0/Viewports/0/ViewportId",
"value":"[ConversionPath].[PathOneLastStep]"
}
Alternatively, in the embodiment of the present application, preserve in the server after reference templates and increment, method also includes:
Receive the viewing command that configuration is checked for instruction;The used reference templates of loading configuration;Load the increment of configuration;
Reference templates and increment are merged, is configured.
It should be noted that obtaining, with postponing, the configuration being shown in forms such as words.
Specifically, when user checks certain configuration, the used reference templates of this configuration, Ran Houjia are loaded first
Increment is carried, next reference templates and increment is merged, you can this configuration is obtained.
In the embodiment of the present application, disclosure satisfy that user by way of being configured after merging reference templates and increment
To the configuration on dimension index, to the configuration on menu and the customization demand to the configuration on pattern, reach
Improve the effect of user satisfaction.For example:For the configuration on dimension index, several match somebody with somebody when certain or certain
Put need to increase new dimension and or during new index, without upgrading to the AS databases that each is configured;It is right
For the configuration of menu, the menu customization demand of different user is disclosure satisfy that;For the configuration on pattern,
Disclosure satisfy that the pattern of different user customizes demand.
By taking the Tech blog of the KevinYang in above-described embodiment as an example, if defining the increment of the configuration simultaneously,
After by reference templates and increment fusion, then the configuration represented by following program codes is can obtain:
Wherein, type and the increasing of Id, Name of Profile and the reference templates for using defined in above-mentioned configuration
Amount.
Again for example, still as a example by configuring the reference templates for using standard edition, and the increment for the configuration definition,
Operation represented by the increment is specific as follows:
1st, [ViewportGroup] [Visitor] ViewportGroup is added;
2nd, [ViewportGroup] [Visitor] and [MetricGroup] [Session] GroupRelationShip is added;
3rd, the 2nd dimension (that is, Viewport) under the 1st dimension group (that is, ViewporGroup) is deleted,
It is, [ConversionPath] [Path2LastStep] Viewport is deleted;
4th, the 1st Metric Id under the 1st index group (that is, MetricGroup) is replaced with
[Measures] [Sessions], will [Measures] [Visits] replace with [Measures] [Sessions].
After by the reference templates and increment fusion, then the configuration represented by following program codes is can obtain:
Alternatively, in the embodiment of the present application, it is determined that after client the used reference templates of corresponding configuration,
Method also includes:Judge whether to receive the custom command that client sends;Judging not receiving self-defined life
In the case of order, reference templates are preserved in the server, to complete the configuration of client.
If it should be noted that being not received by the custom command of client transmission, will not sent for above-mentioned
Configuration definition increment corresponding to the client of custom command, and then only preserve that the client is corresponding to match somebody with somebody in server
Put used reference templates.Still by taking " Tech blog of KevinYang " as an example, then " technology of KevinYang is won
The program code of the configuration of visitor " is as follows:
By the above, the configuration processing method provided using the embodiment of the present application need to such as obtain certain and match somebody with somebody
All ViewportGroup methods in putting, the then all ViewportGroup after loading is merged;Such as need to obtain
All MetricGroup methods in certain configuration, the then all MetricGroup after loading is merged;Need to such as obtain
The all Viewport methods in certain configuration are taken, is then included under all ViewportGroup after loading fusion
Viewport;Such as need to obtain all Metric methods in certain configuration, then it is all after loading fusion
Metric under MetricGroup;Such as need to obtain single during certain is configured according to ViewportGroupId
ViewportGroup methods, then search Id from all ViewportGroup and be equal to specified ViewportGroupId's
ViewportGroup;Such as need to obtain the single MetricGroup side in certain configuration according to MetricGroupId
Method, then search Id from all MetricGroup and be equal to the MetricGroup for specifying MetricGroupId;Such as
The single Viewport methods in certain configuration need to be obtained according to ViewportId, then searches Id from all Viewport
Equal to the Viewport of specified ViewportId;Such as need to obtain the single Metric in certain configuration according to MetricId
Method, then search Id from all Metric and be equal to the Metric for specifying MetricId.
When the application program represented by client is based on line analytical processing (English abbreviation:When OLAP), should
It is exactly multi-dimensional free analysis function with the most important function of program, by different dimensions and index query-relevant data.
All dimensions and index, and its incidence relation are configured with the client for installing above-mentioned application program.Simultaneously in each visitor
The menu at family end is also to carry out centralized configuration by XML, runs unserializing XML, obtains final menu.Boundary
Face pattern is also that, in client definition, client provides many set styles simultaneously, and user can select which set used
Styles, and it, in client records, is not in service end record that user's selection is all.
According to the embodiment of the present application, a kind of configuration processing unit is additionally provided, the configuration processing unit is used to perform this Shen
Please the configuration processing method that is provided of embodiment the above, the configuration treatment dress for being provided the embodiment of the present application below
Put and do specific introduction:
Fig. 2 is a kind of schematic diagram of the configuration processing unit according to the embodiment of the present application, as shown in Fig. 2 at the configuration
Reason device mainly includes determining unit 21, the storage unit 25 of definition unit 23 and first, wherein:
Determining unit 21 is used to determine the reference templates that the corresponding configuration of client is used.
Specifically, reference templates are template pre-defined and comprising element.Reference templates are divided into two versions,
It is respectively base edition and standard edition.Above-mentioned two version is made according to the user's request of most of user, has
Generality.
Client can be any application program in terminal device, and the user of client can be according to its demand
Select the version of reference templates.
It should be noted that the configuration in determining unit 21 can be the configuration of menu, or the configuration of pattern,
It also can be the configuration of dimension index.
Definition unit 23 is used to be defined in the case where the custom command of client transmission is received the increment of configuration,
Wherein, increment be used in reference templates element performance objective operation, wherein, object run include it is following at least it
One:Deletion action, addition operation and renewal operation.
Specifically, want in the applied scene (for example, menu, style configuration) of configuration when using the user of the client
Middle increase, when updating and deleting some contents, customization demand can be realized by way of sending custom command.
It should be noted that, no matter performing several operations to the element in reference templates, for one configures, all only
Define an increment.
First storage unit 25 is used to preserve reference templates and increment in the server, to complete the configuration of client.
Specifically, reference templates and increment can be stored in the database of server.
In the embodiment of the present application, by receive characterize user customize demand custom command in the case of,
To the corresponding configuration definition increment of client for sending above-mentioned custom command, and the increment of configuration and configuration are used
Reference templates simultaneously be saved in server, so as to complete the configuration of above-mentioned client, reached according to user's request
The purpose of mobilism configuration is carried out to single client, it is achieved thereby that can flexibly change according to the demand of different user
Configuration, to improve the technique effect of Consumer's Experience, and then solve in the prior art can not be flexible according to the demand of user
Variation configuration, causes the technical problem of poor user experience.
It should be noted that the configuration processing unit that the embodiment of the present application is provided can be separately to refer on dimension
In target configuration, the configuration of menu and the configuration of pattern, preserve single by calling determining unit, definition unit and first
Unit, can just meet the user of single client to configuration, the configuration of menu and the configuration of pattern of above-mentioned dimension index
Customization demand, so as to improve the Consumer's Experience and satisfaction of the user, and without the user to other clients
Corresponding configuration carries out associative operation.
Alternatively, in the embodiment of the present application, definition unit includes the first determining module, the second determining module and the 3rd
Determining module, wherein:
First determining module is used for according to custom command, determines object run.
Specifically, because the customization demand of user can be realized by sending custom command, then according to above-mentioned self-defined
Order can determine object run.
By the above, the quantity of the operation included in object run can be one, or multiple,
Determine with specific reference to the custom command that client sends.
Second determining module, the path for determining object run.
Specifically, if including multiple operations in object run, namely it is made up of multiple operation, then needs determination above-mentioned every
The path of individual operation.
It should be noted that the path of object run refers to the operation included in object run correspondence in reference templates
Path.
3rd determining module, the value for determining object run.
If likewise, object run is made up of multiple operation, needing to determine the value of above-mentioned each operation.
It should be noted that if the object run determined according to custom command were made up of an operation, the behaviour
The path for make, operating and the value of operation form increment.If the object run determined according to a custom command by
Multiple operation composition, then the value of all operationss, the path of all operationss and all operationss that are included in the object run is
Form increment.
Alternatively, in the embodiment of the present application, device also includes that receiving unit, the first loading unit, the second loading are single
Unit and integrated unit.Wherein, receiving unit is used for after preservation reference templates in the server and increment, and receiving is used for
The viewing command of the configuration is checked in instruction;First loading unit is used to load the used reference templates of configuration;Second
Loading unit is used to load the increment of configuration;Integrated unit is used to merge reference templates and increment, is configured.
It should be noted that obtaining, with postponing, the configuration being shown in forms such as words.
Specifically, when user checks certain configuration, the used reference templates of this configuration, Ran Houjia are loaded first
Increment is carried, next reference templates and increment is merged, you can this configuration is obtained.
In the embodiment of the present application, disclosure satisfy that user by way of being configured after merging reference templates and increment
To the configuration on dimension index, to the configuration on menu and the customization demand to the configuration on pattern, reach
Improve the effect of user satisfaction.For example:For the configuration on dimension index, several match somebody with somebody when certain or certain
Put when needing to increase new dimension and/or new index, without upgrading to the AS databases that each is configured;It is right
For the configuration of menu, the menu customization demand of different user is disclosure satisfy that;To the configuration on style configuration
For disclosure satisfy that different user pattern customize demand.
Alternatively, in the embodiment of the present application, device also includes judging unit and the second storage unit.Wherein, judge
Unit is used for it is determined that after the used reference templates of the corresponding configuration of client, judging whether to receive client hair
The custom command sent;Second storage unit is used in the case where judging not receiving custom command, in service
Reference templates are preserved in device, to complete the configuration of client.
If it should be noted that being not received by the custom command of client transmission, will not sent for above-mentioned
Configuration definition increment corresponding to the client of custom command, and then only preserve that the client is corresponding to match somebody with somebody in server
Put used reference templates.
Alternatively, in the embodiment of the present application, determining unit includes receiver module and the 4th determining module.Wherein, connect
Receiving module is used to receive the version command of client transmission, wherein, version command is used to indicate the reference templates of selection
Version, version includes base edition and standard edition;4th determining module is used for according to version command, determines client correspondence
The version of reference templates that is used of configuration.
Specifically, each user can send version command according to its demand by client.
In the embodiment of the present application, because reference templates have two kinds of version, then user can select according to its use demand
The used reference templates of its corresponding configuration such that it is able to select the reference templates closer to user's use demand,
The effect for improving user satisfaction is reached.
The configuration processing unit includes processor and memory, and above-mentioned determining unit, definition unit and first preserve single
Unit etc. stores in memory as program unit, by computing device storage said procedure unit in memory.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, can be according to the flexible variation configuration of the demand of different user, to improve use by adjusting that kernel parameter realizes
The technique effect of family experience, and then solve and can not be caused according to the flexible variation configuration of the demand of user in the prior art
The technical problem of poor user experience.
Memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/
Or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory, memory includes at least one
Individual storage chip.
Present invention also provides a kind of embodiment of computer program product, when being performed on data processing equipment, fit
In the program code for performing initialization there are as below methods step:Determine the used reference templates of the corresponding configuration of client;
In the case where the custom command that the client sends is received, the increment of the configuration is defined, wherein, it is described
Increment be used in the reference templates element performance objective operation, wherein, the object run include it is following at least
One of:Deletion action, addition operation and renewal operation;And the reference templates and the increasing are preserved in the server
Amount.
Above-mentioned the embodiment of the present application sequence number is for illustration only, and the quality of embodiment is not represented.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be by other
Mode realize.Wherein, device embodiment described above is only schematical, such as division of described unit,
Can be a kind of division of logic function, there can be other dividing mode when actually realizing, for example multiple units or component
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, institute
Display or the coupling each other for discussing or direct-coupling or communication connection can be by some interfaces, unit or mould
The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to
On multiple units.Some or all of unit therein can be according to the actual needs selected to realize this embodiment scheme
Purpose.
In addition, during each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or when using,
Can store in a computer read/write memory medium.Based on such understanding, the technical scheme essence of the application
On all or part of the part that is contributed to prior art in other words or the technical scheme can be with software product
Form is embodied, and the computer software product is stored in a storage medium, including some instructions are used to so that one
Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the application
State all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
CD etc. is various can be with the medium of store program codes.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improve and moisten
Decorations also should be regarded as the protection domain of the application.
Claims (10)
1. a kind of configuration processing method, it is characterised in that including:
Determine the used reference templates of the corresponding configuration of client;
In the case where the custom command that the client sends is received, the increment of the configuration is defined, its
In, the increment is used for the element performance objective operation in the reference templates, wherein, the object run
Including at least one of:Deletion action, addition operation and renewal operation;And
The reference templates and the increment are preserved in the server, to complete the configuration of the client.
2. method according to claim 1, it is characterised in that receiving the self-defined life that the client sends
In the case of order, the increment for defining the configuration includes:
According to the custom command, the object run is determined;
Determine the path of the object run;And
Determine the value of the object run.
3. method according to claim 1, it is characterised in that preserve reference templates and described in the server
After increment, methods described also includes:
Receive the viewing command that the configuration is checked for instruction;
The used reference templates of the loading configuration;
Load the increment of the configuration;
The reference templates and the increment are merged, the configuration is obtained.
4. method according to claim 1, it is characterised in that it is determined that the used base of the corresponding configuration of client
After quasi-mode plate, methods described also includes:
Judge whether to receive the custom command that the client sends;
In the case where judging not receiving the custom command, the benchmark is preserved in the server
Template, to complete the configuration of the client.
5. method according to claim 1, it is characterised in that determine the used benchmark of the corresponding configuration of client
Template includes:
The version command that the client sends is received, wherein, the version command is used to indicate the benchmark of selection
The version of template, the version includes base edition and standard edition;
According to the version command, the version of the used reference templates of the corresponding configuration of the client is determined.
6. it is a kind of to configure processing unit, it is characterised in that including:
Determining unit, the reference templates used for determining the corresponding configuration of client;
Definition unit, in the case where the custom command that the client sends is received, definition to be described
The increment of configuration, wherein, the increment is used for the element performance objective operation in the reference templates, described
Object run includes at least one of:Deletion action, addition operation and renewal operation;And
First storage unit, it is described to complete for preserving the reference templates and the increment in the server
The configuration of client.
7. device according to claim 6, it is characterised in that the definition unit includes:
First determining module, for according to the custom command, determining the object run;
Second determining module, the path for determining the object run;And
3rd determining module, the value for determining the object run.
8. device according to claim 6, it is characterised in that described device also includes:
Receiving unit, after preserving the reference templates and the increment in the server, receives and uses
The viewing command of the configuration is checked in instruction;
First loading unit, the reference templates used for loading the configuration;
Second loading unit, the increment for loading the configuration;
Integrated unit, for the reference templates and the increment to be merged, obtains the configuration.
9. device according to claim 6, it is characterised in that described device also includes:
Judging unit, for it is determined that after the used reference templates of the corresponding configuration of client, judging whether
Receive the custom command that the client sends;
Second storage unit, in the case where judging not receiving the custom command, in the clothes
The reference templates are preserved in business device, to complete the configuration of the client.
10. device according to claim 6, it is characterised in that the determining unit includes:
Receiver module, for receiving the version command that the client sends, wherein, the version command is used for
Indicating the version of the reference templates of selection, the version includes base edition and standard edition;
4th determining module, for according to the version command, determining that the corresponding configuration of the client is used
Reference templates version.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511021115.XA CN106933551B (en) | 2015-12-30 | 2015-12-30 | Configuration processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511021115.XA CN106933551B (en) | 2015-12-30 | 2015-12-30 | Configuration processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106933551A true CN106933551A (en) | 2017-07-07 |
CN106933551B CN106933551B (en) | 2021-01-22 |
Family
ID=59442458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511021115.XA Active CN106933551B (en) | 2015-12-30 | 2015-12-30 | Configuration processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933551B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107506193A (en) * | 2017-08-18 | 2017-12-22 | 平安科技(深圳)有限公司 | A kind of development approach of subsystem page, storage medium and server |
CN107908392A (en) * | 2017-11-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Metadata acquisition tool bag method for customizing, device, terminal and storage medium |
CN109767248A (en) * | 2019-02-01 | 2019-05-17 | 中国工商银行股份有限公司 | Client requirement information processing method, apparatus and system |
CN110858146A (en) * | 2018-08-23 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Data processing method, device and machine readable medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355436A (en) * | 2007-07-24 | 2009-01-28 | 中兴通讯股份有限公司 | System for rapidly configuring data based on formwork and implementing method |
CN101661506A (en) * | 2009-09-24 | 2010-03-03 | 深圳市同洲电子股份有限公司 | Method for customizing navigation page in local site, system and browser thereof |
CN102221993A (en) * | 2010-04-16 | 2011-10-19 | 微软公司 | Declarative definition of complex user interface state changes |
JP2012027808A (en) * | 2010-07-27 | 2012-02-09 | Nippon Telegr & Teleph Corp <Ntt> | Device and method for learning model parameter and program thereof |
CN102932161A (en) * | 2011-08-11 | 2013-02-13 | 中兴通讯股份有限公司 | Template-based configuration method and device |
CN103135976A (en) * | 2011-11-30 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Code automatic generation method and device |
US20140372968A1 (en) * | 2010-01-27 | 2014-12-18 | Oracle International Corporation | Software modeling framework |
US20150333959A1 (en) * | 2014-05-14 | 2015-11-19 | Agreeya Mobility, Inc. | Method and system for device management |
-
2015
- 2015-12-30 CN CN201511021115.XA patent/CN106933551B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355436A (en) * | 2007-07-24 | 2009-01-28 | 中兴通讯股份有限公司 | System for rapidly configuring data based on formwork and implementing method |
CN101661506A (en) * | 2009-09-24 | 2010-03-03 | 深圳市同洲电子股份有限公司 | Method for customizing navigation page in local site, system and browser thereof |
US20140372968A1 (en) * | 2010-01-27 | 2014-12-18 | Oracle International Corporation | Software modeling framework |
CN102221993A (en) * | 2010-04-16 | 2011-10-19 | 微软公司 | Declarative definition of complex user interface state changes |
JP2012027808A (en) * | 2010-07-27 | 2012-02-09 | Nippon Telegr & Teleph Corp <Ntt> | Device and method for learning model parameter and program thereof |
CN102932161A (en) * | 2011-08-11 | 2013-02-13 | 中兴通讯股份有限公司 | Template-based configuration method and device |
CN103135976A (en) * | 2011-11-30 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Code automatic generation method and device |
US20150333959A1 (en) * | 2014-05-14 | 2015-11-19 | Agreeya Mobility, Inc. | Method and system for device management |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107506193A (en) * | 2017-08-18 | 2017-12-22 | 平安科技(深圳)有限公司 | A kind of development approach of subsystem page, storage medium and server |
WO2019033520A1 (en) * | 2017-08-18 | 2019-02-21 | 平安科技(深圳)有限公司 | Subsystem page development method, storage medium and server |
CN107506193B (en) * | 2017-08-18 | 2020-05-22 | 平安科技(深圳)有限公司 | Development method of subsystem pages, storage medium and server |
CN107908392A (en) * | 2017-11-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Metadata acquisition tool bag method for customizing, device, terminal and storage medium |
CN110858146A (en) * | 2018-08-23 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Data processing method, device and machine readable medium |
CN110858146B (en) * | 2018-08-23 | 2024-04-12 | 阿里巴巴新加坡控股有限公司 | Data processing method, apparatus and machine readable medium |
CN109767248A (en) * | 2019-02-01 | 2019-05-17 | 中国工商银行股份有限公司 | Client requirement information processing method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN106933551B (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220284457A1 (en) | Customer clustering using integer programming | |
CN107239993B (en) | Matrix decomposition recommendation method and system based on expansion label | |
EP2924594B1 (en) | Data encoding and corresponding data structure in a column-store database | |
CN109614238B (en) | Target object identification method, device and system and readable storage medium | |
CN106933551A (en) | Configuration processing method and device | |
CN108985954B (en) | Method for establishing association relation of each identifier and related equipment | |
CN110245069B (en) | Page version testing method and device and page display method and device | |
CN109145197B (en) | User portrait label generation method, device and system | |
KR20180137351A (en) | Item recommendation method and apparatus based on user behavior | |
CN105447151A (en) | Method for accessing distributed database, data source proxy apparatus and application server | |
CN108897626A (en) | Resource scheduling method and server | |
CN110717647A (en) | Decision flow construction method and device, computer equipment and storage medium | |
CN113032668A (en) | Product recommendation method, device and equipment based on user portrait and storage medium | |
CN101702152A (en) | Intelligent data processing method, device and system | |
CN112116436A (en) | Intelligent recommendation method and device, computer equipment and readable storage medium | |
CN105824821A (en) | Data processing method and big data platform | |
CN111949736A (en) | Database load balancing method and device, electronic equipment and storage medium | |
CN110765552A (en) | Attribute information display method and device of three-dimensional geological model | |
CN108563648B (en) | Data display method and device, storage medium and electronic device | |
CN106487833A (en) | The statistical method of isolated user number and device in network monitor | |
CN106933904A (en) | The filter method and device of data | |
CN113535727B (en) | Data output method and device of information system and electronic equipment | |
CN110941711A (en) | Electronic search report acquisition method and apparatus, storage medium, and electronic apparatus | |
CN104484357A (en) | Data processing method and device and access frequency information processing method and device | |
CN114187037A (en) | Information pushing method and device and nonvolatile storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |