Data processing method and related device

By positioning the target storage area based on version parameters in a distributed storage structure, the storage and processing problems of multi-version software configuration data are solved, and efficient data management and secure recovery are achieved.

CN119473153APending Publication Date: 2025-02-18MIND ELECTRONICS APPLIANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411593167.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art is difficult to effectively manage and store multi-version software configuration data, resulting in high storage capacity and security requirements, and it is difficult to flexibly recover when data is lost.

Method used

In the distributed storage structure, the target storage area is positioned based on the version parameters of the data processing object and the target action instructions are executed in the area, distributed storage and processing of multi-version configuration data is realized.

Benefits of technology

It realizes distributed storage of configuration data of multiple versions of data processing objects, reduces storage pressure, and locates the target data storage area through version parameters, improving the flexibility and security of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473153A_ABST
    Figure CN119473153A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and a related device, and relates to the technical field of data storage, and the method comprises the following steps: obtaining a data processing instruction, positioning a target storage area based on a version parameter of a data processing object, and carrying out an action indicated by a target action instruction on target data based on the target storage area. The target data is the configuration data indicated by the version parameter of the data processing object, and the target storage area is a storage area configured to store the target data of the data processing object in a distributed storage structure corresponding to the data processing object. The distributed storage structure is formed by a plurality of storage areas respectively configured in a plurality of preset storage media, so that distributed storage of the configuration data of the data processing objects of the multiple versions is realized based on the distributed storage structure, and after the storage area of the target data is positioned based on the version parameters, the configuration data of the target data is stored. And processing operation of the target data in the corresponding storage area is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data storage, and in particular to a data processing method and related devices. Background Art

[0002] In the current storage structure, software configuration data is stored in an independent storage medium and updated as the software version is updated. Due to the large number of versions of software configuration data, the capacity and security requirements for the storage medium are very high when storing multiple versions of software configuration data. Otherwise, when the software configuration data is lost, it is difficult to flexibly restore the data according to demand. Summary of the invention

[0003] In view of the above problems, the present application provides a data processing method and related devices, the specific scheme is as follows:

[0004] The first aspect of the present application provides a data processing method, comprising:

[0005] Obtaining a data processing instruction, wherein the data processing instruction includes a target action instruction, an identifier of a data processing object, and a version parameter;

[0006] Locating a target storage area based on a version parameter of the data processing object, the target storage area being a storage area in a distributed storage structure corresponding to the data processing object and configured to store target data of the data processing object, the target data being configuration data indicated by the version parameter of the data processing object, the distributed storage structure being composed of a plurality of storage areas respectively configured in a plurality of preset storage media;

[0007] Based on the target storage area, the action indicated by the target action instruction is performed on the target data.

[0008] Optionally, the data processing method further includes:

[0009] For each preset data object, multiple version parameters are constructed according to the preset configuration type and the preset data type, and each version parameter consists of a configuration type and a data type;

[0010] Allocate a storage area for each version parameter from a preset storage medium, and the storage areas corresponding to the respective version parameters constitute a distributed storage structure corresponding to the data object;

[0011] Recording the distributed correspondence of each distributed storage structure, wherein the distributed correspondence includes the correspondence between the storage medium, the storage area, and the version parameter;

[0012] The locating the target storage area based on the version parameter of the data processing object includes:

[0013] Query the target distributed correspondence, obtain the storage area corresponding to the version parameter of the data processing object as the target storage area, and obtain the storage medium corresponding to the target storage area as the target storage medium;

[0014] The target distributed correspondence relationship is a distributed correspondence relationship of a distributed storage structure of the data processing object.

[0015] Optionally, based on the target storage area, performing an action indicated by the target action instruction on the target data includes:

[0016] If the target action instruction is a write instruction and the version parameter of the data processing object includes a first configuration type and a first data type, calculating verification information of the target data;

[0017] Transmitting a target write drive instruction and data to be written to a target storage medium drive corresponding to the target storage medium through a preset read-write interface module, wherein the data to be written includes the target data and verification information, and the target write drive instruction includes an identifier of the target storage area;

[0018] The target storage medium drives the data to be written into the target storage area.

[0019] Optionally, after writing the to-be-written data into the target storage medium through the target storage medium driver, the data processing method further includes:

[0020] Determine whether a preset backup condition is met, and if so, generate a first backup version parameter, the first backup version parameter including the first configuration type and a first backup data type;

[0021] Query the target distributed correspondence relationship, obtain the storage area corresponding to the first backup version parameter, and write the storage area as a backup;

[0022] Acquire the storage medium where the backup write storage area is located, and use it as the backup write storage medium;

[0023] Transferring a backup write drive instruction and the data to be written to a backup write storage medium driver corresponding to the backup write storage medium through a read-write interface module, wherein the backup write drive instruction includes an identifier of the backup write storage area;

[0024] The backup write storage medium drives the data to be written into the backup write storage area.

[0025] Optionally, based on the target storage area, performing the action indicated by the target action instruction on the target data further includes:

[0026] If the target action instruction is a read instruction, and the version parameter of the data processing object includes a second configuration type and a second data type;

[0027] Transmitting a target read drive instruction to a target storage medium driver corresponding to the target storage medium through the read-write interface module, wherein the target read drive instruction includes an identifier of the target storage area;

[0028] Reading verification information from the target storage area through the target storage medium drive;

[0029] A verification is performed based on the verification information, and if the verification passes, the target data is read from the target storage area through the target storage medium drive.

[0030] Optionally, based on the target storage area, performing the action indicated by the target action instruction on the target data further includes:

[0031] If the verification fails, generating a second backup version parameter, the second backup version parameter including a second configuration type and a second backup data type;

[0032] Query the distributed corresponding relationship, obtain the storage area corresponding to the second backup version parameter as the backup read storage area;

[0033] Acquire the storage medium where the backup read storage area is located as the backup read storage medium;

[0034] Transmitting a backup read drive instruction to a backup read storage medium driver corresponding to the backup read storage medium through the read-write interface module, wherein the backup read drive instruction includes an identifier of the backup read storage area;

[0035] The backup data of the target data is read from the backup read storage area by the backup read storage medium driver.

[0036] A second aspect of the present application provides a data processing system, comprising: a data processing device and a distributed storage structure of each preset data object, wherein the distributed storage structure of the data object comprises storage areas in a plurality of storage media, and a storage area is configured to store configuration data of a version parameter of the data object;

[0037] The data processing device comprises:

[0038] An instruction acquisition unit, used to acquire a data processing instruction, wherein the data processing instruction includes a target action instruction, an identifier of a data processing object, and a version parameter;

[0039] an instruction parsing unit, configured to locate a target storage area based on a version parameter of the data processing object, wherein the target storage area is a storage area in a distributed storage structure corresponding to the data processing object and is configured to store target data of the data processing object, wherein the target data is configuration data indicated by the version parameter of the data processing object, and the distributed storage structure is composed of a plurality of storage areas respectively configured in a plurality of preset storage media;

[0040] An action execution unit is used to perform the action indicated by the target action instruction on the target data based on the target storage area.

[0041] Optionally, the data processing system further includes a read / write interface module, and a storage medium driver corresponding one-to-one to each storage medium;

[0042] The read / write interface module is used to transmit a drive instruction to the storage medium driver, wherein the drive instruction at least includes an identification of the target storage area;

[0043] The storage medium driver is used to receive the drive instruction and execute the action indicated by the drive instruction in the target storage area.

[0044] A third aspect of the present application provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the data processing method of the first aspect or any implementation of the first aspect.

[0045] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0046] The memory is used to store computer programs;

[0047] The processor is used to execute the computer program so that the electronic device can implement the data processing method of the first aspect or any implementation manner of the first aspect.

[0048] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the data processing method of the first aspect or any implementation method of the first aspect.

[0049] By means of the above technical solution, the present application provides a data processing method and related devices, including: obtaining a data processing instruction, locating a target storage area based on a version parameter of a data processing object, and performing an action indicated by a target action instruction on the target data based on the target storage area. Since the target data is the configuration data indicated by the version parameter of the data processing object, the target storage area is a storage area configured to store the target data of the data processing object in a distributed storage structure corresponding to the data processing object, and the distributed storage structure is composed of a plurality of storage areas respectively configured in a plurality of preset storage media, therefore, the distributed storage of the configuration data of the data processing objects of multiple versions is realized based on the distributed storage structure, and after locating the storage area of ​​the target data based on the version parameter, the processing operation of the target data in the corresponding storage area is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0051] Figure 1 A schematic diagram of a system architecture provided for this application;

[0052] Figure 2 A schematic diagram of the terminal hardware structure provided for this application;

[0053] Figure 3 A schematic diagram of the server hardware structure provided for this application;

[0054] Figure 4 A flowchart of a data processing method provided in an embodiment of the present application;

[0055] Figure 5 A schematic diagram of a distributed storage structure provided in an embodiment of the present application;

[0056] Figure 6 A specific structural diagram of a data processing system provided in an embodiment of the present application;

[0057] Figure 7 A schematic diagram of a specific implementation flow of a data processing method provided in an embodiment of the present application;

[0058] Figure 8 A flowchart of a specific implementation method of a data processing method provided in an embodiment of the present application;

[0059] Fig. 9 A flowchart of a specific implementation method of a data processing method provided in an embodiment of the present application;

[0060] Fig.10 A flowchart of a specific implementation method of a data processing method provided in an embodiment of the present application;

[0061] Fig.11 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application;

[0062] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0064] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0065] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0066] There are many types of hardware device configurations that software runs on and they are updated frequently. Therefore, there are multiple versions of configuration data for a piece of software. For example, the configuration data can be divided into different backup versions according to the update time, and the configuration data can be divided into different configuration versions according to the adapted hardware configuration. Currently, there is a lack of a method for unified management of multiple versions of configuration data during the life cycle of software, that is, there is a lack of a method for reading and writing software configuration data with multiple backups and multiple configurations.

[0067] In order to solve the above problems, an embodiment of the present application provides a data processing method, which implements processing operations on multiple versions of configuration data based on a distributed storage structure. Optionally, the processing operations include but are not limited to write operations and read operations. For example, based on a distributed data storage structure, write operations are performed on each version of the software configuration data, and read operations are performed on each version of the software configuration data stored in each storage area. Thereby, the systematization level of the multi-version software configuration data is improved. Among them, the distributed storage structure can be implemented based on multiple existing storage media, wherein the storage media include but are not limited to NVM (Non-Volatile Memory) and RAM (Random Access Memory)

[0068] This application can be applied to, but is not limited to, applications with data processing functions or cloud services provided by cloud-side servers, etc., which are introduced below:

[0069] See also Figure 1 , Figure 1 A schematic diagram of a system architecture is shown. The system may include a terminal 100 and a server 200. The server 200 may include one or more servers ( Figure 1 In the example, a server is included, and the server 200 can provide the method provided in the embodiment of the present application for one or more terminals.

[0070] Among them, a data processing application can be installed on the terminal 100, and the above application and web page can provide an interface. The terminal 100 can receive relevant parameters entered by the user on the data processing interface and send the above parameters to the server 200. The server 200 can obtain the processing results based on the received parameters and return the processing results to the terminal 100.

[0071] It should be understood that in some optional implementations, the terminal 100 can also complete the action of obtaining the processing result based on the received parameters by itself without the cooperation of the server, and the embodiments of the present application are not limited to this.

[0072] Next describe Figure 1 The product form of the mid-terminal 100;

[0073] The terminal 100 in the embodiment of the present application can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc., and the embodiment of the present application does not impose any limitation on this.

[0074] Figure 2 An optional hardware structure diagram of the terminal 100 is shown.

[0075] refer to Figure 2 As shown, the terminal 100 may include a radio frequency unit 110, a memory 120, an input unit 130, a display unit 140, a camera 150 (optional), an audio circuit 160 (optional), a speaker 161 (optional), a microphone 162 (optional), an earphone jack 163 (optional), a processor 170, an external interface 180, a power supply 190 and other components. Those skilled in the art will appreciate that Figure 2 These are merely examples of terminals or multi-function devices and do not constitute limitations on the terminals or multi-function devices, which may include more or fewer components than those shown in the figures, or combinations of certain components, or different components.

[0076] The input unit 130 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the portable multifunctional device. Specifically, the input unit 130 may include a touch screen 131 (optional) and / or other input devices 132. The touch screen 131 can collect the user's touch operations on or near it (such as the user's operation on or near the touch screen using any suitable object such as fingers, joints, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch screen can detect the user's touch action on the touch screen, convert the touch action into a touch signal and send it to the processor 170, and can receive and execute the command sent by the processor 170; the touch signal at least includes the touch point coordinate information. The touch screen 131 can provide an input interface and an output interface between the terminal 100 and the user. In addition, the touch screen can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch screen 131, the input unit 130 can also include other input devices. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0077] Among them, the input device 132 can receive input data and the like.

[0078] The display unit 140 can be used to display information input by the user or provided to the user, various menus of the terminal 100, interactive interfaces, file display and / or playback of any multimedia file. In the embodiment of the present application, the display unit 140 can be used to display the interface of data processing, processing results, etc.

[0079] The memory 120 can be used to store instructions and data. The memory 120 can mainly include an instruction storage area and a data storage area. The data storage area can store various data, such as multimedia files, texts, etc.; the instruction storage area can store software units such as operating systems, applications, instructions required for at least one function, or their subsets and extensions. It can also include a non-volatile random access memory; provide the processor 170 with hardware, software and data resources including management of computing and processing equipment, and support control software and applications. It is also used for the storage of multimedia files, and the storage of running programs and applications.

[0080] The processor 170 is the control center of the terminal 100. It uses various interfaces and lines to connect various parts of the entire terminal 100. By running or executing instructions stored in the memory 120 and calling data stored in the memory 120, it executes various functions of the terminal 100 and processes data, thereby controlling the terminal device as a whole. Optionally, the processor 170 may include one or more processing units; preferably, the processor 170 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 170. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips. The processor 170 may also be used to generate corresponding operation control signals, send them to corresponding components of the computing and processing device, read and process data in the software, especially read and process data and programs in the memory 120, so that each functional module therein performs corresponding functions, thereby controlling the corresponding components to act according to the requirements of the instructions.

[0081] Among them, the memory 120 can be used to store software codes related to the data processing method, the processor 170 can execute the steps of the data processing method, and can also schedule other units (such as the above-mentioned input unit 130 and display unit 140) to achieve corresponding functions.

[0082] The radio frequency unit 110 (optional) can be used for receiving and sending information or receiving and sending signals during a call, for example, after receiving the downlink information of the base station, it is sent to the processor 170 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the radio frequency unit 110 can also communicate with network devices and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.

[0083] In this embodiment of the present application, the RF unit 110 can send data to the server 200 and receive processing results sent by the server 200.

[0084] It should be understood that the radio frequency unit 110 is optional and can be replaced by other communication interfaces, such as a network port.

[0085] The terminal 100 also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 170 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.

[0086] The terminal 100 further includes an external interface 180 , which may be a standard Micro USB interface or a multi-pin connector, and may be used to connect the terminal 100 to communicate with other devices, or to connect a charger to charge the terminal 100 .

[0087] Although not shown, the terminal 100 may also include a flashlight, a wireless fidelity (WiFi) module, a Bluetooth module, sensors with different functions, etc., which are not described in detail here. Some or all of the methods described below may be applied in the following embodiments. Figure 2 In the terminal 100 shown.

[0088] Next describe Figure 1 The product form of the server 200;

[0089] Figure 3 A structural diagram of a server 200 is provided, such as Figure 3 As shown, the server 200 includes a bus 201, a processor 202, a communication interface 203, and a memory 204. The processor 202, the memory 204, and the communication interface 203 communicate with each other via the bus 201.

[0090] The bus 201 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0091] The processor 202 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0092] The memory 204 may include a volatile memory, such as a random access memory (RAM). The memory 204 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard drive (HDD), or a solid state drive (SSD).

[0093] The memory 204 may be used to store software codes related to the data processing method, and the processor 202 may execute the steps of the data processing method of the chip, and may also schedule other units to implement corresponding functions.

[0094] It should be understood that the above-mentioned terminal 100 and server 200 can be centralized or distributed devices, and the processors in the above-mentioned terminal 100 and server 200 (such as processor 170 and processor 202) can be hardware circuits (such as application specific integrated circuit (ASIC), field-programmable gate array (FPGA), general-purpose processor, digital signal processor (DSP), microprocessor or microcontroller, etc.), or a combination of these hardware circuits. For example, the processor can be a hardware system with an instruction execution function, such as a CPU, DSP, etc., or a hardware system without an instruction execution function, such as an ASIC, FPGA, etc., or a combination of the above-mentioned hardware systems without an instruction execution function and hardware systems with an instruction execution function.

[0095] A specific implementation of the data processing method of an embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0096] Reference Figure 4 , Figure 4 A flowchart of a data processing method provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the method includes:

[0097] S401, obtaining data processing instructions.

[0098] In this embodiment, the data processing instruction includes a target action instruction, an identifier of a data processing object, and a version parameter. The target action instruction is one of a read instruction and a write instruction, the data processing object is the software to be processed, and the identifier of the data processing object is used to uniquely indicate the software to be processed, for example, the identifier of the data processing object is a software ID. The version parameter of the data processing object is used to indicate the version of the configuration data of the software to be processed.

[0099] In this embodiment, when the target action instruction is a write instruction, the data processing instruction is used to instruct the target data of the data processing object to be written into the distributed storage structure corresponding to the data processing object. When the target action instruction is a read instruction, the data processing instruction is used to instruct the target data of the data processing object to be read out from the distributed storage structure corresponding to the data processing object.

[0100] In an optional embodiment, the version parameters of the software configuration data include configuration type and / or data type, wherein the configuration type is divided according to the adapted hardware configuration, and the data type is divided according to the software configuration data update time, for example, the data type includes real-time data and backup data.

[0101] S402: Locate the target storage area based on the version parameter of the data processing object.

[0102] In this embodiment, the target storage area is a storage area configured to store target data in a distributed storage structure corresponding to the data processing object, wherein the distributed storage structure is composed of multiple storage areas respectively configured in multiple preset storage media, and one storage area is configured to store configuration data of one version of the data processing object. The target data of the data processing object is the software configuration data indicated by the version parameter.

[0103] In an optional embodiment, the method for pre-building a distributed storage structure includes:

[0104] For each preset data object, multiple version parameters are constructed according to the preset configuration type and the preset data type. Each version parameter is composed of a configuration type and a data type. A storage area is allocated to each version parameter from the preset storage medium. The storage areas corresponding to each version parameter constitute a distributed storage structure corresponding to the data object, and the distributed correspondence between each distributed storage structure is recorded. The distributed correspondence includes the correspondence between the storage medium, the storage area, and the version parameter. Specifically, the distributed correspondence includes the correspondence between the identification of the storage medium, the identification of the storage area, and the identification of the version parameter, wherein each identification is a digital identification, and the correspondence can be a mapping function. Thus, the distributed storage structure and the distributed correspondence corresponding to each data object are pre-constructed.

[0105] Taking the example that the version parameters of the data processing object include a configuration type and a data type, and the configuration type includes configuration types 1 to M, and the data type includes data type 1 to data type N, the distributed storage structure of the data processing object includes a storage area Znm for storing version parameters of configuration type m and data type n, m∈[1,M], n∈[1,N]. Figure 5 The following is a schematic diagram of a distributed storage structure: Figure 5 As shown, data type 1 represents real-time data, data type N represents original data, and data type i (1<i<N) represents the i-1th backup data.

[0106] In this embodiment, there are at least two storage areas distributed in different storage media. For example, storage areas Z11~Z1m are distributed in the first storage medium, storage areas Zim are distributed in the second storage medium (1<i<N), and storage areas ZNm are distributed in the second storage medium. In this embodiment, the method of locating the target storage area based on the version parameter of the data processing object includes multiple methods:

[0107] For example, based on a preset mapping function and version parameter, the identifier of the target storage area is calculated. The independent variable of the mapping function is the version parameter, and the function value is the number of the target storage area. For example, the version parameter includes a data type n and a configuration type m, then the number of the target storage area is calculated as n×M+m, and the target storage area can be located by the number of the target storage area.

[0108] For another example, based on a preset mapping relationship and version parameters, the identification of the target storage area is obtained by mapping, wherein the mapping relationship includes a corresponding relationship between the version parameters and the area identification.

[0109] S403. Based on the target storage area, perform the action indicated by the target action instruction on the target data of the data processing object.

[0110] In this embodiment, the data processing operation is performed on the target storage area by calling the interface of the storage medium corresponding to the target storage area.

[0111] For example, when the target action instruction is a write instruction, the data processing instruction is used to instruct the target data of the data processing object to be written into the distributed storage structure corresponding to the data processing object. Then, the interface identifier of the target storage medium is obtained based on the number of the target storage area, and the interface of the target storage medium is called to write the target data of the data processing object into the target storage area distributed in the target storage medium. For another example, when the target action instruction is a read instruction, the data processing instruction is used to instruct the target data of the data processing object to be read out from the distributed storage structure. Then, the interface identifier of the target storage medium is obtained based on the number of the target storage area, and the interface of the target storage medium is called to read the target data of the data processing object from the target storage area distributed in the target storage medium.

[0112] It can be seen from the above technical scheme that a data processing method provided by an embodiment of the present application includes: obtaining a data processing instruction, locating a target storage area based on a version parameter of a data processing object, and performing an action indicated by a target action instruction on the target data based on the target storage area. Since the target data is the configuration data indicated by the version parameter of the data processing object, the target storage area is a storage area configured to store the target data of the data processing object in a distributed storage structure corresponding to the data processing object, and the distributed storage structure is composed of a plurality of storage areas respectively configured in a plurality of preset storage media, that is, distributed storage of configuration data of multiple versions of data processing objects is realized based on the distributed storage structure. Therefore, after locating the target storage area corresponding to the target data based on the identifier and version parameter of the data processing object carried by the data processing instruction, the data processing operation indicated by the action instruction carried by the data processing instruction is performed on the target data in the target storage area, thereby realizing data processing operations on the configuration data of different versions of data processing objects based on the data operation instruction. Since the distributed storage structure is composed of a plurality of storage areas respectively configured in a plurality of preset storage media, on the one hand, the storage of multiple versions of configuration data is realized, and on the other hand, it is equivalent to an independent structure, which reduces the storage pressure of storing multiple versions of configuration data.

[0113] Figure 6 A specific structural diagram of a data processing system provided for an embodiment of the present application, as shown in 6, the data processing system includes a data processing device, a read-write interface module, a distributed storage structure, and storage medium drivers corresponding to the storage media one by one. Among them, the storage medium driver includes storage medium drivers 1~K corresponding to storage media 1~K respectively. Storage media 1~K are the storage media where the storage areas in the distributed storage structure are located, that is, at least one storage area is configured in any one of the storage media 1~K for storing configuration data of a version of the data object. The read-write interface module can provide a unified interface to access each storage medium driver. For example, the read-write interface module is a Memif (Memory Abstraction Interface) module. The Memif abstraction layer configured in the Memif module can provide a unified interface to realize information interaction between the data processing device and each storage medium driver. Specifically, the data processing device is used to execute such as Figure 5 In the data processing method shown, the read-write interface module is used to transmit drive instructions to the storage medium driver through a unified interface, the drive instructions at least include the identifier of the target storage area, and the storage medium driver is used to receive the drive instructions and execute the action indicated by the drive instructions in the target storage area.

[0114] In this embodiment, the data processing system obtains the data processing instruction through the data processing device, locates the target storage area based on the version parameter of the data processing object, determines the target storage medium based on the target storage area, and then calls the storage medium driver corresponding to the target storage medium by calling the unified read-write interface to perform the action indicated by the target action instruction on the target data of the data processing object. The target storage area is a storage area in the distributed storage structure corresponding to the data processing object, which is configured to store the target data of the data processing object, and the distributed storage structure is composed of multiple storage areas respectively configured in multiple preset storage media.

[0115] based on Figure 6 The data processing system shown in the present application can realize the data reading function, data writing function, and data recovery function. Specifically, Figure 7 A schematic diagram of a specific implementation flow of the data processing method provided in the embodiment of the present application is as follows: Figure 7 As shown, this method specifically includes:

[0116] After power is turned on, storage medium parameters of each storage medium and storage medium driver are initialized.

[0117] Receive data processing instructions.

[0118] Among them, the target data is the configuration data indicated by the version parameter of the data processing object, the version parameter includes two parameters: configuration type and data type, and the data processing instruction includes a target action instruction, an identifier of the data processing object and a version parameter. The data processing object is a data object to be processed. Optionally, the target action instruction includes one of a write instruction, a read instruction, and a data recovery instruction. The write instruction indicates writing the target data, the read instruction indicates reading the target data, and the data recovery instruction indicates restoring the target data of the data processing object. Specifically, restoring the target data of the data processing object refers to reading the target data from the first storage area in the distributed storage structure and writing it into the second storage area in the distributed storage structure. For example, the target data is original data or backup data, and the second storage area is a storage area for storing real-time data.

[0119] If the target action instruction in the data processing instruction is a write instruction, the data processing device executes the instruction parsing logic corresponding to the write instruction, that is, the write instruction parsing logic, to parse and obtain the target storage area corresponding to the write instruction and the target storage medium where the target storage area is located.

[0120] The write drive instruction is transmitted to the target storage medium driver corresponding to the target storage medium through the Memif abstraction layer.

[0121] The target storage medium drives the execution of the write logic and writes the target data to the target storage medium ( Figure 7After all target data are successfully written into the target storage area in the target storage medium (taking EEPOM as an example), the backup writing logic continues to be executed to write the target data into the backup storage area, thereby ending this data processing operation.

[0122] If the target action instruction in the data processing instruction is a read instruction, the data processing device executes the instruction parsing logic corresponding to the read instruction, that is, the read instruction parsing logic, and parses to obtain the target storage area corresponding to the read instruction and the storage medium where the target storage area is located. The read drive instruction is transmitted to the target storage medium driver corresponding to the target storage medium through the Memif abstraction layer. The data read logic is executed by the target storage medium driver, and the data is read from the target storage medium ( Figure 7 The target storage medium is an EPROM, for example. The target data is read from the target storage area in the backup storage medium until all the target data is successfully read from the target storage area, and the data processing operation is terminated. If the target data is not successfully read, the backup reading logic is continued to be executed to read the backup data of the target data from the target storage area in the backup storage medium, and the data processing operation is terminated. If the target action instruction in the data processing instruction is a data recovery instruction, the data processing device executes the instruction parsing logic corresponding to the data recovery instruction, that is, the recovery instruction parsing logic, and parses to obtain the target storage area corresponding to the data recovery instruction, that is, the first target storage area and the second target storage area, and the first target storage medium and the second target storage medium ( Figure 7 Take the case where both the first target storage medium and the second target storage medium are FLASH). The read drive instruction is transmitted to the first target storage medium driver corresponding to the first target storage medium through the Memif abstraction layer, and the write drive instruction is transmitted to the second target storage medium driver corresponding to the second target storage medium. The data read logic is executed through the first target storage medium driver to read the target data from the first target storage area, and the target data is written to the second target storage area through the second target storage medium driver, until all the target data is read from the first target storage area and all the target data is written to the second target storage area, thus terminating the data processing operation. If the data recovery is unsuccessful, the backup data recovery logic continues to be executed to restore the backup data of the target data. It can be seen from the above technical solution that since the distributed storage structure is composed of multiple storage areas respectively configured in multiple preset storage media, on the one hand, it realizes the storage of multiple versions of configuration data, and on the other hand, it is equivalent to an independent structure, which reduces the storage pressure of storing multiple versions of configuration data. By configuring the Memif module between the storage medium driver and the data parsing module, systematic management of multiple storage medium drivers can be achieved. Since the storage medium driver corresponds to the storage medium one-to-one, the data processing operations on the storage areas in different storage media can be executed in parallel, thereby improving the efficiency of data processing operations.

[0123] It should be noted that the backup write logic, backup read logic and backup data recovery logic are pre-configured flexibly to execute the backup data write, read and recovery logic during the processing operation of the target data processing instruction.

[0124] Figure 8 A specific implementation process of a data processing method provided in an embodiment of the present application is applied to a data processing device in a data processing system, such as Figure 8 As shown, this method specifically includes:

[0125] S801. Obtain a first data processing instruction.

[0126] In this embodiment, the first data processing instruction includes target data, a first write instruction, an identifier of a data processing object, and a first version parameter, wherein the target data is the identifier of the data processing object and configuration data indicated by the first version parameter.

[0127] Taking the data processing object as the target software as an example, the first data processing instruction includes the target software ID, the first configuration type and the first data type such as real-time data (data type 1), and the target data is the real-time configuration data of the hardware device adapted to the first configuration type after real-time update.

[0128] In this embodiment, the triggering condition of the first data processing instruction is that the target software implements configuration data update to obtain target data. The first data processing instruction is used to instruct to write the target data into the storage area corresponding to the first configuration type and the real-time data.

[0129] S802: Obtain a target distributed correspondence relationship according to an identifier of a data processing object.

[0130] In this embodiment, the target distributed correspondence is a distributed correspondence of a distributed storage structure of a data processing object, and the target distributed correspondence includes a correspondence between version parameters of the data processing object, a storage area, and a storage medium.

[0131] S803. Query the target distributed correspondence relationship, obtain the storage area corresponding to the first version parameter of the data processing object as the target storage area, and obtain the storage medium corresponding to the target storage area as the target storage medium.

[0132] S804, calculating the verification information of the target data, and transmitting the target write drive instruction and the data to be written to the target storage medium driver corresponding to the target storage medium through the Memif abstraction layer.

[0133] In this embodiment, the data to be written includes target data and verification information, and the target write drive instruction includes an identifier of the target storage area.

[0134] S805 . Write the data to be written into the target storage area through the target storage medium driver.

[0135] S806: Determine whether a preset backup condition is met, and if so, generate a first backup version parameter.

[0136] In this embodiment, the backup condition includes reaching the backup timing and the distributed storage structure also includes a storage area corresponding to the first configuration type in addition to the target storage area, wherein reaching the backup timing includes reaching the backup time of a preset backup cycle, or the number of data updates reaches a threshold number.

[0137] In this embodiment, the first backup version parameters include a first configuration type and a first backup data type, the first backup data type is backup data or default data, wherein, if the configuration data of the target software is written for the first time, the first backup data type is default data, and if it is not the first time that the configuration data of the target software is written, the first backup data type is a type of backup data.

[0138] In this embodiment, multiple backup data corresponding to a configuration type are divided into data types according to the interval between the backup time and the current time, and the method for generating the first backup version parameter is to obtain the backup data with the farthest interval from the current time as the first backup data type.

[0139] S807: Query the target distributed correspondence relationship, obtain the storage area corresponding to the first backup version parameter, and write it into the storage area as a backup.

[0140] S808: Acquire the storage medium where the backup write storage area is located, and use it as the backup write storage medium.

[0141] S809 , transferring the backup write drive instruction and the data to be written to the backup write storage medium driver corresponding to the backup write storage medium through the Memif abstraction layer.

[0142] The backup write drive instruction includes an identifier of the backup write storage area.

[0143] S810 , write the data to be written into the backup write storage medium through the backup write storage medium driver.

[0144] It can be seen from the above technical solution that when the action instruction in the data processing instruction is a write instruction, after locating the storage area of ​​the target data based on the version parameter, the target data is written into the corresponding storage area, and the verification data is written at the same time to improve data security. Furthermore, by determining the backup timing, the backup version parameters that meet the current backup timing are generated, and the target data is backed up. Through the cyclic backup of multiple backup areas, multiple versions of backup data can be backed up, thereby improving the disaster tolerance of the system.

[0145] Fig. 9 A specific implementation process of a data processing method provided in an embodiment of the present application is as follows: Fig. 9 As shown, this method specifically includes:

[0146] S901. Obtain a second data processing instruction.

[0147] In this embodiment, the second data processing instruction includes the first read instruction, an identifier of the data processing object, and a second version parameter, and the second version parameter includes a first configuration type and a first data type.

[0148] Taking the data processing object as the target software as an example, the second data processing instruction includes the target software ID, the second configuration type and the second data type, such as real-time data (data type 1).

[0149] In this embodiment, the second data processing instruction is used to instruct to read the target data from a storage area (target storage area) storing real-time data of the second configuration type.

[0150] S902: Obtain a target distributed correspondence relationship according to an identifier of a data processing object.

[0151] In this embodiment, the target distributed correspondence is a distributed correspondence of a distributed storage structure of a data processing object, and the target distributed correspondence includes a correspondence between version parameters of the data processing object, a storage area, and a storage medium.

[0152] S903. Query the target distributed correspondence relationship, obtain the storage area corresponding to the second version parameter of the data processing object as the target storage area, and obtain the storage medium corresponding to the target storage area as the target storage medium.

[0153] S904 , delivering the target read drive instruction to the target storage medium driver corresponding to the target storage medium through the Memif abstraction layer.

[0154] In this embodiment, the target read drive instruction includes an identifier of the target storage area.

[0155] S905 . Read verification information from the target storage area through the target storage medium driver, and perform verification based on the verification information.

[0156] S906: If the verification passes, read the target data from the target storage area through the target storage medium driver.

[0157] S907: If the verification fails, generate the second backup version parameters.

[0158] In this embodiment, the second backup version parameters include a second configuration type and a second backup data type, and the second backup data type is the backup data with the shortest interval with the current time.

[0159] S908. Query the target distributed corresponding relationship, obtain the storage area corresponding to the second backup version parameter, and use it as the backup read storage area.

[0160] S909: Acquire the storage medium where the backup read storage area is located as the backup read storage medium.

[0161] S910 . Transfer a backup read drive instruction to a backup read storage medium driver corresponding to a backup read storage medium through the Memif abstraction layer.

[0162] In this embodiment, the backup read drive instruction includes an identifier of the backup read storage area.

[0163] S911 . Reading backup data of target data from a backup read storage area through a backup read storage medium driver.

[0164] S912: If the reading is successful, the backup data and the second backup version parameters of the target data are returned, and the backup data and the corresponding verification information of the target data are stored in the target storage area.

[0165] It can be seen from the above technical solution that when the action instruction in the data processing instruction is a read instruction, after locating the storage area of ​​the target data based on the version parameter, the target data is read out in the corresponding storage area, and the verification is performed based on the verification information to improve data security. After the target data fails to be read, the backup version parameter is generated according to the demand, so as to obtain the required backup data of the target data, thereby improving the flexibility of backup data acquisition.

[0166] Fig.10 A specific implementation process of a data processing method provided in an embodiment of the present application is as follows: Fig.10 As shown, this method specifically includes:

[0167] S1001. Obtain a third data processing instruction.

[0168] In this embodiment, the third data processing instruction includes a data recovery instruction, an identifier of a data processing object, and a third version parameter.

[0169] Taking the data processing object as target software as an example, the third data processing instruction includes a third configuration type of the target software ID and a third data type, such as original data.

[0170] In this embodiment, the third data processing instruction is used to instruct to read and restore the target data from the storage area (target original storage area) storing the original data of the first configuration type.

[0171] S1002. Obtain a target distributed correspondence relationship according to an identifier of a data processing object.

[0172] S1003. Query the target distributed correspondence relationship, obtain the storage area corresponding to the third version parameter of the data processing object as the target storage area, and obtain the storage medium corresponding to the target storage area as the target storage medium.

[0173] S1004 , delivering the read drive instruction to the target storage medium driver corresponding to the target storage medium through the Memif abstraction layer.

[0174] In this embodiment, the read drive instruction includes an identifier of the target storage area.

[0175] S1005. Read target data from the target storage area through the target storage medium driver.

[0176] In this embodiment, the inspection information is acquired and inspected by the target storage medium driver, and the target data is read by the target storage medium driver after the inspection passes.

[0177] S1006: If the reading is successful, generate recovery version parameters.

[0178] In this embodiment, the recovery version parameter includes a third configuration type and a recovery data type, and the recovery data type includes at least one of real-time data and various types of backup data.

[0179] It should be noted that the recovery version parameter can be determined based on the range of the area to be recovered carried in the recovery instruction. For example, if the recovery instruction includes the range of the area to be recovered as the entire range, the recovery data type includes real-time data and all types of backup data.

[0180] S1007. Query the target distributed corresponding relationship, obtain the storage area corresponding to the recovery version parameter as the recovery storage area, and obtain the storage medium where the recovery storage area is located as the recovery storage medium.

[0181] S1008. Transfer the recovery write drive instruction and the data to be written to the recovery storage medium driver corresponding to each recovery storage medium through the Memif abstraction layer.

[0182] S1009. Write the data to be written into the recovery storage area through each recovery storage medium driver.

[0183] In this embodiment, the recovery storage area includes a real-time storage area (the data type is real-time data) and each backup storage area (the data type is backup data) corresponding to the third configuration type.

[0184] It can be seen from the above technical solution that when the action instruction in the data processing instruction is a recovery instruction, after locating the storage area of ​​the target data based on the version parameter, the target data is read out in the corresponding storage area, and the required recovery storage area is generated based on the recovery instruction, and the read target data is written into the recovery storage area, thereby achieving the purpose of flexible data recovery.

[0185] It can be seen from the above technical solutions that a data processing method provided by the embodiment of the present application can achieve that the same code will produce different and correct results when running on hardware with different configurations, and each time the data is used, the correctness of the data will be verified, and the read data will be guaranteed to be correct and not lost, and multiple storage media and corresponding operation instructions can be systematically managed. The same app software can achieve the same function with different correct results under different hardware configurations; the use of multiple storage media can realize different storage mechanisms under the same action; multiple backup data can be stored (generally only the most recent one is required). In summary, the present invention can unify the overall management and interface of the flash drive of each storage area, follow and configure the mobilization, and when the data in the main storage area is lost, the most recent valid data can be restored or even the valid data stored several times, and the valid data of a certain time can be dynamically selected, and all stored data can be systematically managed.

[0186] Fig.11 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application is shown in FIG. Fig.11 As shown, the data processing system includes: a data processing device 1100 and a distributed storage structure 1101 for each preset data object, the distributed storage structure of the data object includes storage areas in multiple storage media, and a storage area is configured to store configuration data of a version parameter of the data object.

[0187] The data processing device 1100 includes:

[0188] An instruction acquisition unit, used to acquire a data processing instruction, wherein the data processing instruction includes a target action instruction, an identifier of a data processing object, and a version parameter;

[0189] an instruction parsing unit, configured to locate a target storage area based on a version parameter of the data processing object, wherein the target storage area is a storage area in a distributed storage structure corresponding to the data processing object and is configured to store target data of the data processing object, wherein the target data is configuration data indicated by the version parameter of the data processing object, and the distributed storage structure is composed of a plurality of storage areas respectively configured in a plurality of preset storage media;

[0190] An action execution unit is used to perform the action indicated by the target action instruction on the target data based on the target storage area.

[0191] Optionally, the data processing system further includes a read / write interface module, and a storage medium driver corresponding one-to-one to each storage medium;

[0192] The read / write interface module is used to transmit a drive instruction to a storage medium driver, wherein the drive instruction at least includes an identifier of the target storage area; the storage medium driver is used to receive the drive instruction and execute an action indicated by the drive instruction in the target storage area.

[0193] The present application also provides an electronic device in an embodiment. Fig.12 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Fig.12 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0194] like Fig.12 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage device 1208 to a random access memory (RAM) 1203. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 1203. The processing device 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0195] Typically, the following devices may be connected to the I / O interface 1205: an input device 1206 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1207 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1208 including, for example, a memory card, a hard disk, etc.; and a communication device 1209. The communication device 1209 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0196] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any data processing method provided in the embodiment of the present application.

[0197] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any data processing method provided in the embodiment of the present application.

[0198] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0199] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0200] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0201] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A data processing method, characterized in that: include: Obtaining a data processing instruction, wherein the data processing instruction includes a target action instruction, an identifier of a data processing object, and a version parameter; Locating a target storage area based on a version parameter of the data processing object, the target storage area being a storage area in a distributed storage structure corresponding to the data processing object and configured to store target data of the data processing object, the target data being configuration data indicated by the version parameter of the data processing object, the distributed storage structure being composed of a plurality of storage areas respectively configured in a plurality of preset storage media; Based on the target storage area, the action indicated by the target action instruction is performed on the target data.

2. The data processing method according to claim 1, characterized in that: The data processing method further includes: For each preset data object, multiple version parameters are constructed according to the preset configuration type and the preset data type, and each version parameter consists of a configuration type and a data type; Allocate a storage area for each version parameter from a preset storage medium, and the storage areas corresponding to the respective version parameters constitute a distributed storage structure corresponding to the data object; Recording the distributed correspondence of each distributed storage structure, wherein the distributed correspondence includes the correspondence between the storage medium, the storage area, and the version parameter; The locating the target storage area based on the version parameter of the data processing object includes: Query the target distributed correspondence, obtain the storage area corresponding to the version parameter of the data processing object as the target storage area, and obtain the storage medium corresponding to the target storage area as the target storage medium; The target distributed correspondence relationship is a distributed correspondence relationship of the distributed storage structure of the data processing object.

3. The data processing method according to claim 2, characterized in that: The step of performing the action indicated by the target action instruction on the target data based on the target storage area includes: If the target action instruction is a write instruction and the version parameter of the data processing object includes a first configuration type and a first data type, calculating verification information of the target data; Transmitting a target write drive instruction and data to be written to a target storage medium drive corresponding to the target storage medium through a preset read-write interface module, wherein the data to be written includes the target data and verification information, and the target write drive instruction includes an identifier of the target storage area; The target storage medium drives the data to be written into the target storage area.

4. The data processing method according to claim 3, characterized in that: After the target storage medium drives the data to be written into the target storage medium, the data processing method further includes: Determine whether a preset backup condition is met, and if so, generate a first backup version parameter, the first backup version parameter including the first configuration type and a first backup data type; Query the target distributed correspondence relationship, obtain the storage area corresponding to the first backup version parameter, and write the storage area as a backup; Acquire the storage medium where the backup write storage area is located, and use it as the backup write storage medium; Transferring a backup write drive instruction and the data to be written to a backup write storage medium driver corresponding to the backup write storage medium through a read-write interface module, wherein the backup write drive instruction includes an identifier of the backup write storage area; The backup write storage medium drives the data to be written into the backup write storage area.

5. The data processing method according to claim 3, characterized in that: The action of performing the target action instruction on the target data based on the target storage area further includes: If the target action instruction is a read instruction, and the version parameter of the data processing object includes a second configuration type and a second data type; Transmitting a target read drive instruction to a target storage medium driver corresponding to the target storage medium through the read-write interface module, wherein the target read drive instruction includes an identifier of the target storage area; Reading verification information from the target storage area through the target storage medium drive; A verification is performed based on the verification information, and if the verification passes, the target data is read from the target storage area through the target storage medium drive.

6. The data processing method according to claim 5, characterized in that: The action of performing the target action instruction on the target data based on the target storage area further includes: If the verification fails, generating a second backup version parameter, the second backup version parameter including a second configuration type and a second backup data type; Query the distributed corresponding relationship, obtain the storage area corresponding to the second backup version parameter as the backup read storage area; Acquire the storage medium where the backup read storage area is located as the backup read storage medium; Transmitting a backup read drive instruction to a backup read storage medium driver corresponding to the backup read storage medium through the read-write interface module, wherein the backup read drive instruction includes an identifier of the backup read storage area; The backup data of the target data is read from the backup read storage area by the backup read storage medium driver.

7. A data processing system, characterized in that: include: A data processing device and a distributed storage structure of each preset data object, wherein the distributed storage structure of the data object includes storage areas in a plurality of storage media, and a storage area is configured to store configuration data of a version parameter of the data object; The data processing device comprises: An instruction acquisition unit, used to acquire a data processing instruction, wherein the data processing instruction includes a target action instruction, an identifier of a data processing object, and a version parameter; an instruction parsing unit, configured to locate a target storage area based on a version parameter of the data processing object, wherein the target storage area is a storage area in a distributed storage structure corresponding to the data processing object and is configured to store target data of the data processing object, wherein the target data is configuration data indicated by the version parameter of the data processing object, and the distributed storage structure is composed of a plurality of storage areas respectively configured in a plurality of preset storage media; An action execution unit is used to perform the action indicated by the target action instruction on the target data based on the target storage area.

8. The data processing system according to claim 7, characterized in that: The data processing system also includes a read / write interface module and a storage medium driver corresponding to each storage medium one by one; The read / write interface module is used to transmit a drive instruction to the storage medium driver, wherein the drive instruction at least includes an identification of the target storage area; The storage medium driver is used to receive the drive instruction and execute the action indicated by the drive instruction in the target storage area.

9. A computer program product, characterized in that The method comprises computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the data processing method according to any one of claims 1 to 6.

10. An electronic device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the data processing method as described in any one of claims 1 to 6.