CN103778066A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN103778066A
CN103778066A CN201410035027.4A CN201410035027A CN103778066A CN 103778066 A CN103778066 A CN 103778066A CN 201410035027 A CN201410035027 A CN 201410035027A CN 103778066 A CN103778066 A CN 103778066A
Authority
CN
China
Prior art keywords
data
updated
communication district
database systems
sequence number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410035027.4A
Other languages
Chinese (zh)
Other versions
CN103778066B (en
Inventor
罗东晓
王旭光
陈志祥
郭海球
吴毅
邢善云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201410035027.4A priority Critical patent/CN103778066B/en
Publication of CN103778066A publication Critical patent/CN103778066A/en
Application granted granted Critical
Publication of CN103778066B publication Critical patent/CN103778066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a data processing method and a data processing device, wherein the method comprises the steps that instructions to be processed are obtained, wherein the instructions to be processed carry data to be processed and data marks; basic data corresponding to the data marks in a basic information communication region is read, wherein the basic data is read from a database system and is stored into the basic information communication region; the data to be processed is processed according to the basic data, and data to be updated obtained after the processing is registered into a data updating communication region; under the conditions that the data in the data updating communication region meets the preset conditions, the data to be updated in the data updating communication region is updated to the database system. The method and the device provided by the embodiment of the invention solve the technical problem of low data processing efficiency of the database system caused by requirement of frequent access of the database system in the prior art, and the technical effect of effectively improving the processing efficiency is reached.

Description

Data processing method and device
Technical field
The present invention relates to technical field of computer data storage, particularly relate to a kind of data processing method and device.
Background technology
Along with enterprise information system use is more and more extensive, enterprise information system needs data to be processed also more and more, and the logical organization of internal system also becomes increasingly complex.Therefore, how to improve system effectiveness and become the main direction to enterprise information system research.Database Systems are core positions of enterprise information system, and many application systems all need accessing database system, but Database Systems are bottlenecks of enterprise information system at present.For example: corporate client has been handled a business, in the time carrying out data processing, relate generally to many accounting entry processing, and each accounting entry is processed to relate to and is kept accounts, registers the operation such as detail, registration daily record, application system just needs once and again accessing database system like this, each access all relate to connect, the process such as data transmission and data processing.Will certainly cause being repeatedly connected between application system and Database Systems like this, the resource consumption of Database Systems is larger, greatly reduces the efficiency of whole enterprise information system data processing and operation.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, to reach the resource consumption that reduces Database Systems, improves the object of data-handling efficiency, and the method comprises:
Obtain pending instruction, wherein, in described pending instruction, carry: pending data and Data Identification;
Read basic data corresponding to Data Identification described in Back ground Information communication district, wherein, described basic data reads and stores in described Back ground Information communication district from Database Systems;
According to described basic data, described pending data are processed, the data to be updated that obtain after processing are registered to Data Update communication district;
Data in Data Update communication district meet pre-conditioned, by the Data Update to be updated in described Data Update communication district in Database Systems.
In one embodiment, before reading the basic data that described in Back ground Information communication district, Data Identification is corresponding, described method also comprises:
Determine whether it is to receive for the first time the pending instruction that carries described Data Identification;
If so, be connected to described Database Systems;
Read the basic data of Data Identification described in described Database Systems;
The basic data of the described Data Identification reading from described Database Systems is stored in described Back ground Information communication district.
In one embodiment, the data in Data Update communication district meet pre-conditioned, Data Update to be updated corresponding with described Data Identification in described Data Update communication district, in Database Systems, being comprised:
When the data to be updated in described Data Update communication district reach default data volume, or the time of data to be updated in described Data Update communication district while reaching Preset Time threshold value, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in described Database Systems.
In one embodiment, the data to be updated that obtain after processing are registered to Data Update communication district, comprising:
Obtain the sequence number collection that need to be updated in Database Systems, wherein, described sequence number collection is the set of the sequence number of the data to be updated that all and described Data Identification is corresponding;
The sequence number concentrated to described sequence number sorts;
From described Data Update communication district, read one by one data to be updated according to the sequence number collection after sequence;
By the Data Update to be updated reading in described Database Systems.
In one embodiment, after described pending data are processed, before the data to be updated that obtain after processing are registered to Data Update communication district, described method comprises:
Call sequence number generator and generate the sequence number corresponding to these data to be updated.
The embodiment of the present invention also provides a kind of data processing equipment, to reach the resource consumption that reduces Database Systems, improves the object of data-handling efficiency, and this device comprises:
Acquisition module, for obtaining pending instruction, wherein, carries in described pending instruction: pending data and Data Identification;
The first read module, for reading basic data corresponding to Data Identification described in Back ground Information communication district, wherein, described basic data reads and stores in described Back ground Information communication district from Database Systems;
Processing module, for according to described basic data, described pending data being processed, registers to Data Update communication district by the data to be updated that obtain after processing;
Update module, for meet in the data in Data Update communication district pre-conditioned, by the Data Update to be updated in described Data Update communication district in Database Systems.
In one embodiment, above-mentioned data processing equipment also comprises:
Determination module, for before reading the basic data that described in Back ground Information communication district, Data Identification is corresponding, determines whether it is to receive for the first time the pending instruction that carries described Data Identification;
Link block, for determining it is in primary situation at described determination module, is connected to described Database Systems;
The second read module, for reading the basic data of Data Identification described in described Database Systems;
Memory module, for storing the basic data of the described Data Identification reading from described Database Systems into described Back ground Information communication district.
In one embodiment, described update module is specifically for reaching default data volume when the data to be updated in described Data Update communication district, or the time of data to be updated in described Data Update communication district while reaching Preset Time threshold value, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in described Database Systems.
In one embodiment, described update module comprises:
Acquiring unit, for obtaining the sequence number collection that need to be updated to Database Systems, wherein, described sequence number collection is the set of the sequence number of the data to be updated that all and described Data Identification is corresponding;
Sequencing unit, for sorting to the concentrated sequence number of described sequence number;
Reading unit, for reading one by one data to be updated according to the sequence number collection after sequence from described Data Update communication district;
Updating block, for by the Data Update to be updated reading to described Database Systems.
In one embodiment, above-mentioned data processing equipment also comprises:
Calling module, for after described pending data are processed, before the data to be updated that obtain are registered to Data Update communication district, calls sequence number generator and generates the sequence number corresponding to these data to be updated after processing.
In embodiments of the present invention, basic data is stored in Back ground Information communication district in advance from Database Systems, when needs obtain basic data, directly from Back ground Information communication district, obtain, first store in Data Update communication district for the data to be updated that obtain after processing, and then unified being updated in Database Systems, solve by the way the low technical matters of data-handling efficiency of the Database Systems that need frequent accessing database system in prior art and cause, reached the technique effect of effective raising treatment effeciency.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, does not form limitation of the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the data processing method of the embodiment of the present invention;
Fig. 2 is the structural representation of the data-storage system of the embodiment of the present invention;
Fig. 3 is the process flow diagram of the application program of the embodiment of the present invention;
Fig. 4 is the master control of the embodiment of the present invention and the process flow diagram of interface unit;
Fig. 5 is the master control of the embodiment of the present invention and the process flow diagram of interface unit;
Fig. 6 is the process flow diagram of the Back ground Information acquiring unit of the embodiment of the present invention;
Fig. 7 is the process flow diagram of the Back ground Information communication district addressed location of the embodiment of the present invention;
Fig. 8 is the process flow diagram of the Data Update communication district addressed location of the embodiment of the present invention;
Fig. 9 is the process flow diagram of the communication district monitoring unit of the embodiment of the present invention;
Figure 10 is the process flow diagram that the more new data of the embodiment of the present invention deposits unit in;
Figure 11 is the structured flowchart of the data processing equipment of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of data processing method, as shown in Figure 1, comprises the following steps:
Step 101: obtain pending instruction, wherein, carry in described pending instruction: pending data and Data Identification;
Step 102: read basic data corresponding to Data Identification described in Back ground Information communication district, wherein, described basic data is read in advance and stores in described Back ground Information communication district from Database Systems;
Step 103: to described pending data are processed, the data to be updated that obtain after processing are registered to Data Update communication district according to described basic data;
Step 104: the data in Data Update communication district meet pre-conditioned, by the Data Update to be updated in described Data Update communication district in Database Systems.
In the above-described embodiments, basic data is stored in Back ground Information communication district in advance from Database Systems, when needs obtain basic data, directly from Back ground Information communication district, obtain, first store in Data Update communication district for the data to be updated that obtain after processing, and then unified being updated in Database Systems, solve by the way the low technical matters of data-handling efficiency of the Database Systems that need frequent accessing database system in prior art and cause, reached the technique effect of effective raising treatment effeciency.
Above-mentioned Back ground Information communication district can be a kind of quick storage region, for example: the internal storage of computer system, when above-mentioned basic data refers to and treats deal with data and process, the common data relying on, for example: when the amount of money in an account is upgraded to operation, need to know the information such as name in an account book, place of the account, these information just belong to the category of basic data, process if need to repeatedly treat deal with data like this, so just may need repeatedly to use identical basic data.
Consider and need to look for one to store the data in Database Systems into time in Back ground Information communication district, in one embodiment, can be in the time receiving the pending instruction of certain data representation for the first time, connection data storehouse system, data are stored in Back ground Information communication district, for example can in the following ways basic data be stored in advance from Database Systems in described Back ground Information communication district: before reading the basic data that described in Back ground Information communication district, Data Identification is corresponding, determine whether it is to receive for the first time the pending instruction that carries described Data Identification, if so, be connected to described Database Systems, read the basic data of Data Identification described in described Database Systems, the basic data of the described Data Identification reading from described Database Systems is stored in described Back ground Information communication district.
Consider in the rationality to the renewal frequency in Database Systems by the Data Update to be updated in Data Update communication district, in one embodiment, data in Data Update communication district meet pre-conditioned, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in Database Systems, can comprise: when the data to be updated in described Data Update communication district reach default data volume, or the time of data to be updated in described Data Update communication district is while reaching Preset Time threshold value, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in described Database Systems.That is, the data volume in Data Update communication district reaches predetermined value, or storage time reach in the situation of predetermined value, once the data unification in Data Update communication district is updated in Database Systems with regard to centrality.
In one embodiment, the major key that registers to the data to be updated in Data Update communication district can comprise: the sequence number of Data Identification and data to be updated, carry out identification data by sequence number.Concrete, this sequence number can be after described pending data are processed, and before the data to be updated that obtain are registered to Data Update communication district, calls that sequence number generator generates after processing.
By Data Update to be updated corresponding with described Data Identification in Data Update communication district in the process in Database Systems, in order to guarantee that data can be updated to Database Systems in order effectively, can carry out according to following steps:
Step 1: obtain the sequence number collection that need to be updated in Database Systems, wherein, described sequence number collection is the set of the sequence number of the data to be updated that all described Data Identifications are corresponding,, sequence number is numbered data to be updated exactly, follow-up its processing is not missed or is repeated guaranteeing;
Step 2: the sequence number concentrated to described sequence number sorts;
Step 3: read one by one data to be updated according to the sequence number collection after sequence from described Data Update communication district;
Step 4: by the Data Update to be updated reading in described Database Systems.
The embodiment of the present invention also provides a specific embodiment to be specifically described the present invention, but it should be noted that this specific embodiment is only in order to describe better the present invention, not form inappropriate limitation of the present invention.
In this example, provide a kind of data-storage system and method based on bus, the total demand pairs of maintenance data deposit in, read and transmit operation according to what unify.
There is the public communication of two classes district:
1) what a class was preserved is Back ground Information, and application program first will obtain Back ground Information in the time carrying out data processing from database, for example: customer information, its major key is Data Identification (ID), by this called after Back ground Information communication district, region;
2) another kind of preservation is pending data message, be that application system will be by this class Data Update in Database Systems, for example: accounting entry information, major key is Data Identification+sequence number, sequence number can be the serial number of pending data, by this called after Data Update communication district, region.
For the pending data of same Data Identification, the pending data of the first stroke are in processing, can first be connected in database, the Back ground Information of this Data Identification is read in Back ground Information communication district, while processing for follow-up other pending data to this Data Identification (i.e. pending data except the first stroke), the basic data reading in Back ground Information communication district reads basic data to substitute connection data storehouse system.
For each pending data, after through processing, be not updated directly in Database Systems, but first register in Data Update communication district, by the time the data to be updated in Data Update communication district reach certain data volume or reach after the schedule time, automatically the data unification to be updated in Data Update communication district are updated in Database Systems.In Database Systems, can be to complete by special data bus treating apparatus from Database Systems reading out data to " Back ground Information communication district " with by the Data Update " Data Update communication district ", application program only needs to carry out exchanges data with " Back ground Information communication district " and " Data Update communication district ".Therefore, " Back ground Information communication district " and " Data Update communication district " just formed the bus of application data access, so-called bus is exactly in computer system, be responsible for the unit with multiple parts swap data, transparent to each application program, application program does not need direct accessing database system, thereby greatly reduced the connection number of times of Database Systems, thereby has improved the unify data-handling efficiency of enterprise information system of data base set.
Be the data bus memory system architecture figure that this example provides as shown in Figure 2, this bus storage system comprises: application program 1, data administrator 2, data storage device 3 and Database Systems 4.Application program 1 sends instruction and data to be processed need to data administrator 2, and the tables of data that realizes data bus to data storage device 3 and Database Systems 4 deposits in, reads, transmits and the data manipulation such as monitoring.Application program 1 sends instruction and data to be processed need to data administrator 2, actual is master control and the interface unit 5 that sends data administrator 2 to, by master control and interface unit 5 according to command content call Back ground Information acquiring unit 6, Back ground Information communication district addressed location 7, Data Update communication district addressed location 8, communication district monitoring unit 9 and more new data deposit the different units such as unit 10 in and realize corresponding function, each processing unit can be an independently module, can realize each other module reuse.In data storage device 3, include Back ground Information communication district 11 and Data Update communication district 12, in Back ground Information communication district 11, store multiple Back ground Informations 13, in Data Update communication district 12, store multiple data to be updated 4, in Database Systems 4, store multiple tables of data 15.
Below each device unit in above-mentioned data bus storage system is specifically described:
As shown in table 1 is data structure in Back ground Information communication district 11, be stored in data storage device 3, what wherein preserve is the basic data that application program obtains in advance in the time carrying out data processing from Database Systems 4, and the major key of this basic data is Data Identification.
Table 1
Domain name is described Purposes
Data Identification Unique ID of identification data
Back ground Information The Back ground Information of this Data Identification
Data structure in Data Update communication as shown in table 2 district 12, be stored in data storage device 3, what preserve is data to be updated, be that application system needs will be by this class Data Update in Database Systems, the major key of these data is Data Identification+sequence numbers, and sequence number is the serial number of this Data Identification data to be updated.
Table 2
Domain name is described Purposes
Data Identification Unique ID of identification data
Sequence number The serial number of this Data Identification data to be updated
Data to be updated Application system will be by this class Data Update in Database Systems
Be the processing flow chart of application program 1 as shown in Figure 3, comprise the following steps:
Step 301: application program 1 is obtained needs instruction and data to be processed;
Step 302: instruction and data to be processed need is transferred to master control and interface unit;
Step 303: wait for that master control and interface unit call different units processing and carry out data processing;
Step 304: obtain the result of master control and interface unit, to finish whole flow process.
Be the mutual process flow diagram of master control and interface unit 5 and application program 1 as shown in Figure 4, comprise the following steps:
Step 401: master control and interface unit 5 are mutual with application program, obtains need instruction and data to be processed, and the major key of data is Data Identifications, is also just equivalent to get need Data Identification to be processed;
Step 402: judge whether it is the pending data of the first stroke of this Data Identification, if so, perform step 403, if not, transfer execution step 404;
Step 403: call Back ground Information acquiring unit 6;
Step 404: the basic data of this Data Identification is read in Back ground Information communication district 11 in connection data storehouse;
Step 405: call the basic data that Back ground Information communication district addressed location 7 reads in Back ground Information communication district 11 and read Back ground Information to substitute connection data storehouse system;
Step 406: calling data upgrades communication district addressed location 8, pending data are registered in Data Update communication district 12, and wherein, major key is Data Identification+sequence number, sequence number is the serial number of this Data Identification data to be updated, and this sequence number can generate by sequence number generator;
Step 407: judge whether to need the Data Identification of processing, if so, transposition step 402 continues the treatment scheme of next Data Identification, if not, finishes whole flow process.
Be the process flow diagram of master control and interface unit 5 background process as shown in Figure 5, as shown in Figure 5, comprise the following steps:
Step 501: when the data in Data Update communication district 12 reach certain data volume or after the schedule time, communication district monitoring unit 9 monitors notice master control and interface unit 5;
Step 502: call more new data by master control and interface unit 5 and deposit unit 10 in data unification to be updated is updated in Database Systems, finish whole flow process.
The process flow diagram of Back ground Information acquiring unit 6 as shown in Figure 6, master control and interface unit 5 judge if the pending data of the first stroke of Data Identification, call the basic data that reads this Data Identification in Back ground Information acquiring unit 6 connection data storehouses in Back ground Information communication district 11, when other pending data (other the pending data except the first stroke) of this same Data Identification are processed again later, the basic data reading in Back ground Information communication district 11 reads basic data to substitute connection data storehouse system, as shown in Figure 6, comprise the following steps:
Step 601: obtain and need Data Identification to be processed;
Step 602: be connected with Database;
Step 603: the basic data of obtaining Data Identification;
Step 604: connect with data storage device;
Step 605: the basic data of Data Identification is deposited in Back ground Information communication district 11.
Be the process flow diagram of Back ground Information communication district addressed location 7 as shown in Figure 7, comprise the following steps:
Step 701: obtain and need Data Identification to be processed;
Step 702: connect with data storage device;
Step 703: read Back ground Information communication district 11 according to Data Identification and obtain basic data;
Step 704: the Back ground Information of this Data Identification obtaining is returned to master control and interface unit 5.
As shown in Figure 8, be the process flow diagram of Data Update communication district addressed location 8, comprise the following steps:
Step 801: obtain and need Data Identification to be processed;
Step 802: connect with data storage device;
Step 803: call sequence number generator and generate sequence number, wherein, sequence number is the serial number of this Data Identification data to be updated;
Step 804: pending data are registered to Data Update communication district, and wherein, major key is Data Identification+sequence number.
The process flow diagram of communication district monitoring unit 9 as shown in Figure 9, communication district monitoring unit 9 is working conditions that monitor data upgrades communication district 12, judge whether that data are full or reach the warehouse-in conditions such as certain hour, thereby the data statistics all to be updated of satisfied warehouse-in condition out.Specifically as shown in Figure 9, comprise the following steps:
Step 901: connect with data storage device;
Step 902: ergodic data upgrades communication district;
Step 903: judge whether pending data meet warehouse-in condition, if so, Data Identification+sequence number are saved, and if not, skip;
Step 904: judge whether to need deal with data, if had, continue the treatment scheme of next pending data, if do not had, exit the treatment scheme of pending data;
Step 905: the Data Identification+sequence number collection saving is returned to master control and interface unit 5.
Be that more new data deposits the process flow diagram of unit 10 in as shown in figure 10, more new data deposits unit 10 in for the data unification all to be updated that meets warehouse-in condition is updated to Database Systems.As shown in figure 10, comprise the following steps:
Step 1001: obtain the Data Identification+sequence number collection that needs renewal;
Step 1002: Data Identification+sequence number collection is carried out to Data Identification, sequence number ascending sort;
Step 1003: connect with data storage device;
Step 1004: upgrade communication district according to Data Identification+sequence number reading out data and obtain all data to be updated;
Step 1005: judge whether the first stroke data to be updated, if it is perform step 1006, otherwise execution step 1007;
Step 1006: set up this Data Identification with Database Systems and be connected;
Step 1007: judge these data to be updated with last time data to be updated Data Identification whether identical, if identical, perform step 1008, otherwise execution step 1009, why increasing this step is because consider, if the mark of this renewal is identical with last time, (the data that be so just described last time are also in buffer area, data field to be updated) in, at this moment, need first the data of last time first to be deposited in database, otherwise, this data enter after buffer area, the data cover of last time will be fallen, the data of last time have also just been lost, the data of last time are follow-up just to be had no chance to be updated to database again and has suffered,
Step 1008: by last time Data Identification Data Update all to be updated in Database Systems;
Step 1009: be connected with this Data Identification of Database;
Step 1010: judge whether to need more new data, if so, continue next data to be updated and deposit in the treatment scheme of database, if not, perform step 1011;
Step 1011: by last time Data Identification Data Update all to be updated in database.
In this example, a kind of data-storage system and method based on bus proposed, the total demand pairs of maintenance data deposit in, read and transmit operation according to what unify, use Back ground Information communication district and Data Update communication district to preserve the application program Back ground Information that need to access and the data that need to be updated to database, application program access Back ground Information communication district and Data Update communication district are to substitute connected reference Database Systems.After data to be updated in Data Update communication district are monitored to when reaching a given data or reach predetermined, unified being updated in Database Systems automatically.As can be seen here, application program does not need direct accessing database system by the way, greatly reduced the connection number of times of Database Systems, thereby has improved the unify data-handling efficiency of enterprise information system of data base set.
Particularly, above-mentioned data storage method mainly adopts the technological means of following several respects:
1) the total demand pairs of maintenance data are preserved according to unifying, and use Back ground Information communication district and Data Update communication district to preserve the application program Back ground Information that need to access and the data to be updated that need to be updated to database;
2) the total demand pairs of maintenance data are according to unifying access, and application program access Back ground Information communication district and Data Update communication district are to substitute connected reference Database Systems;
3) data storage standards, data unification is stored in Back ground Information communication district and Data Update communication district, has reduced communication district too much and the different problems of bringing of field name, has simplified system architecture, has reduced maintenance difficulties;
Reduce be by the way the connected number of times of application system with Database Systems, reduced the resource consumption of Database Systems, improved the unify data-handling efficiency of enterprise information system of data base set, reduced handling cost, improved overall economic benefit.
Based on same inventive concept, in the embodiment of the present invention, also provide a kind of data processing equipment, as described in the following examples.Because the principle that data processing equipment is dealt with problems is similar to data processing method, therefore the enforcement of data processing equipment can be referring to the enforcement of data processing method, repeats part and repeat no more.Following used, term " unit " or " module " can realize the combination of software and/or the hardware of predetermined function.Although the described device of following examples is preferably realized with software, hardware, or the realization of the combination of software and hardware also may and be conceived.Figure 11 is a kind of structured flowchart of the data processing equipment of the embodiment of the present invention, as shown in figure 11, comprising: acquisition module 1101, the first read module 1102, processing module 1103 and update module 1104, describe this structure below.
Acquisition module 1101, for obtaining pending instruction, wherein, carries in described pending instruction: pending data and Data Identification;
The first read module 1102, for reading basic data corresponding to Data Identification described in Back ground Information communication district, wherein, described basic data reads and stores in described Back ground Information communication district from Database Systems;
Processing module 1103, for according to described basic data, described pending data being processed, registers to Data Update communication district by the data to be updated that obtain after processing;
Update module 1104, for meet in the data in Data Update communication district pre-conditioned, by the Data Update to be updated in described Data Update communication district in Database Systems.
In one embodiment, above-mentioned data processing equipment also comprises: determination module, for before reading the basic data that described in Back ground Information communication district, Data Identification is corresponding, determines whether it is to receive for the first time the pending instruction that carries described Data Identification; Link block, for determining it is in primary situation at described determination module, is connected to described Database Systems; The second read module, for reading the basic data of Data Identification described in described Database Systems; Memory module, for storing the basic data of the described Data Identification reading from described Database Systems into described Back ground Information communication district.
In one embodiment, update module 1104 is specifically for reaching default data volume when the data to be updated in described Data Update communication district, or the time of data to be updated in described Data Update communication district while reaching Preset Time threshold value, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in described Database Systems.
In one embodiment, update module 1104 comprises: acquiring unit, and for obtaining the sequence number collection that need to be updated to Database Systems, wherein, described sequence number collection is the set of the sequence number of the data to be updated that all and described Data Identification is corresponding; Sequencing unit, for sorting to the concentrated sequence number of described sequence number; Reading unit, for reading one by one data to be updated according to the sequence number collection after sequence from described Data Update communication district; Updating block, for by the Data Update to be updated reading to described Database Systems.
In one embodiment, above-mentioned data processing equipment also comprises: calling module, for after described pending data are processed, before the data to be updated that obtain are registered to Data Update communication district, call sequence number generator and generate the sequence number corresponding to these data to be updated after processing.
In another embodiment, also provide a kind of software, the technical scheme that this software is described for carrying out above-described embodiment and preferred implementation.
In another embodiment, also provide a kind of storage medium, stored above-mentioned software in this storage medium, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc.
From above description, can find out, the embodiment of the present invention has realized following technique effect: basic data is stored in Back ground Information communication district in advance from Database Systems, when needs obtain basic data, directly from Back ground Information communication district, obtain, first store in Data Update communication district for the data to be updated that obtain after processing, and then unified being updated in Database Systems, solve by the way the low technical matters of data-handling efficiency of the Database Systems that need frequent accessing database system in prior art and cause, reach the technique effect of effective raising treatment effeciency.
Obviously, those skilled in the art should be understood that, each module of the above-mentioned embodiment of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the embodiment of the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the embodiment of the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a data processing method, is characterized in that, comprising:
Obtain pending instruction, wherein, in described pending instruction, carry: pending data and Data Identification;
Read basic data corresponding to Data Identification described in Back ground Information communication district, wherein, described basic data reads and stores in described Back ground Information communication district from Database Systems;
According to described basic data, described pending data are processed, the data to be updated that obtain after processing are registered to Data Update communication district;
Data in Data Update communication district meet pre-conditioned, by the Data Update to be updated in described Data Update communication district in Database Systems.
2. the method for claim 1, is characterized in that, before reading the basic data that described in Back ground Information communication district, Data Identification is corresponding, described method also comprises:
Determine whether it is to receive for the first time the pending instruction that carries described Data Identification;
If so, be connected to described Database Systems;
Read the basic data of Data Identification described in described Database Systems;
The basic data of the described Data Identification reading from described Database Systems is stored in described Back ground Information communication district.
3. the method for claim 1, is characterized in that, the data in Data Update communication district meet pre-conditioned, Data Update to be updated corresponding with described Data Identification in described Data Update communication district, in Database Systems, being comprised:
When the data to be updated in described Data Update communication district reach default data volume, or the time of data to be updated in described Data Update communication district while reaching Preset Time threshold value, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in described Database Systems.
4. the method for claim 1, is characterized in that, the Data Update to be updated in described Data Update communication district, in Database Systems, being comprised:
Obtain the sequence number collection that need to be updated in Database Systems, wherein, described sequence number collection is the set of the sequence number of the data to be updated that all and described Data Identification is corresponding;
The sequence number concentrated to described sequence number sorts;
From described Data Update communication district, read one by one data to be updated according to the sequence number collection after sequence;
By the Data Update to be updated reading in described Database Systems.
5. method as claimed in claim 4, is characterized in that, after described pending data are processed, before the data to be updated that obtain after processing are registered to Data Update communication district, described method comprises:
Call sequence number generator and generate the sequence number corresponding to these data to be updated.
6. a data processing equipment, is characterized in that, comprising:
Acquisition module, for obtaining pending instruction, wherein, carries in described pending instruction: pending data and Data Identification;
The first read module, for reading basic data corresponding to Data Identification described in Back ground Information communication district, wherein, described basic data reads and stores in described Back ground Information communication district from Database Systems;
Processing module, for according to described basic data, described pending data being processed, registers to Data Update communication district by the data to be updated that obtain after processing;
Update module, for meet in the data in Data Update communication district pre-conditioned, by the Data Update to be updated in described Data Update communication district in Database Systems.
7. device as claimed in claim 6, is characterized in that, also comprises:
Determination module, for before reading the basic data that described in Back ground Information communication district, Data Identification is corresponding, determines whether it is to receive for the first time the pending instruction that carries described Data Identification;
Link block, for determining it is in primary situation at described determination module, is connected to described Database Systems;
The second read module, for reading the basic data of Data Identification described in described Database Systems;
Memory module, for storing the basic data of the described Data Identification reading from described Database Systems into described Back ground Information communication district.
8. device as claimed in claim 6, it is characterized in that, described update module is specifically for reaching default data volume when the data to be updated in described Data Update communication district, or the time of data to be updated in described Data Update communication district while reaching Preset Time threshold value, by Data Update to be updated corresponding with described Data Identification in described Data Update communication district in described Database Systems.
9. device as claimed in claim 6, is characterized in that, described update module comprises:
Acquiring unit, for obtaining the sequence number collection that need to be updated to Database Systems, wherein, described sequence number collection is the set of the sequence number of the data to be updated that all and described Data Identification is corresponding;
Sequencing unit, for sorting to the concentrated sequence number of described sequence number;
Reading unit, for reading one by one data to be updated according to the sequence number collection after sequence from described Data Update communication district;
Updating block, for by the Data Update to be updated reading to described Database Systems.
10. device as claimed in claim 9, is characterized in that, also comprises:
Calling module, for after described pending data are processed, before the data to be updated that obtain are registered to Data Update communication district, calls sequence number generator and generates the sequence number corresponding to these data to be updated after processing.
CN201410035027.4A 2014-01-24 2014-01-24 Data processing method and device Active CN103778066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410035027.4A CN103778066B (en) 2014-01-24 2014-01-24 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410035027.4A CN103778066B (en) 2014-01-24 2014-01-24 Data processing method and device

Publications (2)

Publication Number Publication Date
CN103778066A true CN103778066A (en) 2014-05-07
CN103778066B CN103778066B (en) 2017-02-01

Family

ID=50570327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410035027.4A Active CN103778066B (en) 2014-01-24 2014-01-24 Data processing method and device

Country Status (1)

Country Link
CN (1) CN103778066B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317749A (en) * 2014-10-31 2015-01-28 小米科技有限责任公司 Information writing method and device
CN104750774A (en) * 2014-12-15 2015-07-01 北京星网锐捷网络技术有限公司 Database upgrading method and device
CN105912486A (en) * 2016-04-27 2016-08-31 联想(北京)有限公司 Information processing method and processor
CN107239306A (en) * 2017-05-26 2017-10-10 黄晓咏 One kind game communication data processing system
CN108829732A (en) * 2018-05-16 2018-11-16 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN110162563A (en) * 2019-05-28 2019-08-23 深圳市网心科技有限公司 A kind of data storage method, system and electronic equipment and storage medium
CN110209654A (en) * 2019-06-05 2019-09-06 深圳市网心科技有限公司 A kind of text file data storage method, system and electronic equipment and storage medium
CN111275585A (en) * 2020-02-25 2020-06-12 丁玲 Multi-factor-based hotel data updating system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6516312B1 (en) * 2000-04-04 2003-02-04 International Business Machine Corporation System and method for dynamically associating keywords with domain-specific search engine queries
JP4667092B2 (en) * 2005-03-17 2011-04-06 富士通株式会社 Information processing apparatus and data control method in information processing apparatus
CN100458853C (en) * 2005-04-29 2009-02-04 邓斌涛 Quick paying method and system
CN101576918B (en) * 2009-06-19 2012-11-28 用友软件股份有限公司 Data buffering system with load balancing function

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317749A (en) * 2014-10-31 2015-01-28 小米科技有限责任公司 Information writing method and device
CN104317749B (en) * 2014-10-31 2017-12-05 小米科技有限责任公司 Information write-in method and device
CN104750774A (en) * 2014-12-15 2015-07-01 北京星网锐捷网络技术有限公司 Database upgrading method and device
CN105912486A (en) * 2016-04-27 2016-08-31 联想(北京)有限公司 Information processing method and processor
CN105912486B (en) * 2016-04-27 2019-03-29 联想(北京)有限公司 Information processing method and processor
CN107239306A (en) * 2017-05-26 2017-10-10 黄晓咏 One kind game communication data processing system
CN108829732A (en) * 2018-05-16 2018-11-16 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN110162563A (en) * 2019-05-28 2019-08-23 深圳市网心科技有限公司 A kind of data storage method, system and electronic equipment and storage medium
CN110162563B (en) * 2019-05-28 2023-11-17 深圳市网心科技有限公司 Data warehousing method and system, electronic equipment and storage medium
CN110209654A (en) * 2019-06-05 2019-09-06 深圳市网心科技有限公司 A kind of text file data storage method, system and electronic equipment and storage medium
CN111275585A (en) * 2020-02-25 2020-06-12 丁玲 Multi-factor-based hotel data updating system and method
CN111275585B (en) * 2020-02-25 2021-05-14 上海贤旅网络科技有限公司 Multi-factor-based hotel data updating system and method

Also Published As

Publication number Publication date
CN103778066B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN103778066A (en) Data processing method and device
CN102725753A (en) Method and apparatus for optimizing data access, method and apparatus for optimizing data storage
CN101086732A (en) A high magnitude of data management method
CN101071434B (en) User distributing method, device and system for distributed database system
CN102053962B (en) Lightweight middleware-based networking RFID system and data interaction method
CN109271435A (en) A kind of data pick-up method and system for supporting breakpoint transmission
CN110599093B (en) Airport luggage whole-flow tracking method and system
CN104410700A (en) Method for issuing crank call list as well as crank call interception method and system
CN112417503A (en) Method and device for authorizing post authority, electronic equipment and storage medium
CN102760073B (en) Method, system and device for scheduling task
CN108563776A (en) Off-line data acquisition methods and system, server and storage medium
CN101383814A (en) Device and method implementing data access based on connection pool
CN103699961A (en) System and method for managing and controlling authority of personnel in multiple areas
CN109388636A (en) Business datum is inserted into database method, apparatus, computer equipment and storage medium
CN112529711B (en) Transaction processing method and device based on block chain virtual machine multiplexing
CN105446812A (en) Multitask scheduling configuration method
CN102479186A (en) Method, device and system for integrating third-party service system authority into data processing system
CN102541906B (en) Distributed service processing method and distributed system
CN103294978A (en) Method of POS machine for identifying RFID electronic tag
CN115907949A (en) Bank transaction data processing method and device
CN115658320A (en) Service data processing method and related equipment
CN107589907A (en) Data processing method, electronic equipment and computer-readable recording medium
CN114116908A (en) Data management method and device and electronic equipment
CN109976896B (en) Service re-ranking processing method and device
CN111343101A (en) Server current limiting method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant