CN116126596B - Information processing system and method based on block chain - Google Patents

Information processing system and method based on block chain Download PDF

Info

Publication number
CN116126596B
CN116126596B CN202310101979.0A CN202310101979A CN116126596B CN 116126596 B CN116126596 B CN 116126596B CN 202310101979 A CN202310101979 A CN 202310101979A CN 116126596 B CN116126596 B CN 116126596B
Authority
CN
China
Prior art keywords
data
memory
backup
hard disk
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310101979.0A
Other languages
Chinese (zh)
Other versions
CN116126596A (en
Inventor
王凌
汪志锋
陶智敏
倪志云
韩伟莉
雷瑞娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing E Hualu Information Technology Co Ltd
Original Assignee
Beijing E Hualu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing E Hualu Information Technology Co Ltd filed Critical Beijing E Hualu Information Technology Co Ltd
Priority to CN202310101979.0A priority Critical patent/CN116126596B/en
Publication of CN116126596A publication Critical patent/CN116126596A/en
Application granted granted Critical
Publication of CN116126596B publication Critical patent/CN116126596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The application is applicable to the technical field of data processing, and particularly relates to an information processing system and method based on a blockchain, wherein the method comprises the following steps: obtaining local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all equipment; acquiring the use data of each device, and dividing local area network backup memory according to the available memory of each device; reading stored data in a server, identifying the running state of each device, and sending backup data to each device; and periodically updating the backup data in each device and publishing the backup records in the blockchain. According to the application, the data in the server is divided into a plurality of small data blocks by dividing the data into a plurality of small data blocks, so that the equipment in the local area network is identified, and a part of memory is divided from each equipment for data backup, so that when the server is abnormal, the data can be recovered through each equipment, and the loss caused by the server abnormality is avoided.

Description

Information processing system and method based on block chain
Technical Field
The application belongs to the technical field of data processing, and particularly relates to an information processing system and method based on a blockchain.
Background
Blockchains, which are chains of blocks each holding certain information, are connected in time sequence according to their respective generation to form chains, which are held in all servers, as long as one server in the whole system can work, the whole blockchain is safe, and these servers are called nodes in the blockchain system, which provide storage space and computational support for the whole blockchain system.
In current enterprises, an internal statistical system is generally used for data statistics, and a server is arranged in the enterprise, so that once server abnormality occurs, internal data is easily lost, and economic loss is brought to the enterprise due to data loss.
Disclosure of Invention
The embodiment of the application aims to provide an information processing method based on a blockchain, which aims to solve the problem that once server abnormality occurs, internal data is easy to lose, and economic loss is brought to enterprises due to data loss.
The embodiment of the application is realized in such a way that the information processing method based on the block chain comprises the following steps:
obtaining local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all equipment;
acquiring the use data of each device, and dividing local area network backup memory according to the available memory of each device;
reading stored data in a server, identifying the running state of each device, and sending backup data to each device;
and periodically updating the backup data in each device and publishing the backup records in the blockchain.
Preferably, the step of obtaining the usage data of each device and dividing the local area network backup memory according to the available memory of each device specifically includes:
acquiring the use data of each device, and generating a memory use record according to the use data;
generating a memory usage curve based on the memory practical record, and determining memory usage estimated data in a future preset time length according to the memory usage curve;
and determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data, and dividing the memory consumption curve and the memory use estimated data to obtain the local area network backup memory.
Preferably, the step of reading the stored data in the server, identifying the running state of each device, and sending backup data to each device specifically includes:
reading stored data in a server, and carrying out encryption processing on the stored data to obtain an encrypted data block;
carrying out data request to each device, and reading the running state of each device, wherein the running state comprises hard disk read-write data;
and judging the hard disk idle rate of each device, and sending the encrypted data block to each device when the hard disk idle rate of each device is lower than a preset value.
Preferably, the step of periodically updating the backup data in each device and publishing the backup record in the blockchain specifically includes:
determining changed data according to the service condition of the server;
generating a replacement data block based on the changed data, inquiring the backup record, and sending the replacement data block to the corresponding equipment;
the backup record is updated and published in the blockchain.
Preferably, when the data change amount in the server exceeds a preset value, backup data is updated.
Preferably, the backup record has the serial numbers of the replacement data blocks recorded therein.
It is another object of an embodiment of the present application to provide a blockchain-based information processing system, the system including:
the information acquisition module is used for acquiring local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all the equipment;
the device information analysis module is used for acquiring the use data of each device and dividing the local area network backup memory according to the available memory of each device;
the data backup module is used for reading the stored data in the server, identifying the running state of each device and sending backup data to each device;
and the backup data updating module is used for periodically updating the backup data in each device and publishing the backup records in the block chain.
Preferably, the device information analysis module includes:
the use record generation unit is used for acquiring the use data of each device and generating a memory use record according to the use data;
the data estimating unit is used for generating a memory consumption curve based on the memory practical record and determining memory use estimated data in a future preset time length according to the memory consumption curve;
the memory dividing unit is used for determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data and dividing the memory consumption into local area network backup memories.
Preferably, the data backup module includes:
the data encryption unit is used for reading stored data in the server and encrypting the stored data to obtain an encrypted data block;
the running state acquisition unit is used for carrying out data request on each device and reading the running state of each device, wherein the running state comprises hard disk read-write data;
and the data sending unit is used for judging the hard disk idle rate of each device, and sending the encrypted data block to each device when the hard disk idle rate of each device is lower than a preset value.
Preferably, the backup data updating module includes:
the change data identification unit is used for determining changed data according to the service condition of the server;
the data replacing unit is used for generating a replacing data block based on the changed data, inquiring the backup record and sending the replacing data block to the corresponding equipment;
and the record updating unit is used for updating the backup record and publishing the backup record to the blockchain.
According to the information processing method based on the blockchain, the data in the server is divided into a plurality of small data blocks through segmentation, equipment in the local area network is further identified, and a part of memory is divided from each equipment for data backup, so that when the server is abnormal, data recovery can be performed through each equipment, and loss caused by server abnormality is avoided.
Drawings
FIG. 1 is a flowchart of a blockchain-based information processing method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps for obtaining usage data of each device and dividing local area network backup memory according to available memory of each device according to an embodiment of the present application;
FIG. 3 is a flowchart of a step of reading stored data in a server, identifying an operation state of each device, and sending backup data to each device according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating steps for periodically updating backup data in each device and publishing backup records in a blockchain according to an embodiment of the present application;
FIG. 5 is a block chain based information handling system architecture diagram according to an embodiment of the present application;
fig. 6 is a schematic diagram of an equipment information analysis module according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a data backup module according to an embodiment of the present application;
fig. 8 is a schematic diagram of a backup data update module according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of this disclosure.
As shown in fig. 1, a flowchart of a blockchain-based information processing method according to an embodiment of the present application is provided, where the method includes:
s100, obtaining local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all the equipment.
In this step, the information of the local area network device is obtained, in the same enterprise, data collection is performed through a gateway, the connected devices in the current local area network are determined, statistics is performed on the connected devices, so as to generate a device list, the current available memory of each device is recorded in the device list, specifically, in the device list, only the device uploading the specific character string is reserved, and each device which can be used for backup has a respective number, and the number is marked with the specific character string.
S200, obtaining the use data of each device, and dividing the local area network backup memory according to the available memory of each device.
In this step, the usage data of each device is obtained, in order to ensure daily usage of each device, the usage data is requested to each device, specifically, the usage data refers to a change of the memory occupation amount of each device during operation, that is, the idle memory amount of the device in each time period, thereby dividing the available memory of the device, dividing a part of the available memory into local area network backup memories, after division is completed, sending a corresponding control instruction to each device, after each device obtains the control instruction, locking the corresponding local area network backup content, and prohibiting direct use of the current device during operation.
S300, the stored data in the server are read, the running state of each device is identified, and backup data are sent to each device.
In this step, the stored data in the server is read, the stored data is the data already stored in the current server, in order to ensure the security of the data, all the data in the whole server are split into a plurality of small data blocks, then the number of the data blocks allocated to each device is determined according to the size of the local area network backup memory of each device, the data blocks allocated to the same device are packaged, when the data blocks are packaged, random packaging is performed, and in order to ensure the security of the data, the data blocks corresponding to the same device do not have an adjacent relation, if the stored data in the whole database is divided into 100 data blocks, the number difference of the data blocks allocated to the same device is greater than 1, and after the packaging is completed, the backup data are sent to each device.
And S400, periodically updating the backup data in each device and publishing the backup records in the blockchain.
In this step, the backup data in each device is periodically updated, in order to ensure timeliness of the data, a certain time interval is set, for example, the backup data is updated once an hour or once a day, when the backup data is transmitted, the transmitted data is recorded, so as to determine the trend of each data block, the information is the backup record, the backup record is published in the blockchain, when the server is abnormal, the backup data can be extracted from the blockchain, the corresponding backup data can be read from each device according to the backup data, and the backup data is recombined, so that the original data in the server can be recovered.
As shown in fig. 2, as a preferred embodiment of the present application, the step of obtaining usage data of each device and dividing the local area network backup memory according to the available memory of each device specifically includes:
s201, obtaining the use data of each device, and generating a memory use record according to the use data.
In this step, the usage data of each device is obtained, where the usage data is the usage situation of the hard disk of each device when the device is running, such as the used memory of the hard disk, the free memory of the hard disk, the writing speed of the hard disk, the reading speed of the hard disk, the occupancy rate of the hard disk, and the like, and the usage data is recorded according to the time sequence, so as to obtain the memory usage record.
S202, a memory consumption curve is generated based on the memory practical record, and memory use estimated data in a future preset time length is determined according to the memory consumption curve.
In the step, a memory usage curve is generated based on the memory practical record, a two-dimensional coordinate system is specifically constructed, the memory usage at each moment is calibrated in the two-dimensional coordinate system, so that a lattice is formed in the two-dimensional coordinate system, the memory usage curve can be obtained by connecting smooth curves according to time sequence, a function fitting is carried out on the memory usage curve, a memory curve function is obtained, the memory usage at the future moment can be estimated through the memory curve function, and memory usage estimated data are obtained.
And S203, determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data, and dividing the memory consumption curve and the memory use estimated data to obtain the local area network backup memory.
In this step, the maximum memory usage is determined according to the memory usage curve and the memory usage prediction data, so that in order to ensure that the device can operate normally, the memory beyond the maximum memory usage is located to the local area network backup memory, and thus, the maximization of the backup memory can be ensured, and the normal operation of the device can be ensured.
As shown in fig. 3, as a preferred embodiment of the present application, the step of reading the stored data in the server, identifying the operation status of each device, and sending backup data to each device specifically includes:
s301, the stored data in the server are read, and encryption processing is carried out on the stored data to obtain an encrypted data block.
In this step, the stored data in the server is read, the stored data is the stored data, two sections are divided in the server, the sections comprise a short-time storage area and a long-time storage area, the short-time storage area is an area which changes in real time, for example, interactive data within one hour are stored in the short-time storage area, when the data stored in the short-time storage area reaches one hour, the data is transferred to the long-time storage area, so that the stability of the content of the long-time storage area can be ensured, the stored content in the long-time storage area is the stored data, the encrypted processing is carried out on the stored data, and the encrypted data is split into a plurality of data blocks.
S302, data requests are carried out on all the devices, and the running states of all the devices are read, wherein the running states comprise hard disk read-write data.
In this step, a data request is performed to each device, and by sending the data request, the running state of each device, for example, whether the device is in a start state, whether the device can read and write data normally, and for a closed device, the data cannot be interacted, so that the data cannot be transmitted.
S303, judging the hard disk idle rate of each device, and sending the encrypted data block to each device when the hard disk idle rate of each device is lower than a preset value.
In this step, the hard disk idle rate of each device is determined, when the idle rate of the hard disk is lower, it is indicated that the device is in a high-load state, and then the load of the device is further increased due to data transmission, which will affect the normal operation of the device, so that it is necessary to wait for the idle rate of the hard disk to be lower than a preset value, and send encrypted data blocks to the device.
As shown in fig. 4, as a preferred embodiment of the present application, the steps of periodically updating backup data in each device and publishing the backup record in the blockchain specifically include:
s401, according to the service condition of the server, determining changed data.
In this step, the changed data is determined according to the service condition of the server, that is, when the duration of the data stored in the short-time storage area reaches one hour, the data is transferred to the long-time storage area, and the part of the data is the changed data.
And S402, generating a replacement data block based on the changed data, inquiring the backup record, and sending the replacement data block to the corresponding equipment.
S403, updating the backup record and publishing the backup record to the blockchain.
In this step, a replacement data block is generated based on the changed data, and the affected data block currently divided is determined according to the data to be stored, so as to generate a corresponding replacement data block, the replacement data block is sent to a corresponding device, and when the corresponding device receives the replacement data block, the corresponding device replaces the corresponding data block stored in the device with the replacement data block, updates the backup record, and publishes the backup record to the blockchain.
As shown in fig. 5, a block chain-based information processing system according to an embodiment of the present application includes:
the information obtaining module 100 is configured to obtain information of a local area network device, where the information of the local area network device includes at least a device list and available memory of each device.
In the system, the information acquisition module 100 acquires information of devices of a local area network, in the same enterprise, performs data collection through a gateway, determines devices which are connected in the current local area network, counts the connected devices, thereby generating a device list, records the current available memory of each device in the device list, specifically, only keeps the device uploading a specific character string in the device list, and each device which can be used for backup has a respective number marked with the specific character string.
The device information analysis module 200 is configured to obtain usage data of each device, and divide the local area network backup memory according to the available memory of each device.
In the system, the device information analysis module 200 obtains usage data of each device, and in order to ensure daily usage of each device, the usage data is requested to each device, specifically, the usage data refers to a change of memory occupation amount of each device during operation, that is, idle memory amount of the device in each time period, thereby dividing available memory of the device, dividing a part of the available memory into local area network backup memories, sending corresponding control instructions to each device after division is completed, locking corresponding local area network backup contents after each device obtains the control instructions, and prohibiting direct use of the current device during operation.
The data backup module 300 is configured to read the stored data in the server, identify an operation state of each device, and send backup data to each device.
In the system, the data backup module 300 reads stored data in the server, the stored data is data which is already stored in the current server, in order to ensure the security of the data, all the data in the whole server are split into a plurality of small data blocks, then the number of the data blocks allocated to the same device is determined according to the size of the local area network backup memory of each device, the data blocks allocated to the same device are packaged, random packaging is performed during packaging, and in order to ensure the security of the data, no adjacent relation exists between the data blocks corresponding to the same device, if the stored data in the whole database is divided into 100 data blocks with the number of 1-100, the number difference value of the data blocks allocated to the same device is greater than 1, and after packaging is completed, the backup data is sent to each device.
The backup data updating module 400 is configured to periodically update backup data in each device, and publish the backup record in the blockchain.
In the system, the backup data updating module 400 periodically updates the backup data in each device, in order to ensure timeliness of the data, a certain time interval is set, such as updating once an hour or updating once a day, when the backup data is sent, the sent data is recorded, so as to determine the trend of each data block, the information is the backup record, the backup record is published in a blockchain, when the server is abnormal, the backup data can be extracted from the blockchain, the corresponding backup data can be read from each device according to the backup data, and the backup data can be recombined, so that the original data in the server can be restored.
As shown in fig. 6, as a preferred embodiment of the present application, the device information analysis module 200 includes:
the usage record generating unit 201 is configured to obtain usage data of each device, and generate a memory usage record according to the usage data.
In this module, the usage record generating unit 201 obtains usage data of each device, where the usage data is the usage condition of the hard disk of each device when the device is running, for example, the hard disk used memory, the hard disk idle memory, the hard disk writing speed, the hard disk reading speed, the hard disk occupancy rate, and the like, and records the usage data according to the time sequence, so as to obtain the memory usage record.
The data estimation unit 202 is configured to generate a memory usage curve based on the memory utility record, and determine memory usage estimation data within a predetermined time period in the future according to the memory usage curve.
In this module, the data estimation unit 202 generates a memory usage curve based on the memory practical record, specifically, constructs a two-dimensional coordinate system, and calibrates the memory usage at each moment in the two-dimensional coordinate system, so as to form a lattice in the two-dimensional coordinate system, connect with smooth curves according to time sequence, and obtain a memory usage curve, and perform function fitting on the memory usage curve to obtain a memory curve function, and estimate the memory usage at the future moment through the memory curve function, so as to obtain the memory usage estimated data.
The memory dividing unit 203 is configured to determine a maximum memory usage according to the memory usage curve and the memory usage prediction data, and divide the memory into local area network backup memories.
In this module, the memory dividing unit 203 determines the maximum memory usage according to the memory usage curve and the memory usage prediction data, and in order to ensure that the device can operate normally, the memory other than the maximum memory usage is located to the local area network backup memory, so that the maximization of the backup memory can be ensured, and the normal operation of the device can also be ensured.
As shown in fig. 7, as a preferred embodiment of the present application, the data backup module 300 includes:
the data encryption unit 301 is configured to read stored data in the server, and encrypt the stored data to obtain an encrypted data block.
In this module, the data encryption unit 301 reads stored data in the server, where the stored data is stored data, and divides the server into two sections including a short-time storage area and a long-time storage area, where the short-time storage area is an area that changes in real time, for example, interactive data within one hour is stored in the short-time storage area, and when the data duration stored in the short-time storage area reaches one hour, the interactive data is transferred to the long-time storage area, so that the stability of the content of the long-time storage area can be ensured, and the content stored in the long-time storage area is the stored data, and performs encryption processing on the stored data and splits the stored data into a plurality of data blocks.
And the operation state obtaining unit 302 is configured to perform a data request to each device, and read an operation state of each device, where the operation state includes hard disk read-write data.
In this module, the running state obtaining unit 302 performs a data request to each device, and by sending the data request, it can obtain the running state of each device, for example, whether the device is in a start state, whether the device can read and write data normally, and for a closed device, it cannot perform data interaction, so that the data cannot be transmitted.
And a data sending unit 303, configured to determine a hard disk idle rate of each device, and send the encrypted data block to each device when the hard disk idle rate of each device is lower than a preset value.
In this module, the data sending unit 303 determines the hard disk idle rate of each device, and when the idle rate of the hard disk is low, it indicates that the device is in a high-load state, and then the load of the device is further increased due to data transmission at this time, which affects the normal operation of the device, so that it needs to wait for the idle rate of the hard disk to be lower than a preset value, and send an encrypted data block to the device.
As shown in fig. 8, as a preferred embodiment of the present application, the backup data update module 400 includes:
the change data identification unit 401 is configured to determine, according to the usage situation of the server, data in which a change occurs.
In this module, the changed data identification unit 401 determines the data that is changed according to the usage situation of the server, that is, when the duration of the data stored in the short-time storage area reaches one hour, the data is transferred to the long-time storage area, and the part of the data is the data that is changed.
And the data replacing unit 402 is used for generating a replacing data block based on the changed data, inquiring the backup record and sending the replacing data block to the corresponding device.
The record updating unit 403 is configured to update the backup record and publish the backup record to the blockchain.
In the module, a replacement data block is generated based on changed data, the current divided affected data block is judged according to the data needing to be stored, so that a corresponding replacement data block is generated, the replacement data block is sent to corresponding equipment, when the corresponding equipment receives the replacement data block, the corresponding data block stored in the equipment is replaced by the replacement data block, the backup record is updated, and the backup record is published in a block chain.
In one embodiment, a computer device is presented, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
obtaining local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all equipment;
acquiring the use data of each device, and dividing local area network backup memory according to the available memory of each device;
reading stored data in a server, identifying the running state of each device, and sending backup data to each device;
and periodically updating the backup data in each device and publishing the backup records in the blockchain.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor causes the processor to perform the steps of:
obtaining local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all equipment;
acquiring the use data of each device, and dividing local area network backup memory according to the available memory of each device;
reading stored data in a server, identifying the running state of each device, and sending backup data to each device;
and periodically updating the backup data in each device and publishing the backup records in the blockchain. It should be understood that, although the steps in the flowcharts of the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the application.

Claims (8)

1. A blockchain-based information processing method, the method comprising:
obtaining local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all equipment;
acquiring the use data of each device, and dividing local area network backup memory according to the available memory of each device;
reading stored data in a server, identifying the running state of each device, and sending backup data to each device;
periodically updating the backup data in each device and publishing the backup records in a blockchain;
the step of obtaining the usage data of each device and dividing the local area network backup memory according to the available memory of each device specifically comprises the following steps:
acquiring the use data of each device, and generating a memory use record according to the use data;
generating a memory usage curve based on the memory practical record, and determining memory usage estimated data in a future preset time length according to the memory usage curve;
determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data, and dividing the memory consumption curve and the memory use estimated data to obtain a local area network backup memory;
acquiring use data of each device, wherein the use data is the use condition of a hard disk of each device when the device operates, and the use condition comprises a used memory of the hard disk, a free memory of the hard disk, a writing speed of the hard disk, a reading speed of the hard disk and an occupancy rate of the hard disk, and recording the use data according to a time sequence to obtain a memory use record; generating a memory consumption curve based on the memory practical record, constructing a two-dimensional coordinate system, calibrating the memory consumption at each moment in the two-dimensional coordinate system, forming a lattice in the two-dimensional coordinate system, connecting the two-dimensional coordinate system with smooth curves according to time sequence to obtain a memory consumption curve, performing function fitting on the memory consumption curve to obtain a memory curve function, and estimating the memory consumption at the future moment through the memory curve function to obtain memory use estimated data; and determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data, and positioning the memories beyond the maximum memory consumption to the local area network backup memory.
2. The blockchain-based information processing method of claim 1, wherein the step of reading stored data in the server, identifying an operation state of each device, and transmitting backup data to each device specifically comprises:
reading stored data in a server, and carrying out encryption processing on the stored data to obtain an encrypted data block;
carrying out data request to each device, and reading the running state of each device, wherein the running state comprises hard disk read-write data;
and judging the hard disk idle rate of each device, and sending the encrypted data block to each device when the hard disk idle rate of each device is lower than a preset value.
3. The blockchain-based information processing method of claim 2, wherein the step of periodically updating backup data in each device and publishing backup records in the blockchain specifically includes:
determining changed data according to the service condition of the server;
generating a replacement data block based on the changed data, inquiring the backup record, and sending the replacement data block to the corresponding equipment;
the backup record is updated and published in the blockchain.
4. The blockchain-based information processing method of claim 1, wherein the backup data is updated when the amount of data change in the server exceeds a preset value.
5. The blockchain-based information processing method of claim 3, wherein the backup record has a number of each replacement data block recorded therein.
6. A blockchain-based information processing system, the system comprising:
the information acquisition module is used for acquiring local area network equipment information, wherein the local area network equipment information at least comprises an equipment list and available memories of all the equipment;
the device information analysis module is used for acquiring the use data of each device and dividing the local area network backup memory according to the available memory of each device;
the data backup module is used for reading the stored data in the server, identifying the running state of each device and sending backup data to each device;
the backup data updating module is used for periodically updating the backup data in each device and publishing the backup records in the block chain;
the device information analysis module includes:
the use record generation unit is used for acquiring the use data of each device and generating a memory use record according to the use data;
the data estimating unit is used for generating a memory consumption curve based on the memory practical record and determining memory use estimated data in a future preset time length according to the memory consumption curve;
the memory dividing unit is used for determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data and dividing the memory consumption into local area network backup memories;
acquiring use data of each device, wherein the use data is the use condition of a hard disk of each device when the device operates, and the use condition comprises a used memory of the hard disk, a free memory of the hard disk, a writing speed of the hard disk, a reading speed of the hard disk and an occupancy rate of the hard disk, and recording the use data according to a time sequence to obtain a memory use record; generating a memory consumption curve based on the memory practical record, constructing a two-dimensional coordinate system, calibrating the memory consumption at each moment in the two-dimensional coordinate system, forming a lattice in the two-dimensional coordinate system, connecting the two-dimensional coordinate system with smooth curves according to time sequence to obtain a memory consumption curve, performing function fitting on the memory consumption curve to obtain a memory curve function, and estimating the memory consumption at the future moment through the memory curve function to obtain memory use estimated data; and determining the maximum memory consumption according to the memory consumption curve and the memory use estimated data, and positioning the memories beyond the maximum memory consumption to the local area network backup memory.
7. The blockchain-based information processing system of claim 6, wherein the data backup module includes:
the data encryption unit is used for reading stored data in the server and encrypting the stored data to obtain an encrypted data block;
the running state acquisition unit is used for carrying out data request on each device and reading the running state of each device, wherein the running state comprises hard disk read-write data;
and the data sending unit is used for judging the hard disk idle rate of each device, and sending the encrypted data block to each device when the hard disk idle rate of each device is lower than a preset value.
8. The blockchain-based information processing system of claim 7, wherein the backup data update module includes:
the change data identification unit is used for determining changed data according to the service condition of the server;
the data replacing unit is used for generating a replacing data block based on the changed data, inquiring the backup record and sending the replacing data block to the corresponding equipment;
and the record updating unit is used for updating the backup record and publishing the backup record to the blockchain.
CN202310101979.0A 2023-02-13 2023-02-13 Information processing system and method based on block chain Active CN116126596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310101979.0A CN116126596B (en) 2023-02-13 2023-02-13 Information processing system and method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310101979.0A CN116126596B (en) 2023-02-13 2023-02-13 Information processing system and method based on block chain

Publications (2)

Publication Number Publication Date
CN116126596A CN116126596A (en) 2023-05-16
CN116126596B true CN116126596B (en) 2023-08-18

Family

ID=86297131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310101979.0A Active CN116126596B (en) 2023-02-13 2023-02-13 Information processing system and method based on block chain

Country Status (1)

Country Link
CN (1) CN116126596B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116319083B (en) * 2023-05-17 2023-08-04 南京哲上信息科技有限公司 Data transmission security detection method and system
CN117319422B (en) * 2023-11-28 2024-02-02 天津市城市规划设计研究总院有限公司 Block chain blocking method and system for Internet of things data in urban planning field

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969459A (en) * 2009-09-30 2011-02-09 突触计算机系统(上海)有限公司 Method and apparatus for controlling data block distribution
CN105120003A (en) * 2015-09-10 2015-12-02 浪潮(北京)电子信息产业有限公司 Method for realizing data backup in cloud environment
CN107249035A (en) * 2017-06-28 2017-10-13 重庆大学 A kind of shared repeated data storage of hierarchical dynamically changeable and reading mechanism
CN113094209A (en) * 2021-04-08 2021-07-09 中国工商银行股份有限公司 Block chain-based backup record data processing method, device, medium and product
CN113742135A (en) * 2021-08-24 2021-12-03 咪咕音乐有限公司 Data backup method and device and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969459A (en) * 2009-09-30 2011-02-09 突触计算机系统(上海)有限公司 Method and apparatus for controlling data block distribution
CN105120003A (en) * 2015-09-10 2015-12-02 浪潮(北京)电子信息产业有限公司 Method for realizing data backup in cloud environment
CN107249035A (en) * 2017-06-28 2017-10-13 重庆大学 A kind of shared repeated data storage of hierarchical dynamically changeable and reading mechanism
CN113094209A (en) * 2021-04-08 2021-07-09 中国工商银行股份有限公司 Block chain-based backup record data processing method, device, medium and product
CN113742135A (en) * 2021-08-24 2021-12-03 咪咕音乐有限公司 Data backup method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN116126596A (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN116126596B (en) Information processing system and method based on block chain
US20230185565A1 (en) Blockchain Computer Data Distribution
CN108920272B (en) Data processing method, device, computer equipment and storage medium
CN110351357B (en) Server current limiting method, device, computer equipment and storage medium
CN110267060B (en) Video file storage injection method and device, computer equipment and storage medium
SG11201901608VA (en) Method for accessing distributed storage system, related apparatus, and related system
CN110222535B (en) Processing device, method and storage medium for block chain configuration file
CN111245897B (en) Data processing method, device, system, storage medium and processor
CN113724100A (en) Power grid monitoring alarm message processing method of distributed cluster
CN114138468B (en) Self-adaptive distribution method and device for packaging task amount and storage medium
CN109753384B (en) Cloud host snapshot backup method and device, computer equipment and storage medium
CN113961611A (en) Log processing method, device, equipment and storage medium
CN115794366A (en) Memory prefetching method and device
CN116662453B (en) Digital asset storage method based on block chain
CN116737451B (en) Data recovery method and device of flash memory, solid state disk and storage medium
CN113220475A (en) Transaction data processing method and device, computer equipment and storage medium
CN117112268A (en) Memory sharing management method and system
CN111966531A (en) Data snapshot method and device, computer equipment and storage medium
US10678453B2 (en) Method and device for checking false sharing in data block deletion using a mapping pointer and weight bits
CN113535855A (en) Block chain-based master data management method, system, computer device, and medium
CN111625502A (en) Data reading method and device, storage medium and electronic device
JP4748139B2 (en) Data transfer device, data transfer end time prediction method and program
CN115496626B (en) Identification processing method and identification processing system for distribution network pattern transaction
WO2019153493A1 (en) H5 page-based social media map generation method, electronic device, and storage medium
CN110865901A (en) Method and device for building EC (embedded control) strip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant