Online service control method and device, server and storage medium
By receiving and analyzing user terminal internet access data, determining their internet access area and service information, and sending control commands, the problem of blind spots in tracking internet access services in non-registered service areas is solved, and effective control and service awareness of roaming terminals are achieved.
Patent Information
- Application Number
- CN202310929835.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-07-26
AI Technical Summary
When a user's terminal is roaming, the system in non-registered service areas cannot effectively track and control internet access behavior, leading to overdraft of credit limits or service levels, and creating blind spots in tracking and controlling internet access services.
By receiving the target terminal's internet access data, the system determines its internet access area and obtains service information. If the remaining data allowance or quality threshold conditions are met, control commands are sent to control internet access services, including quota, QoS, and redirection commands. Control commands are also synchronized between data centers to ensure continuous tracking.
It enables effective tracking and control of internet access services for target terminals in non-registered service areas, avoiding blind spots and improving service awareness.
Smart Images

Figure CN116708212B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to an Internet access service control method, apparatus, server and storage medium. Background Technology
[0002] Currently, in order to speed up and improve the efficiency of data services, user terminals directly obtain IP addresses from non-registered service areas when roaming for data services. In this case, the user terminal accesses the network elements in the non-registered service area and is carried by the system in the non-registered service area, without being routed back to the registered service area system.
[0003] In the aforementioned technologies, non-registered service area systems cannot track and control the internet access behavior of user terminals. Under the current high network speed, there may be issues with overdrafting of credit limits or service levels, resulting in blind spots in internet access tracking and control. Summary of the Invention
[0004] This application provides an internet access service control method, device, server, and storage medium, which avoids blind spots in tracking and controlling internet access services performed by target terminals in non-registered service areas and improves the service awareness capability for internet access services performed by target terminals in non-registered service areas.
[0005] Firstly, this application provides a method for controlling internet access services, the method comprising:
[0006] Receive Internet access data from the target terminal; the Internet access data is the data generated when the target terminal performs Internet access services;
[0007] Based on internet access data, determine the area where the target terminal is accessing the internet;
[0008] If it is determined that the target terminal is accessing the Internet in the first area, the first service information is obtained based on the Internet access data; the first area is any area outside the target terminal's registered service area; the first service information is used to indicate the remaining Internet access service package information of the target terminal.
[0009] If, based on internet access data and first service information, it is determined that the target terminal meets the first control condition, a control instruction is sent; the first control condition includes at least one of the following: the remaining amount of the target terminal's internet access service package is lower than a specified threshold, or the quality of the internet access service in the target terminal's internet access data does not meet the specified threshold for internet access service quality; the control instruction is used to control the target terminal's internet access service.
[0010] In one possible implementation, control commands are sent, including:
[0011] Send control commands to the first data center;
[0012] If the target terminal has already controlled the Internet access service according to the control instructions, it receives the control copy information sent by the first data center. The control copy information is used to indicate the control content of the control instructions on the target terminal's Internet access service.
[0013] In one possible implementation, control copy information is synchronized to a second data center; the second data center is a data center other than the first data center accessing the server.
[0014] In one possible implementation, the method further includes the following before sending control commands:
[0015] Obtain the latency information uploaded by each data center; each data center refers to the data center that accesses the server; the latency information is the latency at which each data center receives data transmitted from the target terminal.
[0016] Based on latency information, the second region where the target terminal is currently located and the data center corresponding to the second region are determined; the second region is any region including the first region; the data center corresponding to the second region is used to send control commands to the target terminal.
[0017] In one possible implementation,
[0018] The internet access data includes the location information of the target terminal; based on the internet access data, the area where the target terminal accesses the internet is determined, including:
[0019] Based on location information, determine the area where the target terminal can access the internet.
[0020] In one possible implementation, the Internet access data also includes the user identifier of the target terminal;
[0021] If it is determined that the target terminal is accessing the internet in the first area, obtain the first service information based on the internet access data, including:
[0022] If it is determined that the target terminal is accessing the Internet in the first area, the first service information is obtained from the centralized business support system (CBSS) based on the user identifier.
[0023] In one possible implementation, before obtaining the first user information from the centralized business support system (CBSS) based on the user identifier, the following steps are also included:
[0024] Determine whether the user identifier set contains the user identifier of the target terminal; the user identifier set is the set of user identifiers of terminals that have currently activated roaming services.
[0025] In summary, this application determines whether a target terminal is accessing the internet in a first area outside its registered service area by receiving internet access data generated during internet access services. If the target terminal is found to be accessing the internet in the first area, the application determines whether a first control condition is met by obtaining the remaining data of the target terminal's internet access package and the quality of the internet access service. Specifically, if the remaining data of the target terminal's internet access package is below a specified threshold, or if the quality of the internet access service in the target terminal's internet access data does not meet the specified threshold for internet access service quality, a control command is sent to control the target terminal's internet access services. This avoids blind spots in tracking and controlling internet access services performed by target terminals outside the registered service area and improves the service perception capability for internet access services performed by target terminals outside the registered service area.
[0026] Secondly, this application provides an Internet access service control device for executing any of the Internet access service control methods provided in the first aspect.
[0027] In one possible implementation, this application can divide the Internet access service control device into functional modules according to the method provided in the first aspect above. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. For example, this application can divide the Internet access service control device into a receiving module, a processing module, a sending module, etc., according to their functions. The descriptions of the possible technical solutions and beneficial effects of the various functional modules described above can be found in the technical solutions provided in the first aspect above or its corresponding possible implementations, and will not be repeated here.
[0028] Thirdly, this application provides a server, which includes a memory and a processor; the memory is used to store computer execution instructions; when the server is running, the processor executes the computer execution instructions stored in the memory to cause the server to perform the Internet access service control method as described above.
[0029] Fourthly, a computer-readable storage medium is provided, which stores at least one computer program instruction, the computer program instruction being loaded and executed by a processor to implement the Internet access service control method as described above.
[0030] Fifthly, embodiments of this application provide a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computing device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computing device to perform the Internet access control method provided in the various optional implementations of the first aspect described above.
[0031] For a detailed description of the second to fifth aspects and their various implementations in this application, please refer to the detailed description in the first aspect and its various implementations; and for a detailed analysis of the beneficial effects of the second to fifth aspects and their various implementations in the first aspect and its various implementations, please refer to the beneficial effect analysis in the first aspect and its various implementations, which will not be repeated here.
[0032] These or other aspects of this application will become more readily apparent in the following description. Attached Figure Description
[0033] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0034] Figure 1 This is a schematic diagram of the framework of an Internet access service control system according to an exemplary embodiment;
[0035] Figure 2 This is a flowchart illustrating an internet access service control method according to an exemplary embodiment;
[0036] Figure 3 yes Figure 2 The illustrated embodiment is a schematic diagram of tracking the internet access location of a target terminal.
[0037] Figure 4 yes Figure 2 The illustrated embodiment is a schematic diagram of an inter-provincial roaming internet access service control process.
[0038] Figure 5 yes Figure 2 The illustrated embodiment is a schematic diagram of a control instruction synchronous storage method.
[0039] Figure 6 This is a schematic diagram of an Internet access service tracking and control system according to an exemplary embodiment;
[0040] Figure 7 This is a schematic diagram of the structure of an Internet access service control device 400 according to an exemplary embodiment. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0042] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. The words "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences. It should be noted that in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations.
[0043] It should be noted that any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0044] First, the application scenarios of the embodiments of this application will be introduced by way of example.
[0045] In this application, "terminal accessing the Internet in the first area" refers to the service function of the terminal still conducting communication activities in non-registered service areas. In order to speed up Internet access efficiency, the terminal directly obtains the IP address of the non-registered service area in the non-registered service area, and the Internet data service messages are carried by the system of the non-registered service area. The problem that this brings is the lack of control over the terminal's Internet access status. The terminal uses data services in the non-registered service area in an disorderly manner, creating a blind spot in the terminal's Internet access control.
[0046] To address the aforementioned issues, this application provides an internet access service control method executed by a server. The server receives internet access data from a target terminal, including the terminal user identifier and location information. When the terminal accesses the internet in a first region, it obtains first service information; the first region is any region outside the target terminal's registered service area; the first service information indicates the remaining internet access service data of the target terminal; based on the target terminal's internet access data and the first service information, it determines that the target terminal meets a first control condition and sends a control command; the first control condition includes at least one of the following: the remaining internet access service data of the target terminal is below a specified threshold, or the internet access service quality in the target terminal's internet access data does not meet a specified threshold for internet access service quality; the control command is used to control the internet access status of the target terminal.
[0047] As can be seen from the above, in this embodiment, the server can track the target terminal's internet access behavior in non-registered service areas, and determine the first control condition based on the received internet access data of the target terminal and the first user information. When the first control condition is met, a control command is issued to control the internet access status of the target terminal, thereby preventing the target terminal from engaging in disorderly internet access behavior in non-registered service areas.
[0048] Secondly, the system architecture of the embodiments of this application will be described by way of example.
[0049] Figure 1 This diagram illustrates the framework of an internet access service control system provided in an embodiment of this application. Figure 1 As shown, the Internet access control system 10 may include a target terminal 11, a core network 12, a provincial control node 13, a data center 14, and a server 15. The target terminal 11 sends Internet access data to the core network 12 through a real-time message stream. The provincial control node is used to connect the core network 12 and the data center 14, while the data center 14 is connected to the server 15.
[0050] Server 15 can be a cloud server.
[0051] The target terminal 11 can access the internet either in its home area or in a roaming area. The core network 12 includes base stations (Evolved Node B, eNB), key control nodes for the access network (MME), and public data network gateways (PGW) or serving gateways (SGW). Provincial control nodes 13 are used for packet cloning, real-time authentication, and data reception. Data centers 14 are distributed data centers corresponding to each production area. Servers 15 can be cloud servers; they receive internet access data, obtain first user information from the CBSS, and issue control commands based on the internet access data and the first user information. Servers 15 store instruction sets for various control commands.
[0052] It should be noted that the system architecture and application scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0053] For ease of understanding, the Internet access service control method provided in this application is described below with reference to the accompanying drawings. This Internet access service control method is applicable to... Figure 1 The server shown.
[0054] Figure 2 A flowchart illustrating an exemplary embodiment of the present application for controlling internet access services is shown. The internet access service control method includes the following steps:
[0055] S101, Receive Internet access data from the target terminal.
[0056] In this embodiment, the server can receive internet access data generated by the target terminal. This internet access data can be data generated when the target terminal performs internet access services.
[0057] In one possible implementation, Internet access data sent by a first data center is received.
[0058] The first data center can be used to access the server and send the Internet data generated in the first area to the server.
[0059] The first region is any region other than the region where the target terminal's registration service number is located, and the first data center is the data center corresponding to the production area to which the target terminal's region belongs.
[0060] For example, the first data center can be the data center of the production area to which the target terminal is located. One or more areas can correspond to one production area, and each production area can have one data center.
[0061] For example, if regions are divided according to provinces, provinces A, B, and C can belong to production area X, and provinces D and E can belong to production area Y. Production area X has data center x, and production area Y has data center y. When the target terminal's home location is province A, and the target terminal is using internet access in province D, the target terminal sends internet access data to the roaming location, which is the provincial control node of province D. The provincial control node of province D can send internet access data to the first data center to which province D belongs, i.e., data center y. The first data center can access the server and send the internet access data to the server.
[0062] In one possible implementation, the first data center to which the target terminal is located is the data center corresponding to the production area closest to the target user's location.
[0063] The target terminal sends data to the data centers corresponding to each production area. Based on the received response latency, the production area closest to the target terminal is determined, and the data center corresponding to the nearest production area is determined as the first data center of the target terminal.
[0064] In one possible implementation, the target terminal sends its internet access data to the corresponding data center in the production area. Since the first data center can access the server, it can send the internet access data to the server, which then obtains the target terminal's internet access data. This allows the server to determine the progress of the target terminal's internet access service in subsequent steps.
[0065] S102. If it is determined that the target terminal is accessing the Internet in the first area, obtain the first service information.
[0066] In one possible implementation, the Internet access data may include the user identifier and location information of the target terminal. The location information is used to indicate the area where the target terminal is sending the Internet access data. Based on the location information included in the Internet access data sent by the target terminal, it can be determined whether the area where the target terminal is sending the Internet access data is the first area.
[0067] In one possible scenario, if it is determined that the region where the target terminal is sending internet data is the same as the region corresponding to its home location, then the provincial control node in the home location can control the progress of the target terminal's internet service.
[0068] In another possible scenario, if it is determined that the target terminal is located in the first region, the server controls the progress of the target terminal's internet access service based on the acquired internet access data.
[0069] In one possible implementation, the Internet access data includes the user identifier and location information of the target terminal. Based on the location information, the area where the target terminal accesses the Internet is determined. If it is determined that the target terminal accesses the Internet in the first area, the first business information is obtained from the central business system (CBSS) based on the user identifier.
[0070] In other words, by comparing the real-time message stream of the target terminal with the last message at the provincial aggregation node, the internet access area of the target terminal can be determined. If it is determined that the area where the target terminal is sending internet access data is the first area, since the internet access data may also include a user identifier, which is used to indicate the registered user of the target terminal, it can be determined whether the registered user of the target terminal is the target user based on the user identifier contained in the internet access data. The target user can be a registered user who has activated roaming service. When it is determined that the target terminal is accessing the internet in the first area and the registered user of the target terminal is the target user, the first service information of the target terminal is obtained from CBSS based on the user identifier.
[0071] The first service information, which indicates the remaining Internet access service status of the target terminal, is provided by CBSS.
[0072] For example, the remaining balance of a service package includes remaining data allowance, remaining call allowance, overdraft allowance, remaining voice call allowance, and remaining value-added service allowance; internet access behavior and quality in internet access data include quality of service (QoS), internet redirection, protocol data unit (PDU) sessions, and other data traffic internet access quality and priority.
[0073] The user identifier set is the set of user identifiers of terminals that have currently activated roaming servers.
[0074] For example, taking the target user pool as the user identifier set, the user identifiers corresponding to registered users who have enabled roaming services are stored in the target user pool on the server. After receiving Internet access data, the server obtains the user identifiers contained in the Internet access data and matches them with the user identifiers stored in the target user pool. If a matching user identifier exists, it is determined that the registered user of the target terminal that sent the Internet access data belongs to the target user who has enabled roaming services; if no matching user identifier exists, it is determined that the registered user of the target terminal that sent the Internet access data does not belong to the target user who has enabled roaming services.
[0075] for example, Figure 3 This is a schematic diagram illustrating the tracking of a target terminal's internet location according to an embodiment of this application. For example... Figure 3As shown, User 1 accesses the internet in Province A and sends internet access data to the control node in Province A. According to the principle of proximity, the control node in Province A sends the internet access data to the data center in Production Zone X, which is closest to Province A. The data center in Production Zone X sends the internet access data to the server. This internet access data may include the user identifier corresponding to User 1 and location information indicating Province A. By comparing User 1's user identifier with the user identifiers of target users in the target user pool, it is determined whether User 1 belongs to the target user. If it is determined that User 1 belongs to the target user, the server can track the roaming internet access area of User 1 to Province A by obtaining the user identifier and location information, thereby realizing the tracking of User 1's internet access location.
[0076] In one possible implementation, the server may include an audit module, which is used to determine at a specified period whether the registered users corresponding to each user identifier in the user identifier set still enable roaming service, and to remove the user identifiers corresponding to the registered users who have not enabled roaming service from the user identifier set.
[0077] For example, at midnight of the beginning of each month, the server can use the audit module to automatically identify whether the registered users corresponding to each user identifier in the user identifier set have enabled roaming service, and remove the user identifiers corresponding to the registered users who have not enabled roaming service from the user identifier set, so as to achieve the purpose of regularly maintaining the user identifier set.
[0078] S103. If, based on the target terminal's internet access data and the first service information, it is determined that the target terminal meets the first control condition, a control command is sent.
[0079] In one possible implementation, based on the target terminal's internet access data and the first service information, it can be determined whether the target terminal meets the first control condition. If it is determined that the target terminal meets the first control condition, a control command is sent; if it is determined that the target terminal does not meet the first control condition, internet access data is acquired, and the contents of steps S101 to S103 are repeated.
[0080] The first control condition includes at least one of the following: the remaining amount of the target terminal's internet service package is lower than a specified threshold, or the quality of the internet service in the target terminal's internet data does not meet the specified threshold for internet service quality.
[0081] For example, the remaining data allowance, call charge allowance, overdraft allowance, voice call allowance, and value-added service allowance of the target terminal are all below a specified threshold. Internet service quality in the internet data includes data traffic service quality (QoS), internet redirection, and protocol data unit (PDU) sessions, which do not meet the specified threshold. The specified threshold can be obtained from the CBSS system or from the server; no specific limitation is made here.
[0082] The control commands may include at least one of the following: quota control command, QoS control command, internet access redirection command, billing condition change command, PDU session threshold command, billing rate group threshold command, and location change command.
[0083] In one possible implementation, control commands can be stored in a server as a set of control commands. The server can send control commands to a first data center, so that the triggers in the first area where the target terminal is located can control the target terminal's internet access status according to the control commands.
[0084] For example, Figure 4 This is a schematic diagram of an inter-provincial roaming internet access service control process according to an embodiment of this application. For example... Figure 4 As shown, taking the division of regions by province as an example, the target terminal sends internet access data to the provincial control node through network elements, uploads the internet access data to the first data center, and then the first data center sends the internet access data to the control center. The control center obtains the user's first service information from the CBSS based on the user identifier in the obtained internet access data. Based on the internet access data and the target terminal's first service information, it determines whether the first control condition is met. If the first control condition is met, it obtains the necessary control instructions from the server's instruction set. This instruction set includes return code management instructions, internet access redirection instructions, QoS change instructions, billing condition management instructions, PDU session threshold instructions, billing rate group threshold instructions, quota management instructions, or location change instructions. The determined control instructions are sent to the corresponding instruction triggers in each province through the message queue (MQ) front-end queue of each data center. The instruction triggers control the main path of real-time messages according to the received control instructions, thereby realizing the inter-provincial roaming control strategy; and the control information is copied through the provincial control node, and the control copy information is sent back to the server through the data center and stored on the server.
[0085] For example, if it is determined, based on the internet access data of the target terminal and the first service information, that the registered user of the target terminal is currently in an arrears state, the server sends a control instruction to the first data center through the instruction notification module, so as to perform rate limit control on the internet access of the target terminal. If it is determined, based on the internet access data of the target terminal and the first service information, that the registered user of the target terminal has currently completed renewal, the server determines, through the control auditing module, that the current rate limit control on the internet access of the target terminal needs to be released, and notifies, through the control auditing module, the instruction notification module to release the corresponding control instruction.
[0086] In a possible implementation manner, the control instruction is synchronized between data centers in each production area. The area where the target terminal is currently located is determined according to the proximity principle, and the data center of the production area to which the current area of the target terminal belongs sends a control instruction to the current area, so as to control the development of the internet access service of the target terminal.
[0087] For example, Figure 5 is a schematic diagram of synchronous storage of control instructions according to an embodiment of the present application. As shown in Figure 5 , it is determined, based on the first service information and the internet access data of the target terminal, that the target terminal meets the control condition. The instruction set included in the server will issue a control instruction. The specific implementation manners and steps are the same as those in S101-S103, and details are not described herein again. After the control instruction is executed, the server saves the control instruction information of the target terminal, such as control instruction a and control instruction b, and synchronizes the control instruction information to data centers in each production area, such as production area X and production area Y. By comparing the time delay returned by the control nodes of the four provinces A, B, C and D, for example, Q<P<R<M, the minimum time delay Q is determined, the nearest data center X is further determined, and the nearest control node of province A is accessed. When the target terminal moves to province D, it can be known from the time delay that the control copy information is controlled by the data center in production area Y. It is further realized that, no matter which area the target terminal moves to, the control instruction can ensure the control of the target terminal.
[0088] In a possible implementation manner, the first data center synchronizes the control instruction with the second data center; and the second data center is a data center other than the first data center that is accessed to the server. The server obtains time delay information uploaded by each data center; and determines the minimum time delay. Each data center is a data center accessed to the server. A second area where the target terminal is currently located and a data center corresponding to the second area are determined based on the time delay information; the second area is any area including the first area; and the data center corresponding to the second area is configured to send a control instruction to the target terminal.
[0089] In other words, during the process of determining to send control commands to the target terminal, or during the process of controlling the target terminal's internet access, in order to continuously control the target terminal when the first control condition is met, unaffected by changes in the target terminal's roaming location, the control commands can be synchronized between data centers in various production areas. If the target terminal changes its location, the server can update the target terminal's location based on the received internet access data, thus tracking the target terminal. Simultaneously, by obtaining the latency of the target terminal sending data from its new location to the data centers in various production areas, the server can determine the production area to which the new location belongs. Therefore, by using the control commands stored in the data center of the new production area, the server can send control commands to the control node in the target terminal's location, achieving continuous control of the target terminal.
[0090] S104. If it is determined that the target terminal meets the decontrol conditions, a decontrol command is sent to release control over the target terminal.
[0091] Among them, the decontrol conditions include the target terminal not meeting the first control condition, or receiving an emergency decontrol command.
[0092] The target terminal not meeting the first control condition may include at least one of the following: the remaining data allowance of the internet service package is not lower than a specified threshold, or the internet service quality in the target terminal's internet data meets a specified threshold for internet service quality. Receiving an emergency decontrol command may include receiving manual operation to release control of the target terminal; or, the loss of control notification module may detect an anomaly in the middleware, requiring the release of control of the target terminal.
[0093] In one possible implementation, the server sends a de-control command to the data center, and the command trigger in the non-registered service area where the target terminal is located executes the de-control command, thereby removing the internet access control from the target terminal.
[0094] Alternatively, a decontrol command can be sent to the data center, which instructs the data center to clear the control command to release control over the target terminal's internet access.
[0095] As can be seen from the above, in the method provided in this application embodiment, the server can track the internet location of the target terminal by obtaining the target terminal's internet access data. When the target terminal is found to be accessing the internet in a first area outside the number's home area, the server can obtain first service information through the internet access data. Based on the internet access data and the first service information, the server can determine whether the first control condition is met. When the first control condition is met, the server controls the target terminal's internet access, so that the target terminal's internet access in the first area outside the number's home area can be tracked and controlled, ensuring that the target terminal's internet access in the roaming area can be managed in an orderly manner.
[0096] For example, Figure 6 This is a schematic diagram of an internet access tracking and control system provided in an exemplary embodiment of this application. For example... Figure 6 As shown, taking the division of regions by province as an example, the Internet access service tracking and control system includes target terminals, network elements and provincial control nodes on the provincial side; it also includes servers on the headquarters side, which can be cloud control center 200. The cloud control center 200 can include storage space 201, instruction notification module 202, loss of control notification module 203, user group audit module 204 and control audit module 205.
[0097] In this process, the target terminal on the provincial side sends a billing message to the provincial control node via a network element. The provincial control node then sends the billing message to the data center of the corresponding production area for that province. The data center aggregates the received billing messages and sequentially connects them to the server via a message queue. Upon receiving the billing message, the server can determine the province where the registered user's target terminal is accessing the internet, thus tracking the target terminal. Additionally, the server can determine whether internet access control for the target terminal needs to be implemented based on the user information obtained from the user center and the information control center. If internet access control is required, the server determines the control command to be issued from the command control set and sends it to the message queue of the first data center via the command notification module 202. The first data center then sends the control command to the corresponding provincial command trigger via the MQ front-end queue. The command trigger controls the main real-time message path based on the received control command, thereby achieving inter-provincial roaming control.
[0098] The storage space 201 can be a distributed cache space and a database, and can be used to store the user identifier set. The instruction notification module 202 can be used to send control instructions to the first data center. The loss-of-control notification module 203 can be used to monitor whether the message notification middleware is malfunctioning, and call the interfaces of each region to notify the suspension of control restrictions. The user group audit module 204 can be used to periodically check whether there are users in the user identifier set who have not enabled roaming services, and clear the user identifiers of users in the user identifier set who have not enabled roaming services. The control audit module 205 can be used to periodically check whether the current target terminal still meets the first control condition; if it is determined that the current target terminal does not meet the first control condition, it can notify the instruction notification module 202 to release the sending of control instructions.
[0099] In addition, the cloud control center 200 can also display a configuration interface through a display device. This interface allows for receiving manual operations to urgently release control, and the notification module 202 will send a release control command to stop controlling the internet access services of the target terminals. The cloud control center 200 may also include a software load balancing module, which can be used to balance the load involved in tracking and controlling the internet access services of each target terminal.
[0100] The foregoing mainly describes the solutions of the embodiments of this application from a methodological perspective. It is understood that, in order to achieve the above functions, the Internet access service control device includes at least one of the hardware structures and software modules corresponding to each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0101] This application embodiment can divide the Internet access service control device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0102] For example, Figure 7This illustration shows a schematic diagram of an internet access service control device 400 provided in an exemplary embodiment of this application. The internet access service control device 400 is applied in a server, or the internet access service control device 400 may be a server, and the internet access service control device 400 includes:
[0103] The receiving module 401 is used to receive Internet access data from the target terminal; the Internet access data is the data generated when the target terminal performs Internet access services.
[0104] The processing module 402 is configured to: if the target terminal accesses the internet based on the internet access data; if the target terminal accesses the internet in a first region, obtain first service information based on the internet access data; the first region is any region outside the target terminal's registered service area; the first service information is used to indicate the remaining amount of the target terminal's internet access service package.
[0105] The sending module 403 is configured to send a control command if, based on the internet access data and the first service information, it is determined that the target terminal meets a first control condition; the first control condition includes at least one of the following: the remaining amount of the internet access service package of the target terminal is lower than a specified threshold, or the quality of the internet access service in the internet access data of the target terminal does not meet a specified threshold for internet access service quality; wherein, the target terminal controls the progress of its internet access service according to the control command.
[0106] In one possible implementation, the sending module 403 is further configured to send the control instruction to the first data center; if the target terminal has already controlled the Internet access service according to the control instruction, it receives control copy information sent by the first data center, the control copy information being used to indicate the control content of the control instruction on the Internet access service of the target terminal.
[0107] In one possible implementation, the device further includes:
[0108] A synchronization module is used to synchronize the control copy information to a second data center, which is a data center other than the first data center that accesses the server.
[0109] In one possible implementation, the receiving module 401 is further configured to acquire latency information uploaded by each data center before sending the control command; the respective data centers are the data centers connected to the server; the latency information is the latency of each data center receiving the data transmitted by the target terminal.
[0110] The device further includes: a data center determination module, used to determine, based on the latency information, the second region where the target terminal is currently located and the data center corresponding to the second region; the second region is any region including the first region; the data center corresponding to the second region is used to send the control command to the target terminal.
[0111] In one possible implementation, the internet access data includes the location information of the target terminal; the processing module 402 is further configured to determine the area where the target terminal accesses the internet based on the location information.
[0112] In one possible implementation, the Internet access data also includes the user identifier of the target terminal; the processing module 402 is further configured to, if it is determined that the target terminal is accessing the Internet in the first area, obtain the first service information from the centralized service support system CBSS based on the user identifier.
[0113] In one possible implementation, the device further includes:
[0114] The service determination module is used to determine whether the user identifier set contains the user identifier of the target terminal before obtaining the first user information from the centralized business support system CBSS based on the user identifier; the user identifier set is the set of user identifiers of terminals that have currently activated roaming services.
[0115] For a detailed description of the above-mentioned optional methods, please refer to the foregoing method embodiments, which will not be repeated here. Furthermore, the explanation of any of the above-provided internet access control devices and the description of their beneficial effects can be found in the corresponding method embodiments, which will not be repeated here.
[0116] Some embodiments of this application provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium) storing computer program instructions that, when executed on a computer, cause the computer to perform the method as described in any of the above embodiments.
[0117] For example, the computer-readable storage media described above may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical discs (e.g., compact disks (23CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives, etc.). The various computer-readable storage media described in this disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage media" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.
[0118] This application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the method of any of the above embodiments.
[0119] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for controlling internet access services, characterized in that, The method includes: Receive internet access data from the target terminal; the internet access data is the data generated when the target terminal performs internet access services; Based on the internet access data, the area where the target terminal accesses the internet is determined; the area where the target terminal accesses the internet is determined by comparing the real-time packet stream of the target terminal with the last packet. If it is determined that the target terminal is accessing the internet in a first region, first service information is obtained based on the internet access data; the first region is any region outside the registered service area of the target terminal; the first service information is used to indicate the remaining amount of the target terminal's internet access service package. If, based on the internet access data and the first service information, it is determined that the target terminal meets the first control condition, the latency information uploaded by each data center is obtained, and based on the latency information, the second region where the target terminal is currently located and the data center corresponding to the second region are determined; each data center is a data center of the access server; the latency information is the latency at which each data center receives data transmitted by the target terminal; the second region is any region including the first region; the data center corresponding to the second region is used to send the control command to the target terminal; Control commands are sent to the corresponding command triggers via the message queue front queues of each data center; the first control condition includes at least one of the following: the remaining amount of the internet access service package of the target terminal is lower than a specified threshold, or the quality of the internet access service in the internet access data of the target terminal does not meet the specified threshold for internet access service quality; wherein, the target terminal controls the progress of its internet access service according to the control command; the command trigger is used to control the main path of real-time messages according to the received control command; the control command is synchronized between the data centers of each production area.
2. The method according to claim 1, characterized in that, The sending control command includes: Send the control command to the first data center; If the target terminal has already controlled the Internet access service according to the control instruction, it receives control copy information sent by the first data center. The control copy information is used to indicate the control content of the control instruction on the Internet access service of the target terminal.
3. The method according to claim 2, characterized in that, The method further includes: The control copy information is synchronized to a second data center, which is a data center other than the first data center that accesses the server.
4. The method according to any one of claims 1 to 3, characterized in that, The internet access data includes the location information of the target terminal; determining the area where the target terminal accesses the internet based on the internet access data includes: Based on the location information, the area where the target terminal accesses the internet is determined.
5. The method according to claim 4, characterized in that, The internet access data also includes the user identifier of the target terminal; If it is determined that the target terminal is accessing the internet in the first area, obtaining the first service information based on the internet access data includes: If it is determined that the target terminal is accessing the Internet in the first area, the first service information is obtained from the Centralized Service Support System (CBSS) based on the user identifier.
6. The method according to claim 5, characterized in that, Before obtaining the first service information from the centralized business support system (CBSS) based on the user identifier, the method further includes: Determine whether the user identifier set contains the user identifier of the target terminal; the user identifier set is the set of user identifiers of terminals that have currently activated roaming services.
7. An internet access service control device, characterized in that, The device includes; A receiving module is used to receive internet access data from a target terminal; the internet access data is the data generated when the target terminal performs internet access services. The processing module determines the area where the target terminal is connected to the Internet based on the Internet access data. The area where the target terminal is connected to the Internet is determined by comparing the real-time packet stream of the target terminal with the last packet. If the area where the target terminal is connected to the Internet is determined to be a first area, the module obtains first service information based on the Internet access data. The first region is any region outside the target terminal registration service region; The first service information is used to indicate the remaining amount of internet access data on the target terminal; The sending module, if it determines that the target terminal meets the first control condition based on the internet access data and the first service information, sends a control instruction to the corresponding instruction trigger through the message queue front queue of each data center; the first control condition includes at least one of the following: the remaining amount of the internet access service package of the target terminal is lower than a specified threshold, or the quality of the internet access service in the internet access data of the target terminal does not meet the specified threshold for internet access service quality; wherein, the target terminal controls the progress of its internet access service according to the control instruction; the instruction trigger is used to control the main path of real-time messages according to the received control instruction; the control instruction is synchronized between the data centers of each production area; Before sending the control command, the receiving module acquires the latency information uploaded by each data center, and determines the second region where the target terminal is currently located and the data center corresponding to the second region based on the latency information; each data center is a data center of the access server; the latency information is the latency of each data center receiving data transmitted by the target terminal; the second region is any region including the first region; the data center corresponding to the second region is used to send the control command to the target terminal.
8. A server, characterized in that, It includes a memory and a processor; the memory is used to store computer execution instructions; when the server is running, the processor executes the computer execution instructions stored in the memory to cause the server to perform the Internet access service control method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the Internet access service control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Network speed control method and apparatus
CN105743662A
