An object model-based differentiated storage, dynamic generation method and system

By obtaining the differences and characteristic character sets of object instances, a mapping table is dynamically generated for differentiated storage, which solves the problems of large storage space occupation and low access speed of object instances, and achieves efficient data synchronization and storage.

CN117972146BActive Publication Date: 2026-06-02SUPCON TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUPCON TECH CO LTD
Filing Date
2023-12-06
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In industrial automation systems, object instances consume a huge amount of storage space, have low access speeds, and low data synchronization efficiency, especially when object instance data needs to be synchronized after the object class is modified.

Method used

By obtaining object instances, determining object class data and differences, establishing a mapping table and extracting feature character sets, receiving real-time data and storing it with minimal semantic representation, determining the real-time data type and then storing or synchronizing it accordingly, and dynamically generating a mapping table to reduce storage space usage.

Benefits of technology

It achieves fast saving and efficient storage, meets the real-time data synchronization requirements in different scenarios, reduces the memory footprint of archives, and improves access speed and synchronization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117972146B_ABST
    Figure CN117972146B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of based on object model's different storage, dynamic generation method and system, the method includes: obtaining the object instance to be stored, determine the difference between corresponding object class data and object instance;And establish mapping table, extract feature character, obtain the feature character set corresponding to mapping table;Real-time data is received, judge real-time data is real-time object class data or real-time object instance;When real-time data is real-time object class data, real-time object class data is stored with minimum semantic expressible, and difference item list is generated in combination with object instance, generates real-time mapping table;When real-time object data is real-time object instance, determine real-time feature character;Compare real-time feature character with feature character set, when real-time feature character belongs to the feature character set, corresponding character in feature character set is repeatedly stored;When real-time feature does not belong to the feature character set, feature character is synchronized to the feature character set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data storage technology, and in particular to a differentiated storage and dynamic generation method and system based on an object model. Background Technology

[0002] The tobacco industry is currently highly competitive, and in industrial automation systems, data is generally managed through "objects." The form of objects varies across different control systems, including program objects, factory objects, and other types. An object typically includes object data, object logic (methods called internally by the object), and object interfaces (methods that can be called externally).

[0003] To achieve object reuse, multiple object instances based on the created object class can be quickly generated. If each object instance stores all the data of the object class, when the number of object instances is large, it will result in a huge amount of storage space occupied by all object instances, a decrease in object access speed, and low data synchronization efficiency, as the corresponding object instance data should be updated synchronously when the object class is modified. Summary of the Invention

[0004] To address the problems existing in the prior art, embodiments of the present invention provide a differentiated storage and dynamic generation method and system based on an object model.

[0005] This invention provides a differentiated storage and dynamic generation method based on an object model, comprising:

[0006] Obtain the object instance to be stored, compare the object instances, and determine the object class data corresponding to the object instance and the differences between the object instances based on the comparison results;

[0007] Based on the differences, a mapping table is established between the object class data and the object instance, and feature characters are extracted from the object instances in the mapping table to obtain the feature character set corresponding to the mapping table;

[0008] Receive real-time data and determine whether the real-time data is real-time object class data or a real-time object instance;

[0009] When the real-time data is real-time object class data, the real-time object class data is stored in a minimal semantically expressible manner, and a list of differences is generated in combination with the object instances. A real-time mapping table is generated based on the real-time object class data, object instances, and the list of differences.

[0010] When the real-time object data is a real-time object instance, the real-time object instance is compared with the object class data to determine the real-time feature characters of the real-time object instance;

[0011] Compare the real-time feature character with the feature character set. When the real-time feature character belongs to the feature character set, it is stored repeatedly with the corresponding character in the feature character set.

[0012] When the real-time feature does not belong to the feature character set, the feature character is synchronized to the feature character set.

[0013] In one embodiment, the method further includes:

[0014] Upon receiving an extension request, the corresponding object class data to be generated is determined based on the extension request, the corresponding object class data to be generated is generated, and it is determined whether the feature character conforms to the attribute type of the object class data to be generated.

[0015] When the feature character matches the attribute type of the object class data to be generated, the object instance corresponding to the feature character is saved to the object class data to be generated according to the attribute type.

[0016] In one embodiment, the method further includes:

[0017] Upon receiving a change request, determine whether the change request is an object class data change request;

[0018] When the change request is an object class data change request, the object class data is changed according to the change request.

[0019] In one embodiment, the method further includes:

[0020] By comparing object instances, the shared attributes and differences in the comparison results are obtained. Based on the shared attributes and the preset generation rules, the object class data is generated.

[0021] In one embodiment, the method further includes:

[0022] When changes are detected in object class data within the storage space, a corresponding change log is generated and sent back to the user terminal.

[0023] When a change is detected in an object instance within the storage space, a corresponding change log is generated.

[0024] This invention provides a differentiated storage and dynamic generation system based on an object model, comprising:

[0025] The acquisition module is used to acquire object instances to be stored, compare object instances, and determine the object class data corresponding to the object instance and the differences between object instances based on the comparison results.

[0026] The extraction module is used to establish a mapping table between the object class data and the object instance based on the difference item, and to extract feature characters from the object instance in the mapping table to obtain the feature character set corresponding to the mapping table;

[0027] A receiving module is used to receive real-time data and determine whether the real-time data is real-time object class data or a real-time object instance;

[0028] The storage module is used to store the real-time object class data in a minimal semantically expressible manner when the real-time data is real-time object class data, and generate a list of differences in combination with the object instances, and generate a real-time mapping table based on the real-time object class data, object instances, and the list of differences;

[0029] The comparison module is used to compare the real-time object instance with the object class data when the real-time object data is a real-time object instance, and determine the real-time feature characters of the real-time object instance.

[0030] The repeated storage module is used to compare the real-time feature character with the feature character set. When the real-time feature character belongs to the feature character set, it is repeatedly stored with the corresponding character in the feature character set.

[0031] The synchronization module is used to synchronize the feature character to the feature character set when the real-time feature does not belong to the feature character set.

[0032] In one embodiment, the system further includes:

[0033] The extension module is used to, upon receiving an extension request, determine the corresponding object class data to be generated based on the extension request, generate the corresponding object class data to be generated, and determine whether the feature character conforms to the attribute type of the object class data to be generated.

[0034] The corresponding saving module is used to save the object instance corresponding to the feature character to the object class data to be generated according to the attribute type when the feature character matches the attribute type.

[0035] In one embodiment, the system further includes:

[0036] The judgment module is used to determine whether a change request is an object class data change request when a change request is received;

[0037] The modification module is used to modify the object class data according to the modification request when the modification request is an object class data modification request.

[0038] This invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the above-described object-model-based differentiated storage and dynamic generation method.

[0039] This invention provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described object-model-based differentiated storage and dynamic generation method.

[0040] This invention provides a differentiated storage and dynamic generation method and system based on an object model. The method involves: acquiring object instances to be stored; comparing object instances; determining the object class data corresponding to the object instances and the differences between object instances based on the comparison results; establishing a mapping table between the object class data and object instances based on the differences; extracting feature characters from the object instances in the mapping table to obtain the feature character set corresponding to the mapping table; receiving real-time data and determining whether the real-time data is real-time object class data or real-time object instances; when the real-time data is real-time object class data, storing the real-time object class data with minimal semantic representation, and generating a list of differences based on object instances; generating a real-time mapping table based on the real-time object class data, object instances, and the difference list; when the real-time object data is a real-time object instance, comparing the real-time object instance with the object class data to determine the real-time feature characters of the real-time object instance; comparing the real-time feature characters with the feature character set; if the real-time feature characters belong to the feature character set, storing them repeatedly with the corresponding characters in the feature character set; if the real-time feature characters do not belong to the feature character set, synchronizing the feature characters to the feature character set. This ensures fast storage speed and small memory footprint. Furthermore, it dynamically constructs complete object instance data to meet the real-time data synchronization requirements in different scenarios, resulting in higher efficiency. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a flowchart of a differentiated storage and dynamic generation method based on an object model in an embodiment of the present invention;

[0043] Figure 2 This is a structural diagram of a differentiated storage and dynamic generation system based on an object model, as described in an embodiment of the present invention.

[0044] Figure 3 This is a schematic diagram of the electronic device structure in an embodiment of the present invention. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0046] Figure 1 A flowchart illustrating a differentiated storage and dynamic generation method based on an object model, as provided in this embodiment of the invention, is shown below. Figure 1 As shown, this embodiment of the invention provides a differentiated storage and dynamic generation method based on an object model:

[0047] Step S101: Obtain the object instance to be stored, compare the object instances, and determine the object class data corresponding to the object instance and the differences between the object instances based on the comparison results.

[0048] Specifically, in this embodiment, object class data is an abstract data type that defines a set of attributes and corresponding methods. For example, in the context of a control logic template object, the object class can be seen as an abstract model defining the control logic template, which includes the attributes and methods of the control logic. An object instance, on the other hand, is a concrete entity created based on an object class and can possess the attributes and methods defined by the object class. For example, in the context of a control logic template object, an object instance is a concrete control logic object created based on the object class, which can be bound to the controller, compiled, and downloaded to the controller for execution. After obtaining the object instances to be stored, the object instances are compared. The comparison results reveal shared attributes and differences among the object instances. The shared attributes of the object instances are extracted to determine the corresponding object class data. Additionally, the object class data can be customized according to user settings to meet the user's requirements for the object instances to be stored. Furthermore, the differences between object instances are stored for use in subsequent data parsing or synchronization processes.

[0049] Step S102: Based on the difference item, establish a mapping table between the object class data and the object instance, and extract feature characters from the object instances in the mapping table to obtain the feature character set corresponding to the mapping table.

[0050] Specifically, based on the differences between object instances, a corresponding mapping table can be established, mapping the differences of each object instance to the corresponding object class data. This may include defining the data structure for the mapping and the algorithm or logic for establishing the mapping relationship. For each object instance in the mapping table, feature character extraction can be performed to obtain the feature character set corresponding to that object instance. The extraction process may involve extracting key attribute values, identifiers, or other important information and converting them into feature characters. Through feature character extraction, the feature character set corresponding to each object instance will be obtained. These feature characters can be used for further analysis, comparison, or storage for subsequent data processing and application. Furthermore, when storing the difference items, a variable-length integer format can be used. This means that you can dynamically allocate storage space and flexibly store the difference items according to their length, thereby minimizing storage space usage. Moreover, by using a variable-length integer format to store the difference items, storage space can be dynamically allocated based on the actual content length, thus avoiding the space waste caused by fixed-length storage and minimizing storage space usage as much as possible.

[0051] Step S103: Receive real-time data and determine whether the real-time data is real-time object class data or a real-time object instance.

[0052] Specifically, after receiving real-time data that needs to be stored, the data can be parsed to extract key information and structure. After parsing, the data can be identified as either real-time object data or real-time object instances based on specific identifiers, structures, or other characteristics, such as whether it contains special user requirements. Additionally, the data type can be determined based on business rules. Based on the business requirements and logic of related business processes, and combined with relevant rules within the business system, it can be determined whether the received data belongs to object-type data or object instance data.

[0053] Step S104: When the real-time data is real-time object class data, store the real-time object class data in a minimal semantically expressible manner, and generate a list of differences in combination with the object instances. Then, generate a real-time mapping table based on the real-time object class data, object instances, and the list of differences.

[0054] Specifically, when the real-time data is real-time object-type data, it can be stored in a minimally semantically expressible manner. This may involve selecting an appropriate data structure and storage format to effectively represent the semantic information of the object-type data while minimizing storage space usage. Then, the real-time object-type data, object instances, and a list of differences between the object instances are combined. These differences may include object instance-specific attributes or other content different from the object-type data. Based on the real-time object-type data, object instances, and the list of differences, a real-time mapping table can be generated. The real-time mapping table can be used to map the differences between object instances to the object-type data and may include operations such as feature character extraction.

[0055] Step S105: When the real-time object data is a real-time object instance, compare the real-time object instance with the object class data to determine the real-time feature characters of the real-time object instance.

[0056] Specifically, when the real-time data is a real-time object instance, the definition of the object class data, including the object class's attributes and structure, needs to be obtained first. This serves as a reference standard for subsequent comparisons. Then, relevant information about the real-time object instance is extracted from the received real-time data, ensuring that it includes the attributes and values ​​corresponding to the real-time object instance. Next, the real-time object instance is compared with the object class data to determine the characteristic characters of the real-time object instance. This may involve checking for attributes or values ​​in the real-time object instance that differ from those in the object class data, as well as capturing real-time changes. Based on the comparison results, the characteristic characters of the real-time object instance are determined. These characteristic characters can be attributes or values ​​that change in real time, or other information that can characterize the state of the real-time object instance.

[0057] Step S106: Compare the real-time feature character with the feature character set. When the real-time feature character belongs to the feature character set, store it repeatedly with the corresponding character in the feature character set.

[0058] Specifically, the real-time feature character is compared with all the pre-stored characters in the feature character set. When the real-time feature character belongs to one of the feature character sets, the corresponding character in the feature character set is stored repeatedly. This repeated storage can be done by adding a duplicate mark to the object instance corresponding to the feature character, or by updating and storing the duplicate data.

[0059] Step S107: When the real-time feature does not belong to the feature character set, synchronize the feature character to the feature character set.

[0060] Specifically, the real-time feature character is compared with all pre-stored characters in the feature character set. If the real-time feature character does not belong to any of the feature character sets, the feature character is synchronized to the feature character set. This includes adding new feature character records or updating existing records. After synchronizing the feature characters, the real-time object instance is also updated, and the attributes and values ​​in the real-time object instance are saved in the corresponding storage space.

[0061] Additionally, upon receiving an expansion request for object class data within the storage space, the system determines the corresponding object class data to be generated based on the expansion request, generates the corresponding object class data, and checks whether the characteristic characters match the attribute type of the object class data. If the characteristic characters match the attribute type of the object class data, it means that the characteristic characters can be stored in the object class data required by the expansion request, and the object instance corresponding to the characteristic characters is saved according to the attribute type in the object class data. If a change request is received, it checks whether the change request is an object class data change request, i.e., whether it is a change to the object class data or a change to the object instance. If the change request is an object class data change request, the object class data is directly changed according to the change request, and there is no need to process the object instance.

[0062] Additionally, when changes are detected in object class data within the storage space, it indicates a significant change in the storage space, potentially requiring user cooperation or triggering a warning. In this case, a corresponding change log is generated and sent back to the user's terminal. When changes are detected in object instances within the storage space, it is highly likely that only a small portion or individual data has been updated, and a corresponding change log is generated.

[0063] This invention provides a differentiated storage and dynamic generation method based on an object model. The method involves acquiring object instances to be stored, comparing these instances, and determining the corresponding object class data and differences between the object instances based on the comparison results. Based on these differences, a mapping table is established between the object class data and the object instances. Feature characters are extracted from the object instances in the mapping table to obtain a feature character set corresponding to the mapping table. Real-time data is received and determined to be either real-time object class data or real-time object instances. When the real-time data is real-time object class data, it is stored using minimal semantic representation and a list of differences is generated based on the object instances. A real-time mapping table is generated based on the real-time object class data, object instances, and the difference list. When the real-time object data is a real-time object instance, the real-time object instance is compared with the object class data to determine its real-time feature characters. The real-time feature characters are compared with the feature character set. If the real-time feature character belongs to the feature character set, it is stored repeatedly with the corresponding character in the feature character set. If the real-time feature character does not belong to the feature character set, it is synchronized to the feature character set. This method ensures fast storage speed and small memory footprint. Furthermore, it dynamically constructs complete object instance data to meet the real-time data synchronization requirements in different scenarios, resulting in higher efficiency.

[0064] Figure 2 A differentiated storage and dynamic generation system based on an object model, provided in an embodiment of the present invention, includes: an acquisition module S201, an extraction module S202, a receiving module S203, a storage module S204, a comparison module S205, a duplicate storage module S206, and a synchronization module S207, wherein:

[0065] The acquisition module S201 is used to acquire the object instance to be stored, compare the object instances, and determine the object class data corresponding to the object instance and the differences between the object instances based on the comparison results.

[0066] The extraction module S202 is used to establish a mapping table between the object class data and the object instance based on the difference item, and to extract feature characters from the object instance in the mapping table to obtain the feature character set corresponding to the mapping table;

[0067] The receiving module S203 is used to receive real-time data and determine whether the real-time data is real-time object class data or real-time object instance;

[0068] The storage module S204 is used to store the real-time object class data in a minimal semantically expressible manner when the real-time data is real-time object class data, and generate a list of differences in combination with the object instance, and generate a real-time mapping table based on the real-time object class data, object instance, and list of differences;

[0069] The comparison module S205 is used to compare the real-time object instance with the object class data when the real-time object data is a real-time object instance, and determine the real-time feature characters of the real-time object instance.

[0070] The repeated storage module S206 is used to compare the real-time feature character with the feature character set, and when the real-time feature character belongs to the feature character set, it is repeatedly stored with the corresponding character in the feature character set;

[0071] The synchronization module S207 is used to synchronize the feature character to the feature character set when the real-time feature does not belong to the feature character set.

[0072] In one embodiment, the system further includes:

[0073] The extension module is used to, upon receiving an extension request, determine the corresponding object class data to be generated based on the extension request, generate the corresponding object class data to be generated, and determine whether the feature character conforms to the attribute type of the object class data to be generated.

[0074] The corresponding saving module is used to save the object instance corresponding to the feature character to the object class data to be generated according to the attribute type when the feature character matches the attribute type.

[0075] In one embodiment, the system further includes:

[0076] The judgment module is used to determine whether a change request is an object class data change request when a change request is received;

[0077] The modification module is used to modify the object class data according to the modification request when the modification request is an object class data modification request.

[0078] For specific limitations regarding the object-model-based differentiated storage and dynamic generation system, please refer to the limitations of the object-model-based differentiated storage and dynamic generation method mentioned above, which will not be repeated here. Each module in the above-mentioned object-model-based differentiated storage and dynamic generation system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0079] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3As shown, the electronic device may include: a processor 301, a memory 302, a communication interface 303, and a communication bus 304, wherein the processor 301, the memory 302, and the communication interface 303 communicate with each other through the communication bus 304. The processor 301 can call logical instructions in the memory 302 to execute the following methods: obtain an object instance to be stored, compare the object instances, determine the object class data corresponding to the object instance and the differences between the object instances based on the comparison results; based on the differences, establish a mapping table between the object class data and the object instances, and extract feature characters from the object instances in the mapping table to obtain the feature character set corresponding to the mapping table; receive real-time data and determine whether the real-time data is real-time object class data or real-time object instance; when the real-time data is real-time object class data, store the real-time object class data in a minimal semantically expressible manner, and generate a list of differences in combination with the object instances, and generate a real-time mapping table based on the real-time object class data, object instances, and the list of differences; when the real-time object data is a real-time object instance, compare the real-time object instance with the object class data to determine the real-time feature characters of the real-time object instance; compare the real-time feature characters with the feature character set, and when the real-time feature characters belong to the feature character set, store them repeatedly with the corresponding characters in the feature character set; when the real-time feature characters do not belong to the feature character set, synchronize the feature characters to the feature character set.

[0080] Furthermore, the logical instructions in the aforementioned memory 302 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0081] On the other hand, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the transmission methods provided in the above embodiments, including, for example,: acquiring an object instance to be stored; comparing the object instances; determining the object class data corresponding to the object instance and the differences between the object instances based on the comparison results; establishing a mapping table between the object class data and the object instances based on the differences, and extracting feature characters from the object instances in the mapping table to obtain the feature character set corresponding to the mapping table; receiving real-time data and determining whether the real-time data is real-time object class data or real-time... Object instances; when real-time data is real-time object class data, the real-time object class data is stored with minimal semantic representation, and a list of differences is generated in combination with object instances. A real-time mapping table is generated based on the real-time object class data, object instances, and the list of differences. When real-time object data is a real-time object instance, the real-time object instance is compared with the object class data to determine the real-time feature character of the real-time object instance. The real-time feature character is compared with the feature character set. When the real-time feature character belongs to the feature character set, it is stored repeatedly with the corresponding character in the feature character set. When the real-time feature does not belong to the feature character set, the feature character is synchronized to the feature character set.

[0082] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0083] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A differentiated storage and dynamic generation method based on an object model, characterized in that, include: Obtain the object instance to be stored, compare the object instances, and determine the object class data corresponding to the object instance and the differences between the object instances based on the comparison results; The comparison object instance, based on the comparison results, determines the object class data corresponding to the object instance and the differences between object instances, including: By comparing object instances, the shared attributes and differences in the comparison results are obtained. Based on the shared attributes and a preset generation rule, the object class data is generated. Based on the differences, a mapping table is established between the object class data and the object instance, and feature characters are extracted from the object instances in the mapping table to obtain the feature character set corresponding to the mapping table; Receive real-time data and determine whether the real-time data is real-time object class data or a real-time object instance; When the real-time data is real-time object class data, the real-time object class data is stored with minimal semantic expression, and a list of differences is generated in combination with the object instance. A real-time mapping table is generated based on the real-time object class data, object instance, and list of differences. When the real-time data is a real-time object instance, the real-time characteristic characters of the real-time object instance are determined by comparing the real-time object instance with the object class data. Compare the real-time feature character with the feature character set. When the real-time feature character belongs to the feature character set, it is stored repeatedly with the corresponding character in the feature character set. When the real-time feature character does not belong to the feature character set, the real-time feature character is synchronized to the feature character set.

2. The differentiated storage and dynamic generation method based on an object model according to claim 1, characterized in that, The method further includes: Upon receiving a change request, determine whether the change request is an object class data change request; When the change request is an object class data change request, the object class data is changed according to the change request.

3. The differentiated storage and dynamic generation method based on an object model according to claim 1, characterized in that, The method further includes: When changes are detected in object class data within the storage space, a corresponding change log is generated and sent back to the user terminal. When a change is detected in an object instance within the storage space, a corresponding change log is generated.

4. A differentiated storage and dynamic generation system based on an object model, characterized in that, The system includes: The acquisition module is used to acquire object instances to be stored, compare object instances, and determine the object class data corresponding to the object instance and the differences between object instances based on the comparison results. The comparison object instance, based on the comparison results, determines the object class data corresponding to the object instance and the differences between object instances, including: By comparing object instances, the shared attributes and differences in the comparison results are obtained. Based on the shared attributes and a preset generation rule, the object class data is generated. The extraction module is used to establish a mapping table between the object class data and the object instance based on the difference item, and to extract feature characters from the object instance in the mapping table to obtain the feature character set corresponding to the mapping table; A receiving module is used to receive real-time data and determine whether the real-time data is real-time object class data or a real-time object instance; The storage module is used to store the real-time object class data with minimal semantic expression when the real-time data is real-time object class data, and generate a list of differences in combination with the object instance, and generate a real-time mapping table based on the real-time object class data, object instance, and list of differences; The comparison module is used to compare the real-time object instance with the object class data when the real-time data is a real-time object instance, and determine the real-time feature characters of the real-time object instance. The repeated storage module is used to compare the real-time feature character with the feature character set. When the real-time feature character belongs to the feature character set, it is repeatedly stored with the corresponding character in the feature character set. The synchronization module is used to synchronize the real-time feature character to the feature character set when the real-time feature character does not belong to the feature character set.

5. The object-model-based differentiated storage and dynamic generation system according to claim 4, characterized in that, The system also includes: The judgment module is used to determine whether a change request is an object class data change request when a change request is received; The modification module is used to modify the object class data according to the modification request when the modification request is an object class data modification request.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the object model-based differentiated storage and dynamic generation method as described in any one of claims 1 to 3.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the object-model-based differentiated storage and dynamic generation method as described in any one of claims 1 to 3.