Data storage and sharing method, and entity and storage medium

By decoupling the application functions and model object library in the energy storage system and configuring the data link and transmission protocol, the flexibility and real-time issues of massive storage in the energy storage system are solved, enabling rapid data sharing and efficient access.

WO2026007305A1PCT designated stage Publication Date: 2026-01-08CONTEMPORARY AMPEREX FUTURE ENERGY RES INST (SHANGHAI) LTD +1

Patent Information

Application Number
PCT/CN2024/132650
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-30
Filing Date
2024-11-18
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

Existing mass storage methods in energy storage systems suffer from insufficient flexibility and poor real-time performance, leading to wasted storage resources and untimely data access.

Method used

By acquiring matrix mapping information based on the global hardware's total matrix mapping information, decoupling the first application function from the model object library, configuring data links and transmission protocols, and realizing the rapid sharing of massive amounts of data among multiple entities.

Benefits of technology

It improves the effectiveness of data storage and the real-time nature of access, reduces the data request and interaction process, and enhances the flexibility and efficiency of data sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024132650_08012026_PF_FP_ABST
    Figure CN2024132650_08012026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a data storage and sharing method, and an entity and a storage medium. The method comprises: on the basis of application functions deployed by a first entity, acquiring matrix mapping information from overall matrix mapping information of global hardware, wherein the matrix mapping information indicates correspondences between the first entity and resources of global application objects stored thereon; extracting, from global resources in the matrix mapping information, a first application function of a first application object and a model object library; and on the basis of the first application function of the first application object and the model object library, determining a data link, and performing data sharing with a second application object, wherein there is a sharing relationship between the second application object and the first application object.
Need to check novelty before this filing date? Find Prior Art

Description

Data storage and sharing method and entity, storage medium

[0001] Cross-reference of related applications

[0002] The present disclosure is based on the Chinese patent application No. 202410868133.4, filed on June 30, 2024, entitled "Data storage and sharing method and entity, storage medium", and claims priority to the Chinese patent application, the entire contents of which are hereby incorporated by reference into the present disclosure. TECHNICAL FIELD

[0003] The present disclosure relates to the field of data storage, and in particular to a data storage and sharing method and entity, storage medium. BACKGROUND

[0004] With the development of large-scale energy storage systems, the safety of energy storage systems is facing challenges. In order to improve the comprehensive monitoring of safety parameters of energy storage systems, especially battery systems, in a single energy storage power station, there will be millions of monitoring data objects per second, and there is a huge storage demand.

[0005] In the current field of energy storage power stations, the typical method of mass storage is to store through single hardware or multiple hardware system entity resources in parallel, or to expand storage through static configuration expansion. The above method has the problem of insufficient flexibility, and there is also a certain waste of storage system resources. In addition, the stored data has the problem of poor real-time performance when used by the application end on demand in high-traffic and high-real-time scenarios. SUMMARY

[0006] The embodiments of the present disclosure expect to provide a data storage and sharing method and entity, storage medium, which can improve the effectiveness of data storage and the real-time performance of data access.

[0007] The technical solution of the present disclosure is implemented as follows:

[0008] The embodiments of the present disclosure provide a data storage and sharing method, which comprises:

[0009] Based on the application function deployed by the first entity, the matrix mapping information is obtained from the total matrix mapping information of the global hardware; the matrix mapping information represents the corresponding relationship between the first entity and the resources of the global application object stored thereon;

[0010] The first application function and the model object library of the first application object are extracted from the global resources in the matrix mapping information;

[0011] The data link is determined based on the first application function and the model object library of the first application object, and data sharing with the second application object is performed.

[0012] It can be understood that, since the matrix mapping information is first entity related information, the first application function and the model object library of the first application object are separated from the global resource, the decoupling of the first application function and the model object library is achieved, the stored matrix mapping information is decoupled in information association, the flexibility of subsequent information updating and expansion is improved, and the effectiveness of data storage is improved. When the first application object and the second application object perform data interaction, data interaction can be directly transmitted through the data link. In the scenario where the first application object and the second application object belong to different entities, the data request interaction process is reduced. Through the data link determined based on the first application function and the model object library of the first application object, massive data sharing between multiple entities is realized, and the real-time performance of massive data access is improved.

[0013] In the above scheme, the matrix mapping information is obtained from the total matrix mapping information of the global hardware based on the application function deployed by the first entity, including:

[0014] The deployment requirement is sent based on the application function of each application object deployed by the first entity.

[0015] The matrix mapping information segmented from the total matrix mapping information of the global hardware is obtained based on the deployment requirement.

[0016] It can be understood that, by sending the deployment requirement based on the application function of each application object deployed by the first entity, the matrix mapping information segmented from the total matrix mapping information of the global hardware can be obtained based on the deployment requirement. Therefore, the first entity can obtain the corresponding matrix mapping information, so that subsequent data sharing can be performed through the matrix mapping information.

[0017] In the above scheme, the data link is determined based on the first application function and the model object library of the first application object, and data sharing with the second application object is performed, including:

[0018] The link multicast protocol is configured based on the first application function and the model object library of the first application object, so as to determine the data link.

[0019] The second application object is shared through the data link based on the second application function identifier group extracted from the global resource in the matrix mapping information; the second application function identifier group corresponds to the second application object; the first entity and the second entity use the same data transmission protocol for data transmission.

[0020] It can be understood that, since the first entity and the second entity adopt the same data transmission protocol for data transmission, in the scenario that the first application object and the second application object belong to different entities, the interaction process of the data request is reduced. By configuring the link multicast protocol based on the first application function and the model object library of the first application object, the data link is determined, the rapid data sharing of the massive data between multiple entities is realized, and the real-time performance of the massive data access is improved.

[0021] In the above scheme, the data link includes: a first data link;

[0022] Based on the first application function and the model object library of the first application object, the link multicast protocol is configured, and the data link is determined, including:

[0023] In the case that the first application function of the first application object represents a publishing function, based on the attribute information of each model in the publishing model object library, a plurality of first data queue information is determined; the plurality of first data queue information respectively includes a publishing identifier and a first link layer data packet; the model object library includes a publishing model object library;

[0024] Based on the plurality of first data queue information, the link multicast protocol is configured, and the first data link is determined.

[0025] It can be understood that, in the case that the first application function of the first application object represents a publishing function, based on the attribute information of each model in the publishing model object library, a plurality of first data queue information is determined, which provides data to be shared for subsequent data sharing. In addition, based on the plurality of first data queue information, the link multicast protocol is configured, and the first data link is determined, and data transmission is performed through the first data link, without the need for compatibility configuration between entities, so that rapid data sharing of massive data between multiple entities is realized, and the real-time performance of massive data access is improved.

[0026] In the above scheme, the attribute information includes: model importance and dynamic priority;

[0027] Based on the attribute information of each model in the publishing model object library, a plurality of first data queue information is determined, including:

[0028] Based on at least one of the model importance and the dynamic priority of each model in the publishing model object library, a sending order of the model object library of each model is determined;

[0029] Based on the sending order, a plurality of first data queue information is determined.

[0030] It can be understood that the sending order of the model object library of each model is determined according to at least one of the model importance and the dynamic priority of each model in the model object library, the plurality of first data queue information is determined based on the sending order, so that the plurality of first data queue information has the order, and when subsequent data publishing is performed, the data with high importance or high priority can be ensured to be issued preferentially, and the timeliness and effectiveness of the data in the data sharing process are improved.

[0031] In the above scheme, the second application object is shared with data based on the second application function identifier group extracted from the global resource in the matrix mapping information through the data link, and the method comprises the following steps of:

[0032] If it is determined to send the publishing model object library, the first link layer data packet of the publishing model object library is sent to the second entity through the first data link based on the second application function identifier group.

[0033] It can be understood that in the process of sending the first link layer data packet to the second entity through the first data link based on the second application function identifier group, no compatible configuration between entities is required, and massive data can be quickly shared between multiple entities, thereby improving the real-time performance of massive data access.

[0034] In the above scheme, the data link comprises a second data link.

[0035] Based on the first application function of the first application object and the model object library, a link multicast protocol is configured to determine the data link, and the method comprises the following steps of:

[0036] In the case that the first application function of the first application object represents a subscription function, a multicast filtering address of the second data link is configured based on the target address of the subscription model object library of the subscription, and the second data link is listened to; the model object library comprises the target address of the subscription model object library.

[0037] It can be understood that in the case that the first application function of the first application object represents a subscription function, a multicast filtering address of the second data link is configured based on the target address of the subscription model object library of the subscription, and the second data link is listened to; the model object library comprises the target address of the subscription model object library.

[0038] In the above scheme, the second application object is shared with data based on the second application function identifier group extracted from the global resource in the matrix mapping information through the data link, and the method comprises the following steps of:

[0039] The second link layer data packet sent by the second entity is received based on the second application function identification group through the second data link.

[0040] It can be understood that the second link layer data packet sent by the second entity is received based on the second application function identification group through the second data link. Since the second link layer data packet sent by the second entity is received through the second data link, the compatibility configuration between entities is not required, so that massive data sharing between multiple entities can be realized quickly, and the real-time performance of massive data access is improved.

[0041] In the above scheme, the target publishing model object library includes a first publishing identifier, a model code identifier and a storage resource identifier; and the subscription model object library includes a second publishing identifier, an entity identifier and a subscription identifier group.

[0042] The second link layer data packet is filtered and extracted based on the target publishing model object library and the subscription model object library corresponding to the first application object, to determine the subscription data, including:

[0043] In the case that the first publishing identifier and the second publishing identifier are matched successfully, the model code identifier is matched with the entity identifier;

[0044] In the case that the model code identifier and the entity identifier are matched successfully, the storage resource identifier is matched with the subscription identifier group;

[0045] In the case that the storage resource identifier and the subscription identifier group are matched successfully, the model code identifier is parsed, and in the case that the model code identifier is a valid identifier in the local configuration model information, the subscription data information is determined.

[0046] It can be understood that since the subscription data is determined in the case that the first publishing identifier and the second publishing identifier are matched successfully, the model code identifier is matched with the entity identifier; in the case that the model code identifier and the entity identifier are matched successfully, the storage resource identifier is matched with the subscription identifier group; and in the case that the storage resource identifier and the subscription identifier group are matched successfully, the model code identifier is parsed, and in the case that the model code identifier is a valid identifier in the local configuration model information, this process performs a series of identifier matching processing, invalid information can be removed, and the effectiveness of data processing can be improved.

[0047] In the above scheme, the method further includes:

[0048] If the global resource of the online updating matrix mapping information is updated, an updating deployment requirement is issued based on the application function of each application object deployed by the first entity;

[0049] The updated matrix mapping information segmented from the total matrix mapping information of the global hardware is received in response to the updating deployment requirement;

[0050] Based on the updated matrix mapping information, an updated model object library is confirmed for next data sharing.

[0051] It can be understood that, since the matrix mapping information is first entity related information, the first application function and the model object library of the first application object in the global resource thereof are separated as different information, the decoupling of the first application function and the model object library is realized, thus the stored matrix mapping information realizes the decoupling in information association, after the matrix mapping information is updated, the updated model object library is confirmed, the flexibility of the update and expansion of the model object library is improved, and the effectiveness of data storage is improved.

[0052] In the above scheme, the method further includes:

[0053] In the case that the application function represents a publishing function, the updated model object library is notified to the subscribed second application object.

[0054] It can be understood that the publishing model object library of the first entity can be synchronized with the local model library of the second entity, and subsequent data sharing is facilitated.

[0055] In the above scheme, the method further includes:

[0056] In the case that the application function represents a publishing function, if the global resource of the matrix mapping information is not updated online, it is determined whether to send the publishing model object library.

[0057] It can be understood that, in the case that the application function represents a publishing function, if the global resource of the matrix mapping information is not updated online, it is determined whether to send the publishing model object library, so as to realize data sharing. In the case that the matrix mapping information is not updated, it is determined whether to send the publishing model object library, which can avoid repeated sending of data information, thus improving the efficiency of data sharing and the effectiveness of data transmission.

[0058] In the above scheme, the matrix mapping information includes: entity identifier, storage resource identifier, first application function identifier, second application function identifier group, and model object library; wherein, when the first application function identifier is a publishing identifier, the second application function identifier group is a subscription identifier group, and the model object library is a publishing model object library; when the first application function identifier is a subscription identifier, the second application function identifier group is a publishing identifier group, and the model object library is a subscription model object library.

[0059] It can be understood that the matrix mapping information first entity related information is separated from the global resource of the first application object first application function and the model object library, and the decoupling of the first application function and the model object library is realized. Therefore, the stored matrix mapping information realizes the decoupling of information association, improves the flexibility of subsequent information update and expansion, and improves the effectiveness of data storage.

[0060] In the above scheme, the model object library includes: model code identifier, model importance, dynamic priority, associated storage resource and associated function resource; the associated function resource includes: associated publishing resource or associated subscription resource.

[0061] It can be understood that the further explanation of the model object library can intuitively understand the content of the model object library. The model object library is an updateable resource library, which is convenient for subsequent data update, thereby improving the effectiveness of data storage.

[0062] In the above scheme, the data transmission protocol includes unicast protocol, multicast protocol or broadcast protocol.

[0063] It can be understood that the data transmission protocol includes unicast protocol, multicast protocol or broadcast protocol, which provides the diversity of data transmission protocol.

[0064] The embodiment of the disclosure provides an entity, and the entity comprises an acquisition unit, an extraction unit and a sharing unit, wherein,

[0065] The acquisition unit is configured to acquire matrix mapping information from total matrix mapping information of a global hardware based on an application function deployed by a first entity; the matrix mapping information represents a corresponding relationship between the first entity and a resource of a global application object stored thereon;

[0066] The extraction unit is configured to extract a first application function of a first application object and a model object library from the global resource in the matrix mapping information;

[0067] The sharing unit is configured to determine a data link based on the first application function of the first application object and the model object library, and perform data sharing with a second application object; the second application object has a sharing relationship with the first application object.

[0068] The embodiment of the disclosure provides an entity, comprising a processor and a memory, wherein,

[0069] The memory is configured to store a computer program;

[0070] The processor is configured to call and run the computer program from the memory to execute the above-mentioned data storage and sharing method.

[0071] The embodiment of the present disclosure provides a computer readable storage medium, which stores executable instructions, and is used for causing a processor to execute the data storage and sharing method.

[0072] The embodiment of the present disclosure provides a data storage and sharing method and entity, and a storage medium. The method comprises the following steps: obtaining matrix mapping information from total matrix mapping information of global hardware based on an application function of a first entity; the matrix mapping information represents a corresponding relationship between the first entity and resources of a global application object stored on the first entity; extracting a first application function and a model object library of a first application object from the global resources in the matrix mapping information; determining a data link based on the first application function and the model object library of the first application object, and performing data sharing with a second application object; the second application object has a sharing relationship with the first application object. By using the above scheme, since the matrix mapping information is information related to the first entity, the first application function and the model object library of the first application object are separated from the global resources, the decoupling of the first application function and the model object library is realized, and therefore, the matrix mapping information stored is decoupled in information association, the flexibility of subsequent information updating and expansion is improved, and the effectiveness of data storage is improved. When the first application object and the second application object perform data interaction, data interaction can be directly transmitted through the data link, in the case that the first application object and the second application object belong to different entities, the interaction process of data request is reduced, the data link determined based on the first application function and the model object library of the first application object is used to realize rapid data sharing of massive data between multiple entities, and the real-time performance of massive data access is improved. BRIEF DESCRIPTION OF DRAWINGS

[0073] The drawings incorporated in the specification and forming a part thereof illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure. It is clear that the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings according to these drawings without creative labor.

[0074] The flowchart shown in the drawings is only an exemplary description, and is not necessarily required to include all contents and operations / steps, and is not necessarily required to be executed in the order described. For example, some operations / steps can be further decomposed, and some operations / steps can be combined or partially combined, so that the actual execution order can be changed according to the actual situation.

[0075] FIG. 1 is an optional flowchart of a data storage and sharing method according to an embodiment of the present disclosure;

[0076] Fig. 2 is a schematic diagram of one optional distributed storage scheme scenario of a data storage and sharing method according to an embodiment of the present disclosure;

[0077] Fig. 3 is a schematic diagram of one optional matrix mapping information of a data storage and sharing method according to an embodiment of the present disclosure;

[0078] Fig. 4 is a schematic diagram of one optional model data block of a data storage and sharing method according to an embodiment of the present disclosure;

[0079] Fig. 5 is a schematic diagram of one optional flow of a data storage and sharing method according to an embodiment of the present disclosure;

[0080] Fig. 6 is a schematic diagram of one optional flow of a data storage and sharing method according to an embodiment of the present disclosure;

[0081] Fig. 7 is a schematic diagram of one optional flow of a data storage and sharing method according to an embodiment of the present disclosure;

[0082] Fig. 8 is a schematic diagram of one optional flow of a data storage and sharing method according to an embodiment of the present disclosure;

[0083] Fig. 9 is a schematic diagram of a structure of an entity according to an embodiment of the present disclosure;

[0084] Fig. 10 is a schematic diagram of another structure of an entity according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0085] In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure clearer, the following will further describe the specific technical solutions of the present disclosure with reference to the drawings in the embodiments of the present disclosure. The following embodiments are used to explain the present disclosure, but are not used to limit the scope of the present disclosure.

[0086] Unless otherwise defined, all technical and scientific terms used in the present disclosure have the same meaning as commonly understood by one of ordinary skill in the art to which the present disclosure belongs. The terms used in the present disclosure are only for the purpose of describing the embodiments of the present disclosure, and are not intended to limit the present disclosure.

[0087] In the following description, "some embodiments", "the embodiment", "embodiments of the present disclosure" and the like describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0088] If the application file contains similar descriptions such as "first / second", the following description is added: in the following description, the terms "first, second, third" only distinguish similar objects, and do not represent a specific order of the objects. Understandably, "first, second, third" can be interchanged in a specific order or sequence as allowed, so that the embodiments of the disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0089] Figure 1 is an optional flowchart of a data storage and sharing method provided by an embodiment of the disclosure. As shown in Figure 1, the data storage and sharing method includes the following steps:

[0090] S101, based on the application function deployed by the first entity, obtaining matrix mapping information from the total matrix mapping information of the global hardware; the matrix mapping information represents the correspondence between the first entity and the resources of the global application object stored thereon.

[0091] In some embodiments of the disclosure, the data storage and sharing method is suitable for power system and mass data processing scenarios.

[0092] In some embodiments of the disclosure, with the development of large-scale energy storage systems, the safety of energy storage systems is facing challenges. In order to improve the energy storage system, the disclosure establishes a global model matrix mapping information for distributed storage of mass data.

[0093] In some embodiments of the disclosure, the execution subject is any one of the plurality of entities, i.e. the first entity. In the power system and mass data processing scenario, the first entity can be a first server. The first server is an accessed distributed storage server. The first server can be an edge server, a cloud server, etc.

[0094] The data storage and sharing method provided by the embodiments of the disclosure can be applied to different data storage scenarios, and the embodiments of the disclosure are not limited. In the case of a cloud server as the first server, when applied to the scenario of an energy storage system, the first server can be an energy storage system cloud platform, which can be connected to the energy storage system for management. Through the energy storage system cloud platform, the operation data of the devices collected by each energy storage system is stored and shared.

[0095] In addition, in the case that the first server is an edge server, in the scenario of the energy storage system, the first server can also be a controller in an energy management system (EMS) in the distributed energy storage system, that is, an industrial computer. The energy storage system can include an energy storage device, a battery management system (BMS), an energy management system, and the like.

[0096] In some embodiments of the present disclosure, the application function deployed by the first entity can include a subscription function and / or a publishing function.

[0097] In some embodiments of the present disclosure, the matrix mapping information represents the correspondence between the first entity and the resources of the global application object stored thereon. The matrix mapping information is the global model data resource allocated to the first entity after the object segmentation of the global model object information based on the case of the entity accessing the energy storage power station. The matrix mapping information includes an entity identifier, a storage resource identifier, a first application function identifier, a second application function identifier group, and a model object library. When the first application function identifier is a publishing identifier, the second application function identifier group is a subscription identifier group, and the model object library is a publishing model object library. When the first application function identifier is a subscription identifier, the second application function identifier group is a publishing identifier group, and the model object library is a subscription model object library.

[0098] In some embodiments of the present disclosure, the total matrix mapping information of the global hardware can represent the storage locations of all data resources, and different data resources are stored in different entity hardware, so that all data resources are stored in a distributed manner by multiple entities, and each entity corresponds to a matrix mapping information. The entity identifier and the storage resource identifier are stored in the matrix mapping information, so as to reflect the correspondence between the entity and the storage resource.

[0099] In some embodiments of the present disclosure, the first entity is any accessed entity.

[0100] In some embodiments of the present disclosure, the first entity can obtain the matrix mapping information by issuing a deployment requirement based on the application function of each application object deployed by the first entity. The matrix mapping information segmented from the total matrix mapping information of the global hardware is received in response to the deployment requirement.

[0101] In some embodiments of the present disclosure, the implementation process of the first entity obtaining the matrix mapping information is that the first entity issues a deployment requirement to a system for managing data storage through the application function of each application object deployed by the first entity. The system for managing data storage segments the matrix mapping information corresponding to the first entity from the total matrix mapping information of the global hardware based on the application function of each application object deployed by the first entity.

[0102] For example, FIG. 2 is a schematic diagram of an optional distributed storage scheme scenario of a data storage and sharing method provided by an embodiment of the present disclosure. As shown in FIG. 2, the energy storage power station configures global model object information according to model data resources. The global dynamic matrix mapping of the power station includes a plurality of hardware (entity) ID-dynamic matrix mappings, i.e., hardware ID 1-dynamic matrix mapping, hardware ID 2-dynamic matrix mapping, hardware ID 3-dynamic matrix mapping, hardware ID 4-dynamic matrix mapping, and hardware ID n-dynamic matrix mapping. Each hardware ID-dynamic matrix mapping is a corresponding relationship between a resource ID and a hardware ID, i.e., a relationship between a resource and hardware storage. For example, hardware ID 1 corresponds to resource ID 1. Each hardware has different application functions. Some hardware has a data publishing function (equivalent to a data publisher), some hardware has a data subscription function (equivalent to a data subscriber), and some hardware has both a data publishing function and a data subscription function (equivalent to a data publisher and a data subscriber). Data sharing is a dynamic publisher-subscriber. For two hardware with a subscription relationship, the hardware with the data publishing function can send data to the hardware with the data subscription function, and the hardware with the data subscription function can receive data from the hardware with the data publishing function, thereby realizing data sharing between different hardware.

[0103] It should be noted that the global dynamic matrix mapping of the power station is the total matrix mapping information of the global hardware, and the hardware ID-dynamic matrix mapping is the matrix mapping information. The hardware ID is an entity identifier, and the resource ID is a storage resource ID.

[0104] In some embodiments of the present disclosure, the matrix mapping information includes an entity identifier (i.e., an entity identifier), a storage resource identifier, a publishing identifier (i.e., a first application function identifier), a storage validity identifier (i.e., a second application function identifier group), and a model data block (i.e., a model object library). The model data block includes a model code identifier, a model importance, a dynamic priority, an associated storage resource, and an associated publishing resource. The associated function resource includes an associated publishing resource or an associated subscription resource. The associated storage resource includes an entity identifier and a storage resource identifier, and the associated publishing resource includes a publishing identifier and a link layer data packet.

[0105] Exemplarily, as shown in FIG. 3, the matrix mapping information includes a hardware device ID (i.e., entity ID), a storage resource ID (i.e., storage resource ID), a publishing ID (i.e., first application function ID), a data subscription ID group (i.e., second application function ID group), and a plurality of model data blocks. Each model data block represents a model data block N# mapping table. As shown in FIG. 4, each model data block represents a model data block N# mapping table (mapping entry), which can include a model code ID (i.e., model code ID), a model importance, a dynamic priority, an associated storage resource, and an associated publishing resource. The associated storage resource includes the hardware device ID and the storage resource ID, and the associated publishing resource includes the publishing ID and publishing information CRC (i.e., first link data packet).

[0106] S102, extracting, from the global resource in the matrix mapping information, the first application function of the first application object and the model object library.

[0107] In some embodiments of the present disclosure, the model object library includes a model code ID, a model importance, a dynamic priority, an associated storage resource, and an associated function resource. The associated function resource includes an associated publishing resource or an associated subscription resource.

[0108] In some embodiments of the present disclosure, based on the matrix mapping information, the first entity can extract, from the global resource in the matrix mapping information, the first application function of the first application object and the model object library through the application function (publishing function, subscription function) deployed by the first entity.

[0109] In some embodiments of the present disclosure, if the application function deployed by the first entity is the subscription function, the first entity can perform data extraction from the global resource in the matrix mapping information to determine the subscription ID and the subscription model object library of the first application object.

[0110] In some embodiments of the present disclosure, if the application function deployed by the first entity is the publishing function, the first entity can perform data extraction from the global resource in the matrix mapping information to determine the publishing ID and the publishing model object library of the first application object.

[0111] It should be noted that the first application function is determined by the application property of the first application object. When the first application object is a sending software, the first application function is the publishing function, and has the publishing ID.

[0112] S103, determining a data link based on the first application function of the first application object and the model object library, and performing data sharing with a second application object; the second application object has a sharing relationship with the first application object.

[0113] In some embodiments of the present disclosure, the data link includes a first data link and a second data link.

[0114] In some embodiments of the present disclosure, the first entity configures a link multicast protocol based on the first application function of the first application object and the model object library, so as to determine a data link. Based on the second application function identifier group extracted from the global resource in the matrix mapping information, data sharing is performed with the second application object through the data link.

[0115] In some embodiments of the present disclosure, when the first application function of the first application object on the first entity and the model object library are the publication identifier and the publication model object library, the first data link is determined. Based on the subscription identifier group extracted from the global resource in the matrix mapping information, data sharing is performed with the second application object through the first data link.

[0116] In some embodiments of the present disclosure, when the first application function of the first application object on the first entity and the model object library are the subscription identifier and the subscription model object library, the second data link is determined. Based on the publication identifier group extracted from the global resource in the matrix mapping information, data sharing is performed with the second application object through the second data link.

[0117] It should be noted that the second application object is software installed on the second entity. When the first application function of the first application object on the first entity and the model object library are the publication identifier and the publication model object library, the first entity must synchronize the local model library.

[0118] It can be understood that, since the matrix mapping information is information related to the first entity, the first application function of the first application object and the model object library are separated from the global resource of the first entity, which realizes the decoupling of the first application function and the model object library, so that the stored matrix mapping information realizes the decoupling of information association, improves the flexibility of subsequent information updating and expansion, and improves the effectiveness of data storage. When the first application object and the second application object perform data interaction, data interaction can be directly sent through the data link. In the scenario where the first application object and the second application object belong to different entities, the interaction process of data request is reduced. Through the data link determined based on the first application function of the first application object and the model object library, massive data sharing between multiple entities is realized, and the real-time performance of massive data access is improved.

[0119] In some embodiments of the present disclosure, as shown in FIG. 5, S101 can be implemented through S1011 and S1012, as follows:

[0120] S1011, based on the application function of each application object deployed by the first entity, issuing a deployment requirement.

[0121] In some embodiments of the present disclosure, the deployment request is used to request matrix mapping information corresponding to application functions of each application object deployed by the first entity from the total matrix mapping information of the global hardware.

[0122] In some embodiments of the present disclosure, the first entity can obtain application functions based on each application object deployed by the first entity, and issue a deployment request.

[0123] S1012, receiving a deployment request, and obtaining matrix mapping information segmented from the total matrix mapping information of the global hardware.

[0124] In some embodiments of the present disclosure, the first entity can receive a deployment request, and obtain matrix mapping information segmented from the total matrix mapping information of the global hardware.

[0125] In some embodiments of the present disclosure, after the first entity sends the deployment request, the device storing the total matrix mapping information of the global hardware can segment the matrix mapping information corresponding to the deployment request of the first entity from the total matrix mapping information of the global hardware according to the deployment request, and send the matrix mapping information to the first entity.

[0126] It should be noted that the matrix mapping information is segmented from the total matrix mapping information of the global hardware based on the application functions of each application object deployed by the first entity.

[0127] It can be understood that by issuing a deployment request based on the application functions of each application object deployed by the first entity, the first entity can receive a deployment request and obtain matrix mapping information segmented from the total matrix mapping information of the global hardware, so that the first entity can obtain the corresponding matrix mapping information, so that subsequent data sharing can be performed through the matrix mapping information.

[0128] In some embodiments of the present disclosure, as shown in FIG. 6, S103 can be implemented by S201 and S202, as follows:

[0129] S201, configuring a link multicast protocol based on the first application function of the first application object and the model object library, so as to determine a data link.

[0130] In some embodiments of the present disclosure, in the case that the first application function of the first application object represents a publishing function, the model object library of the first application object can be determined as a publishing model object library, and the first entity configures an Ethernet data link multicast protocol to determine a first data link.

[0131] In some embodiments of the present disclosure, the publishing model object library includes a plurality of models with different model importance and different model dynamic priority.

[0132] In some embodiments of the present disclosure, in the case that the first application function of the first application object characterizes a subscription function, the model object library of the first application object can be determined as a subscription model object library, and the first entity configures a multicast filtering address of the second data link, thereby determining the second data link.

[0133] In S202, based on the second application function identifier group extracted from the global resource in the matrix mapping information, the first entity shares data with the second application object through the data link; the second application function identifier group corresponds to the second application object; and the first entity and the second entity use the same data transmission protocol for data transmission.

[0134] In some embodiments of the present disclosure, the second application function identifier group corresponds to the second application object. The first entity and the second entity use the same data transmission protocol for data transmission.

[0135] In some embodiments of the present disclosure, the second entity is a distributed storage entity that installs the second application object.

[0136] In some embodiments of the present disclosure, the data transmission protocol includes a unicast protocol, a multicast protocol or a broadcast protocol. The protocol layer can be a two-layer protocol, a real-time protocol, a TCP / IP application protocol, etc.

[0137] In some embodiments of the present disclosure, the unicast protocol is a unicast routing protocol that forwards a communication from a source host to a destination host on an internetwork through a router. The internetwork has at least two networks connected by routers. A router is a network layer intermediary system that connects multiple networks together according to a public network layer protocol, such as TCP / IP. A network is a part of a networking infrastructure (including repeaters, hubs, and bridges / 2-layer switches) connected by routers and associated with the same network layer address, called a network address or network ID. The multicast protocol allows data sent by one host to be copied to multiple hosts that join this multicast through network routers and switches, which is a one-to-many communication mode. The multicast protocol is different from the widely used unicast protocol in that when one host sends the same data to n hosts using the unicast protocol, the sending host needs to send to each of the n hosts, a total of n times. When one host sends the same data to n hosts using the multicast protocol, it only needs to send once, and the data is copied and sent to each receiving party by the routers and switches in the network, which saves entity resources and network backbone bandwidth resources. The broadcast protocol refers to sending a message to all devices in the network, rather than to a specific device.

[0138] It should be noted that compared with the broadcast protocol, the multicast protocol only copies a copy of the data to the receiver after the receiver sends a request to the router, thereby saving the bandwidth of the receiver. In the broadcast mode, the network device sends all broadcast information to all devices regardless of whether the receiver needs it, thereby occupying a large amount of access bandwidth of the receiver.

[0139] In some embodiments of the present disclosure, the first entity determines the data link based on the second application function identifier group extracted from the global resource in the matrix mapping information, and shares data with the second application object through the data link.

[0140] It can be understood that, since the first entity and the second entity use the same data transmission protocol for data transmission, in the scenario where the first application object and the second application object belong to different entities, the interaction process of data request is reduced. By configuring the link multicast protocol based on the first application function of the first application object and the model object library, the data link is determined, massive data sharing between multiple entities is realized, and the real-time performance of massive data access is improved.

[0141] In some embodiments of the present disclosure, S201 can be implemented through S2011 and S2012, as follows:

[0142] S2011, in the case that the first application function of the first application object represents a publishing function, determining a plurality of first data queue information based on attribute information of each model in the publishing model object library; the plurality of first data queue information respectively includes a publishing identifier and a first link layer data packet; the model object library includes the publishing model object library.

[0143] In some embodiments of the present disclosure, the plurality of first data queue information respectively includes a publishing identifier and a first link layer data packet; the model object library includes the publishing model object library.

[0144] In some embodiments of the present disclosure, the attribute information includes model importance and dynamic priority.

[0145] In some embodiments of the present disclosure, in the case that the first application function of the first application object represents a publishing function, determining a plurality of first data queue information based on model importance and dynamic priority of each model in the publishing model object library.

[0146] In some embodiments of the present disclosure, in the case that the first entity determines to send the publishing model object library, the first entity needs to sort the publishing priority of the model according to the model importance and the dynamic priority of each model in the publishing object library, and determine a plurality of first data queue information.

[0147] It should be noted that the first link layer data packet is the to-be-published data information corresponding to the model in the publishing model library. The publishing identifier is the identifier information corresponding to the application function of the first entity.

[0148] It should be noted that the first link layer data packet carries the storage resource stored on the first entity.

[0149] In some embodiments of the present disclosure, the sending order of the model object library of each model is determined based on at least one of the model importance and the dynamic priority of each model in the publishing model object library; and the plurality of first data queue information is determined based on the sending order.

[0150] It should be noted that each model has a corresponding model coding identifier.

[0151] In some embodiments of the present disclosure, the first entity can determine the sending order of the model object library of each model based on at least one of the model importance and the dynamic priority of each model in the publishing model object library, and determine the plurality of first data queue information through the sending order.

[0152] For example, there are four models for each model. The sending order of the model object library of each model is determined based on at least one of the model importance and the dynamic priority of each model in the publishing model object library, and is the model object library of the first model, the model object library of the second model, the model object library of the third model, and the model object library of the fourth model.

[0153] It should be noted that the first model is the model with the first publishing importance and the first priority in the publishing model object library. The second model is the model with the second publishing importance and the first priority in the publishing model object library. The third model is the model with the third publishing importance and the first priority in the publishing model object library. The fourth model object library is the model other than the first model, the second model and the third model in the publishing model object library.

[0154] It can be understood that the sending order of the model object library of each model is determined based on at least one of the model importance and the dynamic priority of each model in the publishing model object library, and the plurality of first data queue information is determined based on the sending order, so that the plurality of first data queue information has order, and when data publishing is performed subsequently, the data with high importance or high priority can be ensured to be issued first, thereby improving the timeliness and effectiveness of data in the data sharing process.

[0155] S2012, configuring a link groupcast protocol based on the plurality of first data queue information, thereby determining a first data link.

[0156] In some embodiments of the present disclosure, the first entity can configure a link multicast protocol based on the plurality of first data queue information, so as to determine the first data link.

[0157] In some embodiments of the present disclosure, if it is determined to send the publishing model object library, the first entity can send, to the second entity, a first link layer data packet of the publishing model object library based on the second application function identity group through the first data link.

[0158] It can be understood that in the process of sending the first link layer data packet to the second entity based on the second application function identity group through the first data link, no compatible configuration between entities is required, massive data sharing between multiple entities can be realized quickly, and the real-time performance of massive data access is improved.

[0159] In some embodiments of the present disclosure, if it is determined to send the publishing model object library, the first entity can send, to the second entity, a first link layer data packet of the first model, a first link layer data packet of the second model, a first link layer data packet of the third model and a first link layer data packet of the fourth model based on the second application function identity group through the first data link.

[0160] It can be understood that in the case that the first application object has a first application function feature of publishing function, the plurality of first data queue information is determined based on the attribute information of each model in the publishing model object library, which provides data to be shared for subsequent data sharing. In addition, the link multicast protocol is configured based on the plurality of first data queue information, so as to determine the first data link, and data transmission is performed through the first data link. No compatible configuration between entities is required, massive data sharing between multiple entities can be realized quickly, and the real-time performance of massive data access is improved.

[0161] In some embodiments of the present disclosure, S103 can also be implemented by S203, as follows:

[0162] S203, in the case that the first application object has a first application function feature of subscribing function, a multicast filtering address of the second data link is configured based on a target address of a subscription model object library of the subscription, and the second data link is listened to; the model object library includes the target address of the subscription model object library.

[0163] In some embodiments of the present disclosure, the model object library includes the target address of the subscription model object library.

[0164] In some embodiments of the present disclosure, in the case that the first application object has a first application function feature of subscribing function, the first entity can configure a multicast filtering address of the second data link based on a target address of a subscription model object library of the subscription, and listen to the second data link.

[0165] It can be understood that, in the case that the first application function of the first application object characterizes a subscription function, the multicast filtering address of the second data link is configured based on the target address of the subscription model object library of the subscription, and the second data link is listened to, so as to facilitate subsequent data sharing through the second data link. Since no compatible configuration between entities is required, mass data can be quickly shared between multiple entities, and the real-time performance of mass data access is improved.

[0166] In some embodiments of the present disclosure, the second link layer data packet sent by the second entity is received through the second data link based on the second application function identification group.

[0167] In some embodiments of the present disclosure, when the second application function identification group is a publication identification group, the second link layer data packet sent by the second entity is received through the second data link based on the publication identification group.

[0168] It can be understood that, based on the second application function identification group, the second link layer data packet sent by the second entity is received through the second data link. Since the second link layer data packet sent by the second entity is received through the second data link, no compatible configuration between entities is required, so mass data can be quickly shared between multiple entities, and the real-time performance of mass data access is improved.

[0169] In some embodiments of the present disclosure, after receiving the second link layer data packet sent by the second entity through the second data link based on the second application function identification group, the data storage and sharing method further includes the following steps:

[0170] S301, filtering and extraction processing of the second link layer data packet is performed to determine subscription data.

[0171] In some embodiments of the present disclosure, the first entity can perform filtering and extraction processing on the second link layer data packet to determine subscription data.

[0172] In some embodiments of the present disclosure, the first entity obtains a target publication model object library of the second application object from the second link layer data packet; and performs filtering and extraction processing on the second link layer data packet based on the target publication model object library and the subscription model object library corresponding to the first application object to determine subscription data.

[0173] In some embodiments of the present disclosure, the target publication model object library includes a first publication identification, a model code identification, and a storage resource identification; and the subscription model object library includes a second publication identification, an entity identification, and a subscription identification group.

[0174] In some embodiments of the present disclosure, the first entity can match the first publication identifier with the second publication identifier, match the model code identifier with the entity identifier in the case of successful matching of the first publication identifier with the second publication identifier, match the storage resource identifier with the subscription identifier group in the case of successful matching of the model code identifier with the entity identifier, and parse the model code identifier in the case of successful matching of the storage resource identifier with the subscription identifier group, and determine the subscription data in the case of the model code identifier being a valid identifier in the local configuration model information.

[0175] In some embodiments of the present disclosure, the first entity can obtain a target publication model object library from the second link layer packet. The target publication model object library includes a first publication identifier, a model code identifier, and a storage resource identifier. The subscription model object library includes a second publication identifier, an entity identifier, and a subscription identifier group. In the case of successful matching of the first publication identifier with the pre-registered information (i.e., the second publication identifier), the storage resource information of the second link layer packet is read. If the model code identifier of the storage resource information is consistent with the entity identifier, the storage resource identifier in the storage resource information is read. If the storage resource identifier matches the storage valid identifier (i.e., the subscription identifier group), the model code identifier is parsed. In the case of the model code identifier being a valid identifier in the local configuration model information, the subscription data is extracted.

[0176] For example, through the dynamic protocol analysis model ID process, the analysis is performed according to the following method steps:

[0177] 1) Read the publication ID (such as multicast MAC) in the information. If it does not match the multicast MAC information pool of the initialized registered network card, filtering and out-of-sequence processing is performed. If the condition is met, step 2) is entered.

[0178] 2) Read the storage resource information, and judge whether the model ID is matched with the hardware device ID. If not, discard the processing. If the condition is met, step 3) is entered.

[0179] 3) Read the local storage resource ID, and judge whether the storage resource ID is a local storage valid ID (i.e., a data subscription ID group). If not, discard the processing. If the condition is met, step 4) is entered.

[0180] It should be noted that the ID can be an information code or a physical location.

[0181] 4) Parse the model code ID, and judge whether the model code ID is a valid ID in the local configuration model table. If not, discard the processing. If the condition is met, perform information local storage and information synchronization.

[0182] It can be understood that, since the subscription data is matched with the model coding identifier and the entity identifier in the case that the first publishing identifier and the second publishing identifier are successfully matched, the storage resource identifier is matched with the subscription identifier group in the case that the model coding identifier and the entity identifier are successfully matched, and the model coding identifier is parsed in the case that the storage resource identifier and the subscription identifier group are successfully matched, and the model coding identifier is determined to be a valid identifier in the local configuration model information. Therefore, the process performs a series of identifier matching processing, can remove invalid information, and can improve the effectiveness of data processing.

[0183] S302, store the subscription data to the local database corresponding to the first application object.

[0184] In some embodiments of the present disclosure, the first entity can store the subscription data to the local database corresponding to the first application object.

[0185] It can be understood that, by performing the filtering processing and the extraction processing on the second link layer data packet, data that is not subscribed by the first entity can be filtered out, and only the subscription data information is retained, which is stored to the local database, so that accurate data storage can be performed, and the effectiveness of data sharing can be improved.

[0186] In some embodiments of the present disclosure, the data storage and sharing method further includes: if the global resource of the online update matrix mapping information is updated, issuing an update deployment requirement based on the application functions of each application object deployed by the first entity; receiving updated matrix mapping information segmented from the total matrix mapping information of the global hardware in response to the update deployment requirement; and based on the updated matrix mapping information, confirming an updated model object library for next data sharing.

[0187] In some embodiments of the present disclosure, if the global resource of the online update matrix mapping information is updated by the first entity, an update deployment requirement needs to be issued based on the application functions of each application object deployed by the first entity, so as to obtain updated matrix mapping information; and based on the updated matrix mapping information, an updated model object library is confirmed for next data sharing.

[0188] It can be understood that, since the matrix mapping information is information related to the first entity, the first application function and the model object library of the first application object in the global resource thereof are separate and different information, and the decoupling of the first application function and the model object library is achieved. Therefore, the stored matrix mapping information is decoupled in terms of information association, the updated model object library is confirmed after the matrix mapping information is updated, the flexibility of updating and expanding the model object library is improved, and the effectiveness of data storage is improved.

[0189] In some embodiments of the present disclosure, the updated model object library is notified to the subscribed second application object in the case of applying the function of function representation publishing.

[0190] In some embodiments of the present disclosure, after the updated matrix mapping information and the updated model object library are confirmed, the updated model object library can be sent to the second application object subscribing to the model publishing object library of the first entity by the message and multicast mode.

[0191] It can be understood that the publishing model object library of the first entity can be synchronized with the local model library of the second entity, so as to facilitate subsequent data sharing.

[0192] In some embodiments of the present disclosure, in the case of applying the function of function representation publishing, if the global resource of the matrix mapping information is not updated online, it is determined whether to send the publishing model object library.

[0193] In some embodiments of the present disclosure, in the case of applying the function of function representation publishing, if the global resource of the matrix mapping information is not updated online, it is determined whether to send the publishing model object library to realize data sharing. If the publishing model object library is sent, the plurality of first data queue information is determined, and the first link data packet is sent in sequence; if the publishing model object library is not sent, the matrix mapping information is reacquired.

[0194] It can be understood that, in the case of applying the function of function representation publishing, if the global resource of the matrix mapping information is not updated online, it is determined whether to send the publishing model object library to realize data sharing. In the case of not updating the matrix mapping information, it is determined whether to send the publishing model object library, which can avoid repeated sending of data information, thereby improving the efficiency of data sharing and the effectiveness of data transmission.

[0195] In some embodiments of the present disclosure, the process of determining the total matrix mapping information of the global hardware is: a large amount of resources are classified to obtain a plurality of sub-resources, and the plurality of sub-resources are respectively stored on each entity; based on the application function deployed by each entity, data subscription and / or resource extraction are performed to obtain the subscription information and / or publishing information corresponding to each entity; based on the subscription information and / or publishing information corresponding to each entity, a storage valid identifier corresponding to each entity is determined; wherein the storage valid identifier includes a publishing storage valid identifier and / or a subscription storage valid identifier.

[0196] Exemplarily, each entity subscribes to the model data of the remaining entities according to the deployed application function (for example, a subscriber function, a publisher function), forms a subscription storage effective identifier, forms a subscription relationship with other hardware, and realizes filtering of subscription information at runtime. Each entity extracts and publishes resources to form a publication storage effective identifier. The subscription storage effective identifier and the publication storage effective identifier are used to store in the global model matrix mapping information to realize data sharing.

[0197] It can be understood that, based on the application function corresponding to each entity, data subscription and / or resource extraction are performed to obtain the subscription information and / or the publication information corresponding to each entity; based on the subscription information and / or the publication information corresponding to each entity, the storage effective identifier corresponding to each entity is determined, and after the storage effective identifier corresponding to each entity is determined, data sharing can be performed through the entity where the storage effective identifier is located, so that on-demand use of data is realized.

[0198] In some embodiments of the present disclosure, taking a first entity as an example, if the first entity has a subscription function, data subscription is performed to obtain the subscription information of the first entity; if the first entity has a publication function, resource extraction is performed to obtain the publication information of the first entity; if the first entity has both the subscription function and the publication function, data subscription and resource extraction are performed to determine the subscription information and the publication information corresponding to the first entity.

[0199] Exemplarily, multiple software exist on the first entity, that is, the subscription software and the publication software (that is, the first entity has both the subscription function and the publication function). The subscription software A has 10 models, and the subscription software A has a publication identifier. The publication software B has 20 models, and the publication software B has a subscription identifier. The subscription software A and the subscription software B can also perform data sharing, which is internal data sharing between the same entity.

[0200] It can be understood that, if the first entity has a subscription function, data subscription is performed to obtain the subscription information of the first entity; if the first entity has a publication function, resource extraction is performed to obtain the publication information of the first entity; if the first entity has both the subscription function and the publication function, data subscription and resource extraction are performed to determine the subscription information and the publication information corresponding to the first entity, and after the subscription information and / or the publication information corresponding to the first entity are determined, data sharing between the first entity and a second entity can be realized through the subscription information and / or the publication information.

[0201] In some embodiments of the present disclosure, as shown in FIG. 7, the hardware system (entity) with the data publication function performs data publication in the following process:

[0202] S1, the application of the hardware system loads the matrix mapping information.

[0203] S2, extract the release identifier and the release model object library.

[0204] In some embodiments of the present disclosure, the application deployed on the hardware system (entity) can extract the release identifier and the release model object library according to the matrix mapping information after loading the matrix mapping information. The model object library includes a plurality of different models, and each model has corresponding stored resource data.

[0205] S3, determine the first data queue information according to the model importance and the dynamic priority.

[0206] In some embodiments of the present disclosure, the plurality of first data queue information includes the release identifier and the release model object library.

[0207] S4, configure the link multicast protocol to determine the first data sharing link.

[0208] S5, whether to release the model object library.

[0209] In some embodiments of the present disclosure, if the model object library is released, S6 is executed; if the model object library is not released, S1 is executed.

[0210] S6, release the model object library with high importance and high priority.

[0211] In some embodiments of the present disclosure, the model object library with high importance and high priority is released, that is, the first link layer data packet of the model with high importance and high priority is released.

[0212] S7, release the model object library with secondary importance and high priority.

[0213] In some embodiments of the present disclosure, the model object library with secondary importance and high priority is released, that is, the first link layer data packet of the model with secondary importance and high priority is released.

[0214] S8, release the model object library with low importance and high priority.

[0215] In some embodiments of the present disclosure, the model object library with low importance and high priority is released, that is, the first link layer data packet of the model with low importance and high priority is released.

[0216] S9, release the model object library with other importance and priority.

[0217] In some embodiments of the present disclosure, the first link layer data packet of the model with other high importance and priority is released.

[0218] S10, judge whether to update the matrix mapping information.

[0219] In some embodiments of the present disclosure, if the matrix mapping information is updated online, S11 is performed; if the matrix mapping information is not updated online, S5 is performed.

[0220] S11, update the publication identifier and the publication model object library.

[0221] In some embodiments of the present disclosure, after S11 is performed, S1 and S12 are performed.

[0222] S12, notify the updated publication identifier and the publication model object library to the subscribed second application object.

[0223] It can be understood that there is no system binding constraint on the third-party software and hardware, which is suitable for big data distributed storage and sharing scenarios, and the entity is not limited to cloud and edge application scenarios, and the data publishing function of the publishing server can be realized, and data sharing with other entities can be realized.

[0224] In some embodiments of the present disclosure, as shown in FIG. 8, the hardware (entity) with data subscription function receives data in the following process:

[0225] S21, the application of the hardware system loads the matrix mapping information.

[0226] In some embodiments of the present disclosure, the hardware system is the first entity, and the matrix mapping table is the global model matrix mapping information.

[0227] S22, extract the subscription identifier and the subscription model object library.

[0228] In some embodiments of the present disclosure, the application deployed on the hardware or hardware system (entity) can extract the subscription identifier and the subscription model object library according to the matrix mapping information after loading the matrix mapping information. The application on the hardware system can obtain the corresponding stored resource data from the subscription model object library.

[0229] S23, configure the multicast filtering address of the second data link according to the target address of the subscription, and listen to the second data sharing link.

[0230] S24, receive the second link layer data packet, and filter the multicast address data packet of the second data link.

[0231] S25, parse the second link layer data packet of the target address.

[0232] S26, extract the subscription data and store it in the local database corresponding to the first application object.

[0233] S27, judge whether the updated matrix mapping information is received.

[0234] In some embodiments of the present disclosure, if the updated matrix mapping information is received, S28 is performed; if the updated matrix mapping information is not received, S24 is performed.

[0235] S28, updating the subscription model object library.

[0236] In some embodiments of the present disclosure, after S28 is performed, S21 is performed.

[0237] It should be noted that the data sharing method of the data dynamic publish-subscribe has the following features:

[0238] 1) Support static loading and subscription mode.

[0239] 2) Support configuration importance and priority to meet high real-time, general real-time, and non-real-time, etc.

[0240] 3) Support online dynamic modification of the model object library. The subscription model object library modification does not need to inform other entity corresponding data nodes, and the publication model object library modification needs to be notified to other subscribed data nodes through multicast by using different messages from the publication model library.

[0241] 4) Support through Ethernet networking to enable the second layer data link to filter non-subscription target data of MAC multicast and retain subscription target data.

[0242] 5) The publish-subscribe mode is not limited to the Ethernet star network, and is also applicable to the interconnection model of ring network nodes.

[0243] Data model publishing and receiving storage process description:

[0244] 1) The data publisher must synchronize the local model library; unicast protocol, multicast protocol or broadcast protocol can be used, and the protocol layer can be a second layer protocol, a real-time protocol, a TCP / IP application protocol, etc.

[0245] 2) One implementation premise for updating is that the data receiver must modify and upgrade the local configuration library, the received information model must be matched with the local configuration library first, if not matched, it is discarded; if matched, it is stored in the local model library. That is, the information of the existing model is updated and upgraded online.

[0246] It can be understood that there is no system binding constraint on the third-party software and hardware, and the method is suitable for a big data distributed storage and sharing scene, and is not limited to a cloud, edge and end application scene. However, the same type of application protocol is used to deliver the information model defined in the disclosure, so as to avoid the scene where the protocol conversion cannot be realized and the application scene of high real-time mass data. The cloud, edge, end, cloud-to-cloud storage, the same application protocol realizes the storage, and the best application scene is the scene of the mass data model, but the useable scene can be an information system in an industrial control network, such as a dynamic information sharing scene between multiple industrial control devices.

[0247] An entity provided by an embodiment of the disclosure is provided, and FIG. 9 is a structural schematic diagram of the entity provided by an embodiment of the disclosure. As shown in FIG. 9, the entity 9 includes an acquisition unit 901, an extraction unit 902 and a sharing unit 903; wherein,

[0248] The acquisition unit 901 is configured to acquire matrix mapping information from total matrix mapping information of global hardware based on application functions of each application object deployed by the first entity; the matrix mapping information represents a corresponding relationship between the first entity and resources of the global application object stored on the first entity.

[0249] The extraction unit 902 is configured to extract the first application function and the model object library of the first application object from the global resources in the matrix mapping information.

[0250] The sharing unit 903 is configured to determine a data link based on the first application function and the model object library of the first application object, and perform data sharing with a second application object; the second application object has a sharing relationship with the first application object.

[0251] In some embodiments of the disclosure, the entity 9 includes a sending unit 904 and a receiving unit 905.

[0252] The sending unit 904 is configured to send a deployment requirement based on the application functions of each application object deployed by the first entity.

[0253] The receiving unit 905 is configured to receive the matrix mapping information segmented from the total matrix mapping information of the global hardware based on the deployment requirement.

[0254] In some embodiments of the disclosure, the entity 9 includes a configuration unit 906.

[0255] The configuration unit 906 is configured to configure a link multicast protocol based on the first application function and the model object library of the first application object, so as to determine the data link.

[0256] The sharing unit 903 is further configured to share data with the second application object through the data link based on the second application function identifier group extracted from the global resource in the matrix mapping information, where the second application function identifier group corresponds to the second application object; and the first entity and the second entity use the same data transmission protocol for data transmission.

[0257] In some embodiments of the present disclosure, the data link includes a first data link.

[0258] The entity 9 includes a determination unit 907.

[0259] The determination unit 907 is configured to determine a plurality of first data queue information based on attribute information of each model in the publishing model object library in a case where the first application object has a first application function representation publishing function, where the plurality of first data queue information respectively includes a publishing identifier and a first link layer data packet; and the model object library includes the publishing model object library.

[0260] The configuration unit 906 is further configured to configure a link groupcast protocol based on the plurality of first data queue information, so as to determine the first data link.

[0261] In some embodiments of the present disclosure, the attribute information includes model importance and dynamic priority.

[0262] The determination unit 907 is further configured to determine a sending order of the model object library of each model based on at least one of the model importance and the dynamic priority of each model in the publishing model object library; and determine the plurality of first data queue information based on the sending order.

[0263] In some embodiments of the present disclosure, the sending unit 904 is further configured to send the first link layer data packet of the publishing model object library to the second entity through the first data link based on the second application function identifier group if it is determined to send the publishing model object library.

[0264] In some embodiments of the present disclosure, the data link includes a second data link.

[0265] The configuration unit 906 is further configured to configure a multicast filtering address of the second data link and listen to the second data link based on a target address of a subscription model object library of a subscription in a case where the first application object has a first application function representation subscription function; and the model object library includes the target address of the subscription model object library.

[0266] In some embodiments of the present disclosure, the receiving unit 905 is configured to receive a second link layer data packet sent by the second entity through the second data link based on the second application function identifier group.

[0267] In some embodiments of the present disclosure, the determining unit 907 is further configured to perform filtering processing and extraction processing on the second link layer data packet, and determine the subscription data; and store the subscription data into the local database corresponding to the first application object.

[0268] In some embodiments of the present disclosure, the obtaining unit 901 is configured to obtain, from the second link layer data packet, a target publishing model object library that subscribes to a second application object;

[0269] The determining unit 907 is further configured to perform filtering processing and extraction processing on the second link layer data packet based on the target publishing model object library and a subscription model object library corresponding to the first application object, and determine the subscription data.

[0270] In some embodiments of the present disclosure, the target publishing model object library includes a first publishing identifier, a model code identifier and a storage resource identifier; and the subscription model object library includes a second publishing identifier, an entity identifier and a subscription identifier group.

[0271] The determining unit 907 is further configured to match the model code identifier with the entity identifier in a case where the first publishing identifier and the second publishing identifier are successfully matched; match the storage resource identifier with the subscription identifier group in a case where the model code identifier and the entity identifier are successfully matched; and parse the model code identifier in a case where the storage resource identifier and the subscription identifier group are successfully matched, and determine the subscription data in a case where the model code identifier is a valid identifier in the local configuration model information.

[0272] In some embodiments of the present disclosure, the sending unit 904 is further configured to send an update deployment requirement based on the application functions of each application object deployed by the first entity, if the global resource of the online update matrix mapping information.

[0273] The receiving unit 905 is further configured to receive updated matrix mapping information segmented from the total matrix mapping information of the global hardware for the update deployment requirement.

[0274] The determining unit 907 is further configured to confirm an updated model object library based on the updated matrix mapping information, for data sharing next time.

[0275] In some embodiments of the present disclosure, the sending unit 904 is further configured to notify the second application object of the updated model object library in a case where the application function represents a publishing function.

[0276] In some embodiments of the present disclosure, the determining unit 907 is further configured to determine whether to send the publishing model object library in a case where the application function represents a publishing function, if the global resource of the offline update matrix mapping information.

[0277] Based on the data storage and sharing method of the above embodiments, the disclosure further provides another entity, as shown in FIG. 10, which is a structural schematic diagram of another entity provided by the embodiments of the disclosure. The entity 10 includes a processor 1001 and a memory 1002. The memory 1002 is configured to store a computer program. The processor 1001 is configured to call and run the computer program from the memory, so as to execute the data storage and sharing method of the above embodiments.

[0278] In the embodiments of the disclosure, the processor 1001 can be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, or a microprocessor. It can be understood that, for different devices, the electronic device used to implement the above processor functions can also be other devices, and the embodiments of the disclosure are not limited specifically.

[0279] The embodiments of the disclosure provide a computer readable storage medium, which stores a computer program, and is used to implement the data storage and sharing method of any one of the above embodiments when executed by a processor.

[0280] For example, the program instructions corresponding to the data storage and sharing method in the embodiments can be stored on a storage medium such as an optical disc, a hard disk, a USB flash disk, etc. When the program instructions corresponding to the data storage and sharing method in the embodiments are read by an electronic device or executed, the data storage and sharing method of any one of the above embodiments can be implemented.

[0281] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the embodiments.

[0282] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program performs the steps of the above-mentioned method embodiments when executed; and the foregoing storage medium includes a mobile storage device, a read only memory (ROM), a magnetic disc or an optical disc and various storage medium capable of storing program codes.

[0283] The modules described as separate components above can or can not be physically separate, and the components shown as modules can or can not be physical modules; they can be located in one place or distributed on multiple network units; and part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments.

[0284] In addition, each functional module in each embodiment of the present disclosure can be integrated in one processing unit, or each module can be a separate unit, or two or more modules can be integrated in one unit; the integrated module can be realized in the form of hardware or in the form of hardware plus software function unit. It should be understood that "one embodiment" or "an embodiment" mentioned in the present disclosure means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.

[0285] It should be understood that in various embodiments of the present disclosure, the size of the serial number of each step / process does not mean the execution order, and the execution order of each step / process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The serial number of the above-mentioned embodiments of the present disclosure is only for description, not representing the pros and cons of the embodiments.

[0286] It should be noted that in the application, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0287] In several embodiments provided by the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other manners. The embodiments described above are merely exemplary, for example, the division of units is only a logical function division, and there can be other division manners in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling, or direct coupling or communication connection between any two components can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or in other forms.

[0288] The disclosed methods in several method embodiments provided by the present disclosure can be combined arbitrarily without conflict, to obtain new method embodiments.

[0289] The disclosed features in several product embodiments provided by the present disclosure can be combined arbitrarily without conflict, to obtain new product embodiments.

[0290] The disclosed features in several method or device embodiments provided by the present disclosure can be combined arbitrarily without conflict, to obtain new method or device embodiments.

[0291] The above is merely exemplary embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A data storage and sharing method, the method comprising: obtaining matrix mapping information from total matrix mapping information of global hardware based on application functions deployed by a first entity; the matrix mapping information representing a correspondence between the first entity and resources of a global application object stored thereon; extracting a first application function of a first application object and a model object library from global resources in the matrix mapping information; determining a data link based on the first application function of the first application object and the model object library, and performing data sharing with a second application object; the second application object having a sharing relationship with the first application object.

2. The method of claim 1, wherein, The obtaining of the matrix mapping information from the total matrix mapping information of the global hardware based on the application functions deployed by the first entity comprises: issuing a deployment requirement based on the application functions of each application object deployed by the first entity; receiving the matrix mapping information obtained from the total matrix mapping information of the global hardware based on the deployment requirement.

3. The method of claim 1 or 2, wherein, The determining of the data link based on the first application function of the first application object and the model object library, and the performing of the data sharing with the second application object, comprises: configuring a link multicast protocol based on the first application function of the first application object and the model object library, so as to determine the data link; performing data sharing with the second application object through the data link based on a second application function identifier group extracted from the global resources in the matrix mapping information; wherein the second application function identifier group corresponds to the second application object; the first entity and the second entity use the same data transmission protocol for data transmission.

4. The method of claim 3, wherein, The data link comprises a first data link. The configuring of the link multicast protocol based on the first application function of the first application object and the model object library, so as to determine the data link, comprises: in a case where the first application function of the first application object represents a publishing function, determining a plurality of first data queue information based on attribute information of each model in a publishing model object library; the plurality of first data queue information respectively comprises a publishing identifier and a first link layer data packet; the model object library comprises the publishing model object library; configuring the link multicast protocol based on the plurality of first data queue information, so as to determine the first data link.

5. The method of claim 4, wherein, The attribute information comprises model importance and dynamic priority. The determining of the plurality of first data queue information based on the attribute information of each model in the publishing model object library, comprises: determining a sending order of the model object library of each model based on at least one of the model importance and the dynamic priority of each model in the publishing model object library; determining the plurality of first data queue information based on the sending order.

6. The method of claim 4 or 5, wherein, The performing of the data sharing with the second application object through the data link based on the second application function identifier group extracted from the global resources in the matrix mapping information, comprises: if it is determined to send the publishing model object library, sending the first link layer data packet of the publishing model object library to the second entity through the first data link based on the second application function identifier group.

7. The method of claim 3, wherein, The data link comprises a second data link. The first application function of the first application object and the model object library are configured to configure a link multicast protocol, so as to determine a data link, comprising: In the case that the first application function of the first application object represents a subscription function, a multicast filtering address of the second data link is configured based on a target address of a subscription model object library of the subscription, and the second data link is listened to; the model object library comprises the target address of the subscription model object library.

8. The method of claim 7, wherein, Based on the second application function identification group extracted from the global resource in the matrix mapping information, data sharing is performed with the second application object through the data link, comprising: Based on the second application function identification group, a second link layer data packet sent by the second entity is received through the second data link.

9. The method of claim 8, wherein, The method further comprises: Filtering and extracting processing is performed on the second link layer data packet to determine subscription data; The subscription data is stored in a local database corresponding to the first application object.

10. The method of claim 9, wherein, The filtering and extracting processing performed on the second link layer data packet to determine the subscription data, comprising: From the second link layer data packet, a target publishing model object library subscribing to the second application object is obtained; Based on the target publishing model object library and the subscription model object library corresponding to the first application object, filtering and extracting processing is performed on the second link layer data packet to determine the subscription data.

11. The method of claim 10, wherein, The target publishing model object library comprises a first publishing identification, a model coding identification and a storage resource identification; the subscription model object library comprises a second publishing identification, an entity identification and a subscription identification group; The filtering and extracting processing performed on the second link layer data packet to determine the subscription data based on the target publishing model object library and the subscription model object library corresponding to the first application object, comprising: In the case that the first publishing identification and the second publishing identification match successfully, the model coding identification is matched with the entity identification; In the case that the model coding identification and the entity identification match successfully, the storage resource identification is matched with the subscription identification group; In the case that the storage resource identification and the subscription identification group match successfully, the model coding identification is parsed, and in the case that the model coding identification is a valid identification in the local configuration model information, the subscription data is determined.

12. The method of any one of claims 1-11, wherein, The method further comprises: If the global resource of the matrix mapping information is updated online, an update deployment requirement is issued based on the application function of each application object deployed by the first entity; An updated matrix mapping information segmented from the total matrix mapping information of the global hardware is received in response to the update deployment requirement; Based on the updated matrix mapping information, an updated model object library is confirmed for data sharing next time.

13. The method of claim 12, wherein, In the case that the application function represents a publishing function, the updated model object library is notified to the second application object of the subscription.

14. The method of any one of claims 1-11, wherein, The method further comprises: In the case of applying the function of characterizing publishing, if the global resource of the matrix mapping information is not updated on-line, it is determined whether to send a publishing model object library.

15. The method of any one of claims 1-14, wherein, The matrix mapping information comprises entity identification, storage resource identification, first application function identification, second application function identification group and model object library; when the first application function identification is publishing identification, the second application function identification group is a subscription identification group, and the model object library is a publishing model object library; when the first application function identification is subscription identification, the second application function identification group is a publishing identification group, and the model object library is a subscription model object library.

16. The method of any one of claims 1-14, wherein, The model object library comprises model code identification, model importance, dynamic priority, associated storage resource and associated function resource; the associated function resource comprises associated publishing resource or associated subscription resource.

17. The method of any one of claims 3-11, wherein, The data transmission protocol comprises unicast protocol, multicast protocol or broadcast protocol.

18. An entity comprising: An acquisition unit, an extraction unit and a sharing unit, wherein, The acquisition unit is configured to acquire matrix mapping information from total matrix mapping information of a global hardware based on an application function deployed by a first entity; the matrix mapping information represents a corresponding relationship between the first entity and a resource of a global application object stored thereon; The extraction unit is configured to extract a first application function of a first application object and a model object library from a global resource in the matrix mapping information; The sharing unit is configured to determine a data link based on the first application function of the first application object and the model object library, and perform data sharing with a second application object; the second application object has a sharing relationship with the first application object.

19. An entity comprising: A processor and a memory, wherein, The memory is configured to store a computer program; The processor is configured to call and run the computer program from the memory to execute the data storage and sharing method according to any one of claims 1 to 17. 20.A computer readable storage medium storing executable instructions for causing a processor to implement the data storage and sharing method according to any one of claims 1 to 17 when executed.

Citation Information

Patent Citations

  • A cross-domain shared data model construction method

    CN109739915A

  • Strong real-time storage middleware implementation method based on layered architecture

    CN114090286A

  • Cross-platform micro-service system structure, computing device and storage medium

    CN114826866A

  • Model construction method and device, model data subscription method and device, electronic equipment and medium

    CN115017140A

  • Declarative Software Application Meta-Model and System for Self-Modification

    US20130246996A1

Cited By

  • Business data feature sharing method and system based on machine learning

    CN121563451A