Address control method and device, storage medium and electronic device
By introducing a query platform to manage CPE, tenant and management platform relationships in SD-WAN, the problems of low efficiency of CPE address configuration and large operation and maintenance burden are solved, and automatic address acquisition and fast connection are realized.
Patent Information
- Application Number
- CN202211710314.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-12-29
AI Technical Summary
In software-defined wide area network (SD-WAN), the CPE control platform address configuration is inefficient, and the configuration needs to be manually changed when tenants are migrating, which increases the operation and maintenance work burden.
Introduce query platform to manage the relationship between CPE, tenants and control platforms, and automatically obtain the control platform address through query platform to reduce the intervention of operation and maintenance personnel.
It improves the efficiency of the CPE connection management platform, reduces the operation and maintenance work burden, and realizes quick connection and automatic address updates during tenants migration.
Smart Images

Figure CN116016441B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer networks, and in particular, to an address control method, device, storage medium, and electronic device. Background Art
[0002] Currently, due to business expansion, multiple sets of control platform systems have been deployed on the cloud in the Software Defined Wide Area Network (SD-WAN for short) to correspond to different versions of customer premise equipment (CPE). There are several tenants under each control platform, and there are several CPEs belonging to the tenant under each tenant. These CPEs need to be connected to the control platform to which the tenant belongs for registration in order to accept the management of the control platform.
[0003] In the prior art, it is usually the operation and maintenance personnel who manually configure the address of the control platform to which each CPE needs to be connected on each CPE. When the number of CPEs is large, the configuration efficiency is low. Moreover, once the tenant migrates to another control platform, the operation and maintenance personnel must manually configure the address of the new control platform for the CPEs under the tenant again, which is very cumbersome in operation. In addition, in order to correctly configure the address of the control platform, the operation and maintenance personnel must manually maintain the subordinate relationship between the CPE, the tenant, and the control platform, which also brings a great burden to the operation and maintenance work. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide an address control method, device, storage medium, and electronic device to improve the above technical problems.
[0005] To achieve the above purpose, the present application provides the following technical solutions:
[0006] In a first aspect, the embodiments of the present application provide an address control method, which is applied to a first customer premise equipment (CPE) in a software defined wide area network (SD-WAN). The SD-WAN further includes a query platform and a first control platform. The method includes: the first CPE obtains the address of the query platform and sends a connection request to the query platform according to the address of the query platform; the first CPE receives the address of the first control platform sent by the query platform; wherein, the first control platform is the control platform to which the first tenant to which the first CPE belongs currently belongs; the first CPE sends a connection request to the first control platform according to the address of the first control platform.
[0007] The above method adds a query platform in the SD-WAN to manage the relationships among the CPE, the tenant, and the management platform. As a result, the first CPE only needs to connect to the query platform first to obtain the address of the first management platform, and then connect to the first management platform based on this address. This process is automatically completed by the first CPE without the intervention of the operation and maintenance personnel, thus significantly improving the efficiency of the CPE connecting to the management platform. Moreover, even if the first tenant migrates to another management platform, the first CPE can still obtain the address of the new management platform through the query platform and establish a connection with it, also without the intervention of the operation and maintenance personnel, and can quickly establish a new connection. In addition, since the subordinate relationship among the first CPE, the first tenant, and the first management platform is maintained by the query platform instead of being manually maintained by the operation and maintenance personnel, the burden of the operation and maintenance work is also significantly reduced.
[0008] In an implementation manner of the first aspect, the SD-WAN further includes a second management platform. The first CPE obtaining the address of the query platform includes: the first CPE obtaining the address of the second management platform saved locally and sending a connection request to the second management platform according to the address of the second management platform; wherein, the second management platform is the management platform to which the first tenant to which the first CPE belongs belonged before migrating to the first management platform; the first CPE receives the address of the query platform sent by the second management platform.
[0009] In the above implementation manner, when the first tenant undergoes platform migration (from the second management platform to the first management platform), the first CPE only needs to connect to the old management platform (the second management platform) first, obtain the address of the query platform from the old management platform, and then connect to the query platform to obtain the address of the new management platform (the first management platform), and then it can automatically connect to the new management platform. This process does not require the intervention of the operation and maintenance personnel, thus enabling a quick establishment of the connection between the CPE subordinate to the tenant and the new management platform during the tenant migration.
[0010] In an implementation manner of the first aspect, the first CPE obtaining the address of the query platform includes: the first CPE obtaining the address of the query platform saved locally.
[0011] In the above implementation manner, the first CPE can also directly obtain the pre-configured address of the query platform from the device locally, so as to quickly connect to the query platform. For example, the address of the query platform may have been configured when the first CPE was manufactured, or it is also possible that the user configured the first CPE according to the address of the query platform after the device was manufactured.
[0012] Second aspect, an embodiment of the present application provides an address control method, which is applied to a query platform in SD-WAN. The SD-WAN further includes a first CPE and a first control platform. The method includes: the query platform responds to a connection request sent by the first CPE, and agrees to establish a connection with the first CPE; the query platform queries the first control platform to which the first tenant currently belongs according to the subordinate relationship among the CPE, the tenant, and the control platform, and sends the address of the first control platform to the first CPE.
[0013] Referring to the analysis in the first aspect, the above method significantly improves the efficiency of the CPE connecting to the control platform and reduces the burden of operation and maintenance work.
[0014] In an implementation manner of the second aspect, the method further includes: the query platform receives the information of the first tenant and the CPEs subordinate to it sent by the first control platform; wherein, a connection is pre-established between the first control platform and the query platform, and the CPEs subordinate to the first tenant include the first CPE; the query platform saves the subordinate relationship among the CPEs subordinate to the first tenant, the first tenant, and the first control platform.
[0015] When the first tenant migrates to the first control platform, the first control platform can send the information of the first tenant and the CPEs subordinate to it to the query platform, so that the subordinate relationship among the CPEs subordinate to the first tenant, the first tenant, and the first control platform can be maintained on the query platform. When the first CPE connects to the query platform subsequently, the query platform can return the address of the first control platform to the first CPE according to this relationship for it to quickly connect to the first control platform. Since only the information of the newly migrated first tenant is added on the query platform, this implementation manner belongs to incremental update.
[0016] In an implementation manner of the second aspect, the method further includes: the query platform responds to a connection request sent by the first control platform, and agrees to establish a connection with the first control platform; the query platform receives the information of all tenants and the CPEs subordinate to them under the first control platform sent by the first control platform; wherein, all tenants under the first control platform include the first tenant, and the CPEs subordinate to the first tenant include the first CPE; the query platform saves the subordinate relationship among the CPEs subordinate to all tenants under the first control platform, all tenants under the first control platform, and the first control platform.
[0017] When the first control platform establishes a connection with the query platform for the first time, the first control platform can send the information of all tenants under the first control platform and their subordinate CPEs to the query platform, so that the subordinate relationship among all CPEs of all tenants under the first control platform, all tenants under the first control platform, and the first control platform can be maintained on the query platform. When the first CPE connects to the query platform subsequently, the query platform can return the address of the first control platform to the first CPE according to this relationship, so that it can quickly connect to the first control platform. Since the information of all tenants under the first control platform needs to be newly added on the query platform, this implementation method belongs to full - volume update.
[0018] Thirdly, an embodiment of the present application provides an address control method, which is applied to a first control platform in an SD - WAN. The SD - WAN further includes a query platform. The method includes: when a first tenant migrates to the first control platform, the first control platform sends the information of the first tenant and its subordinate CPEs to the query platform; wherein, a connection is pre - established between the first control platform and the query platform, and the CPEs subordinate to the first tenant include a first CPE.
[0019] The above method corresponds to the incremental information update in the second aspect.
[0020] Fourthly, an embodiment of the present application provides an address control method, which is applied to a first control platform in an SD - WAN. The SD - WAN further includes a query platform. The method includes: the first control platform obtains the address of the query platform saved locally; the first control platform sends a connection request to the query platform according to the address of the query platform; the first control platform sends the information of all tenants under the first control platform and their subordinate CPEs to the query platform; wherein, all tenants under the first control platform include a first tenant, and the CPEs subordinate to the first tenant include a first CPE.
[0021] The above method corresponds to the full - volume information update in the second aspect.
[0022] Fifth aspect, an embodiment of the present application provides an address control method, which is applied to a second control platform in an SD-WAN. The SD-WAN further includes a first CPE, a first control platform, and a query platform. The method includes: The second control platform responds to a connection request sent by the first CPE, and determines whether a first tenant to which the first CPE belongs has migrated to another control platform; wherein, the second control platform is the control platform to which the first tenant belonged before migrating to the first control platform; if the first tenant has migrated to another control platform, the second control platform refuses to establish a connection with the first CPE, obtains the address of the query platform saved locally, and sends the address of the query platform to the first CPE.
[0023] In the above implementation, when the first tenant migrates platforms (from the second control platform to the first control platform), since the first CPE does not know the address of the new control platform (the first control platform), it can first connect to the old control platform (the second control platform). Once the old control platform discovers that the first tenant has migrated, it will not approve the connection request from the first CPE, but will return the address of the query platform to the first CPE. Thus, the first CPE can obtain the address of the new control platform from the query platform and further connect to the new control platform. This process does not require the intervention of operation and maintenance personnel, thereby enabling the rapid establishment of a connection between the CPE subordinate to the tenant and the new control platform when the tenant migrates.
[0024] In an implementation of the fifth aspect, the second control platform determines whether the first tenant has migrated to another control platform, including: The second control platform determines whether it has enabled the query service itself. If the second control platform has enabled the query service itself, then it determines whether the first tenant has enabled the query service under the second control platform. If the first tenant has disabled the query service under the second control platform, it indicates that the first tenant has migrated to another control platform. If the first tenant has enabled the query service under the second control platform, it indicates that the first tenant has not migrated to another control platform; wherein, the second control platform enabling the query service itself indicates that the information of the second control platform is incorporated into the management of the query platform, and the first tenant enabling the query service under the second control platform indicates that the information of the first tenant under the second control platform is incorporated into the management of the query platform. When the second control platform enables the query service itself, it is default that all tenants under the second control platform have enabled the query service under the second control platform. When the first tenant migrates from the second control platform to another control platform, the query service of the first tenant under the second control platform is disabled.
[0025] In the above implementation manner, whether the tenant enables the query service can be used as a marker information for determining whether the tenant has migrated to the control platform. Based on this information, the second control platform can quickly determine whether the first tenant has migrated to other control platforms.
[0026] In a sixth aspect, an embodiment of the present application provides a network system, including: a first CPE in SD-WAN, a query platform, and a first control platform; the first CPE is configured to obtain the address of the query platform and send a connection request to the query platform according to the address of the query platform; the query platform is configured to respond to the connection request sent by the first CPE, agree to establish a connection with the first CPE, and query the first control platform to which the first tenant currently belongs according to the subordinate relationship among the CPE, the tenant, and the control platform, and send the address of the first control platform to the first CPE; the first CPE is configured to receive the address of the first control platform sent by the query platform and send a connection request to the first control platform according to the address of the first control platform.
[0027] In an implementation manner of the sixth aspect, the system further includes a second control platform; the first CPE is configured to obtain the address of the second control platform saved locally and send a connection request to the second control platform according to the address of the second control platform; wherein, the second control platform is the control platform to which the first tenant belonged before migrating to the first control platform; the second control platform is configured to respond to the connection request sent by the first CPE, determine whether the first tenant has migrated to other control platforms, if the first tenant has migrated to other control platforms, then refuse to establish a connection with the first CPE, obtain the address of the query platform saved locally, and send the address of the query platform to the first CPE; the first CPE is configured to receive the address of the query platform sent by the second control platform and send a connection request to the query platform according to the address of the query platform.
[0028] In a seventh aspect, an embodiment of the present application provides an address control device configured in a first CPE in SD-WAN. The SD-WAN further includes a query platform and a first control platform. The device includes: a first CPE and query platform connection module, configured to obtain the address of the query platform and send a connection request to the query platform according to the address of the query platform; a first control platform address receiving module, configured to receive the address of the first control platform sent by the query platform; wherein, the first control platform is the control platform to which the first tenant currently belongs to which the first CPE belongs; a first CPE and first control platform connection module, configured to send a connection request to the first control platform according to the address of the first control platform.
[0029] In an eighth aspect, an embodiment of the present application provides an address control device configured in a query platform in an SD-WAN. The SD-WAN further includes a first CPE and a first control platform. The device includes: a query platform and first CPE connection module, configured to respond to a connection request sent by the first CPE and agree to establish a connection with the first CPE; a first control platform address sending module, configured to query the first control platform to which the first tenant to which the first CPE belongs currently belongs according to the subordinate relationship among the CPE, the tenant, and the control platform, and send the address of the first control platform to the first CPE.
[0030] In a ninth aspect, an embodiment of the present application provides an address control device configured in a first control platform in an SD-WAN. The SD-WAN further includes a query platform. The device includes: a first information sending module, configured to send information about the first tenant and its subordinate CPEs to the query platform when the first tenant migrates to the first control platform; wherein, a connection is pre-established between the first control platform and the query platform, and the CPEs subordinate to the first tenant include a first CPE.
[0031] In a tenth aspect, an embodiment of the present application provides an address control device configured in a first control platform in an SD-WAN. The SD-WAN further includes a query platform. The device includes: a query platform address acquisition module, configured to acquire the address of the query platform locally saved in the first control platform; a first control platform and query platform connection module, configured to send a connection request to the query platform according to the address of the query platform; a second information sending module, configured to send information about all tenants under the first control platform and their subordinate CPEs to the query platform; wherein, all tenants under the first control platform include a first tenant, and the CPEs subordinate to the first tenant include a first CPE.
[0032] In an eleventh aspect, an embodiment of the present application provides an address control device configured in a second control platform in an SD-WAN. The SD-WAN further includes a first CPE, a first control platform, and a query platform. The device includes: a migration judgment module, configured to respond to a connection request sent by the first CPE and judge whether the first tenant to which the first CPE belongs has migrated to another control platform; wherein, the second control platform is the control platform to which the first tenant belonged before migrating to the first control platform; a query platform address sending module, configured to, when the first tenant has migrated to another control platform, refuse to establish a connection with the first CPE, acquire the address of the query platform locally saved in the second control platform, and send the address of the query platform to the first CPE.
[0033] In a twelfth aspect, an embodiment of the present application provides a computer program product, including computer program instructions. When the computer program instructions are read and run by a processor, they execute the fingerprint recognition method provided in the first aspect or any possible implementation manner of the first aspect.
[0034] In a thirteenth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are read and run by a processor, they execute the method provided in the first aspect or any possible implementation manner of the first aspect.
[0035] In a fourteenth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. Computer program instructions are stored in the memory. When the computer program instructions are read and run by the processor, they execute the method provided in the first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative efforts.
[0037] Figure 1 Shows a network architecture of an SD-WAN applicable to the address control method provided by the embodiments of the present application;
[0038] Figure 2 Shows the steps that the address control method provided by the embodiments of the present application may include;
[0039] Figure 3 Shows Figure 2 The possible sub-steps included in step S110 in the method;
[0040] Figure 4 Shows the steps for the control platform to report information to the query platform;
[0041] Figure 5 Shows the steps for the CPE to connect to the control platform through the query platform;
[0042] Figure 6 Shows the steps for the CPE to connect to the query platform through the control platform;
[0043] Figure 7 Shows the response steps of the query platform to the CPE connection request;
[0044] Figure 8 Shows the response steps of the management and control platform to the CPE connection request;
[0045] Figure 9 Shows the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0046] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application. It should be noted that: similar reference numerals and letters denote similar items in the following drawings, and thus, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0047] The term "including", "comprising" or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or device including a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the presence of additional identical elements in the process, method, article or device including the element.
[0048] Terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and cannot be construed as indicating or implying relative importance, nor can they be construed as requiring or implying any actual relationship or order between these entities or operations.
[0049] Figure 1 Shows the network architecture of an SD-WAN applicable to the address management and control method provided by an embodiment of the present application. Refer to Figure 1 , at least the following types of devices are included in the SD-WAN:
[0050] CPE, such as the first CPE, the second CPE, the third CPE, the fourth CPE, the fifth CPE, and the sixth CPE in the figure. CPE may refer to a device located in a user network that realizes the connection between a user terminal and other networks, and CPE may be a device such as a router, a firewall, or a routing security all-in-one machine.
[0051] Management and control platform, such as Figure 1 the first management and control platform and the second management and control platform in . The management and control platform can be used for functions such as configuring, managing, and traffic scheduling of CPE, and the management and control platform can be a device such as a server.
[0052] The query platform is used to maintain the subordinate relationships among the management and control platform, tenants, and CPEs, and can at least query the address of the management and control platform according to requirements. It is the key to implementing the address management and control method provided in the embodiments of the present application. The query platform can be a device such as a server.
[0053] The CPE, management and control platform, and query platform can be interconnected through a network to perform data interaction. The connection relationship is as Figure 1 shown by the solid arrows in (Note that Figure 1 the connection relationship in does not necessarily always exist, but only indicates that a connection can be established when needed). It should be noted that the CPE, management and control platform, and query platform are all collectively referred to as "devices" above. This is understood from the hardware level. If understood from the software level, it can also be considered that the CPE, management and control platform, and query platform are software products deployed on the corresponding hardware devices and used to implement various functions in SD-WAN, or the CPE, management and control platform, and query platform can also be understood as the combination of software products and hardware devices. In addition, the "devices" mentioned above may be physical devices or virtual devices such as virtual machines and containers.
[0054] It should be understood that the devices that may be included in SD-WAN are not limited to the above three, and the quantities of the above three devices are only examples in Figure 1 For example, SD-WAN may only include the first management and control platform and not the second management and control platform.
[0055] Furthermore, users who rent the network services provided by SD-WAN can be called tenants. For example, a tenant may correspond to a real enterprise, an organization, etc. In Figure 1 two tenants, the first tenant and the second tenant, are shown. Each tenant has its own CPE. For example, the CPEs under the first tenant include the first CPE, the second CPE, and the third CPE, while the CPEs under the second tenant include the fourth CPE and the fifth CPE. At the same time, the tenant is also subordinate to the management and control platform. For example, the first tenant and the second tenant are both subordinate to the first management and control platform. If a tenant is subordinate to a certain management and control platform, the CPEs under that tenant are all managed by that management and control platform. The relationship among the management and control platform, tenant, and CPE can be simply summarized as: under one management and control platform, there can be at least one tenant (usually multiple), and under one tenant, there can be multiple CPEs (usually multiple).
[0056] Furthermore, a tenant can also migrate between management and control platforms. For example, in Figure 1In the figure, the first tenant was originally under the second control platform. The first CPE, the second CPE, and the third CPE under the first tenant were all managed by the second control platform (the connection relationship is shown by a dashed line). However, currently, the first tenant has migrated to under the first control platform. After migration, the first CPE, the second CPE, and the third CPE under the first tenant are also changed to be managed by the first control platform. Of course, if there is only one control platform in the SD-WAN, such as the first control platform, there will be no problem of tenant migration.
[0057] Figure 2 shows the steps that the address control method provided by the embodiments of the present application may include. When elaborating on these steps, reference can be made to Figure 1 for understanding. Note that since Figure 1 the first CPE, the first tenant, the first control platform, etc. in it are all general (that is, not specifically referring to a certain specific CPE, or a certain specific tenant, or a certain specific control platform), therefore Figure 2 the address control method in it is also general.
[0058] Generally speaking, Figure 2 the basic function to be achieved by the address control method in it is: when the address of the first control platform is not configured on the first CPE of the first tenant, obtain the address of the first control platform through the query platform and connect to the first control platform (if the address of the first control platform has been configured on the first CPE, directly connect to the first control platform according to this address, and there is no need to execute Figure 2 the method in it). This method can be applied in various scenarios: for example, when the first CPE is first launched, it needs to connect to the first control platform for registration in order to be managed by the first control platform (this example is hereinafter referred to as the CPE launch scenario); another example is that when the first tenant migrates from the second control platform to the first control platform, the first CPE needs to connect to the first control platform for registration in order to be managed by the first control platform (this example is hereinafter referred to as the tenant migration scenario), and so on.
[0059] Referring to Figure 2 , the steps of the address control method include:
[0060] Step S110: The first CPE obtains the address of the query platform.
[0061] When connecting between devices using the TCP / IP protocol, the address of the query platform may include the IP address and port of the query platform. If the port is the default, it may also only include the IP address of the query platform. Or, when using other protocols, it is not excluded that the address of the query platform has other forms. The addresses of the first control platform and the second control platform mentioned later can be understood with reference to the address of the query platform and will not be specifically described.
[0062] Step S110 can be implemented in multiple ways:
[0063] For example, the first CPE can directly obtain the pre-saved address of the query platform from the local device to quickly connect to the query platform. For instance, during the production process of the first CPE, the address of the query platform has been configured on the device; or, although the address of the query platform is not configured when the first CPE leaves the factory, after leaving the factory, the user can configure the address of the query platform on it (the configuration process can refer to the following description about Figure 5 . The method of obtaining the address of the query platform in this example is more suitable for the CPE online scenario.
[0064] Another example is that the first CPE can obtain the address of the query platform from other management platforms (such as the second management platform) except the first management platform. This implementation method is relatively complex and is more suitable for the tenant migration scenario, which will not be elaborated here for the time being.
[0065] Step S120: The first CPE sends a connection request to the query platform according to the address of the query platform.
[0066] After obtaining the address of the query platform, the first CPE can send a connection request to the query platform according to this address. The connection request should at least contain the device information of the first CPE, such as the serial number of the first CPE and other information that can be used to identify the identity of the first CPE. Optionally, the connection request can also contain verification information, such as verification codes, digital signatures, etc.
[0067] Step S130: The query platform responds to the connection request sent by the first CPE and agrees to establish a connection with the first CPE.
[0068] After receiving the connection request, the query platform can, as a response to this request, establish a connection with the first CPE. Of course, if the connection request contains verification information, the query platform can agree to establish a connection with the first CPE only after the verification passes; otherwise, it can refuse to establish a connection with the first CPE. If the query platform agrees to establish a connection, the subsequent steps will be executed; otherwise, the subsequent steps will not be executed.
[0069] Step S140: The query platform queries the first management platform to which the first tenant currently belongs according to the subordinate relationship among the CPE, the tenant, and the management platform.
[0070] The query platform stores the subordinate relationships among CPEs, tenants, and the management platforms, that is, which tenants are under each management platform in the SD-WAN, and which CPEs are under each tenant. For example, this subordinate relationship can be implemented as several records in a database, and the format of each record is "serial number of the CPE, ID of the tenant, IP address, port, and serial number of the management platform". The information involved in this subordinate relationship can be reported by each management platform to the query platform, and its specific process will be elaborated later and will not be expanded here for the time being.
[0071] As mentioned above, the connection request sent by the first CPE to the query platform carries the device information of the first CPE, such as the serial number of the first CPE. Thus, the query platform can query the above-mentioned subordinate relationship based on this device information, and then obtain the tenant information of the first tenant to which the first CPE belongs, and the platform information of the first management platform to which the first tenant currently belongs. The platform information includes the address of the first management platform. The reason for emphasizing "currently belongs" here is that the first tenant may migrate the management platform. When tenant migration occurs, the above-mentioned subordinate relationship on the query platform will also be updated synchronously to ensure that the query platform can always correctly query the address of the management platform.
[0072] Step S150: The query platform sends the address of the first management platform to the first CPE.
[0073] The query platform can use the previously established connection to send the address of the first management platform obtained in step S140 to the first CPE. The information returned by the query platform to the first CPE is not limited to the address of the first management platform. For example, it can also include information indicating that the connection is successfully established.
[0074] Step S160: The first CPE sends a connection request to the first management platform according to the address of the first management platform.
[0075] After receiving the address of the first management platform, the first CPE can connect to the first management platform according to the address of the first management platform. The connection request should at least contain the device information of the first CPE. Optionally, the connection request can also contain verification information, such as verification codes, digital signatures, etc.
[0076] If the first CPE successfully establishes a connection with the first management platform, it can further use the established connection to send the registration information of the device to the first management platform so that the first management platform can include the first CPE in its management scope. It should be noted that after the first CPE successfully connects to the first management platform, it does not necessarily send registration information to it. For example, it can also send other information. In other words, the above method is not limited to the scenario where the first CPE registers with the first management platform.
[0077] The following is a simple summaryFigure 2 The address control method in [it] adds a query platform in SD-WAN to manage the relationships among CPE, tenants, and the control platform. Thus, the first CPE only needs to connect to the query platform first to obtain the address of the first control platform, and then connect to the first control platform according to this address. This process is automatically completed by the first CPE without the intervention of operation and maintenance personnel, thus significantly improving the efficiency of the CPE connecting to the control platform. Moreover, even if the first tenant migrates to another control platform, the first CPE can still obtain the address of the new control platform through the query platform and establish a connection with it, also without the intervention of operation and maintenance personnel, and can quickly establish a new connection. Additionally, since the subordinate relationship among the first CPE, the first tenant, and the first control platform is maintained by the query platform instead of the operation and maintenance personnel manually, the burden of the operation and maintenance work is also significantly reduced.
[0078] This address control method can be, but is not limited to, applied to the CPE online scenario or tenant migration scenario mentioned above: when the first CPE goes online for the first time, it can use the above method to obtain the address of the first control platform from the query platform and connect to the first control platform for registration; when the first tenant migrates from the second control platform to the first control platform, the first CPE can use the above method to obtain the address of the first control platform from the query platform and connect to the first control platform for registration.
[0079] Based on the above embodiments, the following continues to introduce how the subordinate relationships among CPE, tenants, and the control platform on the query platform are maintained. The maintenance of this relationship mainly includes two methods, namely full update and incremental update.
[0080] The full update method may include the following steps:
[0081] Step A1: The first control platform obtains the address of the query platform saved locally.
[0082] Step A2: The first control platform sends a connection request to the query platform according to the address of the query platform.
[0083] Step A3: The query platform responds to the connection request sent by the first control platform and agrees to establish a connection with the first control platform.
[0084] Steps A1 to A3 are similar to steps S110 to S130, except that the first CPE becomes the first control platform, so they will not be repeated here. The address of the query platform can be pre-configured by the user on the first control platform (the configuration process can refer to the following description about Figure 4 ).
[0085] Step A4: The first control platform sends information about all tenants under the first control platform and the CPEs subordinate to them to the query platform.
[0086] The first control platform can use the previously established connection to send information about all tenants under the first control platform (e.g., tenant IDs) and the CPEs subordinate to them (e.g., CPE serial numbers) to the query platform. Note that not only the information of the tenants themselves and the CPEs themselves needs to be sent, but also the subordinate relationship between the two, that is, which CPEs are included under each tenant.
[0087] Step A5: The query platform saves the CPEs subordinate to all tenants under the first control platform, all tenants under the first control platform, and the subordinate relationship between the first control platform.
[0088] After receiving the information about all tenants under the first control platform and the CPEs subordinate to them, the query platform can associate this information with the information of the first control platform (e.g., the IP address, port, and serial number of the first control platform) to obtain the required subordinate relationship and save this subordinate relationship for subsequent queries.
[0089] For example, all tenants under the first control platform include the first tenant, and the CPEs subordinate to the first tenant include the first CPE. Thus, when performing step S140 subsequently, the query platform can quickly query the address of the first control platform based on the device information of the first CPE in combination with the subordinate relationship among the first CPE, the first tenant, and the first control platform.
[0090] Since in step A4, the first control platform sends information about all tenants under the platform and the CPEs subordinate to them, steps A1 - A5 can be referred to as the full - volume update method. For example, when the control platform goes online or the query platform goes online, the full - volume update method can be adopted.
[0091] After a certain full - volume update, if the information on the control platform changes, for example, a certain tenant under the current control platform migrates to another control platform, or a tenant from another control platform migrates to the current control platform, or a certain tenant under the current control platform adds, deletes, or changes CPEs, etc., incremental updates can be performed: synchronize the changed information on the control platform to the query platform, so that the subordinate relationship among the CPEs, tenants, and control platforms maintained on the query platform is always kept up - to - date, while the information that has not changed on the control platform does not need to be synchronized to the query platform. That is, while only paying a relatively small data transmission cost, ensure the normal operation of the address query function of the query platform.
[0092] In the case where the first tenant migrates from another management and control platform to the first management and control platform, the incremental update method may include the following steps (the steps for incremental update in other cases are similar):
[0093] Step B1: When the first tenant migrates to the first management and control platform, the first management and control platform sends information of the first tenant and its subordinate CPEs to the query platform.
[0094] The first control platform and the query platform are pre-connected. For example, if a full update has been performed before executing step B1, a connection has been established between the first control platform and the query platform, and the connection is a long connection, so there is no need to establish a connection again when performing incremental updates.
[0095] When the first tenant moves in, only the information of the first tenant and its subordinate CPEs is newly added on the first management and control platform, so the first management and control platform only needs to send the information of the first tenant and its subordinate CPEs to the query platform, and the information of other tenants and their subordinate CPEs does not need to be updated.
[0096] Step B2: The query platform saves the subordinate relationship between the CPE under the first tenant, the first tenant and the first management and control platform.
[0097] After the query platform receives the information of the first tenant and its subordinate CPEs, it can associate this information with the information of the first management and control platform (for example, the IP address, port and serial number of the first management and control platform) to obtain the required subordinate relationship, and save the subordinate relationship for subsequent queries.
[0098] For example, the CPEs under the first tenant include the first CPE. Therefore, when executing step S140 later, the query platform can quickly query the address of the first control platform based on the device information of the first CPE and the subordinate relationship between the first CPE, the first tenant and the first control platform.
[0099] It should be pointed out that although steps A1 to A5 include the step of establishing a connection, and steps B1 to B2 do not include the step of establishing a connection, this does not mean that a full update must first establish a connection, while an incremental update does not necessarily require a connection establishment first: for example, the connection between the management and control platform and the query platform has been established when the full update is performed for the first time, and there is no need to establish a connection again for subsequent regular full updates; for another example, each time an information update is performed (including full updates and incremental updates), a short connection is established, and the connection is disconnected after the update is completed. In this case, even incremental updates require re-establishing a connection.
[0100] Based on the above embodiments, Figure 3, introduce the possible sub-steps included in step S110 in the scenario of tenant migration. For the convenience of explanation, assume that the tenant being migrated is the first tenant, which originally belonged to the second management and control platform and is currently migrated to the first management and control platform, as Figure 1 shown. Referring to Figure 3 , step S110 may further include:
[0101] Step S111: The first CPE obtains the address of the second management and control platform saved locally.
[0102] Since the first CPE belongs to the first tenant, and the first tenant was managed by the second management and control platform before migration, the first CPE was previously connected to the second management and control platform. Therefore, the address of the second management and control platform is saved on the first CPE.
[0103] Step S112: The first CPE sends a connection request to the second management and control platform according to the address of the second management and control platform.
[0104] Although the first tenant has been migrated to the first management and control platform, the address of the first management and control platform is not available on the first CPE under it at this time. Therefore, the first CPE can only continue to connect to the second management and control platform first. The connection request should at least include the device information of the first CPE. Optionally, the connection request can also include verification information, such as verification codes, digital signatures, etc.
[0105] When the first tenant is migrated, the connections between all its subordinate CPEs (including the first CPE) and the second management and control platform can be forcibly disconnected, thereby triggering the first CPE to reconnect to the second management and control platform, that is, starting to execute the processes of steps S111 - S115.
[0106] Step S113: The second management and control platform responds to the connection request sent by the first CPE and determines whether the first tenant has been migrated to other management and control platforms.
[0107] After receiving the connection request, as a response to the request, the second management and control platform can obtain the device information of the first CPE from the connection request, and then determine the first tenant to which the first CPE belongs. Then it can further determine whether the first tenant has been migrated to other management and control platforms. Of course, if the connection request includes verification information, the second management and control platform can also perform verification based on this information. If the verification fails, it will refuse to establish a connection with the first CPE and there is no need to execute the subsequent steps.
[0108] In one implementation, the second management and control platform can determine whether the first tenant has been migrated to other management and control platforms according to whether the query service is enabled for itself and the first tenant. Before introducing this implementation, first briefly introduce the concept of the query service:
[0109] The query service can be understood as a service provided by the query platform for querying the address of the query control platform. When a control platform enables the query service, it indicates that the information of the control platform (e.g., the subordinate relationship among the control platform, the tenants under the control platform, and the CPEs under these tenants) is incorporated into the management of the query platform, that is, the address of the control platform can be queried from the query platform. When a control platform disables (or closes) the query service, it indicates that the information of the control platform is not incorporated into the management of the query platform.
[0110] Furthermore, each tenant under the control platform can also enable or disable the query service individually. When a tenant enables the query service under a certain control platform, it indicates that the information of the tenant under the control platform (e.g., the subordinate relationship among the control platform, the tenant, and the CPEs under the tenant) is incorporated into the management of the query platform. When a tenant disables (or closes) the query service under a certain control platform, it indicates that the information of the tenant under the control platform is not incorporated into the management of the query platform. Note that since the same tenant can migrate between different control platforms, the enabling status of the query service of the same tenant under different control platforms is independent of each other. For example, the first tenant may disable the query service under the second control platform but enable the query service under the first control platform at the same time.
[0111] On the control platform, its own query service can be implemented as a configuration item, which can include two states: enabled and disabled. At the same time, for each tenant under the control platform, a configuration item can be set, also including two states: enabled and disabled, to indicate whether each tenant enables the query service under the control platform.
[0112] If a certain control platform hopes to be managed by the query platform, it can enable its own query service through configuration. If a certain control platform does not hope to be managed by the query platform, it can disable its own query service through configuration. For the control platform that disables the query service, its address cannot be obtained from the query platform. For the CPEs under such a control platform, they can still access the control platform by manually configuring the address.
[0113] By default, if a certain control platform enables its own query service, then all tenants under the control platform will automatically enable the query service under the control platform. For example, when a certain control platform goes online, it can configure to enable its own query service and configure the address of the query platform, and then execute the full update step as described above to send the information of all tenants under the control platform and their subordinate CPEs to the query platform, so that the information of the control platform is incorporated into the management of the query platform (which is consistent with the meaning of the control platform enabling its own query service), and at the same time, the information of each tenant under the control platform is also incorporated into the management of the query platform (which is consistent with the meaning of each tenant enabling the query service under the control platform).
[0114] If a tenant under a certain management and control platform migrates to another management and control platform, it indicates that the information of this tenant under this management and control platform is no longer included in the query platform management, because the information of this tenant has been migrated to another management and control platform. At this time, the query service of this tenant under this management and control platform can be disabled, and the information of this tenant under this management and control platform on the query platform can be deleted (the deletion steps can refer to the steps of incremental update in the previous text).
[0115] If a new tenant migrates into a certain management and control platform from another management and control platform, it indicates that the information of this tenant under this management and control platform needs to be included in the query platform management. At this time, the query service of this tenant under this management and control platform can be enabled, and the information of this tenant under this management and control platform can be uploaded to the query platform (the upload steps can refer to the steps of incremental update in the previous text).
[0116] Based on the above-introduced content, the second management and control platform can determine whether the first tenant has migrated to another management and control platform in the following manner:
[0117] Step (1): The second management and control platform determines whether its own query service has been enabled. If the second management and control platform has enabled its own query service, then step (2) is executed. If the second management and control platform has not enabled its own query service, it indicates that the second management and control platform is an independently operating platform and is not under the management of the query platform. Therefore, at this time, the second management and control platform may not have the address of the query platform, so the subsequent steps S114 - S115 will not be executed either. At this time, the second management and control platform can agree to establish a connection with the first CPE, or other processing methods can be adopted, and this application does not limit this.
[0118] Step (2): The second management and control platform determines whether the first tenant has enabled the query service under the second management and control platform. Since when the second management and control platform enables its own query service, the query services of its subordinate tenants under the second management and control platform are default to be all enabled, so if the first tenant disables the query service under the second management and control platform, it indicates that the first tenant has migrated to another management and control platform. If the query service of the first tenant under the second management and control platform is still enabled, it indicates that the first tenant still belongs to the second management and control platform.
[0119] It should be noted here that even if the first tenant has currently migrated to another management and control platform, its information on the second management and control platform can still be retained for a long time or at least until the migration-related operations are completely completed. Therefore, the enabled state of the query service of the first tenant under the second management and control platform can still be obtained.
[0120] In steps (1)-(2), whether the tenant enables the query service can be used as a marker for determining whether the tenant has migrated to the control platform. Based on this information, the second control platform can quickly determine whether the first tenant has migrated to another control platform. It should be understood that other methods can also be used to mark whether the first tenant has migrated to another control platform, and the markers used in these methods do not necessarily have to be related to the query platform.
[0121] Step S114: If the first tenant has migrated to another control platform, the second control platform rejects the connection with the first CPE and obtains the address of the query platform saved locally.
[0122] Step S115: The second control platform sends the address of the query platform to the first CPE.
[0123] Steps S114-S115 are described together. If it is determined in step S113 that the first tenant has migrated to another control platform, the first CPE should no longer connect to the second control platform. Thus, the second control platform can reject the connection request from the first CPE, obtain the address of the query platform saved locally, and send it to the first CPE, enabling the first CPE to obtain the address of the control platform (the first control platform) it should currently connect to based on the address of the query platform.
[0124] Among them, the address of the query platform can be pre-configured by the user on the second control platform (the configuration process can refer to the description about Figure 4 later). The information returned by the second control platform to the first CPE is not limited to the address of the query platform. For example, it can also include information indicating that the connection establishment has failed.
[0125] If it is determined in step S113 that the first tenant has not migrated to another control platform, the second control platform can agree to establish a connection with the first CPE. This situation may occur. Although the first CPE will connect to the second control platform when the first tenant migrates, there are also other possible situations that can trigger the first CPE to connect to the second control platform. For example, the first tenant has not migrated, but the first CPE or the second control platform is restarted due to a fault, and the two need to re-establish a connection.
[0126] Briefly summarize steps S111 to S115. When the first tenant migrates platforms (from the second control platform to the first control platform), since the first CPE does not know the address of the new control platform (the first control platform), it can first connect to the old control platform (the second control platform). Once the old control platform detects that the first tenant has migrated, it will not approve the connection request from the first CPE, but will return the address of the query platform to the first CPE. Thus, the first CPE can obtain the address of the new control platform from the query platform and further automatically connect to the new control platform. This process does not require the intervention of operation and maintenance personnel, enabling the rapid establishment of a connection between the CPE under the tenant and the new control platform when the tenant migrates.
[0127] Optionally, even if the address of the query platform has been saved on the first CPE, when the first tenant migrates, steps S111 to S115 can still be executed. The first CPE may not necessarily be clear about the reason for its disconnection from the second control platform. For example, it could be due to tenant migration or the restart of the second control platform. Therefore, reconnecting to the second control platform is a reasonable choice. If tenant migration has indeed occurred, at most, the address of the query platform will be obtained again, which will not cause an error.
[0128] Next, based on the above embodiments, in combination with Figures 4 - 8 continue to illustrate some implementation details of the address control method.
[0129] Figure 4 Illustrates the steps for the control platform to report information to the query platform. The control platform in these steps can be any control platform in the SD-WAN, and these steps can correspond to the steps of full update or incremental update described above. For example, if a full update is performed, steps S201 to S208 can be executed; if an incremental update is performed, steps S206 to S208 (skipping the connection establishment steps) can be executed. Refer to Figure 4 , these steps include:
[0130] Step S201: The control platform configures and enables the query service.
[0131] As mentioned above, the query service of the control platform itself can be a configuration item, including two states: enabled and disabled. In step S201, it can be configured to be enabled. At the same time, the address of the query platform can also be included in the query service and can be configured together when enabling the query service, so that in step S203, the control platform can connect to the query platform, and subsequently, the control platform can also return the address of the query platform to its subordinate CPEs when needed.
[0132] Step S202: All tenants under the control platform enable the query service.
[0133] As described above, when the management platform enables its own query service, by default, all tenants under the management platform will enable the query service under this management platform.
[0134] Step S203: The management platform connects to the query platform according to the address of the query platform.
[0135] The address of the query platform can be configured in step S201. Based on this address, the management platform can send a connection request to the query platform.
[0136] Step S204: The management platform receives the return information from the query platform.
[0137] Step S205: The management platform determines the connection status.
[0138] As a response to the connection request, the query platform will return the connection result to the management platform. Thus, the management platform can determine its connection status with the query platform based on the return information received from the query platform. If successful, step S206 is executed; if failed, it can jump to step S203 to attempt to reconnect.
[0139] Step S206: The management platform reports the information of tenants and / or CPEs to the query platform.
[0140] If it is a full update, the tenants in step S206 can be all tenants under the management platform, and the CPEs are all CPEs under these tenants; if it is an incremental update, the tenants in step S206 can be only the tenants whose information has changed (for example, tenants who have moved into or out of the management platform), and the CPEs can also be only the CPEs whose information has changed (for example, newly added, deleted, or changed CPEs).
[0141] Step S207: The query platform stores the subordinate relationships of the management platform, tenants, and CPEs.
[0142] Step S208: The query platform records the reporting log.
[0143] The reporting log here refers to recording the operation of the management platform reporting data on the query platform. This step is optional.
[0144] By executing Figure 4 the steps in, the subordinate relationships of the management platform, tenants, and CPEs on the query platform can be effectively maintained to support the query platform to provide an accurate address query function externally.
[0145] Figure 5Shows the steps for the CPE to connect to the management and control platform through the query platform (of course, it also includes some other steps). The CPE in these steps can be any CPE in the SD-WAN, and the management and control platform can be any management and control platform in the SD-WAN. These steps can be, but are not limited to, applied in the CPE online scenario mentioned above. Refer to Figure 5 , these steps include:
[0146] Step S301: The user configures the address of the query platform and the device authorization code on the CPE.
[0147] The device authorization code is information used for verification by the query platform. Similar information can also include digital signatures, etc. The timing of configuring the CPE can be before the CPE leaves the factory or after the CPE leaves the factory (for example, before going online), etc.
[0148] Step S302: The configuration is sent to the background process of the CPE.
[0149] In step S301, the user can configure on the interface of the CPE. After the configuration is completed, the configuration information is sent to the background process of the CPE. This background process can be used to establish a connection between the CPE and the query platform or the management and control platform. In the following steps, for simplicity, this background process is omitted.
[0150] Step S303: The CPE determines the type of platform to be connected.
[0151] If it is the query platform, step S304 is executed. If it is the management and control platform, reference can be made to Figure 6 .
[0152] Step S304: The CPE connects to the query platform according to the address of the query platform and the device authorization code.
[0153] According to the address of the query platform and the device authorization code configured in step S301, the CPE can send a connection request to the query platform, carrying the device information of the CPE, the address of the query platform, the device authorization code, etc. in the connection request. After receiving the connection request, the query platform can execute relevant judgment steps (see Figure 7 ) to determine whether to establish a connection with the CPE. Whether a connection is established or not, the query platform returns a connection result to the CPE.
[0154] Step S305: The CPE receives the return information from the query platform.
[0155] Step S306: The CPE judges the connection status according to the return information from the query platform.
[0156] In response to the connection request, the query platform will return the connection result and necessary information to the CPE. Thus, the CPE can determine its connection status with the query platform based on the return information received from the query platform. If successful, the CPE will further parse the address of the management platform from the return information of the query platform and can further execute step S309. If failed, step S307 can be executed.
[0157] Step S307: The CPE determines the reason for the connection failure based on the return information of the query platform.
[0158] For the case of connection failure, the CPE can further obtain the reason for the failure from the return information of the query platform and perform targeted processing according to the reason for the failure.
[0159] For example, if the reason for the failure is that the information of this CPE does not exist on the query platform, or the subordinate relationship between this CPE and the management platform does not exist, or the authorization code verification of this CPE fails, then it can jump to step S304 to try to reconnect; if the reason for the failure is that this CPE belongs to multiple management platforms on the query platform, then step S308 can be executed.
[0160] Step S308: The user confirms the management platform to which the CPE belongs.
[0161] Normally, one CPE will only belong to one management platform, that is, the management platform to which the tenant it belongs to belongs. For the case where the CPE belongs to multiple management platforms, the user can manually confirm the management platform to which it belongs to eliminate the anomaly.
[0162] Step S309: The CPE stores the address of the management platform in the database and displays it on the interface.
[0163] Step S310: The CPE connects to the management platform according to the address of the management platform.
[0164] Step S311: The CPE receives the return information of the management platform.
[0165] The process of the CPE connecting to the management platform can refer to Figure 6 the relevant steps in, which will not be elaborated here for the time being.
[0166] Step S312: The CPE sends registration information to the management platform.
[0167] If the CPE confirms that the connection to the management platform is successful according to the received return information, it can send a registration request to the management platform so as to incorporate itself into the management of the management platform.
[0168] Step S313: The CPE receives the return information of the management platform.
[0169] In response to the registration request of the CPE, the management platform will attempt to register the CPE and return the registration result to the CPE.
[0170] By executing Figure 5 the steps in
[0171] Figure 6 the address of the management platform can be automatically obtained and the management platform can be connected when the address of the query platform has been configured on the CPE. Figure 6 The steps shown in
[0172] include the CPE connecting to the query platform through the management platform (of course, some other steps are also included). Any CPE in the SD-WAN can be the CPE in these steps, and any management platform in the SD-WAN can be the management platform. These steps can be, but are not limited to, applied in the tenant migration scenario mentioned above. Referring to Figure 6 these steps include:
[0172] Step S401: The user configures the address of the management platform and the device authorization code on the CPE.
[0173] The device authorization code is information used for verification by the management platform. Similar information can also include digital signatures, etc. The timing of configuring the CPE can be before the CPE leaves the factory or after the CPE leaves the factory (for example, before going online), etc.
[0174] Step S402: The configuration is sent to the background process of the CPE.
[0175] In Step S401, the user can configure on the interface of the CPE. After the configuration is completed, the configuration information is sent to the background process of the CPE. This background process can be used to establish a connection between the CPE and the query platform or the management platform. In the following steps, for simplicity, this background process is omitted.
[0176] Step S403: The CPE determines the type of platform to be connected.
[0177] If it is the management platform, Step S404 is executed. If it is the query platform, reference can be made to Figure 5 .
[0178] Step S404: The CPE connects to the management platform according to the management platform address.
[0179] According to the address of the management platform and the device authorization code configured in Step S401, the CPE can send a connection request to the management platform, carrying the device information of the CPE, the address of the management platform, the device authorization code, etc. in the connection request. After receiving the connection request, the management platform can execute relevant judgment steps (see details in Figure 8 ) to determine whether to establish a connection with the CPE. Whether a connection is established or not, the management platform returns the connection result to the CPE.
[0180] Note that in the case of tenant migration, since the address of the management platform before migration may have been saved on the CPE under the tenant, the process can start from step S404, skipping the steps of configuring the management platform address previously.
[0181] Step S405: The CPE receives the return information from the management platform.
[0182] Step S406: The CPE determines the connection status based on the return information from the management platform.
[0183] As a response to the connection request, the management platform returns the connection result and necessary information to the CPE. Thus, the CPE can determine its connection status with the management platform according to the return information received from the management platform. If successful, the CPE will further execute step S409; if failed, it can execute step S407.
[0184] Step S407: The CPE determines the reason for failure based on the return information from the management platform.
[0185] For the case of connection failure, the CPE can further obtain the reason for failure from the return information of the management platform and perform targeted processing according to the reason for failure.
[0186] For example, if the reason for failure is that the information of this CPE does not exist on the management platform, or there are multiple copies of the information of this CPE on the management platform (the number of CPEs is greater than 1), or the authorization code verification of this CPE fails, it can jump to step S404 to attempt to reconnect; if the reason for failure is that the query service under the management platform has been disabled for the tenant to which this CPE belongs, it indicates that the tenant has migrated to another management platform. The CPE can further parse the address of the query platform from the return information of the management platform and execute step S408.
[0187] Step S408: The CPE connects to the query platform according to the address of the query platform.
[0188] The process of the CPE connecting to the query platform can refer to Figure 5 the relevant steps. Of course, since in the case of tenant migration, the CPE does not obtain the address of the query platform from the device locally, its connection to the query platform can directly start from step S304. Generally speaking, the CPE can obtain the address of the new management platform after migration from the query platform and connect to the new management platform.
[0189] Step S409: The CPE sends registration information to the management platform.
[0190] If the CPE confirms successful connection to the management and control platform based on the received return information, it can send a registration request to the management and control platform to include itself in the management of the platform.
[0191] Step S410: The CPE receives the return information from the management and control platform.
[0192] In response to the registration request of the CPE, the management and control platform will attempt to register the CPE and return the registration result to the CPE.
[0193] By executing the Figure 6 steps, the CPE can automatically obtain the address of the query platform and connect to the query platform in the case of tenant migration, so as to obtain the address of the new management and control platform after migration. If the tenant has not migrated, the CPE can directly connect to the original management and control platform.
[0194] Figure 7 Shows the response steps of the query platform to the CPE connection request, which can correspond to steps such as S304 in Figure 5 . Referring to Figure 7 , these steps include:
[0195] Step S501: The query platform receives the connection information of the CPE.
[0196] The connection information here can be the information carried in the CPE connection request, such as the device information of the CPE, the address of the query platform, the device authorization code, etc.
[0197] Step S502: The query platform determines whether the CPE exists.
[0198] If the information of the CPE exists on the query platform, step S503 is executed; otherwise, step S509 is executed.
[0199] Step S503: The query platform determines whether the subordinate relationship between the CPE and the management and control platform exists.
[0200] If the subordinate relationship between the CPE and the management and control platform exists on the query platform, step S504 is executed; otherwise, step S509 is executed.
[0201] Step S504: The query platform determines whether the number of management and control platforms to which the CPE belongs is greater than 1.
[0202] If there are multiple management and control platforms to which the CPE belongs on the query platform, step S509 is executed; otherwise, step S505 is executed.
[0203] Step S505: The query platform verifies the authorization code of the CPE.
[0204] If the authorization code verification is successful, step S506 is executed; otherwise, S509 is executed. It should be understood that the verification steps in steps S502 - S505 can also be in other orders.
[0205] Step S506: The query platform queries the address of the management platform to which the CPE belongs.
[0206] Based on the device information of the CPE and in combination with the subordinate relationship between the CPE, tenant, and management platform saved locally, the query platform can query the address of the management platform to which the tenant to which the CPE belongs belongs.
[0207] Step S507: The query platform determines whether the address of the management platform is correct.
[0208] If the address of the management platform is correct, step S508 is executed; otherwise, step S509 is executed.
[0209] Step S508: The query platform returns the address of the management platform to the CPE.
[0210] Step S509: The query platform records an error log and returns an error message to the CPE
[0211] In response to the connection request, the query platform will return the connection result and necessary information (such as the address of the management platform, connection status, reason for connection failure, etc.) to the CPE. At the same time, if the connection establishment fails, the query platform can record the relevant error information in the local error log, and the operation of recording the log is optional.
[0212] Figure 8 Shows the response steps of the management platform to the CPE connection request, which can correspond to step S404, etc. in Figure 6 and so on. Referring to Figure 8 , these steps include:
[0213] Step S601: The management platform receives the connection information of the CPE.
[0214] The connection information here can be the information carried in the CPE's connection request, such as the device information of the CPE, the address of the management platform, the device authorization code, etc.
[0215] Step S602: The management platform determines whether the CPE exists.
[0216] If the information of the CPE exists on the query platform, step S603 is executed; otherwise, step S611 is executed.
[0217] Step S603: The management platform determines whether the number of CPEs is greater than 1.
[0218] If there are multiple copies of the CPE information on the query platform (the number of CPEs is greater than 1), then step S611 is executed; otherwise, step S604 is executed.
[0219] Step S604: The management platform verifies the authorization code of the CPE.
[0220] If the authorization code verification is successful, then step S605 is executed; otherwise, S611 is executed. It should be understood that the verification steps in steps S602 - S604 can also be in other orders.
[0221] Step S605: The management platform determines whether it has enabled the query service itself.
[0222] If the management platform has enabled the query service itself, then step S606 is executed; otherwise, it indicates that the information of this management platform does not belong to the query platform for management. Thus, the management platform can agree to establish a connection with the CPE and execute step S607.
[0223] Step S606: The management platform determines whether the tenant has enabled the query service under the management platform.
[0224] If the tenant to which the CPE belongs has enabled the query service under this management platform, it indicates that this tenant has not migrated to other management platforms. Thus, the management platform can agree to establish a connection with the CPE and execute step S607; otherwise, it indicates that this tenant has migrated to other management platforms. Thus, the management platform can refuse to establish a connection with the CPE and execute step S608.
[0225] Step S607: The management platform returns a connection - successful message to the CPE.
[0226] Step S608: The management platform obtains the address of the query platform.
[0227] The address of the query platform on the management platform can be pre - configured by the user, such as configured in step S201.
[0228] Step S609: The management platform determines whether the address of the query platform is correct.
[0229] If the address of the query platform is correct, then step S610 is executed; otherwise, step S611 is executed.
[0230] Step S610: The management platform returns the address of the query platform to the CPE.
[0231] Step S611: The management platform records an error log and returns an error message to the CPE.
[0232] In response to the connection request, the management platform will return the connection result and necessary information (such as the address of the query platform, connection status, reason for connection failure, etc.) to the CPE. At the same time, if the connection establishment fails, the management platform can record the relevant error information in the local error log, and the operation of recording the log is optional.
[0233] An embodiment of this application also provides a network system, including: the first CPE in the SD-WAN, a query platform, and a first management platform;
[0234] The first CPE is used to obtain the address of the query platform and send a connection request to the query platform according to the address of the query platform;
[0235] The query platform is used to respond to the connection request sent by the first CPE, agree to establish a connection with the first CPE, and query the first management platform to which the first tenant currently belongs according to the subordinate relationship among the CPE, tenant, and management platform, and send the address of the first management platform to the first CPE;
[0236] The first CPE is used to receive the address of the first management platform sent by the query platform and send a connection request to the first management platform according to the address of the first management platform.
[0237] In an implementation manner of the above system, the system further includes a second management platform;
[0238] The first CPE is used to obtain the address of the second management platform saved locally and send a connection request to the second management platform according to the address of the second management platform; where the second management platform is the management platform to which the first tenant belonged before migrating to the first management platform;
[0239] The second management platform is used to respond to the connection request sent by the first CPE, determine whether the first tenant to which the first CPE belongs has migrated to other management platforms. If the first tenant has migrated to other management platforms, it refuses to establish a connection with the first CPE, obtains the address of the query platform saved locally, and sends the address of the query platform to the first CPE;
[0240] The first CPE is used to receive the address of the query platform sent by the second management platform and send a connection request to the query platform according to the address of the query platform.
[0241] In an implementation of the above system, the second control platform is used to determine whether the query service has been enabled by itself. If the second control platform has enabled the query service by itself, it then determines whether the first tenant has enabled the query service under the second control platform. If the first tenant has disabled the query service under the second control platform, it indicates that the first tenant has migrated to another control platform. If the first tenant has enabled the query service under the second control platform, it indicates that the first tenant has not migrated to another control platform. Among them, the second control platform enabling the query service by itself indicates that the information of the second control platform is incorporated into the management of the query platform. The first tenant enabling the query service under the second control platform indicates that the information of the first tenant under the second control platform is incorporated into the management of the query platform. When the second control platform enables the query service by itself, it is default that all tenants under the second control platform have enabled the query service under the second control platform. When the first tenant migrates from the second control platform to another control platform, the query service of the first tenant under the second control platform is disabled.
[0242] In an implementation of the above system, the first CPE is used to obtain the address of the query platform saved locally.
[0243] In an implementation of the above system, the first control platform is used to send the information of the first tenant and its subordinate CPEs to the query platform when the first tenant migrates to the first control platform. Among them, a connection is pre-established between the first control platform and the query platform. The CPEs subordinate to the first tenant include the first CPE.
[0244] The query platform is further used to receive the information of the first tenant and its subordinate CPEs sent by the first control platform, and save the subordinate relationship among the CPEs subordinate to the first tenant, the first tenant, and the first control platform.
[0245] In an implementation of the above system, the first control platform is used to obtain the address of the query platform saved locally, send a connection request to the query platform according to the address of the query platform, and send the information of all tenants under the first control platform and their subordinate CPEs to the query platform. Among them, all tenants under the first control platform include the first tenant, and the CPEs subordinate to the first tenant include the first CPE.
[0246] The query platform is further configured to respond to the connection request sent by the first control platform, agree to establish a connection with the first control platform, receive the information of all tenants under the first control platform and the CPEs subordinate to them sent by the first control platform, and save the subordinate relationships among the CPEs subordinate to all tenants under the first control platform, all tenants under the first control platform, and the first control platform.
[0247] For the above address control system provided by the embodiments of the present application, its implementation principle and the resulting technical effects have been introduced in the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the system embodiments, reference may be made to the corresponding content in the method embodiments.
[0248] The embodiments of the present application further provide an address control device configured in the first CPE in the SD-WAN. The SD-WAN further includes a query platform and a first control platform. The device includes:
[0249] A first CPE and query platform connection module, configured to obtain the address of the query platform and send a connection request to the query platform according to the address of the query platform;
[0250] A first control platform address receiving module, configured to receive the address of the first control platform sent by the query platform; wherein, the first control platform is the control platform currently belonging to the first tenant to which the first CPE belongs;
[0251] A first CPE and first control platform connection module, configured to send a connection request to the first control platform according to the address of the first control platform.
[0252] In an implementation manner of the above address control device, the SD-WAN further includes a second control platform. The first CPE and query platform connection module obtaining the address of the query platform includes: obtaining the address of the second control platform locally saved in the first CPE and sending a connection request to the second control platform according to the address of the second control platform; wherein, the second control platform is the control platform that the first tenant to which the first CPE belongs belonged to before migrating to the first control platform;
[0253] The first CPE receives the address of the query platform sent by the second control platform.
[0254] In an implementation manner of the above address control device, the first CPE and query platform connection module obtaining the address of the query platform includes: obtaining the address of the query platform locally saved in the first CPE.
[0255] The above address control device provided by the embodiments of the present application has been introduced in the foregoing method embodiments in terms of its implementation principle and the technical effects produced. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the method embodiments.
[0256] An embodiment of the present application further provides an address control device, which is configured in a query platform in an SD-WAN. The SD-WAN further includes a first CPE and a first control platform. The device includes:
[0257] A query platform and first CPE connection module, configured to respond to a connection request sent by the first CPE and agree to establish a connection with the first CPE;
[0258] A first control platform address sending module, configured to query the first control platform to which the first tenant to which the first CPE belongs currently belongs according to the subordinate relationship among the CPE, the tenant, and the control platform, and send the address of the first control platform to the first CPE.
[0259] In an implementation manner of the above address control device, the device further includes:
[0260] A first information receiving module, configured to receive information about the first tenant and the CPEs subordinate to it sent by the first control platform; wherein, a connection is pre-established between the first control platform and the query platform, and the CPEs subordinate to the first tenant include the first CPE;
[0261] A first information saving module, configured to save the subordinate relationship among the CPEs subordinate to the first tenant, the first tenant, and the first control platform.
[0262] In an implementation manner of the above address control device, the device further includes:
[0263] A query platform connecting to the first control platform module, configured to respond to a connection request sent by the first control platform and agree to establish a connection with the first control platform;
[0264] A second information receiving module, configured to receive information about all the tenants under the first control platform and the CPEs subordinate to them sent by the first control platform; wherein, all the tenants under the first control platform include the first tenant, and the CPEs subordinate to the first tenant include the first CPE;
[0265] A second information saving module, configured to save the subordinate relationship among the CPEs subordinate to all the tenants under the first control platform, all the tenants under the first control platform, and the first control platform.
[0266] The above address control device provided by the embodiments of the present application has been introduced in the foregoing method embodiments in terms of its implementation principle and the technical effects produced. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the method embodiments.
[0267] The embodiments of the present application further provide an address control device configured in a first control platform in an SD-WAN. The SD-WAN further includes a query platform. The device includes:
[0268] A first information sending module, configured to send information about the first tenant and the CPEs subordinate to the first tenant to the query platform when the first tenant migrates to the first control platform; wherein, a connection is pre-established between the first control platform and the query platform, and the CPEs subordinate to the first tenant include a first CPE.
[0269] The above address control device provided by the embodiments of the present application has been introduced in the foregoing method embodiments in terms of its implementation principle and the technical effects produced. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the method embodiments.
[0270] The embodiments of the present application further provide an address control device configured in a first control platform in an SD-WAN. The SD-WAN further includes a query platform. The device includes:
[0271] A query platform address acquisition module, configured to acquire the address of the query platform locally saved by the first control platform;
[0272] A first control platform and query platform connection module, configured to send a connection request to the query platform according to the address of the query platform;
[0273] A second information sending module, configured to send information about all tenants under the first control platform and the CPEs subordinate to the tenants to the query platform; wherein, all tenants under the first control platform include a first tenant, and the CPEs subordinate to the first tenant include a first CPE.
[0274] The above address control device provided by the embodiments of the present application has been introduced in the foregoing method embodiments in terms of its implementation principle and the technical effects produced. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the method embodiments.
[0275] The embodiments of the present application further provide an address control device configured in a second control platform in an SD-WAN. The SD-WAN further includes a first CPE, a first control platform, and a query platform. The device includes:
[0276] A migration judgment module, configured to respond to a connection request sent by the first CPE, and judge whether the first tenant to which the first CPE belongs has migrated to another management and control platform; wherein, the second management and control platform is the management and control platform to which the first tenant belonged before migrating to the first management and control platform;
[0277] An inquiry platform address sending module, configured to obtain the address of the inquiry platform locally saved by the second management and control platform and send the address of the inquiry platform to the first CPE when the first tenant has migrated to another management and control platform.
[0278] In an implementation manner of the above address management and control device, the inquiry platform address sending module judging whether the first tenant has migrated to another management and control platform includes: judging whether the second management and control platform has enabled the inquiry service. If the second management and control platform has enabled the inquiry service, then judge whether the first tenant has enabled the inquiry service under the second management and control platform. If the first tenant has disabled the inquiry service under the second management and control platform, it indicates that the first tenant has migrated to another management and control platform. If the first tenant has enabled the inquiry service under the second management and control platform, it indicates that the first tenant has not migrated to another management and control platform; wherein, the second management and control platform enabling the inquiry service indicates that the information of the second management and control platform is incorporated into the management of the inquiry platform, and the first tenant enabling the inquiry service under the second management and control platform indicates that the information of the first tenant under the second management and control platform is incorporated into the management of the inquiry platform. When the second management and control platform enables the inquiry service, it is default that all tenants under the second management and control platform have enabled the inquiry service under the second management and control platform. When the first tenant migrates from the second management and control platform to another management and control platform, the inquiry service of the first tenant under the second management and control platform is disabled.
[0279] For the above address management and control device provided in the embodiments of the present application, its implementation principle and the technical effects produced have been introduced in the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the method embodiments.
[0280] Figure 9 Shows a possible structure of the electronic device 700 provided in the embodiments of the present application. Referring to Figure 9 , the electronic device 700 includes: a processor 710, a memory 720, and a communication interface 730. These components are interconnected and communicate with each other through a communication bus 740 and / or other forms of connection mechanisms (not shown).
[0281] Among them, the processor 710 includes one or more (only one is shown in the figure), which can be an integrated circuit chip with the ability to process signals. The above-mentioned processor 710 can be a general-purpose processor, including a central processing unit (CPU), a microcontroller unit (MCU), a network processor (NP), or other conventional processors; it can also be a dedicated processor, including a neural-network processing unit (NPU), a graphics processing unit (GPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Moreover, when there are multiple processor 710s, a part of them can be general-purpose processors and another part can be dedicated processors.
[0282] The memory 720 includes one or more (only one is shown in the figure), which can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The processor 710 and other possible components can access the memory 720, read and / or write data therein.
[0283] Specifically, one or more computer program instructions can be stored in the memory 720, and the processor 710 can read and run these computer program instructions to implement the address control method provided by the embodiments of the present application.
[0284] The communication interface 730 includes one or more (only one is shown in the figure), which can be used to communicate directly or indirectly with other devices for data interaction. The communication interface 730 may include interfaces for wired and / or wireless communication.
[0285] It can be understood that Figure 9 The structure shown is only schematic, and the electronic device 700 may further include more or fewer components than those shown Figure 9 in the figure, or have a structure different from that Figure 9 shown in the figure. Figure 9 Each component shown in the figure can be implemented by hardware, software, or a combination thereof. The electronic device 700 may be a physical device, such as a PC, laptop, tablet, mobile phone, server, embedded device, etc., or may be a virtual device, such as a virtual machine, virtualization container, etc. Moreover, the electronic device 700 is not limited to a single device, and may also be a combination of multiple devices or a cluster composed of a large number of devices.
[0286] For example, the CPE, management and control platform, and query platform mentioned in the embodiments of the present application can all be implemented using the Figure 9 structure shown in the figure.
[0287] The embodiments of the present application further provide a computer program product, which includes computer program instructions. When these computer program instructions are read and run by a processor of a computer, they execute the address management and control method provided by the embodiments of the present application.
[0288] The embodiments of the present application further provide a computer-readable storage medium, on which computer program instructions are stored. When these computer program instructions are read and run by a processor of a computer, they execute the address management and control method provided by the embodiments of the present application. For example, the computer-readable storage medium can be implemented as the Figure 9 memory 720 in the electronic device 700 shown in the figure.
[0289] The above are only the embodiments of the present application and are not used to limit the protection scope of the present application. For those skilled in the art, the present application may have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An address control method, characterized in that The first customer premise equipment (CPE) applied to a software-defined wide area network (SD-WAN), the SD-WAN further includes a query platform and a first management and control platform, and the method includes: The first CPE obtains the address of the query platform and sends a connection request to the query platform according to the address of the query platform; The first CPE receives the address of the first management and control platform sent by the query platform; wherein, the first management and control platform is the management and control platform to which the first tenant to which the first CPE belongs currently belongs, and the subordinate relationship among CPE, tenant and management and control platform is stored on the query platform; The first CPE establishes and sends a connection request to the first management and control platform according to the address of the first management and control platform.
2. The address control method according to claim 1, wherein, The SD-WAN further includes a second management and control platform, and the first CPE obtains the address of the query platform, including: The first CPE obtains the address of the second management and control platform saved locally and sends a connection request to the second management and control platform according to the address of the second management and control platform; wherein, the second management and control platform is the management and control platform to which the first tenant to which the first CPE belongs belonged before migrating to the first management and control platform; The first CPE receives the address of the query platform sent by the second management and control platform.
3. The address control method according to claim 1, characterized in that, The first CPE obtains the address of the query platform, including: The first CPE obtains the address of the query platform saved locally.
4. An address control method, characterized in that, The query platform applied to the SD-WAN, the SD-WAN further includes a first CPE and a first management and control platform, and the method includes: The query platform responds to the connection request sent by the first CPE and agrees to establish a connection with the first CPE; The query platform queries the first management and control platform to which the first tenant to which the first CPE belongs currently belongs according to the subordinate relationship among CPE, tenant and management and control platform, and sends the address of the first management and control platform to the first CPE.
5. The address control method according to claim 4, characterized in that, The method further includes: The query platform receives the information of the first tenant and its subordinate CPEs sent by the first management and control platform; wherein, a connection is pre-established between the first management and control platform and the query platform, and the CPEs subordinate to the first tenant include the first CPE; The query platform stores the subordinate relationship among the CPEs subordinate to the first tenant, the first tenant and the first management and control platform.
6. The address control method according to claim 4, wherein The method further includes: The query platform responds to the connection request sent by the first management and control platform and agrees to establish a connection with the first management and control platform; The query platform receives the information of all tenants under the first management and control platform and their subordinate CPEs sent by the first management and control platform; wherein, all tenants under the first management and control platform include the first tenant, and the CPEs subordinate to the first tenant include the first CPE; The query platform stores the subordinate relationship among the CPEs subordinate to all tenants under the first management and control platform, all tenants under the first management and control platform and the first management and control platform.
7. An address control method, characterized in that, The first control platform applied to SD-WAN, the SD-WAN further includes a query platform, and the method includes: When the first tenant migrates to the first control platform, the first control platform sends the information of the first tenant and its subordinate CPEs to the query platform; wherein, a connection is pre-established between the first control platform and the query platform, the CPEs subordinate to the first tenant include the first CPE, and the query platform is configured to, after receiving the connection request of the first CPE, query the address of the first control platform according to the subordinate relationship among the CPEs, tenants, and control platforms saved by itself and send it to the first CPE.
8. An address control method, characterized in that, The first control platform applied to SD-WAN, the SD-WAN further includes a query platform, and the method includes: The first control platform obtains the address of the query platform saved locally. The first control platform sends a connection request to the query platform according to the address of the query platform. The first control platform sends the information of all tenants under the first control platform and their subordinate CPEs to the query platform; wherein, all tenants under the first control platform include the first tenant, and the CPEs subordinate to the first tenant include the first CPE, and the query platform is configured to, after receiving the connection request of the first CPE, query the address of the first control platform according to the subordinate relationship among the CPEs, tenants, and control platforms saved by itself and send it to the first CPE.
9. An address control method, characterized in that, The second control platform applied to SD-WAN, the SD-WAN further includes the first CPE, the first control platform, and the query platform, and the method includes: The second control platform responds to the connection request sent by the first CPE and determines whether the first tenant to which the first CPE belongs has migrated to other control platforms; wherein, the second control platform is the control platform to which the first tenant belonged before migrating to the first control platform. If the first tenant has migrated to other control platforms, the second control platform refuses to establish a connection with the first CPE, obtains the address of the query platform saved locally, and sends the address of the query platform to the first CPE; wherein, the first CPE is configured to query the address of the first control platform from the query platform according to the address of the query platform, and the subordinate relationship among the CPEs, tenants, and control platforms is saved on the query platform.
10. The address control method according to claim 9, wherein The second control platform determines whether the first tenant has migrated to other control platforms, including: The second control platform determines whether its own query service has been enabled. If the second control platform's own query service has been enabled, it determines whether the first tenant has enabled the query service under the second control platform. If the first tenant has disabled the query service under the second control platform, it indicates that the first tenant has migrated to other control platforms. If the first tenant has enabled the query service under the second control platform, it indicates that the first tenant has not migrated to other control platforms. Among them, the second control platform enabling the query service by itself indicates that the information of the second control platform is incorporated into the management of the query platform. The first tenant enabling the query service under the second control platform indicates that the information of the first tenant under the second control platform is incorporated into the management of the query platform. When the second control platform enables the query service by itself, it is default that all tenants under the second control platform enable the query service under the second control platform. When the first tenant migrates from the second control platform to other control platforms, the query service of the first tenant under the second control platform is disabled.
11. A network system, characterized in that, Including: The first CPE, query platform and first control platform in SD-WAN; The first CPE is used to obtain the address of the query platform and send a connection request to the query platform according to the address of the query platform; The query platform is used to respond to the connection request sent by the first CPE, agree to establish a connection with the first CPE, and query the first control platform to which the first tenant to which the first CPE belongs currently belongs according to the subordinate relationship among the CPE, tenant and control platform, and send the address of the first control platform to the first CPE; The first CPE is used to receive the address of the first control platform sent by the query platform and send a connection request to the first control platform according to the address of the first control platform.
12. The network system according to claim 11, wherein, The system further includes a second control platform; The first CPE is used to obtain the address of the second control platform saved locally, and send a connection request to the second control platform according to the address of the second control platform; wherein, the second control platform is the control platform to which the first tenant belongs before migrating to the first control platform; The second control platform is used to respond to the connection request sent by the first CPE, determine whether the first tenant to which the first CPE belongs has migrated to other control platforms. If the first tenant has migrated to other control platforms, it refuses to establish a connection with the first CPE, obtains the address of the query platform saved locally, and sends the address of the query platform to the first CPE; The first CPE is used to receive the address of the query platform sent by the second control platform and send a connection request to the query platform according to the address of the query platform.
13. An address control device, characterized in that, The first CPE configured in SD-WAN, the SD-WAN further includes a query platform and a first control platform, and the device includes: The first CPE and query platform connection module, which is used to obtain the address of the query platform and send a connection request to the query platform according to the address of the query platform; The first control platform address receiving module, which is used to receive the address of the first control platform sent by the query platform; wherein, the first control platform is the control platform to which the first tenant to which the first CPE belongs currently belongs, and the subordinate relationship among the CPE, tenant and control platform is saved on the query platform; The first CPE and the first management and control platform connection module are used to send a connection request to the first management and control platform according to the address of the first management and control platform.
14. An address control device, characterized in that, A query platform configured in the SD-WAN. The SD-WAN further includes a first CPE and a first management and control platform. The device includes: The query platform and the first CPE connection module are used to respond to the connection request sent by the first CPE and agree to establish a connection with the first CPE. The first management and control platform address sending module is used to query the first management and control platform to which the first tenant to which the first CPE belongs currently belongs according to the subordinate relationship among the CPE, the tenant, and the management and control platform, and send the address of the first management and control platform to the first CPE.
15. An address control device, characterized in that, The first management and control platform configured in the SD-WAN. The SD-WAN further includes a query platform. The device includes: The first information sending module is used to send the information of the first tenant and its subordinate CPEs to the query platform when the first tenant migrates to the first management and control platform. Among them, a connection is pre-established between the first management and control platform and the query platform. The CPEs subordinate to the first tenant include the first CPE. The query platform is used to query the address of the first management and control platform and send it to the first CPE according to the subordinate relationship among the CPE, the tenant, and the management and control platform saved by itself after receiving the connection request of the first CPE.
16. An address control device, characterized in that, The first management and control platform configured in the SD-WAN. The SD-WAN further includes a query platform. The device includes: The query platform address acquisition module is used to acquire the address of the query platform locally saved by the first management and control platform. The first management and control platform and query platform connection module are used to send a connection request to the query platform according to the address of the query platform. The second information sending module is used to send the information of all tenants under the first management and control platform and their subordinate CPEs to the query platform. Among them, all tenants under the first management and control platform include the first tenant. The CPEs subordinate to the first tenant include the first CPE. The query platform is used to query the address of the first management and control platform and send it to the first CPE according to the subordinate relationship among the CPE, the tenant, and the management and control platform saved by itself after receiving the connection request of the first CPE.
17. An address control device, characterized in that, The second management and control platform configured in the SD-WAN. The SD-WAN further includes a first CPE, a first management and control platform, and a query platform. The device includes: The migration judgment module is used to respond to the connection request sent by the first CPE and judge whether the first tenant to which the first CPE belongs has migrated to other management and control platforms. Among them, the second management and control platform is the management and control platform to which the first tenant belonged before migrating to the first management and control platform. A query platform address sending module, configured to refuse to establish a connection with the first CPE when the first tenant has migrated to another management platform, obtain the address of the query platform locally saved by the second management platform, and send the address of the query platform to the first CPE; wherein, the first CPE is configured to query the address of the first management platform from the query platform according to the address of the query platform, and the subordinate relationships among CPEs, tenants, and management platforms are saved on the query platform.
18. A computer-readable storage medium, characterized in that, Computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are read and run by a processor, the method according to any one of claims 1-10 is executed.
19. An electronic device, characterized in that, It includes a memory and a processor. Computer program instructions are stored in the memory, and when the computer program instructions are read and run by the processor, the method according to any one of claims 1-10 is executed.
Citation Information
Patent Citations
Method and system for supporting simultaneous access of multiple devices to server to realize capacity expansion and shrinkage
CN114553704A