Objective cascading method and device for time sequence database
By creating virtual device instances in the cascaded time series database on the central side and using virtual device connection services, object-oriented cascading of the time series database is realized, solving the problems of high data application complexity and poor transmission stability, and achieving data decoupling and stable transmission between devices.
Patent Information
- Application Number
- CN202510953870.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-10
- Publication Date
- 2025-10-17
AI Technical Summary
The existing cascade implementation scheme of time series databases has the problems of high data application complexity and poor data transmission stability. Especially in large-scale cluster applications, data processing is complex and prone to congestion.
By obtaining the device configuration of the edge-side time series database, creating a virtual device instance, and using the virtual device connection service to obtain specified synchronization information, object-oriented cascading between devices is achieved, reducing data application complexity and improving transmission stability.
It reduces the complexity of data application, improves the stability of data transmission and the load capacity of network links, reduces the pressure on single channels, ensures data decoupling between devices, and avoids data transmission anomalies.
Smart Images

Figure CN120804218A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to an objectification cascading method and device of a time series database. BACKGROUND
[0002] With the in-depth development of industrial enterprise informatization, the application scale of the time series database is also increasingly large, and by cascading the cascaded time series database of each branch (or each edge side) and the cascaded time series database of the center side, the whole factory level data monitoring and management of the group company is realized.
[0003] In the current cascading implementation scheme of the time series database, the cascaded time series database of the edge side is usually regarded as a whole data source for data cascading access, and all data on each cascaded time series database is synchronized to the cascaded time series database through a channel. However, the foregoing cascading implementation scheme has the following two problems: on the one hand, all the data of the cascaded time series database is fused together, and a large amount of data processing operations such as point table splitting filtering are required when the data is applied, and the data application complexity is high; on the other hand, all the data of the cascaded time series database is synchronized to the cascaded time series database through a channel, and the channel transmission pressure is large and data congestion is easy to occur, thereby causing data transmission abnormity and poor data transmission stability. SUMMARY
[0004] Therefore, the embodiments of the present application provide a time series database objectification cascading method and device to solve the problems of high data application complexity and poor data transmission stability in the current cascading implementation scheme of the time series database.
[0005] To achieve the above object, the embodiments of the present application provide the following technical scheme:
[0006] The first aspect of the embodiments of the present application discloses a time series database objectification cascading method, which is applied to a database platform of a cascaded time series database of a center side, and the method comprises:
[0007] Obtaining a device configuration corresponding to a target device added in a database platform of a cascaded time series database of an edge side, the target device being any device added in the database platform of the cascaded time series database of the edge side;
[0008] According to the device configuration, a virtual device instance corresponding to the target device is created;
[0009] The virtual device instance is connected to a virtual device connection service corresponding to the target device to obtain specified synchronization information of the target device through the virtual device connection service, and the virtual device connection service is provided by the database platform of the cascaded time series database of the edge side.
[0010] Preferably, the virtual device instance is connected to the virtual device connection service corresponding to the target device to obtain the specified synchronization information of the target device through the virtual device connection service, including:
[0011] The virtual device instance is connected to the virtual device connection service corresponding to the target device.
[0012] The specified synchronization information of the target device is obtained through the independent virtual communication link provided by the virtual device connection service.
[0013] Preferably, the specified synchronization information of the target device at least includes attributes, services, states, and timing data.
[0014] Preferably, after obtaining the specified synchronization information of the target device through the virtual device connection service, the method further includes:
[0015] The specified synchronization information of the target device is sent to a modeling application service, so that the modeling application service models and accesses the target device.
[0016] Preferably, after obtaining the specified synchronization information of the target device through the virtual device connection service, the method further includes:
[0017] The specified synchronization information and device information of the target device are displayed in a front-end interface of the database platform of the cascaded timing database, and the device information at least includes a device name and an edge side name corresponding to the cascaded timing database to which the device belongs.
[0018] The second aspect of the embodiment of the application discloses an objectified cascading device of a timing database, which is applied to a database platform of a cascaded timing database on a center side, and includes:
[0019] An obtaining unit is configured to obtain device configuration corresponding to a target device added in a database platform of a cascaded timing database on an edge side, the target device being any device added in the database platform of the cascaded timing database on the edge side.
[0020] A creating unit is configured to create a virtual device instance corresponding to the target device according to the device configuration.
[0021] A synchronizing unit is configured to connect the virtual device instance to a virtual device connection service corresponding to the target device to obtain specified synchronization information of the target device through the virtual device connection service, the virtual device connection service being provided by the database platform of the cascaded timing database on the edge side.
[0022] Preferably, the synchronizing unit includes:
[0023] a connection module, configured to connect the virtual device instance to a virtual device connection service corresponding to the target device;
[0024] an acquisition module, configured to acquire specified synchronization information of the target device by using an independent virtual communication link provided by the virtual device connection service.
[0025] Preferably, the specified synchronization information of the target device at least includes attributes, services, states and timing data.
[0026] Preferably, the apparatus further comprises:
[0027] a sending unit, configured to send the specified synchronization information of the target device to a modeling application service, so that the modeling application service performs modeling access to the target device.
[0028] Preferably, the apparatus further comprises:
[0029] a display unit, configured to display the specified synchronization information of the target device and device information in a front-end interface of a database platform of the cascaded timing database, wherein the device information at least includes a device name and an edge side name corresponding to the cascaded timing database to which the target device belongs.
[0030] The object-oriented cascading method and apparatus for a timing database provided in the embodiments of the present application are as follows: a device configuration corresponding to a target device added in a database platform of a cascaded timing database on an edge side is acquired; a virtual device instance corresponding to the target device is created according to the device configuration; and the virtual device instance is connected to a virtual device connection service corresponding to the target device, so as to acquire specified synchronization information of the target device by using the virtual device connection service. In this solution, the device configuration corresponding to the target device added in the database platform of the cascaded timing database is acquired, and the virtual device instance corresponding to the target device is created according to the device configuration. The virtual device instance is connected to the virtual device connection service corresponding to the target device, and the specified synchronization information of the target device is acquired by using the virtual device connection service. The cascaded timing database and the cascaded timing database are object-orientedly cascaded according to devices, the data application complexity is reduced, the specified synchronization information of each device is transmitted by using the virtual device connection service corresponding to each device, the data decoupling between devices is realized, and the data transmission stability is improved. BRIEF DESCRIPTION OF DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed in the embodiments or prior art description. Obviously, the drawings in the following description only represent some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative effort based on the provided drawings.
[0032] Figure 1 A flowchart of an objectification cascading method of a time series database provided for an embodiment of the present application;
[0033] Figure 2 A center side and edge side information synchronization example diagram provided for an embodiment of the present application;
[0034] Figure 3 An application system architecture example diagram of an objectification cascading method of a time series database provided for an embodiment of the present application;
[0035] Figure 4 Another flowchart of an objectification cascading method of a time series database provided for an embodiment of the present application;
[0036] Figure 5 A structural block diagram of an objectification cascading device of a time series database provided for an embodiment of the present application. DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only represent some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort fall within the scope of protection of the present application.
[0038] In the present application, the term “comprising” or “including” or any other variant thereof is 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 statement “comprising a” does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0039] With the in-depth development of industrial enterprise informatization, the application scale of time series database is also becoming larger and larger, and the scene is also becoming more and more complex, from the original single factory small-scale application to large-scale cluster, cloud and other application scenarios. For group enterprises or industrial internet cloud service enterprises, the cascading application of multiple time series databases across regions also begins to be applied, by aggregating the metadata and real-time data of the cascaded time series databases of each branch (or edge side), realizing the whole factory level data monitoring and management of the group company.
[0040] With the development of industrial internet, especially in the field of industrial operating system, the cascaded time series database at the center side requires not only real-time integration of the metadata and real-time data of the cascaded time series database at the edge side, but also real-time synchronization of the device attributes, methods, services, events and other information of the object-oriented model of the time series database, to facilitate the development and display of device object-oriented applications on the upper platform.
[0041] In the current cascading implementation scheme of time series database, the cascaded time series database at the edge side is usually treated as a whole data source, and then the data is cascaded through the collector mode. The cascaded time series database at the center side does not distinguish the underlying device information on the cascaded time series database, and all the data on each cascaded time series database is synchronized to the upper cascaded time series database through a channel.
[0042] The inventors have found that the above-mentioned existing cascading implementation scheme of time series database has the following disadvantages:
[0043] Disadvantage one, all the metadata of the cascaded time series database at the edge side are fused together and handed over to the center layer business application, which requires a large number of complex operations, such as a large number of point table splitting and filtering during modeling application, high data application complexity, and very inconvenient to use.
[0044] Disadvantage two, the time series database at the edge side cannot be easily customized and updated according to the needs of the upper application during metadata synchronization, and a large amount of redundant information may be generated during the synchronization process.
[0045] Disadvantage three, the time series database is cascaded as a whole, and it is difficult to integrate or synchronize the attributes such as methods, services, events and other attributes related to device modeling or calculation in the cascaded time series database, which may result in functional defects and the need for secondary development.
[0046] Disadvantage four, since the cascaded time series database at the edge side is collected and processed as a whole, the physical link is single, and all the data of the cascaded time series database is synchronized to the cascaded time series database through a channel. In large-scale cluster applications, the single channel transmission pressure is large, and once the channel network is busy, data congestion may occur, resulting in abnormal data transmission and poor data transmission stability.
[0047] To solve the above problems, the present scheme provides an objectification cascading method and device of a time series database, obtains the device configuration corresponding to the target device added in the database platform of the cascaded time series database, and creates a virtual device instance corresponding to the target device according to the device configuration. The virtual device instance is connected to the virtual device connection service corresponding to the target device, and the specified synchronization information of the target device is obtained through the virtual device connection service. The cascaded time series database and the cascaded time series database are objectified and cascaded according to the device, the data application complexity is reduced, the specified synchronization information of each device is transmitted through the virtual device connection service corresponding to each device, the data decoupling between devices is realized, and the data transmission stability is improved.
[0048] In order to better understand the present scheme, some terms related to the present scheme will be explained and described here.
[0049] Time series database: Time series database is a branch of database system, which can directly collect and obtain various data in enterprise operation process in real time, and store it in time sequence, and convert it into public information effective for various businesses.
[0050] Configuration: refers to various configuration information of the time series database, including bit number, device, node, expression, alarm, etc., which is a metadata set of the time series database.
[0051] Device: data source object of the time series database, such as various collectors, gateways, etc.
[0052] Cascaded time series database: the full-plant time series database deployed in the information center side (or cloud) for accessing multiple edge side cascaded time series databases, mainly used for centralized display and management of data of each edge side cascaded time series database, and generally does not directly collect real-time data of various devices.
[0053] Cascaded time series database: the time series database deployed in the edge side, which is the time series database that truly collects device data and can provide data to the cascaded time series database as a data source.
[0054] Channel: physical link between the cascaded time series database and the cascaded time series database.
[0055] Device model: mapping of the device to be collected in the industrial field in the industrial operating system, including the collected device bit number.
[0056] Referring to Figure 1 , a flowchart of an objectification cascading method of a time series database is shown, the objectification cascading method is applied to the database platform of the cascaded time series database in the center side, and the objectification cascading method comprises:
[0057] Step S101: Obtain the device configuration corresponding to the target device added in the database platform of the cascaded time series database on the edge side.
[0058] It should be noted that the target device is any device (such as a collection device, a gateway device, etc.) added in the database platform of the cascaded time series database, and the target device can be determined according to actual needs. The target device is equivalent to a device that needs to synchronize information.
[0059] In the process of implementing step S101, after adding the device, the database platform of the cascaded time series database synchronously obtains the device configuration corresponding to the target device in the cascaded time series database.
[0060] Step S102: Create a virtual device instance corresponding to the target device according to the device configuration.
[0061] In the process of implementing step S102, the database platform of the cascaded time series database on the center side creates a virtual device instance corresponding to the target device according to the device configuration of the target device, thereby establishing a mapping of the target device on the center side and the edge side.
[0062] Step S103: Connect the virtual device instance to a virtual device connection service corresponding to the target device to obtain specified synchronization information of the target device through the virtual device connection service.
[0063] In the process of implementing step S103, the database platform of the cascaded time series database on the center side connects the virtual device instance to a virtual device connection service corresponding to the target device, and obtains specified synchronization information of the target device through the virtual device connection service, wherein the virtual device connection service is provided by the database platform of the cascaded time series database.
[0064] Specifically, the implementation manner of synchronizing the specified synchronization information of the target device on the edge side on the center side is: connecting the virtual device instance to the virtual device connection service corresponding to the target device; and obtaining the specified synchronization information of the target device by using an independent virtual communication link provided by the virtual device connection service.
[0065] It should be noted that the independent virtual communication link provided by the virtual device connection service can be implemented by network multiplexing technology.
[0066] In some embodiments, the specified synchronization information of the target device at least includes attribute, service, state, time series data, method, event, variable, and the like.
[0067] Through the above steps S101 to S103, the center side and the edge side establish the mapping of the target device, and then the specified synchronization information of the target device (arbitrary device) of the cascaded time series database is synchronized to the center side through an independent virtual communication link through network multiplexing technology.
[0068] For example Figure 2 The information synchronization example diagram of the center side and the edge side is shown. Through the above steps S101 to S103, the attributes, variables, methods, services, events, etc. of the target device of the cascaded time series database are synchronized to the center side.
[0069] In some embodiments, after the database platform of the cascaded time series database on the center side synchronously acquires the specified synchronization information of the target device, the specified synchronization information of the target device is sent to the modeling application business, so that the modeling application business models and accesses the target device.
[0070] In other embodiments, after the database platform of the cascaded time series database on the center side synchronously acquires the specified synchronization information of the target device, the specified synchronization information of the target device and device information are displayed in the front-end interface of the database platform of the cascaded time series database, and the device information at least includes: device name, and edge side name (or factory name) corresponding to the cascaded time series database to which the target device belongs.
[0071] That is, the specified synchronization information of the target device, the device name, and the edge side name corresponding to the cascaded time series database to which the target device belongs are displayed in the front-end interface.
[0072] In the embodiments of the present application, the device configuration corresponding to the target device added in the database platform of the cascaded time series database is acquired, and a virtual device instance corresponding to the target device is created according to the device configuration. The virtual device instance is connected to the virtual device connection service corresponding to the target device, and the specified synchronization information of the target device is acquired through the virtual device connection service. The cascaded time series database and the cascaded time series database are objectized and cascaded according to the devices, the complexity of data application is reduced, the specified synchronization information of each device is transmitted through the virtual device connection service corresponding to each device, the data decoupling between devices is realized, and the stability of data transmission is improved.
[0073] In actual application, the objectized cascading method of the time series database provided by the present application can be applied in an application system, such as Figure 3 As shown, the application system is composed of an application layer, a center layer (corresponding to the center side) and an edge layer (corresponding to the edge side).
[0074] Figure 3In the embodiment, the edge side comprises the time sequence databases (concatenated time sequence databases) corresponding to the sub-plants 1 to n, and the center layer comprises a time sequence database (concatenated time sequence database).
[0075] By the steps S101 to S103 of the embodiment Figure 1 , the synchronization of the device configurations between the concatenated time sequence databases and the concatenated time sequence databases is performed, and the mapping of the device objects is established on the center side and the edge side. Figure 3 In the embodiment, in the time sequence database of the center layer, “sub-plant 1 device 1” is mapped to “device 1” in the time sequence database of sub-plant 1, “sub-plant 1 device m” is mapped to “device m” in the time sequence database of sub-plant 1, and the mapping relationship of the devices of other concatenated time sequence databases is the same, which is not described herein.
[0076] In the embodiment, the devices in the time sequence databases of the sub-plants comprise acquisition devices, gateway devices and other devices; “sub-plant 1” in “sub-plant 1 device m” is the edge side name corresponding to the concatenated time sequence database to which the device belongs mentioned above, and “device m” in “sub-plant 1 device m” is the device name mentioned above.
[0077] By the network multiplexing technology, the specified synchronization information of the target device (arbitrary device) of the concatenated time sequence database is synchronized to the time sequence database of the center layer through an independent virtual communication link, for example, the metadata, real-time data, method, state and other information of the target device (arbitrary device) of the concatenated time sequence database are synchronized to the time sequence database of the center layer.
[0078] After the specified synchronization information of the center layer synchronization device is synchronized, the specified synchronization information can be handed over to the application layer, so that the application layer can access the modeling according to the device.
[0079] In combination Figure 3 It can be seen that the present scheme realizes one-to-one mapping of each device in the sub-plant (edge layer) and the general plant (center layer), and realizes synchronization of each device through an independent virtual communication link for specified synchronization information under the premise of not increasing the network resource overhead by the network multiplexing technology, so that the decoupling of the data transmission between the devices is realized, and the convenience of the upper application for modeling access according to the device is improved.
[0080] To better explain the content of each embodiment, another flowchart of the objectification concatenation method of the time sequence database is shown to illustrate, Figure 4 for example, Figure 4 comprises the following steps:
[0081] It should be noted that Figure 4The edge-side time-series data platform is a database platform of the cascaded time-series database on the edge side, and the center-side time-series data platform is a database platform of the cascaded time-series database on the center side.
[0082] Step S401: The edge-side time-series data platform adds a device and provides a virtual device connection service corresponding to the device.
[0083] Step S402: The center-side time-series data platform synchronizes the device configuration of the target device on the edge side.
[0084] It should be noted that the target device is any device added by the edge-side time-series data platform in step S401.
[0085] Step S403: The center-side time-series data platform creates a virtual device instance corresponding to the target device.
[0086] Step S404: The virtual device instance on the center side connects the virtual device connection service on the edge side, and the center side synchronously obtains the specified synchronization information of the target device on the edge side.
[0087] Step S405: The center-side time-series data platform pushes the specified synchronization information of the target device to the modeling application service.
[0088] It should be noted that the execution principle of steps S401 to S405 can be referred to the content of the above-mentioned embodiments of the application Figure 1 , which will not be described here again.
[0089] According to the above-mentioned embodiments, it can be seen that the present scheme maps each device object (including a bottom-layer data source collection device and a virtual device of a modeling calculation application) in the cascaded time-series database on the edge side in the cascaded time-series database on the center side, and establishes an independent virtual communication link for the mapped device to synchronize the metadata, real-time data, state, method, service, event and other information on the device, realizes the device-fragmented connection of the cascaded time-series database and the device-filtered synchronization; the independent virtual communication link can be virtually connected based on network multiplexing technology, and shares the real physical link without occupying too much network resource. The present scheme has the following advantages:
[0090] Advantage one: in the field of intelligent factory and digital twin, the time-series database and the service are also described according to the device, and by objectizing the cascade according to the device, the real-time data, attributes and services attached to the device can be synchronized, thereby reducing the use complexity of the upper-layer modeling application.
[0091] The second advantage is that the data packet can be packaged by connecting each device independently, the data decoupling between devices is completed while reducing the transmission pressure of a single network channel, the link exception of one device does not affect other devices, and the load capacity and availability of the network link are improved.
[0092] The third advantage is that the data, attributes, methods to be cascaded can be well filtered by the cascading based on the device object, the time sequence database on the center side only needs to select the device to be synchronized, and the cascaded device can automatically push the attributes, methods, events and states to the center side, so that the configuration complexity is greatly reduced.
[0093] Corresponding to the object-based cascading method of the time sequence database provided by the embodiment of the application, referring to Figure 5 The embodiment of the application also provides a structural diagram of an object-based cascading device of a time sequence database, which is applied to a database platform of a cascaded time sequence database on a center side, and the object-based cascading device comprises an acquisition unit 501, a creation unit 502 and a synchronization unit 503.
[0094] The acquisition unit 501 is used to acquire a device configuration corresponding to a target device added in a database platform of a cascaded time sequence database on an edge side.
[0095] The creation unit 502 is used to create a virtual device instance corresponding to the target device according to the device configuration.
[0096] The synchronization unit 503 is used to connect the virtual device instance to a virtual device connection service corresponding to the target device, so as to acquire specified synchronization information of the target device through the virtual device connection service, and the virtual device connection service is provided by the database platform of the cascaded time sequence database.
[0097] In some embodiments, the specified synchronization information of the target device at least includes attributes, services, states and time sequence data.
[0098] In the embodiment of the application, the device configuration corresponding to the target device added in the database platform of the cascaded time sequence database is acquired, and the virtual device instance corresponding to the target device is created according to the device configuration. The virtual device instance is connected to the virtual device connection service corresponding to the target device, and the specified synchronization information of the target device is acquired through the virtual device connection service. The cascaded time sequence database and the cascaded time sequence database are object-based cascaded according to the device, the data application complexity is reduced, the specified synchronization information of each device is transmitted through the virtual device connection service corresponding to each device, the data decoupling between devices is realized, and the data transmission stability is improved.
[0099] Preferably, in combinationFigure 5 As shown in the content, the synchronization unit 503 comprises a connection module and an acquisition module, and the execution principles of each module are as follows:
[0100] The connection module is configured to connect the virtual device instance to the virtual device connection service corresponding to the target device.
[0101] The acquisition module is configured to acquire the specified synchronization information of the target device by using the independent virtual communication link provided by the virtual device connection service.
[0102] Preferably, in combination with Figure 5 As shown in the content, the objectification cascading device further comprises:
[0103] The sending unit is configured to send the specified synchronization information of the target device to the modeling application service, so that the modeling application service performs modeling access to the target device.
[0104] Preferably, in combination with Figure 5 As shown in the content, the objectification cascading device further comprises:
[0105] The display unit is configured to display the specified synchronization information of the target device and the device information in the front-end interface of the database platform of the cascaded time-series database, and the device information at least comprises: a device name and an edge side name corresponding to the cascaded time-series database to which the device belongs.
[0106] In summary, the embodiment of the application provides a time-series database objectification cascading method and device, the device configuration corresponding to the target device added in the database platform of the cascaded time-series database is acquired, and a virtual device instance corresponding to the target device is created according to the device configuration. The virtual device instance is connected to the virtual device connection service corresponding to the target device, and the specified synchronization information of the target device is acquired through the virtual device connection service. The cascaded time-series database and the cascaded time-series database are objectified and cascaded according to the device, the data application complexity is reduced, the specified synchronization information of each device is transmitted through the virtual device connection service corresponding to each device, the data decoupling between devices is realized, and the data transmission stability is improved.
[0107] The various embodiments described in this specification are described in progressive order, with each embodiment building on the previous one. The same or similar elements in each embodiment are denoted by the same or similar reference signs. For each embodiment, the differences between that embodiment and the preceding ones are described in more detail. In particular, the system or system embodiments are described more briefly than the method embodiments, since they are substantially similar to the method embodiments. The system and system embodiments described above are merely illustrative, and the units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. can be located at one place or distributed over multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments. Those skilled in the art can understand and implement without creative labor.
[0108] Those skilled in the art will further appreciate that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or both. The disclosure will be described in connection with a general purpose computing device, in order to illustrate the interchangeability of hardware and software. The disclosure is not limited to combinations of hardware and software, unless otherwise explicitly stated by the context. Those skilled in the art can use various methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the disclosure.
[0109] The above description of disclosed embodiments enables a person skilled in the art to carry out or use the invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An object-oriented cascading method for a time series database, characterized in that: The method is applied to a database platform of a cascaded time series database on the central side, and includes: Obtaining a device configuration corresponding to a target device added in a database platform of a cascaded time series database on the edge side, where the target device is any device added in the database platform of the cascaded time series database; Creating a virtual device instance corresponding to the target device according to the device configuration; The virtual device instance is connected to the virtual device connection service corresponding to the target device to obtain the specified synchronization information of the target device through the virtual device connection service, and the virtual device connection service is provided by the database platform of the cascaded time series database.
2. The method according to claim 1, characterized in that Connecting the virtual device instance to a virtual device connection service corresponding to the target device to obtain specified synchronization information of the target device through the virtual device connection service includes: Connecting the virtual device instance to the virtual device connection service corresponding to the target device; The designated synchronization information of the target device is obtained by utilizing the independent virtual communication link provided by the virtual device connection service.
3. The method according to claim 1 or 2, characterized in that The designated synchronization information of the target device includes at least attributes, services, status, and timing data.
4. The method according to claim 1 or 2, characterized in that After obtaining the designated synchronization information of the target device through the virtual device connection service, the method further includes: The designated synchronization information of the target device is sent to the modeling application service, so that the modeling application service performs modeling access to the target device.
5. The method according to claim 1 or 2, characterized in that After obtaining the designated synchronization information of the target device through the virtual device connection service, the method further includes: The designated synchronization information and device information of the target device are displayed in the front-end interface of the database platform of the cascaded time series database. The device information at least includes: the device name and the edge side name corresponding to the cascaded time series database to which it belongs.
6. An object-oriented cascade device for a time series database, characterized in that: The device is applied to a database platform of a cascaded time series database on the central side, and includes: An acquiring unit, configured to acquire a device configuration corresponding to a target device added in a database platform of a cascaded time series database on an edge side, wherein the target device is any device added in the database platform of the cascaded time series database; A creating unit, configured to create a virtual device instance corresponding to the target device according to the device configuration; A synchronization unit is used to connect the virtual device instance to the virtual device connection service corresponding to the target device to obtain the specified synchronization information of the target device through the virtual device connection service, and the virtual device connection service is provided by the database platform of the cascaded time series database.
7. The device according to claim 6, characterized in that The synchronization unit comprises: A connection module, configured to connect the virtual device instance to a virtual device connection service corresponding to the target device; The acquisition module is used to acquire the designated synchronization information of the target device by utilizing the independent virtual communication link provided by the virtual device connection service.
8. The device according to claim 6 or 7, characterized in that The designated synchronization information of the target device includes at least attributes, services, status, and timing data.
9. The device according to claim 6 or 7, characterized in that The device further comprises: The sending unit is configured to send the designated synchronization information of the target device to the modeling application service, so that the modeling application service performs modeling access to the target device.
10. The device according to claim 6 or 7, characterized in that The device further comprises: A display unit is used to display the specified synchronization information and device information of the target device in the front-end interface of the database platform of the cascaded time series database, and the device information at least includes: the device name and the edge side name corresponding to the cascaded time series database to which it belongs.