Data processing method and equipment

A data processing and processor technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of missing processing, unsatisfactory data processing effect, low processing efficiency, etc., to improve reliability, good Effect of data processing, effect of improving security

Inactive Publication Date: 2013-04-03
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] One way is to perform a full table scan on the data table to be processed, find out the records whose processing status is unprocessed and update them, but since each processing process requires a full table scan of the data table to be processed, the Extremely inefficient processing
[0006] Another way is to first determine a time range of this processing process, and process the unprocessed records within this time range in the data table to be processed, and then determine the subsequent time range for processing in turn, compared to the first Although this method improves the processing efficiency, it may cause some records at the critical point of the time range of two adjacent processing processes to be missed.
The reason for missing processing is mainly because there is a certain time difference between the time stamp of the data record and the time point when the data record actually appears on the data table, that is: when the system generates the data record, although it registers a Timestamp, but because the record is actually inserted into the data table after other operations are performed on the record, there is a time difference between the timestamp of the data record and the time point when the data record actually appears on the data table, for example figure 1 As shown, the time stamp generated by a record to be processed is 10:00. After the addition, other operations such as query, addition, and deletion of SQL were performed, and the previous operations were not submitted until 10:01. Processing, that is, to actually write a record into the data table, although this time difference is very short, but for the computer, if the time range of this processing process is until 10:00, because the a record has not yet appeared in the data table Therefore, it is not scanned, and the start time of the time range corresponding to the next processing process is "greater than 10:00", and the timestamp of this record is 10:00, which does not meet the time requirements for the next scan, thus resulting in a record Leaked processing; the same situation may happen to several data records at the critical point in the time range of two adjacent processing processes, resulting in very unsatisfactory data processing results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data processing method and equipment
  • Data processing method and equipment
  • Data processing method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] This embodiment provides a data processing method, such as figure 2 shown, including:

[0059] Step S201, receiving the non-real-time update data to be processed and storing it in the database table to be processed;

[0060] Step S202, according to the end value of the time range of the last processing process and the preset rollback time, determine the start value of the time range of the current processing process;

[0061] Step S203, determining the end value of the time range of this processing process;

[0062] Step S204, scan the non-real-time update data in the database table to be processed, whose time stamp is between the start value of the time range and the end value of the time range of the current processing process, and query the non-real-time update data that has not been processed data;

[0063] Step S205, start this processing process, and process the queried non-real-time update data.

[0064] Specifically, in this embodiment, the last processing ...

Embodiment 2

[0085] This embodiment provides a data processing device, such as image 3 As shown, the device includes: a first register 301, a second register 302, a data store to be processed 303, a time range processor 304, a data processor 305 and an update processor 306; wherein,

[0086] The data to be processed storage 303 is used to receive the non-real-time update data to be processed and store it in the database table to be processed;

[0087] The first register 301 is used to store the end value of the time range of the last processing process;

[0088] The second register 302 is used to store rollback time;

[0089] The time range processor 304 is connected to the first register 301 and the second register 302, and is used to determine the start of the time range of this processing process according to the time range end value of the last processing process and the rollback time value; and determine the end value of the time range of this processing;

[0090]The data processo...

Embodiment 3

[0106] This embodiment provides a specific data processing device, such as Figure 4 As shown, a data screening device 1 , a data storage device 2 , an asynchronous processing device 3 , a parameter setting interface 4 and an asynchronous processing starting device 5 . Wherein, the data screening device 1 , the asynchronous processing device 3 , and the parameter setting interface 4 are connected to the data storage device 2 , and the asynchronous processing starting device 5 is connected to the asynchronous processing device 3 . The data screening device 1 is externally connected to an external system 6 .

[0107] The function of the data screening device 1 is to receive the data that needs to be updated by the external system 6 and perform screening. If it is judged that the data is updated in real time, it will directly perform the update operation and exit the process. If it is judged that the data is not updated in real time, it will be stored in the data storage. In dev...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a data processing method and equipment. The method comprises the following steps: receiving non-real time update data to be processed and storing the data in a processing database table; determining a time range beginning value of a this-time processing process according to a time range finishing value of a last-time processing process and a predetermined rollback time; determining a time range finishing value of the this-time processing process; scanning the non-real time update data of which the time stamps in the processing database table are between the time range beginning value and the time range finishing value of the this-time processing process, and inquiring the non-real time update data not processed therein; and starting the this-time processing process to process the inquired non-real time update data. The method and the equipment solve the problem of leakage processing of data records in the time range clinical point of two processing processes, and can achieve a better data processing effect and improve the system reliability.

Description

technical field [0001] The present invention relates to the technical field of computer data processing, in particular to a data processing method and equipment. Background technique [0002] According to the timeliness of data processing, online data processing can be divided into two types: real-time update mode and non-real-time update mode. Among them, the data corresponding to the real-time update mode is data that requires high timeliness. It is reflected in that the subsequent user operations must be based on the results obtained from the previous operation, and are related to the sequence of data operations; the data corresponding to the non-real-time update method is data that does not require high timeliness, and the user does not need to immediately after the operation. It is reflected in the data table, it only needs to be reflected within a certain time interval, and the subsequent operations of each user are not necessarily based on the results of the previous ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 何敏华蔡凌玮韦东俊邓校锋梁柱标刘圣杰
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products