Suche Bilder Maps Play YouTube News Gmail Drive Mehr »
Anmelden
Nutzer von Screenreadern: Klicke auf diesen Link, um die Bedienungshilfen zu aktivieren. Dieser Modus bietet die gleichen Grundfunktionen, funktioniert aber besser mit deinem Reader.

Patentsuche

  1. Erweiterte Patentsuche
VeröffentlichungsnummerCN103778066 B
PublikationstypErteilung
AnmeldenummerCN 201410035027
Veröffentlichungsdatum1. Febr. 2017
Eingetragen24. Jan. 2014
Prioritätsdatum24. Jan. 2014
Auch veröffentlicht unterCN103778066A
Veröffentlichungsnummer201410035027.4, CN 103778066 B, CN 103778066B, CN 201410035027, CN-B-103778066, CN103778066 B, CN103778066B, CN201410035027, CN201410035027.4
Erfinder罗东晓, 王旭光, 陈志祥, 郭海球, 吴毅, 邢善云
Antragsteller中国工商银行股份有限公司
Zitat exportierenBiBTeX, EndNote, RefMan
Externe Links:  SIPO, Espacenet
数据处理方法和装置 Data processing method and apparatus übersetzt aus folgender Sprache: Chinesisch
CN 103778066 B
Zusammenfassung  übersetzt aus folgender Sprache: Chinesisch
本发明提供了一种数据处理方法和装置,其中,该方法包括:获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识;读取基础信息通讯区中所述数据标识对应的基础数据,其中,所述基础数据是从数据库系统中读取并存储到所述基础信息通讯区中的;根据所述基础数据对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区;在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中。 The present invention provides a data processing method and apparatus, wherein, the method comprising: obtaining an instruction to be processed, wherein the pending instruction carries: identification data and data to be processed; read basic information in the communication area identifying data corresponding to the basic data, wherein said basic data is read from the database system and stored in the basic information in the communication area; processing the data to be processed in accordance with the basic data, obtained after treatment registration update data to be update the data communications area; update data in the data communications area satisfies the preset condition in the case, the update data in the data to be updated in the update area communication system to the database. 本发明实施例解决了现有技术中需要频繁访问数据库系统而导致的数据库系统的数据处理效率低下的技术问题,达到了有效提高处理效率的技术效果。 Embodiment of the present invention to solve the low efficiency of the prior art data processing that require frequent access to the database system and database system cause technical problems, to achieve the technical effect of effectively improve the processing efficiency.
Ansprüche(4)  übersetzt aus folgender Sprache: Chinesisch
1. 一种数据处理方法,其特征在于,包括: 获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识; 读取基础信息通讯区中所述数据标识对应的基础数据,其中,所述基础数据是从数据库系统中读取并存储到所述基础信息通讯区中的; 根据所述基础数据对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区; 在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中; 其中,在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到数据库系统中,包括:当所述数据更新通讯区中的待更新数据达到预设的数据量,或者是待更新数据在所述数据更新通讯区中的时间达到预设时间阈值时,将所述 A data processing method characterized by comprising: obtaining an instruction to be processed, wherein the pending instruction carries: identification data and data to be processed; read basic information communication area corresponding to the data identifiers basic data, wherein said basic data is read from the database system and stored in the basic information in the communication area; processing the data to be processed in accordance with the basic data, the data to be updated after treating the resulting updating the data registered in the communication area; the case where the communication data in the data update area satisfies a preset condition, the update data in the data to be updated in the update area communication system to the database; wherein, in the data communications area update a case where data satisfies a predetermined condition, updates the data in the data to be updated in the update area correspond to the data corresponding to the identifier of the database system, comprising: a data to be updated when updating the data reaches a predetermined communication area when the amount of data, or data to be updated is the time reaches a preset threshold value of the data update time in the communication area, the 据更新通讯区中与所述数据标识对应的待更新数据更新到所述数据库系统中; 其中,将所述数据更新通讯区中的待更新数据更新到数据库系统中,包括:获取需要更新到数据库系统中的序号集,其中,所述序号集是所有与所述数据标识对应的待更新数据的序号的集合;对所述序号集中的序号进行排序;根据排序后的序号集从所述数据更新通讯区中逐个读取待更新数据;将读取的待更新数据更新到所述数据库系统中; 其中,在对所述待处理数据进行处理之后,将处理后得到的待更新数据登记到数据更新通讯区之前,所述方法包括:调用序号发生器生成对应于该待更新数据的序号。 According to the communication area update to be updated with the update data to the data corresponding to the identifier to the database system; wherein said update data to be update data update into the database area communication system, comprising: obtaining the database needs to be updated to number set in the system, wherein, said serial number to be set is the set of all the update data with the data corresponding to the identifier; the serial number set sorting; the number of the sorted set of updated data from the register wherein, after the data to be processed is processed, after processing the obtained data to data updating to be updated; communication area to be read one by one to update the data; updating the read data to be updated to the database system before communication area, the method comprising: calling number generator generates data corresponding to the sequence number to be updated.
2. 如权利要求1所述的方法,其特征在于,在读取基础信息通讯区中所述数据标识对应的基础数据之前,所述方法还包括: 确定是否是第一次接收到携带有所述数据标识的待处理指令; 如果是,则连接到所述数据库系统; 读取所述数据库系统中所述数据标识的基础数据; 将从所述数据库系统中读取的所述数据标识的基础数据存储到所述基础信息通讯区中。 2. The method according to claim 1, wherein, in the reading area before the basis of the information base data correspond to the data corresponding to the identifier, the method further comprising: determining whether the first time be received carries said data processing instruction to be identified; if yes, connecting to the database system; reading said database system, the basic identification data; said base from said database system, the identification data read data stored in the basic information in the communication area.
3. -种数据处理装置,其特征在于,包括: 获取模块,用于获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识; 第一读取模块,用于读取基础信息通讯区中所述数据标识对应的基础数据,其中,所述基础数据是从数据库系统中读取并存储到所述基础信息通讯区中的; 处理模块,用于根据所述基础数据对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区; 更新模块,用于在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中; 其中,所述更新模块具体用于当所述数据更新通讯区中的待更新数据达到预设的数据量,或者是待更新数据在所述数据更新通讯区中的时间达到预设时间阈值时,将所述数据更新通讯区中与所述数据标识对应的待更新数据 3. - kind of data processing apparatus, characterized by comprising: an obtaining module, configured to acquire an instruction to be processed, wherein the pending instruction carries: a data identifier and data to be processed; a first reading module, for read the basic information in the data communications area identifier corresponding to the basic data, wherein said basic data is read from the database system and stored in the basic information in the communication area; processing module, according to the base data of the data to be processed is processed, the data register to be updated to the obtained data update process communication area; the case where the update module updates the data in the data communications area for satisfying a preset condition, the data updating the update data to be updated in the communication area of the database system; wherein the updating module is configured to update data when the data to be updated in the communication area reaches a predetermined amount of data, or the data to be updated when the communication data update time zone reaches a preset time threshold, updating the data area to the data communication identifier corresponding to data to be updated 更新到所述数据库系统中; 其中,所述更新模块包括:获取单元,用于获取需要更新到数据库系统中的序号集,其中,所述序号集是所有与所述数据标识对应的待更新数据的序号的集合;排序单元,用于对所述序号集中的序号进行排序;读取单元,用于根据排序后的序号集从所述数据更新通讯区中逐个读取待更新数据;更新单元,用于将读取的待更新数据更新到所述数据库系统中; 其中,数据处理装置还包括:调用模块,用于在对所述待处理数据进行处理之后,将处理后得到的待更新数据登记到数据更新通讯区之前,调用序号发生器生成对应于该待更新数据的序号。 To update the database system; wherein said updating module comprises: an acquisition unit for acquiring the database needs to be updated to the current number system, wherein the sequence number is set for all of the data identifiers corresponding to the data to be updated set of numbers; sorting unit for performing the sequence number set number of sorting; a reading unit for reading data from the data to be updated is updated one by one according to the serial communication area set sorted; updating unit, means for updating the read data to be updated to the database system; wherein the data processing apparatus further comprising: a calling module to be used for updating the data registered in the data to be processed after processing, the processed resultant communication area before data updating, call number generator generates a number corresponding to the data to be updated.
4.如权利要求3所述的装置,其特征在于,还包括: 确定模块,用于在读取基础信息通讯区中所述数据标识对应的基础数据之前,确定是否是第一次接收到携带有所述数据标识的待处理指令; 连接模块,用于在所述确定模块确定是第一次的情况下,连接到所述数据库系统; 第二读取模块,用于读取所述数据库系统中所述数据标识的基础数据; 存储模块,用于将从所述数据库系统中读取的所述数据标识的基础数据存储到所述基础信息通讯区中。 4. The apparatus according to claim 3, characterized in that, further comprising: determining means for reading basic information communication area before data in the data base corresponding to the identifier, to determine whether it is carrying the first received with said data processing instructions to be identified; connecting means for the determining module determines that the first case is connected to the database system; second reading means for reading the database system said data base data identifier; storage module basic data for the identification data from the database system to read the basic information stored in the communication area.
Beschreibung  übersetzt aus folgender Sprache: Chinesisch
数据处理方法和装置 Data processing method and apparatus

技术领域 FIELD

[0001] 本发明涉及计算机数据存储技术领域,特别是涉及一种数据处理方法和装置。 [0001] The present invention relates to computer data storage technology, and particularly relates to a data processing method and apparatus.

背景技术 Background technique

[0002] 随着企业信息系统使用越来越广泛,企业信息系统需要处理的数据也越来越多, 系统内部的逻辑结构也越来越复杂。 [0002] As more and more widespread use of enterprise information systems, enterprise information system data need to be addressed more and more logical structure within the system has become increasingly complex. 因此,如何提高系统效率成为了对企业信息系统研究的主要方向。 Therefore, how to improve the system efficiency has become the main direction of the enterprise information system. 数据库系统是企业信息系统的核心部位,许多的应用系统都需要访问数据库系统,然而,目前数据库系统是企业信息系统的瓶颈。 Database system is the core part of enterprise information systems, many applications require access to the database system, however, the current database system is the bottleneck of enterprise information systems. 例如:企业客户办理了一笔业务,在进行数据处理时,一般涉及许多个会计分录处理,而每个会计分录处理都会涉及到入账、登记明细、登记日志等操作,这样应用系统就需要反复不断地访问数据库系统,每次访问都涉及建立连接、数据传输、以及数据处理等过程。 For example: a business enterprise customers handled, during data processing, usually involving many accounting entries processing, and accounting entries for each treatment will involve accounted for, registration details, registration logs and other operations, so that the application system will need constantly repeated access to the database system, each access relates to establish a connection, data transmission, and data processing procedure. 这样势必会导致应用系统与数据库系统之间的多次连接,数据库系统的资源消耗较大,大大降低了整个企业信息系统数据处理与运行的效率。 This will inevitably result in multiple connections between applications and database systems, database systems consume more resources, greatly reducing the efficiency of the entire enterprise information system data processing and operation.

发明内容 SUMMARY

[0003] 本发明实施例提供了一种数据处理方法,以达到减少数据库系统的资源消耗,提高数据处理效率的目的,该方法包括: [0003] Example embodiments provide a data processing method, in order to achieve reduced resource consumption database system, the purpose of improving data processing efficiency according to the present invention, the method comprising:

[0004] 获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识; [0004] be acquired processing instruction, wherein the instruction carries to be processed: identification data and data to be processed;

[0005] 读取基础信息通讯区中所述数据标识对应的基础数据,其中,所述基础数据是从数据库系统中读取并存储到所述基础信息通讯区中的; [0005] read the basic information of the communication region corresponding to the identifier data base, wherein the base data is read from the database system and stored in the basic information region of the communication;

[0006] 根据所述基础数据对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区; [0006] processing the data to be processed in accordance with the basic data, registration data will be updated to the obtained data update processing area communication;

[0007]在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中。 The case where [0007] data area in the communication data updating satisfies a predetermined condition, updates the data in the data to be updated in the communication area update to the database system.

[0008] 在一个实施例中,在读取基础信息通讯区中所述数据标识对应的基础数据之前, 所述方法还包括: [0008] In one embodiment, prior to reading the underlying data communication basic information area corresponding to the data identifiers, the method further comprising:

[0009] 确定是否是第一次接收到携带有所述数据标识的待处理指令; [0009] determines whether it is the first to be received by the data processing instruction carrying the identifier;

[0010] 如果是,则连接到所述数据库系统; [0010] If so, the connection to the database system;

[0011] 读取所述数据库系统中所述数据标识的基础数据; [0011] reading the underlying data in the database system of the data identifier;

[0012] 将从所述数据库系统中读取的所述数据标识的基础数据存储到所述基础信息通讯区中。 [0012] The basic data from the storage data in the database system to read the basic information identifying the communication area.

[0013] 在一个实施例中,在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到数据库系统中,包括: In the case [0013] In one embodiment, the update data in the data communications area satisfies the preset condition, the data will be updated the update data in the update area correspond to the data corresponding to the identifier of the database system, comprising :

[0014] 当所述数据更新通讯区中的待更新数据达到预设的数据量,或者是待更新数据在所述数据更新通讯区中的时间达到预设时间阈值时,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到所述数据库系统中。 [0014] When data is to be updated, the data updating communication area reaches a predetermined amount of data, or data to be updated is the time reaches a preset threshold value in the data communications area update time, the update data communications data area to be updated with the update data corresponding to the identifier to the database system.

[0015] 在一个实施例中,将处理后得到的待更新数据登记到数据更新通讯区,包括: [0015] In one embodiment, the register to be updated to the data obtained after processing the data update communications area, comprising:

[0016] 获取需要更新到数据库系统中的序号集,其中,所述序号集是所有与所述数据标识对应的待更新数据的序号的集合; [0016] needs to be updated to the acquired sequence number set in the database system, wherein, the set of all the sequence number set to the data corresponding to the identification number of the data to be updated;

[0017] 对所述序号集中的序号进行排序; [0017] sorting the set of serial number;

[0018] 根据排序后的序号集从所述数据更新通讯区中逐个读取待更新数据; [0018] According to the serial number read from the set of sorted data updating region-by communication data to be updated;

[0019] 将读取的待更新数据更新到所述数据库系统中。 [0019] The read data to be updated to the database updating system.

[0020] 在一个实施例中,在对所述待处理数据进行处理之后,将处理后得到的待更新数据登记到数据更新通讯区之前,所述方法包括: Before [0020] Registration data to be updated in one embodiment, after the data to be processed is processed, after processing the data obtained to update the communication area, the method comprising:

[0021] 调用序号发生器生成对应于该待更新数据的序号。 [0021] Calling number generator generates data corresponding to the sequence number to be updated.

[0022] 本发明实施例还提供了一种数据处理装置,以达到减少数据库系统的资源消耗, 提高数据处理效率的目的,该装置包括: [0022] Embodiments of the present invention further provides a data processing apparatus, the database system in order to achieve reduced resource consumption and improve processing efficiency of the data object, the apparatus comprising:

[0023]获取模块,用于获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识; [0023] obtaining module, configured to acquire an instruction to be processed, wherein the instruction carries to be processed: identification data and data to be processed;

[0024]第一读取模块,用于读取基础信息通讯区中所述数据标识对应的基础数据,其中, 所述基础数据是从数据库系统中读取并存储到所述基础信息通讯区中的; [0024] The first reading means for reading the basic information in the communication area to identify the corresponding data base, wherein the base data is read from the database and stores basic information system to the communication region of;

[0025]处理模块,用于根据所述基础数据对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区; [0025] processing means for processing the data to be processed in accordance with the basic data, registration data will be updated to the obtained data update processing area communication;

[0026]更新模块,用于在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中。 [0026] The updating module updates the data in the data communications area to meet the case where a predetermined condition, updates the data in the data to be updated in the update area communication system to the database.

[0027] 在一个实施例中,上述数据处理装置还包括: [0027] In one embodiment, the data processing apparatus further comprises:

[0028] 确定模块,用于在读取基础信息通讯区中所述数据标识对应的基础数据之前,确定是否是第一次接收到携带有所述数据标识的待处理指令; [0028] The determining module, before reading the underlying data in the basic information region of the communication data corresponding to the identifier to determine whether it is the first to be received the data processing instruction carrying the identifier;

[0029] 连接模块,用于在所述确定模块确定是第一次的情况下,连接到所述数据库系统; [0029] The connection means for the determining module determines that the first case is connected to the database system;

[0030] 第二读取模块,用于读取所述数据库系统中所述数据标识的基础数据; [0030] The second reading means for reading basic data in the database system of the data identifier;

[0031 ]存储模块,用于将从所述数据库系统中读取的所述数据标识的基础数据存储到所述基础信息通讯区中。 [0031] The storage module for storing basic data from the identification data read in the database the information communication system to the base region.

[0032] 在一个实施例中,所述更新模块具体用于当所述数据更新通讯区中的待更新数据达到预设的数据量,或者是待更新数据在所述数据更新通讯区中的时间达到预设时间阈值时,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到所述数据库系统中。 [0032] In one embodiment, the updating module is configured to, when updating the data to be updated communication data area reaches a predetermined amount of data, or data to be updated at the time of data update communication area when the time reaches a preset threshold, the update data in the data to be updated with the update data communication area corresponding to the identifier to the database system.

[0033] 在一个实施例中,所述更新模块包括: [0033] In one embodiment, the updating module comprises:

[0034]获取单元,用于获取需要更新到数据库系统中的序号集,其中,所述序号集是所有与所述数据标识对应的待更新数据的序号的集合; [0034] The acquisition unit for acquiring the database needs to be updated to the current number system, wherein the set of all the sequence number set to the data corresponding to the identification number of the data to be updated;

[0035]排序单元,用于对所述序号集中的序号进行排序; [0035] The sorting means for sorting the set of serial number;

[0036] 读取单元,用于根据排序后的序号集从所述数据更新通讯区中逐个读取待更新数据; [0036] The reading unit configured to read one by one from said update data to be update data according to the serial communication area set sorted;

[0037] 更新单元,用于将读取的待更新数据更新到所述数据库系统中。 [0037] updating unit, for updating the read data to be updated to the database system.

[0038] 在一个实施例中,上述数据处理装置还包括: [0038] In one embodiment, the data processing apparatus further comprises:

[0039]调用模块,用于在对所述待处理数据进行处理之后,将处理后得到的待更新数据登记到数据更新通讯区之前,调用序号发生器生成对应于该待更新数据的序号。 Before the registration data to be updated [0039] calling module for the data to be processed after processing, post-processing of the obtained data update to the communication area, call the number generator generates a number corresponding to the data to be updated.

[0040] 在本发明实施例中,将基础数据预先从数据库系统中存储到基础信息通讯区中, 在需要获取基础数据的时候,直接从基础信息通讯区中获取即可,对于处理后得到的待更新数据先存储到数据更新通讯区中,然后再统一更新到数据库系统中,通过上述方式解决了现有技术中需要频繁访问数据库系统而导致的数据库系统的数据处理效率低下的技术问题,达到了有效提高处理效率的技术效果。 [0040] In an embodiment of the present invention, the basic data stored in advance from the database the information communication system to the base area, needs to acquire basic data on the time, to obtain basic information from the communication area for the processed resultant update data to be stored in the data communications area update, and then update to the unified database system to solve the low efficiency of data processing in the prior art that require frequent access to the database system database system caused by technical problems described above, to achieve effectively improve the technical effect of the processing efficiency.

附图说明 BRIEF DESCRIPTION

[0041] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。 [0041] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, do not limit the present invention. 在附图中: In the drawings:

[0042]图1是本发明实施例的数据处理方法的流程图; [0042] FIG. 1 is a flowchart of a data processing method according to an embodiment of the present invention;

[0043] 图2是本发明实施例的数据存储系统的结构示意图; [0043] FIG. 2 is a block diagram of a data storage system according to an embodiment of the present invention;

[0044] 图3是本发明实施例的应用程序的流程图; [0044] FIG. 3 is a flowchart of an application example of the embodiment of the present invention;

[0045] 图4是本发明实施例的总控及接口单元的流程图; [0045] FIG. 4 is a flowchart of the master control and interface unit according to the embodiment of the present invention;

[0046] 图5是本发明实施例的总控及接口单元的流程图; [0046] FIG. 5 is a flowchart of the master control and interface unit according to the embodiment of the present invention;

[0047] 图6是本发明实施例的基础信息获取单元的流程图; [0047] FIG. 6 is a flowchart of a basic information acquisition unit embodiment of the present invention;

[0048] 图7是本发明实施例的基础信息通讯区访问单元的流程图; [0048] FIG. 7 is a basic information region of the communication unit access to a flowchart of embodiments of the present invention;

[0049] 图8是本发明实施例的数据更新通讯区访问单元的流程图; [0049] FIG. 8 is an example of the data update area communication unit access to the flowchart embodiment of the present invention;

[0050] 图9是本发明实施例的通讯区监控单元的流程图; [0050] FIG. 9 is a communication zone embodiment of the present invention to monitor a flowchart unit;

[0051]图10是本发明实施例的更新数据存入单元的流程图; [0051] FIG. 10 is a flowchart illustrating an example of updating data stored in unit embodiment of the present invention;

[0052]图11是本发明实施例的数据处理装置的结构框图。 [0052] FIG. 11 is a block diagram showing a data processing apparatus according to an embodiment of the present invention.

具体实施方式 detailed description

[0053]本发明实施例提供了一种数据处理方法,如图1所示,包括以下步骤: [0053] Example embodiments of the present invention provides a data processing method shown in Figure 1, comprising the steps of:

[0054]步骤101:获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识; [0054] Step 101: acquiring instruction to be processed, wherein the instruction carries to be processed: identification data and data to be processed;

[0055]步骤102:读取基础信息通讯区中所述数据标识对应的基础数据,其中,所述基础数据是被预先从数据库系统中读取并存储到所述基础信息通讯区中的; [0055] Step 102: reading the basic information in the communication area to identify the corresponding data base, wherein the base data is read from the database system in advance and stored in the basic information region of the communication;

[0056]步骤103:根据所述基础数据对对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区; [0056] Step 103: The data to be processed for the processing data to be registered in accordance with the base update data obtained after processing the data updates correspond to the region;

[0057]步骤104:在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中。 [0057] Step 104: the case where the communication data in the data update area satisfies a preset condition, the update data in the data to be updated in the update area communication system to the database.

[0058]在上述实施例中,将基础数据预先从数据库系统中存储到基础信息通讯区中,在需要获取基础数据的时候,直接从基础信息通讯区中获取即可,对于处理后得到的待更新数据先存储到数据更新通讯区中,然后再统一更新到数据库系统中,通过上述方式解决了现有技术中需要频繁访问数据库系统而导致的数据库系统的数据处理效率低下的技术问题,达到了有效提高处理效率的技术效果。 [0058] In the above embodiment, the basic data stored in advance from the database the information communication system to the base area, needs to acquire basic data on the time, to obtain basic information from the communication area, to be obtained after treatment first update data stored in the data communications area update, and then update to the unified database system to solve the low efficiency of data processing in the prior art that require frequent access to the database system database system caused by technical problems described above, reached effectively improve the processing efficiency of the technical effect.

[0059]上述的基础信息通讯区可以是一种快速存储区域,例如:计算机系统的内存储器, 上述的基础数据指代对待处理数据进行处理时,所依赖的公共数据,例如:对一个账户上的金额进行更新操作时,需要知道该账户的户名、地点等信息,这些信息就属于基础数据的范畴,这样如果需要多次对待处理数据进行处理,那么就可能需要多次用到相同的基础数据。 [0059] The basic information of the communication region may be a fast memory area, such as: the memory of a computer system, said basic data refers to generation of data to be processed is processed depends common data, for example: on account of a when the amount is updated, you need to know the information of the account user name, location, etc., this information will fall within the scope of the underlying data, so if you need to process data to be processed multiple times, then it may be necessary to use the same base data.

[0060] 考虑到需要找一个将数据库系统中的数据存储到基础信息通讯区中的时间,在一个实施例中,可以在第一次接收到某个数据表示的待处理指令时,连接数据库系统,将数据存储到基础信息通讯区中,例如可以采用以下方式将基础数据预先从数据库系统中存储到所述基础信息通讯区中:在读取基础信息通讯区中所述数据标识对应的基础数据之前,确定是否是第一次接收到携带有所述数据标识的待处理指令;如果是,则连接到所述数据库系统;读取所述数据库系统中所述数据标识的基础数据;将从所述数据库系统中读取的所述数据标识的基础数据存储到所述基础信息通讯区中。 When [0060] Considering the need to find a database system to store data base information to the time zone of the communication, in one embodiment, it may be a receiving data representing a processing instruction in the first, connected to the database system , to store the data communication basic information area, for example, may employ the basic data from the database previously stored basic information system to the communication area: the basic data reading data corresponding to the identifier based on the information in the communication area before determining whether the first time be received processing instruction carrying the identifier of the data; if yes, connecting to the database system; basic data reading of the data in the database system identifier; from the the basic data of said identification data read from the memory database system basic information into the communication area.

[0061] 考虑到在将数据更新通讯区中的待更新数据更新到数据库系统中的更新频率的合理性,在一个实施例中,在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到数据库系统中,可以包括:当所述数据更新通讯区中的待更新数据达到预设的数据量,或者是待更新数据在所述数据更新通讯区中的时间达到预设时间阈值时,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到所述数据库系统中。 [0061] In consideration of the case where the update data of the data to be updated in the update of the communication area to a reasonable update frequency database system, in one embodiment, the update data in the data communications area meets a preset condition, the update data in the data to be updated in the update area correspond to the data corresponding to the identifier of the database system, may include: data to be updated when updating the data communications area reaches a predetermined amount of data, or is to be updated when the data reaches the preset time threshold in said data communication area update time, the update data in the data to be updated in the update area correspond to the data corresponding to the identifier to the database system. 即,在数据更新通讯区中的数据量达到预定的值,或者是存储的时间达到预定值的情况下,就集中性一次将数据更新通讯区中的数据统一更新到数据库系统中。 That is, the amount of communication data in the data update area reaches a predetermined value, or a case where the stored time reaches a predetermined value, on the concentration of a unified communication area update data update into the database system.

[0062] 在一个实施例中,登记到数据更新通讯区中的待更新数据的主键可以包括:数据标识和待更新数据的序号,通过序号来标识数据。 [0062] In one embodiment, the data registered to update the primary key in the communication region data to be updated may include: a data identification number and the data to be updated, by serial number to identify the data. 具体的,该序号可以是在对所述待处理数据进行处理之后,将处理后得到的待更新数据登记到数据更新通讯区之前,调用序号发生器生成的。 Specifically, the number may be registered before the update data in the data to be processed after processing, processing the data obtained to update the traffic area, the call number generator generates.

[0063] 在将数据更新通讯区中与所述数据标识对应的待更新数据更新到数据库系统中的过程中,为了保证数据可以按照顺序有效地更新到数据库系统,可以按照以下步骤进行: [0064]步骤1:获取需要更新到数据库系统中的序号集,其中,所述序号集是所有所述数据标识对应的待更新数据的序号的集合,即,序号就是对待更新数据进行编号,以保证后续对其的处理不被遗漏或重复; [0063] In the data updating communication area to be updated with the update data to the data corresponding to the identifier of the database system process, in order to ensure that the data can be performed in the following steps in the order to efficiently update the system database: [0064 ] step 1: Get Reference to current needs to be updated in the database system, wherein the sequence number is set for all of the data corresponding to the identifier to be set number of update data, i.e., update data ID number is treated to ensure that the subsequent the processing thereof is not repeated or omitted;

[0065] 步骤2:对所述序号集中的序号进行排序; [0065] Step 2: serial number of the sequence number set to sort;

[0066] 步骤3:根据排序后的序号集从所述数据更新通讯区中逐个读取待更新数据; [0066] Step 3: The number of the sorted set of data read from the updated region-by communication data to be updated;

[0067] 步骤4:将读取的待更新数据更新到所述数据库系统中。 [0067] Step 4: Update the data to be read to update the database system.

[0068] 本发明实施例还提供了一个具体的实施例来对本发明进行具体描述,然而值得注意的是,该具体实施例仅是为了更好地描述本发明,并不构成对本发明的不当限定。 [0068] The present invention further provides a specific embodiments specifically described of the present invention, however, it is worth noting that this particular embodiment is merely to better illustrate the present invention without unduly limiting the scope of the present invention .

[0069] 在本例中,提供了一种基于总线的数据存储系统和方法,运用数据总线对数据进行统一的存入、读取和传输操作。 [0069] In the present embodiment, there is provided a bus-based data storage systems and methods, the use of the data bus the data stored in unity, the read and transfer operations.

[0070] 有两类公用通讯区: [0070] There are two types of public communication areas:

[0071] 1)-类保存的是基础信息,即应用程序在进行数据处理时先要从数据库中获得基础信息,例如:客户信息,其主键是数据标识(ID),将该区域命名为基础信息通讯区; [0071] 1) - saving class is basic information, i.e., the application must first obtain basic information from the database during data processing, for example: customer information, which is the primary key data identification (ID), designated as the base region information and communication area;

[0072] 2)另一类保存的是待处理数据信息,即应用系统要将这类数据更新到数据库系统中,例如:会计分录信息,主键是数据标识+序号,序号可以是待处理数据的流水号,将该区域命名为数据更新通讯区。 [0072] 2) Another type of data to be processed is saved information is updated such applications want data to the database system, such as: accounting entry information, the primary key is the data sequence number + identification, data to be processed may be a number the serial number, name the zone data update communications area.

[0073]对于同一数据标识的待处理数据,第一笔待处理数据在处理的时候,可以先连接到数据库中,将该数据标识的基础信息读取到基础信息通讯区中,对于后续的对该数据标识的其它待处理数据(即除第一笔外的待处理数据)进行处理时,读取基础信息通讯区中的基础数据以替代连接数据库系统读取基础数据。 [0073] The data to be processed for identifying the same data, the data to be processed in the first pen when processed, can connect to the database, the data base information identifying the read basic information to the communication area for the subsequent other data to be processed when the identification data (i.e., data to be processed in addition to the first outer pen) for processing, read the basic information base data communications connection region to replace the database system to read the base data.

[0074]对于每个待处理数据,在经过处理之后,并不直接更新到数据库系统中,而是先登记到数据更新通讯区中,等到数据更新通讯区中的待更新数据达到一定数据量或者达到预定时间后,自动地将数据更新通讯区中的待更新数据统一更新到数据库系统中。 [0074] For each data to be processed, after processing, is not directly update the database system, but the first registration zone can correspond to the data update, data to be updated until the update reaches a predetermined communication area or the amount of data after the predetermined time, data to be updated automatically update the data in the unified communication area update to the database system. 从数据库系统读取数据到"基础信息通讯区"和将"数据更新通讯区"中的数据更新到数据库系统中可以是通过专门的数据总线处理装置完成的,应用程序仅需要与"基础信息通讯区"和"数据更新通讯区"进行数据交换即可。 Reading the data from the database system to the "basic information communication area" and the update data "Data update communication area" in the database system may be accomplished by a dedicated data bus processing apparatus, the application needs only basic information and Communication " area "and" update data communication area "to exchange data. 因此,"基础信息通讯区"和"数据更新通讯区"就形成了应用程序数据存取的总线,所谓总线就是在计算机系统中,负责与多个部件交换数据的单元,对各应用程序透明,应用程序不需要直接访问数据库系统,从而大大减少了数据库系统的连接次数,从而提高了数据库系统和企业信息系统的数据处理效率。 Thus, "basic information communication area" and "Update Data communication area" is formed access to application data bus, called bus in a computer system is responsible for the data unit with a plurality of switching members, each of the transparent application, applications do not need direct access to the database system, thus greatly reducing the number of connections to the database system, thus improving the efficiency of the database data processing systems and enterprise information systems.

[0075] 如图2所示是本例提供的数据总线存储系统结构图,该总线存储系统包括:应用程序1、数据管理装置2、数据存储装置3和数据库系统4。 [0075] As shown in FIG. 2 is a configuration diagram of a data storage system bus provided in the present embodiment, the memory bus system comprising: an application program, the data management apparatus 2, the data storage means 3 4 and database systems. 应用程序1将需要处理的指令和数据传送给数据管理装置2,实现对数据存储装置3的数据总线和数据库系统4的数据表存入、读取、传输和监控等数据操作。 1 instruction and data application will need to handle the data transmitted to the management apparatus 2, to achieve the database system data bus and data storage means 3 stores data of Table 4, reading, data transmission and monitoring operations. 应用程序1将需要处理的指令和数据传送给数据管理装置2,实际是传送给数据管理装置2的总控及接口单元5,由总控及接口单元5根据指令内容调用基础信息获取单元6、基础信息通讯区访问单元7、数据更新通讯区访问单元8、通讯区监控单元9、以及更新数据存入单元10等不同单元实现相应的功能,每个处理单元可以是一个独立的模块,相互之间可以实现模块复用。 Instructions and data applications 1 will need to handle the transfer to the data management apparatus 2, is actually transferred to the data management device master control and interface unit 5 2, 5 calls the underlying information acquiring unit 6 according to the instruction content from the master control and interface unit, basic information communication area access unit 7, the data access unit to update the communication area 8, the communication monitoring unit area 9, and update data stored in different units like unit 10 achieve the corresponding functions, each processing unit may be a separate module, each of can be achieved between the module reuse. 在数据存储装置3中包括有基础信息通讯区11和数据更新通讯区12,在基础信息通讯区11中存储有多个基础信息13,在数据更新通讯区12中存储有多个待更新数据4,在数据库系统4中存储有多个数据表15。 12, on the basis of the information communication area 11 stores a plurality of basic information 13 in the data storage device 3 comprising a base region 11 and the data communication information update communications area, updating the data in the communication area 12 stores a plurality of data to be updated 4 in the database system 4 stores a plurality of data tables 15.

[0076] 下面对上述数据总线存储系统中的各个装置单元进行具体描述: [0076] Next, the data bus means of the respective devices in the storage system described in detail:

[0077] 如表1所示是基础信息通讯区11中的数据结构,存储在数据存储装置3中,其中保存的是应用程序在进行数据处理时预先从数据库系统4中获得的基础数据,该基础数据的主键是数据标识。 [0077] As shown in Table 1 is the data structure of the information communication base region 11, in the data storage device 3, wherein when the underlying data is stored during application processing previously obtained data from the database storage system 4, the the basic data is the primary key identification data.

[0078] 表1 [0078] TABLE 1

[0079] [0079]

Figure CN103778066BD00081

Toorn~如表2所示数据更新通讯区12中的数据结构,存储在数据存储装置3中,保存的是-待更新数据,即应用系统需要将要将这类数据更新到数据库系统中,这些数据的主键是数据标识+序号,序号是该数据标识待更新数据的流水号。 - a data structure as in FIG communication area data update 2 12 Toorn, stored in the data storage device 3, is stored - data to be updated, i.e., the system needs to update the application you want such data the database system, the data the primary key is the data sequence number + identification, data identifying which number is to be the serial number of the update data.

[0081] 表2 [0081] TABLE 2

[0082] [0082]

Figure CN103778066BD00082

Figure CN103778066BD00091

[0083] 如图3所示是应用程序1的处理流程图,包括以下步骤: [0083] As shown in FIG. 3 is a process flow diagram of an application, comprising the steps of:

[0084]步骤301:应用程序1获取需要处理的指令和数据; [0084] Step 301: obtaining an application program instructions and data to be processed;

[0085]步骤302:将需要处理的指令和数据传输给总控及接口单元; [0085] Step 302: instruction and data transmission will need to deal with the master control and interface unit;

[0086] 步骤303:等待总控及接口单元调用不同单元处理进行数据处理; [0086] Step 303: Wait for the call to the interface unit and the master control process different data processing unit;

[0087] 步骤304:获取总控及接口单元的处理结果,以结束整个流程。 [0087] Step 304: acquiring the processing result of the master control and interface unit, to end the entire process.

[0088] 如图4所示是总控及接口单元5与应用程序1交互的流程图,包括以下步骤: [0088] As shown in FIG 4 is a flowchart of the master control and interface unit 5 and an interactive application, comprising the steps of:

[0089]步骤401:总控及接口单元5与应用程序交互,获取需要处理的指令和数据,数据的主键是数据标识,也就相当于获取到了需要处理的数据标识; [0089] Step 401: the master control interface unit 5 and interact with the application, obtain instructions and data to be processed, the primary key is identification data, it is equivalent to the acquired identification data to be processed;

[0090] 步骤402:判断是否是该数据标识的第一笔待处理数据,如果是,则执行步骤403, 如果否,则转而执行步骤404; [0090] Step 402: determining whether the pen is a first data identifying the data to be processed, and if so, step 403, and if not, the process goes to step 404;

[0091] 步骤403:调用基础信息获取单元6; [0091] Step 403: call the basic information acquisition unit 6;

[0092] 步骤404:连接数据库读取该数据标识的基础数据到基础信息通讯区11中; [0092] Step 404: reading the underlying data connection to the database identified by the data base information into the communication area 11;

[0093] 步骤405:调用基础信息通讯区访问单元7读取基础信息通讯区11中的基础数据以替代连接数据库系统读取基础信息; [0093] Step 405: call the basic information to access the communication area of the base data base unit 11 reads the information communication area 7 instead of connecting to the database system to read basic information;

[0094] 步骤406:调用数据更新通讯区访问单元8,把待处理数据登记到数据更新通讯区12中,其中,主键是数据标识+序号,序号是该数据标识待更新数据的流水号,该序号可以是通过序号发生器生成的; [0094] Step 406: call data updater communication area access unit 8, the registration data to be processed in the data update communication area 12, wherein the primary key data identifier + number, number is the serial number of the data an identifier of the update data, the Reference may be generated by the number generator;

[0095]步骤407:判断是否还有待处理的数据标识,如果是,则转置步骤402继续下一数据标识的处理流程,如果否,则结束整个流程。 [0095] Step 407: determining whether the identification data yet to be processed, if so, step 402 continues transposition process flow data identifying the next, if not, the entire process ends.

[0096] 如图5所示是总控及接口单元5后台处理的流程图,如图5所示,包括以下步骤: [0097]步骤501:当数据更新通讯区12中的数据达到一定数据量或者预定时间后,通讯区监控单元9监控到通知总控及接口单元5; [0096] As shown in FIG 5 is a flowchart of the master control interface unit 5 and processed in the background, shown in Figure 5, comprising the steps of: [0097] Step 501: When the data in the communication area 12 to update the data reaches a certain amount of data or a predetermined time, the monitoring unit 9 to monitor the communication area to notify the control unit 5 and an interface;

[0098]步骤502:由总控及接口单元5调用更新数据存入单元10将待更新数据统一更新到数据库系统中,结束整个流程。 [0098] Step 502: Update the master control unit 5 and the interface unit 10 calls the stored data to be updated to the updated data in the consolidated database system, the entire process ends.

[0099] 如图6所示是基础信息获取单元6的流程图,总控及接口单元5判断如果是数据标识的第一笔待处理数据,则调用基础信息获取单元6连接数据库读取该数据标识的基础数据到基础信息通讯区11中,以后该同一数据标识的其它待处理数据(除第一笔外的其它待处理数据)再进行处理时,读取基础信息通讯区11中的基础数据以替代连接数据库系统读取基础数据,如图6所示,包括以下步骤: [0099] Figure 6 is a flowchart of the basic information acquisition unit 6, and a master control interface unit 5 determines if the data to be processed is the first pen ID data, is called basic information obtaining unit 6 is connected to a database to read the data when the underlying data base identification information into the communication area 11, data to be processed after the other (the other except the first data to be processed outside the pen) further processing the same data identifier, read the base data communication basic information area 11 connect to the database to replace the basic data reading system shown in FIG. 6, comprising the steps of:

[0100] 步骤601:获取需要处理的数据标识; [0100] Step 601: acquiring identification data to be processed;

[0101] 步骤602:与数据库建立连接; [0101] Step 602: establishing a connection to the database;

[0102] 步骤603:获取数据标识的基础数据; [0102] Step 603: acquiring identification data base;

[0103] 步骤604:与数据存储装置建立连接; [0103] Step 604: establishing a connection with the data storage means;

[0104] 步骤605:将数据标识的基础数据存入到基础信息通讯区11中。 [0104] Step 605: the basic data stored in the basic information to the identified communication area 11.

[0105] 如图7所示是基础信息通讯区访问单元7的流程图,包括以下步骤: [0105] Figure 7 is a flowchart of the communication unit 7 on the basis of information access zone, comprising the steps of:

[0106] 步骤701:获取需要处理的数据标识; [0106] Step 701: acquiring identification data to be processed;

[0107]步骤702:与数据存储装置建立连接; [0107] Step 702: establishing a connection with the data storage means;

[0108] 步骤703:根据数据标识读取基础信息通讯区11获取基础数据; [0108] Step 703: reading basic information based on the data communication identifier 11 acquires area data base;

[0109] 步骤704:将获取的该数据标识的基础信息返回给总控及接口单元5。 [0109] Step 704: obtain the basic information of the identification data back to the master control and interface unit 5.

[0110] 如图8所示,是数据更新通讯区访问单元8的流程图,包括以下步骤: 步骤801:获取需要处理的数据标识; [0110] As shown in FIG 8, the unit 8 is a flowchart of a data update access communication area, comprising the following steps: Step 801: acquiring identification data to be processed;

[0112]步骤802:与数据存储装置建立连接; [0112] Step 802: establishing a connection with the data storage means;

[0113]步骤803:调用序号发生器生成序号,其中,序号是该数据标识待更新数据的流水号; [0113] Step 803: call the number generator generates a number, wherein the serial number is identification data of the data to be updated;

[0114]步骤804:将待处理数据登记到数据更新通讯区,其中,主键是数据标识+序号。 [0114] Step 804: The data to be processed to the data update registration communication area, wherein the primary data key + serial number identification. [0115] 如图9所示是通讯区监控单元9的流程图,通讯区监控单元9是监控数据更新通讯区12的工作情况,判断是否数据满或者达到一定时间等入库条件,从而把满足入库条件的所有待更新数据统计出来。 [0115] As shown in FIG 9 is a flowchart of the communication area monitor unit 9, the communication area 9 is operated in a monitoring unit to monitor communication data updating section 12 determines whether the data over time or a certain storage conditions, thereby satisfying all pending update data storage condition figured out. 具体如图9所示,包括以下步骤: DETAILED 9, comprising the steps of:

[0116]步骤901:与数据存储装置建立连接; [0116] Step 901: establishing a connection with the data storage means;

[0117] 步骤902:遍历数据更新通讯区; [0117] Step 902: Update communication through the data area;

[0118]步骤903:判断待处理数据是否满足入库条件,如果是,则把数据标识+序号保存起来,如果否,则跳过; [0118] Step 903: determining whether the data to be processed to meet the conditions of storage, if it is, put the data identifier + number saved, and if not, skip;

[0119] 步骤904:判断是否还有待处理数据,如果有,则继续下一待处理数据的处理流程, 如果没有,则退出待处理数据的处理流程; [0119] Step 904: determining whether there is data to be processed, and if so, the flow proceeds to the next processing data to be processed, and if not, exits the process flow data to be processed;

[0120] 步骤905:将保存起来的数据标识+序号集返回给总控及接口单元5。 [0120] Step 905: The data is saved + identification number and set back to the master control interface unit 5.

[0121] 如图10所示是更新数据存入单元10的流程图,更新数据存入单元10用于将满足入库条件的所有待更新数据统一更新到数据库系统中。 [0121] As shown in FIG. 10 is a flowchart of the data updating unit 10 is stored, the update data stored in all the data to be updated storage unit 10 satisfies the condition for the unity updating the database system. 如图10所示,包括以下步骤: 10, comprising the steps of:

[0122] 步骤1001:获取需要更新的数据标识+序号集; [0122] Step 1001: Get the data to be updated set number + identification;

[0123] 步骤1002:对数据标识+序号集进行数据标识、序号升序排序; [0123] Step 1002: the data identifying the data set number + identification number in ascending order;

[0124] 步骤1003:与数据存储装置建立连接; [0124] Step 1003: establishing a connection with the data storage means;

[0125] 步骤1004:根据数据标识+序号读取数据更新通讯区获取所有待更新数据; [0125] Step 1004: The read data identifies the data update sequence number + area correspond obtain all the data to be updated;

[0126] 步骤1005:判断是否第一笔待更新数据,如果是则执行步骤1006,否则执行步骤1007; [0126] Step 1005: determining whether the first pen data to be updated, if yes, performing step 1006, otherwise performing step 1007;

[0127] 步骤1006:与数据库系统建立本次数据标识连接; [0127] Step 1006: The establishment of a data connection to the database system identifier;

[0128] 步骤1007:判断本次待更新数据与上次待更新数据的数据标识是否相同,如果相同,则执行步骤1008,否则执行步骤1009,之所以增加这一步是因为考虑到,本次更新的标识如果与上次相同,那么就说明上次的数据还处在缓存区(即,待更新数据区)中,这时,需要先将上次的数据先存到数据库中,否则,本次的数据进入缓存区后,就会将上次的数据覆盖掉了,上次的数据也就丢失了,上次的数据后续就没有机会再更新到数据库中了; [0128] Step 1007: judging this to be the last update data and the data to be updated identification data are the same, if the same, step 1008 is executed, otherwise step 1009, the reason for the increase this step because of concerns that this update If the identity same as last time, then that previous data is still in the buffer zone (ie, the data to be updated area) in this case, it is necessary first to the last data stored in the database, otherwise this after the data into the buffer, the previous data will be overwritten, previous data will be lost, and the last follow-up data is no chance to update the database;

[0129] 步骤1008:将上次数据标识的所有待更新数据更新到数据库系统中; [0129] Step 1008: The data from the last update all data to be updated is identified by the database system;

[0130] 步骤1009:与数据库建立本次数据标识连接; [0130] Step 1009: The data establish the database to identify the connection;

[0131] 步骤1010:判断是否还有待更新数据,如果是,则继续下一待更新数据存入数据库的处理流程,如果否,则执行步骤1011; [0131] Step 1010: determining whether there is data to be updated, if yes, proceed to next update data to be stored in the processing flow database, and if not, step 1011 is performed;

[0132] 步骤1011:将上次数据标识的所有待更新数据更新到数据库中。 [0132] Step 1011: The data from the last update all data to be updated is identified in the database.

[0133] 在本例中,提出了一种基于总线的数据存储系统和方法,运用数据总线对数据进行统一的存入、读取和传输操作,使用基础信息通讯区和数据更新通讯区保存应用程序需要访问的基础信息和需要更新到数据库的数据,应用程序访问基础信息通讯区和数据更新通讯区以替代连接访问数据库系统。 [0133] In the present embodiment, it is proposed to save the application to a data storage system and method based on a bus, the data bus using the data stored in unity, the read and transfer operations, the information communication using a base region and a data communications area update program needs to access basic information and need to be updated to the data, applications, databases and access to basic information and communication area data area instead of updating communication connection to access the database system. 在数据更新通讯区中的待更新数据被监测到达到一定数据或者达到预定时候后,自动统一更新到数据库系统中。 After the update data in the update data communication area to be monitored reaches a certain predetermined time or data, automatic update into the unified database system. 由此可见,通过上述方式应用程序不需要直接访问数据库系统,大大减少了数据库系统的连接次数,从而提高了数据库系统和企业信息系统的数据处理效率。 Thus, by the above-described embodiment does not require application direct access to the database system, greatly reducing the number of connections to the database system, thereby improving the efficiency of data processing systems and enterprise information database systems.

[0134] 具体而言,上述数据存储方式主要采用以下几方面的技术手段: [0134] Specifically, the data is stored mainly in the following aspects of the technology:

[0135] 1)运用数据总线对数据进行统一保存,使用基础信息通讯区和数据更新通讯区保存应用程序需要访问的基础信息和需要更新到数据库的待更新的数据; [0135] 1) the use of unified data bus for data storage, use basic information and communication area and update data stored communications area application needs to access basic information and data need to be updated to the database to be updated;

[0136] 2)运用数据总线对数据进行统一访问,应用程序访问基础信息通讯区和数据更新通讯区以替代连接访问数据库系统; [0136] 2) using the data bus unified data access, application access and data base information communication zone update communication area to replace the connection to access the database system;

[0137] 3)数据存储标准化,数据统一存储在基础信息通讯区和数据更新通讯区,减少了通讯区过多且字段命名不同带来的问题,简化了系统结构,减少了维护难度; [0137] 3) standardization of data storage, unified data storage area on the basis of information communication and update data communications area, reducing the excessive communication areas and problems caused by different field name, simplifying the system architecture, reducing maintenance difficulty;

[0138] 通过上述方式减少了应用系统与数据库系统的连接次数,减少了数据库系统的资源消耗,提高了数据库系统和企业信息系统的数据处理效率,降低了管理成本,提高了整体的经济效益。 [0138] By reducing the number of connections above application systems and database systems, database systems to reduce resource consumption and improve the efficiency of the database data processing systems and enterprise information systems, reduce management costs, improve the economic efficiency of the whole.

[0139] 基于同一发明构思,本发明实施例中还提供了一种数据处理装置,如下面的实施例所述。 [0139] Based on the same inventive concept, the present invention further provides an embodiment of a data processing apparatus, as described in Example below. 由于数据处理装置解决问题的原理与数据处理方法相似,因此数据处理装置的实施可以参见数据处理方法的实施,重复之处不再赘述。 Since the data processing apparatus similar principles to solve the problem with the data processing method, data processing apparatus and therefore can be found in the data processing method embodiment, repeated description of which will not be repeated. 以下所使用的,术语"单元"或者"模±夬"可以实现预定功能的软件和/或硬件的组合。 Combination of software and / or hardware used hereinafter, the term "unit" or "mode ± Jue" can achieve a predetermined function. 尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。 Although the following description of embodiments of the apparatus of the preferred embodiment be implemented in software, but implemented as a combination of hardware, or software and hardware it is also possible and contemplated. 图11是本发明实施例的数据处理装置的一种结构框图,如图11所示,包括:获取模块1101、第一读取模块1102、处理模块1103和更新模块1104,下面对该结构进行说明。 FIG 11 is a block diagram showing a data processing apparatus according to an embodiment of the present invention, shown in Figure 11, comprising: an obtaining module 1101, a first reading module 1102, a processing module 1103 and the updating module 1104, the structure below instructions.

[0140]获取模块1101,用于获取待处理指令,其中,所述待处理指令中携带有:待处理数据和数据标识; [0140] obtaining module 1101, configured to acquire an instruction to be processed, wherein the pending instruction carries: identification data and data to be processed;

[0141] 第一读取模块1102,用于读取基础信息通讯区中所述数据标识对应的基础数据, 其中,所述基础数据是从数据库系统中读取并存储到所述基础信息通讯区中的; [0141] The first reading module 1102, read the basic information for the communication area to identify the corresponding data base, wherein the base data is read from the database system and stored in said information communication base region middle;

[0142] 处理模块1103,用于根据所述基础数据对所述待处理数据进行处理,将处理后得到的待更新数据登记到数据更新通讯区; [0142] Processing module 1103, configured to process data to be processed in accordance with the basic data, registration data will be updated to the obtained data update processing area communication;

[0143] 更新模块1104,用于在数据更新通讯区中的数据满足预设条件的情况下,将所述数据更新通讯区中的待更新数据更新到数据库系统中。 [0143] updating module 1104 for updating the data in the case where data communication in the area of the preset condition is satisfied, the update data in the data to be updated in the update area communication system to the database.

[0144] 在一个实施例中,上述数据处理装置还包括:确定模块,用于在读取基础信息通讯区中所述数据标识对应的基础数据之前,确定是否是第一次接收到携带有所述数据标识的待处理指令;连接模块,用于在所述确定模块确定是第一次的情况下,连接到所述数据库系统;第二读取模块,用于读取所述数据库系统中所述数据标识的基础数据;存储模块,用于将从所述数据库系统中读取的所述数据标识的基础数据存储到所述基础信息通讯区中。 [0144] In one embodiment, the data processing apparatus further comprising: a determining module configured to read basic information communication area before data in the data base corresponding to the identifier, to determine whether the received first be carried said data processing instruction to be identified; connecting means for the determining module determines that the first case is connected to the database system; second reading means for reading said database system, the data identifying said basic data; storage module basic data for the identification data from the database system to read the basic information stored in the communication area.

[0145] 在一个实施例中,更新模块1104具体用于当所述数据更新通讯区中的待更新数据达到预设的数据量,或者是待更新数据在所述数据更新通讯区中的时间达到预设时间阈值时,将所述数据更新通讯区中与所述数据标识对应的待更新数据更新到所述数据库系统中。 [0145] In one embodiment, the updating module 1104 is configured to update data when the data to be updated communication area reaches a predetermined amount of data, or data to be updated is reached in the area of the communication data update time when the preset time threshold, the update data in the data to be updated with the update data communication area corresponding to the identifier to the database system.

[0146] 在一个实施例中,更新模块1104包括:获取单元,用于获取需要更新到数据库系统中的序号集,其中,所述序号集是所有与所述数据标识对应的待更新数据的序号的集合;排序单元,用于对所述序号集中的序号进行排序;读取单元,用于根据排序后的序号集从所述数据更新通讯区中逐个读取待更新数据;更新单元,用于将读取的待更新数据更新到所述数据库系统中。 [0146] In one embodiment, the updating module 1104 includes: an acquisition unit for acquiring the database needs to be updated to the current number system, wherein the sequence number is set for all of the data identifiers corresponding to the serial number of the data to be updated It sets; sorting unit, configured to set the number sorting number; a reading unit for reading data from the data to be updated is updated one by one according to the serial communication area set sorted; updating means for update data to be read to update the database system.

[0147] 在一个实施例中,上述数据处理装置还包括:调用模块,用于在对所述待处理数据进行处理之后,将处理后得到的待更新数据登记到数据更新通讯区之前,调用序号发生器生成对应于该待更新数据的序号。 [0147] In one embodiment, the data processing apparatus further comprising: a calling module to be updated before the registration data to be processed after the data is processed, the processed resultant to the communication area for updating the data, calling number corresponding to the sequence number generator generates data to be updated.

[0148] 在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。 [0148] In a further embodiment, there is also provided a software, the technical solution for performing the above-described embodiments and preferred embodiments described herein.

[0149] 在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。 [0149] In a further embodiment, there is also provided a storage medium, the storage medium stores the above-described software, the storage media include, but are not limited to: an optical disc, a flexible disk, hard disk, a flash memory or the like.

[0150] 从以上的描述中,可以看出,本发明实施例实现了如下技术效果:将基础数据预先从数据库系统中存储到基础信息通讯区中,在需要获取基础数据的时候,直接从基础信息通讯区中获取即可,对于处理后得到的待更新数据先存储到数据更新通讯区中,然后再统一更新到数据库系统中,通过上述方式解决了现有技术中需要频繁访问数据库系统而导致的数据库系统的数据处理效率低下的技术问题,达到了有效提高处理效率的技术效果。 [0150] From the above description, it can be seen, embodiments of the present invention achieves the following technical effects: the basic data stored in advance from the database the information communication system to the base area, needs to acquire basic data on the time base directly from information and communication area can obtain, for the data to be updated from the treatment was first stored in the data communications area update, and then update to the unified database system to solve the prior art that require frequent access to the database system caused by the manner described above low efficiency of the data processing system database technical problem, to effectively improve the processing efficiency of the technical effect. [0151]显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 [0151] Obviously, those skilled in the art should understand that the modules of the above-described embodiments of the present invention, the or each step can be a general purpose computing device, they can be integrated in a single computing device or distributed in a plurality of calculation a network composed of devices. Alternatively, they may be implemented by program codes executable by a computing device, so that, to be performed by a computing device stored in a storage means, and in some cases, it may be different the order here to perform the steps shown or described, or they are made into integrated circuit modules, or by making them of a plurality of modules or steps in a single integrated circuit module. 这样,本发明实施例不限制于任何特定的硬件和软件结合。 Thus, embodiments of the present invention is not limited to any particular hardware and software combination.

[0152]以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。 [0152] The foregoing is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the embodiment of the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Patentzitate
Zitiertes PatentEingetragen Veröffentlichungsdatum Antragsteller Titel
CN1834942A *19. Juli 200520. Sept. 2006富士通株式会社Information processing device and data control method in information processing device
CN1858814A *29. Apr. 20058. Nov. 2006邓斌涛Quick paying method and system
CN101576918A *19. Juni 200911. Nov. 2009用友软件股份有限公司Data buffering system with load balancing function
US6516312 *4. Apr. 20004. Febr. 2003International Business Machine CorporationSystem and method for dynamically associating keywords with domain-specific search engine queries
Klassifizierungen
Internationale KlassifikationG06F17/30, G06F12/02
Juristische Ereignisse
DatumCodeEreignisBeschreibung
7. Mai 2014C06Publication
4. Juni 2014C10Entry into substantive examination
1. Febr. 2017C14Grant of patent or utility model