CN111953640A - Communication method, communication system, cloud node and readable storage medium - Google Patents

Communication method, communication system, cloud node and readable storage medium Download PDF

Info

Publication number
CN111953640A
CN111953640A CN201910415129.1A CN201910415129A CN111953640A CN 111953640 A CN111953640 A CN 111953640A CN 201910415129 A CN201910415129 A CN 201910415129A CN 111953640 A CN111953640 A CN 111953640A
Authority
CN
China
Prior art keywords
data
cloud node
application
cloud
communication
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
CN201910415129.1A
Other languages
Chinese (zh)
Other versions
CN111953640B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910415129.1A priority Critical patent/CN111953640B/en
Priority to PCT/CN2020/088687 priority patent/WO2020233400A1/en
Publication of CN111953640A publication Critical patent/CN111953640A/en
Application granted granted Critical
Publication of CN111953640B publication Critical patent/CN111953640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the disclosure discloses a communication method, a communication system, a cloud node and a readable storage medium, wherein the method comprises the following steps: detecting first data sent by a first application of a first cloud node, and performing format conversion on the first data to obtain second data; sending the second data from the first cloud node to a second cloud node; the second data are analyzed at the second cloud node, the analyzed first data are provided for the second application of the second cloud node, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without being modified through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.

Description

Communication method, communication system, cloud node and readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a communication method, a communication system, a cloud node, and a readable storage medium.
Background
In a cloud computing scenario, communicating over a cloud infrastructure is very important to the implementation of cloud computing. For example, a cloud may be made up of a plurality of cloud nodes, with communication requirements between the various cloud nodes. Thus, applications of the cloud nodes may need to communicate with each other through an internet connection. In this case, how to simply and securely communicate applications between the respective cloud nodes becomes a challenge.
In one scheme of the related art, applications at two ends of communication can communicate with each other by modifying the applications of each cloud node. The disadvantage of this solution is that the cost of retrofitting is high and the support for general applications is poor. In particular, when an invasive framework is used for modifying an application, the universality, the portability and other performances of the application are greatly influenced.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide a communication method, a communication system, a cloud node, and a readable storage medium.
In a first aspect, an embodiment of the present disclosure provides a communication method, including:
detecting first data sent by a first application of a first cloud node, and performing format conversion on the first data to obtain second data;
sending the second data from the first cloud node to a second cloud node;
the second data is parsed at the second cloud node, and the parsed first data is provided to a second application of the second cloud node.
With reference to the first aspect, in a first implementation manner of the first aspect, the detecting first data sent by a first application of a first cloud node, and performing format conversion on the first data to obtain second data includes:
detecting first data issued by the first application that conforms to a first protocol between the first application and the second application;
and converting the first data into second data according to a preset rule.
With reference to the first implementation manner of the first aspect, the present disclosure provides in a second implementation manner of the first aspect, where the second data includes description information and the first data, and the description information is information related to communication between the first application and the second application.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the converting the first data into the second data according to a preset rule includes:
obtaining the second data by combining the description information with the first data according to a preset rule.
With reference to the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the parsing, at the second cloud node, the second data and providing the parsed first data to a second application of the second cloud node includes:
analyzing the description information and the first data from the second data according to the preset rule at the second cloud node;
providing the first data to the second application according to the description information.
With reference to the first aspect and any one of the first to fourth implementation manners of the first aspect, in a fifth implementation manner of the first aspect, the present disclosure further includes:
detecting third data sent by the second application, and performing format conversion on the third data to obtain fourth data;
sending the fourth data from the second cloud node to the first cloud node;
parsing the fourth data at the first cloud node and providing the parsed third data to the first application.
With reference to any one of the first to fourth implementation manners of the first aspect, in a sixth implementation manner of the first aspect, the present disclosure further includes:
and synchronously adjusting preset rules in the first cloud node and the second cloud node.
With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the synchronously adjusting preset rules in the first cloud node and the second cloud node includes:
and according to the change of the first protocol, synchronously adjusting preset rules in the first cloud node and the second cloud node.
With reference to the seventh implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the converting the first data into the second data according to a preset rule includes:
and configuring the description information according to the preset rule so that the description information describes the changed first protocol.
With reference to the first aspect, in a ninth implementation manner of the first aspect, the sending the second data from the first cloud node to a second cloud node includes:
transmitting the second data from the first cloud node to a second cloud node through a preset secure communication channel.
With reference to the first aspect and any one of the first to fourth implementation manners of the first aspect, in a tenth implementation manner of the first aspect, the first cloud node further includes a first conversion module and a first transmission module, and the second cloud node further includes a second conversion module and a second transmission module, wherein,
the first conversion module converts the first data into the second data and provides the second data to the first transmission module;
the second transmission module provides the second data to the second conversion module for the second conversion module to convert the second data into the first data.
In a second aspect, embodiments of the present disclosure provide a communication system, comprising a first cloud node and a second cloud node, wherein,
the first cloud node is configured to detect first data sent by a first application of the first cloud node and format-convert the first data to obtain second data;
the first cloud node is configured to send the second data to a second cloud node;
the second cloud node is configured to parse the second data and provide the parsed first data to a second application of the second cloud node.
With reference to the second aspect, in a first implementation manner of the second aspect, the first cloud node is further configured to:
detecting first data issued by the first application that conforms to a first protocol between the first application and the second application;
and converting the first data into second data according to a preset rule.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the second data includes description information and the first data, and the description information is information related to communication between the first application and the second application.
With reference to the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the first cloud node is further configured to:
obtaining the second data by combining the description information with the first data according to a preset rule.
With reference to the second implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the second cloud node is further configured to:
analyzing the description information and the first data from the second data according to the preset rule;
providing the first data to the second application according to the description information.
With reference to the second aspect, any one of the first to fourth implementations of the second aspect, in a fifth implementation of the second aspect,
the second cloud node is further configured to detect third data sent by the second application, and format-convert the third data to obtain fourth data;
the second cloud node sending the fourth data to the first cloud node;
the first cloud node is further configured to parse the fourth data and provide the parsed third data to the first application.
With reference to any one of the first implementation manner to the fourth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the present disclosure further includes:
a configuration device configured to synchronously adjust preset rules in the first cloud node and the second cloud node.
With reference to the sixth implementation manner of the second aspect, in a seventh implementation manner of the second aspect, the configuration apparatus is further configured to:
and according to the change of the first protocol, synchronously adjusting preset rules in the first cloud node and the second cloud node.
With reference to the seventh implementation manner of the second aspect, in an eighth implementation manner of the second aspect, the first cloud node is further configured to:
and configuring the description information according to the preset rule so that the description information describes the changed first protocol.
With reference to the second aspect, the present disclosure, in a ninth implementation manner of the second aspect, further includes a preset secure communication channel, wherein,
the first cloud node is configured to send the second data to a second cloud node through a preset secure communication channel.
With reference to the second aspect, or any one of the first implementation manner to the fourth implementation manner of the second aspect, in a tenth implementation manner of the second aspect, the first cloud node further includes a first conversion module and a first transmission module, and the second cloud node further includes a second conversion module and a second transmission module, wherein,
the first conversion module converts the first data into the second data and provides the second data to the first transmission module;
the second transmission module provides the second data to the second conversion module for the second conversion module to convert the second data into the first data.
In a third aspect, an embodiment of the present disclosure provides a cloud node, including:
a first application module configured to communicate with a second application module in a second cloud node;
the conversion module is configured to detect first data sent by the first application module and perform format conversion on the first data to obtain second data;
a transmission module configured to transmit the second data to a second cloud node.
With reference to the third aspect, in a first implementation manner of the third aspect, the conversion module is further configured to:
detecting first data issued by the first application module that conforms to a first protocol between the first application module and the second application module;
and converting the first data into second data according to a preset rule.
With reference to the first implementation manner of the third aspect, the present disclosure provides in a second implementation manner of the third aspect, where the second data includes description information and the first data, and the description information is information related to communication between the first application and the second application.
With reference to the second implementation manner of the third aspect, in a third implementation manner of the third aspect, the conversion module is further configured to:
obtaining the second data by combining the description information with the first data according to a preset rule.
With reference to the third aspect, in a fourth implementation manner of the third aspect, the transmission module is further configured to:
receiving fourth data from the second cloud node.
With reference to the fourth implementation manner of the third aspect, in a fifth implementation manner of the third aspect, the conversion module is further configured to:
the fourth data is parsed, and the parsed third data is provided to the first application module.
With reference to any one of the first implementation manner to the fifth implementation manner of the third aspect, in a sixth implementation manner of the third aspect, the present disclosure further includes:
a configuration module configured to synchronously adjust preset rules in the cloud node and the second cloud node.
With reference to the sixth implementation manner of the third aspect, in a seventh implementation manner of the third aspect, the configuration module is further configured to:
and according to the change of the first protocol, synchronously adjusting preset rules in the cloud node and the second cloud node.
With reference to the seventh implementation manner of the third aspect, in an eighth implementation manner of the third aspect, the configuration module is further configured to:
and configuring the description information according to the preset rule so that the description information describes the changed first protocol.
In a fourth aspect, an embodiment of the present disclosure provides a readable storage medium, on which computer instructions are stored, and the computer instructions, when executed by a processor, implement the method according to the first aspect, or any one of the first to tenth implementations of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, first data sent by a first application of a first cloud node is detected, and format conversion is carried out on the first data to obtain second data; sending the second data from the first cloud node to a second cloud node; the second data are analyzed at the second cloud node, the analyzed first data are provided for the second application of the second cloud node, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without being modified through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the present disclosure, detecting first data sent by a first application of a first cloud node, and performing format conversion on the first data to obtain second data includes: detecting first data issued by the first application that conforms to a first protocol between the first application and the second application; the first data are converted into the second data according to the preset rule, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the second data comprises the description information and the first data, the description information is information related to communication between the first application and the second application, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
According to the technical scheme provided by the embodiment of the present disclosure, converting the first data into the second data according to the preset rule includes: the description information is combined with the first data according to a preset rule to obtain the second data, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without modification through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
According to the technical solution provided by the embodiment of the present disclosure, a second application that analyzes the second data at the second cloud node and provides the analyzed first data to the second cloud node includes: analyzing the description information and the first data from the second data according to the preset rule at the second cloud node; the first data are provided for the second application according to the description information, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without modification through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
According to the technical scheme provided by the embodiment of the disclosure, third data sent by the second application is detected, and format conversion is performed on the third data to obtain fourth data; sending the fourth data from the second cloud node to the first cloud node; the fourth data are analyzed at the first cloud node, the analyzed third data are provided for the first application, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the problem of application communication of a plurality of cloud nodes can be solved by synchronously adjusting the preset rules in the first cloud node and the second cloud node, and the applications of the cloud nodes can communicate with each other in a local area network without modification through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. Through synchronous adjustment of the preset rules of the cloud nodes, the cloud nodes can use the same preset rule to perform data conversion or analysis, so that communication between the cloud nodes and the inside of the cloud nodes is ensured.
According to the technical scheme provided by the embodiment of the present disclosure, adjusting the preset rules in the first cloud node and the second cloud node through the synchronization includes: according to the change of the first protocol, the preset rules in the first cloud node and the second cloud node are synchronously adjusted, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. According to the change of the protocol between the applications for communication, the preset rules of the cloud nodes are synchronously adjusted, so that the cloud nodes can use the same preset rule to perform data conversion or analysis, and the communication between the cloud nodes is ensured.
According to the technical scheme provided by the embodiment of the present disclosure, converting the first data into the second data according to the preset rule includes: the description information is configured according to the preset rule, so that the description information describes the changed first protocol, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The description information is configured on each cloud node according to the preset rule, so that each cloud node can use the same description information to perform data conversion or analysis, and communication between the cloud nodes and the cloud nodes is ensured.
According to the technical scheme provided by the embodiment of the present disclosure, the sending the second data from the first cloud node to the second cloud node includes: the second data are sent to the second cloud node from the first cloud node through a preset safe communication channel, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. In addition, the safety of the application communication of the cloud nodes can be guaranteed through the preset safety communication channel.
According to the technical scheme provided by the embodiment of the disclosure, the first cloud node further comprises a first conversion module and a first transmission module, and the second cloud node further comprises a second conversion module and a second transmission module, wherein the first conversion module converts the first data into the second data and provides the second data to the first transmission module; the second transmission module provides the second data to the second conversion module so that the second conversion module converts the second data into the first data, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-intrusive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the first application module is configured to communicate with the second application module in the second cloud node; the conversion module is configured to detect first data sent by the first application module and perform format conversion on the first data to obtain second data; the transmission module is configured to send the second data to the second cloud node, so that the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the conversion module is further configured to: detecting first data issued by the first application module that conforms to a first protocol between the first application module and the second application module; the first data are converted into the second data according to the preset rule, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the second data comprises the description information and the first data, the description information is information related to communication between the first application and the second application, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
According to the technical scheme provided by the embodiment of the disclosure, the conversion module is further configured to: the description information is combined with the first data according to a preset rule to obtain the second data, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without modification through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
According to the technical scheme provided by the embodiment of the disclosure, the transmission module is further configured to: the fourth data from the second cloud node is received, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the conversion module is further configured to: the fourth data are analyzed, the analyzed third data are provided for the first application module, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the configuration module is configured to synchronously adjust the preset rules in the cloud nodes and the second cloud nodes, so that the problem of application communication of a plurality of cloud nodes can be solved, and through a non-intrusive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. Through synchronous adjustment of the preset rules of the cloud nodes, the cloud nodes can use the same preset rule to perform data conversion or analysis, so that communication between the cloud nodes and the inside of the cloud nodes is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the configuration module is further configured to: according to the change of the first protocol, the preset rules in the cloud nodes and the second cloud nodes are synchronously adjusted, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. In addition, the safety of the application communication of the cloud nodes can be guaranteed through the preset safety communication channel. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. According to the change of the protocol between the applications for communication, the preset rules of the cloud nodes are synchronously adjusted, so that the cloud nodes can use the same preset rule to perform data conversion or analysis, and the communication between the cloud nodes is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the configuration module is further configured to: the description information is configured according to the preset rule, so that the description information describes the changed first protocol, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The description information is configured on each cloud node according to the preset rule, so that each cloud node can use the same description information to perform data conversion or analysis, and communication between the cloud nodes and the cloud nodes is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other labels, objects and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
fig. 1 shows a schematic structural diagram of a communication system according to an embodiment of the present disclosure;
fig. 2 shows a flow chart of a communication method according to an embodiment of the present disclosure;
fig. 3 shows a flowchart of one example of step S210 in a communication method according to an embodiment of the present disclosure;
fig. 4 shows a flowchart of one example of step S230 in a communication method according to an embodiment of the present disclosure;
fig. 5 shows a flow chart of a communication method according to another embodiment of the present disclosure;
fig. 6 shows a flow chart of a communication method according to a further embodiment of the present disclosure;
fig. 7 shows a flow chart of a communication method according to a further embodiment of the present disclosure;
fig. 8 illustrates an exemplary diagram of an application scenario of a communication system and a communication method according to an embodiment of the present disclosure;
fig. 9 shows a block diagram of a communication system according to an embodiment of the present disclosure;
fig. 10 shows a block diagram of a communication system according to another embodiment of the present disclosure;
fig. 11 shows a block diagram of a communication system according to yet another embodiment of the present disclosure;
FIG. 12 illustrates a block diagram of a cloud node according to an embodiment of the present disclosure;
fig. 13 shows a block diagram of a cloud node according to yet another embodiment of the present disclosure;
fig. 14 illustrates a block diagram of an electronic device functioning as a cloud node according to an embodiment of the present disclosure;
fig. 15 is a schematic structural diagram of a computer system suitable for use to implement a cloud node according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of labels, numbers, steps, actions, components, parts, or combinations thereof disclosed in the present specification, and are not intended to preclude the possibility that one or more other labels, numbers, steps, actions, components, parts, or combinations thereof are present or added.
It should be further noted that the embodiments and labels in the embodiments of the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Aiming at the defects of high modification cost, poor support for general applications and the like caused by the fact that the applications of the cloud nodes need to be modified when the application communication of the cloud nodes is carried out in the related technology, the scheme of the disclosure detects first data sent by a first application of a first cloud node, and carries out format conversion on the first data to obtain second data; sending the second data from the first cloud node to a second cloud node; the second data are analyzed at the second cloud node, the analyzed first data are provided for the second application of the second cloud node, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without being modified through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 shows a schematic structural diagram of a communication system 100 according to an embodiment of the present disclosure.
As shown in fig. 1, the communication system may include a first cloud node 110 and a second cloud node 120. It should be noted that the first cloud node 110 and the second cloud node 120 may be a central cloud node and an edge cloud node, respectively, or may be two central cloud nodes, respectively, or may be two edge cloud nodes, respectively. Those skilled in the art will appreciate that although communication system 100 in fig. 1 includes only two cloud nodes, communication system 100 may include more cloud nodes.
In one embodiment of the present disclosure, the communication system 100 may be a communication system built on top of a central cloud and/or an edge cloud infrastructure based on cloud computing technology and edge computing technology.
The central cloud is a cloud platform with computing, network, storage, security and other capabilities. The central cloud may include a resource-scaled and location-centralized data center, which may also be referred to as a traditional cloud computing platform. Compared with the edge cloud, the center cloud is far away from the terminal, the resource scale of a single center cloud node is large, but the number of the center cloud nodes forming the center cloud is small and concentrated.
For a central cloud node, various resources, such as computing resources like a CPU and a GPU, storage resources like a memory and a hard disk, network resources like a bandwidth, and the like, may be provided externally. In addition, the central cloud node can also create corresponding instances according to the mirror images, and provide various cloud computing services to the outside through the instances. The mirror image is a basic file required for creating an instance in the central cloud node, and may be, for example, an image file such as an operating system, an application, or an operation configuration required for providing a cloud computing service for a user, and may be a file that meets the computing deployment requirement of the central cloud node and is manufactured according to a certain format according to a specific series of files.
An edge cloud is a cloud platform with computing, networking, storage, security, etc. capabilities located at an edge location. The edge cloud is a relative concept, the edge cloud refers to a cloud computing platform relatively close to the terminal, or is different from a central cloud or a traditional cloud computing platform, the central cloud or the traditional cloud computing platform may include a data center with a large resource scale and a centralized position, a network range covered by the edge cloud nodes is wider, and therefore the edge cloud computing platform has the characteristic of being closer to the terminal, the resource scale of a single edge cloud node is smaller, but the number of the edge cloud nodes is large, and a plurality of edge cloud nodes form a component of the edge cloud in the embodiment.
For an edge cloud node, various resources, such as computing resources like a CPU and a GPU, storage resources like a memory and a hard disk, network resources like a bandwidth, and the like, may be provided externally. In addition, the edge cloud nodes can also create corresponding instances according to the mirror images, and provide various cloud computing services to the outside through the instances. The mirror image is a basic file required for creating an instance in the edge cloud node, and may be, for example, an image file such as an operating system, an application, or an operation configuration required for providing a cloud computing service for a user, and may be a file that meets the computing deployment requirement of the edge cloud node and is manufactured according to a certain format according to a specific series of files.
The communication system 100 of the present embodiment may include at least two cloud nodes 110 and 120, and each cloud node 110 and 120 may include a series of infrastructures including, but not limited to: a distributed Data Center (DC), a wireless room or cluster, a communication network of an operator, a core network device, a base station, an edge gateway, a home gateway, a computing device or a storage device, and the like, and a corresponding network environment, and the like. It is noted that the location, capabilities, and contained infrastructure of different cloud nodes may or may not be the same. For example, the infrastructure comprised by the central cloud node may be different from the infrastructure comprised by the edge cloud nodes. In the embodiment of the present disclosure, the cloud nodes 110 and 120 may be a center cloud node and an edge cloud node, respectively, or may be two center cloud nodes, or may be two edge cloud nodes.
In the communication system 100 of the present embodiment, tasks such as network forwarding, storage, computation, and intelligent data analysis may be handled in the cloud nodes 110 and 120 in the communication system 100. When the cloud node is an edge cloud node, the edge cloud node is closer to the terminal, so that the response time delay can be reduced, the pressure of a central cloud or a traditional cloud computing platform is relieved, and the bandwidth cost is reduced.
Various applications run in each cloud node. For example, a first application 111, 112, … 113 is running in a first cloud node 110 of the communication system 100; the second cloud node 120 has a second application 121, 122, … 123 running therein. It is to be understood that the first application 111, 112, … 113 merely refers to an application running in the first cloud node 110 and does not mean that the first application 111, 112, … 113 is the same application. Likewise, the second application 121, 122, … 123 merely refers to an application running in the second cloud node 120, and does not mean that the second application 121, 122, … 123 is the same application.
In the communication system 100 of the present embodiment, when the first application 111, 112, … 113 in the first cloud node 110 communicates with the second application 121, 122, … 123 in the second cloud node 120, the first application 111, 112, … 113 in the first cloud node 110 and the second application 121, 122, … 123 in the second cloud node 120 do not need to be modified, but by performing format conversion (or simply "conversion") on data sent by an application serving as a communication initiator, the format-converted data is transmitted to a cloud node where an application serving as a communication receiver is located, and the received data is parsed to obtain data sent by the application serving as the communication initiator and provided to the application serving as the communication receiver.
In the communication system 100 of the present embodiment, communication between the first application 111, 112, … 113 in the first cloud node 110 and the second application 121, 122, … 123 in the second cloud node 120 may be performed through a preset channel (e.g., a secure communication channel) 130. Setting the preset channel 130 may ensure reliability and security of communication between the first application 111, 112, … 113 in the first cloud node 110 and the second application 121, 122, … 123 in the second cloud node 120. In addition, the preset channel is set, so that the problem that the application in the cloud node needs to be modified in the related technology can be solved, and the method is suitable for communication among various applications.
In the communication system 100 of this embodiment, the configuration device 140 may also perform synchronous adjustment or update on a preset rule that needs to be followed when performing format conversion in the first cloud node 110 and the second cloud node 120. Moreover, the configuration device 140 may also adjust or update the preset rule according to a change of the protocol between the first application 111, 112, … 113 in the first cloud node 110 and the second application 121, 122, … 123 in the second cloud node 120. That is, the configuration means 140 may be used to configure the preset rules to ensure that the data format or protocol followed by the data to be transmitted between the first application 111, 112, … 113 in the first cloud node 110 and the second application 121, 122, … 123 in the second cloud node 120 is converted into the data format or protocol followed by the data suitable for being sent to and parsed by another cloud node.
It should be noted that although configuration apparatus 140 is shown in fig. 1 as a separate apparatus in communication system 100, it should be understood that configuration apparatus 140 may be part of first cloud node 110, or part of second cloud node 120, or part of a policing device.
The management and control device is used for scheduling resources of a plurality of cloud nodes and managing the cloud nodes to perform cloud computing service in correct and stable logic. The management and control equipment takes the cloud nodes as management and control objects, and performs unified management and control on at least one cloud node in the network system in aspects of resource scheduling, mirror image management, instance management and control, operation and maintenance, network, safety and the like, so that the cloud computing service is put into each cloud node for processing. In terms of deployment implementation, the management and control device may be deployed in one or more cloud computing data centers, or may be deployed in one or more conventional data centers, and the management and control device may also form a cloud network together with at least one cloud node managed by the management and control device, which is not limited in this embodiment of the present disclosure.
Those skilled in the art will appreciate that the configuration means 140 in the embodiments of the present disclosure may be implemented in hardware, in software, or in a combination of hardware and software.
A communication method according to an embodiment of the present disclosure is described below with reference to fig. 2 in conjunction with fig. 1.
Fig. 2 shows a flow chart of a communication method according to an embodiment of the present disclosure. As shown in fig. 2, the communication method includes the following steps S210, S220, and S230:
in step S210, first data sent by a first application of a first cloud node is detected, and format conversion is performed on the first data to obtain second data.
In step S220, the second data is transmitted from the first cloud node to the second cloud node.
In step S230, the second data is parsed at the second cloud node, and the parsed first data is provided to the second application of the second cloud node.
According to the technical scheme provided by the embodiment of the disclosure, first data sent by a first application of a first cloud node is detected, and format conversion is carried out on the first data to obtain second data; sending second data from the first cloud node to the second cloud node; the second data are analyzed at the second cloud node, the analyzed first data are provided for the second application of the second cloud node, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In an embodiment of the present disclosure, the first application that emits the first data may refer to, for example, one of the first applications 111, 112, … 113 shown in fig. 1, and the second application that receives the first data may refer to, for example, one of the second applications 121, 122, … 123 shown in fig. 1. The first data may be any type of data, for example, data that the first application makes a request to the second application or is provided at the request of the second application.
In one embodiment of the present disclosure, the first cloud node further comprises a first conversion module and a first transmission module, and the second cloud node further comprises a second conversion module and a second transmission module. The first conversion module converts the first data into second data and provides the second data to the first transmission module. The second transmission module provides the second data to the second conversion module for the second conversion module to convert the second data into the first data.
According to the technical scheme provided by the embodiment of the disclosure, the first cloud node further comprises a first conversion module and a first transmission module, and the second cloud node further comprises a second conversion module and a second transmission module, wherein the first conversion module converts the first data into the second data and provides the second data to the first transmission module; the second transmission module provides the second data to the second conversion module so that the second conversion module converts the second data into the first data, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, sending the second data from the first cloud node to the second cloud node may refer to sending the second data from a first transmission module of the first cloud node to a second transmission module of the second cloud node.
In one embodiment of the present disclosure, at least one conversion module and at least one transmission module may exist within one cloud node. In one embodiment of the present disclosure, one conversion module may be provided for each application.
Step S210 in an embodiment according to the present disclosure is described below with reference to fig. 3.
Fig. 3 shows a flowchart of one example of step S210 in a communication method according to an embodiment of the present disclosure. In this embodiment, step S210 includes steps S310 and S320.
In step S310, first data issued by a first application following a first protocol between the first application and a second application is detected.
In step S320, the first data is converted into second data according to a preset rule.
According to the technical scheme provided by the embodiment of the disclosure, detecting first data sent by a first application of a first cloud node, and performing format conversion on the first data to obtain second data comprises: detecting first data issued by a first application that conforms to a first protocol between the first application and a second application; the first data are converted into the second data according to the preset rule, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the first protocol refers to a protocol that the first application and the second application commonly follow in order to communicate with each other. It should be noted that each application may need to execute multiple protocols, and thus, a first protocol may refer to at least one protocol or at least a set of protocols that are commonly followed by both the protocol followed by the first application and the protocol followed by the second application.
As can be appreciated by those skilled in the art, even if the protocol followed by the first application is the same as the protocol followed by the second application, it is still difficult for the first application and the second application to communicate directly over the network due to the different cloud nodes in which they are located.
Therefore, in one embodiment of the present disclosure, the first data may be converted into the second data according to a preset rule. In one embodiment of the present disclosure, the data structure of the second data is different from the data structure of the first data. In one embodiment of the present disclosure, the preset rule may be implemented as a certain preset data conversion rule, for example, a certain data template, specified by a second protocol inside and between the first cloud node and the second cloud node. The second data may be transmitted between modules within the cloud node, or may be transmitted between two cloud nodes.
In one embodiment of the present disclosure, the second data includes description information and the first data, the description information being information related to communication between the first application and the second application.
According to the technical scheme provided by the embodiment of the disclosure, the second data comprises the description information and the first data, the description information is information related to communication between the first application and the second application, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, the preset rule is a rule that specifies how to convert first data complying with the first protocol into second data, how to transmit the second data, and how to convert the second data into data complying with the first protocol. In one embodiment of the present disclosure, the description information may be configured according to a preset rule and combined or superimposed with the first data to obtain the second data.
In one embodiment of the present disclosure, step S320 includes: the second data is obtained by combining the description information with the first data according to a preset rule.
According to the technical scheme provided by the embodiment of the disclosure, converting the first data into the second data according to the preset rule comprises: the description information is combined with the first data according to the preset rule to obtain the second data, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, an example of the data format of the resulting second data converted according to a preset rule is shown below.
Figure BDA0002064089710000191
In this example, the data structure of the second data converted according to the preset rule above includes a header field, a protocol field, a Router (i.e., routing) field, and a Content (i.e., Content) field. The Content field is an application data packet, that is, application data to be sent by an application of one cloud node to an application of another cloud node. In the second data converted by the preset conversion rule according to the embodiment of the present disclosure, the application data (i.e., the first data) exists as one field of the second data.
In this example, the message header field, the protocol field, and the Router (i.e., routing) field may be collectively referred to as descriptive information in the second data, i.e., information related to communication between the first application and the second application.
The following is further described with reference to an example of the data format of the above-described second data.
In the above data format example, the message header field in the description information is a header field of the message as the second data, which contains a message ID field indicating the identity of the message (second data). The header field may be directly generated when the second data is generated according to a preset rule.
In the above data format example, the protocol field in the description information refers to a field describing a first protocol between the first application and the second application that perform communication. The information in the protocol field may be information parsed from the application packet (first data). Wherein the protocol (i.e., the aforementioned first protocol) is an http protocol. The type of the first data is req, and the type is one of req and resp. Since the protocol of the first data is http, the first data further includes a host field and headers fields, and the host field and headers fields are null in this example. It will be understood by those skilled in the art that the protocol (first protocol) is an http protocol only, and may be various protocols as various protocols may be employed between the first application and the second application.
In the above data format example, the Router field in the description information refers to the routing information of the first data and the second data. The destination application is a second application of the second cloud node, and the source application is a first application of the first cloud node. The information of the destination application and the original application may be parsed from the application data packet (first data). The destination protocol module address refers to a conversion module used by the second cloud node to resolve the second data into the first data. The destination transmission module address refers to an address used by the second cloud node to receive the second data transmission module from the cloud node. The source transport module address refers to an address of a transport module of the first cloud node for transmitting the second data to a destination transport module address of the second cloud node. The source protocol module address refers to a conversion module used by the first cloud node to convert the first data into the second data. It is to be understood that the destination protocol module address, the destination transport module address, the source transport module address, and the source protocol module address may be obtained by querying the first cloud node and the second cloud node based on the destination application and the source application, and a specific obtaining manner thereof is not described herein.
In the above data format example, the above routing field describes that the second data is transmitted within the cloud node between the source protocol module address and the source transport module address within the first cloud node, and is transmitted within the cloud node between the destination transport module address and the destination protocol module address within the second cloud node. The above routing field also describes the cloud inter-node transfer of the second data between the source transport module address and the destination transport module address. The above routing field also describes the transfer of the first data between the source application and the destination application.
The data structure of the second data given above is only an example, and in the embodiment of the present disclosure, the second data may have various different data structures according to a preset rule.
In the embodiments discussed above, the manner in which the description information is combined with the first data to obtain the second data may be considered as: the second data is obtained by superimposing information related to description of communication between the first application and the second application obtained in various ways over the first data.
In one embodiment of the present disclosure, the description information may be configured according to a preset rule, so that the description information may describe communication with the first application and the second application in a json, xml, or custom format, or the like.
In one embodiment of the present disclosure, the description information may further include information indicating a length of the description information, information indicating a structure of the second data, a field indicating information of the second data, and the like.
In one embodiment of the present disclosure, the format of the second data and the format of the description information are specified in the preset rule, and thus the description information may be configured according to the preset rule. In one embodiment of the present disclosure, when information related to communication between a first application and a second application, such as a first protocol, the first application, the second application, and the like, changes, the description information needs to be dynamically configured to ensure that a second node can accurately parse the description information according to a preset rule, and provide the parsed first data to the second application according to the description information.
In an embodiment of the present disclosure, the first cloud node may include a plurality of applications, each application may be different from another application, and the first protocol followed by each application may be different, and therefore, the description information needs to be dynamically configured, so that a relevant situation of communication with the second application, which is to be initiated by the first application, can be clearly described according to the description information, and the communication is guaranteed.
In one embodiment of the present disclosure, in order to be able to parse the second data, the preset rule adopted by the first cloud node and the second cloud node is consistent. Moreover, the first data parsed from the second data according to the preset rule may be provided to the second application of the second cloud node, whereby communication between the first application in the first cloud node and the second application in the second cloud node may be achieved.
Step S230 in an embodiment according to the present disclosure is described below with reference to fig. 4.
Fig. 4 shows a flowchart of one example of step S230 in the communication method according to an embodiment of the present disclosure. In this embodiment, step S230, in other words, parsing out the first data complying with the first protocol from the second data at the second cloud node, and providing the first data to the second application, includes steps S410 and S420.
In step S410, the description information and the first data are parsed from the second data according to a preset rule at the second cloud node.
In step S420, the first data is provided to the second application according to the description information.
According to the technical scheme provided by the embodiment of the disclosure, the analyzing out the first data following the first protocol from the second data and providing the first data to the second application comprises: analyzing the description information and the first data from the second data at the second cloud node according to a preset rule; the first data are provided for the second application according to the description information, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other like in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, since the description information is information related to communication between the first application and the second application, a route for transmitting the first application, for example, a destination application, a source application, a destination protocol module address, a destination transmission module address, a source protocol module address, may be determined based on the parsed description information. Furthermore, since the communication between the first application and the second application follows the first protocol, the first data may be directly provided to the second application for processing, depending on the content of the protocol field in the description information.
A communication method according to another embodiment of the present disclosure is described below with reference to fig. 5.
Fig. 5 shows a flow chart of a communication method according to another embodiment of the present disclosure. The communication method of this embodiment includes steps S510, S520, and S530. Although not shown, the communication method of this embodiment may further include steps S210, S220, and S230 shown in fig. 2.
In step S510, third data sent by the second application is detected, and the third data is subjected to format conversion to obtain fourth data.
In step S520, the fourth data is transmitted from the second cloud node to the first cloud node.
In step S530, the fourth data is parsed at the first cloud node, and the parsed third data is provided to the first application.
According to the technical scheme provided by the embodiment of the disclosure, third data sent by a second application is detected, and format conversion is performed on the third data to obtain fourth data; sending the fourth data from the second cloud node to the first cloud node; the fourth data are analyzed at the first cloud node, the analyzed third data are provided for the first application, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without being modified through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In this embodiment of the present disclosure, the third data may be regarded as data that the second application sends to the first application after processing the first data from the first application.
In this embodiment of the present disclosure, steps S510, S520, and S530 may be considered to correspond to steps S210, S220, and S230, respectively, in the embodiment shown in fig. 2. These steps are simply the execution of the subject and the processing of the data difference, and the logic of execution is the same. The description of steps S510, S520, and S530 may refer to the foregoing description of steps S210, S220, and S230.
When both a first application in the first cloud node and a second application in the second cloud node perform data transmission and data reception with each other, a communication path between the first application and the second application may be considered to be complete.
A communication method according to still another embodiment of the present disclosure is described below with reference to fig. 6.
Fig. 6 shows a flow chart of a communication method according to yet another embodiment of the present disclosure. The communication method of this embodiment includes step S610 in addition to steps S210, S220, and S230 shown in fig. 2.
In step S610, preset rules in the first cloud node and the second cloud node are synchronously adjusted.
According to the technical scheme provided by the embodiment of the disclosure, the problem of application communication of a plurality of cloud nodes can be solved by synchronously adjusting the preset rules in the first cloud node and the second cloud node, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. Through synchronous adjustment of the preset rules of the cloud nodes, the cloud nodes can use the same preset rule to perform data conversion or analysis, so that communication between the cloud nodes and the inside of the cloud nodes is ensured.
In this embodiment of the present disclosure, due to adjustment and change inside the cloud node and adjustment or change of the application or the first protocol that performs communication, it is possible that the preset rule may also change. Therefore, the preset rules need to be adjusted to ensure the communication between the applications of different cloud nodes. Moreover, in order to ensure that the first cloud node and the second cloud node can work together, the preset rules in the first cloud node and the second cloud node need to be adjusted synchronously.
A communication method according to still another embodiment of the present disclosure is described below with reference to fig. 7.
Fig. 7 shows a flow chart of a communication method according to yet another embodiment of the present disclosure. The communication method of this embodiment includes step S710 in addition to steps S210, S220, and S230 shown in fig. 2. In the embodiment shown in fig. 7, it can be considered that step S610 shown in fig. 6 is further implemented as step S710.
In step S710, according to the change of the first protocol, preset rules in the first cloud node and the second cloud node are synchronously adjusted.
According to the technical scheme provided by the embodiment of the disclosure, the adjusting of the preset rules in the first cloud node and the second cloud node by synchronization comprises the following steps: according to the change of the first protocol, the preset rules in the first cloud node and the second cloud node are synchronously adjusted, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. According to the change of the protocol between the applications for communication, the preset rules of the cloud nodes are synchronously adjusted, so that the cloud nodes can use the same preset rule to perform data conversion or analysis, and the communication between the cloud nodes is ensured.
In this embodiment of the disclosure, the first protocol to be followed by the first application to communicate with the second application may change. Therefore, it is necessary to adjust the preset rule for the change according to the first protocol, so as to adjust the description information and the second data generated according to the preset rule to ensure the communication between the first application and the second application. In this case, the description information may be configured according to a preset rule.
In one embodiment of the present disclosure, step S320 in the embodiment shown in fig. 2 may further include: and configuring the description information according to a preset rule so that the description information describes the changed first protocol.
According to the technical scheme provided by the embodiment of the disclosure, converting the first data into the second data according to the preset rule comprises: the description information is configured according to the preset rule, so that the description information describes the changed first protocol, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The description information is configured on each cloud node according to the preset rule, so that each cloud node can use the same description information to perform data conversion or analysis, and communication between the cloud nodes and the cloud nodes is ensured.
In one embodiment of the present disclosure, when the first protocol changes, the preset rule may change accordingly, and the description information may also need to change as the preset rule changes. For example, in the aforementioned data structure example of the second data, when the first protocol is changed, the protocol field in the description information needs to be changed as well. That is, the description information may be dynamically configured according to a preset rule.
In one embodiment of the present disclosure, step S220 includes: and sending the second data from the first cloud node to the second cloud node through a preset secure communication channel.
According to the technical scheme provided by the embodiment of the disclosure, the sending the second data from the first cloud node to the second cloud node comprises: the second data are sent to the second cloud node from the first cloud node through the preset safe communication channel, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. In addition, the safety of the application communication of the cloud nodes can be guaranteed through the preset safety communication channel.
In one embodiment of the present disclosure, the preset secure communication channel may refer to a secure channel established for communication between the first cloud node and the second cloud node. The preset secure communication channel is used for ensuring that the second data is sent from the first cloud node to the second cloud node safely. In another embodiment, the preset secure communication channel is used to ensure that the fourth data is securely transmitted from the second cloud node to the first cloud node.
In an embodiment of the present disclosure, the preset secure communication channel may refer to a communication channel established by using a secure protocol such as HTTPS (hypertext transfer secure protocol), WebSocket protocol, or proprietary protocol. The preset safety communication channel can solve the safety risk caused by the fact that the applications in the cloud nodes directly use the public network IP to communicate in the internet environment. It will be understood by those skilled in the art that the predetermined secure communication channel may be any secure communication channel or communication means known in the art or appearing in the future, and will not be described in detail in this disclosure.
In the foregoing embodiment of the present disclosure, a data template may be implemented according to a preset rule, and the data template specifies how to add description information to the second data, and how to configure the description information. That is, the second data may be generated or parsed according to the data template.
One application scenario of the communication system and the communication method according to an embodiment of the present disclosure is described below with reference to fig. 8.
Fig. 8 illustrates an exemplary diagram of an application scenario of a communication system and a communication method according to an embodiment of the present disclosure. The embodiment shown in fig. 8 can be considered as a specific application example of the communication system shown in fig. 1 and the communication method shown in fig. 2 to 7 in an edge cloud computing scenario.
In the edge cloud computing farm shown in fig. 8, the central cloud node communicates with the applications in the edge cloud nodes. Although the center cloud and edge clouds are not shown in fig. 8, it is understood that the center cloud nodes are integral parts of the center cloud and the edge cloud nodes are integral parts of the edge cloud.
As shown in fig. 8, the central cloud node includes a plurality of applications, a conversion module, and a transmission module. Similarly, the edge cloud node also includes a plurality of applications, a translation module, and a transport module. And the transmission module of the central cloud node is communicated with the transmission module of the edge cloud node through a secure communication channel.
In an embodiment of the present disclosure, the central cloud node may further include a configuration center, configured to configure a preset rule (or, a description template configured according to the preset rule, for example, a data format of the foregoing second data) to be followed by the conversion module in the central cloud node and the conversion module in the edge cloud node to perform the conversion. In other words, a description template may be considered a specific implementation of a preset rule. Those skilled in the art will appreciate that the preset rule can be implemented in various ways, and is not limited to be implemented as a description template, which is not described in detail in this disclosure.
In another embodiment of the present disclosure, a configuration hub may be a device, module or component that is independent of the hub cloud node and the edge cloud nodes. The configuration center shown in fig. 8 may be the same as the configuration device 140 described with reference to fig. 1. In another embodiment of the present disclosure, the configuration center may be part of an edge cloud node. In another embodiment of the present disclosure, the configuration center may be a part of the aforementioned management and control device. Those skilled in the art will appreciate that the configuration center may be configured as desired, and the embodiments of the present disclosure are not limited thereto.
The workflow of the communication system shown in fig. 8 is described by taking an example in which an application in an edge cloud node sends a request to an application in a center cloud node, and the workflow is as follows:
(1) an application of an edge cloud node initiates a request;
(2) the conversion module of the edge cloud node intercepts the request (for example, by a four-layer or seven-layer network protocol agent), and superimposes description information (json, xml, or a custom format may be used) on the application data (i.e., the first data) based on a preset rule, that is, based on a description template (which may include a protocol, a request address, an application ID, and the like, for example, a data format of the aforementioned second data) issued by the configuration center. Forwarding the processed data (i.e., the second data) to a transmission module of the edge cloud node;
(3) after receiving the processed data, the transmission module of the edge cloud node sends the processed data to the transmission module of the center cloud node through the secure communication channel;
(4) the transmission module of the central cloud node forwards the acquired data to the conversion module of the central cloud node;
(5) the conversion module of the central cloud node parses the description information and the application data (i.e., the first data) in the data. According to the description information, the application data (for example, the request) is sent to the corresponding service, and the return data is returned along the link, so that one-time communication is completed.
The workflow of the application request from the central cloud node to the edge cloud node is similar. That is, the data transmission flow between the central cloud node and the edge cloud node is similar to the aforementioned work flow.
The solution described with reference to fig. 8 has the following features:
1. the central cloud node and the edge cloud node are respectively provided with a conversion module and a transmission module, and the transmission module of the central cloud node is connected with the transmission module of the edge cloud node through a secure communication channel.
2. The conversion module has the functions of:
(1) mutually converting first data transmitted between the application of the center cloud node and the application of the edge cloud node and second data transmitted in the center cloud node, in the edge cloud node and between the center cloud node and the edge cloud node;
(2) communicating with a transmission module;
(3) and analyzing the description information in the second data, and forwarding the data to the practical application according to the description information.
3. And dynamically configuring the description information based on the description template.
4. The transmission module has the functions of:
(1) forwarding the data provided by the conversion module into a secure communication channel;
(2) and forwarding the data arriving through the secure communication channel to the conversion module.
The edge cloud computing scenario illustrated in fig. 8 is a communication scenario between an application of a center cloud node and an application of an edge cloud node. Those skilled in the art will appreciate that the scenario illustrated in fig. 8 may also be implemented as a scenario of communication between applications of two central cloud nodes, or a scenario of communication between applications of two edge cloud nodes.
In conjunction with the embodiments of the present disclosure described with reference to fig. 1 to 8, a communication system according to an embodiment of the present disclosure is described below with reference to fig. 9.
Fig. 9 shows a block diagram of a communication system 900 according to an embodiment of the present disclosure. The communication system shown in fig. 9 includes a first cloud node 910 and a second cloud node 920. The first cloud node 910 shown in fig. 9 is similar to the first cloud node 110 shown in fig. 1, and the second cloud node 920 shown in fig. 9 is similar to the second cloud node 120 shown in fig. 1.
The first cloud node 910 is configured to detect first data emitted by a first application of the first cloud node 910 and format convert the first data to obtain second data.
The first cloud node 910 is configured to send the second data to the second cloud node 920.
The second cloud node 920 is configured to parse the second data and provide the parsed first data to a second application of the second cloud node 920.
According to the technical scheme provided by the embodiment of the disclosure, the method comprises the steps that a first cloud node and a second cloud node are used, wherein the first cloud node is configured to detect first data sent by a first application of the first cloud node, and format conversion is carried out on the first data to obtain second data; the first cloud node is configured to send the second data to the second cloud node; the second cloud node is configured to analyze the second data, and provide the analyzed first data to the second application of the second cloud node, so that the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the first cloud node 910 is further configured to:
detecting first data issued by a first application that conforms to a first protocol between the first application and a second application;
and converting the first data into second data according to a preset rule.
According to the technical scheme provided by the embodiment of the disclosure, the first cloud node is further configured to: detecting first data issued by a first application that conforms to a first protocol between the first application and a second application; the first data are converted into the second data according to the preset rule, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the second data includes description information and the first data, the description information being information related to communication between the first application and the second application.
According to the technical scheme provided by the embodiment of the disclosure, the second data comprises the description information and the first data, the description information is information related to communication between the first application and the second application, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, the first cloud node 910 is further configured to:
obtaining the second data by combining the description information with the first data according to a preset rule.
According to the technical scheme provided by the embodiment of the disclosure, the first cloud node is further configured to: the description information is combined with the first data according to a preset rule to obtain the second data, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without modification through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, the second cloud node 920 is further configured to:
analyzing the description information and the first data from the second data according to a preset rule;
the first data is provided to the second application according to the description information.
According to the technical scheme provided by the embodiment of the disclosure, the second cloud node is further configured to: analyzing the description information and the first data from the second data according to a preset rule; the first data are provided for the second application according to the description information, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other like in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, the second cloud node 920 is further configured to detect third data sent by the second application, and format-convert the third data to obtain fourth data;
the second cloud node 920 sends the fourth data to the first cloud node 910;
the first cloud node 910 is further configured to parse the fourth data and provide the parsed third data to the first application.
According to the technical scheme provided by the embodiment of the disclosure, third data sent by a second application is detected, and format conversion is performed on the third data to obtain fourth data; sending the fourth data from the second cloud node to the first cloud node; the fourth data are analyzed at the first cloud node, the analyzed third data are provided for the first application, the problem of application communication of a plurality of cloud nodes can be solved, and the applications of the cloud nodes can communicate with each other in a local area network without being modified through a non-invasive communication mode. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
A communication system in another embodiment of the present disclosure is described below with reference to fig. 10.
Fig. 10 shows a block diagram of a communication system 1000 according to another embodiment of the present disclosure. The communication system 1000 shown in fig. 10 differs from the communication system 900 shown in fig. 9 in that a configuration means 1010 is further included.
The configuration means 1010 is configured to synchronously adjust preset rules in the first cloud node and the second cloud node.
According to the technical scheme provided by the embodiment of the disclosure, the configuration device is configured to synchronously adjust the preset rules in the first cloud node and the second cloud node, so that the problem of application communication of a plurality of cloud nodes can be solved, and through a non-intrusive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. Through synchronous adjustment of the preset rules of the cloud nodes, the cloud nodes can use the same preset rule to perform data conversion or analysis, so that communication between the cloud nodes and the inside of the cloud nodes is ensured.
In another disclosed embodiment, referring to fig. 10, the configuring means 1010 is further configured to: and according to the change of the first protocol, synchronously adjusting preset rules in the first cloud node and the second cloud node.
According to the technical scheme provided by the embodiment of the disclosure, the configuration device is further configured to: according to the change of the first protocol, the preset rules in the first cloud node and the second cloud node are synchronously adjusted, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. According to the change of the protocol between the applications for communication, the preset rules of the cloud nodes are synchronously adjusted, so that the cloud nodes can use the same preset rule to perform data conversion or analysis, and the communication between the cloud nodes is ensured.
In a disclosed embodiment, the first cloud node 910 is further configured to: and configuring the description information according to a preset rule so that the description information describes the changed first protocol.
According to the technical scheme provided by the embodiment of the disclosure, the first cloud node is further configured to: the description information is configured according to the preset rule, so that the description information describes the changed first protocol, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The description information is configured on each cloud node according to the preset rule, so that each cloud node can use the same description information to perform data conversion or analysis, and communication between the cloud nodes and the cloud nodes is ensured.
A communication system in another embodiment of the present disclosure is described below with reference to fig. 11.
Fig. 11 shows a block diagram of a communication system 1100 according to yet another embodiment of the present disclosure. The communication system 1100 shown in fig. 11 is different from the communication system 900 shown in fig. 9 in that a preset secure communication channel 1110 is further included.
The first cloud node is configured to send the second data to the second cloud node through a preset secure communication channel 1110.
According to the technical scheme provided by the embodiment of the disclosure, the first cloud node is configured to send the second data to the second cloud node through the preset secure communication channel, so that the problem of application communication of a plurality of cloud nodes can be solved, and through a non-intrusive communication mode, applications of all cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. In addition, the safety of the application communication of the cloud nodes can be guaranteed through the preset safety communication channel.
In a disclosed embodiment, the first cloud node 910 further comprises a first conversion module and a first transmission module, and the second cloud node 920 further comprises a second conversion module and a second transmission module, wherein the first conversion module converts the first data into the second data and provides the second data to the first transmission module; the second transmission module provides the second data to the second conversion module for the second conversion module to convert the second data into the first data.
According to the technical scheme provided by the embodiment of the disclosure, the cloud node further comprises a first conversion module and a first transmission module, the second cloud node further comprises a second conversion module and a second transmission module, and the first conversion module converts the first data into the second data and provides the second data to the first transmission module; the second transmission module provides the second data to the second conversion module so that the second conversion module converts the second data into the first data, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
It can be understood by those skilled in the art that the technical solutions described with reference to fig. 9 to 11 can be combined with the embodiments described with reference to fig. 1 to 8, so as to have the technical effects achieved by the embodiments described with reference to fig. 1 to 8. For details, reference may be made to the description made above with reference to fig. 1 to 8, and details thereof are not repeated herein.
A cloud node in an embodiment of the present disclosure is described below with reference to fig. 12.
Fig. 12 illustrates a cloud node 1200 in accordance with an embodiment of the present disclosure. The cloud node 1200 shown in fig. 12 is similar to the first and second cloud nodes 110 and 120 shown in fig. 1, the center and edge cloud nodes shown in fig. 8, and the first and second cloud nodes 910 and 920 shown in fig. 9 to 100.
The cloud node 1200 shown in fig. 12 includes a first application module 1210, a conversion module 1220, and a transmission module 1230.
The first application module 1210 is configured to communicate with a second application module in a second cloud node (not shown).
The conversion module 1220 is configured to detect first data sent by the first application module 1210 and format convert the first data to obtain second data.
The transmission module 1230 is configured to transmit the second data to the second cloud node.
According to the technical scheme provided by the embodiment of the disclosure, the first application module is configured to communicate with the second application module in the second cloud node; the conversion module is configured to detect first data sent by the first application module and perform format conversion on the first data to obtain second data; the transmission module is configured to send the second data to the second cloud node, so that the problem of application communication of the plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the structure of the second cloud node, not shown, may be the same as or different from the cloud node 1200, but the second cloud node has a conversion module and a transmission module in order to perform communication with the first application module 1210 of the cloud node 1200.
It should be noted that the cloud node 1200 may include a plurality of first application modules 1210, and each of the first application modules 1210 may perform different functions from each other.
Those skilled in the art will appreciate that when cloud node 1200 corresponds to first cloud node 110 in fig. 1, first application module 1210 corresponds to first application 111, 112, … 113 in fig. 1. In this case, the second cloud node corresponds to the second cloud node 120 in fig. 1, and the second application module corresponds to the second application 121, 122, … 123 in fig. 1.
In one embodiment of the present disclosure, the conversion module 1220 is further configured to:
detecting first data issued by the first application module 1210 that conforms to a first protocol between the first application module 1210 and the second application module;
and converting the first data into second data according to a preset rule.
According to the technical scheme provided by the embodiment of the disclosure, the conversion module is further configured to: detecting first data which is sent by a first application module and conforms to a first protocol between the first application module and a second application module; the first data are converted into the second data according to the preset rule, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the second data includes description information and the first data, the description information being information related to communication between the first application and the second application.
According to the technical scheme provided by the embodiment of the disclosure, the second data comprises the description information and the first data, the description information is information related to communication between the first application and the second application, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, the conversion module 1220 is further configured to: the second data is obtained by combining the description information with the first data according to a preset rule.
According to the technical scheme provided by the embodiment of the disclosure, the conversion module is further configured to: the description information is combined with the first data according to the preset rule to obtain the second data, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The second data can be accurately transmitted inside the cloud nodes and between the cloud nodes through the description information.
In one embodiment of the present disclosure, the transmission module 1230 is further configured to:
fourth data is received from the second cloud node.
According to the technical scheme provided by the embodiment of the disclosure, the transmission module is further configured to: the fourth data from the second cloud node is received, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the conversion module 1220 is further configured to:
the fourth data is parsed and the parsed third data is provided to the first application module 1210.
According to the technical scheme provided by the embodiment of the disclosure, the conversion module is further configured to: the fourth data are analyzed, the analyzed third data are provided for the first application module, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of all the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
A cloud node in another embodiment of the present disclosure is described below with reference to fig. 13.
Fig. 13 shows a block diagram of a cloud node 1300 according to yet another embodiment of the present disclosure. The cloud node 1300 shown in fig. 13 differs from the cloud node 1200 shown in fig. 12 in that it further comprises a configuration module 1310. The cloud node 1300 shown in fig. 13 is similar to the first and second cloud nodes 110 and 120 shown in fig. 1, the center and edge cloud nodes shown in fig. 8, and the first and second cloud nodes 910 and 920 shown in fig. 9 to 100.
The configuration module 1310 is configured to synchronize the preset rules 1320 in the adjustment cloud node 1300 and the second cloud node.
According to the technical scheme provided by the embodiment of the disclosure, the configuration module is configured to synchronously adjust the preset rules in the cloud nodes and the second cloud nodes, so that the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the configuration module 1310 is similar to the configuration apparatus 140 described with reference to fig. 1 and the configuration center described with reference to fig. 8. In one embodiment of the present disclosure, the preset rules 1320 may be implemented as the description template described with reference to fig. 8.
In one embodiment of the present disclosure, the conversion module 1220 performs data format permutation or parsing according to the preset rules 1320 configured by the configuration module 1310.
In one embodiment of the present disclosure, the configuration module 1310 is further configured to:
the preset rules 1320 in the cloud node 1300 and the second cloud node are synchronously adjusted according to the change of the first protocol.
According to the technical scheme provided by the embodiment of the disclosure, the configuration module is further configured to: according to the change of the first protocol, the preset rules in the cloud nodes and the second cloud nodes are synchronously adjusted, the problem of application communication of the cloud nodes can be solved, and through a non-invasive communication mode, the applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured.
In one embodiment of the present disclosure, the configuration module 1310 is further configured to: the description information is configured according to a preset rule 1320 so that the description information describes the changed first protocol.
According to the technical scheme provided by the embodiment of the disclosure, the configuration module is further configured to: the description information is configured according to the preset rule, so that the description information describes the changed first protocol, the problem of application communication of a plurality of cloud nodes can be solved, and through a non-invasive communication mode, applications of the cloud nodes can communicate with each other as in a local area network without being modified. Moreover, the port of the application which carries out communication is not exposed to an external network by transmitting the second data, so that the safety of application communication is ensured. The description information is configured on each cloud node according to the preset rule, so that each cloud node can use the same description information to perform data conversion or analysis, and communication between the cloud nodes and the cloud nodes is ensured.
In the cloud nodes shown in fig. 12 and 13, although one cloud node includes only one conversion module, it should be noted that one cloud node may include a plurality of conversion modules. In one embodiment of the present disclosure, the cloud node may include one corresponding conversion module for each application module. In the embodiment shown in fig. 13, when one cloud node may include a plurality of conversion modules, the preset rules to be followed by each conversion module may be the same or different. Under the condition that one cloud node comprises a plurality of conversion modules, the cloud node can efficiently and pertinently complete data conversion.
It can be understood by those skilled in the art that the technical solutions described with reference to fig. 12 and 13 can be combined with the embodiments described with reference to fig. 1 to 11, so as to have the technical effects achieved by the embodiments described with reference to fig. 1 to 11. For details, reference may be made to the description made above with reference to fig. 1 to 11, and details thereof are not repeated herein.
The foregoing embodiments describe the internal functionality and structure of a cloud node, which in one possible design may be implemented as an electronic device, such as shown in fig. 14, the electronic device 1400 may include a processor 1401 and a memory 1402.
The memory 1402 is used for storing programs that enable the communication apparatus to perform the functions implemented by the cloud node in any of the above embodiments, and the processor 1401 is configured to execute the programs stored in the memory 1402.
The memory 1402 is configured to store one or more computer instructions that are executed by the processor 1401 to implement all or part of the steps performed by the cloud node as previously described.
The electronic device may further include a communication interface in the structure, and the communication interface is used for the electronic device to communicate with other devices or a communication network.
The exemplary embodiments of the present disclosure also provide a computer storage medium for storing computer software instructions for the cloud node, which includes instructions for executing the program according to any of the above embodiments, thereby providing the technical effects of the method.
Fig. 15 is a schematic structural diagram of a computer system suitable for use to implement a cloud node according to an embodiment of the present disclosure.
As shown in fig. 15, the computer system 1500 includes a Central Processing Unit (CPU)1501 which can execute various processes in the embodiments shown in the above-described drawings in accordance with a program stored in a Read Only Memory (ROM)1502 or a program loaded from a storage section 1508 into a Random Access Memory (RAM) 1503. In the RAM1503, various programs and data necessary for the operation of the system 1500 are also stored. The CPU1501, the ROM1502, and the RAM1503 are connected to each other by a bus 1504. An input/output (I/O) interface 1505 is also connected to bus 1504.
The following components are connected to the I/O interface 1505: an input portion 1506 including a keyboard, a mouse, and the like; an output portion 1507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1508 including a hard disk and the like; and a communication section 1509 including a network interface card such as a LAN card, a modem, or the like. The communication section 1509 performs communication processing via a network such as the internet. A drive 1510 is also connected to the I/O interface 1505 as needed. A removable medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1510 as necessary, so that a computer program read out therefrom is mounted into the storage section 1508 as necessary.
In particular, according to embodiments of the present disclosure, the methods described above with reference to the figures may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the methods of the figures. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1509, and/or installed from the removable medium 1511.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer-readable storage medium stores one or more programs which are used by one or more processors to perform the methods described in the present disclosure, thereby providing technical effects brought by the methods.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (32)

1. A method of communication, comprising:
detecting first data sent by a first application of a first cloud node, and performing format conversion on the first data to obtain second data;
sending the second data from the first cloud node to a second cloud node;
the second data is parsed at the second cloud node, and the parsed first data is provided to a second application of the second cloud node.
2. The method of claim 1, wherein detecting first data sent by a first application of a first cloud node and format converting the first data to obtain second data comprises:
detecting first data issued by the first application that conforms to a first protocol between the first application and the second application;
and converting the first data into second data according to a preset rule.
3. The method of claim 2, wherein the second data comprises description information and the first data, and wherein the description information is information related to communication between the first application and the second application.
4. The method according to claim 3, wherein the converting the first data into the second data according to a preset rule comprises:
obtaining the second data by combining the description information with the first data according to a preset rule.
5. The method of claim 3, wherein parsing the second data at the second cloud node and providing the parsed first data to a second application of the second cloud node comprises:
analyzing the description information and the first data from the second data according to the preset rule at the second cloud node;
providing the first data to the second application according to the description information.
6. The method of any of claims 1 to 5, further comprising:
detecting third data sent by the second application, and performing format conversion on the third data to obtain fourth data;
sending the fourth data from the second cloud node to the first cloud node;
parsing the fourth data at the first cloud node and providing the parsed third data to the first application.
7. The method of any of claims 2 to 5, further comprising:
and synchronously adjusting preset rules in the first cloud node and the second cloud node.
8. The method of claim 7, wherein the synchronizing adjusts preset rules in the first cloud node and the second cloud node, comprising:
and according to the change of the first protocol, synchronously adjusting preset rules in the first cloud node and the second cloud node.
9. The method according to claim 8, wherein the converting the first data into the second data according to a preset rule comprises:
and configuring the description information according to the preset rule so that the description information describes the changed first protocol.
10. The method of claim 1, wherein the sending the second data from the first cloud node to a second cloud node comprises:
transmitting the second data from the first cloud node to a second cloud node through a preset secure communication channel.
11. The method of any of claims 1 to 5, wherein the first cloud node further comprises a first conversion module and a first transmission module, and the second cloud node further comprises a second conversion module and a second transmission module, wherein,
the first conversion module converts the first data into the second data and provides the second data to the first transmission module;
the second transmission module provides the second data to the second conversion module for the second conversion module to convert the second data into the first data.
12. A communication system comprising a first cloud node and a second cloud node, wherein,
the first cloud node is configured to detect first data sent by a first application of the first cloud node and format-convert the first data to obtain second data;
the first cloud node is configured to send the second data to a second cloud node;
the second cloud node is configured to parse the second data and provide the parsed first data to a second application of the second cloud node.
13. The system of claim 12, wherein the first cloud node is further configured to:
detecting first data issued by the first application that conforms to a first protocol between the first application and the second application;
and converting the first data into second data according to a preset rule.
14. The system of claim 13, wherein the second data comprises descriptive information and the first data, the descriptive information being information related to communication between the first application and the second application.
15. The system of claim 14, wherein the first cloud node is further configured to:
obtaining the second data by combining the description information with the first data according to a preset rule.
16. The system of claim 14, wherein the second cloud node is further configured to:
analyzing the description information and the first data from the second data according to the preset rule;
providing the first data to the second application according to the description information.
17. The system according to any one of claims 12 to 16,
the second cloud node is further configured to detect third data sent by the second application, and format-convert the third data to obtain fourth data;
the second cloud node sending the fourth data to the first cloud node;
the first cloud node is further configured to parse the fourth data and provide the parsed third data to the first application.
18. The system of any one of claims 13 to 16, further comprising:
a configuration device configured to synchronously adjust preset rules in the first cloud node and the second cloud node.
19. The system of claim 18, wherein the configuration means is further configured to:
and according to the change of the first protocol, synchronously adjusting preset rules in the first cloud node and the second cloud node.
20. The system of claim 19, wherein the first cloud node is further configured to:
and configuring the description information according to the preset rule so that the description information describes the changed first protocol.
21. The system of claim 12, further comprising a pre-set secure communication channel, wherein,
the first cloud node is configured to send the second data to a second cloud node through a preset secure communication channel.
22. The system of any one of claims 12 to 16, wherein the first cloud node further comprises a first conversion module and a first transmission module, and the second cloud node further comprises a second conversion module and a second transmission module, wherein,
the first conversion module converts the first data into the second data and provides the second data to the first transmission module;
the second transmission module provides the second data to the second conversion module for the second conversion module to convert the second data into the first data.
23. A cloud node, comprising:
a first application module configured to communicate with a second application module in a second cloud node;
the conversion module is configured to detect first data sent by the first application module and perform format conversion on the first data to obtain second data;
a transmission module configured to transmit the second data to a second cloud node.
24. The cloud node of claim 23, wherein the translation module is further configured to:
detecting first data issued by the first application module that conforms to a first protocol between the first application module and the second application module;
and converting the first data into second data according to a preset rule.
25. The cloud node of claim 24, wherein the second data comprises descriptive information and the first data, the descriptive information being information related to communication between the first application and the second application.
26. The cloud node of claim 25, wherein the translation module is further configured to:
obtaining the second data by combining the description information with the first data according to a preset rule.
27. The cloud node of claim 23, wherein the transmission module is further configured to:
receiving fourth data from the second cloud node.
28. The cloud node of claim 27, wherein the translation module is further configured to:
the fourth data is parsed, and the parsed third data is provided to the first application module.
29. The cloud node of any of claims 24 to 28, further comprising:
a configuration module configured to synchronously adjust preset rules in the cloud node and the second cloud node.
30. The cloud node of claim 29, wherein the configuration module is further configured to:
and according to the change of the first protocol, synchronously adjusting preset rules in the cloud node and the second cloud node.
31. The cloud node of claim 30, wherein the configuration module is further configured to:
and configuring the description information according to the preset rule so that the description information describes the changed first protocol.
32. A readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, implement the method according to any of claims 1-11.
CN201910415129.1A 2019-05-17 2019-05-17 Communication method, communication system, cloud node, and readable storage medium Active CN111953640B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910415129.1A CN111953640B (en) 2019-05-17 2019-05-17 Communication method, communication system, cloud node, and readable storage medium
PCT/CN2020/088687 WO2020233400A1 (en) 2019-05-17 2020-05-06 Communication method, communication system, cloud node and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910415129.1A CN111953640B (en) 2019-05-17 2019-05-17 Communication method, communication system, cloud node, and readable storage medium

Publications (2)

Publication Number Publication Date
CN111953640A true CN111953640A (en) 2020-11-17
CN111953640B CN111953640B (en) 2024-08-02

Family

ID=73336212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910415129.1A Active CN111953640B (en) 2019-05-17 2019-05-17 Communication method, communication system, cloud node, and readable storage medium

Country Status (2)

Country Link
CN (1) CN111953640B (en)
WO (1) WO2020233400A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168555A (en) * 2021-11-02 2022-03-11 北京中合谷投资有限公司 Family cloud node equipment for distributed network
WO2023241680A1 (en) * 2022-06-16 2023-12-21 华为云计算技术有限公司 Edge node control method based on cloud computing technology, and cloud management platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054447A1 (en) * 2015-09-30 2017-04-06 深圳市先河系统技术有限公司 Network communication method, device, and network attached storage device
CN106716404A (en) * 2014-09-24 2017-05-24 甲骨文国际公司 Proxy servers within computer subnetworks
CN107526764A (en) * 2016-06-20 2017-12-29 西门子公司 The system and method that data model translation is performed to the application data based on cloud
WO2018035839A1 (en) * 2016-08-26 2018-03-01 华为技术有限公司 Data transmission method, associated apparatus and communication system
CN108370280A (en) * 2015-09-21 2018-08-03 华为技术有限公司 Quick and expansible data-base cluster communication path

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083594A1 (en) * 2015-09-22 2017-03-23 Microsoft Technology Licesnsing, LLC Application autorouting framework
CN105262837B (en) * 2015-11-03 2018-07-27 上海唐舜电信科技有限公司 A kind of integration of three networks application terminal access device and implementation method based on cloud computing
CN106559511B (en) * 2016-10-18 2019-05-24 优刻得科技股份有限公司 Cloud system, cloud public service system and the exchanging visit method for cloud system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106716404A (en) * 2014-09-24 2017-05-24 甲骨文国际公司 Proxy servers within computer subnetworks
CN108370280A (en) * 2015-09-21 2018-08-03 华为技术有限公司 Quick and expansible data-base cluster communication path
WO2017054447A1 (en) * 2015-09-30 2017-04-06 深圳市先河系统技术有限公司 Network communication method, device, and network attached storage device
CN107526764A (en) * 2016-06-20 2017-12-29 西门子公司 The system and method that data model translation is performed to the application data based on cloud
WO2018035839A1 (en) * 2016-08-26 2018-03-01 华为技术有限公司 Data transmission method, associated apparatus and communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168555A (en) * 2021-11-02 2022-03-11 北京中合谷投资有限公司 Family cloud node equipment for distributed network
WO2023241680A1 (en) * 2022-06-16 2023-12-21 华为云计算技术有限公司 Edge node control method based on cloud computing technology, and cloud management platform

Also Published As

Publication number Publication date
WO2020233400A1 (en) 2020-11-26
CN111953640B (en) 2024-08-02

Similar Documents

Publication Publication Date Title
EP3748908B1 (en) Method, system, network device, storage medium for creating a network slice
US11658908B2 (en) Internet of things end-to-end service layer quality of service management
US11240321B2 (en) Systems and methods for enabling access to third party services via a service layer
US11641339B2 (en) Technologies for content delivery network with multi-access edge computing
US10708376B2 (en) Message bus service directory
CN112165725B (en) Message processing method and device
US10334406B2 (en) Methods and apparatus for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency
US20140244809A1 (en) Service configuration method and apparatus
US11671514B2 (en) Service layer message templates in a communications network
US10997376B2 (en) Electronic message translation management
US20230300106A1 (en) Data processing method, network element device and readable storage medium
WO2023151264A1 (en) Load balancing method and apparatus, node, and storage medium
CN111953640B (en) Communication method, communication system, cloud node, and readable storage medium
Dave et al. MQTT-CoAP interconnector: IoT interoperability solution for application layer protocols
US20220393784A1 (en) Communication method, apparatus, and system
JP6169662B2 (en) API conversion adapter, API conversion system, and API conversion program
US11245567B2 (en) Electronic message adaptation
US10250477B2 (en) Method and controller for announcing bandwidth of cluster system
US10454715B1 (en) Virtual private wire service interworking
JP2019040579A (en) Message push system, client device and message push method therefor
US10298454B2 (en) Communication path switching apparatus, method for controlling communication path switching apparatus, and computer program product
EP4250813A1 (en) Network slices for time sensitive networking
US20240244040A1 (en) Communication based on relay cluster
EP4311280A1 (en) Communication method and device
US20060047854A1 (en) Active node, and contents transfer system and method using the active node

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40039492

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant