Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to
The range of this specification protection.
Resource data in this specification embodiment can be understood as computer's software resource, such as: website, is answered at browser
It, specifically can be with platform (such as: shopping platform, payment platform, gaming platform), APP (Application, application program) etc.
It is defined according to actual needs.
With the development of computer and Internet technology, the appearance of various development projects develops and various facilitates use
The software resource that family uses.Need to safeguard update after software resource exploitation, to promote the performance of software, existing for fixed software
It lacks.
A kind of resource data updating method is provided in this specification embodiment, realizes target resource using NPM resource packet
The dynamic of data pulls, and the automatic newest resource file for obtaining target resource data realizes automatically updating for target resource data.
It does not need manually to update, avoids the version fragmentation of resource data, improve the update efficiency of resource data, facilitate
The release maintenance of resource data.
Resource data updating method can be applied in client or server in this specification, and client can be intelligence
Mobile phone, intelligent wearable device (smartwatch, virtual reality glasses, virtual implementing helmet etc.), intelligent vehicle-carried is set tablet computer
It is standby to wait electronic equipments.
Specifically, Fig. 1 is the flow diagram of resource data updating method in this specification one embodiment, such as Fig. 1 institute
Show, the resource data updating method provided in this specification one embodiment may include:
Step 102, the newest resource version number that target resource data are obtained based on NPM resource packet, the NPM resource packet are used
In the newest resource version number for obtaining resource data automatically, the newest resource version number is that the target resource data distance is worked as
The corresponding version number of preceding time last update.
NPM (Node Package Manager, node package manager) can be understood as a NodeJS, and (NodeJS can be with
It is interpreted as Javascript running environment) assure reason and dispensing instrument.NPM can be used as the common one kind of front end exploitation to outside
The dependence mode of resource, provides pack arrangement form, is preferably managed by version number and uses resource.NPM resource packet can be managed
Solution is a kind of resource packet that the javascript code for writing developer carries out unified encapsulation and stores, and this specification is implemented
NPM resource packet in example can provide the function of the automatic newest resource version number for obtaining resource data, can specifically there is exploitation
Personnel realize corresponding function by writing computer program.
In the specific implementation process, in this specification embodiment, there can be one or more servers, for safeguarding more
The server of new resources data, the server can be updated resource data, every update first resource data, updated
Resource data is all corresponding with a new resource version number.Under normal conditions, it is new to be updated acquisition to resource data for server
After the resource data of version, can to where each user client or server send new version resource data, or
Can to where each user client or server send the message that the resource data has new version, user can receive
To the resource data of new version or after having the message of new version, selection updates the resource data in local client.Or user
New version can be whether there is in client query resource data, and if it exists, then send request new version to server
Resource data, to update the resource data of client local.
In this specification embodiment, it can need to carry out the user terminal of resource data updating such as in advance: cell phone customer
NPM resource packet is installed at end, and the NPM resource packet in this specification embodiment can have following functions: it is newest to obtain server end
Resource version number, newest resource data is obtained by this version number and updates local function.Wherein, server end is obtained
Newest resource version number is one dynamic by two processes that this version number obtains newest resource and updates local function
State process dynamically can be understood as not needing artificially to handle, and be an automated procedure, be the state of a variation.Such as: certain money
The version of source data today is 1.0, and the version of tomorrow is 2.0, and resource data can be not required to from 1.0 version updatings to 2.0 versions
It wants developer to handle, the monitoring to resource data may be implemented based on NPM resource packet, it, can after having new resource version number
To obtain the resource data of latest edition automatically, and it is updated.It can be realized by the preset code in NPM resource packet
Automatically it sends and requests to server end, the effect of this request is exactly to obtain newest version number.
In this specification embodiment, it can use NPM resource packet from trend server end and send the newest resource of request
The solicited message of version number after received server-side to the solicited message, can return to the target resource number of server end storage
According to newest resource version number, and then user terminal can from server end obtain target resource data newest resource version
Number.
Wherein, target resource data can be understood as resource data to be updated or software to be updated, such as: if desired right
Payment application in client is automatically updated, then the payment application can be used as target resource data;If certain website needs
It is automatically updated, then the website can be used as target resource data.It should be noted that if certain terminal is mounted with NPM resource
It wraps, includes that can obtain the newest resource version number of server end automatically in the NPM resource packet, obtained most by this version number
New resource and the computer program for updating local function, then the application software in the terminal can be used as target resource number
According to automatic Monitoring and Update can be carried out to the version of the application software in the terminal.It is of course also possible to automatically select in terminal
Which applied software development automatically update business.
Newest resource version number can be understood as target resource data apart from the corresponding version of current time last update
This number, such as: current time is on April 29th, 2019, if preserving 3 versions in the server for updating target resource data
This target resource data, wherein first version is to update in November, 2018, and second version is to update for 2 months 2019
, third version is to update on April 1st, 2019, then can be using the version number of third version as newest resource version
Number.Version number can indicate the character string for identifying target resource data different editions, and concrete form can be according to practical need
It is configured, this specification embodiment is not especially limited.
On the basis of the above embodiments, described that target money is obtained based on NPM resource packet in some embodiments of this specification
The newest resource version number of source data, comprising:
Obtain the corresponding use environment of the target resource data;
The newest resource version number of the target resource data under the use environment is obtained based on NPM resource packet.
In the specific implementation process, use environment can be stated, it can to target after NPM resource packet is installed
When resource data is updated, the corresponding use environment of target resource data is obtained.Wherein, the use environment of target resource data
Can indicate the network environment of target resource data run such as: environment under environment, line on local area network, line, the end PC use environment or
Cell phone client use environment, Android use environment etc..It can use the target money that NPM resource packet obtains corresponding use environment
The newest resource version number of source data.
Based on the use environment of target resource data, the newest resource version of the target resource data under corresponding environment is obtained
Number, so that the resource file got can be adapted with use environment, improve the accuracy of resource data updating.
Step 104, according to the newest resource version number, obtain the newest resource file of the target resource data.
After getting the newest resource version number of target resource data, correspondence can be pulled according to newest resource version number
Newest resource file, newest resource file can be understood as the corresponding resource file of newest resource version number, i.e. target resource
Resource file of the data after current time last update.Such as: if getting the newest resource version of certain cell phone application
Number be 2.0 versions, then can from safeguard the cell phone application server in obtain version number be 2.0 cell phone application installation kit.
It is described according to the newest resource version number in this specification one embodiment, obtain the target resource data
Newest resource file, may include:
The newest resource version number and the current version number of the target resource data are compared, if described newest
The current version difference of resource version number and the target resource data obtains institute then according to the newest resource version number
State the newest resource file of target resource data.
In the specific implementation process, NPM resource packet can be monitored resource data, such as: NPM resource packet can be real
Now every the newest resource version number of specified target resource data of time request.Getting target resource data
Newest resource version number after, in the resource version number that can will acquire and terminal the current version number of target resource data into
Row compares, if newest resource version number is identical as current version number, it can be said that the target resource data in bright terminal have been
Latest edition, if newest resource version number and current version difference, it can be said that the target resource data in bright terminal need
It updates, corresponding newest resource file can be obtained according to newest resource version number.
It is compared by the newest resource version number and local current version number that will acquire, determines local resource
Whether data, which need, updates, and the accuracy of resource data updating can be improved.
Step 106 updates the target resource data using the newest resource file.
After getting the newest resource file of target resource data, target resource number can be updated using newest resource file
According to such as: installing newest resource file, realize automatically updating for target resource data.
A kind of resource data updating method is provided in this specification embodiment, can use NPM resource packet, realizes target
The automatic monitoring of resource data version, the automatic newest resource version number for obtaining target resource file, realizes target resource data
Automatically update.The process of resource data updating can not need manual hand manipulation, automatic in the case where user's unaware
Complete resource data update, realize resource data automatically update and continuous updating.It avoids and manually updates, cause
Resource data version in different user terminals is different, solves the problems, such as the version fragmentation of resource data, facilitates resource data
Release maintenance.
On the basis of the above embodiments, in this specification one embodiment, the method can also include:
After updating the target resource data using the newest resource file, to updated target resource data
Carry out authorization check, the authorization check includes: whether the target resource data after checksum update are suitable for current using ring
Whether border and/or the verification target resource data open resource data and automatically update business;
If authorization check passes through, the target resource data are updated successfully.
In the specific implementation process, the newest resource file of target resource data is got, and using newest resource text
After part updates target resource data, authorization check can be carried out to updated target resource data, that is, examine updated mesh
Whether mark resource data is able to use.Such as: can verify whether current use environment can be used updated target resource
Data, and/or, whether verification object resource data opens resource data and automatically updates business, i.e. user can choose to specified
Resource data unlatching automatically update business.If verification passes through, target resource data are updated successfully, and can use updated
Target resource data execute corresponding operation, such as: carry out page rendering, component rendering.
This specification embodiment, by carrying out authorization check to updated resource data, it is ensured that updated number of resources
According to can normal use, improve the accuracy of resource data updating.
On the basis of the above embodiments, in this specification one embodiment, the method can also include: that adjustment updates
The property parameters of target resource data afterwards.
In the specific implementation process, target resource data update terminate, using updated target resource data it
Before, the property parameters of updated target resource data can be adjusted, wherein property parameters can be indicated for describing
The parameter attribute of target resource data attribute, as: property parameters may include target resource data: page color, background face
Color, font size, font, icon sizes etc..The property parameters that can be adjusted can performance according to target resource data, NPM
The function that resource packet provides is configured, and this specification embodiment is not especially limited.
Such as: if being updated to certain shopping platform, obtain the shopping platform newest resource version number and newest money
After source file, the shopping platform is updated using newest resource file.After the completion of update, using the shopping platform it
Before, the page color of the shopping platform can be modified, such as: red is revised as by crocus.
This specification embodiment can be adjusted the property parameters of updated resource data, realize number of resources
According to personalized customization, meet the needs of different users, improve user experience.Meanwhile by updated resource data
Property parameters be adjusted, can also be improved the amalgamation of the UI (user interface) of resource data.Such as: if a number of resources
According to referring to another resource data, if after one of resource data updating, not with the page color of another resource data
Together, it may cause UI not merge, this specification embodiment can be by the page color of modification resource data, so that two resources
The UI of data can be merged.
Fig. 2 is that the flow diagram of resource data updating in one example of this specification introduces this theory below with reference to Fig. 2
The renewal process of resource data in one example of bright book:
1. installing NPM resource packet, reference NPM resource packet into engineering project and is used, and does base for the operation of subsequent step
Plinth.NPM resource packet can have following functions: obtaining the newest resource version number of server end, is obtained by this version number
Newest resource simultaneously updates local function.Wherein, the newest resource version number of server end is obtained, is obtained by this version number
Newest resource and to update two processes of local function be a dynamic process, dynamically can be understood as not needing artificially to handle,
It is an automated procedure, is the state of a variation.It can be realized automatically by the preset code in NPM resource packet to clothes
Business device end sends request, and effect of this request is exactly to obtain newest version number.
2. stating use environment in business, corresponding resource file is obtained according to environment later, wherein obtain resource text
The process of part may include:
Condition one: the newest resource version of newest resource file version number, that is, target resource data under respective conditions is obtained
Number.It can send and request to server end, the newest resource version number of request.
Condition two: running and obtain the module data of needs after acquisition resource, pulls corresponding money by version number's dynamic
Source file can update local function after the acquisition, i.e. update target resource data.
Condition three: waiting authorization check, such as: judging currently whether environment can be used, and whether current business logs in etc..
Corresponding operation can be executed after three conditions are ready, such as: carrying out module rendering, the operation such as page rendering.
After this specification embodiment once mounting NPM resource packet, resource data is pulled based on NPM resource packet dynamic, is not necessarily to
Update after care can also obtain newest resource.Solving iframe, (iframe is html tag, and effect is in document
Document, or the frame to float) it is not merged with UI in routine NPM mode, continuous updating, version fragmentation, personalized customization, mould
The obvious problems such as block communication.Wherein, it dynamically pulls and can be understood as the impermanent existing resource in home environment, it can basis
Environment, requirement come into force after pulling what resource judged to pull.
Various embodiments are described in a progressive manner for the above method in this specification, identical between each embodiment
Similar part refers to mutually, and each embodiment focuses on the differences from other embodiments.Correlation
Place illustrates with reference to the part of embodiment of the method.
Based on resource data updating method described above, this specification one or more embodiment also provides a kind of resource
Data update apparatus.The device may include system (including the distribution for having used this specification embodiment the method
System), software (application), module, component, server, client etc. and combine the necessary device for implementing hardware.Based on same
Innovation thinking, the device in one or more embodiments that this specification embodiment provides is as described in the following examples.Due to
Before the implementation that device solves the problems, such as is similar to method, therefore the implementation of the specific device of this specification embodiment can refer to
The implementation of method is stated, overlaps will not be repeated.Used below, predetermined function may be implemented in term " unit " or " module "
The combination of the software and/or hardware of energy.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Specifically, Fig. 3 is the modular structure schematic diagram of resource data updating device one embodiment that this specification provides,
As shown in figure 3, the resource data updating device provided in this specification may include: that resource version number obtains module 31, resource
File acquisition module 32, resource data updating module 33, in which:
Resource version number obtains module 31, can be used for obtaining the newest resource of target resource data based on NPM resource packet
Version number, the NPM resource packet are for obtaining the newest resource version number of resource data, the newest resource version number automatically
The target resource data are apart from the corresponding version number of current time last update;
Resource file obtains module 32, can be used for obtaining the target resource number according to the newest resource version number
According to newest resource file;
Resource data updating module 33 can be used for updating the target resource data using the newest resource file.
The resource data updating device that this specification embodiment provides can use NPM resource packet, realize target resource number
According to the automatic monitoring of version, the automatic newest resource version number for obtaining target resource file realizes the automatic of target resource data
It updates.The process of resource data updating can not need manual hand manipulation, be automatically performed money in the case where user's unaware
The update of source data, realize resource data automatically update and continuous updating.It avoids and manually updates, lead to different use
Resource data version in the terminal of family is different, solves the problems, such as the version fragmentation of resource data, facilitates the version of resource data
Maintenance.
On the basis of the above embodiments, in some embodiments of this specification, it is specific that the resource version number obtains module
For:
Obtain the corresponding use environment of the target resource data;
The newest resource version number of the target resource data under the use environment is obtained based on NPM resource packet.
Use environment of this specification embodiment based on target resource data obtains the target resource data under corresponding environment
Newest resource version number improve resource data updating so that the resource file that gets can be adapted with use environment
Accuracy.
Fig. 4 is the structural schematic diagram of resource data updating device in another embodiment of this specification, as shown in figure 4, this
In some embodiments of specification, described device further includes authorization check module 41, is used for:
After updating the target resource data using the newest resource file, to updated target resource data
Carry out authorization check, the authorization check includes: whether the target resource data after checksum update are suitable for current using ring
Whether border and/or the verification target resource data open resource data and automatically update business;
If authorization check passes through, the target resource data are updated successfully.
This specification embodiment is by carrying out authorization check to updated resource data, it is ensured that updated resource data
Can normal use, improve the accuracy of resource data updating.
On the basis of the above embodiments, in some embodiments of this specification, the resource file obtains module and specifically uses
In:
The newest resource version number and the current version number of the target resource data are compared, if described newest
The current version difference of resource version number and the target resource data obtains institute then according to the newest resource version number
State the newest resource file of target resource data.
This specification embodiment passes through the newest resource version number that will acquire and is compared with local current version number,
It determines whether local resource data needs to update, the accuracy of resource data updating can be improved.
Fig. 5 is the structural schematic diagram of resource data updating device in another embodiment of this specification, as shown in figure 5,
On the basis of above-described embodiment, described device further includes property parameters adjustment module 51, is used for:
Adjust the property parameters of updated target resource data.
This specification embodiment can be adjusted the property parameters of updated resource data, realize resource data
Personalized customization, meet the needs of different users, improve user experience.Meanwhile by updated resource data
Property parameters are adjusted, and can also be improved the amalgamation of the UI (user interface) of resource data.
It should be noted that device described above can also include other embodiment party according to the description of embodiment of the method
Formula.Concrete implementation mode is referred to the description of above-mentioned corresponding embodiment of the method, does not repeat one by one herein.
This specification embodiment also provides a kind of resource data updating equipment, comprising: at least one processor and is used for
The memory of storage processor executable instruction, the processor realize resource data in above-described embodiment when executing described instruction
Update method, such as:
The newest resource version number of target resource data is obtained based on NPM resource packet, the NPM resource packet for obtaining automatically
Take the newest resource version number of resource data, the newest resource version number be the target resource data apart from current time most
Closely once update corresponding version number;
According to the newest resource version number, the newest resource file of the target resource data is obtained;
The target resource data are updated using the newest resource file.
Fig. 6 is the structural schematic diagram of the resource data updating system provided in this specification one embodiment, such as Fig. 6 institute
Show, the resource data updating system in this specification embodiment may include client and server, wherein client and service
The quantity of device may each be multiple, and this specification embodiment is not especially limited.Server can be used for the maintenance of resource data
And update, client and server can carry out data communication, client can obtain latest edition from server end automatically
Resource data, and the resource data of client local is updated.
As described in Figure 6, the client is equipped with NPM resource packet, and the NPM resource packet for obtaining resource data automatically
Newest resource version number;
It include executable instruction in the NPM resource packet, the client includes at least one processor and for depositing
The memory of the NPM resource packet is stored up, the processor is sent when executing the instruction in the NPM resource packet to the server
Obtain the request of the newest resource version number of target resource data;
The server returns to the newest resource version number of the target resource data to the client;
When instruction in NPM resource packet described in the client executing, Xiang Suoshu server obtains the newest resource version
This number newest resource file;
The server returns to the newest resource file to the client;
The client updates the target resource data in the client using the newest resource file.
It should be noted that processing equipment and system described above, can also include it according to the description of embodiment of the method
His embodiment.Concrete implementation mode is referred to the description of above-mentioned corresponding embodiment of the method, does not go to live in the household of one's in-laws on getting married one by one herein
It states.
The resource data updating device or processing equipment or system that this specification provides, can also apply in a variety of data point
It analyses in processing system.The system or device or processing equipment may include any one resource data updating in above-described embodiment
Device.The system or device or processing equipment can be individual server, also may include having used this specification
It is the server cluster of one or more the methods or one or more embodiment device, system (including distributed system), soft
Part (application), practical operation device, logic gates device, quantum computer etc. simultaneously combine the necessary terminal dress for implementing hardware
It sets.The detection system of the verification variance data may include at least one processor and storage computer executable instructions
Memory, the processor realize the step of method described in above-mentioned any one or multiple embodiments when executing described instruction
Suddenly.
Embodiment of the method provided by this specification embodiment can mobile terminal, terminal, server or
It is executed in similar arithmetic unit.For running on the server, Fig. 7 is that resource data is more in this specification one embodiment
The hardware block diagram of new demand servicing device, the server can be resource data updating device, resource data in above-described embodiment
Update processing equipment or system.As shown in fig. 7, server 10 may include one or more (only showing one in figure) processors
100 (processing units that processor 100 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) are used
Memory 200 in storing data and the transmission module 300 for communication function.This neighborhood those of ordinary skill can manage
Solution, structure shown in Fig. 7 are only to illustrate, and do not cause to limit to the structure of above-mentioned electronic device.For example, server 10 may be used also
It including component more or more less than shown in Fig. 7, such as can also include other processing hardware, such as database or multistage
Caching, GPU, or with the configuration different from shown in Fig. 7.
Memory 200 can be used for storing the software program and module of application software, such as the money in this specification embodiment
Corresponding program instruction/the module of source data update method, the software journey that processor 100 is stored in memory 200 by operation
Sequence and module, thereby executing various function application and resource data updating.Memory 200 may include high speed random storage
Device may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile solid
State memory.In some instances, memory 200 can further comprise the memory remotely located relative to processor 100, this
A little remote memories can pass through network connection to terminal.The example of above-mentioned network includes but is not limited to internet, enterprise
Industry intranet, local area network, mobile radio communication and combinations thereof.
Transmission module 300 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal provide.In an example, transmission module 300 includes a Network adaptation
Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual
Networking is communicated.In an example, transmission module 300 can be radio frequency (Radio Frequency, RF) module, use
In wirelessly being communicated with internet.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Method or apparatus described in above-described embodiment that this specification provides can realize that business is patrolled by computer program
It collects and records on a storage medium, the storage medium can be read and be executed with computer, realize this specification embodiment institute
The effect of description scheme.
The storage medium may include the physical unit for storing information, usually by after information digitalization again with benefit
The media of the modes such as electricity consumption, magnetic or optics are stored.It may include: that letter is stored in the way of electric energy that the storage medium, which has,
The device of breath such as, various memory, such as RAM, ROM;The device of information is stored in the way of magnetic energy such as, hard disk, floppy disk, magnetic
Band, core memory, magnetic bubble memory, USB flash disk;Using optical mode storage information device such as, CD or DVD.Certainly, there are also it
Readable storage medium storing program for executing of his mode, such as quantum memory, graphene memory etc..
The above-mentioned resource data updating method or apparatus that this specification embodiment provides can be in a computer by processor
Corresponding program instruction is executed to realize, such as using the c++ language of windows operating system in the realization of the end PC, Linux system reality
Now or other are for example realized using android, iOS system programming language in intelligent terminal, and are based on quantum computer
Processing logic realize etc..
It should be noted that specification device described above, computer storage medium, system are implemented according to correlation technique
The description of example can also include other embodiments, and concrete implementation mode is referred to the description of corresponding method embodiment,
It does not repeat one by one herein.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Divide reference mutually, each embodiment focuses on the differences from other embodiments.Especially for hardware+
For program class embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place reference side
The part of method embodiment illustrates.
This specification embodiment is not limited to meet industry communication standard, standard computer resource data updating
With situation described in data storage rule or this specification one or more embodiment.Certain professional standards or use are made by oneself
Right way of conduct formula or embodiment description practice processes on embodiment modified slightly also may be implemented above-described embodiment it is identical, etc.
The implementation result being anticipated that after same or close or deformation.Using these modifications or deformed data acquisition, storage, judgement, place
The embodiment of the acquisitions such as reason mode still may belong within the scope of the optional embodiment of this specification embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cellular phone, camera phone, smart phone, individual
Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or
The combination of any equipment in these equipment of person.
Although this specification one or more embodiment provides the method operating procedure as described in embodiment or flow chart,
It but may include more or less operating procedure based on conventional or without creativeness means.The step of being enumerated in embodiment
Sequence is only one of numerous step execution sequence mode, does not represent and unique executes sequence.Device in practice or
When end product executes, can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as it is parallel
The environment of processor or multiple threads, even distributed resource data more new environment).The terms "include", "comprise" or
Any other variant thereof is intended to cover non-exclusive inclusion by person, so that including the process, method of a series of elements, product
Or equipment not only includes those elements, but also including other elements that are not explicitly listed, or it is this for further including
Process, method, product or the intrinsic element of equipment.In the absence of more restrictions, it is including described for being not precluded
There is also other identical or equivalent elements in the process, method of element, product or equipment.The first, the second equal words are used to
It indicates title, and does not indicate any particular order.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each module can be realized in the same or multiple software and or hardware when specification one or more, it can also be with
The module for realizing same function is realized by the combination of multiple submodule or subelement etc..Installation practice described above is only
It is only illustrative, for example, in addition the division of the unit, only a kind of logical function partition can have in actual implementation
Division mode, such as multiple units or components can be combined or can be integrated into another system or some features can be with
Ignore, or does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be logical
Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
The present invention be referring to according to the method for the embodiment of the present invention, the process of device (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable resource data updating devices
To generate a machine, so that being produced by the instruction that the processor of computer or other programmable resource data updating devices executes
Life is for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable resource data updating devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded on computer or other programmable resource data updating devices, so that
Series of operation steps are executed on a computer or other programmable device to generate computer implemented processing, thus calculating
The instruction executed on machine or other programmable devices is provided for realizing in one or more flows of the flowchart and/or box
The step of function of being specified in figure one box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage, graphene stores or other
Magnetic storage device or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to herein
In define, computer-readable medium does not include temporary computer readable media (transitory media), such as the data of modulation
Signal and carrier wave.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating
Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or
The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or
It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on
It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type
Routine, programs, objects, component, data structure etc..This this specification one can also be practiced in a distributed computing environment
Or multiple embodiments, in these distributed computing environments, by being held by the connected remote processing devices of communication network
Row task.In a distributed computing environment, program module can be located at the local and remote computer including storage equipment
In storage medium.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Divide reference mutually, each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place refers to embodiment of the method
Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material
Or feature is contained at least one embodiment or example of this specification.In the present specification, to the signal of above-mentioned term
Property statement be necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
The foregoing is merely the embodiments of this specification one or more embodiment, are not limited to this specification
One or more embodiments.To those skilled in the art, this specification one or more embodiment can have it is various more
Change and changes.All spirit in this specification and any modification, equivalent replacement, improvement and so within principle should all include
Within scope of the claims.