A TR069-based ONU real-time management method and system
By sending a registration service instruction to the ACS server when the ONU is started, and using the mapping address of the penetrating server to realize the connection between the ONU and the ACS server, the problem that ONU cannot be managed in real time under the TR069 protocol is solved, and the implementation of the problem of not occupying a large number of server resources is achieved. Effective management of ONU under circumstances.
Patent Information
- Application Number
- CN202311516758.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2043-11-14
AI Technical Summary
The existing TR069 protocol is short connection, and ONU cannot be managed in real time after disconnecting from the ACS server, and maintaining a long connection will occupy a large amount of server resources.
By sending a registration service instruction to the ACS server when ONU is started, the ACS server selects the penetration server and sends its mapping address to ONU. When ONU starts, it uses the penetration address to connect to the ACS server, real-time management is achieved without consuming a large number of server resources. .
Real-time management of ONU without occupying a large amount of server resources is realized, reducing the impact of abnormal device access on the server, and ensuring network security.
Smart Images

Figure CN118301506B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a TR069-based ONU real-time management method and system. Background Art
[0002] TR069 is a communication protocol between CPE (Customer Premises Equipment) and ACS (AutoConfiguration Server). The connection method of TR069 is as follows: (1) Establish a TCP connection; (2) SSL is initialized to establish a security mechanism; (3) CPE sends an Inrorm message to start establishing a CWMP connection; (4) If the CPE passes the ACS authentication, the ACS returns an Inform response message and the connection is established; (5) If the CPE has no other request, it will send an empty message to meet the HTTP message request / response message interaction rules; (6) ACS queries the value of the ACS URL set on the CPE; (7) CPE replies the obtained ACS URL value to the ACS; (8) ACS finds that the ACS URL of the CPE is the value of the local URL, so it initiates a Set request to set the ACS URL of the CPE to the value of the backup ACS URL; (9) The setting is successful and the CPE sends a response message; (10) ACS sends an empty message to notify the CPE that there are no other requests; (11) CPE closes the connection.
[0003] From the above connection method, we can know that TR069 is a short connection, which will automatically disconnect after the communication is completed. When the ONU sends a request to the ACS server again, the ACS server cannot receive the ONU request because the ONU and the ACS server are in different networks and even blocked by a firewall. At this time, the ONU cannot be managed. If TR069 is kept in a long connection, it will occupy a relatively large amount of traffic, the cost is high, and it will occupy a large amount of server resources, and there is even a risk of dragging down the server. Therefore, how to manage the ONU without occupying a large amount of server resources is an urgent problem to be solved. Summary of the invention
[0004] In order to enable ONU to be managed without occupying a large amount of server resources, the present application provides an ONU real-time management method and system based on TR069.
[0005] In the first aspect, the present application provides an ONU real-time management method based on TR069, which adopts the following technical solution:
[0006] A TR069-based ONU real-time management method, comprising:
[0007] Send a registration service command to the ACS server when the ONU starts;
[0008] When the ACS server receives the registration service instruction, it selects a penetration server from a preset mapping library and configures the ACS server with the penetration server;
[0009] The ACS mapping address is determined according to the mapping server and sent to the ONU.
[0010] By adopting the above technical solution, when the ONU starts a short connection with the ACS server, the ACS server can transmit the penetration address to the ONU. After the short connection between the ONU and the ACS server ends, if the ONU is started again, the penetration address can be used to connect to the ACS server, so that information can be transmitted, so that the ONU can be managed while occupying a large amount of server resources.
[0011] Optionally, when the ONU sends a registration service instruction to the ACS server when the ONU starts, the TR069-based ONU real-time management method further includes:
[0012] Synchronously send passive device information to the ACS server, where the passive device information includes device ID information and device basic information;
[0013] Determine whether the device ID information is in the preset license registration library;
[0014] If the device ID information is not in the license registration library, no action is taken;
[0015] If the device ID information is in the permitted registration database, the registration is completed to establish a transient connection channel, and the ACS mapping address is sent to the ONU through the transient connection channel.
[0016] By adopting the above technical solution, the number of abnormal devices accessing the corresponding server can be reduced, thereby ensuring network security.
[0017] Optionally, the step of selecting a penetration server in a preset mapping library includes:
[0018] Determine the transmission interval duration in the basic device information;
[0019] Establishing a fixed interval on a preset time axis according to a preset fixed duration, and making the front end of the fixed interval coincide with the current time point;
[0020] Determine the connection time point in a fixed interval according to the transmission interval, and obtain the number of device connections of the mapping server configured with the ACS server at the connection time point in the mapping library;
[0021] Under a single mapping server, the number of device connections with the largest value is determined according to a preset sorting rule, and the number of device connections is defined as the load extreme value number;
[0022] Determine whether the number of extreme load values is greater than the preset number of influences;
[0023] If the number of extreme values carried is greater than the number of impacts, the mapping server is defined as an abnormal server;
[0024] If the number of extreme values carried is not greater than the number of impacts, the mapping server is defined as a normal server;
[0025] A unique normal server is determined as a penetration server among normal servers according to a preset selection rule.
[0026] By adopting the above technical solution, the number of devices that need to use the penetration server in a short period of time can be determined, so as to determine the appropriate penetration server to reduce the occurrence of network address access jams.
[0027] Optionally, after the abnormal server and the normal server are determined, the TR069-based ONU real-time management method further includes:
[0028] Determine whether there is a normal server;
[0029] If there is a normal server, the penetration server is determined according to the selection rule;
[0030] If there is no normal server, the connection time point when the number of device connections is greater than the number of affected devices in the abnormal server is defined as a busy time point;
[0031] Count the busy time points to determine the number of busy servers;
[0032] The busy number of the server with the smallest value is determined according to the sorting rule, and the abnormal server corresponding to the busy number of the server is determined as the penetration server.
[0033] By adopting the above technical solution, when there is bound to be a situation where device information access is stuck, the server with the least number of stuck times is selected for use.
[0034] Optionally, after the number of busy servers is determined, the TR069-based ONU real-time management method further includes:
[0035] On the time axis, a unit interval is established with a busy time point as the starting point and a preset unit duration;
[0036] Count the busy time points in the unit interval to determine the number of busy times in the interval;
[0037] Determine the transmission pressure parameter corresponding to the number of busy intervals according to the preset pressure matching relationship;
[0038] Determine the transmission pressure parameter with the largest value according to the sorting rule, and define the transmission pressure parameter as the upper limit pressure parameter;
[0039] The correction parameter corresponding to the upper limit pressure parameter is determined according to the preset correction matching relationship, and the busy number of the server is corrected and updated according to the correction parameter.
[0040] By adopting the above technical solution, the number of busy servers is updated according to the specific jamming situation, so that the selected penetration server can be used more effectively.
[0041] Optionally, the step of determining a unique normal server as a penetration server according to a preset selection rule includes:
[0042] Get the continuous usage time of each normal server;
[0043] The remaining available time is calculated based on the preset allowed usage time and continuous usage time;
[0044] The selection parameters are determined by calculating the remaining available time, the number of load extremes, and the preset weight ratio;
[0045] The selection parameter with the largest value is determined according to the sorting rule, and the normal server corresponding to the selection parameter is determined as the penetration server.
[0046] By adopting the above technical solution, a more appropriate penetration server can be selected for use according to the specific sleep status of the server.
[0047] Optionally, after the remaining available time is determined, the TR069-based ONU real-time management method further includes:
[0048] On the time axis, a variation interval with a width equal to the remaining available time is established with the current time point as the rear end point;
[0049] Determine the number of devices to be added according to the registration service instructions within the change range;
[0050] Determine the value-added modification coefficient corresponding to the increased number of equipment according to the preset increase matching relationship;
[0051] The load-bearing extreme value quantity is corrected and updated according to the value-added modification coefficient, and the updated load-bearing extreme value quantity is used to determine the selection parameters.
[0052] By adopting the above technical solution, the equipment conditions that may be added within the remaining available time can be determined to update the number of extreme load values, so that the subsequent selected penetration server can be used more effectively.
[0053] In the second aspect, the present application provides an ONU real-time management system based on TR069, which adopts the following technical solution:
[0054] An ONU real-time management system based on TR069, comprising:
[0055] The registration sending module sends a registration service instruction to the ACS server when the ONU starts;
[0056] A penetration configuration module, which selects a penetration server from a preset mapping library when the ACS server receives a registration service instruction, and configures the ACS server with the penetration server;
[0057] The address sending module determines the ACS mapping address according to the mapping server and sends the ACS mapping address to the ONU.
[0058] By adopting the above technical solution, when the ONU starts to establish a short connection with the ACS server, the address sending module ACS server can transmit the penetration address to the ONU. After the short connection between the ONU and the ACS server ends, if the ONU is started again, the penetration address can be used to connect to the ACS server, so that information can be transmitted, so that the ONU can be managed while occupying a large amount of server resources.
[0059] In summary, the present application includes at least one of the following beneficial technical effects:
[0060] After the ONU is connected to the ACS server for the first time, a penetration address can be generated and sent to the ONU. When the ONU is started again, the ACS server can be accessed through the penetration address, thereby enabling the ONU to be managed while occupying a large amount of server resources.
[0061] You can choose a more appropriate penetration server to use according to the specific situation of information access to reduce the lag in the access process;
[0062] The penetration server can be analyzed and selected according to the specific sleep status of the server, and a more suitable penetration server can be selected for use to achieve a better overall effect of ONU management. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a flow chart of the ONU real-time management method based on TR069.
[0064] Figure 2It is a flow chart of a passive device registration and authentication method.
[0065] Figure 3 It is a flow chart of a method for analyzing data transmission jams.
[0066] Figure 4 is a flow chart of an abnormal server selection method.
[0067] Figure 5 The following is a flow chart of a method for updating the number of busy servers.
[0068] Figure 6 is a flow chart of the penetration server selection method.
[0069] Figure 7 It is a flow chart of the method for updating the number of extreme values.
[0070] Figure 8 It is a module flow chart of the TR069-based ONU real-time management method. Implementation
[0071] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-8 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0072] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0073] The embodiment of the present application discloses a real-time management method for ONUs based on TR069. When the ONU is started to connect to the ACS server for the first time, a unique penetration server is selected for use according to the specific situation of the mapping server in the mapping library. At this time, the ACS server can send the penetration address of the penetration server to the ONU. When the ONU is started again later, a connection can be established with the ACS server through the penetration address, thereby enabling the ONU to be managed while occupying a large amount of server resources.
[0074] Reference Figure 1 The method flow of the TR069-based ONU real-time management method includes the following steps:
[0075] Step S100: When the ONU starts, a registration service instruction is sent to the ACS server.
[0076] The registration service instruction is an instruction that the ONU automatically initiates to the ACS server when the ONU starts, that is, a network registration instruction.
[0077] Step S101: When the ACS server receives a registration service instruction, it selects a penetration server from a preset mapping library and configures the ACS server with the penetration server.
[0078] The mapping library is a storage library with multiple mapping servers. The penetration server is a port server that performs mapping penetration processing on the current ACS server. The ACS server and the penetration server are configured to map the address of the ACS server to the penetration server.
[0079] Step S102: Determine an ACS mapping address according to the mapping server and send the ACS mapping address to the ONU.
[0080] The ACS mapping address is the address of the penetration server. When the ACS mapping address is sent to the ONU so that the ONU automatically disconnects and then restarts, the ACS mapping address can be used to address the penetration server. At this time, a connection channel can be established with the ACS through the penetration server, so as to establish a real-time and effective connection with the ACS server without being affected by the firewall, so that the ACS server can obtain the ONU data, thereby facilitating the management of the ONU.
[0081] Reference Figure 2 When the ONU starts up, when sending a registration service instruction to the ACS server, the TR069-based ONU real-time management method further includes:
[0082] Step S200: synchronously sending passive device information to the ACS server, wherein the passive device information includes device ID information and device basic information.
[0083] The device ID information is the SSID information, which is the identity information of the device. The basic device information is the information containing the basic values of the device, such as IP address, voltage, current, etc.
[0084] Step S201: Determine whether the device ID information is in the preset license registration library.
[0085] The license registration library is a collection of device ID information consisting of genuine ONUs set by the staff. The purpose of the judgment is to know whether the ONU currently connected to the network is genuine.
[0086] Step S2011: If the device ID information is not in the license registration library, no action is taken.
[0087] When the device ID information is not in the license registration database, it indicates that it is a pirated ONU, and the network registration operation will not be performed at this time.
[0088] Step S2012: If the device ID information is in the permitted registration database, the registration is completed to establish a transient connection channel, and the ACS mapping address is sent to the ONU through the transient connection channel.
[0089] When the device ID information is in the licensed registration library, it indicates that it is a genuine ONU device. At this time, the registration and network access operation is performed normally so that a short connection channel for data transmission can be established between the ONU and the ACS server. The short connection channel can only exist for a short period of time, and the specific duration is consistent with the short connection formed by TR069. The ACS mapping address can be sent to the ONU using the short connection channel, so that the subsequent ONU can be addressed and connected according to the ACS mapping address.
[0090] Reference Figure 3 The steps of selecting a penetration server in a preset mapping library include:
[0091] Step S300: Determine the transmission interval duration in the device basic information.
[0092] The transmission interval is the interval at which the information of the ONU device needs to be sent to the ACS server under normal circumstances, that is, the transmission interval is determined according to the frequency of information sending of the ONU device, for example, once every 5 minutes.
[0093] Step S301: establishing a fixed interval on a preset time axis according to a preset fixed duration, and making the front end of the fixed interval coincide with the current time point.
[0094] The time axis is a coordinate axis formed by the combination of various time points. The fixed duration is a fixed duration set by the staff. By establishing a fixed interval, data within a fixed duration after the current time point can be collected and acquired, which is convenient for subsequent analysis steps.
[0095] Step S302: determining a connection time point in a fixed interval according to the transmission interval, and obtaining the number of device connections of the mapping server configured with the ACS server at the connection time point in the mapping library.
[0096] The connection time point is the time point when the current ONU device needs to re-establish a connection with the ACS server after the current time point. For example, if the fixed interval is 1 hour, the transmission interval is 5 minutes, and the current time point is 1:00, the connection time points are 1:05, 1:10…2:00 respectively; the number of device connections is the number of ONU devices that the mapping server that has been configured with the ACS server in the mapping library will connect to at the connection time point, that is, the total number of ONU devices that will be connected to the ACS server through a mapping server at the connection time point, which can be obtained by determining the connection time point of each ONU device.
[0097] Step S303: determining the maximum number of device connections under a single mapping server according to a preset sorting rule, and defining the maximum number of device connections as the load-bearing extreme value.
[0098] The sorting rule is a method set by the staff to sort the size of values, such as the bubble sort method. The sorting rule can be used to know the number of device connections with the largest value, that is, the maximum number of devices that will call the mapping server at the same time at all connection time points in a fixed interval. At this time, the number of extreme values is defined to mark the information for subsequent analysis.
[0099] Step S304: Determine whether the number of extreme load values is greater than a preset number of influences.
[0100] The impact quantity is the minimum load limit quantity set by the staff at a single time point that will cause the ONU device connection to be stuck. The purpose of the judgment is to find out whether the current ONU device is likely to be stuck when using the mapping server for penetration service.
[0101] Step S3041: If the number of extreme values of loads is greater than the number of impacts, the mapping server is defined as an abnormal server.
[0102] When the number of extreme values of load bearing is greater than the number of impacts, it indicates that the use of the ONU device will be stuck within a fixed time. At this time, the mapping server is defined as an abnormal server for identification to facilitate subsequent analysis.
[0103] Step S3042: If the number of extreme values carried is not greater than the number of influences, the mapping server is defined as a normal server.
[0104] When the number of extreme values of load is not greater than the number of impacts, it indicates that there will be little lag in the use of the ONU device within a fixed time. At this time, the mapping server is defined as a normal server for identification, which is convenient for subsequent analysis.
[0105] Step S305: Determine a unique normal server as the penetration server among normal servers according to a preset selection rule.
[0106] The selection rule is a method for selecting a unique option from multiple options, such as a random selection method. The specific selection rules are described below and will not be repeated here. The selection rule can be used to select a unique normal server from the normal servers as the penetration server, so that the called penetration server is not prone to lag when the ONU device starts to connect to the ACS server.
[0107] Reference Figure 4After the abnormal server and the normal server are determined, the TR069-based ONU real-time management method further includes:
[0108] Step S400: Determine whether there is a normal server.
[0109] The purpose of the judgment is to know whether a penetration server can be selected among normal servers.
[0110] Step S4001: If a normal server exists, determine the penetration server according to the selection rule.
[0111] When a normal server exists, it means that a penetration server can be selected from the normal servers. In this case, the penetration server can be determined according to the selection rule.
[0112] Step S4002: If there is no normal server, a connection time point at which the number of device connections is greater than the number of impacts in the abnormal server is defined as a busy time point.
[0113] When there is no normal server, it means that the penetration server cannot be selected from the normal servers. At this time, the penetration server determination method needs to be re-determined; the busy time point is the connection time point when the number of device connections in the abnormal server is greater than the affected number. The busy time point is defined to distinguish different connection time points, which is convenient for subsequent analysis steps.
[0114] Step S401: Count the busy time points to determine the number of busy servers.
[0115] The server busy count is the total number of busy time points in the server, that is, the total number of times that lag may occur.
[0116] Step S402: determining the server busy number with the smallest value according to the sorting rule, and determining the abnormal server corresponding to the server busy number as the penetration server.
[0117] The sorting rules are used to determine the server busy number with the smallest value, so that the abnormal server corresponding to the server busy number is determined as the penetration server, so that the penetration server can reduce the jamming as much as possible during use.
[0118] Reference Figure 5 After the number of busy servers is determined, the TR069-based ONU real-time management method further includes:
[0119] Step S500: Establish a unit interval on the time axis with the busy time point as the starting point and the preset unit duration.
[0120] The unit duration is a fixed duration set by the staff. The unit duration is much smaller than the fixed duration. The unit interval is established to facilitate the acquisition of server usage data after the busy time point, which is convenient for subsequent analysis.
[0121] Step S501: Count the busy time points in a unit interval to determine the busy quantity of the interval.
[0122] The interval busy number is the number of busy time points contained in the unit interval, and can be obtained by counting the busy time points in the unit interval one by one.
[0123] Step S502: Determine the transmission pressure parameter corresponding to the busy number of the interval according to the preset pressure matching relationship.
[0124] The greater the number of busy intervals, the more serious the jamming in a short period of time, and the greater the data transmission pressure caused. The transmission pressure parameter is a parameter that reflects the data transmission pressure. The larger the value, the more difficult the data transmission is. The pressure matching relationship between the two is determined by the staff through multiple tests in advance.
[0125] Step S503: determining the transmission pressure parameter with the largest value according to the sorting rule, and defining the transmission pressure parameter as the upper limit pressure parameter.
[0126] The maximum pressure condition that may occur during the use of the server can be determined through the sorting rules. At this time, it is defined as the upper limit pressure parameter to distinguish different transmission pressure parameters, which is convenient for subsequent analysis.
[0127] Step S504: determining a correction parameter corresponding to the upper limit pressure parameter according to a preset correction matching relationship, and correcting and updating the server busy number according to the correction parameter.
[0128] The correction parameter is a parameter used to update the number of busy servers. During the server selection process, servers with smaller upper limit pressure parameters should be selected as much as possible. Therefore, the selection of servers needs to be affected by the upper limit pressure parameter. When the upper limit pressure parameter is larger, the correction parameter is also larger to achieve a large update of the number of busy servers. The correction matching relationship between the two is determined in advance by the staff; the number of busy servers can be updated by adding the correction parameter.
[0129] Reference Figure 6 , the steps of determining the only normal server as the penetration server according to the preset selection rule include:
[0130] Step S600: Obtain the continuous usage time of each normal server.
[0131] The continuous use duration is the duration of continuous operation of the currently determined normal server, that is, the interval from the end of the last sleep of the server to the current time point.
[0132] Step S601: Calculate the remaining available time based on the preset allowed usage time and continuous usage time.
[0133] The allowed usage time is the time from the end of the last hibernation of each server to the time when it needs to hibernate again. The remaining available time is the time that can be used before the next hibernation, which is determined by subtracting the continuous usage time from the allowed usage time.
[0134] Step S602: Calculate and determine the selection parameters according to the remaining available time, the number of extreme loads, and the preset weight ratio.
[0135] The weight ratio is the ratio between the remaining available time and the number of load extremes set in advance by the staff, for example, the remaining available time accounts for 50% and the number of load extremes accounts for 50%. The specific setting is made by the staff according to the actual situation; the remaining available time multiplied by the corresponding ratio minus the number of load extremes multiplied by the corresponding ratio is used to obtain the selection parameter. The selection parameter reflects the suitability of selecting the server. The larger the parameter, the more suitable it is.
[0136] Step S603: Determine the selection parameter with the largest value according to the sorting rule, and determine the normal server corresponding to the selection parameter as the penetration server.
[0137] The selection parameter with the largest value can be determined through the sorting rule, that is, the normal server corresponding to the selection parameter is determined as the penetration server, so that the overall effect is better.
[0138] Reference Figure 7 After the remaining available time is determined, the TR069-based ONU real-time management method further includes:
[0139] Step S700: Establishing a variation interval with a width equal to the remaining available time length on the time axis with the current time point as the rear end point.
[0140] By establishing a change interval, data on a single server within the remaining available time can be obtained, which is convenient for subsequent analysis.
[0141] Step S701: Determine the number of devices to be added according to the registration service instruction within the change interval.
[0142] The number of devices added is the number of devices newly registered within the change interval and connected to the server through penetration, which can be determined by the penetration server configured after the registration service instruction is accepted.
[0143] Step S702: Determine the value-added modification coefficient corresponding to the increased number of devices according to the preset increase matching relationship.
[0144] The value-added modification coefficient is the number of devices that may be added to the server and affect the connection time point within the remaining available time after the current time point. Different number of added devices correspond to different value-added modification coefficients, and the increase matching relationship between the two is determined in advance by the staff.
[0145] Step S703: Correct and update the load-bearing extreme value quantity according to the value-added modification coefficient, and use the updated load-bearing extreme value quantity to determine the selection parameter.
[0146] The value-added modification coefficient plus the number of extreme values of the bearer can be used to update the number of extreme values of the bearer, and the subsequent number of extreme values of the bearer is used to select parameters to determine that the selected penetration server is more appropriate, thereby achieving a better overall effect of managing the ONU.
[0147] Reference Figure 8 Based on the same inventive concept, an embodiment of the present invention provides an ONU real-time management system based on TR069, including:
[0148] The registration sending module sends a registration service instruction to the ACS server when the ONU starts;
[0149] A penetration configuration module, which selects a penetration server from a preset mapping library when the ACS server receives a registration service instruction, and configures the ACS server with the penetration server;
[0150] An address sending module determines an ACS mapping address according to the mapping server and sends the ACS mapping address to the ONU;
[0151] The registration and authentication module is used to authenticate the ONU applying for registration;
[0152] The jam analysis module is used to analyze the jam situation of each mapping server in order to select a more appropriate penetration server for use;
[0153] An abnormal selection module selects a penetration server from abnormal servers when there is no normal server.
[0154] The busy number update module updates the server busy number according to the specific pressure of data transmission;
[0155] The penetration server selection module determines the only suitable penetration server based on the server freezing and sleep conditions;
[0156] The load extreme value quantity update module predicts the devices that will be added to the server within the remaining available time to update the load extreme value quantity.
[0157] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
Claims
1. A TR069-based ONU real-time management method, characterized in that: include: Send a registration service command to the ACS server when the ONU starts; When the ACS server receives the registration service instruction, it selects a penetration server from a preset mapping library and configures the ACS server with the penetration server; Determine the ACS mapping address according to the mapping server, and send the ACS mapping address to the ONU after the ACS mapping address is determined, wherein the mapping library has multiple mapping servers; When the ONU starts up, the ONU real-time management method based on TR069 further includes: Synchronously send passive device information to the ACS server, where the passive device information includes device ID information and device basic information; Determine whether the device ID information is in the preset license registration library; If the device ID information is not in the license registration library, no action is taken; If the device ID information is in the license registration database, the registration is completed to establish a transient connection channel, and the ACS mapping address is sent to the ONU through the transient connection channel; The steps of selecting a pass-through server in the preset mapping library include: Determine the transmission interval duration in the basic device information; Establishing a fixed interval on a preset time axis according to a preset fixed duration, and making the front end of the fixed interval coincide with the current time point; Determine the connection time point in a fixed interval according to the transmission interval length, and obtain the number of device connections of the mapping server configured with the ACS server at the connection time point in the mapping library; Under a single mapping server, the number of device connections with the largest value is determined according to a preset sorting rule, and the number of device connections is defined as the load extreme value number; Determine whether the number of extreme load values is greater than the preset number of influences; If the number of extreme values carried is greater than the number of impacts, the mapping server is defined as an abnormal server; If the number of extreme values carried is not greater than the number of impacts, the mapping server is defined as a normal server; Determine a unique normal server as a penetration server among normal servers according to a preset selection rule; After the abnormal server and the normal server are determined, the TR069-based ONU real-time management method further includes: Determine whether there is a normal server; If there is a normal server, the penetration server is determined according to the selection rule; If there is no normal server, the connection time point when the number of device connections is greater than the number of affected devices in the abnormal server is defined as a busy time point; Count the busy time points to determine the number of busy servers; Determine the number of busy servers with the smallest value according to the sorting rule, and determine the abnormal server corresponding to the number of busy servers as the penetration server; The steps of determining the only normal server as the penetration server according to the preset selection rules include: Get the continuous usage time of each normal server; The remaining available time is calculated based on the preset allowed usage time and continuous usage time; The selection parameters are determined by calculating the remaining available time, the number of load extremes, and the preset weight ratio; The selection parameter with the largest value is determined according to the sorting rule, and the normal server corresponding to the selection parameter is determined as the penetration server.
2. The TR069-based ONU real-time management method according to claim 1, characterized in that: After the number of busy servers is determined, the TR069-based ONU real-time management method further includes: On the time axis, a unit interval is established with a busy time point as the starting point and a preset unit duration; Count the busy time points in the unit interval to determine the number of busy times in the interval; Determine the transmission pressure parameter corresponding to the number of busy intervals according to the preset pressure matching relationship; Determine the transmission pressure parameter with the largest value according to the sorting rule, and define the transmission pressure parameter as the upper limit pressure parameter; The correction parameter corresponding to the upper limit pressure parameter is determined according to the preset correction matching relationship, and the busy number of the server is corrected and updated according to the correction parameter.
3. The TR069-based ONU real-time management method according to claim 2, characterized in that: After the remaining available time is determined, the TR069-based ONU real-time management method further includes: On the time axis, a variation interval with a width equal to the remaining available time is established with the current time point as the rear end point; Determine the number of devices to be added according to the registration service instructions within the change range; Determine the value-added modification coefficient corresponding to the increased number of equipment according to the preset increase matching relationship; The load-bearing extreme value quantity is corrected and updated according to the value-added modification coefficient, and the updated load-bearing extreme value quantity is used to determine the selection parameters.
4. A TR069-based ONU real-time management system, characterized in that: include: The registration sending module sends a registration service instruction to the ACS server when the ONU starts; A penetration configuration module, which selects a penetration server from a preset mapping library when the ACS server receives a registration service instruction, and configures the ACS server with the penetration server; An address sending module determines an ACS mapping address according to a mapping server, and sends the ACS mapping address to the ONU after the ACS mapping address is determined, wherein the mapping library has multiple mapping servers; The registration and authentication module is used to authenticate the ONU applying for registration; The jam analysis module is used to analyze the jam situation of each mapping server; An abnormal selection module selects a penetration server from abnormal servers when there is no normal server. When the ONU starts up, it sends a registration service instruction to the ACS server and simultaneously sends passive device information to the ACS server, wherein the passive device information includes device ID information and basic device information; Determine whether the device ID information is in the preset license registration library; If the device ID information is not in the license registration library, no action is taken; If the device ID information is in the license registration database, the registration is completed to establish a transient connection channel, and the ACS mapping address is sent to the ONU through the transient connection channel; The steps of selecting a pass-through server in the preset mapping library include: Determine the transmission interval duration in the basic device information; Establishing a fixed interval on a preset time axis according to a preset fixed duration, and making the front end of the fixed interval coincide with the current time point; Determine the connection time point in a fixed interval according to the transmission interval length, and obtain the number of device connections of the mapping server configured with the ACS server at the connection time point in the mapping library; Under a single mapping server, the number of device connections with the largest value is determined according to a preset sorting rule, and the number of device connections is defined as the load extreme value number; Determine whether the number of extreme load values is greater than the preset number of influences; If the number of extreme values carried is greater than the number of impacts, the mapping server is defined as an abnormal server; If the number of extreme values carried is not greater than the number of impacts, the mapping server is defined as a normal server; Determine a unique normal server as a penetration server among normal servers according to a preset selection rule; After the abnormal server and the normal server are determined, determine whether there is a normal server; If there is a normal server, the penetration server is determined according to the selection rule; If there is no normal server, the connection time point when the number of device connections is greater than the number of affected devices in the abnormal server is defined as a busy time point; Count the busy time points to determine the number of busy servers; Determine the number of busy servers with the smallest value according to the sorting rule, and determine the abnormal server corresponding to the number of busy servers as the penetration server; The steps of determining the only normal server as the penetration server according to the preset selection rules include: Get the continuous usage time of each normal server; The remaining available time is calculated based on the preset allowed usage time and continuous usage time; The selection parameters are determined by calculating the remaining available time, the number of load extremes, and the preset weight ratio; The selection parameter with the largest value is determined according to the sorting rule, and the normal server corresponding to the selection parameter is determined as the penetration server.
Citation Information
Patent Citations
Pon system and optical network unit
CN101072144A
Passive optical network management method, device and system
CN103378979A
Method, device and system for binding customer information and equipment
CN107294755A
Stateless load balancing of connections
US20140330976A1
