Terminal node traffic management method, system, device and medium
By monitoring and feedbacking traffic information in real time, and combining the preset network traffic value of the central node, the network traffic limit value of the terminal node is configured and corrected, solving the problem of low real-time and accuracy of network traffic control in the existing technology, and achieving efficient and accurate traffic management.
Patent Information
- Application Number
- CN202211339073.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-10-28
AI Technical Summary
In the case where the number of networks and terminals is very large, it is difficult to ensure the real-time and accuracy of network traffic control.
The terminal node monitors its own traffic in real time, and feeds the traffic information to the central node, and configures and corrects the network traffic limit value of the terminal node according to the preset network traffic value to realize real-time traffic control.
It improves the real-time and accuracy of traffic control of the central node for terminal nodes, reduces the delay in network traffic control, and is suitable for upgrading and transformation of various scenarios, especially for scenarios where network traffic needs to be billed.
Smart Images

Figure CN115695322B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic management, and specifically to a terminal node traffic management method, system, device and medium. Background Art
[0002] With the rapid development of the Internet of Things industry, more and more terminal devices are beginning to access the Internet. Depending on the terminal's purpose and network access technology, and limited by the total network resources and costs, many scenarios require the control of the terminal's network traffic.
[0003] In related technologies, in order to monitor and manage the network traffic of terminal devices, it is usually adopted to add network traffic monitoring capabilities in gateway devices and cloud servers, thereby achieving centralized control of all terminal network traffic.
[0004] Although the above method can realize the unified and reasonable allocation of network resources enjoyed by all terminals, and allow business managers to clearly know the allocation of network resources of all terminals, thus achieving efficient management and decision-making. However, under the condition of small network and terminal scale, this kind of method can usually achieve very good results and performance. Once the number of networks and terminals is very large, it is difficult to guarantee the real-time and accuracy of its network traffic control.
[0005] Application Contents
[0006] In view of the above-mentioned shortcomings of the prior art, the present application provides a terminal node traffic management method, system, device and medium product to solve the problems of low real-time performance and accuracy of the above-mentioned network traffic management method.
[0007] In a first aspect, the present application provides a terminal node traffic management method, comprising:
[0008] Get the preset network traffic value of the central node;
[0009] The network traffic limit value of the terminal node corresponding to the central node is configured according to the preset network traffic value, and stored in each terminal node;
[0010] Monitor the real-time traffic of each terminal node. If it is detected that the terminal node reaches the configured network traffic limit, suspend the current traffic and feed back the current traffic information of the terminal node to the central node;
[0011] In response to the current flow information of the terminal node, checking the flow information;
[0012] If the verification is passed, the network service of the current terminal node is closed;
[0013] If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to the pre-correction strategy.
[0014] In one embodiment of the present application, the central node further includes:
[0015] If it is monitored that the network traffic value of the central node exceeds the preset network traffic limit value, a traffic limit request is sent to each of the terminal nodes;
[0016] In response to the traffic request, each of the terminal nodes uploads current traffic information, wherein the traffic information includes a network traffic value and a network traffic limit value;
[0017] Verifying the flow information of each terminal node respectively;
[0018] If the verification is passed, the network service of the current terminal node is closed;
[0019] If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to the pre-correction strategy.
[0020] In one embodiment of the present application, before configuring the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, it also includes: if the central node adjusts the network traffic limit value of the corresponding terminal node according to business needs, the modified network traffic limit value is synchronized to the corresponding terminal node until the limit value adjustment takes effect after the synchronization is completed.
[0021] In one embodiment of the present application, the real-time traffic of each terminal node is monitored, including: the terminal node records its own traffic in real time, determines the real-time traffic of the terminal node and stores it; and synchronously transmits the real-time traffic to the central node for storage according to a preset time limit.
[0022] In one embodiment of the present application, before monitoring the real-time traffic of each terminal node, it also includes: triggering an authentication request deployed on the terminal node, accessing the central node for authentication authorization based on the authentication request; authorizing the authentication according to the authentication information of the authentication request by a preset authentication center. If the authentication authorization passes, the terminal node obtains the initial network traffic limit value from the central node and determines that the activation is successful; if the authentication authorization fails, it is determined that the activation has failed.
[0023] In one embodiment of the present application, before obtaining the preset network traffic value of the central node, it also includes: after the deployment of the central node is completed, each of the terminal nodes is initialized and configured to determine the initial network traffic limit value of each of the terminal nodes; after each of the terminal nodes is activated, data communication is started between the central node and the terminal node to realize the collection and transmission of the terminal node traffic data.
[0024] In one embodiment of the present application, data synchronization and signaling transmission between the terminal node and the central node construct a dedicated data channel and are not included in network traffic management.
[0025] In a second aspect, the present application provides a terminal node traffic management system, including:
[0026] An acquisition module is used to obtain a preset network flow value of a central node;
[0027] A configuration module, configured to configure the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, and store it in each of the terminal nodes;
[0028] A traffic management module is used to monitor the real-time traffic of each terminal node. If it is detected that the terminal node reaches the configured network traffic limit, the current traffic is suspended and the traffic information of the current terminal node is fed back to the central node;
[0029] A flow verification module, configured to verify the flow information in response to the flow information of the current terminal node;
[0030] If the verification is passed, the network service of the current terminal node is closed;
[0031] If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to the pre-correction strategy.
[0032] In a third aspect, the present application provides an electronic device, including:
[0033] one or more processors;
[0034] A storage device is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the above-mentioned terminal node traffic management method.
[0035] In a fourth aspect, the present application provides a computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor of a computer, enables the computer to execute the above-mentioned terminal node traffic management method.
[0036] The beneficial effects of the present application are as follows: by monitoring the terminal node's own traffic in real time and feeding back the traffic to the central node, the real-time and accuracy of the central node's traffic control over the terminal node are improved; at the same time, there is no need to increase the investment in any hardware equipment, nor to change any network architecture and network equipment, and it can be applied to upgrades and renovations in various scenarios; it is particularly suitable for scenarios where network traffic needs to be charged.
[0037] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 is a flow chart of a terminal node traffic management method shown in an exemplary embodiment of the present application;
[0040] Figure 2 is a structural block diagram of a terminal node traffic management system shown in an exemplary embodiment of the present application;
[0041] Figure 3 is a block diagram of a central node structure shown in an exemplary embodiment of the present application;
[0042] Figure 4 is a terminal node structure block diagram shown in an exemplary embodiment of the present application;
[0043] Figure 5 is a structural block diagram of a terminal node traffic management system shown in an exemplary embodiment of the present application;
[0044] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0045] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0046] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0047] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0048] Currently, there is a large delay in the statistical control of terminal traffic by network equipment and cloud modules, and the operator-level system usually has a delay of several minutes to an hour. Under the current conditions of faster and faster network speeds, this control delay will lead to serious over-limit of terminal usage, which in turn leads to serious problems in billing, permissions, etc.
[0049] To solve the above problems, see Figure 1 , is a flow chart of a terminal node traffic management method shown in an exemplary embodiment of the present application, which is described in detail as follows:
[0050] Step S110, obtaining a preset network flow value of the central node;
[0051] Specifically, the central node is connected to each terminal node through the network, and one central node is at least connected to multiple terminal nodes. Here, the preset network traffic value corresponding to the central node is allocated to each terminal node, and here, the network traffic supervision between the central node and the terminal node does not need to add a network traffic monitoring capability to the gateway device or cloud server to centrally manage the network traffic.
[0052] It should also be noted that the preset network traffic value is the network traffic of the central node initially configured by the host computer or the user, which is similar to a telephone card in the telecommunications field, which corresponds to a traffic package, that is, a preset network traffic value.
[0053] Step S120, configuring the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, and storing it in each of the terminal nodes;
[0054] Specifically, the central node configures the network traffic quota value of its terminal nodes according to business requirements, and saves the configured network traffic quota value to each of the terminal nodes accordingly.
[0055] Step S130, monitoring the real-time traffic of each terminal node, if it is monitored that the terminal node reaches the configured network traffic limit value, suspending the current traffic, and feeding back the current traffic information of the terminal node to the central node;
[0056] Specifically, real-time monitoring is performed through the terminal nodes, and the central node only needs to receive the monitoring results, thereby avoiding the real-time collection of network traffic of each terminal node through the central node.
[0057] Step S140, in response to the current flow information of the terminal node, checking the flow information;
[0058] Step S150, if the verification is passed, closing the network service of the current terminal node;
[0059] Step S160: If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to a pre-correction strategy.
[0060] Through the above method, the terminal network traffic control method with greatly reduced delay can realize real-time and accurate terminal network traffic control for all terminals.
[0061] In this embodiment, the terminal node monitors its own traffic in real time and feeds back to the central node, thereby improving the real-time and accuracy of the central node's traffic control over the terminal node; at the same time, there is no need to increase the investment in any hardware equipment, nor to change any network architecture and network equipment, and it can be applied to upgrades and renovations in various scenarios; it is particularly suitable for scenarios that require billing based on network traffic.
[0062] It should be noted that the central node also includes:
[0063] If it is monitored that the network traffic value of the central node exceeds the preset network traffic limit value, a traffic limit request is sent to each of the terminal nodes;
[0064] In response to the traffic request, each of the terminal nodes uploads current traffic information, wherein the traffic information includes a network traffic value and a network traffic limit value;
[0065] Verifying the flow information of each terminal node respectively;
[0066] If the verification is passed, the network service of the current terminal node is closed;
[0067] If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to the pre-correction strategy.
[0068] In other embodiments, before configuring the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, it also includes: if the central node adjusts the network traffic limit value of the corresponding terminal node according to business needs, the modified network traffic limit value is synchronized to the corresponding terminal node until the limit value adjustment takes effect after the synchronization is completed.
[0069] In other embodiments, monitoring the real-time traffic of each terminal node includes: the terminal node records its own traffic in real time, determines the real-time traffic of the terminal node and stores it; and synchronously transmits the real-time traffic to the central node for storage according to a preset time limit.
[0070] In other embodiments, before monitoring the real-time traffic of each terminal node, it also includes: triggering an authentication request deployed on the terminal node, accessing the central node for authentication authorization based on the authentication request; authorizing the authentication according to the authentication information of the authentication request by a preset authentication center, if the authentication authorization passes, the terminal node obtains the initial network traffic limit value from the central node, and determines that the activation is successful; if the authentication authorization fails, it is determined that the activation has failed.
[0071] In other embodiments, before obtaining the preset network traffic value of the central node, it also includes: after the central node is deployed, each of the terminal nodes is initialized and configured to determine the initial network traffic limit value of each of the terminal nodes; after each of the terminal nodes is activated, data communication is started between the central node and the terminal nodes to realize the collection and transmission of the terminal node traffic data.
[0072] In other embodiments, data synchronization and signaling transmission between the terminal node and the central node construct a dedicated data channel and are not included in network traffic management.
[0073] See also Figure 2 , is a block diagram of a terminal node traffic management system shown as an exemplary embodiment of the present application; the details are as follows:
[0074] It includes a centralized network traffic control software platform, namely, the traffic control center node, which is responsible for configuring and saving the network traffic quota values of all terminal nodes, and managing the real-time network traffic usage data of all terminal nodes. In addition, edge nodes for traffic control are deployed inside all terminal nodes. When the terminal node is initialized, the edge node first obtains its network traffic usage quota value from the center node and saves it locally in the terminal for quota control.
[0075] Here, the edge node is associated and bound with the terminal node, and the terminal node can be determined by counting the traffic of the edge node. It should be noted that the terminal in this application (ie, the terminal node) is.
[0076] After the terminal is initialized, the central node performs terminal network traffic usage statistics through the data source provided by the network device, and the edge node performs real-time statistics of the terminal network traffic usage through the terminal local data source.
[0077] When the usage counted by the edge node reaches the limit, the edge node immediately sends the usage information to the central node, and at the same time, the edge node itself suspends the network traffic function. After receiving the usage information of the edge node, the central node immediately verifies the usage and limit values. If the verification passes, the central node immediately notifies the edge node, and then formally shuts down the terminal network function; if the verification fails, the central node and the edge node correct the terminal usage and limit value data of the edge node according to the algorithm strategy agreed in advance.
[0078] When the usage counted by the central node reaches the limit, the central node immediately sends the information to the edge node. After receiving the information, the edge node immediately uploads the real-time network traffic usage and limit value to the central node, and the central node immediately verifies the usage and limit value. If the verification passes, the central node immediately performs a formal shutdown operation; if the verification fails, the central node and the edge node correct the terminal usage and limit value data of the edge node according to the algorithm strategy agreed in advance, and then the central node performs a formal shutdown operation.
[0079] See also Figure 3 , which is a central node structure block diagram of an exemplary embodiment of the present application; please refer to Figure 4 , a terminal node structure block diagram shown in an exemplary embodiment of the present application;
[0080] When the terminal limit value saved in the central node needs to be modified according to business needs, the central node should immediately synchronize the new limit information with the corresponding edge node. After the limit information is successfully synchronized, the limit value is considered to be modified and effective.
[0081] See Figure 2 ,System architecture composition: The complete system of the present invention includes a central node and multiple edge nodes.
[0082] The central node is the core control module of the present invention, which has data storage and data calculation capabilities. The central node can be constructed in the form of a software platform, which can obtain network traffic usage data of all terminals in real time through network devices or other system platforms, and can store and calculate all data, thereby realizing statistics of traffic usage of all terminals.
[0083] The edge node is a data collection and execution module of the present invention, which has the ability to collect and monitor data in real time. The edge node can be deployed in the terminal device in the form of a software module, which is responsible for real-time collection of uplink and downlink network traffic usage data used by all software of the terminal, and local storage, calculation and real-time monitoring. In addition, the software module also has the ability to close and open the network communication service of the terminal.
[0084] Step 1: Central node initialization process
[0085] After the central node is deployed, a unified initial terminal traffic limit value (such as a limit of 10GB / month) should be configured for the first initialization. This limit value will be used when all new terminals are activated unless otherwise configured. The central node should then establish a data connection with the corresponding network equipment or network service platform to enable timely collection and transmission of terminal traffic data. The central node should then configure edge node authentication authority rules to allow legitimate terminals to be activated normally while rejecting service requests from illegal terminals.
[0086] Step 2: Edge Node Activation Process
[0087] After the central node configuration is completed, the edge node can be activated. Deploy and start the edge node software module in any terminal device. The edge node should first access the central node through the network channel to obtain the authentication authorization of the central node. After the edge node obtains the authentication, it can obtain the initial traffic limit value of the terminal from the central node, and then the activation of the edge node can be completed.
[0088] Step 3: Terminal network traffic monitoring statistics
[0089] After the edge node is activated, it can access network services normally. The network traffic generated in this process will be recorded in real time by both the network device and the terminal's own software module. The node traffic usage data recorded by the network device will be regularly synchronized to the central node for storage; while the node traffic usage data recorded by the terminal itself will be stored locally on the edge node.
[0090] Step 4: Edge node statistics limit processing flow
[0091] When the network traffic usage counted by the edge node reaches the traffic limit, the edge node immediately sends the limit information to the central node, and the edge node itself suspends the network function. At this time, the terminal can only communicate with the central node. If the central node does not respond within the set time period, the edge node repeats the limit information.
[0092] After the central node receives the usage information from the edge node, it immediately verifies the usage and limit values. If the limit values are the same and the usage error is within the set value range, the verification is considered to have passed, otherwise the verification fails.
[0093] If the verification is passed, the central node immediately notifies the edge node, and then formally shuts down the terminal network function through the network equipment; if the verification fails, the central node and the edge node correct the terminal usage and limit value data of the edge node according to the algorithm strategy agreed in advance, and notifies the edge node to lift the suspension of the network function.
[0094] Step 5: Processing flow of central node statistics reaching the limit
[0095] When the usage counted by the central node reaches the limit, the central node immediately sends the limit information to the edge node. If the edge node does not respond within the set time period, the central node repeats the limit information; if the response times out after a certain number of repetitions, the central node directly shuts down the terminal network function through the network device.
[0096] After the central node sends the quota information and the edge node receives it, the edge node should immediately upload the local real-time network traffic usage and limit value to the central node. The central node immediately verifies the usage and limit value. If the limit values are the same and the usage error is within the set value range, the verification is considered to be passed, otherwise the verification fails.
[0097] If the verification is passed, the central node will directly perform the formal shutdown operation of the terminal network function through the network equipment; if the verification fails, the central node and the edge node will correct the terminal usage and limit value data of the edge node according to the pre-agreed algorithm strategy, and the central node will directly perform the formal shutdown operation of the terminal network function through the network equipment, and the central node should initiate an abnormal alarm prompt.
[0098] Step 6: Terminal Limit Modification Process
[0099] When the terminal limit value saved in the central node needs to be modified according to business needs, the central node should immediately synchronize the new limit information with the corresponding edge node. After the limit information is successfully synchronized and the terminal confirmation information is received, the limit value is recorded by the central node as modified and effective.
[0100] Step 7: Data channel planning
[0101] For all data and signaling transmission channels such as usage data and limit data synchronization between the central node and the edge node, it is recommended to use a dedicated data channel, which is not included in the above network traffic control.
[0102] In this embodiment, after adopting this method, the delay problem of the Internet of Things system for all terminal traffic control will be completely solved. In summary, this method has the following characteristics:
[0103] 1) The real-time and accuracy of terminal traffic control are greatly improved.
[0104] 2) There is no need to increase investment in any hardware equipment, nor to change any network architecture and network equipment, and it can be applied to upgrades and renovations in various scenarios.
[0105] 3) It can be applied to most IoT terminal application scenarios, especially those that require billing based on network traffic.
[0106] Figure 5 This is a block diagram of a terminal node traffic management system shown in an exemplary embodiment of the present application. The device can be configured in an intelligent terminal. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0107] like Figure 5 As shown, the exemplary terminal node traffic management system 500 includes:
[0108] The acquisition module 501 is used to acquire the preset network flow value of the central node;
[0109] Configuration module 502, configured to configure the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, and store it in each of the terminal nodes;
[0110] The traffic management module 503 is used to monitor the real-time traffic of each terminal node. If it is detected that the terminal node reaches the configured network traffic limit value, the current traffic is suspended and the traffic information of the current terminal node is fed back to the central node;
[0111] A flow checking module 504, configured to check the flow information in response to the flow information of the current terminal node;
[0112] If the verification is passed, the network service of the current terminal node is closed;
[0113] If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to the pre-correction strategy.
[0114] It should be noted that the terminal node traffic management system provided in the above embodiment and the terminal node traffic management method provided in the above embodiment belong to the same concept, and the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here. In actual applications, the terminal node traffic management system provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0115] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the terminal node traffic management method provided in the above-mentioned embodiments.
[0116] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0117] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method described in the above embodiment. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other through bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0118] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.
[0119] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.
[0120] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0121] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0122] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not constitute limitations on the units themselves in some cases.
[0123] Another aspect of the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the terminal node traffic management method as described above when the computer program is executed by a processor. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0124] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A terminal node traffic management method, characterized in that: include: Get the preset network traffic value of the central node; According to the preset network traffic value, the network traffic limit value of the terminal node corresponding to the central node is configured and stored in each of the terminal nodes; Monitor the real-time traffic of each terminal node. If it is detected that the terminal node reaches the configured network traffic limit, suspend the current traffic and feed back the current traffic information of the terminal node to the central node; If it is monitored that the network traffic value of the central node exceeds the preset network traffic limit value, a traffic limit request is sent to each of the terminal nodes; In response to the traffic request, each of the terminal nodes uploads current traffic information, wherein the traffic information includes a network traffic value and a network traffic limit value; In response to the current flow information of the terminal node, checking the flow information; If the verification is passed, the network service of the current terminal node is closed; If the verification fails, the network traffic value and the network traffic limit value of the terminal node are corrected according to the pre-correction strategy; Among them, before monitoring the real-time traffic of each terminal node, it also includes: triggering the authentication request deployed on the terminal node, accessing the central node for authentication authorization based on the authentication request; authorizing the authentication according to the authentication information of the authentication request by the preset authentication center. If the authentication authorization passes, the terminal node obtains the initial network traffic limit value from the central node and determines that the activation is successful; if the authentication authorization fails, it is determined that the activation has failed.
2. The method according to claim 1, characterized in that Before configuring the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, it also includes: if the central node adjusts the network traffic limit value of the corresponding terminal node according to business needs, the modified network traffic limit value is synchronized to the corresponding terminal node until the limit value adjustment takes effect after the synchronization is completed.
3. The method according to claim 2, characterized in that Monitoring the real-time traffic of each terminal node includes: the terminal node records its own traffic in real time, determines the real-time traffic of the terminal node and stores it; and synchronously transmits the real-time traffic to the central node for storage according to a preset time limit.
4. The method according to any one of claims 1 to 3, characterized in that: Before obtaining the preset network traffic value of the central node, it also includes: after the deployment of the central node is completed, each terminal node is initialized and configured to determine the initial network traffic limit value of each terminal node; after each terminal node is activated, data communication is started between the central node and the terminal node to realize the collection and transmission of the terminal node traffic data.
5. The method according to any one of claims 1 to 3, characterized in that: The data synchronization and signaling transmission between the terminal node and the central node construct a dedicated data channel and are not included in the network traffic management.
6. A terminal node traffic management system, characterized in that: include: An acquisition module is used to obtain a preset network flow value of a central node; A configuration module, configured to configure the network traffic limit value of the terminal node corresponding to the central node according to the preset network traffic value, and store it in each of the terminal nodes; A traffic management module is used to monitor the real-time traffic of each terminal node. If it is detected that the terminal node reaches the configured network traffic limit, the current traffic is suspended and the traffic information of the current terminal node is fed back to the central node; If it is monitored that the network traffic value of the central node exceeds the preset network traffic limit value, a traffic limit request is sent to each of the terminal nodes; In response to the traffic request, each of the terminal nodes uploads current traffic information, wherein the traffic information includes a network traffic value and a network traffic limit value; The flow verification module is used to respond to the flow information of the current terminal node and verify the flow information; if the verification passes, the network service of the current terminal node is closed; if the verification fails, the network flow value and the network flow limit value of the terminal node are corrected according to the pre-correction strategy. Among them, before the traffic management module, it also includes: an authentication module, which is used to trigger the authentication request deployed on the terminal node, and access the central node for authentication authorization based on the authentication request; authentication authorization is performed according to the authentication information of the authentication request by the preset authentication center. If the authentication authorization is passed, the terminal node obtains the initial network traffic limit value from the central node and determines that the activation is successful; if the authentication authorization fails, it is determined that the activation has failed.
7. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the method described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Network flow control method and device
CN103812897A
Network current limiting method and device and electronic equipment
CN110838932A