A distributed peer-to-peer gateway engine
Through the distributed peer gateway engine to build network pipeline capabilities in distributed hybrid cloud scenarios, the problem of difficulty in opening up network infrastructure in existing technologies is solved, efficient gateway configuration information collection and service traffic management are achieved, and the integrity and security of cloud capabilities are improved.
Patent Information
- Application Number
- CN202411922022.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-25
AI Technical Summary
In the distributed hybrid cloud scenario, it is difficult for the existing technology to effectively open up the network infrastructure and form a logical overall cloud capability, especially when configuring gateway information, there are misjudgment problems, which affects the controllability and security of service traffic.
It provides a distributed peer gateway engine, which establishes an exchange platform through the preliminary processing unit, the configuration information acquisition unit obtains gateway configuration information, the configuration information filtering unit judges the configuration information with the highest accuracy, and establishes a communication channel to realize information communication between the gateway and the cloud server.
In the distributed hybrid cloud scenario, the network pipeline capability that can be accessed by the distributed peer gateway engine is realized, which improves the accuracy of gateway configuration information collection and the efficiency of subsequent configuration work, and ensures the controllability and security of service traffic.
Smart Images

Figure CN119363584B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of distributed technology, and in particular to a distributed peer-to-peer gateway engine. Background Art
[0002] With the development of cloud computing, especially the digital transformation of enterprises and the construction of industrial Internet, a single center has become difficult to meet the real business scenarios of large enterprises.
[0003] At present, every single enterprise will face the scenario of distributed hybrid cloud. In the scenario center of distributed hybrid cloud, it is crucial to connect the network infrastructure and form this distributed hybrid cloud into a logically integrated cloud capability. First, the underlying basic network relies on the basic network capabilities provided by cloud vendors and operators; secondly, a business-oriented network service is built on top of the infrastructure to achieve controllable and open business traffic, controlled API calls, as well as basic security and governance capabilities. Summary of the invention
[0004] In order to overcome the above-mentioned deficiencies of the prior art, the present application provides a distributed peer-to-peer gateway engine.
[0005] This application provides a distributed peer-to-peer gateway engine, which adopts the following technical solutions:
[0006] A distributed peer-to-peer gateway engine, comprising:
[0007] A preliminary processing unit, used to establish a switching platform, initially correspond each virtual gateway in the gateway layer of the switching platform to one of the cloud servers in the cloud server layer of the switching platform, and output a first preliminary processing result;
[0008] A configuration information acquisition unit, used to acquire a gateway configuration information set, and extract the coincidence processing result and the configuration information to be processed from the second processing result set corresponding to the gateway configuration information set;
[0009] The first configuration information screening unit is used to determine that when a group of configuration information with the highest accuracy can be selected from the configuration information to be processed, a first type of available processing results is obtained by statistics according to the difference processing result set;
[0010] The second configuration information screening unit is used to determine that when a group of configuration information with the highest accuracy cannot be selected from the configuration information to be processed, three groups of configuration information with the highest accuracy are screened out from the configuration information to be processed, and according to the difference processing result set, the second type of available processing result one, the second type of available processing result two, and the second type of available processing result three are statistically obtained, and finally the best group of results is screened out, and the second type of screening processing results are output;
[0011] A communication channel establishing unit 1 is used to establish a first communication channel according to the first type of available processing results or the second type of screened processing results, and according to the first communication channel, the gateway configuration information in the gateway configuration information set communicate with each other to obtain a first information communication result, and the different cloud servers in the cloud server layer communicate with each other to obtain a second information communication result;
[0012] The second communication channel establishing unit is used to perform communication processing between the configured virtual gateway set obtained according to the gateway configuration information set and the cloud server corresponding to the configured virtual gateway set to obtain the third information communication result.
[0013] Preferably, cloud networking technology and a cloud are obtained, and a switching platform is established in the cloud based on the cloud networking technology, wherein the switching platform includes a cloud server layer and a gateway layer;
[0014] The cloud server layer includes multiple cloud servers, the gateway layer includes multiple virtual gateways, and each virtual gateway in the gateway layer is initially corresponded to one of the cloud servers in the cloud server layer, and a first preliminary processing result is output.
[0015] Preferably, gateway configuration information at different times is obtained to obtain a gateway configuration information set, and according to the gateway configuration information set, each virtual gateway in the gateway layer is configured to obtain a configured virtual gateway, and according to the configured virtual gateway, a configured virtual gateway set is output, and the configured virtual gateway set is matched with one of the cloud servers in the cloud server layer, and a second processing result set is output;
[0016] Compare the first preliminary processing result with each processing result in the second processing result set to obtain a comparison result set, extract the overlapping parts and the difference parts from the comparison result set, and output the overlapping processing result set and the difference processing result set;
[0017] According to the difference processing result set, the configuration information of the difference part is correspondingly extracted from the gateway configuration information set, and the configuration information to be processed is output.
[0018] Preferably, when a group of configuration information with the highest accuracy can be selected from the configuration information to be processed, the first type of remaining gateway configuration information is output;
[0019] According to the first category of remaining gateway configuration information, extracting the first category of supplementary processing results from the difference processing result set;
[0020] The overlapping processing results and the first type of supplementary processing results are combined into a first type of available processing results.
[0021] Preferably, when a group of configuration information with the highest accuracy cannot be selected from the configuration information to be processed, three groups of configuration information with the highest accuracy are screened out from the configuration information to be processed, and the second type of remaining gateway configuration information one, the second type of remaining gateway configuration information two, and the second type of remaining gateway configuration information three are output;
[0022] According to the second type of remaining gateway configuration information one, extracting the second type of supplementary processing result one from the difference processing result set;
[0023] The overlapping processing results and the second type of supplementary processing results are combined into a second type of available processing result 1;
[0024] According to the second type of remaining gateway configuration information 2, extracting the second type of supplementary processing result 2 from the difference processing result set;
[0025] The overlapping processing result and the second type of supplementary processing result 2 are combined into the second type of available processing result 2;
[0026] According to the second category remaining gateway configuration information three, extracting the second category supplementary processing result three from the difference processing result set;
[0027] The overlapping processing results and the second type of supplementary processing results are combined into the second type of available processing results three;
[0028] By using the Internet of Things simulation system, the best set of results is selected from the second category of available processing results one, the second category of available processing results two and the second category of available processing results three, and the second category of screening processing results is output.
[0029] Preferably, according to the first type of available processing results or the second type of screening processing results, a communication channel between virtual gateways configured in the first type of available processing results or the second type of screening processing results is established, and a first communication channel is output;
[0030] Obtain application registration information of each configured virtual gateway in the first type of available processing results or the second type of screening processing results, and output an application registration information set;
[0031] According to the first communication channel, each application registration information in the application registration information set is sent to each other configured virtual gateway in the first type of available processing results, and an information communication result is output;
[0032] According to the first communication channel and the application registration information set, different cloud servers in the cloud server layer communicate with each other and output the second information communication result.
[0033] Preferably, a second communication channel is established between the configured virtual gateway set and the cloud server corresponding to the configured virtual gateway set;
[0034] According to the second communication channel, communication is performed between the configured virtual gateway set and the cloud server corresponding to the configured virtual gateway set, and the three information communication results are output.
[0035] In summary, the present application includes at least one of the following beneficial technical effects:
[0036] 1. In the distributed hybrid cloud infrastructure scenario, after the underlying basic network is connected, the upper-layer business uniformly plans and deploys a distributed peer-to-peer network. The distributed peer-to-peer gateway builds a network pipeline capability that can access each other for the services deployed on each hybrid cloud. Each peer gateway communicates with each other through message broadcasting, perceives other members of the entire gateway cluster, and forms a traffic forwarding routing configuration.
[0037] 2. Verify whether there is any misjudgment in the configuration gateway information, that is, collect the configuration gateway information for multiple times and compare the corresponding processing results with each other to screen out the overlapping parts, that is, the most accurate partial configuration information, and make judgments on the two information confirmation situations from the difference partial results, that is, when a group of remaining configuration information with the highest accuracy can be screened out, or when a group of remaining configuration information with the highest accuracy cannot be selected, separate processing is performed, thereby improving the accuracy of the configuration gateway information collection and the efficiency of subsequent configuration work. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a module diagram of a distributed peer-to-peer gateway engine mainly embodied in this embodiment.
[0039] Explanation of the accompanying drawings: 1. Preliminary processing unit; 2. Configuration information acquisition unit; 3. Configuration information screening unit 1; 4. Configuration information screening unit 2; 5. Communication channel establishment unit 1; 6. Communication channel establishment unit 2. DETAILED DESCRIPTION
[0040] The present invention is further described in detail below in conjunction with the following examples.
[0041] Reference Figure 1 , a distributed peer-to-peer gateway engine, including a preliminary processing unit, a configuration information acquisition unit, a configuration information screening unit 1, a configuration information screening unit 2, a communication channel establishment unit 1 and a communication channel establishment unit 2.
[0042] The preliminary processing unit is used to establish a switching platform, initially correspond each virtual gateway in the gateway layer of the switching platform to one of the cloud servers in the cloud server layer of the switching platform, and output a first preliminary processing result.
[0043] The specific execution method of the preliminary processing unit is as follows:
[0044] Acquire cloud networking technology and a cloud end, and establish a switching platform in the cloud end based on the cloud networking technology. The switching platform includes a cloud server layer and a gateway layer.
[0045] The cloud server layer includes multiple cloud servers, the gateway layer includes multiple virtual gateways, and each virtual gateway in the gateway layer is initially corresponded to one of the cloud servers in the cloud server layer, and a first preliminary processing result is output.
[0046] Specifically, the cloud server layer includes cloud servers belonging to different manufacturers, and the virtual gateway layer includes multiple virtual gateways. Each virtual gateway corresponds to a cloud server one-to-one. Cloud networking technology uses SDN technology to provide users with cloud connections and cloud services to meet users' needs for rapid networking between data centers, cloud resources and office spaces. It has the characteristics of elastic bandwidth, online services, instant activation, security and reliability. In this solution, cloud networking technology mainly uses SDN technology to achieve communication between cloud servers and virtual gateways and between virtual gateways; cloud servers include but are not limited to Alibaba Cloud, Tencent Cloud, and Huawei Cloud. The first preliminary processing result refers to the configuration relationship between the original virtual gateway and the cloud server in the initial state. The configuration relationship needs to be updated later to improve the efficiency of the configuration solution.
[0047] The configuration information acquisition unit is used to acquire a gateway configuration information set, and extract the coincidence processing results and the configuration information to be processed from the second processing result set corresponding to the gateway configuration information set.
[0048] The specific execution method of the configuration information acquisition unit is as follows:
[0049] The gateway configuration information at different times is obtained to obtain a gateway configuration information set. According to the gateway configuration information set, each virtual gateway in the gateway layer is configured to obtain a configured virtual gateway. According to the configured virtual gateway, a configured virtual gateway set is output. The configured virtual gateway set is matched with one of the cloud servers in the cloud server layer, and a second processing result set is output.
[0050] The first preliminary processing result is respectively compared with each processing result in the second processing result set to obtain a comparison result set, and the overlapping parts and the difference parts are respectively extracted from the comparison result set, and the overlapping processing result and the difference processing result set are output.
[0051] According to the difference processing result set, the configuration information of the difference part is correspondingly extracted from the gateway configuration information set, and the configuration information to be processed is output.
[0052] Specifically, the gateway configuration information includes routing information, address information and cloud server domain name information. The cloud server corresponding to the virtual gateway can be determined through the cloud server domain name information. The gateway configuration information includes but is not limited to the cloud server ID unique identifier and routing service address; such as the second processing result set (taking a few of them as examples, if the virtual gateways are configured as A1, A2, A3, and A4, and the cloud servers are a1, a2, a3, and a4, if one of the processing results is A1-a1, A2-a2, A3-a3, and A4-a4, and one of the processing results is A1-a1, A4-a2, A3-a4, and A2-a3), the first preliminary processing result (if it is A1-a1, A2-a2, A3-a4, A4-a3), overlap processing results (refers to the part where all three overlap, which is A1-a1), difference processing result set (one of them is A3-a3, A4-a4, the other is A4-a2, A3-a4, A2-a3), configuration information to be processed (if the configuration information is divided into four categories: M1, M2, M3, M4, corresponding to a1, a2, a3, a4 respectively, that is, one is M3, M4, and the other is M1).
[0053] The configuration information screening unit 1 is used to determine when a group of configuration information with the highest accuracy can be selected from the configuration information to be processed, and to obtain a first type of available processing results based on the difference processing result set.
[0054] The specific implementation of the configuration information screening unit 1 is as follows:
[0055] When a group of configuration information with the highest accuracy can be selected from the configuration information to be processed, the first type of remaining gateway configuration information is output.
[0056] According to the first category of remaining gateway configuration information, the first category of supplementary processing results is correspondingly extracted from the difference processing result set.
[0057] The overlapping processing results and the first type of supplementary processing results are combined into the first type of available processing results.
[0058] Specifically, such as the first category remaining gateway configuration information (if it is M3, M4), the first category supplementary processing results (that is, A3-a3, A4-a4), then the first category available processing results (are A1-a1, A2-a2, A3-a3, A4-a4).
[0059] Configuration information screening unit 2 is used to determine that when a group of configuration information with the highest accuracy cannot be selected from the configuration information to be processed, three groups of configuration information with the highest accuracy are screened out from the configuration information to be processed. According to the difference processing result set, the second category of available processing result one, the second category of available processing result two and the second category of available processing result three are statistically obtained, and finally the best group of results are screened out to output the second category of screening processing results.
[0060] The specific implementation of the configuration information screening unit 2 is as follows:
[0061] When the set of configuration information with the highest accuracy cannot be selected from the configuration information to be processed, three sets of configuration information with the highest accuracy are screened from the configuration information to be processed, and the second type of remaining gateway configuration information one, the second type of remaining gateway configuration information two and the second type of remaining gateway configuration information three are output.
[0062] According to the second category remaining gateway configuration information one, the second category supplementary processing result one is correspondingly extracted from the difference processing result set.
[0063] The overlapping processing results and the second type of supplementary processing results are combined into a second type of available processing result one.
[0064] According to the second category remaining gateway configuration information 2, the second category supplementary processing result 2 is correspondingly extracted from the difference processing result set.
[0065] The overlapping processing results and the second type of supplementary processing results 2 are combined into the second type of available processing results 2.
[0066] According to the second category remaining gateway configuration information three, the second category supplementary processing result three is correspondingly extracted from the difference processing result set.
[0067] The overlapping processing results and the second category supplementary processing results three are combined to form the second category available processing result three.
[0068] By using the Internet of Things simulation system, the best set of results is selected from the second category of available processing results one, the second category of available processing results two and the second category of available processing results three, and the second category of screening processing results is output.
[0069] Specifically, such as the second category remaining gateway configuration information one, the second category remaining gateway configuration information two, and the second category remaining gateway configuration information three (if they are M3, M4; M2, M4, M3; M4, M2 respectively), the second category supplementary processing result one (A3-a3, A4-a4), then the second category available processing result one (A1-a1, A2-a2, A3-a3, A4-a4), the second category supplementary processing result two (A4-a2, A3-a4, A2-a3), then the second category available processing result two (A1-a1, A4-a2, A3-a4, A2-a3), the second category supplementary processing result three (A2-a4, A3-a2), then the second category available processing result three (A1-a1, A2-a4, A3-a2, A4-a3), by using the Internet of Things simulation system from the second category available processing result one and the second category available processing result The second and second available processing results are selected from the best group of results, and the second type of screening processing results are output (Internet of Things simulation system: virtual gateway connects to the cloud platform - connects to the cloud platform through the virtual gateway, obtains the data of the simulation equipment, manages and monitors the simulation actuators, and designs strategies through the cloud platform components; multi-scenario verification - supports multiple verification scenarios, including network architecture, network testing, network equipment R&D and commissioning, network changes, and network fault drills, that is, the above three types of available processing results of the second category are input into the simulation system for testing to determine which configuration scheme is the most efficient, and then select which one. If the second type of available processing result three is the most efficient, the second type of screening processing results are A1-a1, A2-a4, A3-a2, A4-a3), and verification processing is performed again from a variety of configuration schemes with the highest accuracy to reduce the probability of misjudgment and improve the efficiency of subsequent communication work.
[0070] The communication channel establishing unit 1 is used to establish a first communication channel according to the first type of available processing results or the second type of screened processing results. According to the first communication channel, the gateway configuration information in the gateway configuration information set communicate with each other to obtain a first information communication result, and the different cloud servers in the cloud server layer communicate with each other to obtain a second information communication result.
[0071] The specific implementation method of the communication channel establishment unit 1 is as follows:
[0072] According to the first type of available processing results or the second type of screening processing results, a communication channel between virtual gateways configured in the first type of available processing results or the second type of screening processing results is established, and a first communication channel is output.
[0073] Obtain application registration information of each configured virtual gateway in the first type of available processing results or the second type of filtered processing results, and output an application registration information set.
[0074] According to the first communication channel, each application registration information in the application registration information set is sent to each other configured virtual gateway in the first type of available processing results, and an information communication result is output.
[0075] According to the first communication channel and the application registration information set, different cloud servers in the cloud server layer communicate with each other, and output the second information communication result.
[0076] Specifically, by setting a communication interface on the configuration virtual gateway, the communication channel is established through the communication interface, and the application registration information is registered on the corresponding gateway according to the application service on each cloud server, which specifically includes the application service name, application service address, etc. The communication process between different cloud servers is as follows: when the node server in the requesting cloud server applies to call the application service on the node server in the requested cloud server, the application service call request is sent to the configuration virtual gateway corresponding to the requesting server, and the configuration virtual gateway parses the application service call request to obtain application service related information (the related information includes the routing address and the network where the configuration virtual gateway is located), determines the configuration virtual gateway of the requested calling server according to the application registration information and the application service call request, and sends the routing address to the configuration virtual gateway corresponding to the requested cloud server through the communication channel, and the configuration virtual gateway corresponding to the requested cloud server determines the application service on the corresponding node server according to the routing address.
[0077] The second communication channel establishing unit is used to perform communication processing between the configured virtual gateway set obtained according to the gateway configuration information set and the cloud server corresponding to the configured virtual gateway set to obtain the third information communication result.
[0078] The specific implementation method of the communication channel establishment unit 2 is as follows:
[0079] A second communication channel is established between the configured virtual gateway set and the cloud server corresponding to the configured virtual gateway set.
[0080] According to the second communication channel, communication is performed between the configured virtual gateway set and the cloud server corresponding to the configured virtual gateway set, and the three information communication results are output.
[0081] Specifically, by setting a communication interface on the configuration virtual gateway and the cloud server, the second communication channel is established through the communication interface. According to the second communication channel, the configuration virtual gateway communicates with the cloud server corresponding to the configuration virtual gateway.
[0082] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A distributed peer-to-peer gateway engine, characterized in that: include: A preliminary processing unit, used to establish a switching platform, initially correspond each virtual gateway in the gateway layer of the switching platform to one of the cloud servers in the cloud server layer of the switching platform, and output a first preliminary processing result; A configuration information acquisition unit, used to acquire a gateway configuration information set, and extract the coincidence processing result and the configuration information to be processed from the second processing result set corresponding to the gateway configuration information set; The first configuration information screening unit is used to determine that when a group of configuration information with the highest accuracy can be selected from the configuration information to be processed, a first type of available processing results is obtained by statistics according to the difference processing result set; The second configuration information screening unit is used to determine that when a group of configuration information with the highest accuracy cannot be selected from the configuration information to be processed, three groups of configuration information with the highest accuracy are screened out from the configuration information to be processed, and according to the difference processing result set, the second type of available processing result one, the second type of available processing result two, and the second type of available processing result three are statistically obtained, and finally the best group of results is screened out, and the second type of screening processing results are output; A communication channel establishing unit 1 is used to establish a first communication channel according to the first type of available processing results or the second type of screened processing results, and according to the first communication channel, the gateway configuration information in the gateway configuration information set communicate with each other to obtain a first information communication result, and the different cloud servers in the cloud server layer communicate with each other to obtain a second information communication result; The second communication channel establishing unit is used to perform communication processing between the configured virtual gateway set obtained according to the gateway configuration information set and the cloud server corresponding to the configured virtual gateway set to obtain the third information communication result.
2. A distributed peer-to-peer gateway engine according to claim 1, characterized in that: The specific execution method of the preliminary processing unit is as follows: Acquire cloud networking technology and a cloud, and establish a switching platform in the cloud based on the cloud networking technology, wherein the switching platform includes a cloud server layer and a gateway layer; The cloud server layer includes multiple cloud servers, the gateway layer includes multiple virtual gateways, and each virtual gateway in the gateway layer is initially corresponded to one of the cloud servers in the cloud server layer, and a first preliminary processing result is output.
3. A distributed peer-to-peer gateway engine according to claim 1, characterized in that: The specific execution method of the configuration information acquisition unit is as follows: Acquire gateway configuration information at different times to obtain a gateway configuration information set, configure each virtual gateway in the gateway layer according to the gateway configuration information set to obtain a configured virtual gateway, output a configured virtual gateway set according to the configured virtual gateway, match the configured virtual gateway set to one of the cloud servers in the cloud server layer, and output a second processing result set; Compare the first preliminary processing result with each processing result in the second processing result set to obtain a comparison result set, extract the overlapping parts and the difference parts from the comparison result set, and output the overlapping processing result set and the difference processing result set; According to the difference processing result set, the configuration information of the difference part is correspondingly extracted from the gateway configuration information set, and the configuration information to be processed is output.
4. A distributed peer-to-peer gateway engine according to claim 3, characterized in that: The specific implementation method of the configuration information screening unit 1 is as follows: When a group of configuration information with the highest accuracy can be selected from the configuration information to be processed, outputting the first type of remaining gateway configuration information; According to the first category of remaining gateway configuration information, extracting the first category of supplementary processing results from the difference processing result set accordingly; The overlapping processing results and the first type of supplementary processing results are combined into a first type of available processing results.
5. A distributed peer-to-peer gateway engine according to claim 3, characterized in that: The specific implementation method of the configuration information screening unit 2 is as follows: When a group of configuration information with the highest accuracy cannot be selected from the configuration information to be processed, three groups of configuration information with the highest accuracy are selected from the configuration information to be processed, and the second type of remaining gateway configuration information one, the second type of remaining gateway configuration information two, and the second type of remaining gateway configuration information three are output; According to the second type of remaining gateway configuration information one, extracting the second type of supplementary processing result one from the difference processing result set; The overlapping processing results and the second type of supplementary processing results are combined into a second type of available processing result 1; According to the second type of remaining gateway configuration information 2, extracting the second type of supplementary processing result 2 from the difference processing result set; The overlapping processing result and the second type of supplementary processing result 2 are combined into the second type of available processing result 2; According to the second category remaining gateway configuration information three, extracting the second category supplementary processing result three from the difference processing result set; The overlapping processing results and the second type of supplementary processing results are combined into the second type of available processing results three; By using the Internet of Things simulation system, the best set of results is selected from the second category of available processing results one, the second category of available processing results two and the second category of available processing results three, and the second category of screening processing results is output.
6. A distributed peer-to-peer gateway engine according to claim 5, characterized in that: The specific implementation method of the communication channel establishment unit 1 is as follows: According to the first type of available processing results or the second type of screening processing results, establishing a communication channel between virtual gateways configured in the first type of available processing results or the second type of screening processing results, and outputting a first communication channel; Obtain application registration information of each configured virtual gateway in the first type of available processing results or the second type of screening processing results, and output an application registration information set; According to the first communication channel, each application registration information in the application registration information set is sent to each other configured virtual gateway in the first type of available processing results, and an information communication result is output; According to the first communication channel and the application registration information set, different cloud servers in the cloud server layer communicate with each other and output the second information communication result.
7. A distributed peer-to-peer gateway engine according to claim 6, characterized in that: The specific implementation method of the communication channel establishment unit 2 is as follows: Establishing a second communication channel between the configured virtual gateway set and the cloud server corresponding to the configured virtual gateway set; According to the second communication channel, communication is performed between the configured virtual gateway set and the cloud server corresponding to the configured virtual gateway set, and the three information communication results are output.
Citation Information
Patent Citations
Micro-service-based real-time calculation system for traffic environment and realization method thereof
CN108415944A
Micro-service calling method and device based on distributed gateway and related equipment
CN114143144A