CN110417875B - Method, system, equipment and storage medium for docking between cloud servers - Google Patents
Method, system, equipment and storage medium for docking between cloud servers Download PDFInfo
- Publication number
- CN110417875B CN110417875B CN201910639801.5A CN201910639801A CN110417875B CN 110417875 B CN110417875 B CN 110417875B CN 201910639801 A CN201910639801 A CN 201910639801A CN 110417875 B CN110417875 B CN 110417875B
- Authority
- CN
- China
- Prior art keywords
- cloud
- data
- cloud server
- company
- docking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The invention discloses a method, a system, equipment and a storage medium for docking between cloud servers, wherein the method comprises the steps of establishing a cloud docking system of a third-party cloud server based on a cloud communication architecture; synchronizing device data of a plurality of third-party cloud servers to the cloud docking system; according to a protocol of a company cloud server, the cloud docking system carries out standardization processing on the obtained synchronous data to obtain conversion data; transmitting the conversion data to the company cloud server through a message service MNS for data processing. The embodiment of the invention realizes data docking between clouds and interconnection and intercommunication of cloud products on the premise of not changing the data collection mode of the original equipment and not influencing the business architecture and functional logic of the company cloud.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method, a system, equipment and a storage medium for docking between cloud servers.
Background
At present, service clouds on the market are various, protocols of private clouds are different, but for cloud equipment of a third party, special adaptations are often needed if data butt joint among the service clouds is to be communicated, but the service clouds are more and more complex in business logic and stronger in coupling due to the special adaptations.
Disclosure of Invention
The embodiment of the invention provides a method, a system, equipment and a storage medium for docking between cloud servers, which are used for realizing interconnection and intercommunication of cloud products and realizing data docking between clouds.
In order to solve the above technical problem, in a first aspect, an embodiment of the present invention provides a method for docking between cloud servers, including:
establishing a cloud docking system of a third-party cloud server based on a cloud communication architecture;
synchronizing device data of a plurality of third-party cloud servers to the cloud docking system;
according to a protocol of a company cloud server, the cloud docking system carries out standardization processing on the obtained synchronous data to obtain conversion data;
transmitting the conversion data to the company cloud server through a message service MNS for data processing.
As a preferred scheme, the third-party cloud server sends a data acquisition instruction to the internet of things equipment at a preset first time interval, and synchronously sends the received equipment state data sent by the internet of things equipment to the cloud docking system.
As a preferred scheme, the transmitting the conversion data to the company cloud server through the message service MNS to perform data processing specifically includes:
the cloud docking system pushes the conversion data to the message service MNS;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
As a preferred scheme, the company cloud server performs unified analysis, processing and storage on the converted data, and uploads the data to a terminal, specifically:
and the company cloud server performs Modbus analysis on the conversion data, performs structuring according to a JSON format, stores the conversion data according to data types, and feeds back the latest state data of the Internet of things equipment to the terminal at a preset third time interval.
In a second aspect, an embodiment of the present invention provides a docking system between cloud servers, including a company cloud server, a third-party cloud server, a message service MNS, and a cloud docking system of the third-party cloud server created based on a cloud communication architecture;
the third-party cloud server is used for synchronizing the equipment data to the cloud docking system;
the cloud docking system is used for carrying out standardization processing on the obtained synchronous data according to a protocol of a company cloud server to obtain conversion data;
the message service MNS is used for receiving the conversion data and sending the conversion data to the company cloud server;
and the company cloud server is used for carrying out data processing on the converted data.
As a preferred scheme, the third-party cloud server sends a data acquisition instruction to the internet of things equipment at a preset first time interval, and synchronously sends the received equipment state data sent by the internet of things equipment to the cloud docking system.
As a preferred scheme, the message service MNS obtains the conversion data pushed by the cloud docking system;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
As a preferred scheme, the cloud docking system pushes the conversion data to the message service MNS;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
In a third aspect, an embodiment of the present invention provides a docking device between cloud servers, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the docking device implements the docking method between cloud servers as described above.
In a fourth aspect, the embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where the computer program, when running, controls a device in which the computer-readable storage medium is located to perform the method for interfacing between cloud servers as described above.
Compared with the prior art, the embodiment of the invention provides a method, a system, equipment and a storage medium for docking between cloud servers, wherein the method comprises the steps of establishing a cloud docking system of a third-party cloud server based on a cloud communication architecture; synchronizing device data of a plurality of third-party cloud servers to the cloud docking system; according to a protocol of a company cloud server, the cloud docking system carries out standardization processing on the obtained synchronous data to obtain conversion data; transmitting the conversion data to the company cloud server through a message service MNS for data processing. On the premise of not changing the data collection mode of the original equipment and not influencing the business architecture and the function logic of the cloud end of a company, the saas platform is uniformly used for management, and data docking between the cloud and interconnection and intercommunication of cloud end products are achieved.
Drawings
Fig. 1 is a flowchart of steps of a docking method between cloud servers in an embodiment of the present invention;
fig. 2 is a communication framework diagram of a docking method between cloud servers in an embodiment of the present invention;
fig. 3 is a flowchart of a docking method between cloud servers in an embodiment of the present invention;
fig. 4 is a serial port protocol conversion diagram of a docking method between cloud servers in the embodiment of the present invention;
fig. 5 is a communication mode flowchart of a cloud docking system of a docking method between cloud servers in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment of the present invention:
referring to fig. 1 to 3, an embodiment of the present invention provides a method for interfacing between cloud servers, including:
s1, establishing a cloud docking system of a third-party cloud server based on a cloud communication architecture; (ii) a The cloud docking system is used as a conversion platform of special services and functional logics; the small Marble cloud, the intelligent cloud and the like belong to the third-party cloud server;
s2, synchronizing the equipment data of the plurality of third-party cloud servers to the cloud docking system S3, and according to the protocol of the company cloud server, standardizing the acquired synchronous data by the cloud docking system to obtain converted data;
in this embodiment, the cloud docking system performs standardized packing and conversion on the synchronous data, so that data reaching a message MNS is data with a uniform protocol;
and S4, the company cloud server acquires the conversion data through a message service MNS and performs data processing on the conversion data.
According to the embodiment of the invention, on the premise of not changing the data collection mode of the original equipment and not influencing the service architecture and the function logic of the company cloud, the saas platform is uniformly used for management, so that data docking between the cloud and interconnection and intercommunication of cloud products are realized.
Referring to fig. 3, in the embodiment of the present invention, the third-party cloud server sends a data acquisition instruction to the internet of things device at a preset first time interval, and synchronously sends the received device state data sent by the internet of things device to the cloud docking system. Preferably, the preset first time interval is 5 min.
Preferably, the converting data is transmitted to the company cloud server by the message service MNS to perform data processing, specifically:
the cloud docking system pushes the conversion data to the message service MNS;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
Preferably, the company cloud server performs unified analysis, processing and storage on the converted data, and uploads the data to the terminal, specifically:
and the company cloud server performs Modbus analysis on the converted data, performs structuring according to a JSON format and stores according to data types, and feeds back the latest state data of the Internet of things equipment to the terminal at a preset third time interval.
Specifically, the protocol data conversion processing scheme of the cloud docking system is as follows:
the company cloud server (Fenny cloud server) is used as an analysis engine of a standard modbus protocol and receives a standard modbus 0x10 instruction;
the Modbus protocol standard 0x10 command is shown in the following table:
address code | 0x00 |
Function code | 0x10 |
Initial address (high order) | 0x00 |
Initial address (Low order) | 0x02 |
Number of addresses (high order) | 0x00 |
Number of addresses (Low order) | 0x04 |
Number of bytes | 0x06 |
Data (high-order) | 0x00 |
Data (Low level) | 0x03 |
CRC (Low order) | 0x05 |
CRC (high order) | 0xCB |
In each system, protocols are different and communication modes are different
A. Regarding protocol conversion, it includes:
1) private protocol
2) Standard non-modbus protocol
Specifically, as shown in fig. 4, protocol conversion of the private serial port is implemented.
Establishing a new modbus protocol, converting the protocol content according to the modbus standard, and pushing the completed data packet to the cloud;
B. regarding communication mode compatibility, including:
1) active grabbing
2) Passive acceptance push
3) Non-uniform interface parameters
The cloud docking system is used for conversion, and the pushing of the company cloud server (Fenny cloud) is realized in a unique mode, as shown in FIG. 5;
second embodiment of the invention:
the embodiment of the invention provides a docking system between cloud servers, which comprises a company cloud server, a third-party cloud server, a message service MNS and a cloud docking system of the third-party cloud server established based on a cloud communication architecture;
the third-party cloud server is used for synchronizing the equipment data to the cloud docking system; the cloud docking system is used as a conversion platform of special services and functional logics;
the cloud docking system is used for carrying out standardization processing on the obtained synchronous data according to a protocol of a company cloud server to obtain conversion data;
in this embodiment, the cloud docking system performs standardized packing and conversion on the synchronous data, so that data reaching a message MNS is data with a uniform protocol;
the message service MNS is used for receiving the conversion data and sending the conversion data to the company cloud server;
and the company cloud server is used for carrying out data processing on the converted data.
According to the embodiment of the invention, on the premise of not changing the data collection mode of the original equipment and not influencing the service architecture and the function logic of the company cloud, the saas platform is uniformly used for management, so that data docking between the cloud and interconnection and intercommunication of cloud products are realized.
Referring to fig. 3, in the embodiment of the present invention, the third-party cloud server sends a data acquisition instruction to the internet of things device at a preset first time interval, and synchronously sends the received device state data sent by the internet of things device to the cloud docking system. Preferably, the preset first time interval is 5 min.
Preferably, the message service MNS obtains the conversion data pushed by the cloud docking system;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
As a preferred scheme, the cloud docking system pushes the conversion data to the message service MNS;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
An embodiment of the present invention also provides a docking apparatus between cloud servers, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor executes the computer program to implement the docking method between cloud servers as described above.
An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for interfacing between cloud servers as described above.
The foregoing is directed to the preferred embodiment of the present invention, and it is understood that various changes and modifications may be made by one skilled in the art without departing from the spirit of the invention, and it is intended that such changes and modifications be considered as within the scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Claims (10)
1. A docking method between cloud servers is characterized by comprising the following steps:
establishing a cloud docking system of a third-party cloud server based on a cloud communication architecture;
synchronizing device data of a plurality of third-party cloud servers to the cloud docking system;
according to a protocol of a company cloud server, the cloud docking system carries out standardization processing on the obtained synchronous data to obtain conversion data;
transmitting the conversion data to the company cloud server through a message service MNS for data processing;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
2. The docking method between the cloud servers according to claim 1, wherein the third-party cloud server sends a data acquisition instruction to the internet of things device at a preset first time interval, and synchronously sends the received device data sent by the internet of things device to the cloud docking system.
3. The docking method between cloud servers according to claim 1, wherein the conversion data is transmitted to the company cloud server through a message service MNS to perform data processing, specifically:
the cloud docking system pushes the conversion data to the message service MNS;
the corporate cloud server retrieves the conversion data from the message service MNS at a preset second time interval.
4. The docking method between cloud servers according to claim 1, wherein the company cloud server performs unified parsing, processing, and storage on the converted data, and uploads the data to a terminal, specifically:
and the company cloud server performs Modbus analysis on the converted data, performs structuring according to a JSON format and stores according to data types, and feeds back the latest state data of the Internet of things equipment to the terminal at a preset third time interval.
5. A docking system between cloud servers is characterized by comprising a company cloud server, a third party cloud server, a message service MNS and a cloud docking system of the third party cloud server established based on a cloud communication architecture;
the third-party cloud server is used for synchronizing the equipment data to the cloud docking system;
the cloud docking system is used for carrying out standardization processing on the obtained synchronous data according to a protocol of a company cloud server to obtain conversion data;
the message service MNS is used for receiving the conversion data and sending the conversion data to the company cloud server;
the company cloud server is configured to perform data processing on the conversion data, and specifically includes:
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
6. The docking system between cloud servers of claim 5, wherein the third party cloud server sends a data acquisition instruction to the internet of things device at a preset first time interval, and synchronously sends the received device status data sent by the internet of things device to the cloud docking system.
7. The docking system between cloud servers according to claim 5, wherein the message service MNS acquires the conversion data pushed by the cloud docking system;
the corporate cloud server retrieves the conversion data from the message service MNS at a preset second time interval.
8. The docking system between cloud servers according to claim 5, wherein the cloud docking system pushes the conversion data to the message service MNS;
the company cloud server retrieves the conversion data from the message service MNS at a preset second time interval;
and the company cloud server performs unified analysis, processing and storage on the converted data and uploads the data to a terminal.
9. A docking apparatus between cloud servers, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the docking method between cloud servers according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls a device on which the computer-readable storage medium is located to perform the interfacing method between cloud servers according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910639801.5A CN110417875B (en) | 2019-07-15 | 2019-07-15 | Method, system, equipment and storage medium for docking between cloud servers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910639801.5A CN110417875B (en) | 2019-07-15 | 2019-07-15 | Method, system, equipment and storage medium for docking between cloud servers |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110417875A CN110417875A (en) | 2019-11-05 |
CN110417875B true CN110417875B (en) | 2022-02-18 |
Family
ID=68361635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910639801.5A Active CN110417875B (en) | 2019-07-15 | 2019-07-15 | Method, system, equipment and storage medium for docking between cloud servers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110417875B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111060586A (en) * | 2020-01-20 | 2020-04-24 | 上海杰臻电气技术有限公司 | Weak magnetic steel wire rope on-line detection system |
CN111416873B (en) * | 2020-03-31 | 2022-07-19 | 广东美的制冷设备有限公司 | Data backup method and device for electric equipment, air conditioner and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105245427A (en) * | 2015-11-24 | 2016-01-13 | 深圳酷宅科技有限公司 | Multi-Internet of Things cloud platform terminal access and control system based on bus adaption |
CN106412113A (en) * | 2016-11-15 | 2017-02-15 | 上海远景数字信息技术有限公司 | Energy cloud service system and communication method thereof |
CN106679095A (en) * | 2016-12-30 | 2017-05-17 | Tcl集团股份有限公司 | Internet access method and device and intelligent air conditioner system |
CN207947803U (en) * | 2018-02-05 | 2018-10-09 | 南京南邮信息产业技术研究院有限公司 | A kind of smart cloud integration of equipments device for industry manufacture field |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140280494A1 (en) * | 2013-03-14 | 2014-09-18 | Microsoft Corporation | Relay Service for Different Web Service Architectures |
-
2019
- 2019-07-15 CN CN201910639801.5A patent/CN110417875B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105245427A (en) * | 2015-11-24 | 2016-01-13 | 深圳酷宅科技有限公司 | Multi-Internet of Things cloud platform terminal access and control system based on bus adaption |
CN106412113A (en) * | 2016-11-15 | 2017-02-15 | 上海远景数字信息技术有限公司 | Energy cloud service system and communication method thereof |
CN106679095A (en) * | 2016-12-30 | 2017-05-17 | Tcl集团股份有限公司 | Internet access method and device and intelligent air conditioner system |
CN207947803U (en) * | 2018-02-05 | 2018-10-09 | 南京南邮信息产业技术研究院有限公司 | A kind of smart cloud integration of equipments device for industry manufacture field |
Also Published As
Publication number | Publication date |
---|---|
CN110417875A (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018147B (en) | Internet of things communication method and system and gateway module | |
US20170244792A1 (en) | Power-Line Carrier Terminal Control Apparatus, System, and Method | |
CN107395572B (en) | Data processing method and Internet of things gateway | |
CN102790776B (en) | Heartbeat connection normalizing processing method, terminal, server and communication system | |
CN104363291A (en) | Network communication middleware implementation method | |
US10148565B2 (en) | OPENFLOW communication method and system, controller, and service gateway | |
CN109327513B (en) | Interaction method, interaction device and computer-readable storage medium | |
CN110808948B (en) | Remote procedure calling method, device and system | |
CN108696899B (en) | SIP message transmitting and receiving method and transmitting and receiving device | |
CN110417875B (en) | Method, system, equipment and storage medium for docking between cloud servers | |
US10038664B2 (en) | Terminal status subscription method, apparatus, and system | |
CN104243610A (en) | Distributed file transmission service method | |
CN104539510A (en) | Multi-protocol-based information pushing system and method | |
CN107368334B (en) | Business plug-in interaction system and method | |
CN112055078A (en) | Data transmission method and device, computer equipment and storage medium | |
CN110278148B (en) | data compatibility gateway system | |
CN104463670A (en) | Websocket-based bank preposition transaction system construction method | |
CN105207860A (en) | Business acceleration system and method | |
CN111405059A (en) | Data transmission method of cloud equipment, electronic equipment and Internet of things system | |
CN108989157B (en) | Method and device for controlling intelligent equipment | |
CN107846609B (en) | Real-time transmission method, device and system for control room data | |
CN110661850B (en) | Edge calculation method, system, computer equipment and storage medium | |
CN103036762A (en) | Method and device for information processing in instant messaging | |
CN108924773B (en) | Message processing method and device | |
CN103546487A (en) | Mobile office device based on IOS platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |