CN110417875A - Interconnection method, system, equipment and storage medium between a kind of Cloud Server - Google Patents

Interconnection method, system, equipment and storage medium between a kind of Cloud Server Download PDF

Info

Publication number
CN110417875A
CN110417875A CN201910639801.5A CN201910639801A CN110417875A CN 110417875 A CN110417875 A CN 110417875A CN 201910639801 A CN201910639801 A CN 201910639801A CN 110417875 A CN110417875 A CN 110417875A
Authority
CN
China
Prior art keywords
cloud
cloud server
data
company
docking system
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.)
Granted
Application number
CN201910639801.5A
Other languages
Chinese (zh)
Other versions
CN110417875B (en
Inventor
谢卓锐
罗金星
穆凯彤
雷朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong PHNIX Eco Energy Solution Ltd
Original Assignee
Guangdong PHNIX Eco Energy Solution Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong PHNIX Eco Energy Solution Ltd filed Critical Guangdong PHNIX Eco Energy Solution Ltd
Priority to CN201910639801.5A priority Critical patent/CN110417875B/en
Publication of CN110417875A publication Critical patent/CN110417875A/en
Application granted granted Critical
Publication of CN110417875B publication Critical patent/CN110417875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses interconnection method, system, equipment and the storage medium between a kind of Cloud Server, method includes being based on cloud communication architecture, creates the cloud docking system of third party cloud server;The device data of several third party cloud servers is synchronized to the cloud docking system;According to the agreement of company's Cloud Server, the cloud docking system is standardized to obtain change data the synchrodata got;The change data is transmitted to company's Cloud Server to carry out data processing by messaging service MNS.The embodiment of the present invention realizes that cloud is docked with the data between cloud and cloud product interconnects do not change the data collection mode of original equipment, do not influence the business structure and function logic in company cloud under the premise of.

Description

Interconnection method, system, equipment and storage medium between a kind of Cloud Server
Technical field
The present invention relates to field of computer technology, more particularly, between a kind of Cloud Server interconnection method, system, set Standby and storage medium.
Background technique
Service cloud type at present on the market is more, and the agreement of each private clound is all deviated, but for third-party cloud Equipment docks to the data got through between service cloud, generally requires special adaptation, but these special adaptations frequently can lead to The service logic of this service cloud becomes increasingly complex, and coupling can be stronger.
Summary of the invention
The embodiment of the invention provides interconnection method, system, equipment and the storage mediums between a kind of Cloud Server, realize Cloud product interconnects, and realizes that cloud is docked with the data between cloud.
In order to solve the above-mentioned technical problem, in a first aspect, the embodiment of the present invention provides the docking between a kind of Cloud Server Method, comprising steps of
Based on cloud communication architecture, the cloud docking system of third party cloud server is created;
The device data of several third party cloud servers is synchronized to the cloud docking system;
According to the agreement of company's Cloud Server, the cloud docking system is standardized the synchrodata got To obtain change data;
The change data is transmitted to company's Cloud Server to carry out data processing by messaging service MNS.
Preferably, the third party cloud server sends number to internet of things equipment with preset first time interval According to acquisition instructions, and the device status data that the internet of things equipment received is sent is synchronized and is sent to cloud docking system System.
Preferably, described that the change data is transmitted to by company's Cloud Server by messaging service MNS To carry out data processing, specifically:
The change data is pushed to the messaging service MNS by the cloud docking system;
Company's Cloud Server fetches the conversion number with preset second time interval from the messaging service MNS According to;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded To terminal.
Preferably, company's Cloud Server carries out analytic uniform, processing and storage to the change data, And data are uploaded to terminal, specifically:
Company's Cloud Server carries out Modbus parsing to the change data and carries out structuring by JSON format, presses Data type is stored, and feeds back the last state data of internet of things equipment to terminal with preset third time interval.
Second aspect, the embodiment of the present invention provide the docking system between a kind of Cloud Server, including company's Cloud Server, The cloud docking system of third party cloud server, messaging service MNS and the third party cloud server based on the creation of cloud communication architecture;
The third party cloud server, for device data to be synchronized to the cloud docking system;
The cloud docking system carries out standard to the synchrodata got for the agreement according to company's Cloud Server Change processing to obtain change data;
The messaging service MNS is sent to company's cloud for receiving the change data, and by the change data Server;
Company's Cloud Server, for carrying out data processing to the change data.
Preferably, the third party cloud server sends number to internet of things equipment with preset first time interval According to acquisition instructions, and the device status data that the internet of things equipment received is sent is synchronized and is sent to cloud docking system System.
Preferably, the messaging service MNS obtains the change data of the cloud docking system push;
Company's Cloud Server fetches the conversion number with preset second time interval from the messaging service MNS According to;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded To terminal.
Preferably, the change data is pushed to the messaging service MNS by the cloud docking system;
Company's Cloud Server fetches the conversion number with preset second time interval from the messaging service MNS According to;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded To terminal.
The third aspect, the embodiment of the present invention provide the service of connection devices between a kind of Cloud Server, including processor, memory And the computer program executed by the processor is stored in the memory and is configured as, the processor executes institute It realizes when stating computer program such as the interconnection method between above-mentioned Cloud Server.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter includes the computer program of storage, wherein controls the computer readable storage medium in computer program operation Place equipment is executed such as the interconnection method between above-mentioned Cloud Server.
Compared with the prior art, the embodiment of the present invention provide a kind of interconnection method between Cloud Server, system, equipment and Storage medium, method include being based on cloud communication architecture, create the cloud docking system of third party cloud server;By several thirds The device data of square Cloud Server is synchronized to the cloud docking system;According to the agreement of company's Cloud Server, cloud docking system System is standardized to obtain change data the synchrodata got;By messaging service MNS by the conversion number According to being transmitted to company's Cloud Server to carry out data processing.By in the data collection mode for not changing original equipment, no It is unified to use saas platform management under the premise of the business structure and function logic in influence company cloud, it realizes between cloud and cloud Data docking is interconnected with cloud product.
Detailed description of the invention
Fig. 1 is the step flow chart of the interconnection method between the Cloud Server in the embodiment of the present invention;
Fig. 2 is the communication frame diagram of the interconnection method between the Cloud Server in the embodiment of the present invention;
Fig. 3 is the flow chart of the interconnection method between the Cloud Server in the embodiment of the present invention;
Fig. 4 is the serial port protocol transition diagram of the interconnection method between the Cloud Server in the embodiment of the present invention;
Fig. 5 is the communication mode process of the cloud docking system of the interconnection method between the Cloud Server in the embodiment of the present invention Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
First embodiment of the invention:
Referring to Figure 1 to Fig. 3, the embodiment of the present invention provides the interconnection method between a kind of Cloud Server, comprising steps of
S1, it is based on cloud communication architecture, creates the cloud docking system of third party cloud server;;Wherein, the cloud docking system As particular service, the conversion platform of function logic;Pony cloud, quick-witted cloud etc. belong to the third party cloud server;
S2, the device data of several third party cloud servers is synchronized to the cloud docking system S3, according to company The agreement of Cloud Server, the cloud docking system are standardized to obtain change data the synchrodata got;
In the present embodiment, packaging and conversion that the cloud docking system is standardized the synchrodata, make Data up to message MNS are the unified data of agreement;
S4, company's Cloud Server by messaging service MNS obtain the change data and to the change data into Row data processing.
The embodiment of the present invention by the data collection mode for not changing original equipment, do not influence the business frame in company cloud It is under the premise of structure and function logic, unified to use saas platform management, realize that cloud docks and cloud product with the data between cloud It interconnects.
Fig. 3 is referred to, in embodiments of the present invention, the third party cloud server is with preset first time interval to object Networked devices send data acquisition instructions, and the synchronous transmission of the device status data that the internet of things equipment received is sent To the cloud docking system.Preferably, the preset first time interval is 5min.
Preferably, it is described by messaging service MNS by the change data be transmitted to company's Cloud Server with Data processing is carried out, specifically:
The change data is pushed to the messaging service MNS by the cloud docking system;
Company's Cloud Server fetches the conversion number with preset second time interval from the messaging service MNS According to;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded To terminal.
Preferably, company's Cloud Server carries out analytic uniform, processing and storage to the change data, and Data are uploaded to terminal, specifically:
Company's Cloud Server to the change data carry out Modbus parsing, and by JSON format carry out structuring and It is stored by data type, feeds back the last state data of internet of things equipment to terminal with preset third time interval.
Specifically, the protocol data conversion process scheme of the cloud docking system is as follows:
Company's Cloud Server (Pfennig Cloud Server) has done the analytics engine of standard modbus agreement, receives standard Modbus 0x10 instruction;
Modbus consensus standard 0x10 instruction is as shown in the table:
Address code 0x00
Function code 0x10
Initial address (high position) 0x00
Initial address (low level) 0x02
Address number (high position) 0x00
Address number (low level) 0x04
Byte number 0x06
Data (high position) 0x00
Data (low level) 0x03
CRC (low level) 0x05
CRC (high position) 0xCB
In each system, agreement is not quite similar, and communication mode is not quite similar
A. about protocol conversion, comprising:
1) proprietary protocol
2) the non-modbus agreement of standard
Specifically as shown in figure 4, realizing the protocol conversion of privately owned serial ports.
A new modbus agreement is established, protocol contents are converted with modbus standard, the data packet of completion pushes away It is sent to cloud;
It is B. compatible about communication mode, comprising:
1) it actively grabs
2) passively receive push
3) interface parameters disunity
It is converted by the cloud docking system, realization is unique to the push of company's Cloud Server (Pfennig cloud) Mode, as shown in Figure 5;
Second embodiment of the invention:
The embodiment of the present invention provides the docking system between a kind of Cloud Server, including company's Cloud Server, third party cloud The cloud docking system of server, messaging service MNS and the third party cloud server based on the creation of cloud communication architecture;
The third party cloud server, for device data to be synchronized to the cloud docking system;Wherein, the cloud docking System is as particular service, the conversion platform of function logic;
The cloud docking system carries out standard to the synchrodata got for the agreement according to company's Cloud Server Change processing to obtain change data;
In the present embodiment, packaging and conversion that the cloud docking system is standardized the synchrodata, make Data up to message MNS are the unified data of agreement;
The messaging service MNS is sent to company's cloud for receiving the change data, and by the change data Server;
Company's Cloud Server, for carrying out data processing to the change data.
The embodiment of the present invention by the data collection mode for not changing original equipment, do not influence the business frame in company cloud It is under the premise of structure and function logic, unified to use saas platform management, realize that cloud docks and cloud product with the data between cloud It interconnects.
Fig. 3 is referred to, in embodiments of the present invention, the third party cloud server is with preset first time interval to object Networked devices send data acquisition instructions, and the synchronous transmission of the device status data that the internet of things equipment received is sent To the cloud docking system.Preferably, the preset first time interval is 5min.
Preferably, the messaging service MNS obtains the change data of the cloud docking system push;
Company's Cloud Server fetches the conversion number with preset second time interval from the messaging service MNS According to;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded To terminal.
Preferably, the change data is pushed to the messaging service MNS by the cloud docking system;
Company's Cloud Server fetches the conversion number with preset second time interval from the messaging service MNS According to;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded To terminal.
One embodiment of the present of invention also provides the service of connection devices between a kind of Cloud Server, including processor, memory And the computer program executed by the processor is stored in the memory and is configured as, the processor executes institute It realizes when stating computer program such as the interconnection method between above-mentioned Cloud Server.
One embodiment of the present of invention also provides a kind of computer readable storage medium, the computer readable storage medium Computer program including storage, wherein control the computer readable storage medium institute in computer program operation It executes in equipment such as the interconnection method between above-mentioned Cloud Server.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principle of the present invention, several improvement and deformations can also be made, these improvement and deformations are also considered as Protection scope of the present invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (10)

1. the interconnection method between a kind of Cloud Server, which is characterized in that comprising steps of
Based on cloud communication architecture, the cloud docking system of third party cloud server is created;
The device data of several third party cloud servers is synchronized to the cloud docking system;
According to the agreement of company's Cloud Server, the cloud docking system is standardized to obtain the synchrodata got To change data;
The change data is transmitted to company's Cloud Server to carry out data processing by messaging service MNS.
2. the interconnection method between Cloud Server as described in claim 1, which is characterized in that the third party cloud server with Preset first time interval sends data acquisition instructions to internet of things equipment, and the internet of things equipment received is sent Device data synchronize and be sent to the cloud docking system.
3. the interconnection method between Cloud Server as described in claim 1, which is characterized in that described to pass through messaging service MNS The change data is transmitted to company's Cloud Server to carry out data processing, specifically:
The change data is pushed to the messaging service MNS by the cloud docking system;
Company's Cloud Server fetches the change data from the messaging service MNS with preset second time interval;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded to end End.
4. the interconnection method between Cloud Server as described in claim 1, which is characterized in that company's Cloud Server is to institute It states change data and carries out analytic uniform, processing and storage, and data are uploaded to terminal, specifically:
Company's Cloud Server carries out Modbus parsing to the change data, and carries out structuring by JSON format and press number It is stored according to type, feeds back the last state data of internet of things equipment to terminal with preset third time interval.
5. the docking system between a kind of Cloud Server, which is characterized in that including company's Cloud Server, third party cloud server, The cloud docking system of messaging service MNS and the third party cloud server based on the creation of cloud communication architecture;
The third party cloud server, for device data to be synchronized to the cloud docking system;
The cloud docking system is standardized place to the synchrodata got for the agreement according to company's Cloud Server Reason is to obtain change data;
The messaging service MNS is sent to company's cloud service for receiving the change data, and by the change data Device;
Company's Cloud Server, for carrying out data processing to the change data.
6. the docking system between Cloud Server as claimed in claim 5, which is characterized in that the third party cloud server with Preset first time interval sends data acquisition instructions to internet of things equipment, and the internet of things equipment received is sent Device status data synchronize and be sent to the cloud docking system.
7. the docking system between Cloud Server as claimed in claim 5, which is characterized in that the messaging service MNS is obtained The change data of the cloud docking system push;
Company's Cloud Server fetches the change data from the messaging service MNS with preset second time interval;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded to end End.
8. the docking system between Cloud Server as claimed in claim 5, which is characterized in that the cloud docking system will be described Change data pushes to the messaging service MNS;
Company's Cloud Server fetches the change data from the messaging service MNS with preset second time interval;
Company's Cloud Server carries out analytic uniform, processing and storage to the change data, and data are uploaded to end End.
9. the service of connection devices between a kind of Cloud Server, which is characterized in that including processor, memory and be stored in described deposit In reservoir and it is configured as the computer program executed by the processor, the processor executes real when the computer program Now such as the interconnection method between the described in any item Cloud Servers of Claims 1-4.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed Benefit requires the interconnection method between 1 to 4 described in any item Cloud Servers.
CN201910639801.5A 2019-07-15 2019-07-15 Method, system, equipment and storage medium for docking between cloud servers Active CN110417875B (en)

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 true CN110417875A (en) 2019-11-05
CN110417875B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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
CN111416873A (en) * 2020-03-31 2020-07-14 广东美的制冷设备有限公司 Data backup method and device for electric equipment, air conditioner and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN111416873A (en) * 2020-03-31 2020-07-14 广东美的制冷设备有限公司 Data backup method and device for electric equipment, air conditioner and storage medium
CN111416873B (en) * 2020-03-31 2022-07-19 广东美的制冷设备有限公司 Data backup method and device for electric equipment, air conditioner and storage medium

Also Published As

Publication number Publication date
CN110417875B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN107018147B (en) Internet of things communication method and system and gateway module
CN102790776B (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN107888539A (en) Internet-of-things terminal access device and method
CN107395572B (en) Data processing method and Internet of things gateway
CN105763619B (en) The method and device that client and server-side are communicated
CN110049014A (en) A kind of OpenAPI converting system and method based on more Modbus bus protocols
EP3068070B1 (en) Method and device for initiating network conference
CN103096271A (en) Information pushing system and information pushing method
CN107342934A (en) A kind of mixed mode Mobile solution real-time messages method for pushing and system based on WebSocket
CN102111419A (en) Message middleware-based client automatic reconnection method
CN106027534A (en) System for implementing financial message processing based on Netty
CN108683653A (en) A kind of active message push system based on WebSocket
CN110417875A (en) Interconnection method, system, equipment and storage medium between a kind of Cloud Server
CN104363278A (en) Mass terminal communication access system
CN104539510A (en) Multi-protocol-based information pushing system and method
CN1973282A (en) System and method for managing a change to a cluster configuration
CN105190530A (en) Transmitting hardware-rendered graphical data
CN103297384A (en) Method and system for communication of protocol conversion
CN105515947B (en) A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP
Zhukovskyy et al. IoT based Intelligent Information-Analytical System Architecture for Water Tank Monitoring
EP2530893B1 (en) Method and apparatus for obtaining size of emails of terminal
CN104967556A (en) Chat device based on social contact and communication method thereof
CN104780171A (en) Message transferring method, device and system
CN110809008A (en) Message communication method and device based on industrial Internet protocol architecture
CN102802178B (en) Service application optimized treatment method, device, terminal and communication system

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