An object chain-based data storage method and system

By forming object units in nodes and linking them to the blockchain, the problems of low data storage efficiency and poor security are solved, achieving efficient and secure data storage and adapting to data management across multiple platforms.

CN115292678BActive Publication Date: 2026-06-26SHENZHEN LIANWO INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN LIANWO INFORMATION TECH CO LTD
Filing Date
2022-07-26
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing technologies suffer from low data storage efficiency, poor security, and weak system scalability, making it difficult to adapt to various components and platforms.

Method used

By storing data in nodes to form multiple object units and linking them using control library firmware to form a blockchain, data and text storage is achieved. Combined with security guarantee mechanisms, data storage efficiency and security are improved.

Benefits of technology

It achieves efficient and secure data storage, capable of storing massive amounts of data, adapting to various platforms, and possessing reliability, stability, flexibility, and security, while being easy to manage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115292678B_ABST
    Figure CN115292678B_ABST
Patent Text Reader

Abstract

The application discloses a kind of data storage method and system based on object chain, which comprises: using N nodes to store data and text;N nodes are linked to form M string chain under the guarantee of security guarantee mechanism;M string chain freely constitutes X object unit;X object unit is linked to form block chain by control library firmware, realize the storage of multiple data and text;The system makes the above-mentioned method carry out data storage and management;System includes support layer, functional layer and interface layer;Wherein, support layer includes: directory service module;Functional layer includes: authentication service module, identity management module, authorization management module, role management module, resource management module and configuration management module;Interface layer includes: API interface module, Web service module and management tool module;Different functional components can be connected through API interface module, can adapt to various different platforms, and the performance is stable and reliable;And data storage efficiency and security are very high, and storage is not limited.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of big data storage technology, and specifically relates to a data storage method and system based on object chains. Background Technology

[0002] The system was designed primarily to protect the reliability, security, and integrity of data. A key aspect of the system is the large volume of business data and encrypted text, image, and video data it involves. One aspect of the project upgrade is integrating a large amount of external business data and internal office and commercial data to achieve data unification. This data includes a significant amount of multimedia information such as images, videos, audio, and text. The system involves a massive amount of data, and more importantly, with the development of subsequent tools, the system will incorporate even more data. Furthermore, over time, the system will continuously generate new data, and historical data will accumulate, leading to low data storage and retrieval efficiency, low data security, and limited system scalability.

[0003] A component is a software module with a specific function, capable of performing almost any task. Components, with their high reusability, have given rise to a novel software design approach. They appropriately integrate the chip-centric hardware manufacturing philosophy into software analysis, design, and implementation. The modularization of components organizes multiple components together to form different building blocks. With the accumulation of these components, developing software using them becomes as easy as building with blocks. Currently, modular components suffer from poor portability and versatility, high code maintenance difficulty, and low efficiency in information transmission and conversion.

[0004] Therefore, how to improve data storage efficiency and data security, and enable the system to connect to multiple components and be applicable to various platforms, has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] In view of the above problems, the present invention provides a data storage method and system based on object chain that at least solves some of the above technical problems. By storing data in nodes, the nodes form multiple object units, and the nodes are linked together by a control library firmware to form a blockchain, thereby realizing the storage of multiple data and text, improving data storage efficiency and data security.

[0006] In a first aspect, embodiments of the present invention provide a data storage method based on an object chain, the method comprising:

[0007] S1. Use N nodes to store data and text;

[0008] S2. The N nodes are linked together to form M chains under the guarantee of the security guarantee mechanism;

[0009] S3. The M-string chain can freely form X object units;

[0010] S4. The X object units are linked together by the control library firmware to form a blockchain, realizing the storage of multiple data and text.

[0011] Further, in step S1, the node includes: a head, a linked list, and a tail, wherein:

[0012] The chain head is used for node specification definition;

[0013] The linked list is used for data and text storage;

[0014] The tail of the chain is responsible for communication with the outside world and for the start and end of data storage;

[0015] Each node has its own data pointer and physical address pointer. When accessing data, if the pointer type is a data pointer, the data and text stored in the node at the data address corresponding to the data pointer can be accessed. If the pointer type is a physical address pointer, the physical address pointer points to the corresponding physical location, and the address can be accessed.

[0016] Furthermore, in step S2, the N nodes are linked together to form an M-chain under the guarantee of the security mechanism, specifically as follows:

[0017] Under the guarantee of the security mechanism, the tail address of the nth node is linked to the head address of the (n+1)th node, and so on to form a chain; multiple chains constitute M chains; where n≥1, M≥2, and n and M are both positive integers.

[0018] Further, in step S3, the object unit includes: attributes, methods, interfaces, and a head and tail of a chain; wherein:

[0019] The attribute is public attribute information;

[0020] The method involves communication and invocation of information between object units;

[0021] The interface is responsible for the mutual data communication between the object units;

[0022] The head and tail of the chain are responsible for linking the communication objects between units.

[0023] Furthermore, in step S4, the control library firmware has an AI algorithm security mechanism that controls the handshake and automatic disconnection between the object units according to the defined private specifications, and provides security guarantees.

[0024] Secondly, embodiments of the present invention provide an object chain-based data storage system that uses the aforementioned data storage method to store and manage data and text; the system includes: a support layer, a functional layer, and an interface layer; wherein,

[0025] The support layer is used to provide directory services;

[0026] The functional layer is used to provide management functions;

[0027] The interface layer is used to provide API interfaces, web services, and management tools.

[0028] Furthermore, the functional layer includes: an authentication service module, an identity management module, an authorization management module, a role management module, a resource management module, and a configuration management module; wherein,

[0029] The authentication service module is used to authenticate user identity information;

[0030] The identity management module defines the user organizational structure and user attribute information according to the application system requirements, maintains and manages them, provides user identity information services for the application system and identity authentication, and stores user identity information data in the user information database.

[0031] The authorization management module provides rich permission types for authorizing users, departments, user groups, roles, and dynamic user groups. It fulfills authorization requirements through permission inheritance and filtering mechanisms and hierarchical authorization, and stores authorized data in the authorization database.

[0032] The role management module is used to define platform roles based on the user groups and resource access requirements of each platform, assign resources to roles according to authorization requirements, and store role data in the role library.

[0033] The resource management module is used to control the authorization of various functions and service sections in the platform and to provide complete system function information; it treats the specific functions of various application systems in the platform as authorized object entities for unified management, unified monitoring and unified authorization, and stores resource data in the resource library;

[0034] The configuration management module is used to provide system configuration management services for each application system.

[0035] Furthermore, the interface layer includes an API interface module, a Web service module, and a management tool module; wherein,

[0036] The API interface module includes: a role-based user authorization component interface, a user information-based authentication component interface, and a user feature-based personalized service component interface; these interfaces are used to connect components with different functions.

[0037] The Web service modules include: a document verification module, an electronic file management module, a financial application module, a CRM module, a data assetization module, and an enterprise service assetization module; these modules are used to provide Web3.0 enterprise services for enterprises.

[0038] Compared with the prior art, the beneficial effects of the present invention include at least the following:

[0039] 1. In this invention, data is stored in nodes, which together form multiple object units and are linked together by a control library firmware to form a blockchain, enabling the storage of multiple data and text. This type of blockchain can store massive amounts of data at any time without any restrictions, and can replace disks without the need for them, greatly improving data storage efficiency, and also offering good concurrency and stability.

[0040] 2. This invention uses a security guarantee mechanism, ensuring that the stored data will not be tampered with by attacks or any other external factors, thus providing extremely high security.

[0041] 3. The data storage system of the present invention can adapt to various different platforms and has many advantages such as reliability, stability, flexibility, openness, security, cross-platform compatibility and ease of management.

[0042] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.

[0043] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0044] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0045] Figure 1 A flowchart illustrating the object chain-based data storage method provided by this invention;

[0046] Figure 2 A schematic diagram of the node structure provided in an embodiment of the present invention;

[0047] Figure 3 This is a schematic diagram illustrating the process of linking nodes into a string and inserting nodes, provided in an embodiment of the present invention.

[0048] Figure 4 This is a schematic diagram of the object unit structure provided in an embodiment of the present invention;

[0049] Figure 5 A schematic diagram illustrating the composition and usage of node and object units provided in an embodiment of the present invention;

[0050] Figure 6 This is a schematic diagram of the links between object units provided in an embodiment of the present invention;

[0051] Figure 7 A framework diagram of an object chain-based data storage system provided in an embodiment of the present invention;

[0052] Figure 8 A flowchart illustrating the workflow of an object chain-based data storage system provided in this embodiment of the invention. Detailed Implementation

[0053] The terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or devices.

[0054] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0055] Example 1;

[0056] like Figure 1 As shown, this embodiment of the invention provides a data storage method based on object chains, which may include the following steps:

[0057] S1. Use N nodes to store data and text;

[0058] S2. The N nodes are linked together to form M chains under the guarantee of the security guarantee mechanism;

[0059] S3. The M-string chain can freely form X object units;

[0060] S4. The X object units are linked together by the control library firmware to form a blockchain, realizing the storage of multiple data and text.

[0061] The following is a detailed explanation of each of the above steps. The overall method of this invention is as follows:

[0062] In step S1, as Figure 2As shown, the internal structure of each node can be divided into: head, linked list, and tail. The node head is used for node specification definition; the node linked list is the firmware for data and text storage; the linked list communicates via a stack. If the stack is an address, the data location is obtained; if the stack address is data, the data and text of the linked list are retrieved; the node tail is responsible for communication with the outside world and the start and end of data storage.

[0063] Each node has its own data pointer and physical address pointer. The data pointer points to the data, and the physical address pointer points to the physical address or stack. When accessing data, if the pointer type is a data pointer, the data and text stored in the node at the data address corresponding to the data pointer can be accessed. If the pointer type is a physical address pointer, the physical address pointer points to the corresponding physical location, and the address can be accessed.

[0064] In step S2, nodes can be linked to form long strings of text and data. Under the security guarantee mechanism, chains can form without limit. The conditions for forming a chain are as follows: 1. Establish a security protocol, with one node's head and another's tail successfully handshaking; 2. Achieve protocol consistency through mutual access via address pointers and physical pointers; 3. Re-serialize and sort the physical logic of the chain head and tail; thus forming a chain from a single node to multiple nodes, capable of storing and accessing large amounts of data and text. For example... Figure 3 As shown, the tail address of the nth node is linked to the head address of the (n+1)th node (for example, the tail address of the first node is linked to the head address of the second node in sequence; the tail address of the second node is linked to the head address of the third node in sequence), and so on, forming a chain. Multiple chains are formed in the same way, thus constituting M chains; where n≥1, M≥2, and n and M are both positive integers; as shown... Figure 3 As shown, nodes can also be inserted between nodes.

[0065] In step S3, the M chains freely form X object units, where X ≥ 2: each chain can store data and text, and these can be accessed; each chain freely forms different object units (with different attributes, algorithms, etc.) to form a control logic unit; such as Figure 4 As shown, this embodiment comprises three object units: A, B, and C. Under the premise of protocol security, node handshake establishes a reliable security mechanism. Each object unit can implement node routing through firmware, access data and text from nodes in different objects, store data and interact with data, and control the nearest routing node. Each object unit consists of multiple node chains; as shown... Figure 5 As shown, each object unit has:

[0066] 1. Properties: Public properties, such as name, link names between objects, etc.;

[0067] 2. Method: The function called by an object to communicate with another object;

[0068] 3. Interface: Responsible for communication between objects and their data;

[0069] 4. Head and tail of the chain: responsible for linking communication objects.

[0070] In step S4, as Figure 6 As shown, object unit A and object unit C, and object unit C and object unit B are linked through the control library firmware. The control library firmware has an AI algorithm security mechanism, follows predefined code specifications, controls the handshake and automatic disconnection between the object units, and provides security guarantees (the above security guarantee mechanism is also guaranteed by the "control library firmware"), ultimately forming a blockchain to realize the storage of multiple data and text.

[0071] Example 2:

[0072] This invention introduces relevant technologies of "public resource allocation", making the public resource allocation platform based on directory services the connection point between platforms at all levels, as well as between business platforms and other application systems; laying a solid foundation for data exchange and business collaboration between various application systems;

[0073] like Figure 7 As shown, this embodiment of the invention provides a data storage system based on object chains, using the aforementioned data storage method for storing and managing data and text. The system includes a support layer, a functional layer, and an interface layer. The specific workflow of the system is as follows: Figure 8 As shown below; the technical details of each layer will be explained separately below;

[0074] like Figure 7 As shown, the support layer includes a directory service module, which can provide information query services to users.

[0075] Furthermore, such as Figure 7 As shown, the functional layer includes: authentication service module, identity management module, authorization management module, role management module, resource management module, and configuration management module; among which:

[0076] The identity management module defines the user organizational structure and user attribute information according to the application system requirements, maintains and manages them, provides user identity information services for the application system and identity authentication, and further stores user identity information data in the user information database.

[0077] The authentication service module is used to retrieve user information data to authenticate user identity information.

[0078] The authorization management module provides a comprehensive authorization management mechanism that can meet the platform's complex permission control needs. It offers a rich variety of permission types, authorizing users, departments, user groups, roles, and dynamic user groups. It implements authorization requirements through permission inheritance and filtering and hierarchical authorization mechanisms, and stores authorized data in the authorization database.

[0079] The role management module defines platform roles based on the user groups and resource access needs of each platform, and assigns resources to roles according to authorization requirements. Roles can adopt a tree structure, and a role can inherit the resource authorization of its parent role. Role data is stored in the role library.

[0080] The resource management module primarily focuses on authorizing and controlling various functions within the municipal platform and service sections of the online service platform, providing complete system function information. The resource management service treats the specific functions of each application system within the municipal platform as authorized object entities for unified management, monitoring, and authorization. Through the resource management module, users can register application system functions, define application system function attributes, and formulate resource management strategies, storing resource data in a resource repository.

[0081] The configuration management module provides system configuration management services for each application system. Each application system can store its own system configuration information on the platform and obtain its configuration information through the interface provided by the platform.

[0082] Furthermore, such as Figure 7 As shown, the interface layer includes: an API interface module, a Web service module, and a management tool module; among which,

[0083] The API interface module is used to connect components with different functions; the API interface module must have at least:

[0084] ① Role-based user authorization - component interface:

[0085] Authorization is achieved by assigning roles to users; users can obtain access authorization to resources by assigning roles to organizations or user groups, and various authorization control policies can be flexibly defined.

[0086] For distributed systems, internal and external roles can be defined. By controlling the authorization policy for external roles, the system can satisfy the need for external access while also achieving system security, and enable leaders at all levels to understand the business under their jurisdiction in a timely manner.

[0087] Role-based user authorization management facilitates the construction of a centralized-distributed authorization control system.

[0088] ② User information-based authentication - component interface:

[0089] To ensure system security, reliable user authentication is the most important safeguard; authentication based on user information is the foundation of identity authentication; the means of identity authentication can be "username / password" or "digital certificate" issued by a CA center.

[0090] To achieve "unified identity authentication," a "complete user identity information database" must be established, which means unified user information management. "Unified user information management" can be achieved through a centralized and distributed approach.

[0091] ③ Personalized services based on user characteristics - component interfaces;

[0092] Based on "unified user information" and "unified identity authentication", within the framework of the system business, permissions can be assigned according to user identity and role, and personalized interface data services can be improved according to data permissions; personalized services are part of the application system design.

[0093] The Web service module may include: invoice verification module, electronic file management module, financial application module, CRM module, data assetization module, and enterprise service assetization module; the above modules are used to provide enterprises with Web3.0 enterprise services, realize enterprise service assetization and data assetization, and support value circulation.

[0094] The management tools module provides convenience for operations administrators to manage platform operations, including service listing and delisting, and operational service management.

[0095] This invention provides a data storage method and system based on object chaining. This method stores data in nodes, which form multiple object units and are linked together through a control library firmware to form a blockchain, enabling the storage of multiple data types and text. This type of blockchain can store massive amounts of data at any time without any restrictions, eliminating the need for disks and replacing them, greatly improving data storage efficiency, and offering good concurrency and stability. It employs a security guarantee mechanism, ensuring that data will not be tampered with by attacks or other external factors, resulting in extremely high security. The data storage system of this invention is adaptable to various platforms and possesses advantages in reliability, stability, flexibility, openness, security, cross-platform compatibility, and ease of management. The system supports multiple typical transmission modes of message middleware: synchronous transmission, asynchronous transmission, sessions, pipes, broadcast notifications, message queues (Queue), and publish / subscribe (Pub / Sub). Messages are packaged using XML, supporting standards such as SOAP and ebXML, and users can customize the structure. It provides a security system compliant with PKI standards and supports various CA systems; it supports dual-machine hot standby and server clusters; and it supports breakpoint resumption and message compression functions.

[0096] The embodiments of the present invention have been described in detail above, and the principles and implementation methods of the present invention have been explained. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention.

[0097] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A data storage method based on object chains, characterized in that, include: S1. Use N nodes to store data and text; S2. The N nodes are linked together to form M chains under the guarantee of the security guarantee mechanism; S3. The M-chains can freely form X object units, where X≥2: each chain can store data and text and can access them; each chain can freely form different object units to form a control logic unit; each object unit can implement node routing through firmware, access the data and text of nodes in different objects, store data and interactive data, and each object unit controls the nearest routing node; each object unit consists of multiple node chains. The object unit includes: attributes, methods, interfaces, and a head and tail of the chain; wherein: The attribute is public attribute information; The method involves communication and invocation of information between object units; The interface is responsible for the mutual data communication between the object units; The chain head and chain tail are responsible for linking the communication object units; S4. The X object units are linked together through the control library firmware to form a blockchain, enabling the storage of multiple data and text. The control library firmware has an AI algorithm security mechanism, which controls the handshake and automatic disconnection of the links between the object units according to the defined private specifications, and provides security guarantees.

2. The data storage method based on object chain as described in claim 1, characterized in that, In step S1, the node includes: a head, a linked list, and a tail, wherein: The chain head is used for node specification definition; The linked list is used for data and text storage; The tail of the chain is responsible for communication with the outside world and for the start and end of data storage; Each node has its own data pointer and physical address pointer. When accessing data, if the pointer type is a data pointer, the data and text stored in the node at the data address corresponding to the data pointer can be accessed. If the pointer type is a physical address pointer, the physical address pointer points to the corresponding physical location, and the address can be accessed.

3. The data storage method based on object chain as described in claim 2, characterized in that, In step S2, the N nodes are linked together to form an M-chain under the guarantee of the security mechanism, specifically as follows: Under the guarantee of the security mechanism, the tail address of the nth node is linked to the head address of the (n+1)th node, and so on to form a chain; multiple chains constitute M chains; where n≥1, M≥2, and n and M are both positive integers.

4. A data storage system based on object chains, characterized in that, The object chain-based data storage method described in any one of claims 1-3 is used for data and text storage and management.

5. The object chain-based data storage system as described in claim 4, characterized in that, The system comprises: a support layer, a functional layer, and an interface layer; among which, The support layer is used to provide directory services; The functional layer is used to provide management functions; The interface layer is used to provide API interfaces, web services, and management tools.

6. The object chain-based data storage system as described in claim 5, characterized in that, The functional layer includes: an authentication service module, an identity management module, an authorization management module, a role management module, a resource management module, and a configuration management module; among which, The authentication service module is used to authenticate user identity information; The identity management module defines the user organizational structure and user attribute information according to the application system requirements, maintains and manages them, provides user identity information services for the application system and identity authentication, and stores user identity information data in the user information database. The authorization management module provides rich permission types for authorizing users, departments, user groups, roles, and dynamic user groups. It fulfills authorization requirements through permission inheritance and filtering mechanisms and hierarchical authorization, and stores authorized data in the authorization database. The role management module is used to define platform roles based on the user groups and resource access requirements of each platform, assign resources to roles according to authorization requirements, and store role data in the role library. The resource management module is used to control the authorization of various functions and service sections in the platform and to provide complete system function information; it treats the specific functions of various application systems in the platform as authorized object entities for unified management, unified monitoring and unified authorization, and stores resource data in the resource library; The configuration management module is used to provide system configuration management services for each application system.

7. The object chain-based data storage system as described in claim 6, characterized in that, The interface layer includes an API interface module, a Web service module, and a management tool module; wherein, The API interface module includes: a role-based user authorization component interface, a user information-based authentication component interface, and a user feature-based personalized service component interface; these interfaces are used to connect components with different functions. The Web service modules include: a document verification module, an electronic file management module, a financial application module, a CRM module, a data assetization module, and an enterprise service assetization module; these modules are used to provide Web3.0 enterprise services for enterprises.