A method and system for scheduling and diverting user-side devices
By using the balanced weight parameters in the automatic configuration server to select the optimal CWMP application to respond to the connection request of the user-side device, the problem of low resource utilization in the prior art is solved, and session security and efficient resource utilization are achieved.
Patent Information
- Application Number
- CN202410605791.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2044-05-16
AI Technical Summary
The prior art cannot improve resource utilization while ensuring the security of the session between the automatic configuration server and the user-side device, resulting in resource waste, request timeout and increased pressure on CWMP application.
Get the connection request of the user-side device through the automatic configuration server and obtain its IP address. If this IP is first accessed or does not exist in the preset routing table, the optimal CWMP application is selected through the balanced weight parameters to respond, and the routing relationship and valid duration are updated after the response is completed.
It realizes that while ensuring the security of the session between the automatic configuration server and the user-side device, it improves resource utilization and avoids resource waste and request timeout.
Smart Images

Figure CN118540381B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer technology, and particularly relates to a method and system for scheduling and diverting user-side devices. Background Art
[0002] CWMP (CPE WAN Management Protocol) provides a general framework, message specifications, management methods, and data models for the management and configuration of user-side devices. CWMP remotely centrally manages CPE (Customer Premises Equipment) through ACS (Auto-Configuration Server). Usually, when the auto-configuration server and the user-side device perform session interaction, the commonly used scheduling methods for establishing connections are mainly round-robin and IP hash. In the round-robin scheme, the user-side device sends an instruction for a configuration task to CWMP Application 1, and CWMP Application 1 directly initiates a connection to the user-side device. The user-side device will reply with an HTTP status code to CWMP Application 1 after receiving the connection request from CWMP Application 1. CWMP Application 1 waits after receiving the status code. At the same time, the user-side device starts to upgrade the configuration and reports it through the unified URL configured by itself after the upgrade is completed. When it comes to nginx scheduling, due to round-robin, it cannot ensure that the reply request of the user-side device is scheduled to CWMP Application 1, and the request may be scheduled to other CWMP application instances, resulting in insecure connections. The IP hash scheduling method schedules all requests from the same IP to the same server. Although it can ensure the connection security between the auto-configuration server and the user-side device, it may cause request skew, leading to problems such as resource waste, request timeout, and increased pressure on CWMP applications.
[0003] Therefore, how to improve resource utilization while ensuring the session security between the auto-configuration server and the user-side device is a technical problem to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of the present invention is to solve the technical problem that the prior art cannot improve resource utilization while ensuring the session security between the auto-configuration server and the user-side device.
[0005] To achieve the above technical purpose, on the one hand, the present invention provides a method for scheduling and diverting user-side devices, the method comprising:
[0006] Obtaining a connection request of a user-side device through an auto-configuration server, and obtaining the IP of the user-side device;
[0007] If the IP is accessed for the first time, the corresponding user-side device is verified. After the verification passes, if the IP does not exist in the preset routing table, the optimal CWMP application is selected for response through the equalization weight parameter;
[0008] If the IP is not accessed for the first time and does not exist in the preset routing table, the optimal CWMP application is selected for response through the equalization weight parameter.
[0009] Further, if the IP is accessed for the first time and exists in the preset routing table after the verification passes, the corresponding CWMP application saved in the preset routing table is selected for response. If the IP is not accessed for the first time and exists in the preset routing table, the corresponding CWMP application saved in the preset routing table is selected for response.
[0010] Further, the equalization weight parameter is specifically determined by the number of each CWMP application server nodes, the number of node connections, and the tilt threshold.
[0011] Further, the method further includes updating the routing relationship between the IP of the user-side device and the CWMP application in the preset routing table and setting the effective duration after the response ends.
[0012] Further, the method further includes the auto-configuration server operating on the specified user-side device, specifically including:
[0013] Determining the specified CWMP application IP corresponding to the specified user-side device IP in the preset routing table;
[0014] Simulating the user-side device to initiate a first connection request to the corresponding specified CWMP application through the auto-configuration server;
[0015] In response to the first connection request, initiating a session connection to the specified user-side device through the specified CWMP application.
[0016] Further, if the routing relationship between the specified user-side device IP and the corresponding specified CWMP application does not exist in the preset routing table, the specified CWMP application is determined through the equalization weight parameter.
[0017] Further, the method further includes periodically obtaining the operation data of the user-side device, specifically including:
[0018] Establishing a connection between the specified CWMP application and the specified user-side device, marking it in the preset routing table, and the specified user-side device receives the operation data acquisition instruction sent by the specified CWMP application,
[0019] In response to the operation data acquisition instruction, send operation data to a specified CWMP application through a specified user-side device;
[0020] When the specified CWMP application receives the operation data, forward the operation data to a specified server through a scheduling module, and after the specified server receives the operation data, send a received instruction to an auto-configuration server;
[0021] In response to the received instruction, remove the corresponding mark in the routing table through the auto-configuration server, and update the operation data in the routing table.
[0022] Furthermore, each time the preset routing table is read, update the effective duration of the routing relationship between the corresponding specified user-side device and the specified CWMP application.
[0023] On the other hand, the present invention also provides a system for scheduling and diverting user-side devices, the system includes:
[0024] A user-side device, configured to send a connection request to an auto-configuration server;
[0025] An auto-configuration server, configured to receive the connection request and obtain the IP of the user-side device;
[0026] The auto-configuration server is further configured to determine whether the IP is a first-time access. If the IP is a first-time access, verify the corresponding user-side device. After the verification passes and the IP does not exist in the preset routing table, select the optimal CWMP application for response through an equalization weight parameter. If the IP is not a first-time access and the IP does not exist in the preset routing table, select the optimal CWMP application for response through the equalization weight parameter.
[0027] A method and system for scheduling and diverting user-side devices provided by the present invention, compared with the prior art, this method obtains the connection request of the user-side device through the auto-configuration server and obtains the IP of the user-side device; if the IP is a first-time access, verify the corresponding user-side device. After the verification passes and the IP does not exist in the preset routing table, select the optimal CWMP application for response through an equalization weight parameter; if the IP is not a first-time access and the IP does not exist in the preset routing table, select the optimal CWMP application for response through the equalization weight parameter. It realizes the improvement of resource utilization while ensuring the session security between the auto-configuration server and the user-side device. Description of the Drawings
[0028] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments described in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0029] Figure 1 The figure shows a schematic flowchart of a method for scheduling and diverting user-side devices provided by an embodiment of this specification;
[0030] Figure 2 The figure shows a schematic structural diagram of a system for scheduling and diverting user-side devices provided by an embodiment of this specification;
[0031] Figure 3 The figure shows a schematic flowchart of the process of a user-side device initiating a connection in a specific application scenario of this specification;
[0032] Figure 4 The figure shows a schematic flowchart of the process of an automatic configuration server initiating a connection to a specified user-side device in a specific application scenario of this specification;
[0033] Figure 5 The figure shows a schematic flowchart of the process of periodically obtaining the operation data of user-side devices in a specific application scenario of this specification. Detailed implementation manners
[0034] To enable those of ordinary skill in the art to better understand the technical solutions in this specification, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of this application.
[0035] As Figure 1 The figure shows a schematic flowchart of a method for scheduling and diverting user-side devices provided by an embodiment of this specification. Although this specification provides the method operation steps or system structure shown in the following embodiments or drawings, based on routine or without creative efforts, more or some combined and fewer operation steps or module units can be included in the method or system. In steps or structures where there is no necessary causal relationship logically, the execution order of these steps or the module structure of the system is not limited to the execution order or module structure shown in the embodiments or drawings of this specification.
[0036] The method for scheduling and diverting user-side devices provided in the embodiments of this specification can be applied in the CPE wide area network management protocol, such asFigure 1 As shown in the figure, the method specifically includes the following steps:
[0037] Step S101: Obtain the connection request of the user-side device through the automatic configuration server, and obtain the IP of the user-side device.
[0038] Specifically, in the actual working scenario, the number of user-side devices is large-scale. As a centralized management system, the automatic configuration server is responsible for the management and control of all user-side devices in the network. The online requests of a large number of user-side devices will consume a large amount of system platform resources in the automatic configuration server. To reduce resource waste, first parse the user-side devices to determine their corresponding IPs.
[0039] Step S102: If the IP is a first-time visit, then verify the corresponding user-side device. After the verification passes, if the IP does not exist in the preset routing table, select the optimal CWMP application for response through the equalization weight parameter.
[0040] Step S103: If the IP is not a first-time visit and the IP does not exist in the preset routing table, select the optimal CWMP application for response through the equalization weight parameter.
[0041] Specifically, the automatic configuration service will determine whether the requested IP is a first-time visit. If it is a first-time visit, it means that the corresponding user-side device is a newly networked device. The judgment of the first-time visit is queried through the access record table in the cache, or it is a device that has not been networked for a long time. Because it has exceeded a certain period and has been deleted from the access record table, there is a certain risk. Therefore, it is necessary to verify the user-side device, which can be verified through the user-side device whitelist or other methods.
[0042] When the user-side device is not a first-time visit or after the verification passes, the automatic configuration server or the separately established scheduling module will request the preset routing table to determine whether the IP exists in the preset routing table. If it exists, directly respond with the corresponding CWMP application saved in the preset routing table.
[0043] In the embodiment of the present application, if the IP is a first-time visit and the IP exists in the preset routing table after the verification passes, then select the corresponding CWMP application saved in the preset routing table for response. If the IP is not a first-time visit and the IP exists in the preset routing table, then select the corresponding CWMP application saved in the preset routing table for response.
[0044] Wherein, the method further includes updating the routing relationship between the IP of the user-side device and the CWMP application in the preset routing table and setting an effective duration after the response ends. The tilt threshold is the threshold for data tilt, and the equalization weight parameter is determined by the number of CWMP application server nodes, the number of node connections, and the tilt threshold, that is, the optimal CWMP application is determined. For example, if the number of CWMP server nodes is less than the preset number of nodes and the data tilt does not reach the tilt threshold, the CWMP application with the fewest node connections is taken as the optimal CWMP application.
[0045] As Figure 3 shown is a schematic diagram of the process for the user-side device to initiate a connection in a specific application scenario of the present application. The specific process is as follows:
[0046] The CPE, that is, the user-side device, initiates a connection request to the ACS, that is, the automatic configuration server. First, it reports and resolves the unified URL configured in the CPE through DNS to obtain an IP, and then initiates a connection request to the IP. The nginx on the server side obtains and starts to process the request initiated by the CPE; obtains the IP of the requesting CPE and checks whether it is the first access; if it is the first access, it checks whether access is allowed through the CPE brand whitelist. If not, access is refused. If so, it obtains the current equalization weight parameter to determine the smaller CWMP application, that is, the optimal CWMP application; if it is not the first access, it reads the cached routing table, that is, the preset routing table, and judges whether the IP is in the cached routing table. If not, it obtains the current equalization weight parameter to determine the smaller CWMP application, that is, the optimal CWMP application, and then the CPE initiates a session to the determined optimal CWMP application; if the IP exists in the cached routing table, it obtains the CWMP application according to the cached routing table, and judges whether the CWMP application has timed out. If it has timed out, access is refused. If it has not timed out, the CPE initiates a session to the CWMP application, and the cached routing table will be updated after the session is completed.
[0047] In an embodiment of the present application, the method further includes the automatic configuration server operating on a specified user-side device, specifically including:
[0048] Determining the specified CWMP application IP corresponding to the IP of the specified user-side device in the preset routing table;
[0049] Simulating the user-side device to initiate a first connection request to the corresponding specified CWMP application through the automatic configuration server;
[0050] In response to the first connection request, initiating a session connection to the specified user-side device through the specified CWMP application.
[0051] Among them, if there is no routing relationship between the specified user-side device IP and the corresponding specified CWMP application in the preset routing table, the specified CWMP application is determined through the equalization weight parameter.
[0052] Specifically, the operations of the auto-configuration server on the specified user-side device include two situations: daily tasks and user-side device fault handling. First, the specified CWMP application corresponding to the specified user-side device to be connected is determined in the preset routing table. If it does not exist, the specified CWMP application is determined through the equalization weight parameter. Then, the auto-configuration server initiates a request to the specified CWMP application by simulating the specified user-side device through the modified request IP. Then, in response to the first connection request, a session connection is initiated to the specified user-side device through the specified CWMP application. After receiving the session connection, the specified user-side device initiates a connection in the manner of steps S101 - S103, reports the result to the specified CWMP application, and replies to the request response of the auto-configuration server.
[0053] Such as Figure 4 shown is a schematic flowchart of the auto-configuration server initiating a connection to the specified user-side device in a specific application scenario of the present application.
[0054] ACS, that is, the auto-configuration server initiates an asynchronous session to the CPE, which represents the specified user-side device in this process, and determines whether the CPE is online. If the device is online, the operation ends. If the device is online, first read the cached routing table, and determine whether the CPE is in the cached routing table. If it is in the cached routing table, obtain the CWMP application for the CPE session, and determine whether the CWMP application times out. If it times out, access is refused. If it does not time out, an asynchronous session is initiated to the CPE through the CWMP application to complete the connection, and then the cached routing table is updated. If the CPE is not in the cached routing table, obtain the CWMP application according to the equalization weight parameter, which is the above-mentioned specified CWMP application in this process. An asynchronous session is initiated to the CPE through the specified CWMP application to complete the connection, and then the cached routing table is updated.
[0055] In the embodiment of the present application, the method further includes periodically obtaining the operation data of the user-side device, specifically including:
[0056] Establish a connection between the specified CWMP application and the specified user-side device, and mark it in the preset routing table, and the specified user-side device receives a running data acquisition instruction sent by the specified CWMP application.
[0057] In response to the running data acquisition instruction, the running data is sent to the specified CWMP application through the specified user-side device.
[0058] After the specified CWMP application receives the operation data, it forwards the operation data to a specified server through a scheduling module, and the specified server sends a received instruction to an automatic configuration server after receiving the operation data;
[0059] In response to the received instruction, the automatic configuration server removes the corresponding mark in the routing table and updates the operation data.
[0060] Among them, each time the preset routing table is read, the valid duration of the routing relationship between the corresponding specified user-side device and the specified CWMP application is updated.
[0061] Specifically, the automatic configuration server needs to periodically obtain specific operation data in the user-side device and establish an interaction connection between the specified CWMP application and the specified user-side device. For example, in the connection step of the above operation of the automatic configuration server on the specified user-side device, after establishing the interaction connection, the specified user-side device will send the operation data to the specified CWMP application. Then, after the specified CWMP application receives the operation data, it forwards the operation data to a specified server through a scheduling module, and the specified server sends a received instruction to the automatic configuration server after receiving the operation data. After receiving this instruction, the automatic configuration server removes the mark in the preset routing table.
[0062] Such as Figure 5 The following is a schematic flowchart of periodically obtaining the operation data of the user-side device in a specific application scenario of this application:
[0063] Specifically, first, the ACS, that is, the automatic configuration server, selects a CWMP application from the cached routing table. If the user terminal, that is, the specified user-side device, does not exist in the cached routing table, it selects a CWMP application according to the load balancing weight parameter. Then, the ACS simulates the CPE to initiate a connection to the CWMP. The CWMP application will receive the request simulated by the ACS, and then send a connection operation request to the target CPE. The user terminal will reply with an HTTP status code to the CWMP application and start to execute the operation. The CWMP application starts to wait after receiving the ONU status code. The CPE operation is successful, and a connection request is initiated through the unified reporting URL. The CWMP application receives the connection request after the CPE operation is successful after scheduling and splitting, and sends a status code to the CPE, then replies to the request of the ACS and closes the connection establishment. The ACS receives the response of the CWMP application, and the CPE closes the connection after receiving the response status code.
[0064] Among them, the information in the preset routing table includes the IP of the CPE, the IP corresponding to the responsive CWMP application, and the data validity period. Additionally, routing data that has not been read and exceeds the validity period will be discarded. Moreover, each time the routing data is read, the data validity period is updated to ensure the security of the ACS-CPE connection session.
[0065] Based on the above method for scheduling and diverting user-side devices, one or more embodiments of this specification also provide a platform and a terminal for scheduling and diverting user-side devices. The platform or terminal may include a system, software, module, plugin, server, client, etc. that use the method described in the embodiments of this specification, and a system that combines necessary implementation hardware. Based on the same inventive concept, the systems in one or more embodiments provided by the embodiments of this specification are as described in the following embodiments. Since the implementation schemes for the systems to solve problems are similar to the method, the implementation of the specific systems in the embodiments of this specification may refer to the implementation of the foregoing method, and the repeated parts will not be elaborated. The terms "unit" or "module" used hereinafter may be a combination of software and / or hardware that can achieve a predetermined function. Although the systems described in the following embodiments are preferably implemented in software, hardware and software combined implementations are also possible and contemplated.
[0066] Specifically, Figure 2 is a schematic diagram of the module structure of an embodiment of the system for scheduling and diverting user-side devices provided by this specification, as Figure 2 shown, the system for scheduling and diverting user-side devices provided in this specification includes:
[0067] The user-side device 201 is used to send a connection request to the auto-configuration server;
[0068] The auto-configuration server 202 is used to receive the connection request and obtain the IP of the user-side device;
[0069] The auto-configuration server is further used to determine whether the IP is a first access. If the IP is a first access, the corresponding user-side device is verified. After the verification passes and the IP does not exist in the preset routing table, the optimal CWMP application is selected for response through the equalization weight parameter. If the IP is not a first access and the IP does not exist in the preset routing table, the optimal CWMP application is selected for response through the equalization weight parameter.
[0070] It should be noted that the above system may also include other implementation manners according to the description of the corresponding method embodiments. The specific implementation manners may refer to the description of the corresponding method embodiments above and will not be elaborated one by one here.
[0071] Embodiments of this application also provide an electronic device, including:
[0072] Processor;
[0073] A memory for storing executable instructions of the processor;
[0074] The processor is configured to execute the method provided in the above embodiments.
[0075] The electronic device provided in the embodiments of the present application stores the executable instructions of the processor through the memory. When the processor executes the executable instructions, it can obtain the connection request of the user-side device through the automatic configuration server and obtain the IP of the user-side device; if the IP is the first access, the corresponding user-side device is verified, and if the IP does not exist in the preset routing table after the verification passes, the optimal CWMP application is selected through the equalization weight parameter for response; if the IP is not the first access and the IP does not exist in the preset routing table, the optimal CWMP application is selected through the equalization weight parameter for response. It realizes the improvement of resource utilization while ensuring the session security between the automatic configuration server and the user-side device.
[0076] The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired results. Additionally, the processes depicted in the figures do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain implementations, multitasking and parallel processing are also possible or may be advantageous.
[0077] The embodiments of this specification are not limited to those that must conform to industry communication standards, standard computer resource data update and data storage rules, or the situations described in one or more embodiments of this specification. Some industry standards or implementation schemes obtained by slightly modifying the implementation based on the description of custom methods or embodiments can also achieve the same, equivalent, or similar, or predictable implementation effects after transformation as the above embodiments. The embodiments obtained by applying these modified or transformed data acquisition, storage, judgment, processing methods, etc. still fall within the scope of the optional implementation schemes of the embodiments of this specification.
[0078] The system embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or plugins can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the systems or units can be in electrical, mechanical, or other forms.
[0079] These computer program instructions can also be loaded onto a computer or other programmable resource data update device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process or multiple processes and / or one block or multiple blocks in the process Figure 1 one process or multiple processes and / or blocks Figure 1 or steps of the functions specified in multiple blocks.
[0080] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. The key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, reference can be made to the description of the method embodiment. In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples
[0081] Those of ordinary skill in the art will realize that the embodiments described herein are for helping the reader understand the principles of the present invention. It should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those of ordinary skill in the art can make various other specific deformations and combinations that do not depart from the essence of the present invention based on the technical revelations disclosed in the present invention, and these deformations and combinations are still within the protection scope of the present invention.
Claims
1. A method for scheduling and diverting user-side equipment, characterized in that: The method comprises: Obtaining a connection request from a user-side device through an automatic configuration server, and obtaining an IP address of the user-side device; If the IP is accessed for the first time, the corresponding user-side device is verified. If the IP does not exist in the preset routing table after the verification, the optimal CWMP application is selected to respond through the balancing weight parameter. The balancing weight parameter is specifically determined by the number of CWMP application server nodes, the number of node connections, and the tilt threshold; If the IP is not accessed for the first time and the IP does not exist in the preset routing table, the optimal CWMP application is selected to respond according to the balancing weight parameter; The method further includes automatically configuring the server to operate the specified user-side device, specifically including: Determine the designated CWMP application IP corresponding to the designated user-side device IP in the preset routing table, and if there is no routing relationship between the designated user-side device IP and the corresponding designated CWMP application in the preset routing table, determine the designated CWMP application by using the balancing weight parameter; Initiate a first connection request to the corresponding designated CWMP application by simulating the user-side device through the automatic configuration server; In response to the first connection request, a session connection is initiated to a designated user-side device through the designated CWMP application.
2. The method for scheduling and offloading user-side equipment according to claim 1, characterized in that: If the IP is accessed for the first time and exists in the preset routing table after verification, the corresponding CWMP application saved in the preset routing table is selected to respond. If the IP is not accessed for the first time and exists in the preset routing table, the corresponding CWMP application saved in the preset routing table is selected to respond.
3. The method for scheduling and offloading user-side equipment according to claim 1, characterized in that: The method further comprises updating the routing relationship between the IP of the user-side device and the CWMP application in the preset routing table and setting the effective time after the response is completed.
4. The method for scheduling and offloading user-side equipment according to claim 1, characterized in that: The method further includes periodically acquiring the operation data of the user-side device, specifically including: A connection is established between the designated CWMP application and the designated user-side device, and the connection is marked in the preset routing table, and the designated user-side device receives the operation data acquisition instruction sent by the designated CWMP application. In response to the operation data acquisition instruction, sending the operation data to the specified CWMP application through the specified user-side device; When the designated CWMP application receives the operation data, the scheduling module forwards the operation data to the designated server, and the designated server sends the received instruction to the automatic configuration server after receiving the operation data; In response to the received instruction, the automatic configuration server removes the corresponding mark in the routing table and updates the operation data in the routing table.
5. The method for scheduling and offloading user-side equipment according to claim 4, characterized in that: Each time the preset routing table is read, the effective duration of the routing relationship between the corresponding designated user-side device and the designated CWMP application is updated.
6. A system for scheduling and diverting user-side equipment, characterized in that: The system comprises: A user-side device, used to send a connection request to the automatic configuration server; An automatic configuration server, used to receive the connection request and obtain the IP address of the user-side device; The automatic configuration server is further used to determine whether the IP is accessed for the first time. If the IP is accessed for the first time, the corresponding user-side device is verified. If the IP does not exist in the preset routing table after the verification, the optimal CWMP application is selected to respond through the balancing weight parameter. If the IP is not accessed for the first time and the IP does not exist in the preset routing table, the optimal CWMP application is selected to respond through the balancing weight parameter. The balancing weight parameter is specifically determined by the number of nodes of each CWMP application server, the number of node connections, and the tilt threshold; The system further includes automatically configuring the server to operate the designated user-side device, specifically including: Determine the designated CWMP application IP corresponding to the designated user-side device IP in the preset routing table, and if there is no routing relationship between the designated user-side device IP and the corresponding designated CWMP application in the preset routing table, determine the designated CWMP application by using the balancing weight parameter; Initiate a first connection request to the corresponding designated CWMP application by simulating the user-side device through the automatic configuration server; In response to the first connection request, a session connection is initiated to a designated user-side device through the designated CWMP application.
Citation Information
Patent Citations
Remote control of equipment
US20190280912A1