WO2021068605A1 - Procédé et appareil de stockage de persistance de données, dispositif informatique et support de stockage - Google Patents

Procédé et appareil de stockage de persistance de données, dispositif informatique et support de stockage Download PDF

Info

Publication number
WO2021068605A1
WO2021068605A1 PCT/CN2020/105434 CN2020105434W WO2021068605A1 WO 2021068605 A1 WO2021068605 A1 WO 2021068605A1 CN 2020105434 W CN2020105434 W CN 2020105434W WO 2021068605 A1 WO2021068605 A1 WO 2021068605A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
channel object
target
target channel
storage
Prior art date
Application number
PCT/CN2020/105434
Other languages
English (en)
Chinese (zh)
Inventor
鲁铁华
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021068605A1 publication Critical patent/WO2021068605A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/221Column-oriented storage; Management thereof

Definitions

  • This application relates to the field of data storage technology, and in particular to a data persistent storage method, device, computer equipment, and storage medium.
  • the embodiments of the present application provide a data persistent storage method, device, computer equipment, and storage medium, aiming to solve the problem of low reliability when storing data information in the blockchain technology in the prior art method.
  • an embodiment of the present application provides a data persistent storage method, which includes:
  • a storage channel containing a Channel object is created in the random storage medium of the SDK node corresponding to the user terminal according to the channel creation request;
  • the Channel object corresponding to the channel object acquisition request in the user terminal is acquired as the target Channel object;
  • the target Channel object is initialized and then fed back to the user.
  • an embodiment of the present application provides a data persistent storage device, which includes:
  • a storage channel creation unit configured to, if a channel creation request input by a user is received, create a storage channel containing a Channel object in a random storage medium of the SDK node corresponding to the user terminal according to the channel creation request;
  • Channel object persistent storage unit configured to serialize the Channel object and store it persistently in the SDK node corresponding to the user terminal
  • the target Channel object obtaining unit is configured to obtain the Channel object corresponding to the channel object obtaining request in the user terminal as the target Channel object if the channel object obtaining request input by the user is received;
  • the initialization judgment unit is used to judge whether the target Channel object has been initialized to obtain the initialization judgment result
  • the first feedback unit is configured to feed back the target Channel object to the user if the initial judgment result is yes;
  • the second feedback unit is configured to, if the result of the initialization judgment is negative, initialize the target Channel object and feed it back to the user.
  • an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the computer
  • the program implements the data persistent storage method described in the first aspect.
  • the embodiments of the present application also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the above-mentioned first On the one hand, the data persistent storage method.
  • the embodiments of the present application provide a data persistent storage method, device, computer equipment, and storage medium. Create a storage channel containing the Channel object according to the channel creation request input by the user, serialize and persistently store the Channel object, obtain the corresponding target Channel object according to the input channel object acquisition request, and check whether the target Channel object has been initialized Make judgments and feed back the initialized target Channel object to the user.
  • the serialized Channel object can be persistently stored, and the target Channel object can be quickly obtained and initialized, which can ensure the high availability of the Channel object and solve the problem of the reliability of the blockchain technology when storing data information.
  • the problem of low sex The problem of low sex.
  • FIG. 1 is a schematic flowchart of a data persistent storage method provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of an application scenario of a data persistent storage method provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of a sub-flow of a data persistent storage method provided by an embodiment of the application
  • FIG. 4 is a schematic diagram of another process of a data persistent storage method provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of another sub-flow of the data persistent storage method provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of another sub-flow of the data persistent storage method provided by an embodiment of the application.
  • FIG. 7 is a schematic block diagram of a data persistent storage device provided by an embodiment of the application.
  • FIG. 8 is a schematic block diagram of subunits of a data persistent storage device provided by an embodiment of the application.
  • FIG. 9 is another schematic block diagram of a data persistent storage device provided by an embodiment of the application.
  • FIG. 10 is a schematic block diagram of another subunit of the data persistent storage device provided by an embodiment of the application.
  • FIG. 11 is a schematic block diagram of another subunit of the data persistent storage device provided by an embodiment of the application.
  • FIG. 12 is a schematic block diagram of a computer device provided by an embodiment of this application.
  • FIG. 1 is a schematic flowchart of a data persistent storage method provided by an embodiment of this application
  • FIG. 2 is a schematic diagram of an application scenario of a data persistent storage method provided by an embodiment of this application.
  • the data persistent storage method is applied to the user terminal 10, and the method is executed by application software installed in the user terminal 10.
  • the blockchain network 20 establishes a network connection with the user terminal 10 to realize the transmission of data information.
  • the user terminal 10 is a terminal device used to implement a data persistent storage method to achieve persistent storage of Channel objects, such as a desktop computer, a notebook computer, a tablet computer, or a mobile phone, etc.
  • the blockchain network 30 is a number of devices in the Internet.
  • the terminal equipment and management server are based on a terminal network composed of smart contracts.
  • FIG. 2 only shows one user terminal 10 and the blockchain network 20 for information transmission. In practical applications, the blockchain network 20 can also perform information transmission with multiple user terminals 10 at the same time.
  • the method includes steps S110 to S160.
  • the blockchain network contains multiple user terminals and a management server that manages the user terminals.
  • the management server is the sorting service node in the blockchain network.
  • a user terminal corresponds to an SDK node, and the SDK node is the user terminal.
  • one SDK node can correspond to one or more Peer nodes in the blockchain network, and a storage channel can contain multiple Peer nodes, and each Peer node is associated with a user terminal.
  • the SDK nodes in each storage channel are connected, and the data stored in each storage channel are isolated from each other; the ordering service node can receive transactions that include endorsement signatures, order the transactions or package them to generate blocks, and broadcast the information to the peer node.
  • the ordering service node can Ensure that nodes in the same storage channel receive the same messages and have the same logical sequence; SDK nodes can provide services to users, and one or more Channel objects can be created in one SDK node, and one Channel object in the SDK node is Corresponding to a Peer node included in the SDK node, that is, an SDK node can correspond to one or more Peer nodes, each Channel object belongs to a storage channel in the blockchain network, and a storage channel belongs to All Channel objects are the same, and the Channel object is the data that needs to be persistently stored.
  • Persistent storage of the data corresponding to the Channel object can maintain the high availability of the Channel object.
  • the user can input a channel creation request in the user terminal and create a new storage channel through the user terminal.
  • the channel creation request includes channel name, ordering service node information, peer node information, data signature information, etc., ordering service node information That is the node information of the ordering service node, the Peer node information is the Peer node contained in the storage channel, and the data signature information is the information used to sign the data in the storage channel.
  • the specific information contained in the channel creation request is passed.
  • Information can create a storage channel that contains a Channel object.
  • the user terminal includes a random storage medium corresponding to the SDK node.
  • the random storage medium is the medium used to temporarily store data information, such as the memory in the user terminal.
  • the SDK node includes a The recorded data table and one or more Channel objects. If an SDK node contains a Channel object, the data table of the SDK node contains only one channel record information corresponding to the Channel object; if a SDK node contains a Channel object If multiple Channel objects are included, the data table of the SDK node contains multiple channel record information corresponding to the multiple objects.
  • the corresponding Channel object can be created according to the channel creation request.
  • the created Channel object is stored in the random storage medium of the SDK node; specifically, the Channel object stores the information for creating the storage channel, including the channel name and ordering service node information , Peer node information, data signature information, etc.
  • step S110a is further included after step S110.
  • S110a Send the Channel object to the ordering service node corresponding to the ordering service node information according to the ordering service node information in the Channel object, so as to initialize the Channel object.
  • the Channel object is sent to the ordering service node corresponding to the ordering service node information to initialize the Channel object.
  • the specific information of the created storage channel and the Channel object are only stored in the SDK node that generated the storage channel.
  • the newly created Channel object needs to be The Channel object is initialized. Specifically, the Channel object is sent to the ordering service node corresponding to the ordering service node information in the Channel object. After receiving the Channel object, the ordering service node can send the Channel object to the Peer node information in the Channel object. The Channel object is sent to the SDK node corresponding to the Peer node information.
  • the Peer node information contains one or more Peer nodes. Each Peer node is associated with an SDK node in a user terminal.
  • the storage channel composed of the same Channel object stores and interacts with information, that is, realizes distributed storage of information.
  • S120 Serialize the Channel object and store it persistently in the SDK node corresponding to the user terminal.
  • the SDK node After serializing the Channel object, it is persistently stored in the SDK node corresponding to the user terminal.
  • the SDK node contains the corresponding NAS network disk and database.
  • the NAS network disk is used to persistently store the Channel file corresponding to the Channel object
  • the database is used to record information about the new channel corresponding to the storage channel to which the Channel object belongs. For persistent storage.
  • step S120 includes sub-steps S121, S122, S123, and S124.
  • the Channel object Serializes the Channel object to obtain the Channel file. Because the Channel object is a programming language, in order to persist the information contained in the Channel object, the Channel object needs to be serialized into a Channel file, which is a binary file, so the Channel file can be stored conveniently and persistently. When opening the binary file, users can only see one line of garbled code, so the Channel file can be deserialized to generate the corresponding Channel object before it can be used normally.
  • the Channel file is stored in the NAS network disk corresponding to the SDK node and the storage path information is recorded.
  • the NAS network disk is a readable and writable storage medium corresponding to the SDK node.
  • each SDK node corresponds to a shared NAS network disk.
  • the NAS network disk can store data persistently, and the obtained channel file can be stored. Store it in the corresponding NAS network disk and obtain the corresponding storage path information.
  • the storage path information includes the file name and storage address of the Channel file.
  • the storage path information corresponding to a Channel file is shown in Table 1.
  • S123 Generate new channel record information according to the channel creation request and storage path information.
  • new channel record information is generated. Specifically, the specific information in the channel creation request and the storage path information are obtained, and the corresponding new channel record information is generated.
  • the new channel record information is the summary information of the created storage channel. In the newly added channel record information Including channel name, ordering service node information, peer node information, file name and storage address of the Channel file and other information.
  • the database may be a lightweight SQlite database. Compared with traditional databases such as MySQL or SQL Server, the lightweight database of SQlite stores data more concisely and efficiently.
  • the Channel object cached in the random storage medium can also be stored in the database. If the random storage medium power failure information is lost, the Channel object corresponding to a certain storage channel can be obtained from the database and cached in the random storage medium. Obtain and use the Channel object quickly and easily.
  • the Channel object stored in the user terminal is acquired according to the channel object acquisition request.
  • the user obtains and uses the corresponding Channel object to realize distributed storage of information.
  • the user can obtain the corresponding Channel object by inputting the channel object acquisition request.
  • the channel object acquisition request may include the Channel object name or the channel name.
  • step S130 includes sub-steps S131, S132, S133, S134, and S135.
  • S131 Determine whether there is a Channel object corresponding to the channel object acquisition request in the random storage medium of the SDK node corresponding to the user terminal to obtain a storage determination result.
  • the Channel object is created in the random storage medium of the SDK node. If the user terminal restarts and causes the Channel object stored in the random storage medium to be lost, before obtaining the corresponding Channel object, you can check whether the SDK node's random storage medium exists or not.
  • the Channel object corresponding to the channel object acquisition request is judged. Specifically, the Channel object includes the channel name to which it belongs, and the data in the random storage medium can be queried through the Channel object name or channel name contained in the channel object acquisition request. If the data of the random storage medium queried contains the Channel object corresponding to the channel object acquisition request, the storage judgment result is that it exists; if the Channel object corresponding to the channel object acquisition request is not queried, the judgment result is that it does not exist.
  • the storage judgment result is yes, it indicates that the random storage medium of the current SDK node contains the Channel object corresponding to the channel object acquisition request, and the Channel object can be directly acquired as the target Channel object.
  • the database of the SDK node is retrieved according to the channel object acquisition request to acquire the channel record information corresponding to the channel object acquisition request in the database as target channel record information.
  • the SDK node database can be retrieved according to the channel object acquisition request.
  • the database records the channel record of each storage channel created based on the SDK node Information.
  • the channel record information includes channel name, ordering service node information, peer node information, file name and storage address of the Channel file, and so on. Therefore, the channel record information in the database can be retrieved according to the channel object acquisition request to obtain and The channel object obtains a piece of channel record information corresponding to the request as the target channel record information. If the channel record information corresponding to the channel object acquisition request is not retrieved in the database, the corresponding storage channel is created according to the channel object acquisition request.
  • S134 Obtain, according to the target channel record information, the Channel file stored in the NAS network disk corresponding to the SDK node as the target Channel file as the target Channel file.
  • the channel record information includes the storage address corresponding to the channel, and each storage address points to a Channel file in the corresponding NAS network disk, and the Channel file stored in the corresponding NAS network disk can be obtained according to the storage address as the target Channel file .
  • the target Channel file is deserialized according to the preset deserialization rule to obtain the target Channel object.
  • Each Channel file is a binary file.
  • the deserialization rule is used to deserialize the Channel file to obtain the rule information of the corresponding Channel object.
  • the deserialization rule contains the project name corresponding to the Channel object, and the Channel file is deserialized according to the project name You can get the Channel object.
  • the project name includes the channel name, ordering service node information, peer node information, data signature information, etc.
  • step S130 further includes sub-step S136.
  • the target Channel object that is not stored in the random storage medium can be stored in the random storage medium of the SDK node, that is, the target Channel object is cached and cached to the target Channel object in the random storage medium It is convenient for users to use.
  • S140 Judge whether the target Channel object has been initialized to obtain an initialization judgment result.
  • the target Channel object It is judged whether the target Channel object has been initialized to obtain the initial judgment result. Before feeding back the target Channel object to the user, it is necessary to judge whether the target Channel object has been initialized. In some cases (the user terminal disconnects from the network) although the storage channel containing the Channel object is already in the local SDK of the user terminal Created in the node, but because the Channel object has not been initialized, the ordering service node and other peer nodes corresponding to the storage channel in the blockchain network have not obtained the information of the storage channel, that is, the information cannot be carried out through the storage channel Storage and interaction.
  • the user terminal corresponding to the SDK node of the target Channel object sends the object verification information of the target Channel object to the ordering service node (management server) included in the ordering service node information in the target Channel object, and the object verification information includes the target Channel object.
  • the channel name of the channel to which the target Channel object belongs, the creation time of the channel to which the target Channel object belongs, the ordering service node feeds back the corresponding verification result according to the object verification information, and the verification result includes whether the ordering service node has stored information corresponding to the target Channel object, and obtain the verification
  • the target Channel object is fed back to the user. If the target Channel object has been initialized, that is, the Channel object is available for use, the target Channel object is fed back to the user for use.
  • the target Channel object is initialized and then fed back to the user. If the target Channel object has not been initialized, in order to ensure that the target Channel object obtained by the user can be used, the target object needs to be initialized and then fed back to the user for use, and the target Channel object is sent to the target Channel object.
  • the ordering service node corresponding to the ordering service node information can initialize the target Channel object. The specific initialization process is the same as the above steps. After the user receives the target Channel object that has been initialized, the storage channel corresponding to the target Channel object can be used To store and interact with information is to realize distributed storage of information.
  • a storage channel containing a Channel object is created according to a channel creation request input by a user, the Channel object is serialized and stored persistently, and the request is obtained according to the input channel object Obtain the corresponding target Channel object, judge whether the target Channel object has been initialized, and feed back the initialized target Channel object to the user.
  • the serialized Channel object can be persistently stored, and the target Channel object can be quickly obtained and initialized, which can ensure the high availability of the Channel object and solve the problem of the reliability of the blockchain technology when storing data information. The problem of low sex.
  • the embodiment of the present application also provides a data persistent storage device, which is used to execute any embodiment of the aforementioned data persistent storage method.
  • a data persistent storage device which is used to execute any embodiment of the aforementioned data persistent storage method.
  • FIG. 7, is a schematic block diagram of a data persistent storage device provided by an embodiment of the present application.
  • the data persistent storage device may be configured in the user terminal 10.
  • the data persistent storage device 100 includes a storage channel creation unit 110, a Channel object persistent storage unit 120, a target Channel object acquisition unit 130, an initialization judgment unit 140, a first feedback unit 150, and a second feedback unit 160 .
  • the storage channel creation unit 110 is configured to, if a channel creation request input by a user is received, create a storage channel containing a Channel object in a random storage medium of an SDK node corresponding to the user terminal according to the channel creation request.
  • the data persistent storage device 100 further includes a subunit: a Channel object initialization unit 110a.
  • the Channel object initialization unit 110a is configured to send the Channel object to the ordering service node corresponding to the ordering service node information according to the ordering service node information in the Channel object to initialize the Channel object.
  • the Channel object persistent storage unit 120 is configured to serialize the Channel object and store it persistently in the SDK node corresponding to the user terminal.
  • the Channel object persistent storage unit 120 includes sub-units: a Channel file acquisition unit 121, a Channel file storage unit 122, a newly added channel record information generating unit 123, and a newly added channel record Information storage unit 124.
  • the Channel file obtaining unit 121 is configured to serialize the Channel object to obtain a Channel file.
  • the Channel file storage unit 122 is configured to store the Channel file in the NAS network disk corresponding to the SDK node and obtain storage path information.
  • the newly added channel record information generating unit 123 is configured to generate newly added channel record information according to the channel creation request and storage path information.
  • the newly added channel record information storage unit 124 is configured to store the newly added channel record information in the database of the SDK node.
  • the target Channel object obtaining unit 130 is configured to, if a channel object obtaining request input by a user is received, obtain a Channel object corresponding to the channel object obtaining request in the user terminal as the target Channel object.
  • the target Channel object acquisition unit 130 includes sub-units: a storage judgment unit 131, a first object acquisition unit 132, a target channel record information acquisition unit 133, and a target Channel file acquisition unit 134 And the second object acquisition unit 135.
  • the storage judgment unit 131 is configured to judge whether there is a Channel object corresponding to the channel object acquisition request in the random storage medium of the SDK node corresponding to the user terminal to obtain the storage judgment result.
  • the first object acquisition unit 132 is configured to, if the storage judgment result is yes, acquire the Channel object corresponding to the channel object acquisition request in the random storage medium as the target Channel object.
  • the target channel record information obtaining unit 133 is configured to, if the storage judgment result is no, search the database of the SDK node according to the channel object obtaining request to obtain the database corresponding to the channel object obtaining request The target channel records information.
  • the target Channel file obtaining unit 134 is configured to obtain the Channel file stored in the NAS network disk corresponding to the SDK node as the target Channel file as the target Channel file according to the target channel record information.
  • the second object obtaining unit 135 is configured to deserialize the target Channel file according to a preset deserialization rule to obtain the target Channel object.
  • the target Channel object acquisition unit 130 further includes a subunit: a target Channel object cache unit 136.
  • the target Channel object cache unit 136 is configured to store the target Channel object in a random storage medium of the SDK node, so as to cache the target Channel object.
  • the initialization judgment unit 140 is configured to judge whether the target Channel object has been initialized to obtain the initialization judgment result.
  • the first feedback unit 150 is configured to feed back the target Channel object to the user if the initial judgment result is yes.
  • the second feedback unit 160 is configured to, if the result of the initialization judgment is negative, initialize the target Channel object and feed it back to the user.
  • the data persistent storage device provided in the embodiment of the present application is used to implement the above-mentioned data persistent storage method, create a storage channel containing a Channel object according to a channel creation request input by a user, serialize the Channel object and store it persistently, Obtain the corresponding target Channel object according to the input channel object acquisition request, judge whether the target Channel object has been initialized, and feed back the initialized target Channel object to the user.
  • the serialized Channel object can be persistently stored, and the target Channel object can be quickly obtained and initialized, which can ensure the high availability of the Channel object and solve the problem of the reliability of the blockchain technology when storing data information.
  • the problem of low sex is used to implement the above-mentioned data persistent storage method, create a storage channel containing a Channel object according to a channel creation request input by a user, serialize the Channel object and store it persistently, Obtain the corresponding target Channel object according to the input channel object acquisition request, judge whether the target Channel object has been initialized, and feed back the initialized target Channel
  • the aforementioned data persistent storage device may be implemented in the form of a computer program, and the computer program may run on the computer device as shown in FIG. 12.
  • FIG. 12 is a schematic block diagram of a computer device according to an embodiment of the present application.
  • the computer device 500 includes a processor 502, a memory, and a network interface 505 connected through a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
  • the non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032.
  • the processor 502 can execute the data persistent storage method.
  • the processor 502 is used to provide computing and control capabilities, and support the operation of the entire computer device 500.
  • the internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503.
  • the processor 502 can execute the data persistent storage method.
  • the network interface 505 is used for network communication, such as providing data information transmission.
  • the network interface 505 is used for network communication, such as providing data information transmission.
  • FIG. 12 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. 500 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
  • the processor 502 is configured to run a computer program 5032 stored in the memory, so as to implement the corresponding function in the aforementioned data persistent storage method.
  • the embodiment of the computer device shown in FIG. 12 does not constitute a limitation on the specific configuration of the computer device.
  • the computer device may include more or less components than those shown in the figure. Or some parts are combined, or different parts are arranged.
  • the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 12, and will not be repeated here.
  • the processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • a computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, where the computer program implements the steps included in the aforementioned data persistent storage method when the computer program is executed by a processor.
  • the disclosed equipment, device, and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods, or the units with the same function may be combined into one. Units, for example, multiple units or components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
  • 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 on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the read storage medium includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned computer-readable storage media include: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention concerne un procédé et un appareil de stockage de persistance de données, un dispositif informatique et un support de stockage. Ledit procédé comprend les étapes consistant à : créer, selon une demande de création de canal entrée par un utilisateur, un canal de stockage contenant un objet de canal; effectuer une sérialisation sur l'objet de canal puis stocker de manière persistante celui-ci; acquérir, selon une demande d'acquisition d'objet de canal entrée, un objet de canal cible correspondant; déterminer si l'objet de canal cible a été initialisé; et renvoyer l'objet de canal cible initialisé à l'utilisateur. La présente invention se rapporte au domaine technique du stockage de données. Sur la base d'une technologie de stockage hiérarchique, l'objet de canal sérialisé peut être stocké de manière persistante, et l'objet de canal cible peut être rapidement acquis et initialisé, garantissant ainsi une disponibilité élevée de l'objet de canal, et résolvant le problème de faible fiabilité lorsque des informations de données sont stockées à l'aide de la technologie de chaîne de blocs.
PCT/CN2020/105434 2019-10-12 2020-07-29 Procédé et appareil de stockage de persistance de données, dispositif informatique et support de stockage WO2021068605A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910968903.1 2019-10-12
CN201910968903.1A CN111104456A (zh) 2019-10-12 2019-10-12 数据持久化存储方法、装置、计算机设备及存储介质

Publications (1)

Publication Number Publication Date
WO2021068605A1 true WO2021068605A1 (fr) 2021-04-15

Family

ID=70421425

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105434 WO2021068605A1 (fr) 2019-10-12 2020-07-29 Procédé et appareil de stockage de persistance de données, dispositif informatique et support de stockage

Country Status (2)

Country Link
CN (1) CN111104456A (fr)
WO (1) WO2021068605A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104456A (zh) * 2019-10-12 2020-05-05 深圳壹账通智能科技有限公司 数据持久化存储方法、装置、计算机设备及存储介质
CN113741796B (zh) * 2020-07-16 2024-04-16 北京沃东天骏信息技术有限公司 一种终端应用的数据持久化方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029314A1 (fr) * 2003-08-21 2005-03-31 Microsoft Corporation Plate-forme de stockage pour organiser, rechercher et partager des donnees
CN105450679A (zh) * 2014-08-06 2016-03-30 杭州海康威视系统技术有限公司 进行数据云存储的方法及系统
CN109391647A (zh) * 2017-08-04 2019-02-26 杭州海康威视系统技术有限公司 存储资源回收方法、装置及系统
CN110196680A (zh) * 2018-03-27 2019-09-03 腾讯科技(深圳)有限公司 数据处理方法、装置及存储介质
CN110245059A (zh) * 2019-05-20 2019-09-17 平安普惠企业管理有限公司 一种数据处理方法、设备及存储介质
CN111104456A (zh) * 2019-10-12 2020-05-05 深圳壹账通智能科技有限公司 数据持久化存储方法、装置、计算机设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029314A1 (fr) * 2003-08-21 2005-03-31 Microsoft Corporation Plate-forme de stockage pour organiser, rechercher et partager des donnees
CN105450679A (zh) * 2014-08-06 2016-03-30 杭州海康威视系统技术有限公司 进行数据云存储的方法及系统
CN109391647A (zh) * 2017-08-04 2019-02-26 杭州海康威视系统技术有限公司 存储资源回收方法、装置及系统
CN110196680A (zh) * 2018-03-27 2019-09-03 腾讯科技(深圳)有限公司 数据处理方法、装置及存储介质
CN110245059A (zh) * 2019-05-20 2019-09-17 平安普惠企业管理有限公司 一种数据处理方法、设备及存储介质
CN111104456A (zh) * 2019-10-12 2020-05-05 深圳壹账通智能科技有限公司 数据持久化存储方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN111104456A (zh) 2020-05-05

Similar Documents

Publication Publication Date Title
CN111344706B (zh) 管理区块链上的交易的方法和系统
US9594644B2 (en) Converting a serial transaction schedule to a parallel transaction schedule
US9317519B2 (en) Storage system for eliminating duplicated data
US7499926B1 (en) Maintaining and replicating chat histories
US9300578B2 (en) Large receive offload functionality for a system on chip
US10382380B1 (en) Workload management service for first-in first-out queues for network-accessible queuing and messaging services
US20180267820A1 (en) Method, apparatus and system for selectively providing virtual machine through actual measurement of efficiency of power usage
US20110197032A1 (en) Cache coordination between data sources and data recipients
WO2017054454A1 (fr) Procédé, dispositif, terminal, serveur et système permettant d'accéder à un dispositif usb
US20140164361A1 (en) Searchable peer-to-peer system through instant messaging based topic indexes
WO2020220764A1 (fr) Procédé et appareil de compression et de requête de données basés sur une chaîne de blocs et dispositif électronique
WO2021068605A1 (fr) Procédé et appareil de stockage de persistance de données, dispositif informatique et support de stockage
CN110389859B (zh) 用于复制数据块的方法、设备和计算机程序产品
US11468175B2 (en) Caching for high-performance web applications
US10958744B2 (en) Identifying and managing redundant digital content transfers
US20200153889A1 (en) Method for uploading and downloading file, and server for executing the same
US20160196188A1 (en) Failure recovery of a task state in batch-based stream processing
CN113051102B (zh) 文件备份方法、装置、系统、存储介质和计算机设备
US11416435B2 (en) Flexible datapath offload chaining
US11243979B1 (en) Asynchronous propagation of database events
US11914529B2 (en) Systems, methods, and devices for time synchronized storage delivery
US10776041B1 (en) System and method for scalable backup search
CN111373377B (zh) 用于请求者和提供者之间的错误处理的方法和系统
US11314603B2 (en) Recovery image downloads via data chunks
US9137276B2 (en) Managing message distribution in a networked environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20873788

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 180822)

122 Ep: pct application non-entry in european phase

Ref document number: 20873788

Country of ref document: EP

Kind code of ref document: A1