A kind of execution method and device of Internet service
Technical field
The application is related to field of computer technology, more particularly to a kind of Internet service execution method and device.
Background technology
With the development of internet, increasing business can be completed by internet.With the increase of portfolio, lead to
Operation system is often divided into online operation system (abbreviation on-line system) and offline business system (abbreviation off-line system), wherein
On-line system can be responsible for being linked up with other on-line systems, but be difficult the process demand for meeting big data;And off-line system
Big data processing can be responsible for, but be isolated with on-line system, so generally two systems be combined with each other, interconnection is preferably completed
Network service, such as off-line system are responsible for the Internet service request got according to on-line system, and initial data is handled
Target data is generated, and is sent to on-line system (in database), so that on-line system completes internet using target data
Business.
Prior art is when using on-line system and off-line execution Internet service, it will usually arrange mesh between the two systems
Mark the deadline of data, such as in units of day, hour, minute etc., until during of about fixing time, it has been considered as off-line system
Through being target data by original data processing, and target data is sent into the database of on-line system, now on-line system
Just Internet service can be performed according to target data.
However, in actual applications, it is possible to occur reaching the designated time, off-line system is not yet completed due to a variety of causes
Data processing, that is, when reaching the designated time, off-line system is simultaneously unfinished by operation (target of the original data processing for target data
Data are imperfect).But the time of agreement is reached, on-line system will start to perform Internet service, now will be due to target
Data are imperfect, cause Internet service to occur implementing result in the process of implementation inaccurate, or the mistake such as can not perform at all.
So, prior art during Internet service is performed using on-line system and off-line system by the way of the designated time,
In the presence of higher risk of error.
The content of the invention
The embodiment of the present application provides a kind of execution method of Internet service, with reality now with on-line system and offline system
System is performed during Internet service, reduces risk of error.
The embodiment of the present application provides a kind of performs device of Internet service, with reality now with on-line system and offline system
System is performed during Internet service, reduces risk of error.
In order to solve the above technical problems, what the embodiment of the present application was realized in:
The embodiment of the present application uses following technical proposals:
A kind of execution method of Internet service, methods described is applied to on-line system, including:
Obtain the data processing state that off-line system is generated when handling initial data;
When the data processing state, which meets business, performs condition, Internet service is performed.
Preferably, the data processing state that off-line system is generated when handling initial data is obtained, including:
Obtain off-line system and the data processing into status register is generated and sent when handling initial data
State.
Preferably, the data processing state that off-line system is generated when handling initial data is obtained, including:
The data processing state that timing acquisition off-line system is generated when handling initial data.
Preferably, the data processing state that off-line system is generated when handling initial data is obtained, including:
Obtain the data processing state for including Data Identification that off-line system is generated when handling initial data.
Preferably, when the data processing state, which meets business, performs condition, Internet service is performed, including:
When the data processing state got for when having completed, the target data sent according to off-line system performs internet
Business, the target data is that the off-line system completes generation to the original data processing.
Preferably, methods described also includes:
When the data processing state, which is unsatisfactory for business, performs condition, Internet service is not performed.
Preferably, it is determined that being unsatisfactory for business performs condition, including:
Data processing state is not got;Or
The data processing state got is unfinished.
A kind of execution method of Internet service, methods described is applied to off-line system, including:
Initial data is handled;
Data processing state is generated according to result.
Preferably, data processing state is generated according to result, including:
Data processing state is generated according to result, and the data processing state is sent to status register.
Preferably, data processing state is generated according to result, including:
The data processing state for including Data Identification is generated according to result.
Preferably, Data Identification, including following at least one:
Time marking;Type of service is identified;Data volume is identified.
Preferably, the processing state includes and has completed or do not completed..
A kind of performs device of Internet service, described device is applied to on-line system, including:State acquiring unit, with
And business execution unit, wherein,
The state acquiring unit, obtains the data processing shape that off-line system is generated when handling initial data
State;
The business execution unit, when the data processing state, which meets business, performs condition, performs Internet service.
Preferably, the state acquiring unit,
Obtain off-line system and the data processing into status register is generated and sent when handling initial data
State.
Preferably, the state acquiring unit,
The data processing state that timing acquisition off-line system is generated when handling initial data.
Preferably, the state acquiring unit,
Obtain the data processing state for including Data Identification that off-line system is generated when handling initial data.
Preferably, the business execution unit,
When the data processing state got for when having completed, the target data sent according to off-line system performs internet
Business, the target data is that the off-line system completes generation to the original data processing.
Preferably, the business execution unit,
When the data processing state, which is unsatisfactory for business, performs condition, Internet service is not performed.
Preferably, the business execution unit,
Data processing state is not got;Or
When the data processing state got is does not complete, it is determined that being unsatisfactory for business performs condition.
A kind of performs device of Internet service, described device is applied to off-line system, including:Data processing unit and
State generation unit, wherein,
The data processing unit, is handled initial data;
The state generation unit, data processing state is generated according to result.
Preferably, the state generation unit,
Data processing state is generated according to result, and the data processing state is sent to status register.
Preferably, the state generation unit,
The data processing state for including Data Identification is generated according to result.
The technical scheme provided from above the embodiment of the present application, the embodiment of the present application is by off-line system to original
When data are handled, data processing state can be generated according to result, and on-line system can obtain off-line system and exist
The data processing state generated when handling initial data, and when the data processing state meets business and performs condition,
Perform Internet service.I.e. off-line system can generate data processing state, enable on-line system when carrying out data processing
The situation of data processing is learnt, and when determining that the business that meets performs condition according to data processing state, can just perform interconnection
Network service.Business is performed only according to the processing deadline of agreement and cause the presence of higher error wind compared to prior art
For danger, this programme is more neatly linked up between off-line system and on-line system, enables on-line system skill
According to the situation of processing, then decide whether to perform Internet service, so that during Internet service is performed, realization is reduced out
The effect of wrong risk.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, are not paying the premise of creative labor
Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 performs the schematic diagram of method for the Internet service of prior art;
Fig. 2 performs the schematic diagram of method for the Internet service of prior art;
Fig. 3 is a kind of schematic flow sheet of the execution method for Internet service that the embodiment of the present application 1 is provided;
Fig. 4 is a kind of schematic flow sheet of the execution method for Internet service that the embodiment of the present application 1 is provided;
Fig. 5 is a kind of schematic diagram of the execution method for Internet service that the embodiment of the present application 1 is provided;
Fig. 6 be the embodiment of the present application 2 provide a kind of internet finance settle interests business execution method schematic flow sheet;
Fig. 7 is the structure chart of the performs device for the Internet service that the embodiment of the present application 3 is provided;
Fig. 8 is the structure chart of the performs device for the Internet service that the embodiment of the present application 3 is provided;
Fig. 9 is the use schematic diagram for the Internet service performs device that the embodiment of the present application 3 is provided.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
Embodiment 1
As it was previously stated, prior art using on-line system and off-line system when performing Internet service, it will usually two
Arrange the deadline of target data, such as, integral point (1 per hour between system at daily 0 point:00、2:00) it is or every 20 minutes
(1:00、1:20、1:40、2:00) etc..On-line system can determine initial data, such as can be entered by the service request of user
Row determines that off-line system is handled initial data in advance, and is sent target data in linear system before the designated time
In the database of system, until during of about fixing time, on-line system directly can perform Internet service using target data, than
Such as, customer service request results etc. are returned to.Specifically, time shaft as shown in Figure 1, using the designated time as every 20 minutes once
Exemplified by, on-line system received service request in latter 5 minutes of the previous cycle to first 15 minutes of latter cycle, and determined original
Beginning data, are handled by off-line system, in tnBefore (n is nonnegative integer), original data processing can be mesh by off-line system
Mark Data Concurrent is delivered in the database of on-line system, reaches tnWhen, on-line system just can perform interconnection using target data
The processing time of off-line system is not quite similar in network service, figure, handles the time completed early or late, but to ensure in about timing
Between tnIt is disposed before, and target data is sent to on-line system.But as shown in Fig. 2 in t2When, due to off-line system
Go wrong, and do not complete data processing, also just not by target data in t2Send before into the database of on-line system.
As arrival t2When, on-line system directly performs Internet service using the target data in database, but now, in database
Target data or t1It is moment or basic without target data, so just occur that implementing result is inaccurate, or at all
It can not perform.I.e. prior art is performing Internet service mistake by the way of the designated time using on-line system and off-line system
, there is higher risk of error in Cheng Zhong.Based on drawbacks described above, the embodiment of the present application provides a kind of execution side of Internet service
Method, during performing Internet service now with on-line system and off-line system with reality, reduces risk of error.This method can
To be completed with on-line system and off-line system both sides, this method applied to off-line system is introduced first.Flow such as Fig. 3 institutes
Show, comprise the steps:
Step 11:Initial data is handled.
By the agency of above, off-line system can be responsible for (big) data processing, and on-line system can be then responsible for and other
On-line system is linked up, so when on-line system gets service request, and when needing to carry out processing processing, it is possible to from
Linear system system sends corresponding instruction, so as to off-line system can be in instruction processing mode or default processing mode, it is right
Initial data is handled, for authentication services, and on-line system can receive various authentication informations, and will be each
Authentication information is planted as initial data and is sent to off-line system, system to be taken off-line is entered by preset authentication model to each user
Row certification;Interest account settlement business during and for example internet is managed money matters, the initial data for the user that off-line system can settle interests needs
Handled according to respective interest rate, obtained target data is the interest after updating.It should be noted that for original number
According to how being determined by on-line system, or how to be determined by off-line system, non-this method emphasis.
Step 12:Data processing state is generated according to result.
Prior art has only been due up the deadline of target data, if but not considering the designated time and unfinished
Situation, so just having higher risk of error.And in this step, the no longer necessary designated time, off-line system can be to original
When beginning data are handled, data processing state is generated according to result, such as, when the process is complete, target data sent out
On-line system is delivered to, and generates completion status.So that on-line system can obtain the completion status.By the agency of above,
In practical application, it is possible to due to a variety of causes, off-line system processing is slow etc., so the data processing state of this step generation
Unfinished state can also be included.
By the agency of above, off-line system is mainly responsible for data processing, and data processing state is as important information, can
So that the preserving data processing state of the task to be separated, to mitigate the pressure of off-line system, data can be also better ensured that
Handle status safety and complete.So in one embodiment, this step can include:Generated according to result at data
Reason state, and the data processing state is sent to status register.Specifically, the storage of at least one state can be pre-configured with
Device, can generate data processing state dedicated for storage off-line system according to result.The status register can be stored
The data processing state of each off-line system generation, can also query history record by the status register.Can also be should
Status register adds necessary back mechanism and security protection, it is ensured that data integrity and security.
In actual applications, it is understood that there may be multiple business, the data volume of each off-line system processing is also not quite similar, every time
The time of off-line data processing is also different, so, in order to reach that distinguishes data handles the effect of state, in a kind of embodiment
In, this step can also include:The data processing state for including Data Identification is generated according to result.Specifically, data mark
Knowledge can include following at least one:Time marking;Type of service is identified;Data volume is identified.Such as using day as least unit,
The data processing that on January 9th, 2017 completes, it is possible to the time marking of " 20170109 " is added in data processing state, with
The target date for representing corresponding target data is on January 9th, 2017.And for example, the corresponding Internet service of initial data is knot
Breath business, service code is " 0001 ", it is possible to the service identification of " 0001 " is added in data processing state, to represent correspondence
Target data type of service to settle interests business;Also such as, off-line system has corresponding data when carrying out data processing
Amount, such as the business of settling interests, have number of data, each user can account for a data, then n datas can just be represented
N user, off-line data is after 10000 datas have been handled, it is possible to the data of " 10000 " are added in data processing state
Amount mark.
After off-line system generates data processing state, on-line system can be just according to data processing state, decision
No execution Internet service, following specific this method introduced applied to on-line system.Flow is as shown in figure 4, including following steps
Suddenly:
Step 21:Obtain the data processing state that off-line system is generated when handling initial data.
By the agency of in step 12, off-line system can be generated when handling initial data according to result
In data processing state, this step, on-line system can just obtain the data processing state, and acquisition modes specifically can be
Active inquiry or passive reception.
In step 12 is introduced, it is noted that a status register can be configured, state is handled for special data storage,
So this step can include:Off-line system is obtained to generate and send into status register when handling initial data
Data processing state.As shown in figure 5, the rectangle in the schematic diagram to perform Internet service, figure on time shaft can be shape
State memory, t0Before, off-line system will be sent to status register comprising completed data processing state, and by number of targets
According to sending to on-line system, on-line system can be in t0The data processing state in status register is obtained before.
In actual applications, off-line system is it is possible that processing time and scheduled time short or longer than scheduled time feelings
Condition, such as business of settling interests averagely needs 3 minutes, is also possible to occur just completing for 1 minute, or not yet complete for 5 minutes
Situation, so, in order to reach the purpose for improving Internet service execution efficiency, in one embodiment, this step can be wrapped
Include:The data processing state that timing acquisition off-line system is generated when handling initial data.As shown in figure 5, in t3And t4
Before, can the timing data processing that acquisition off-line system is generated when handling initial data from status register
State.As long as determination has been off system and completed data processing, it just can start to perform Internet service.
When introducing step 12 it has been noted that off-line system can generate the data for including Data Identification according to result
Processing state, so in this step, can also include:Obtain the bag that off-line system is generated when handling initial data
Data processing state containing Data Identification.
Step 22:When the data processing state, which meets business, performs condition, Internet service is performed.
After data processing state is got, it is possible to judged, judge whether to meet the condition of business execution, such as
The condition can be that data processing state is to have completed.Then in one embodiment, this step can include:When what is got
Data processing state is that when having completed, the target data sent according to off-line system performs Internet service, wherein, target data
Can be that off-line system completes to generate to original data processing.About after settled off-line system generation target data, can just will
Target data is sent into on-line system, and is generated comprising completed data processing state.So when on-line system is judged
When data processing state meets business execution condition, it is possible to the target data in direct called data storehouse, internet industry is performed
Business.
It can include Data Identification in by the agency of above, data processing state, such as time marking, type of service mark,
One or more combinations of data volume mark etc., so, the business in this step performs condition can also be according to current time, industry
Service type, data volume are determined, such as when using day as minimum time unit (current date is on January 9th, 2017), business of settling interests
(service code 0001), by initial data, it is 200000 to determine data volume, then when getting comprising Data Identification
Data processing state is that " 20170109-0001-200000- has been completed " can just be defined as meeting business execution condition.In reality
In the application of border, it is possible to due to error in data, or program error etc., the data volume for occurring handling is less than target data, now may be used
Complete data volume proportion threshold value to preset, such as 98%, when more than the completion data volume proportion threshold value, it is also assumed that being to meet
Business performs condition, such as the data processing state comprising Data Identification got is " 20170109-0001-199990- is
Complete ", it is 99% to complete data volume ratio, more than data volume proportion threshold value 98% is completed, it is also assumed that meeting business execution
Condition, can perform Internet service according to follow-up business rule.
In actual applications, it may appear that meet the situation that business performs condition, just occur that the business that is unsatisfactory for performs condition
Situation, so this method also includes:
Step 23:When the data processing state, which is unsatisfactory for business, performs condition, Internet service is not performed.
Specifically, it is determined that being unsatisfactory for business performs condition, it can include:Data processing state is not got;Or get
Data processing state be unfinished.As shown in figure 5, in t3And t4Before, respectively once because off-line system is not completed at data
Reason, data processing state is not generated, this data processing state now can not be just got from status register, or only
Can get a cycle data processing state (such as, time marking be the previous day data processing state).Or from
Linear system system, because processing time is long, can temporarily generate one and include unfinished data processing state in processing procedure.
In actual applications, it can also determine that being unsatisfactory for business performs according to the Data Identification included in data processing state
Condition, such as type of service and the Internet service that on-line system to be performed be not corresponding, completes data volume ratio less than completion number
According to amount proportion threshold value etc..
The method provided using embodiment 1, can generate data processing state according to result, and on-line system can be with
The data processing state that off-line system is generated when handling initial data is obtained, and when the data processing state meets industry
During execution condition of being engaged in, Internet service is performed.I.e. off-line system can generate data processing state when carrying out data processing,
On-line system is learnt the situation of data processing, and business execution condition is met being determined according to data processing state
When, it can just perform Internet service.Business is performed only according to the processing deadline of agreement and cause compared to prior art
For higher risk of error, this programme is more neatly linked up between off-line system and on-line system, is made
Linear system system can understand the situation of data processing, then decide whether to perform Internet service, so as to perform Internet service mistake
Cheng Zhong, realizes the effect for the risk for reducing error.
Furthermore it is possible to by configuring independent status register, be responsible for data storage processing state specially, both mitigated offline
The pressure of system or on-line system, can better ensure that the integrality of data processing state again.
In addition, this method need not wait until that the designated time performs Internet service again again, as long as on-line system is determined offline
System has completed data processing, you can perform Internet service, the execution of Internet service is also improved on certain procedures
Efficiency.
Embodiment 2
Internet financial business is very popular, and the interest knot in internet financing has also been illustrative of above
Calculation business, in this settles interests business, with increasing for number of users, data volume can all occur in geometric growth, especially moment
Transaction, this more needs the intervention of the stronger off-line system of data-handling capacity, to ensure on-line system when with user mutual,
The change of user account can be reflected in time., can at predetermined intervals, about but prior art in background technology as introducing
Fixed number according to the time of renewal, such as 20 minutes is to update a data in the cycle, in each two a cycle, the of the previous cycle
The service order (buy, sell, withdrawing deposit, transferring accounts) for the user that meeting basis is received in the 15th minute of 15 to latter cycle, it is determined that
Go out initial data, in the 16th to the 20th minute of latter cycle, settled interests by off-line system, and it is last at the 20th minute
Before moment, target data is sent to on-line system database.It is possible that occurring in 4 minutes and not completing at data
Reason, after the 20th minute, on-line system just can only according to the previous cycle, update before target data perform Internet service.
So now just occur that the request of user is not responded, or parsing error etc..So prior art is settled interests business carrying out execution
When, the risk of error is higher.So, based on invention thinking same as Example 1, it is used as the extension of embodiment 1.The application is real
Apply example to settle interests the execution method of business there is provided a kind of internet finance, performed with reality now with on-line system and off-line system
Internet finance is settled interests in business procedure, reduces the risk of error.The flow of this method is as shown in fig. 6, comprise the steps:
Step 31:Off-line system is handled the initial data for the business of settling interests.
Off-line system can be according to predetermined mode of settling interests in this step, and the initial data to the business of settling interests is handled.
Such as, n user, according to predetermined interest and the capital of each user, settles interests to each user.
Step 32:Off-line system includes Data Identification data processing state according to result generation, and by the data
Reason state is sent to status register.
When carrying out data processing, off-line system can just generate data processing state in processing procedure, such as include
Data processing state " the 20170109155712-0001-182030- of time marking, type of service mark and data volume mark
Do not complete ", to represent 9 days 15 January in 2017:57:12nd, service code is " 0001 ", has handled 182030 datas, not complete
Cost time data processing.And send the data processing state to status register, specifically, in actual applications, state is deposited
Reservoir can be stored with the form of state synchronized table, form at the data comprising Data Identification that all previous off-line system sends
Reason state.After the completion of processing, the data processing shape of " 20170109155805-0001-294811- has been completed " can be generated
State.
Step 33:On-line system timing acquisition off-line system is when handling initial data and sends to state storage
The data processing state for including Data Identification in device.
On-line system is not before determining whether to be able to carry out the business of settling interests (i.e. the interest of more new user account), it is necessary to really
Determine whether off-line system completes data processing, off-line system transmission now can be just obtained from state synchronized table includes number
According to the data processing state of mark, such as can be just " 20170109155805-0001-294811- has been completed ".
Step 34:When the data processing state, which meets business, performs condition, on-line system performs Internet service.
After the data processing state comprising Data Identification is got, judge whether that meeting business performs condition, such as,
In " 20170109155805-0001-294811- has been completed ", contain data processing completion time, type of service, data
Bar number.Just whether business can be met according to these marks really and perform condition, if it is satisfied, then Internet service is performed, than
The account balance of user, interest number etc. can such as be updated.
The method provided using embodiment 2, off-line system is when the initial data to the business of settling interests is handled, Ke Yigen
Generated according to result and include the data processing state of Data Identification, and transmission is to status register, and on-line system can be from
In status register, what acquisition off-line system was generated when the initial data to the business of settling interests is handled includes Data Identification
Data processing state, and when the data processing state meets business and performs condition, perform Internet service.I.e. off-line system can
With when carrying out data processing, generation enables on-line system to learn the data processing state of processing condition data, and from number
During according to determining that the business that meets performs condition in processing state, Internet service can be just performed.Compared to prior art about only
Surely processing deadline and causing settles interests for business has a higher risk of error, and this programme is more neatly in off-line system
Linked up between on-line system, on-line system is understood the processing condition data for the business of settling interests, then decide whether to hold
Capable business of settling interests, so as in business procedure is settled interests in execution, realize the effect of reduction risk of error.
Embodiment 3
Based on identical inventive concept, embodiment 3 provides a kind of performs device of Internet service, with reality now with
On-line system and off-line system are performed during Internet service, reduce the risk of error.The device can be arranged respectively at
In linear system system and off-line system, as shown in fig. 7, be the Internet service performs device being configured in linear system system, including:State
Acquiring unit 41 and business execution unit 42, wherein,
State acquiring unit 41, can obtain the data processing shape that off-line system is generated when handling initial data
State;
Business execution unit 42, can work as data processing state meet business perform condition when, perform Internet service.
In one embodiment, state acquiring unit 41, can be with
Obtain off-line system and the data processing into status register is generated and sent when handling initial data
State.
In one embodiment, state acquiring unit 41, can be with
The data processing state that timing acquisition off-line system is generated when handling initial data.
In one embodiment, state acquiring unit 41, can be with
Obtain the data processing state for including Data Identification that off-line system is generated when handling initial data.
In one embodiment, business execution unit 42, can be with
When the data processing state got for when having completed, the target data sent according to off-line system performs internet
Business, target data is that off-line system completes generation to original data processing.
In one embodiment, business execution unit 42, can be with
When data processing state, which is unsatisfactory for business, performs condition, Internet service is not performed.
In one embodiment, business execution unit 42, can be with
Data processing state is not got;Or
When the data processing state got is does not complete, it is determined that being unsatisfactory for business performs condition.
As shown in figure 8, to configure the Internet service performs device in off-line system, including:Data processing unit 51
And state generation unit 52, wherein,
Data processing unit 51, can be handled initial data;
State generation unit 52, can generate data processing state according to result.
In one embodiment, state generation unit 52, can be with
Data processing state is generated according to result, and data processing state is sent to status register.
In one embodiment, state generation unit 52, can be with
The data processing state for including Data Identification is generated according to result.
In actual applications, as shown in figure 9, being bag in the use schematic diagram of Internet service performs device, off-line system
Containing data processing unit 51 and state generation unit 52, data processing unit 51 can be handled initial data, and is led to
Cross state generation unit 52 according to result generate data processing state, after by data processing state send to state store
Device, the memory can exist in the form of state synchronized table.When the process is complete, it can generate and send as completed data
Processing state, and the target data for handling completion is sent into on-line system.On-line system comprising state acquiring unit 41 with
And business execution unit 42, state acquiring unit 41 regularly can wherein obtain data processing state from state storage, and ought sentence
Break when data processing state and meeting Internet service and perform condition, triggering performs the operation of Internet service, and business performs list
Member 42 can just utilize target data, and Internet service is performed according to business rule.
The device provided using embodiment 3, off-line system, can be according to result when handling initial data
Data processing state is generated, and on-line system can be obtained at the data that off-line system is generated when handling initial data
Reason state, and when the data processing state meets business and performs condition, perform Internet service.I.e. off-line system can entered
During row data processing, data processing state is generated, on-line system is learnt the situation of data processing, and at according to data
When reason state determines that the business that meets performs condition, Internet service can be just performed.Compared to prior art only according to agreement
The processing deadline perform business and cause exist higher risk of error for, this programme is more neatly in off-line system
Linked up between on-line system, on-line system is understood the situation of data processing, then decide whether to perform internet
Business, so as to during Internet service is performed, realize the effect for the risk for reducing error.
Furthermore it is possible to by configuring independent status register, be responsible for data storage processing state specially, both mitigated offline
The pressure of system or on-line system, can better ensure that the integrality of data processing state again.
In addition, this method need not wait until that the designated time performs Internet service again again, as long as on-line system is determined offline
System has completed data processing, you can perform Internet service, the execution of Internet service is also improved on certain procedures
Efficiency.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of 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 is 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, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
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 have many kinds, 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 are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded 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 for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or 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, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal 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 instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.