Method and device for preventing user from turning offline, electronic equipment and storage medium

By starting the replies process when the online billing system is updated, and the version update is performed after the message queue processing is completed, the user's turnover and system stability problems are solved, and seamless switching of the online billing process and system are realized. Stability avoids loss of income and risks.

CN119011313AActive Publication Date: 2024-11-22ZUNYI BRANCH OF CHINA MOBILE GRP GUIZHOU COMPANY +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411233485.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-22
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

When the existing online billing system is updated with software version, adjusted with tariffs or started and stopped by the memory database, it needs to restart and cause all users to go offline, affecting network assessment indicators and income, and lacking a complete diversion mechanism, resulting in high income losses and system risks.

Method used

When the online billing system is updated, the agent response process is started to process the data request, and the service process is stopped for version update after the message queue is processed to ensure that the user remains online and realize seamless switching of the online billing process and system stability.

Benefits of technology

It avoids users being turned off-line due to the update of online billing process, improves user experience, reduces resource consumption and processing time, reduces revenue losses, protects operator income, and reduces the risk of system upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011313A_ABST
    Figure CN119011313A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for preventing a user from turning off line, electronic equipment and a storage medium, and compared with the related technology, the method and the device for preventing the user from turning off line, provided by the embodiment of the invention, can avoid the situation that all users are turned off line when an online charging process is updated by starting a response process and forwarding a data request to the process for response processing. According to the invention, a user can keep an online state and is not influenced by updating of an online charging process, so that the user experience is improved; and after the data request in the message queue of the online charging process is processed, stopping the service process to update the version, starting the updated online charging process, and finally forwarding the data request to the updated process. In this way, seamless switching of the online charging process can be achieved, it is ensured that the service of a user is not interrupted, and the stability and reliability of the system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method and device for preventing a user from going offline, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of the telecommunications industry, online billing systems play a vital role in the business operations of telecommunications operators. However, the existing online billing solutions in the industry have many shortcomings.

[0003] At present, the online billing launch plan is to stop the online billing process before launching, so that all users go offline, and restart the online billing process after the database of the online billing system is updated, and users will then slowly attach to the online billing process. However, this plan does not yet have a perfect diversion mechanism, which means that the online billing system needs to be restarted in daily software version updates, tariff adjustments, memory database startup and shutdown, etc. In this way, all online users go offline. If the network element does not enable the kickback mechanism, users will only go online again when they are in flight mode or shut down and restart, which seriously affects the network assessment indicators and online rate. At the same time, since the online network element and the offline network element are different network devices, when the online billing system is started and stopped, causing online users to go offline, the generated offline traffic call records are not synchronized, which will cause certain revenue losses to telecom operators. Taking a certain province as an example, each number loses about 4.9M of traffic each time it goes offline. There are 10 million online 4G users in the province. Each start and stop of the online system will cause a maximum traffic loss of about 47T. According to the average unit price of 0.004 yuan / M for mobile traffic services in the province, each start and stop of the online billing system will cause a loss of about 196,000 yuan in revenue, and the online billing system needs to be started and stopped about twice a month.

[0004] In addition, the existing solution does not have a perfect diversion mechanism. If there is a fault during the online process, it will affect all online users and online billing processes, making the online risk high. In addition, the existing online billing system only supports the normal online billing process (pre-processing + billing). When the system is upgraded, pre-processing and billing must be started and stopped at the same time, and subsequent message continuation cannot be done through a separate pre-processing response process. Summary of the invention

[0005] The present disclosure provides a method and device, electronic device and storage medium for preventing users from going offline, and its main purpose is to solve the problem that online users go offline when the online charging system is upgraded.

[0006] According to a first aspect of the present disclosure, a method for preventing a user from going offline is provided, comprising:

[0007] In response to an online charging process update instruction of the online charging system, starting a proxy response process, and forwarding the data request sent by the packet data gateway to the proxy response process for response processing;

[0008] After the data request processing in the message queue of the online charging process is completed, stopping the service process of the online charging process, performing a version update on the online charging process, and starting the updated online charging process;

[0009] The data request sent by the packet data gateway is forwarded to the updated online charging process.

[0010] Optionally, the method further includes:

[0011] The proxy answering call record processing flow is called to perform billing processing on the proxy answering file generated by the proxy answering flow.

[0012] Optionally, the calling of the proxy answering call record processing flow and the billing processing of the proxy answering file generated by the proxy answering flow answering processing include:

[0013] Performing business analysis on the proxy response file;

[0014] According to the business analysis result, the proxy answer file is subjected to batch price processing to obtain the billing information corresponding to the proxy answer file.

[0015] Optionally, in response to an online charging process update instruction of the online charging system, starting a proxy response process, and forwarding the data request sent by the packet data gateway to the proxy response process for response processing, includes:

[0016] Registering the proxy response node of the proxy response process to the coordination management service of the online charging system;

[0017] Monitoring and acquiring first registration information generated when the proxy response node registers with the coordination management service;

[0018] After the first registration information is acquired, the data request is forwarded to the proxy response node for response processing to generate a proxy response file.

[0019] Optionally, the monitoring and obtaining first registration information generated when the proxy response node registers with the coordination management service includes:

[0020] Based on dynamic call control routing, the first registration information generated by the proxy answering node registration of the coordination management service is received, and the first registration information generated by the proxy answering node registration is scanned and acquired at a preset time interval.

[0021] Optionally, after the online charging process is updated in version and the updated online charging process is started, the method further includes:

[0022] Registering the front-end node in the updated online charging process to the coordination management service;

[0023] Based on the dynamic call control routing, second registration information generated by the front-end node registering with the coordination management service is monitored.

[0024] Optionally, forwarding the data request sent by the packet data gateway to the updated online charging process includes:

[0025] Based on the dynamic call control route, receiving the second registration information generated by the proxy answering node registration of the coordination management service, and scanning and acquiring the second registration information generated by the proxy answering node registration at a preset time interval;

[0026] After acquiring the second registration information, the data request is forwarded to the updated online charging process, and the proxy answering process is stopped.

[0027] According to a second aspect of the present disclosure, a device for preventing a user from going offline is provided, comprising:

[0028] A proxy response unit, configured to start a proxy response process in response to an online charging process update instruction of the online charging system, and forward the data request sent by the packet data gateway to the proxy response process for response processing;

[0029] An updating unit, configured to stop the service process of the online charging process after the data request in the message queue of the online charging process is processed, perform a version update on the online charging process, and start the updated online charging process;

[0030] The forwarding unit is used to forward the data request sent by the packet data gateway to the updated online charging process.

[0031] Optionally, the device further comprises:

[0032] The billing unit is used to call the proxy answering call bill processing flow and perform billing processing on the proxy answering file generated by the proxy answering flow.

[0033] Optionally, the billing unit includes:

[0034] An analysis module, used for performing business analysis on the response file;

[0035] The pricing module is used to perform pricing processing on the proxy answer file according to the business analysis result to obtain the billing information corresponding to the proxy answer file.

[0036] Optionally, the proxy response unit includes:

[0037] A registration module, used for registering the proxy response node of the proxy response process to the coordination management service of the online charging system;

[0038] A first acquisition module, used to monitor and acquire first registration information generated when the proxy response node registers with the coordination management service;

[0039] The response module is used to forward the data request to the proxy response node for response processing and generate a proxy response file after acquiring the first registration information.

[0040] Optionally, the first acquisition module is further used for:

[0041] Based on dynamic call control routing, the first registration information generated by the proxy answering node registration of the coordination management service is received, and the first registration information generated by the proxy answering node registration is scanned and acquired at a preset time interval.

[0042] Optionally, the device further comprises:

[0043] A registration unit, configured to register a front-end node in the updated online charging process with a coordination management service after the online charging process is updated and the updated online charging process is started;

[0044] The monitoring unit is used to monitor the second registration information generated by the front-end node registering with the coordination management service based on the dynamic call control routing.

[0045] Optionally, the forwarding unit includes:

[0046] A second acquisition module is used to receive the second registration information generated by the proxy answering node registration of the coordination management service based on the dynamic call control route, and scan and acquire the second registration information generated by the proxy answering node registration at a preset time interval;

[0047] A forwarding module is used to forward the data request to the updated online charging process and stop the proxy answering process after acquiring the second registration information.

[0048] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0049] at least one processor; and

[0050] a memory communicatively connected to the at least one processor; wherein,

[0051] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0052] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0053] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in the first aspect above.

[0054] The present disclosure provides a method and device, an electronic device and a storage medium for preventing users from going offline. In response to an online charging process update instruction of an online charging system, a proxy response process is started, and a data request sent by a packet data gateway is forwarded to the proxy response process for response processing; after the data request processing in the message queue of the online charging process is completed, the service process of the online charging process is stopped, the online charging process is updated, and the updated online charging process is started; the data request sent by the packet data gateway is forwarded to the updated online charging process. Compared with the related art, the embodiment of the present disclosure avoids the situation where all users go offline when the online charging process is updated by starting the proxy response process and forwarding the data request to the process for response processing. The user can stay online and will not be affected by the update of the online charging process, thereby improving the user experience; after the data request processing in the message queue of the online charging process is completed, the service process is stopped for version update, and the updated online charging process is started, and finally the data request is forwarded to the updated process. This can achieve seamless switching of the online billing process, ensure that the user's service will not be interrupted, and improve the stability and reliability of the system; avoid subsequent reconnection operations caused by users going offline, reduce system resource consumption and processing time, and improve the overall efficiency of the system; avoid traffic loss and revenue loss caused by users going offline, and protect the operator's profits.

[0055] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0057] Figure 1 A flowchart of a method for preventing a user from going offline provided by an embodiment of the present disclosure;

[0058] Figure 2 A flowchart of another method for preventing a user from going offline provided by an embodiment of the present disclosure;

[0059] Figure 3 A schematic diagram of a process of registering a response node to Zookeeper provided by an embodiment of the present disclosure;

[0060] Figure 4 A schematic diagram of the structure of a device for preventing a user from going offline provided by an embodiment of the present disclosure;

[0061] Figure 5 A schematic diagram of the structure of another device for preventing a user from going offline provided by an embodiment of the present disclosure;

[0062] Figure 6 A schematic block diagram of an exemplary electronic device provided for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0063] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0064] The following describes a method and apparatus for preventing a user from going offline, an electronic device, and a storage medium according to an embodiment of the present disclosure with reference to the accompanying drawings.

[0065] Figure 1 A flowchart of a method for preventing a user from going offline provided in an embodiment of the present disclosure.

[0066] like Figure 1 As shown, the method comprises the following steps:

[0067] Step 101 , in response to an online charging process update instruction of an online charging system, a proxy response process is started, and a data request sent by a packet data gateway is forwarded to the proxy response process for response processing.

[0068] In the embodiment of the present disclosure, in response to the online charging process update instruction received by the online charging system, the system will first trigger a series of automated operations to ensure the continuity and stability of user services during the update process. Specifically, when the process of the online charging system needs to be updated, the system will first start a pre-designed proxy response process. The start of this process is rapid and seamless, and is intended to take over the workload of the online charging process during the update period to avoid user service interruption.

[0069] After the proxy answering process is started, the DCC (Diameter Credit-Control) tandem agent in the system will play its core role. Through its newly added DCC dynamic routing function, it will automatically forward the data requests that should have been sent to the online billing process (these requests come from the packet data gateway P-GW) to the newly started proxy answering process for processing in real time. This forwarding process is transparent to the packet data gateway device, and neither the user nor the device end needs to perceive the switching of the background billing process, ensuring the continuity and stability of the user experience.

[0070] After receiving these forwarded data requests, the proxy response process will quickly process the responses, including but not limited to decoding the requests, session management (ensuring that continuous requests from the same user can be processed), allocating temporary quotas, and encoding and generating response messages to return to the packet data gateway.

[0071] In this way, even if the online billing system is updating its processes, the user's network service will not be affected, effectively avoiding the decline in network assessment indicators and online rate caused by all online users going offline, as well as the loss of traffic caused by defects in billing interface specifications. In addition, the introduction of the proxy response process also reduces the risk of system upgrades, because even if problems occur during the upgrade process, the proxy response process can ensure the continuity of user services until the online billing process returns to normal.

[0072] Step 102: After the data request processing in the message queue of the online charging process is completed, the service process of the online charging process is stopped, the version of the online charging process is updated, and the updated online charging process is started.

[0073] In the embodiment of the present disclosure, there is a mechanism for managing message queues inside the online charging system, which is used to track and process data requests received from a packet data gateway (such as a P-GW). When receiving an online charging process update instruction, the system will give priority to ensuring that all data requests in the message queue of the online charging process are properly processed. This means that all requests for user data traffic, session management, etc. waiting to be processed will be executed in sequence until the message queue is empty, which means that there are no more tasks to be processed in the current online charging process.

[0074] After completing this step, the system will then safely stop the service process of the currently running online billing process. This process can ensure a smooth transition of services without affecting the integrity and accuracy of transactions that have been processed. Stopping the service process will involve key operations such as recycling resources and saving the current state to prepare for subsequent version updates.

[0075] Next, the system will start the version update of the online charging process. This step may include but is not limited to downloading the new version of the application code, updating the configuration file, applying the necessary patches, etc. In this process, the system will strictly verify the integrity and consistency of the updated content to ensure the accuracy and stability of the new version. After completing the version update, the system will start the updated online charging process. The startup process also includes a series of initialization and verification steps to ensure that the new version of the process can run smoothly and correctly handle subsequent data requests. Once the startup is successful, the system will use the automatic discovery and scheduled scanning mechanism of the DCC tandem agent to ensure that the data request sent by the network element P-GW can be automatically forwarded to the newly started online charging process for processing, thereby achieving seamless switching and continuous availability of user services during the update process. This set of automated operation processes is designed to minimize the impact of online charging system updates on user services and ensure the operator's revenue security and stable network operation.

[0076] Step 103: forwarding the data request sent by the packet data gateway to the updated online charging process.

[0077] In the embodiment of the present disclosure, after completing the version update of the online billing process and successfully starting the updated online billing process, the DCC (Diameter Credit-Control) tandem agent will play its core role. The DCC tandem agent automatically scans and identifies the latest started online billing process (i.e., the updated version of the process) through its newly added DCC dynamic routing function. At this time, the DCC tandem agent will automatically forward the data request originally sent to the packet data gateway (such as P-GW) to this newly started online billing process for processing according to the dynamic routing rules. In this process, the automatic discovery and scheduled scanning mechanism of the DCC tandem agent ensures the timeliness and accuracy of message forwarding, thereby achieving seamless switching of the online billing process and uninterrupted user service. At the same time, since the entire process is transparent to the packet data gateway, users and terminal devices will not perceive any service interruption, ensuring the stability of network services and the continuity of user experience.

[0078] The present disclosure provides a method for preventing users from going offline. In response to an online charging process update instruction of an online charging system, a proxy response process is started, and a data request sent by a packet data gateway is forwarded to the proxy response process for response processing; after the data request processing in the message queue of the online charging process is completed, the service process of the online charging process is stopped, the online charging process is updated, and the updated online charging process is started; the data request sent by the packet data gateway is forwarded to the updated online charging process. Compared with the related art, the embodiment of the present disclosure avoids the situation where all users go offline when the online charging process is updated by starting the proxy response process and forwarding the data request to the process for response processing. The user can stay online and will not be affected by the update of the online charging process, thereby improving the user experience; after the data request processing in the message queue of the online charging process is completed, the service process is stopped for version update, and the updated online charging process is started, and finally the data request is forwarded to the updated process. This can achieve seamless switching of the online billing process, ensure that the user's service will not be interrupted, and improve the stability and reliability of the system; avoid subsequent reconnection operations caused by users going offline, reduce system resource consumption and processing time, and improve the overall efficiency of the system; avoid traffic loss and revenue loss caused by users going offline, and protect the operator's profits.

[0079] In order to clearly illustrate the embodiment of the present disclosure, this embodiment provides a flowchart of another method for preventing a user from going offline.

[0080] like Figure 2 As shown, the method comprises the following steps:

[0081] Step 201: registering the proxy response node of the proxy response process to the coordination management service of the online charging system.

[0082] Specifically, in step 201, the proxy response process is designed to ensure that online users do not go offline when the online billing system is upgraded or restarted. In order to achieve this function, multiple independent proxy response nodes in the proxy response process (such as proxy response 1, proxy response 2, ..., proxy response n) need to submit their registration information to the coordination management service of the online billing system after startup. In the embodiment of the present disclosure, the coordination management service refers to zookeeper. As a distributed coordination service, zookeeper can efficiently manage the registration information of these proxy response nodes and ensure that the DCC tandem agent can accurately identify and forward messages.

[0083] Specifically, when the proxy response process is started, its internal proxy response node information (including IP address, port number, processing capacity, etc.) will be registered in Zookeeper. The process of registering the proxy response node to Zookeeper is as follows: Figure 3 As shown, this process is completed automatically without human intervention, which can ensure the automation and efficiency of the system.

[0084] Step 202: monitor and obtain first registration information generated when the proxy response node registers with the coordination management service.

[0085] As an implementable method of an embodiment of the present disclosure, the monitoring and obtaining of the first registration information generated when the substitute answering node registers to the coordination management service includes: based on dynamic call control routing, receiving the first registration information generated when the substitute answering node registers to the coordination management service, and scanning and obtaining the first registration information generated when the substitute answering node registers at a preset time interval.

[0086] Specifically, in step 202, in order to ensure that the DCC tandem agent can forward the request message of the network element P-GW to the newly started proxy response process in real time, the DCC dynamic routing mechanism needs to continuously monitor the registration information of the proxy response node in Zookeeper. This process includes two main steps:

[0087] 1). Based on dynamic call control (DCC) routing, receive the first registration information generated by the proxy answering node registration in the coordination management service (zookeeper): DCC dynamic routing adds an automatic discovery mechanism, that is, after the online process or proxy answering process is started, its registration information will be sent to zookeeper. DCC dynamic routing receives the registration information of these proxy answering nodes, that is, the first registration information, in real time by monitoring the registration events of zookeeper.

[0088] 2) Scan and obtain the first registration information generated by the proxy response node registration at a preset time interval: In addition to the automatic discovery mechanism, DCC dynamic routing also adds a timed scanning mechanism as a layer of insurance for the automatic discovery mechanism. At every preset time interval (such as 3 minutes, the scanning time is configurable), DCC dynamic routing will automatically scan Zookeeper to check whether there is new proxy response node registration information. This step ensures that even if the automatic discovery mechanism fails, new registration information can be discovered and processed in time through timed scanning.

[0089] Step 203: after acquiring the first registration information, forwarding the data request to the proxy response node for response processing, and generating a proxy response file.

[0090] Specifically, in step 203, once the DCC dynamic routing obtains the first registration information of the proxy response node, it indicates that a new proxy response process has been started and is ready to receive messages. At this time, the DCC tandem agent will forward the data request sent by the network element P-GW to the newly started proxy response process based on these registration information. Each proxy response node in the proxy response process will process these request messages in parallel, allocate quotas and respond to network elements, and generate proxy response files at the same time. These proxy response files will be used in the subsequent charging and pricing process to ensure that the user's fee calculation is not affected by system upgrades or restarts.

[0091] Step 204: after the data request processing in the message queue of the online charging process is completed, the service process of the online charging process is stopped, the version of the online charging process is updated, and the updated online charging process is started.

[0092] Specifically, in step 204, after all data requests in the message queue of the online charging process are processed, the following steps are performed to ensure a smooth transition of the system:

[0093] 1). Stop the service process of the currently running online billing process. This step is to release system resources and prepare for subsequent version updates. Before stopping the service process, you must ensure that all pending messages have been properly processed to prevent data loss or service interruption.

[0094] 2) Perform a version update on the online charging process. This includes deploying new application code, configuration files or other necessary update files to the system. Version updates may be to fix known errors, enhance system performance or introduce new features.

[0095] 3) Start the updated online charging process. After the version update is completed, start the new online charging process service process immediately. At this time, the new version of the online charging process will begin to process the request message from the network element to ensure the normal operation of the system and the user's online status is not affected.

[0096] Through the above steps, the proposal of the present invention can realize the smooth upgrade and restart of the online billing process without interrupting the service, thereby effectively avoiding the situation where online users go offline, reducing revenue losses and the impact on network assessment indicators.

[0097] Step 205: register the updated front-end node in the online charging process with the coordination management service.

[0098] Specifically, in step 205, when the version of the online charging process is updated and successfully started, the newly started online process will automatically register its internal front-end node information with the coordination management service (such as zookeeper). Front-end nodes are multiple independent front-end processes in the online process, which are responsible for processing the network element request messages forwarded by the DCC tandem agent. Each front-end node can process messages independently and improve overall efficiency through parallel processing. This registration process ensures that the DCC tandem agent can identify the latest online process and accurately forward messages.

[0099] Step 206: Based on the dynamic call control routing, monitor the second registration information generated by the front-end node registering with the coordination management service.

[0100] Specifically in step 206, DCC dynamic routing continuously monitors the pre-node information registered in the coordination management service (such as zookeeper) through its built-in automatic discovery and scheduled scanning mechanism. Once it detects that a new list of pre-nodes has been registered, DCC dynamic routing considers that the online process has been successfully started and is ready to receive messages. In this process, DCC dynamic routing will receive online process registration messages from the coordination management service in real time based on the automatic discovery mechanism; at the same time, through the scheduled scanning mechanism (such as scanning every 3 minutes, the scanning time is configurable), it provides additional protection for the automatic discovery mechanism to ensure that the latest online process can be discovered and forwarded in time under any circumstances. Once the second registration information generated by the pre-node registration is detected, DCC dynamic routing automatically forwards the request message of the network element P-GW to the latest started online process, realizing seamless switching of messages and maintaining the user's online status.

[0101] Step 207: Based on the dynamic call control routing, receive the second registration information generated by the proxy answering node registration of the coordination management service, and scan and obtain the second registration information generated by the proxy answering node registration at a preset time interval.

[0102] Specifically in step 207, based on the dynamic call control (DCC) routing, the DCC tandem agent will receive the second registration information generated by the proxy answering node registration sent by the coordination management service (such as zookeeper). This automatic discovery mechanism ensures that the DCC tandem agent can obtain the status of the latest activated proxy answering process or online process in real time. At the same time, in order to increase the robustness of the system, the DCC dynamic routing will also perform a scheduled scan at a preset time interval (such as every 3 minutes, this time is configurable) to ensure that even when the automatic discovery mechanism fails to successfully detect the newly registered process, the second registration information generated by the proxy answering node registration can be timely discovered and obtained through the scheduled scan. This process ensures that the DCC tandem agent can accurately forward the request message of the network element P-GW to the latest activated online process or proxy answering process, thereby realizing the online user's non-offline transition and seamless switching of messages.

[0103] Step 208: after acquiring the second registration information, forward the data request to the updated online charging process, and stop the proxy answering process.

[0104] Specifically, in step 208, after the DCC tandem proxy successfully obtains the second registration information generated by the proxy response node registered by the coordination management service (such as zookeeper), the information will indicate whether the latest process started and ready is the proxy response process or the updated online charging process. Based on this information, the DCC dynamic routing will intelligently forward the data request (i.e., the request message of the network element P-GW) that should have been sent to the online charging system to the updated online charging process. This forwarding process can ensure that even if the online charging system is being upgraded or maintained, the user request will not be interrupted, thereby achieving an offline experience for online users without switching.

[0105] At the same time, when the online billing process is fully started and running stably, and can process all network element requests normally, the DCC tandem agent will stop the previously started proxy response process according to the system configuration or instructions. This step marks the successful completion of the system launch process, and the proxy response process, as a temporary transitional measure, also ends its mission. In this way, the disclosed embodiment can not only achieve a smooth transition of users when the online billing system is upgraded, but also greatly reduce the decline in network assessment indicators and revenue losses caused by system restart or upgrade.

[0106] Step 209: calling the proxy answering call record processing flow to perform billing processing on the proxy answering file generated by the proxy answering flow.

[0107] As an implementable method of the embodiment of the present disclosure, the proxy answering call record processing process is called, and billing processing is performed on the proxy answering file generated by the proxy answering process, including: performing business analysis on the proxy answering file; and based on the business analysis results, performing batch pricing processing on the proxy answering file to obtain billing information corresponding to the proxy answering file.

[0108] Specifically, in step 209, the proxy answering call bill processing process will periodically collect the proxy answering files generated by the proxy answering process from the designated storage location (such as a file server or a memory database). These files contain detailed information of all online request messages processed by the proxy answering process. After collecting the proxy answering files, the proxy answering call bill processing process will perform business analysis on them. Business analysis mainly includes but is not limited to verifying the integrity of the message, parsing the message content, determining the user session information, etc. This step is to ensure that the subsequent batch price processing can be based on accurate and complete data. After completing the business analysis, the proxy answering call bill processing process will perform batch price processing on the proxy answering file according to the analysis results. This step is mainly based on the billing strategy of the telecom operator, such as the unit price of traffic, preferential rules, etc., to calculate the cost of each message in the proxy answering file, and finally obtain the billing information of each user or each session. After the batch price processing, the proxy answering call bill processing process will generate the final billing information. This information includes the user's consumption details, total cost, billing time, etc., and this information is stored in the database or file system for subsequent financial settlement, user bill generation and other processes. Finally, the call processing process will feedback the processing results to the system or other related processes to ensure that the entire online billing process can proceed smoothly. If any abnormality or error is found during the batch price processing, the call processing process must also be able to generate corresponding error reports or warning information so that technical personnel can promptly troubleshoot and handle the problem.

[0109] Through the above steps, the proxy answering call record processing flow can effectively perform billing processing on the proxy answering file generated by the proxy answering flow, thereby ensuring the accuracy and efficiency of the telecom operator's online billing system.

[0110] It should be noted that the embodiments of the present disclosure may include multiple steps. For the convenience of description, these steps are numbered, but these numbers do not limit the execution time slots or execution order between the steps; these steps can be implemented in any order, and the embodiments of the present disclosure do not limit this.

[0111] Corresponding to the above-mentioned method for preventing users from going offline, the present invention also provides a device for preventing users from going offline. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be described in detail in the present invention.

[0112] Figure 4 A schematic diagram of a structure of a device for preventing a user from going offline provided by an embodiment of the present disclosure, such as Figure 4 As shown, including:

[0113] The proxy response unit 31 is used to start the proxy response process in response to the online charging process update instruction of the online charging system, and forward the data request sent by the packet data gateway to the proxy response process for response processing;

[0114] An updating unit 32, configured to stop the service process of the online charging process after the data request in the message queue of the online charging process is processed, perform a version update on the online charging process, and start the updated online charging process;

[0115] The forwarding unit 33 is configured to forward the data request sent by the packet data gateway to the updated online charging process.

[0116] The present disclosure provides a device for preventing users from going offline. In response to an online charging process update instruction of an online charging system, a proxy response process is started, and a data request sent by a packet data gateway is forwarded to the proxy response process for response processing; after the data request processing in the message queue of the online charging process is completed, the service process of the online charging process is stopped, the online charging process is updated, and the updated online charging process is started; the data request sent by the packet data gateway is forwarded to the updated online charging process. Compared with the related art, the embodiment of the present disclosure avoids the situation where all users go offline when the online charging process is updated by starting the proxy response process and forwarding the data request to the process for response processing. The user can stay online and will not be affected by the update of the online charging process, thereby improving the user experience; after the data request processing in the message queue of the online charging process is completed, the service process is stopped for version update, and the updated online charging process is started, and finally the data request is forwarded to the updated process. This can achieve seamless switching of the online billing process, ensure that the user's service will not be interrupted, and improve the stability and reliability of the system; avoid subsequent reconnection operations caused by users going offline, reduce system resource consumption and processing time, and improve the overall efficiency of the system; avoid traffic loss and revenue loss caused by users going offline, and protect the operator's profits.

[0117] Furthermore, in a possible implementation of this embodiment, as Figure 5 As shown, the device also includes:

[0118] The billing unit 34 is used to call the proxy answering call bill processing flow and perform billing processing on the proxy answering file generated by the proxy answering flow.

[0119] Furthermore, in a possible implementation of this embodiment, as Figure 5 As shown, the billing unit 34 includes:

[0120] An analysis module 341, configured to perform business analysis on the proxy response file;

[0121] The pricing module 342 is used to perform pricing processing on the proxy answer file according to the business analysis result to obtain the billing information corresponding to the proxy answer file.

[0122] Furthermore, in a possible implementation of this embodiment, as Figure 5 As shown, the proxy response unit 31 includes:

[0123] A registration module 311, configured to register the proxy response node of the proxy response process with the coordination management service of the online charging system;

[0124] A first acquisition module 312, configured to monitor and acquire first registration information generated when the proxy response node registers with the coordination management service;

[0125] The response module 313 is used to forward the data request to the proxy response node for response processing and generate a proxy response file after acquiring the first registration information.

[0126] Furthermore, in a possible implementation of this embodiment, the first acquisition module 312 is further configured to:

[0127] Based on dynamic call control routing, the first registration information generated by the proxy answering node registration of the coordination management service is received, and the first registration information generated by the proxy answering node registration is scanned and acquired at a preset time interval.

[0128] Furthermore, in a possible implementation of this embodiment, as Figure 5 As shown, the device also includes:

[0129] A registration unit 35, configured to register a front-end node in the updated online charging process with a coordination management service after the online charging process is updated and the updated online charging process is started;

[0130] The monitoring unit 36 ​​is configured to monitor, based on the dynamic call control routing, the second registration information generated when the front-end node registers with the coordination management service.

[0131] Furthermore, in a possible implementation of this embodiment, as Figure 5 As shown, the forwarding unit 33 includes:

[0132] A second acquisition module 331 is used to receive the second registration information generated by the proxy answering node registration of the coordination management service based on the dynamic call control route, and scan and obtain the second registration information generated by the proxy answering node registration at a preset time interval;

[0133] The forwarding module 332 is used to forward the data request to the updated online charging process and stop the proxy answering process after acquiring the second registration information.

[0134] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.

[0135] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0136] Figure 6 A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0137] like Figure 6 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 402 or a computer program loaded from a storage unit 408 to a RAM (Random Access Memory) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O (Input / Output) interface 405 is also connected to the bus 404.

[0138] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0139] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as a method for preventing a user from going offline. For example, in some embodiments, the method for preventing a user from going offline may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to execute the aforementioned method for preventing the user from going offline in any other appropriate manner (eg, by means of firmware).

[0140] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0141] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0142] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0144] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0145] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0146] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0147] The various numerical numbers such as first and second involved in the present disclosure are only for the convenience of description and are not used to limit the scope of the embodiments of the present disclosure, but also indicate the order of precedence.

[0148] At least one in the present disclosure may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in the present disclosure. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", etc., and there is no order of precedence or size between the technical features described by the "first", "second", "third", "A", "B", "C" and "D".

[0149] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0150] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for preventing a user from going offline, characterized in that: include: In response to an online charging process update instruction of the online charging system, starting a proxy response process, and forwarding the data request sent by the packet data gateway to the proxy response process for response processing; After the data request processing in the message queue of the online charging process is completed, stopping the service process of the online charging process, performing a version update on the online charging process, and starting the updated online charging process; The data request sent by the packet data gateway is forwarded to the updated online charging process.

2. The method according to claim 1, characterized in that The method further comprises: The proxy answering call record processing flow is called to perform billing processing on the proxy answering file generated by the proxy answering flow.

3. The method according to claim 2, characterized in that The calling of the proxy answering call record processing flow, and performing billing processing on the proxy answering file generated by the proxy answering flow, includes: Performing business analysis on the proxy response file; According to the business analysis result, the proxy answer file is subjected to batch price processing to obtain the billing information corresponding to the proxy answer file.

4. The method according to claim 1, characterized in that: The method of responding to the online charging process update instruction of the online charging system, starting the proxy response process, and forwarding the data request sent by the packet data gateway to the proxy response process for response processing includes: Registering the proxy response node of the proxy response process to the coordination management service of the online charging system; Monitoring and acquiring first registration information generated when the proxy response node registers with the coordination management service; After the first registration information is acquired, the data request is forwarded to the proxy response node for response processing to generate a proxy response file.

5. The method according to claim 4, characterized in that The monitoring and obtaining of first registration information generated when the proxy response node registers with the coordination management service includes: Based on dynamic call control routing, the first registration information generated by the proxy answering node registration of the coordination management service is received, and the first registration information generated by the proxy answering node registration is scanned and acquired at a preset time interval.

6. The method according to claim 1, characterized in that After the online charging process is updated in version and the updated online charging process is started, the method further includes: Registering the front-end node in the updated online charging process to the coordination management service; Based on the dynamic call control routing, second registration information generated by the front-end node registering with the coordination management service is monitored.

7. The method according to claim 6, characterized in that The forwarding the data request sent by the packet data gateway to the updated online charging process includes: Based on the dynamic call control route, receiving the second registration information generated by the proxy answering node registration of the coordination management service, and scanning and acquiring the second registration information generated by the proxy answering node registration at a preset time interval; After acquiring the second registration information, the data request is forwarded to the updated online charging process, and the proxy answering process is stopped.

8. A device for preventing a user from going offline, characterized in that: include: A proxy response unit, configured to start a proxy response process in response to an online charging process update instruction of the online charging system, and forward the data request sent by the packet data gateway to the proxy response process for response processing; An updating unit, configured to stop the service process of the online charging process after the data request in the message queue of the online charging process is processed, perform a version update on the online charging process, and start the updated online charging process; The forwarding unit is used to forward the data request sent by the packet data gateway to the updated online charging process.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.

11. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Off-line charging method based on conversation

    CN101296097A

  • Implementation method for switching online charging to offline charging

    CN101448234A

  • Identification of timestamps for a partial CDR when failover occurs in an offline charging system

    CN104429053A

  • Destination selection for an offline charging system to avoid reversion

    CN109155737A

  • Software upgrade in a virtualized offline charging system

    CN109792393A