The application belongs to computerized information model data process field, particularly relate to a kind of data model managing device, server and
Data processing method.
Detailed description of the invention
For the technical scheme making the personnel of this technology neighborhood be more fully understood that in the application, below in conjunction with in the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application rather than whole embodiments.Based on the embodiment in the application, this neighborhood ordinary skill people
The every other embodiment that member is obtained under not making creative work premise, all should belong to the scope of the application protection.
Below in conjunction with the accompanying drawings data model managing device described herein is described in detail.Fig. 1 is herein described one
Plant the modular structure schematic diagram of a kind of embodiment of data model managing device.Although this application provides such as following embodiment or module
The apparatus structure of figure, but based on conventional or more or less mould can be included in said device without performing creative labour
Module unit.
A kind of data model managing device one embodiment that concrete the application provides is as it is shown in figure 1, described device can include
Configuration module 1 and Service Processing Unit 2, described configuration module 1 may include that
Definition module 101, may be used for storage setting includes model uniquely identified model Back ground Information;
Model enters moduli block 102, may be used for storage arrange described model enter to join the data of information;
Model resource storehouse 103, may be used for storing the information of the resource file of described model;
Model variable module 104, may be used for model variable and the algorithm information of described model variable of storage definition;
Model algorithm module 105, may be used for the model algorithm information of storage definition;
Described Service Processing Unit 2, may be used for the model information in described configuration module being built into according to predetermined computation rule
The module object that can run.
Below the data model managing device of the embodiment of the present application is described in detail.Concrete, described configuration module 1 is permissible
Including:
Definition module 101, can store setting includes model uniquely identified model Back ground Information.Described model is fixed
Justice module 101 can store model informations such as including the title of model, description, affiliated territory, state, and these information are the most permissible
It it is the model Back ground Information needing the model built to arrange for exploitation designer.General, for a certain terminal applies
Or in a certain service development project, a data model generally includes and uniquely identifies for the model distinguishing other data models.
It can be the unique name of the data model of setting in described definition module that described model uniquely identifies, or other classes
The distinctive mark information of type.Uniquely identify based on model, manage in model construction, resource transfer, operation, configuration information amendment etc.
During reason operation, the operation object that data model is corresponding can be called accurately and effectively.
Certainly, described definition module 101 can also store other information of described model, the most described data model
The description of the function that can complete, as name marking, phone number marking, or described model belong to corresponding terminal application or
The account territory of server or finance territory, or described data model belongs to the model in newly-built exploitation the most in terminal applies
Issue the description of the states such as operation.
Operating personnel can arrange the essential information of the model of required structure, described model mould in described definition module
What block can store acquisition includes model uniquely identified model essential information.
Model enters moduli block 102, may be used for storage arrange described model enter to join the data of information.
Described model enter ginseng information, can include that this model operationally needs the suction parameter called and may be used for follow-up
The information of model calculation.In the terminal applies scene of described model, described enter ginseng information concrete can include such as name,
Email, telephone number, or other have the numeral of business meaning, character, the information such as meet.It is described that to enter ginseng information permissible
Modelling demand according to required structure is designed.Fig. 2 is that the described model that the application provides enters moduli block one embodiment
Application interface figure, as in figure 2 it is shown, in described model enters moduli block, concrete can defining include such as entering to join title,
Enter ginseng to describe, enter to join the informations parameter such as type.
Certainly, described model enter in moduli block 102 can be a model arrange multiple type multiple enter ginseng.In Fig. 2
The model of shown phone number scoring model enters that entitled phoneType joins in entering in moduli block, to enter to join type be character type,
Other that can also further arrange described phone number scoring model enter to join title, and such as phoneNumber, entering to join type is
Integer type.
Operating personnel can described model enter defined in moduli block 102 build model allow enter ginseng information.Described model enters
Moduli block 102 can obtain and store the model of operating personnel's setting to enter to join the data of information.
Model resource storehouse 103, may be used for storing the information of the resource file of described model.
Described model resource storehouse 103 may be used for storing resource file title that described model relates to, resource file form,
The information the such as whether resource file of address and described model that resource file is stored in service unit (such as SFS) lands.
Landing of described resource file typically refers to download resource file from other local memory element or remote server
After carry out local persistent storage.General, described resource the most usually includes during landing the resource file downloaded
Some data handling procedures, specifically can process according to data or whether design requirement is configured needing to enter resource file
One step processes and the concrete processing mode of described further process.Described model resource storehouse 103 can be to include described model
The memory element of resource file, it is also possible to be to include that pointing to the path of described model resource file, chained list, pointer etc. points to described
The information data of resource file.
In above-mentioned, the described service unit that can store resource file can be that locally or remotely server is that described model carries
Data module for resource file storage.In a kind of embodiment kind of the application, described service unit can use SFS (safe
File system, SFS), so, described model resource library storage has described model resource file depositing in NFS
Storage address.Described SFS is a kind of safe NFS, may be used for storage and provide by SFS client or
The corresponding interface accesses SFS server and realizes the NFS of file management.The present embodiment can use described SFS
Store the resource file of described model.Concrete such as in the model using JAVA design language to realize, SfsManagerClient
The call method downloading resource file from SFS can be provided.Then SimpleModelResourceParserFactory can be used
The SimpleModelResourceParser resolver interface provided resolves the resource file obtained.
It should be noted that the resource file storing resource file or path etc. pointed in described model resource storehouse 103 is permissible
Including generally conventional character information, such as the CSV text including multiple phone number data gathered, or typing in advance
The TXT text including multiple name.In a kind of embodiment of the application, described model resource storehouse can include resource solution
Analysis unit 1031, described resource resolution unit 103 may be used for entering the resource file of described model resource library storage or download
Row resolves, and described resource file can be converted into predetermined data form.It is concrete such as in JAVA,
CSVSimpleModelResourceParserImpl is the resolver of one of them CSV formatted file, can obtain
Map<String, List<String>>analysis result.So, at following model algorithm process the most above-mentioned similar CSV or
During the resource file of TXT text, Service Processing Unit 106 can need not all carry out when every described resource file of secondary acquisition
Resource file resolves, and can save data processing time, improve described model construction, verify, the treatment effeciency such as operation.
In one embodiment of the invention, described data model managing device can use described in Hbase database purchase
Object information after resource file parsing.Described Hbase be a kind of distributed, towards row PostgreSQL database, the most applicable
In the storage of unstructured data, therefore the present embodiment may be used for the resource file stored after landing.Described Hbase number
Can be arranged in described model resource storehouse 103 according to storehouse, it is also possible to for individually for storing the knot after described resource file resolves
The really data storage cell of information.Certainly, described Service Processing Unit 106 can directly invoke the Information Number in described Hbase
According to, described single Hbase data base can also link or mapping relations with described model resource storehouse 103, then institute
State Service Processing Unit and call the information data in described single Hbase by model resource storehouse 103.
Can be in the way of using local memory storage and distributed memory storage when described Hbase stores.This locality can be arranged deposit
Store storage unit, may be used for the resource file data after described parsing, and whole when internal memory storage in described model this locality loads
It is loaded onto in internal memory and processes;Such as concrete as use JAVA language design resource file land Hbase process time,
Can include following manner:
Former resource file is resolved the Map<String, List<String generated>>entirety is landed at one after object serialization
Below rowkey.Described rowkey form could be arranged to: model unique UUID+ resource name, can pass through
First 5 and be spliced into described resource name are taken after murmurHash algorithm.Internal memory storage in described model this locality loads when
Can once load above-mentioned resource to process in internal memory.
General, the single resource file of corresponding small documents resource, such as a 20M, can directly resolve when data process
And full dose is loaded in internal memory.And for bigger resource file, the single resource file of such as one 500M even 1G,
If directly resolving and full dose being loaded in internal memory, frequently can lead to memory consumption excessive, it is easy to cause the internal memory of application system
Overflow.Therefore, in the another kind of embodiment of the application, described Hbase storage can use distributed memory memory module.
Can arrange distributed memory memory element, the resource file data after may be used for described parsing is divided into multiple resource items and carries out
Storage, and load, when internal memory storage in described model this locality is called, the resource items needed.Concrete is using JAVA language to set
Meter resource file land Hbase process time, described distributed memory memory module may include that
Former resource file is resolved the Map<String, List<String generated>>break up the many item data of generation, each item all generates one
Individual rowkey stores.Described rowkey form could be arranged to: model unique UUID+ resource name+item title,
Can be by take first 5 and splice Old Name after murmurHash algorithm.Internal memory storage in described model this locality loads when
Whole resource will not be disposably loaded in internal memory, this resource can be can reloaded when using to a certain item with on-demand loading.
The present embodiment can use distributed memory memory module when described resource file lands Hbase, can be with resource file
Effectively save memory consumption time bigger, improves model data treatment effeciency and the reliability of model running, management etc..
Model variable module 104, may be used for model variable and the algorithm information of described model variable of storage definition.
The model variable used and described needed for can storing the implementation model that definition is arranged in described model variable module 104
The algorithm information of model variable.The algorithm information of described model variable can include the expression formula of model variable or the variable of setting
Script information.In described model variable module 104, can define one or more model variable, described model variable can
To call the calculating carrying out pre-defined rule into ginseng information.Described model variable can include corresponding types of variables, name variable,
That calls enters ginseng, can call function and resource file etc., it is possible to return the return value of respective type by expression formula after being calculated.
The return value of described model variable may be used for the input value of model algorithm and carries out model calculation.
In a kind of specific embodiment of the application, described model variable can include common variables and resource variable.Described
The model that common variables can be described enters the value obtained after ginseng information resolves according to intended conversion function or formatting method, described
Resource variable can be generate resource key value, may be used for acquiring resource items from resource file.Of course, it is possible to
In described model variable module, the different model variables for definition arrange different distinctive marks, or variable options.So,
For the variable classification that the definition of described model variable is different, significantly more efficient can carry out variable data for Service Processing Unit and quickly locate
Reason, can also define at business game personnel's model variable simultaneously, when design definitely clearly, the process of raising operating personnel
Efficiency and operation experience.
Model algorithm module 105, may be used for the model algorithm information of storage definition.
Operating personnel can arrange the algorithm information realizing functions of modules defined in described model algorithm module 105, such as, realize
How the name of user's input is carried out test marking, or the marking algorithm etc. of the phone number employing to user.Described mould
Type algoritic module 105 can provide corresponding algorithm implementation tool, the function call of certain design language as used,
What definition was arranged enters ginseng, model variable, self-defining function etc..Described model algorithm module 105 can obtain and store operation people
The model algorithm information of member's definition design.
Described Service Processing Unit 2, may be used for the model information in described configuration module being built into according to predetermined computation rule
The module object that can run.
Described Service Processing Unit 2 can load the model information configured in corresponding module unit in described configuration module 1, by institute
State model information and be quickly assembled into a module object that can run.In data model managing device described herein, institute
The described predetermined computation rule stating Service Processing Unit 2 execution can edit in advance, arrange, it is also possible to call certain Programming Design
Object compiling, constructor or the modules etc. of language, for realizing the module object that structure can run.Certainly, described industry
Can carry out resolving and persistence by resource file involved in described model when business processing unit 2 builds module object simultaneously
Locally stored.The processing procedure of described structure module object can include believing the various models in the configuration module 1 of described model
Breath is compiled, connects, can be formed instantiation can with media storage the application performed by computer, or class formation,
Assembly, unit functional module etc..
Concrete such as in JAVA design programming language, described Service Processing Unit 2 can call
SimpleModelManger interface provides SimpleModel pair of buildSimpleInCacheById method structure memorymodel
As.Described SimpleModel typically refers to running of scoring model of basis and holds class interface, comprises getVars and obtains mould
Type variable, getModelResource obtain the methods such as model resource.SimpleModelImpl can be the concrete real of a model
Existing class, described realize apoplexy due to endogenous wind comprise concrete modelVars model variable list, resources model resource list,
SimpleModelScorer model marking algorithm device object, varsScript variable scripting object etc..Certainly, module pair is being built
As time described Service Processing Unit 2 can also include but not limited to use following function to realize:
RunSimpleModelByName: perform to build model module object according to model name;
CheckModeIsExit: check whether model to be run exists;
ValidateParams: checking model calls the effectiveness into ginseng;
ExecVars: perform the calculating of model variable script;
SimpleModelHbaseHelper: provide and obtain and after the resource file parsing of write from Hbase
Map<String, List<String>>information;
CaculateScore: perform the marking algorithm of model.
It should be noted that configuration module 1 and Service Processing Unit 2 in data model managing device described herein provide
A kind of new, design management mode of effective data model, can apply to name, the data model of phone number marking,
Can also be applied in the structure of the multiple application models such as constellation test, asset management, online shopping, information inquiry, management.
Described device can be set by the executable program JAVA programming loading on tangible storage media described in the embodiment of the present application
Meter language realizes, it is also possible to being realized by other Programming Design language such as groovy, C++ etc., the application is to concrete reality
The design language of existing each embodiment of the application does not limits.
A kind of data model managing device described herein, by the mode sub-model of traditional model mastery routine hardware encoding line by line
Different configuration modules, can arrange in described model configuration module, define the relevant parameter of module of required structure, variable,
Resource file, algorithm etc., may then pass through the predetermined computation rule structure module object that Service Processing Unit is arranged.By this
The data model managing device that application provides, can compare traditional program compile with the corresponding data message of the allocation models of sub-module
Journey, can the foundation of quick implementation model, make data model release quickly, reach the standard grade in time, play application performance.Certainly, originally
Configuring module in data model managing device described in application can be that operating personnel provides visual operation interface, operating personnel
Can in shown operation interface the model information data of allocation models.Model analysis and exploit person can be made by the application device
Member more intuitively, clearly grasp and deployment model each configuration module data.And can facilitate, timely to difference
The operations such as the module information in each configuration module of model is added, revises, deletion, facilitate User management model data,
Substantially increase the motility that data model builds, and can effectively shorten the model development cycle.
General, operating personnel after the corresponding parameter information of allocation models, generally also needs to model in the configuration module of model
Carry out test checking, data model managing device the most described herein can also include:
Authentication module 3, may be used for entering to join script information according to the model checking stored and verifies the module object built.
Described authentication module 3 can load be arranged on model enter join in memory element enter ginseng build script, carry out generating into ginseng;Generate
Enter ginseng after, according to arrange model enter to join information management table configuration enter to join treaty rule detect described generation enter ginseng whether close
Method;For the legal ginseng of entering, perform the variable algorithm of storage in model variable module, and by calculated variable and legal
Enter to join the input information as described model algorithm and carry out model calculation;Export described model calculation result, and according to described model
The configuration data of operation result checking model energy are the most normal.
Fig. 3 is the modular structure schematic diagram of herein described data model managing device another kind embodiment.As it is shown on figure 3,
In concrete application scenarios, described authentication module 3 input can build script in verifying ginseng input script, and being used for building needs
To be verified enters to join list information.In concrete proof procedure, operating personnel can enter to join at model checking and arranges needs in script
That verifies enters ginseng information, such as several telephone numbers or name information.Checking can first be loaded into ginseng and build script when performing,
Carry out producing and operate into ginseng.If causing because script is abnormal during ginseng generating into ginseng failure described generation, then can terminate
Checking flow process, the result of output authentication failed.Enter ginseng structure script described in and if can normally generate into ginseng, then can adjust
With the modelling verification interface provided, enter according to the model pre-set to join in information management table configuration enter to join pre-defined rule perform right
Model enters the verification of ginseng, and it is the most legal to detect into ginseng.The model that described modelling verification interface internal can be verified as required
ID loads the SimpleModel object of a memorymodel.It is concrete such as in JAVA design language,
SimpleModelValidator interface can provide validateModel method for modelling verification, SimpleModelManger
Interface can provide buildSimpleInCacheById method for building the SimpleModel object of memorymodel.For school
Test result be illegal enter ginseng can directly display illegal exception stack information, it is possible to terminate proof procedure, output checking
Failed the result.Ginseng is entered for legal, the variable arranged in model variable module can be continued executing with and calculate script, and
Calculated variable and described legal entering can be joined the input information as model algorithm and carry out model calculation.If built
The SimpleModel object of the most above-mentioned loading of module object can export and such as meet the object information that design requires, then checking is logical
Cross;If midway exists performs exception, collect output abnormality information after exception stack information, then can position to abnormal information
Place, or directly exit whole proof procedure.
The configuration information that operating personnel could observe, verify model by the authentication module described in the present embodiment is the most normal, is
The no requirement meeting follow-up issue or even application of reaching the standard grade.For abnormal or can not meet design require model, Ke Yichong
Newly carry out configuration information, the most again verify.So, the authentication module improved by the data model managing device of the application can
Fast, easily newly-built or amended model to be verified, the reliability of application can be issued with assurance model, it is achieved
To model quick, effectively verify.
In data model managing device described herein, the data message of multiple models of configuration can be stored.Described storage
Model different model states can be set according to state in which, the most newly-built, to be verified, have verified that, commencement of commercial operation etc..
To the data model by checking, can issue, it is achieved the quick application of model.The issue of described model, can
To include issuing the newly constructed application model that can apply on line, or issue when the model modification version existed on front
This.Certainly, in application scenes, the issue of described model can also be to rolling off the production line when front upper mold type, or deletes
Except some model being currently running.It should be noted that model described herein issue institute towards object can be end
In application on end, such as mobile terminal shopping application APP, it is also possible to on server provide business service, as being
Terminal applies provides the service application on the server that data access, storage or information are mutual.
Fig. 4 is the modular structure schematic diagram of herein described data model managing device another kind embodiment.As shown in Figure 4, tool
Body, data model managing device described herein can also include:
Resource management module 4, may be used for storing include wanting module to reach the standard grade, update, delete in model row of at least one operation
Table information.In described model list information, the current correct model information run can be included, it is also possible to include needing amendment
Or the information of model added, naturally it is also possible to include the data message of the model that needs delete.Difference to different modules
Operation setting operates distinguishing identifier accordingly.Concrete, can be by model name as currently in the most described model list information
The unique identifier of model in terminal or server, can in described model list information for need not to make the model changed
To add " NUL " mark before model name, or model name is not made an amendment;Model for increase in demand can be
Described model list information is added and this time increases the model name of model, and before described model name, add " ADD " mark;
The model name of this lower line model can be added in described model list information for the demand model deleted that rolls off the production line, and in institute
" DEL " mark is added before stating model name.
So server or terminal applies can according to the model list information arranged from described acquisition resource management module 4 more
New model data message.In other implementations, described data model managing device can also regularly send broadcast,
Concrete such as can include module updating block, may be used for the application transmission pattern on designated terminal or server and updates
Message, is used for notifying server or terminal applies more new module.
Of bonding system is closed for large-scale business, such as financial sector, e-commerce system etc., system availability be one non-the normally off
The index of key, it usually needs 24 hours persistent services.System once stops, it is possible to bringing huge loss.So
And, the business rule of this kind of system the most described above is the most complicated and changeable, it is often necessary to carry out various upgrading, in industry
When business rule changes, it usually needs restarting systems carries out system upgrade, and so can greatly reduce system can use
Property.In order to avoid when system upgrade, restarting systems in turn results in loss, the above embodiments of the present application can provide heat deployment
The model modification of mode, update device, can be efficiently applied to multiple terminal or the service system needing to carry out model modification.
So-called heat disposes the software that typically refers to upgrade when system is run, without restarting systems.Concrete implementation mode is permissible
Line process on scoring model as described below:
For needing the model issued, can become, according to configuration information fast unit in model management device, the Simple that can run
Model object, carries out the model resource file being designed into resolving landing with persistence simultaneously.Or according to last the current field
Model issuing time, as version, loads the basis marking that the current field needs to reach the standard grade from the localisation database of model management device
Model, then whether inspection model resources bank exists the resource file not landed.Can be from SFS to the resource file not landed
Middle download, and resolve one by one and land to Hbase and carry out persistent storage.Then needs are reached the standard grade one or more
Model Mounting becomes SimpleModel object, serializes the SimpleModel object built, and stores model row
In table information, identify as " ADD ".Judge the most again at present in model list information, it is now desired to roll off the production line
Model, if it is present identify as " DEL ", or deletes basic model and reaches the standard grade the respective items in table.In the application
Other embodiments in, it is also possible to described model list information is respectively set to model and reaches the standard grade list and model rolls off the production line list.Institute
Stating model list of reaching the standard grade to store and need the model information reaching the standard grade and/or there is currently, the list of rolling off the production line of described model may be used for depositing
Storage needs the model information rolled off the production line in model.Then can build the broadcast of a resource management module, be distributed
The broadcast of formula Resource management messages pushes.Certainly, described broadcast can pre-set the relevant mode that this model is issued
Type information.
After terminal applies or server service system receive the broadcast that resource management module 4 sends, mould can be first determined whether
Whether type information comprises this domain information, if not comprising, directly ignoring and terminating;If comprised, then can be according to this operation
Time internal memory record last issuing time version give out information with this in time version formed time window, from model list
Information or model are reached the standard grade and are loaded model that the current field needs to reach the standard grade in list and unserializing forms SimpleModel object.So
After can also load other territories and share to the current field and need the model reached the standard grade unserializing to form SimpleModel object.Permissible
The model needing to roll off the production line is loaded from model list information or model roll off the production line list, and local according to model modification of reaching the standard grade and roll off the production line
Scoring model running memory storage unit, it is achieved the heat deployment of terminal or server model.In JAVA, it is possible to use
SimpleModelRepository provides the storage of local internal memory, it is therefore an objective to for hold wired on model data.
Utilize the above-mentioned data model managing device that the application provides, it is possible to achieve the fast parameter configuration of model, Quick thread are sent out
Cloth, and the heat deployment of terminal or server data model can be realized.Will not in the operating process such as model interpolation, amendment
Affect the model run on line, reach system smooth upgrade, for data model definition, develop, manage, issue, apply,
Upgrading etc. provides and provides powerful support for.
Data model managing device described herein can be applied in multiple business service system, and therefore, the application also provides for one
Planting data model processing server, described server is configured to, and may include that
The model modification message that data model managing device sends can be received, include in judging described model modification message and need
Model list information can be obtained during model to be processed;Can be according to the service handling information arranged in described model list information
Designated model is carried out respective handling operation.
Described model modification message can be the broadcast that in device described above, resource management module sends.Described business
What process information was concrete be referred to other embodiments of the application are such as arranged model be added, delete, chatting of revising
State, do not repeat at this.Utilize the data model processing server that the application provides, it is possible to achieve self or be terminal applies
Model provides heat to dispose, and reaches the release quickly of new model, application of reaching the standard grade, model modification, application service smooth upgrade, improves
Server service ability, can also improve the service experience of corresponding terminal side user simultaneously.
Based on the application a kind of data model device described above, the application also provides for a kind of model data processing method, and Fig. 5 is
The method flow schematic diagram of herein described a kind of a kind of embodiment of model data processing method, as it is shown in figure 5, described method can
To include:
S101: data model is divided into the configuration module group of predetermined number, described configuration module group stores the model of acquisition respectively
Configuration information;
S102: the model information in described configuration module group is built into the module object that can run according to predetermined computation rule.
This application provides a kind of model data processing method to provide and a kind of be different from the new, effectively of conventional model hard coded
The structure of data model, management method, can apply to the structure of the data model such as name, phone number marking.Compare biography
The main routine program of system, can the foundation of quick implementation model, make data model release quickly, reach the standard grade in time, performance application
Energy.
Although mention database purchase in teachings herein, JAVA Programming Design language, information judge mutual or the like data
Process and describe, but, the application is not limited to must be at the mutual data of complete standard or mentioned language, information
The situation of reason.In the application, the foregoing description involved by each embodiment is only the application in some embodiments in the application,
On the basis of some standard, method, language, the most amended data processing method can also carry out each embodiment of above-mentioned the application
Scheme.Certainly, the module described in the application the various embodiments described above, Elementary Function and data processing method step are being met
Rapid other, without creative deformation, still can realize identical application, not repeat them here.
Although this application provides such as embodiment or apparatus module structure shown in the drawings or method flow, but based on conventional or
More or less modular unit or operating procedure can be included without creative means.The apparatus structure enumerated in embodiment
It is only some implementations based on the application thought, does not represent unique modular structure.
Unit that above-described embodiment illustrates or module, specifically can be realized by computer chip or entity, or by having certain merit
The product of energy realizes.For convenience of description, it is divided into various module or unit to be respectively described with function when describing apparatus above.
Certainly, the function of each module can be realized in same or multiple softwares and/or hardware when implementing the application, the most permissible
Definition module and model variable module are set to a module realize, it is also possible to the module of same function will be realized by multiple
The combination of submodule or subelement realizes, and such as model resource storehouse can be divided into local Hbase data base and long-range SFS resource clothes
Business device.
This neighborhood technique personnel are also, it is understood that in addition to realizing controller in pure computer readable program code mode, the most permissible
Make controller with gate, switch, special IC, FPGA control by method step carries out programming in logic
The form of device processed and embedding microcontroller etc. realizes identical function.The most this controller is considered a kind of Hardware Subdivision
Part, and its inside is included can also be considered as the structure in hardware component for the device realizing various function.Or even,
In can being considered as the device being used for realizing various function not only can being the software module of implementation method but also can being hardware component
Structure.
The application can be described in the general context of computer executable instructions, such as program module.
Usually, program module include perform particular task or realize the routine of particular abstract data type, program, object, assembly,
Data structure, class etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by
The remote processing devices connected by communication network performs task.In a distributed computing environment, program module can position
In the local and remote computer-readable storage medium including storage device.
As seen through the above description of the embodiments, this neighborhood technical staff it can be understood that to the application can be by soft
Part adds the mode of required general hardware platform and realizes.Based on such understanding, the technical scheme of the application is the most in other words
The part contributing prior art can embody with the form of software product, and this computer software product can be stored in
In storage medium, such as ROM/RAM, magnetic disc, CD etc., use so that a computer equipment is (permissible including some instructions
Be personal computer, mobile terminal, server, or the network equipment etc.) perform each embodiment of the application or embodiment
Method described in some part.
Each embodiment in this specification uses the mode gone forward one by one to describe, and between each embodiment, same or analogous part is mutual
Seeing, what each embodiment stressed is the difference with other embodiments.The application can be used for numerous general or
In special computing system environments or configuration.Such as: personal computer, server computer, handheld device or portable set
Standby, laptop device, multicomputer system, system based on microprocessor, programmable electronic equipment, network PC, small-sized
Computer, mainframe computer, the distributed computing environment including any of the above system or equipment etc..
Although depicting the application by embodiment, this neighborhood those of ordinary skill is known, the application have many deformation and a change and
Without departing from spirit herein, it is desirable to appended claim includes that these deformation and change are without deviating from spirit herein.