Data management method and device, electronic equipment and storage medium

By employing a hierarchical storage architecture and pre-defined encoding methods, the redundancy and inconsistency issues caused by data dispersion in large manufacturing enterprises are resolved, enabling flexible and efficient data storage and dynamic expansion, and adapting to the special data structure of shipbuilding.

CN121542264AActive Publication Date: 2026-02-17CSSC HUANGPU WENCHONG SHIPBUILDING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511684371.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-17
Estimated Expiration
2045-11-17

AI Technical Summary

Technical Problem

In large manufacturing enterprises, basic data is scattered across multiple business systems, resulting in data redundancy, poor consistency, difficulty in adapting to dynamic business needs, and poor storage scalability.

Method used

A hierarchical storage architecture is adopted. The data to be stored is processed by a preset encoding method to determine the target data table to which it belongs, and the data is written into the corresponding first and second data tables to achieve hierarchical storage and dynamic expansion.

Benefits of technology

It adapts to the special data structure of ships, such as segmented and compartmentalized relationships, with flexible and efficient storage methods and support for dynamic expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121542264A_ABST
    Figure CN121542264A_ABST
Patent Text Reader

Abstract

The invention discloses a data management method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to a data storage request, and carrying out the data coding processing of first information of to-be-stored data based on a preset coding mode, so as to obtain first storage data meeting the data storage requirement of a first data table; and performing data coding processing on second information of the to-be-stored data based on a preset coding mode to obtain second storage data meeting the data storage requirement of the second data table, the first data table is associated with a plurality of different second data tables; determining a target second data table to which the to-be-stored data belongs; and writing the first storage data into the first data table, and writing the second storage data into the target second data table so as to store the to-be-stored data. According to the scheme, the special data structure of the ship can be hierarchically stored, dynamic expansion can be supported in the later period, and the storage mode is flexible and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of enterprise information management technology, and in particular to a data management method, device, electronic device and storage medium. Background Technology

[0002] In large manufacturing enterprises (such as shipbuilding), basic data (such as personnel, departments, engineering projects, and material codes) are scattered across multiple business systems (such as HRP, PDM, and financial systems), leading to data redundancy, poor consistency, and the formation of information silos. In addition, traditional coding rules are fixed and rigid, making it difficult to adapt to the dynamic business needs of shipbuilding and resulting in poor storage scalability. Summary of the Invention

[0003] This invention provides a data management method, apparatus, electronic device, and storage medium that can achieve layered storage of the special data structure of ships, support dynamic expansion in the future, and provide flexible and efficient storage.

[0004] In a first aspect, the present invention provides a data management method, comprising:

[0005] In response to a data storage request, the system performs data encoding processing on the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and performs data encoding processing on the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storage management of preset core information of the data, and the second data tables are used for storage management of detailed information of the data;

[0006] Determine the target second data table to which the data to be stored belongs;

[0007] The first stored data is written to the first data table, and the second stored data is written to the target second data table to store the data to be stored.

[0008] Secondly, the present invention also provides a data management device, comprising:

[0009] The encoding processing module is used to respond to a data storage request by encoding the first information of the data to be stored according to a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and by encoding the second information of the data to be stored according to a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storing and managing preset core information of the data, and the second data tables are used for storing and managing detailed information of the data;

[0010] The target second data table determination module is used to determine the target second data table to which the data to be stored belongs;

[0011] The data storage module is used to write the first stored data to the first data table and to write the second stored data to the target second data table, so as to store the data to be stored.

[0012] Thirdly, this invention also provides an electronic device, comprising:

[0013] One or more processors;

[0014] Storage device for storing one or more programs.

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the data management method provided in any embodiment of the present invention.

[0016] Fourthly, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the data management method provided in any embodiment of the present invention.

[0017] The technical solution of this invention, in response to a data storage request, performs data encoding processing on the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and performs data encoding processing on the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storage management of preset core information of the data, and the second data tables are used for storage management of detailed information of the data; thereby, the information content to be stored in the data to be stored can be processed separately to obtain the various parts of stored data required for subsequent hierarchical storage; then, the target second data table to which the data to be stored belongs is determined; the first stored data is written to the first data table, and the second stored data is written to the target second data table to store the data to be stored. Using this solution, the hierarchical storage architecture can be well adapted to the special data structure of ships (such as segmentation and compartment nesting relationships), and can support dynamic expansion in the later stages, providing flexible and efficient storage.

[0018] The above description of the invention is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

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

[0020] Figure 1 This is a flowchart illustrating a data management method provided in an embodiment of the present invention;

[0021] Figure 2 This is a schematic diagram illustrating the effect of the data structure of a first data table provided in an embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram illustrating the effect of the data structure of a second data table provided in an embodiment of the present invention;

[0023] Figure 4 This is a flowchart illustrating another data management method provided in an embodiment of the present invention;

[0024] Figure 5 This is a schematic diagram illustrating the effect of a target template provided in an embodiment of the present invention.

[0025] Figure 6 This is a schematic diagram illustrating the effect of a field definition table provided in an embodiment of the present invention;

[0026] Figure 7 This is a schematic diagram illustrating the effect of an encoding rule table provided in an embodiment of the present invention;

[0027] Figure 8 This is a logical diagram illustrating hierarchical storage of a first data table and a second data table, provided as an embodiment of the present invention.

[0028] Figure 9 This is a schematic diagram of the structure of a data management device provided in an embodiment of the present invention;

[0029] Figure 10 This is a schematic diagram of the structure of an electronic device that implements a data management method according to an embodiment of the present invention. Detailed Implementation

[0030] Embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. While some embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the invention. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the invention.

[0031] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0032] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0033] It should be noted that the concepts of "first" and "second" mentioned in this invention are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0034] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0035] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0036] Figure 1 This is a flowchart illustrating a data management method provided in an embodiment of the present invention. This embodiment is applicable to situations requiring unified management of data across multiple systems. The method can be executed by a data management device, which can be implemented in software and / or hardware and is generally integrated into any electronic device with network communication capabilities, such as a mobile terminal, PC, or server. Figure 1 As shown, the data management method of this invention embodiment may include the following processes:

[0037] S110. In response to a data storage request, data encoding processing is performed on the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of the first data table; and, data encoding processing is performed on the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of the second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storing and managing preset core information of the data, and the second data tables are used for storing and managing detailed information of the data.

[0038] A data storage request is a request to store data that needs to be stored. Data storage requests can be initiated by administrators. The data to be stored is the data that needs to be stored.

[0039] Correspondingly, the first information of the data to be stored refers to the field information that can be used to manage the data. The second information of the data to be stored refers to the more specific and detailed field information associated with the data. In short, the first information can be understood as the information used for overall management, while the second information is more detailed and specific information, which at least includes the specific data content of the data to be stored.

[0040] Relatedly, the first data table is used to store and manage the preset core information of the data, and the second data table is used to store and manage the detailed information of the data. The preset core information can be understood as information used for overall management. For example, the preset core information of the data includes at least one of the following: the configured master data row ID, the name of the business domain to which it belongs, the template ID used, the version number, the creation time, the status, and the data source. The detailed information of the data includes at least one of the following: the master data item ID, the specific data content, the creation time, the creator, the modification time, the modifier, and remarks.

[0041] The first data table is associated with multiple different second data tables. Each second data table is determined according to the business domain to which the data belongs; data from one business domain corresponds to one second data table. For example, after dividing the data by business domain, we can identify design domain data, production domain data, and supply chain data. This would result in three second data tables, each corresponding to the data in its respective business domain. The first data table can be understood as the main table, while the various second tables can be understood as supplementary tables.

[0042] Specifically, in response to a data storage request, the first information of the data to be stored can be encoded using a preset encoding method to obtain first stored data that meets the data storage requirements of the first data table. These data storage requirements can be understood as the requirements and regulations of the data table regarding its internal data format, data type, data length, and data structure. The preset encoding method can be understood as an encoding method that can encode data information to meet the storage requirements of the data table. After encoding the first information of the data to be stored using the preset encoding method, the first stored data that meets the data storage requirements of the first data table can be obtained. This first stored data is the data that needs to be stored in the first data table in subsequent steps. Similarly, the second information of the data to be stored can also be encoded using the preset encoding method to obtain second stored data that meets the data storage requirements of the second data table.

[0043] For example, Figure 2 This is a schematic diagram illustrating the effect of the data structure of a first data table provided in an embodiment of the present invention, such as... Figure 2 As shown, the first data table stores and manages preset core information for various types of data. This preset core information may include: master data row ID, business domain name, template ID used, version number, creation time, and status. Using this preset core information, various data can be managed simply and efficiently. For example, Figure 3This is a schematic diagram illustrating the effect of the data structure of a second data table provided in an embodiment of the present invention, such as... Figure 3 As shown, it displays the second data table corresponding to the "Design Domain Data". This second data table stores and manages various specific details of the Design Domain Data, including: Master Data Row ID, specific Master Data Row content, creation time, creator, modification time, modifier, remarks, etc.

[0044] S120. Determine the target second data table to which the data to be stored belongs.

[0045] Specifically, the target second data table can be determined from multiple second data tables based on the business domain information to which the data to be stored belongs.

[0046] S130. Write the first storage data to the first data table and write the second storage data to the target second data table to store the data to be stored.

[0047] Specifically, after obtaining the first and second storage data that need to be stored, the first storage data can be written to the first data table, and the second storage data can be written to the target second data table to store the data to be stored.

[0048] The technical solution of this invention, in response to a data storage request, performs data encoding processing on the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and performs data encoding processing on the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storage management of preset core information of the data, and the second data tables are used for storage management of detailed information of the data; thereby, the information content to be stored in the data to be stored can be processed separately to obtain the various parts of stored data required for subsequent hierarchical storage; then, the target second data table to which the data to be stored belongs is determined; the first stored data is written to the first data table, and the second stored data is written to the target second data table to store the data to be stored. Using this solution, the hierarchical storage architecture can be well adapted to the special data structure of ships (such as segmentation and compartment nesting relationships), and can support dynamic expansion in the later stages, providing flexible and efficient storage.

[0049] Figure 4This is a flowchart illustrating another data management method provided by an embodiment of the present invention. The technical solution of this embodiment further optimizes the process of encoding the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table, and encoding the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 4 As shown, the data management method of this invention embodiment may include the following processes:

[0050] S410. In response to a data storage request, determine the target template corresponding to the data to be stored from multiple templates in the template table; the target template is used to define the data structure that the data to be stored needs to be stored in the first data table and the target second data table.

[0051] The template table stores multiple templates, which define the data structure for different types of data. In other words, one type of data corresponds to one template.

[0052] Specifically, in response to a data storage request, the target template corresponding to the data to be stored can be determined from multiple templates in the template table. This target template can be used to define the data structure required for storing the data in the first data table and the target second data table. In short, it can be determined, based on the target template table, what data format should be used to process the various relevant information of the data to be stored.

[0053] For example, Figure 5 This is a schematic diagram illustrating the effect of a target template provided in an embodiment of the present invention. The target template is the template corresponding to "Ship Engineering Project Data," as shown below. Figure 5 As shown, this target template defines the requirements for various fields related to shipbuilding project data, as well as the corresponding data structure requirements. For example, it specifies what types of data need to be configured under this template, and what field requirements and restrictions apply to the configured data.

[0054] As an optional but non-limiting implementation, the template table construction process is as follows: Identify multiple data categories to be managed; each data category represents a different type of data; based on the hierarchical relationships between the data categories and the field definition table, construct corresponding templates for each data category to obtain multiple templates; the field definition table is used to uniformly divide and define the information associated with each data category; and finally, determine the template table based on each template. Using this optional approach, corresponding templates can be constructed for each data category, thereby determining the template table.

[0055] In this context, data categories can be understood as the various categories obtained after dividing the data that needs to be managed. Each data category corresponds to a specific type of data, and different data categories represent different types of data. For example, "bow section" and "midship section" are two types of data, and therefore would correspond to two different data categories.

[0056] The field definition table is used to uniformly categorize and define the information associated with various data categories. In other words, the field definition table indicates what kind of fields are defined for each piece of information, what the field attribute requirements are, and it supports nested structures. For example, Figure 6 This is a schematic diagram illustrating the effect of a field definition table provided in an embodiment of the present invention, such as... Figure 6 As shown, the field definition table stores the characteristics of each defined field, as well as the relevant information or attribute requirements for each field definition.

[0057] Specifically, when constructing the template table, you can first identify multiple data categories to be managed. These data categories can be added, deleted, or modified based on business needs during subsequent management. Then, based on the hierarchical relationships between the data categories and the field definition table, construct corresponding templates for each data category, thus obtaining templates for each data category. Finally, based on these templates, you can determine the template table.

[0058] S420. Based on the target template, determine the first and second information of the data to be stored.

[0059] Specifically, since the target template indicates which aspects of data information need to be stored, the first and second information of the data to be stored can be determined based on the target template. For example, the first and second information of the data to be stored can be determined by matching the data items specified in the target template with the information associated with the data to be stored.

[0060] S430. Based on the encoding rule table associated with the target template, the first information is processed by data encoding to obtain the first stored data; and the second information is processed by data encoding to obtain the second stored data; wherein, the encoding rule table records the encoding rules configured for different field contents respectively.

[0061] The encoding rule table records the encoding rules configured for different field contents. In other words, based on the encoding rule table, it can be determined how each field content should be encoded. For example, Figure 7 This is a schematic diagram illustrating the effect of an encoding rule table provided in an embodiment of the present invention, such as... Figure 7 As shown, each encoding rule is recorded in the encoding rule table. For each encoding rule, various relevant information such as the rule ID, rule name, rule type, generator type used, and reset strategy are stored.

[0062] Specifically, after the target template is determined, the first information can be encoded based on the encoding rule table associated with the target template to obtain the first stored data; and the second information can be encoded to obtain the second stored data.

[0063] S440. Determine the target second data table to which the data to be stored belongs.

[0064] S450: Write the first storage data to the first data table and write the second storage data to the target second data table to store the data to be stored.

[0065] As an optional but non-limiting implementation, writing the second storage data to the target second data table includes: determining the data content to be stored; encapsulating the data content into JSON format and storing it in the target second data table.

[0066] Here, data content refers to the specific data content of the data to be stored.

[0067] Specifically, when writing the second storage data to the target second data table, the data content to be stored can be determined first; then the data content can be encapsulated into JSON format and stored in the target second data table.

[0068] As an optional but non-limiting implementation, before responding to a data storage request, the method further includes: obtaining the identity token corresponding to the data storage request; verifying the identity token's permissions; and, if the permissions verification is successful, responding to the data storage request. This optional approach allows for the determination of the legitimacy of data storage requests, thereby improving the security of data management.

[0069] Specifically, this implementation scheme will also obtain the identity token corresponding to the data storage request; then, it will perform permission verification on the identity token; for example, it can verify information such as the user's identity, format, signature, validity period, role, and data access scope of the identity token. If this information matches the preset identity token information, it means that the permission verification is successful. Once the permission verification is successful, the data storage request can be responded to.

[0070] As an optional but non-limiting implementation, the method for obtaining the data to be stored includes at least one of the following: reading the data to be stored from a target database through a preset interface; the target database being a database storing the data to be stored; or obtaining the data to be stored by reading an uploaded spreadsheet file. Using this optional solution, the data to be stored can be obtained in various ways.

[0071] Specifically, when retrieving data to be stored, the data can be read from the target database through a preset interface; the target database is the database that stores the data to be stored; alternatively, the data can be retrieved by reading an uploaded spreadsheet file (such as an uploaded and imported Excel file).

[0072] As an optional but non-limiting implementation, after storing the data to be stored, the method further includes: synchronizing the data to be stored to the target data management system via a service bus; the target data management system is a data system that has a business relationship with the data to be stored. Using this optional solution, data synchronization can be performed on data systems that have a business relationship with the data to be stored.

[0073] Specifically, after the data to be stored is stored, it can be synchronized to the target data management system through a service bus (such as an ESB service bus). The target data management system is a data system that has a business relationship with the data to be stored. For example, these target data management systems can be PDM systems, ERP systems, etc.

[0074] For example, Figure 8 This is a logical diagram illustrating hierarchical storage of a first data table and a second data table, provided as an embodiment of the present invention. Figure 8As shown, TEMPLATE_MASTER is the template master table; TEMPLATE_FIELD_DEFINITION is the field definition table; ENCODING_RULE is the encoding rule table; MASTER_DATA_MAIN is the master table, which is the first data table; under this master table are three subsidiary tables, namely MASTER_DATA_DESIGN corresponding to design domain data, MASTER_DATA_PRODUCTION corresponding to production domain data, and MASTER_DATA_SUPPLY corresponding to supply chain data.

[0075] The technical solution of this invention, in response to a data storage request, determines the target template corresponding to the data to be stored from multiple templates in a template table. The target template defines the data structure required for the data to be stored in a first data table and a target second data table. Based on the target template, the first and second information of the data to be stored are determined. Based on the encoding rule table associated with the target template, the first information is encoded to obtain the first stored data, and the second information is encoded to obtain the second stored data. The encoding rule table records encoding rules configured for different field contents. This allows for separate processing of the information content to be stored, resulting in the necessary stored data for subsequent hierarchical storage. Then, the target second data table to which the data to be stored belongs is determined. The first stored data is written to the first data table, and the second stored data is written to the target second data table to store the data. This hierarchical storage architecture effectively adapts to the unique data structures of ships (such as segmented or nested compartment relationships), supports dynamic expansion, and offers flexible and efficient storage.

[0076] Figure 9 This is a schematic diagram of a data management device provided in an embodiment of the present invention. This embodiment is applicable to situations requiring unified management of data across multiple systems. The data management device can be implemented in software and / or hardware and is generally integrated into any electronic device with network communication capabilities, such as a mobile terminal, PC, or server. Figure 9 As shown, the data management device of this embodiment of the invention may include an encoding processing module 910, a target second data table determination module 920, and a data storage module 930. Wherein:

[0077] The encoding processing module 910 is used to respond to a data storage request by performing data encoding processing on the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and by performing data encoding processing on the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storing and managing preset core information of the data, and the second data tables are used for storing and managing detailed information of the data;

[0078] The target second data table determination module 920 is used to determine the target second data table to which the data to be stored belongs;

[0079] The data storage module 930 is used to write the first stored data to the first data table and to write the second stored data to the target second data table, so as to store the data to be stored.

[0080] The technical solution of this invention, in response to a data storage request, uses an encoding processing module to encode first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and to encode second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table. The first data table is associated with multiple different second data tables. The first data table is used for storing and managing preset core information of the data, and the second data tables are used for storing and managing detailed information of the data. This allows for separate processing of the information content to be stored in the data to be stored, resulting in the various parts of the stored data required for subsequent hierarchical storage. Then, a target second data table determination module determines the target second data table to which the data to be stored belongs. The data storage module writes the first stored data to the first data table and the second stored data to the target second data table to store the data to be stored. This solution, with its hierarchical storage architecture, is well-suited to the special data structures of ships (such as segmented or nested compartment relationships), supports dynamic expansion in the future, and offers flexible and efficient storage.

[0081] As an optional but non-limiting implementation, the encoding processing module 910 includes a target template determination unit, an information determination unit, and an encoding processing unit. Wherein:

[0082] The target template determination unit is used to determine the target template corresponding to the data to be stored from multiple templates in the template table; the target template is used to define the data structure that the data to be stored needs to be stored in the first data table and the target second data table;

[0083] An information determination unit is used to determine the first information and the second information of the data to be stored based on the target template;

[0084] An encoding processing unit is configured to perform data encoding processing on the first information based on an encoding rule table associated with the target template to obtain the first stored data; and to perform data encoding processing on the second information to obtain the second stored data; wherein the encoding rule table records encoding rules configured for different field contents respectively.

[0085] As an optional but non-limiting implementation, the template table is constructed as follows: Multiple data categories to be managed are identified; each data category represents a different type of data; based on the hierarchical relationship between the data categories and the field definition table, a corresponding template is constructed for each data category to obtain multiple templates; the field definition table is used to uniformly divide and define the information associated with each data category; and the template table is determined based on each template.

[0086] As an optional but non-limiting implementation, the data storage module 930 includes a data content determination unit and an encapsulation unit. Wherein:

[0087] A data content determination unit is used to determine the data content of the data to be stored.

[0088] The encapsulation unit is used to encapsulate the data content into JSON format data and store it in the target second data table.

[0089] As an optional but non-limiting implementation, the data management device also includes an identity token acquisition module, an authorization verification module, and a response module. Among them:

[0090] The identity token acquisition module is used to acquire the identity token corresponding to the data storage request;

[0091] The permission verification module is used to verify the permissions of the identity token.

[0092] The response module is used to respond to the data storage request if the permission verification is successful.

[0093] As an optional but non-limiting implementation, the method of obtaining the data to be stored includes at least one of the following: reading the data to be stored from a target database through a preset interface; the target database being a database storing the data to be stored; or obtaining the data to be stored by reading an uploaded spreadsheet file.

[0094] As an optional but non-limiting implementation, the data management device also includes:

[0095] The synchronization module is used to synchronize the data to be stored to the target data management system via the service bus; the target data management system is a data system that has a business relationship with the data to be stored.

[0096] The data management device provided in this embodiment of the invention can be used to execute data management methods, and has corresponding functional modules and beneficial effects for executing data management methods.

[0097] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of the present invention.

[0098] Figure 10 This is a schematic diagram of the structure of an electronic device that implements a data management method according to an embodiment of the present invention. The following refers to... Figure 10 The diagram illustrates a structural schematic of an electronic device 1010 suitable for implementing embodiments of the present invention. The terminal devices in these embodiments may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 10 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0099] like Figure 10As shown, the electronic device 1010 includes at least one processor 1011 and a memory, such as a read-only memory (ROM) 1012 or a random access memory (RAM) 1013, communicatively connected to the at least one processor 1011. The memory stores computer programs executable by the at least one processor. The processor 1011 can perform various appropriate actions and processes based on the computer program stored in the ROM 1012 or loaded into the RAM 1013 from storage unit 1018. The RAM 1013 may also store various programs and data required for the operation of the electronic device 1010. The processor 1011, ROM 1012, and RAM 1013 are interconnected via a bus 1014. An input / output (I / O) interface 1015 is also connected to the bus 1014.

[0100] Multiple components in electronic device 1010 are connected to input / output (I / O) interface 1015, including: input unit 1016, such as keyboard, mouse, etc.; output unit 1017, such as various types of displays, speakers, etc.; storage unit 1018, such as disk, optical disk, etc.; and communication unit 1019, such as network card, modem, wireless transceiver, etc. Communication unit 1019 allows electronic device 1010 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0101] Processor 1011 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 1011 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 1011 executes the data management methods provided in any embodiment of the present invention.

[0102] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the data management method shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 1019, or installed from storage unit 1018, or installed from read-only memory (ROM) 1012. When the computer program is executed by processor 1011, it performs the functions defined in the data management method of the embodiments of the present invention.

[0103] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0104] The electronic device provided in this embodiment of the invention and the data management method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0105] This invention provides a computer storage medium storing a computer program that, when executed by a processor, implements the data management method provided in the above embodiments.

[0106] It should be noted that the computer-readable medium described above in this invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0107] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0108] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0109] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0110] The units described in the embodiments of the present invention can be implemented in software or in hardware. The names of the units are not, in some cases, intended to limit the specific unit.

[0111] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0112] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0113] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.

[0114] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the invention. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0115] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A data management method, characterized in that, The method includes: In response to a data storage request, the system performs data encoding processing on the first information of the data to be stored based on a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and performs data encoding processing on the second information of the data to be stored based on a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storage management of preset core information of the data, and the second data tables are used for storage management of detailed information of the data; Determine the target second data table to which the data to be stored belongs; The first stored data is written to the first data table, and the second stored data is written to the target second data table to store the data to be stored.

2. The method according to claim 1, characterized in that, The first information of the data to be stored is processed by data encoding based on a preset encoding method to obtain the first stored data that meets the data storage requirements of the first data table; In addition, the second information of the data to be stored is encoded based on a preset encoding method to obtain second stored data that meets the data storage requirements of the second data table, including: From the multiple templates in the template table, the target template corresponding to the data to be stored is determined; the target template is used to define the data structure that the data to be stored needs to be stored in the first data table and the target second data table. Based on the target template, the first information and the second information of the data to be stored are determined; Based on the encoding rule table associated with the target template, the first information is processed by data encoding to obtain the first stored data; and the second information is processed by data encoding to obtain the second stored data; wherein, the encoding rule table records the encoding rules configured for different field contents respectively.

3. The method according to claim 2, characterized in that, The process of constructing the template table is as follows: Identify multiple data categories to be managed; each of these data categories represents a different type of data. Based on the hierarchical relationship between various data categories and the field definition table, a corresponding template is constructed for each data category to obtain multiple templates; The field definition table is used to uniformly divide and define the information associated with each data category; The template table is determined based on each template.

4. The method according to claim 1, characterized in that, The step of writing the second stored data to the target second data table includes: Determine the data content of the data to be stored; The data content is encapsulated into JSON format and stored in the target second data table.

5. The method according to claim 1, characterized in that, Before responding to a data storage request, it also includes: Obtain the identity token corresponding to the data storage request; Perform permission verification on the identity token; If the permission verification is successful, respond to the data storage request.

6. The method according to claim 1, characterized in that, The method for obtaining the data to be stored includes at least one of the following: The data to be stored is read from the target database through a preset interface; the target database is a database that stores the data to be stored. The uploaded spreadsheet file is read to obtain the data to be stored.

7. The method according to claim 1, characterized in that, After storing the data to be stored, the process also includes: The data to be stored is synchronized to the target data management system via a service bus; the target data management system is a data system that has a business relationship with the data to be stored.

8. A data management device, characterized in that, The device includes: The encoding processing module is used to respond to a data storage request by encoding the first information of the data to be stored according to a preset encoding method to obtain first stored data that meets the data storage requirements of a first data table; and by encoding the second information of the data to be stored according to a preset encoding method to obtain second stored data that meets the data storage requirements of a second data table; wherein, the first data table is associated with multiple different second data tables; the first data table is used for storing and managing preset core information of the data, and the second data tables are used for storing and managing detailed information of the data; The target second data table determination module is used to determine the target second data table to which the data to be stored belongs; The data storage module is used to write the first stored data to the first data table and to write the second stored data to the target second data table, so as to store the data to be stored.

9. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the data management method as described in any one of claims 1-7.

10. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the data management method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Smart port tallying data processing method and system, medium and product

    CN120256940A

  • Supporting blockchain collections in a database

    US20210073209A1