A control method and device of a cloud control platform and a storage medium

Through the design of the adapter framework and data routing, the cloud control platform achieves rapid and flexible data access and improved internal stability, solving the problem of insufficient flexibility in the microservice framework, realizing data standardization, integration and security, and supporting adaptation and sharing for projects of different sizes.

CN116527782BActive Publication Date: 2026-04-07NAT AUTOMOBILE UNIV SPACE-TIME TECH (ANQING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-11
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The existing cloud control platform's microservice framework lacks flexibility and scalability, resulting in inflexible data access and poor internal stability.

Method used

By designing an adapter framework and data routing, we can achieve fast and flexible data access and unified format conversion. We can also adjust the deployment mode of the adapter framework, use dynamic data pipelines for data processing and management, and realize the decoupling of internal sub-services and a highly cohesive and loosely coupled architecture of the cloud control platform.

Benefits of technology

It improves the data access capabilities and internal stability of the cloud control platform, achieves data standardization, integration and security, and supports flexible adaptation and data sharing for projects of different sizes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527782B_ABST
    Figure CN116527782B_ABST
Patent Text Reader

Abstract

This invention discloses a control method, device, and storage medium for a cloud control platform. The method includes: a control adapter framework acquiring several input data and converting the input data into several preset data protocols; wherein input data of the same data type is converted into a single preset data protocol; a control data route receiving all the data protocols sent by the adapter framework, and according to the data type of each data protocol, sending the data body of each data protocol to a corresponding pipeline, and performing mapping processing on each data body according to the data setting requirements of each pipeline, and pushing each data body to a corresponding data processing system; by dynamically adjusting and deploying the data import and export directions of the cloud control platform, rapid and flexible data access is achieved, improving the internal stability of the cloud control platform.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud platform data architecture, and particularly relates to a control method and device of a cloud control platform and a storage medium. BACKGROUND

[0002] The Internet of Things can improve the economy and greatly reduce the cost, and will be widely used in intelligent transportation, ground intrusion, environmental protection, government work, public safety, intelligent power grid, smart home, intelligent fire fighting, industrial monitoring, old people nursing, personal health and other fields. It is predicted that the Internet of Things is another information industry wave after computers, the Internet and mobile communication networks. The government will collect, transmit, process and analyze information of objects such as things, events, resources and people, and realize controllable operation and management in all time periods and all directions. At the same time, it will also carry out intelligent medical treatment, electronic payment, intelligent campus, intelligent community, intelligent home and other constructions in the fields of medical treatment, education and culture, water, electricity, gas and heat and community and rural grassroots services, and implement personalized services.

[0003] The common existing Internet of Things architecture is the integrated Internet of Things architecture of south-north layout, wherein the micro-service framework of the current cloud control platform uniformly accesses data, uniformly stores and processes data in a distributed data center, and provides related APIs for data sharing. The flexibility of such a micro-service framework is insufficient, and the expansibility is not strong. SUMMARY

[0004] The present application provides a control method and device of a cloud control platform and a storage medium, which realizes rapid and flexible access of data of the cloud control platform by dynamically adjusting and deploying the import and export directions of data of the cloud control platform, and improves the internal stability of the cloud control platform.

[0005] In order to realize rapid and flexible access of data of the cloud control platform and improve the internal stability of the cloud control platform, an embodiment of the present application provides a control method of a cloud control platform, the cloud control platform comprising: an adapter framework, data routing and at least one data processing system;

[0006] The control method comprises:

[0007] The control adapter framework acquires a plurality of input data, and converts the input data into a plurality of data protocols in a preset format; wherein the input data of the same data type is converted into a data protocol in a preset format;

[0008] The control data routing receives all the data protocols sent by the adapter framework, and sends the data body of each data protocol to the corresponding pipeline according to the data type of each data protocol; and each data body is mapped according to the data setting requirements of each pipeline and pushed to the corresponding data processing system.

[0009] As a preferred solution, the application solidifies the data source and manages the data import direction by converting the same type of data into a unified data protocol in a preset format, realizes fast and flexible access of data, adjusts the deployment mode of the adapter framework according to different types of input data, and improves the access capacity of the adapter framework to a large amount of data; and the input data is converted into a unified format data protocol, so that the internal data of the adapter framework can be recognized, the standardization and integration of data production are realized, and the standardization level and system integration level of the cloud control platform are improved.

[0010] The application receives the data protocol sent by the adapter framework through the control data routing, and sends each data protocol to the corresponding pipeline for processing according to the data type of each data protocol, and the data is forwarded and processed on demand through the dynamic data pipeline, the data link of the cloud control platform is managed, the export direction of the data is controlled, and the security of the data use is improved.

[0011] The application can fix the internal sub-service design of the cloud control platform due to the design of the data routing, the adapter framework converts the input data into a unified format, the data routing sends the data received from the adapter framework to the corresponding pipeline, and the two shield the data processing, which greatly improves the stability of the internal architecture of the cloud control platform; the design of the data routing realizes the decoupling between the internal sub-services of the cloud control platform, realizes the "high cohesion and low coupling" architecture design of the services of the cloud control platform; finally, the data is pushed to the corresponding data processing system according to different requirements, which can flexibly adapt to different scale projects and realize flexible sharing of the data of the cloud control platform.

[0012] As a preferred solution, the input data is converted into a plurality of data protocols in a preset format, specifically:

[0013] All input data is decoded to obtain the data type of all input data;

[0014] The first data information of the input data of the same data type is converted into a data header; wherein the data header includes: data type identifier, login identifier, data protocol identifier, version identifier, encryption identifier and data body size identifier;

[0015] Convert the data structure information of the input data of the same data type into a data body; wherein the data body comprises: a position data body, a state data body and a feature map data body;

[0016] Obtain a plurality of data protocols according to the data types of all the input data; wherein the data protocol comprises a data head and a data body converted from the input data of the same data type.

[0017] As a preferred solution, the application realizes the rapid and flexible access of data by converting the data of the same type into a unified data protocol of a preset format, adjusts and adapts the deployment mode of the adapter framework according to the different types of input data, improves the access capacity of the adapter framework to a large amount of data, and realizes the standardization and integration of data production by converting the input data into a unified format data protocol, so that the internal data of the adapter framework can be recognized, thereby improving the job standardization level and system integration level of the cloud control platform.

[0018] As a preferred solution, after all the input data is converted into a data protocol of a preset format, the application further comprises:

[0019] According to the encryption identifier in each data protocol, the corresponding data body is encrypted.

[0020] Encode all the data protocols to obtain a data parsing protocol package.

[0021] As a preferred solution, the application provides an encoding specification of the internal protocol of the cloud control platform by encrypting and encoding the data protocol, thereby improving the job standardization level and system integration level of the cloud control platform.

[0022] As a preferred solution, according to the data type of each data protocol, the data body of each data protocol is sent to the corresponding pipeline, specifically:

[0023] Obtain the received data parsing protocol package, and obtain the first data type of each data protocol according to the data type identifier of the data head of each data protocol.

[0024] According to the encryption identifier of the data head of each data protocol, the corresponding data body is decrypted; the encryption identifier comprises encryption information and encryption means information.

[0025] Read the pipeline configuration information of each pipeline to obtain the second data type of the transmission data of each pipeline.

[0026] According to the matching result of the first data type and the second data type, the data body data of all the data protocols is respectively sent to the corresponding pipeline for transmission.

[0027] As a preferred solution, the application manages the data link of the cloud control platform by controlling the data protocol sent by the data routing adapter framework and sending each data protocol to the corresponding pipeline according to the data type of each data protocol, realizes the decoupling between the internal sub-services of the cloud control platform, realizes the "high cohesion and low coupling" architecture design of the service, and greatly improves the stability of the internal architecture of the cloud control platform due to the design of the data routing. The adapter framework converts the input data into a unified format, and the data routing sends the data received from the adapter framework to the corresponding pipeline, which shields the data processing, greatly improves the stability of the internal architecture of the cloud control platform, and finally pushes the data to the corresponding data processing system according to different requirements, which can flexibly adapt to different project requirements.

[0028] As a preferred solution, after each data body is pushed to the corresponding data processing system, the method further comprises:

[0029] If the data processing system is an upstream system, the data body data is pushed through the data gateway according to the subscription requirements;

[0030] If the data processing system is a downstream system, the data body data is consumed and processed, and is uniformly stored and managed according to the type of the data body data;

[0031] If the data processing system is an external system, the data body data is pushed to a third-party system or hardware.

[0032] As a preferred solution, the application realizes the flexible requirements of the lower-level system for forwarding internal data, the external system (flat-level system) for subscribing and forwarding third-party data, and the upstream system for forwarding subscribed data, and finally realizes the flexible sharing of the data of the cloud control platform.

[0033] Correspondingly, the application also provides a control device of a cloud control platform, comprising a format conversion module and a pipeline pushing module.

[0034] The format conversion module is used to control the adapter framework to obtain a plurality of input data and convert the input data into a plurality of data protocols in a preset format; wherein the input data of the same data type is converted into a data protocol in a preset format.

[0035] The pipeline pushing module is used to control the data routing to receive all the data protocols sent by the adapter framework, and according to the data type of each data protocol, send the data body of each data protocol to the corresponding pipeline, and according to the data setting requirements of each pipeline, map and process each data body, and push each data body to the corresponding data processing system.

[0036] As a preferred solution, the format conversion module of the application solidifies the data source and manages the data import direction by converting the same type of data into a unified data protocol of a preset format, realizes the rapid and flexible access of data, adjusts and adapts the deployment mode of the adapter framework according to the different types of input data, improves the access capacity of the adapter framework to a large amount of data, and realizes the standardization and integration of data production by converting the input data into a unified format data protocol so that the internal data of the adapter framework can be recognized, thereby improving the standardization level and system integration level of the cloud control platform.

[0037] The pipeline pushing module of the application receives the data protocol sent by the adapter framework through data routing control, and sends each data protocol to the corresponding pipeline for processing according to the data type of each data protocol, and forwards and processes the data on demand through the dynamic data pipeline, thereby managing the data link of the cloud control platform and controlling the data export direction, and improving the security of data use.

[0038] Due to the design of the data routing, the internal sub-service design of the cloud control platform can be fixed, the adapter framework can convert the input data into a unified format, the data routing can send the data received from the adapter framework to the corresponding pipeline, and the two can shield the data processing, thereby greatly improving the stability of the internal architecture of the cloud control platform. The design of the data routing realizes the decoupling between the internal sub-services of the cloud control platform, realizes the "high cohesion and low coupling" architecture design of the services of the cloud control platform, and finally pushes the data to the corresponding data processing system according to different requirements, which can flexibly adapt to different scales of projects and realize the flexible sharing of the data of the cloud control platform.

[0039] As a preferred solution, the format conversion module comprises a protocol generation unit and a data analysis protocol package generation unit.

[0040] The protocol generation unit is used for decoding all input data to obtain the data types of all the input data, converting the first data information of the input data of the same data type into a data header, wherein the data header comprises a data type identifier, a login identifier, a data protocol identifier, a version identifier, an encryption identifier and a data body size identifier, converting the data structure information of the input data of the same data type into a data body, wherein the data body comprises a position data body, a state data body and a feature map data body, and obtaining a plurality of data protocols according to the data types of all the input data, wherein the one data protocol comprises the data header and the data body converted from the input data of the same data type.

[0041] The data analysis protocol package generation unit is configured to encrypt the corresponding data body according to the encryption identifier in each data protocol, and encode all the data protocols to obtain a data analysis protocol package.

[0042] As a preferred solution, the protocol generation unit of the application converts data of the same type into a unified data protocol in a preset format, realizes fast and flexible access of data, adjusts the deployment mode of the adapter framework according to different types of input data, and improves the access capacity of the adapter framework to a large amount of data; and converts the input data into a unified format data protocol, so that the internal data of the adapter framework can be recognized, and the standardization and integration of data production are realized; the data analysis protocol package generation unit encrypts and encodes the data protocol, provides the coding specification of the internal protocol of the cloud control platform, and improves the standardization level and system integration level of the cloud control platform.

[0043] As a preferred solution, the pipeline pushing module comprises an analysis unit and a pushing unit.

[0044] The analysis unit is configured to obtain the received data analysis protocol package, obtain a first data type of each data protocol according to a data type identifier of a data header of each data protocol, decrypt the corresponding data body according to an encryption identifier of the data header of each data protocol, and the encryption identifier comprises encryption information and encryption means information.

[0045] The pushing unit is configured to read the pipeline configuration information of each pipeline, obtain a second data type of the transmission data of each pipeline, and send the data body data of all the data protocols to the corresponding pipeline for transmission according to the matching result of the first data type and the second data type.

[0046] As a preferred solution, the analysis unit of the application sends each data protocol to the corresponding pipeline for processing according to the data type of each data protocol, manages the data link of the cloud control platform, and realizes decoupling between internal sub-services of the cloud control platform, realizes the "high cohesion and low coupling" architecture design of the service, and due to the design of the data routing, the internal sub-service design of the cloud control platform is fixed, the adapter framework converts the input data into a unified format, the data routing sends the data received from the adapter framework to the corresponding pipeline, and the two shield the data processing, which greatly improves the stability of the internal architecture of the cloud control platform, and finally the pushing unit pushes the data to the corresponding data processing system according to different requirements, which can flexibly adapt to different scales of project requirements.

[0047] As a preferred solution, the control device of the cloud control platform further comprises an upstream system control module, a downstream system control module and an external system control module.

[0048] The upstream system control module is configured to push the received data body data to a data gateway according to subscription requirements.

[0049] The downstream system control module is configured to process the received data body data and store the data body data according to types of the data body data.

[0050] The external system control module is configured to push the received data body data to a third-party system or hardware.

[0051] As a preferred solution, the upstream system control module, the downstream system control module and the external system control module of the present application realize data routing and quick data docking with the third-party system to form an efficient data sharing system, realize flexible requirements of the lower-level system for forwarding internal data, the external system (the same-level system) for forwarding third-party data subscription, and the upstream system for forwarding subscription data, and finally realize flexible sharing of data of the cloud control platform.

[0052] Correspondingly, the present application also provides a computer readable storage medium, which comprises a stored computer program; wherein the computer program controls a device where the computer readable storage medium is located to execute the control method of the cloud control platform when running. BRIEF DESCRIPTION OF DRAWINGS

[0053] Figure 1 is a flowchart of an embodiment of the control method of the cloud control platform provided by the present application;

[0054] Figure 2 is a structural diagram of an embodiment of the adapter framework of the control method of the cloud control platform provided by the present application;

[0055] Figure 3 is a structural diagram of an embodiment of the data routing link scheduling of the control method of the cloud control platform provided by the present application;

[0056] Figure 4 is a flowchart of an embodiment of the working process of the control method of the cloud control platform provided by the present application;

[0057] Figure 5 is a structural diagram of an embodiment of the control device of the cloud control platform provided by the present application. DETAILED DESCRIPTION

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

[0059] Example 1

[0060] Please refer to Figure 1 This invention provides a control method for a cloud control platform, the cloud control platform comprising: an adapter framework, a data routing system, and at least one data processing system; the control method includes steps S101-S103:

[0061] Step S101: The control adapter framework acquires several input data and converts the input data into several preset data protocols; wherein, input data of the same data type is converted into a preset data protocol.

[0062] In this embodiment, multi-source data, including data with different protocols or data structures, such as sensor data and third-party data, is dynamically accessed through an adapter framework. The accessed multi-source data is converted into several preset data protocols, which are a unified standard protocol. The data protocol can be used to identify the type of data.

[0063] In this embodiment, the input data is converted into several preset data protocols, specifically as follows:

[0064] Decode all input data to obtain the data type of all input data;

[0065] The first data information of input data of the same data type is converted into a data header; wherein, the data header includes: data type identifier, login identifier, data protocol identifier, version identifier, encryption identifier and data body size identifier;

[0066] The data structure information of input data of the same data type is converted into a data body; wherein, the data body includes: location data body, status data body and feature map data body;

[0067] Based on the data types of all the input data, several data protocols are obtained; wherein, each data protocol includes a data header and a data body converted from input data of the same data type.

[0068] In this embodiment, the data protocol includes a data header and a data body. The data body identifies the specific structural requirements of each data item. Data protocols with the same data type identifier belong to the same data type. Data protocols of the same data type are distinguished from different data versions based on version identifiers.

[0069] Please refer to Figure 2 The system dynamically accesses data sources through an adapter framework. The model definition area obtains the metadata of the data source as cloud data and sends it to several adapters in the data docking area. Each adapter obtains the data content of the data source and the received cloud data, and sends them to the location interface, status interface, or data converter in the standard interface area, respectively. One adapter connects to several data converters (Convert1, Convert2, Convert, etc.), forming an internal data conversion API. The system downloads the corresponding encoding package, sets parameters, and uploads the encoding protocol package to quickly form data access capabilities and perform rapid adaptation.

[0070] In this embodiment, after all the input data is converted into a preset data protocol, the following steps are also included:

[0071] The corresponding data body is encrypted according to the encryption identifier in each data protocol;

[0072] Encode all the data protocols to obtain the data parsing protocol packet.

[0073] In this embodiment, the encryption identifier includes encryption information and encryption method information. Based on the encryption information, it is determined whether to encrypt the data body and what encryption method to use. After encrypting the data body, the data protocol is encoded, and a unified interface protocol is implemented.

[0074] Step S102: The control data routing receives all the data protocols sent by the adapter framework, and sends the data body of each data protocol to the corresponding pipe according to the data type of each data protocol;

[0075] In this embodiment, the received data parsing protocol packet is obtained, and the first data type of each data protocol is obtained according to the data type identifier of the data header of each data protocol;

[0076] The corresponding data body is decrypted based on the encryption identifier in the header of each data protocol; the encryption identifier includes encryption information and encryption method information.

[0077] Read the pipe configuration information of each pipe to obtain the second data type of the transmission data of each pipe;

[0078] Based on the matching results of the first data type and the second data type, the data body data of all the data protocols are sent to the corresponding pipes for transmission.

[0079] In this embodiment, the pipeline configuration information is dynamically created by the system, and data links are dynamically created according to the customer's data requirements; the data router dynamically creates data pipelines based on the pipeline configuration information, and places the data body in the corresponding pipeline according to the data type information of the data header of each data protocol.

[0080] Please refer to Figure 3 The data routing link scheduling obtains the data source configuration, data exit configuration, background log thread configuration, and data processing rule configuration, and forwards and distributes the data protocol to the corresponding microservices for data consumption according to the data identifier of the data protocol, so as to help decouple the services.

[0081] Step S103: Map each data body according to the data setting requirements of each pipeline, and push each data body to the corresponding data processing system.

[0082] In this embodiment, data routing can process data protocol content, such as through protocol mapping, where the configuration information for protocol mapping is uniformly created by the system according to requirements; alternatively, data protocols can be pushed to the pipeline according to standard protocols, and whether to process the standard data needs to be created by the system according to requirements.

[0083] In this embodiment, after pushing each data body to the corresponding data processing system, the method further includes:

[0084] If the data processing system is an upstream system, the data body data will be pushed through the data gateway according to the subscription requirements;

[0085] If the data processing system is a downstream system, then the data body data will be consumed and processed, and the data body data will be uniformly stored and managed according to its type.

[0086] If the data processing system is an external system, the data body will be pushed to a third-party system or hardware.

[0087] In this embodiment, the downstream system uses different technical middleware to uniformly store and manage data according to the spatiotemporal dimensions of data, mainly including real-time data dimension, historical data dimension, and spatial business data dimension.

[0088] The upstream system initiates a data subscription, selects the data type, data range, push requirements, and push target, and then the data routing node establishes a data pipeline and pushes the data according to the requirements.

[0089] An external system (a system at the same level) initiates a data subscription, selects the data type, data range, push requirements, and push target, and then the data routing node establishes a data pipeline and pushes the data according to the requirements.

[0090] For a better explanation of this embodiment, please refer to [link / reference]. Figure 4 Here is the workflow of the cloud control platform control method in this embodiment:

[0091] The cloud control platform includes adapters, data routers, upstream systems, external systems, and downstream internal systems;

[0092] The adapter is responsible for accessing various data source protocols and standard data sources, and converting input data into several preset internal data protocols; among them, input data of the same data type is converted into one preset internal data protocol; the adapter sends all internal data protocols to the data router;

[0093] Data routing includes three nodes: link establishment, channel management, and protocol conversion.

[0094] The data router receives all the data protocols sent by the adapter framework. The system dynamically creates pipeline configuration information according to each data protocol. The data router dynamically creates data pipelines according to the pipeline configuration information. Based on the data type information of the data header of each data protocol, the data body is placed in the corresponding pipeline. Each data body is pushed to the upstream system, external system, or downstream internal system.

[0095] The upstream system includes several gateways, which push data body data through the data gateways according to subscription requirements;

[0096] The downstream internal system includes several sub-services that consume and process the data body data and perform unified storage management according to the data body data type;

[0097] External systems include third-party systems, vehicles, and sensing devices, which push data to third-party systems or hardware (vehicles and sensing devices).

[0098] Implementing the embodiments of the present invention has the following effects:

[0099] This invention solidifies the data source and manages the data import direction by converting data of the same type into a unified data protocol in a preset format, enabling rapid and flexible data access. It adjusts the deployment mode of the adapter framework according to different types of input data, improving the adapter framework's ability to access large amounts of data. Furthermore, by converting input data into a unified data protocol format, the data within the adapter framework can be identified, achieving standardization and integration of data production, and improving the operational standardization and system integration level of the cloud control platform.

[0100] This invention manages the data links of the cloud control platform by controlling the data routing and receiving adapter framework to send data protocols, and sends each data protocol to the corresponding pipeline for processing according to the data type of each data protocol. By using dynamic data pipelines to forward and process data on demand, it controls the data exit direction and improves the security of data use.

[0101] This invention, through its data routing design, can solidify the internal sub-service design of the cloud control platform. The adapter framework performs unified format conversion on the input data, and the data routing sends the data received from the adapter framework to the corresponding pipeline. Both shield the data processing, greatly improving the stability of the cloud control platform's internal architecture. The data routing design decouples the internal sub-services of the cloud control platform, achieving a "high cohesion, low coupling" architecture design for the cloud control platform's services. Finally, data is pushed to the corresponding data processing system according to different needs, which can flexibly adapt to projects of different sizes and realize flexible data sharing of the cloud control platform.

[0102] Example 2

[0103] Please refer to Figure 5 A control device for a cloud control platform provided in an embodiment of the present invention includes: a format conversion module 201 and a pipeline push module 202;

[0104] The format conversion module 201 is used to control the adapter framework to acquire several input data and convert the input data into several preset data protocols; wherein, input data of the same data type is converted into a preset data protocol.

[0105] The pipeline push module 202 is used to control the data routing to receive all the data protocols sent by the adapter framework, and according to the data type of each data protocol, send the data body of each data protocol to the corresponding pipeline, and perform mapping processing on each data body according to the data setting requirements of each pipeline, and push each data body to the corresponding data processing system.

[0106] The format conversion module 201 includes: a protocol generation unit and a data parsing protocol packet generation unit;

[0107] The protocol generation unit is used to decode all input data to obtain the data types of all input data; convert the first data information of input data of the same data type into a data header; wherein the data header includes: data type identifier, login identifier, data protocol identifier, version identifier, encryption identifier, and data body size identifier; convert the data structure information of input data of the same data type into a data body; wherein the data body includes: location data body, status data body, and feature map data body; and obtain several data protocols according to the data types of all input data; wherein each data protocol includes a data header and a data body converted from input data of the same data type.

[0108] The data parsing protocol packet generation unit is used to encrypt the corresponding data body according to the encryption identifier in each data protocol; and to encode all the data protocols to obtain a data parsing protocol packet.

[0109] The pipeline push module 202 includes: a parsing unit and a push unit;

[0110] The parsing unit is used to acquire the received data parsing protocol packets, obtain the first data type of each data protocol according to the data type identifier of the data header of each data protocol, and decrypt the corresponding data body according to the encryption identifier of the data header of each data protocol; the encryption identifier includes encryption information and encryption method information;

[0111] The push unit is used to read the pipeline configuration information of each pipeline and obtain the second data type of the transmission data of each pipeline; according to the matching result of the first data type and the second data type, the data body data of all the data protocols are sent to the corresponding pipelines for transmission.

[0112] The control device of the cloud control platform further includes: an upstream system control module, a downstream system control module, and an external system control module;

[0113] The upstream system control module is used to push the received data body data through the data gateway according to the subscription requirements;

[0114] The downstream system control module is used to consume the received data body data and perform unified storage management according to the data body data type;

[0115] The external system control module is used to push the received data body data to a third-party system or hardware.

[0116] The control device of the cloud control platform described above can implement the control method of the cloud control platform in the above method embodiments. The options in the above method embodiments are also applicable to this embodiment, and will not be detailed here. The remaining content of this application embodiment can be referred to the content of the above method embodiments, and will not be repeated in this embodiment.

[0117] Implementing the embodiments of the present invention has the following effects:

[0118] The format conversion module of this invention converts data of the same type into a unified data protocol in a preset format, thereby solidifying the data source, managing the data import direction, and enabling rapid and flexible data access. It adjusts the deployment mode of the adapter framework according to different types of input data, improving the adapter framework's ability to access large amounts of data. Furthermore, by converting input data into a unified format data protocol, the data within the adapter framework can be identified, achieving standardization and integration of data production, and improving the operational standardization and system integration level of the cloud control platform.

[0119] The pipeline push module of this invention controls the data protocol sent by the data routing receiving adapter framework, and sends each data protocol to the corresponding pipeline for processing according to the data type of each data protocol. Through dynamic data pipeline, data is forwarded and processed on demand, the data link of the cloud control platform is managed, the outgoing direction of data is controlled, and the security of data use is improved.

[0120] This invention, through its data routing design, can solidify the internal sub-service design of the cloud control platform. The adapter framework performs unified format conversion on the input data, and the data routing sends the data received from the adapter framework to the corresponding pipeline. Both shield the data processing, greatly improving the stability of the cloud control platform's internal architecture. The data routing design decouples the internal sub-services of the cloud control platform, achieving a "high cohesion, low coupling" architecture design for the cloud control platform's services. Finally, data is pushed to the corresponding data processing system according to different needs, which can flexibly adapt to projects of different sizes and realize flexible data sharing of the cloud control platform.

[0121] Example 3

[0122] Accordingly, the present invention also provides a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the control method of the cloud control platform as described in any of the above embodiments.

[0123] For example, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.

[0124] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0125] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.

[0126] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0127] Wherein, if the modules / units integrated in the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0128] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A control method for a cloud control platform, characterized in that, The cloud control platform includes: an adapter framework, a data routing system, and at least one data processing system; Control methods include: The control adapter framework acquires several input data and converts the input data into several preset data protocols; wherein, input data of the same data type is converted into a preset data protocol. The control data routing receives all the data protocols sent by the adapter framework, and sends the data body of each data protocol to the corresponding pipeline according to the data type of each data protocol; Each data body is mapped according to the data setting requirements of each pipeline, and each data body is pushed to the corresponding data processing system; The process of converting the input data into a data protocol with several preset formats specifically includes: Decode all input data to obtain the data type of all input data; The first data information of input data of the same data type is converted into a data header; wherein, the data header includes: data type identifier, login identifier, data protocol identifier, version identifier, encryption identifier and data body size identifier; The data structure information of input data of the same data type is converted into a data body; wherein, the data body includes: location data body, status data body and feature map data body; Based on the data types of all the input data, several data protocols are obtained; wherein each data protocol includes a data header and a data body converted from input data of the same data type.

2. The control method for a cloud control platform as described in claim 1, characterized in that, After all the input data is converted into a preset format data protocol, the following is also included: The corresponding data body is encrypted according to the encryption identifier in each data protocol; Encode all the data protocols to obtain the data parsing protocol packet.

3. The control method for a cloud control platform as described in claim 2, characterized in that, The step of sending the data body of each data protocol to the corresponding pipe according to the data type of each data protocol specifically involves: Obtain the received data parsing protocol packets, and obtain the first data type of each data protocol based on the data type identifier in the data header of each data protocol; The corresponding data body is decrypted based on the encryption identifier in the header of each data protocol; the encryption identifier includes encryption information and encryption method information. Read the pipe configuration information of each pipe to obtain the second data type of the transmission data of each pipe; Based on the matching results of the first data type and the second data type, the data body data of all the data protocols are sent to the corresponding pipes for transmission.

4. The control method for a cloud control platform as described in claim 3, characterized in that, After pushing each of the data volumes to the corresponding data processing system, the process further includes: If the data processing system is an upstream system, the data body data will be pushed through the data gateway according to the subscription requirements; If the data processing system is a downstream system, then the data body data will be consumed and processed, and the data body data will be uniformly stored and managed according to its type. If the data processing system is an external system, the data body will be pushed to a third-party system or hardware.

5. A control device for a cloud control platform, characterized in that, include: Format conversion module and pipeline push module; The format conversion module is used to control the adapter framework to acquire several input data and convert the input data into several preset data protocols; wherein, input data of the same data type is converted into a preset data protocol. The pipeline push module is used to control the data routing to receive all the data protocols sent by the adapter framework, and according to the data type of each data protocol, send the data body of each data protocol to the corresponding pipeline, and perform mapping processing on each data body according to the data setting requirements of each pipeline, and push each data body to the corresponding data processing system. The format conversion module includes: a protocol generation unit; The protocol generation unit is used to decode all input data to obtain the data types of all input data; convert the first data information of input data of the same data type into a data header; wherein the data header includes: data type identifier, login identifier, data protocol identifier, version identifier, encryption identifier, and data body size identifier; convert the data structure information of input data of the same data type into a data body; wherein the data body includes: location data body, status data body, and feature map data body; and obtain several data protocols according to the data types of all input data; wherein each data protocol includes a data header and a data body converted from input data of the same data type.

6. The control device for a cloud control platform as described in claim 5, characterized in that, The format conversion module includes: a data parsing protocol packet generation unit; The data parsing protocol packet generation unit is used to encrypt the corresponding data body according to the encryption identifier in each data protocol; and to encode all the data protocols to obtain a data parsing protocol packet.

7. The control device for a cloud control platform as described in claim 5, characterized in that, The pipeline push module includes: a parsing unit and a push unit; The parsing unit is used to acquire the received data parsing protocol packets, obtain the first data type of each data protocol according to the data type identifier of the data header of each data protocol, and decrypt the corresponding data body according to the encryption identifier of the data header of each data protocol; the encryption identifier includes encryption information and encryption method information; The push unit is used to read the pipeline configuration information of each pipeline and obtain the second data type of the transmission data of each pipeline; according to the matching result of the first data type and the second data type, the data body data of all the data protocols are sent to the corresponding pipelines for transmission.

8. The control device for a cloud control platform as described in claim 5, characterized in that, Also includes: Upstream system control module, downstream system control module, and external system control module; The upstream system control module is used to push the received data body data through the data gateway according to the subscription requirements; The downstream system control module is used to consume the received data body data and perform unified storage management according to the data body data type; The external system control module is used to push the received data body data to a third-party system or hardware.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program; wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform a control method for a cloud control platform as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Data processing method and system, computer equipment and storage medium

    CN113687958A

  • Communication method and device and road side unit

    CN115643543A