A data block processing method and device
一种处理方法、数据块的技术,应用在通信领域,能够解决校验效率低下、无法持续的跟踪tablet数据块时间的变换状态、效率低下等问题,达到预警错乱与丢失、解决效率非常低下、准确错乱与丢失的效果
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] In order to overcome the shortcomings of the existing technology that cannot continuously track the transformation state of the tablet data block over time, and the verification efficiency is low and the verification result is inaccurate. This application proposes a data block processing method, such as figure 2 As shown, it is a schematic flow diagram of a data block processing method proposed in this application, which is applied to a system including a storage server, a control server and a merge server, and the method includes the following steps:
[0066] Step S201, when the control server receives the log carrying the tablet data block information sent by the storage server, the control server obtains the tablet data block information carried in the log.
[0067] In a preferred embodiment of the present application, this step specifically includes: the control server receives the log carrying the tablet data block information reported from the storage server, par...
Embodiment 2
[0085] The above description is the implementation flow of the application on the control server side. Correspondingly, this application also proposes the implementation flow of the above technical solution on the storage server side, as shown in image 3 As shown, it is a schematic flow chart of a data block processing method proposed in this application, the method is applied to a system including a storage server, a control server and a merge server, and the method includes the following steps:
[0086] Step S301, the storage server polls its own logs.
[0087] In a specific embodiment of the present application, this step is specifically: when the split or merge of tablet data blocks occurs on the storage server, a piece of log data will be generated in the local log file of the storage server, and the storage server will continuously poll its own log , so as to further determine whether new data information appears in the log.
[0088] Step S302, when the storage server ...
Embodiment 3
[0102] In order to further elaborate the technical solution of the present application, the technical solution of the present application is now described in conjunction with a specific application scenario. The specific application scenario of this embodiment is in a system including a storage server, a control server, and a merge server. This embodiment Deploy a storage server log parsing background program on the storage server, such as Figure 4a As shown, it is a schematic diagram of the process flow of the storage server log parsing background program in this application; the process flow of the storage server log parsing background program is as follows:
[0103] Step S401, after the log analysis background program is started, it continuously polls the log files generated by the storage server and reads the log data;
[0104] Step S402, the log parsing background program judges whether new log data is generated in the log file of the storage server;
[0105] If yes, ex...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


