Method and device for cleaning residual data of network element after user migration and medium
By establishing a trusted communication pipeline between the network element residual data cleaning device and the HSS network element interface machine, the problem of residual data in the network element after user migration is solved, and user experience improvement and network performance improvement is achieved.
Patent Information
- Application Number
- CN202510240269.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-03
AI Technical Summary
After the user's migration, the residual data in the network element causes the user to be unable to perform voice communication, data access and SMS services normally, affecting customer perception, occupying storage space, affecting network performance and service processing efficiency.
By establishing a trusted communication pipeline between the network element residual data cleaning device and the HSS network element interface machine, verifying the user's migration situation, and sending instructions to query and clear the user's residual data in the network element of the first network.
It effectively avoids the impact of users' communication on the second network after migration, improves user experience, reduces storage space usage, and improves network performance and service processing efficiency.
Smart Images

Figure CN120091057A_ABST
Abstract
Description
Technical Field
[0001] This application relates at least to the field of communication technologies, and particularly to a method, apparatus, and medium for clearing residual data of network elements after user migration. Background Art
[0002] Against the backdrop of the rapid evolution of today's communication technologies, operators are continuously promoting network upgrades and business transformations. In this process, a large number of existing users migrate to obtain better network services. However, after the users complete the migration, residual data often appears in the network elements for various reasons. The existence of the residual data causes users to be unable to use normal voice communication, data Internet access, text messages, etc., resulting in possible communication failures, inability to access the network normally, or limited functionality of some services, greatly affecting the customer experience. At the same time, these residual data not only occupy a large amount of storage space but also have a negative impact on network performance and service processing efficiency. Summary of the Invention
[0003] The technical problem to be solved by this application is to provide a method, apparatus, and medium for clearing residual data of network elements after user migration to solve the problem of how to timely clear the residual data of network elements after user migration and avoid affecting the customer experience.
[0004] In a first aspect, this application provides a method for clearing residual data of network elements after user migration. The method is applied to a network element residual data clearing apparatus and includes:
[0005] Establish a trusted communication pipeline with the home subscriber server (HSS) network element interface machine of the first network;
[0006] Verify that the user is a user whose communication in the second network is affected after migrating from the first network;
[0007] Send an instruction to the HSS network element interface machine through the trusted communication pipeline, so that the HSS network element interface machine queries and clears the residual data of the user in the network elements of the first network according to the instruction.
[0008] Further, establishing a trusted communication pipeline with the home subscriber server (HSS) network element interface machine of the first network specifically includes:
[0009] The backend server of the network element residual data clearing apparatus sends a link request to the HSS network element interface machine. The link request carries the IP address of the backend server, so that the HSS network element interface machine performs link authentication on the backend server according to the IP address and establishes a first connection with the backend server after the link authentication passes;
[0010] The backend server sends a login request to the HSS network element interface machine through the first connection. The login request carries a pre-allocated username and password, so that the HSS network element interface machine can obtain the permissions for the current operation based on the username and password and allocate a session ID for the current operation, and send the session ID to the backend server through the first connection;
[0011] The trusted communication pipeline is implemented based on the session ID and the first connection.
[0012] Further, to verify that the user is a user whose communication is affected in the second network after migrating from the first network, it specifically includes:
[0013] In response to detecting a communication failure of the user's terminal in the second network, or receiving a complaint from the user about a communication failure in the second network, the backend server obtains the user information of the user;
[0014] The backend server verifies based on the user information that the user has migrated from the first network to the second network and that the service network elements in the first network and the second network involve different network equipment vendors.
[0015] Further, an instruction is sent to the HSS network element interface machine through the trusted communication pipeline, so that the HSS network element interface machine can query and clear the residual data of the user in the network elements of the first network according to the instruction. Specifically, it includes:
[0016] The backend server sends a residual data query instruction to the HSS network element interface machine through the first connection. The residual data query instruction carries the first user information of the user, the session ID, and a first checksum, so that after the HSS network element interface machine verifies the residual data query instruction based on the session ID and the first checksum, it queries the residual data of the user in the network elements of the first network according to the first user information and sends a query result to the backend server;
[0017] In response to the query result indicating that there is residual data of the user in the network elements of the first network, the backend server sends a residual data clearing instruction to the HSS network element interface machine through the first connection. The residual data clearing instruction carries the second user information of the user, the session ID, and a second checksum, so that after the HSS network element interface machine verifies the residual data clearing instruction based on the session ID and the second checksum, it clears the residual data of the user in the network elements of the first network according to the second user information and sends a clearing result to the backend server.
[0018] Further, where:
[0019] The first connection is specifically a socket connection;
[0020] The backend server receives the username and password from the interactive page of the network element residual data cleaning device, and the username and password are input by the current operator into the interactive page;
[0021] The first user information is the Mobile Subscriber International ISDN (MSISDN), and the second user information is the MSISDN and the International Mobile Subscriber Identity (IMSI);
[0022] The backend server receives the MSISDN and IMSI from the interactive page, and the MSISDN and the IMSI are input by the current operator into the interactive page;
[0023] The backend server receives the residual data query instruction and the residual data clearing instruction from the interactive page through different interface addresses.
[0024] Further, the method further includes:
[0025] The backend server records an operation log, and the operation log includes the username, the MSISDN and the IMSI, the residual data query instruction and its query result, the residual data clearing instruction and its clearing result, and the operation time.
[0026] In a second aspect, the present application provides a method for cleaning residual data of network elements after user migration. The method is applied to the home subscriber server (HSS) network element interface machine of the first network and includes:
[0027] Establish a trusted communication pipeline with the network element residual data cleaning device;
[0028] Receive and execute the instruction sent by the network element residual data cleaning device through the trusted communication pipeline to query and clear the residual data of the user in the network elements of the first network. The user is a user whose communication in the second network is affected after migrating from the first network to the second network and is verified by the network element residual data cleaning device.
[0029] Further, establishing a trusted communication pipeline with the network element residual data cleaning device specifically includes:
[0030] Listen for the link request from the backend server of the network element residual data cleaning device. The link request carries the IP address of the backend server. Perform link authentication on the backend server according to the IP address, and establish a first connection with the backend server after the link authentication passes;
[0031] Receive the login request sent by the backend server through the first connection. The login request carries the pre-assigned username and password. Obtain the permissions for the current operation based on the username and password and assign a session ID for the current operation. Send the session ID to the backend server through the first connection;
[0032] Implement the trusted communication pipeline based on the session ID and the first connection.
[0033] Further, the user is the backend server:
[0034] In response to detecting a communication failure of the user's terminal in the second network, or receiving a complaint from the user about a communication failure in the second network, after obtaining the user information of the user, verify that the user has migrated from the first network to the second network and the serving network elements in the first network and the second network involve different network equipment manufacturers according to the user information.
[0035] Further, receiving and executing the instruction sent by the network element residual data cleaning device through the trusted communication pipeline to query and clear the residual data of the user in the network elements in the first network specifically includes:
[0036] Receive the residual data query instruction sent by the backend server through the first connection. The residual data query instruction carries the first user information of the user, the session ID, and the first checksum. After verifying the residual data query instruction according to the session ID and the first checksum, query the residual data of the user in the network elements in the first network according to the first user information, and send the query result to the backend server;
[0037] In response to the query result indicating that there is residual data of the user in the network elements in the first network, receive the residual data clearing instruction sent by the backend server through the first connection. The residual data clearing instruction carries the second user information of the user, the session ID, and the second checksum. After verifying the residual data clearing instruction according to the session ID and the second checksum, clear the residual data of the user in the network elements in the first network according to the second user information, and send the clearing result to the backend server.
[0038] Further, where:
[0039] The first connection is specifically a socket connection;
[0040] The first user information is the Mobile Subscriber International ISDN (MSISDN), and the second user information is the MSISDN and the International Mobile Subscriber Identity (IMSI);
[0041] The user name and password, the MSISDN and the IMSI, the residual data query instruction and the residual data clearing instruction are input by the current operator into the interaction page of the network element residual data cleaning device, and are received by the back-end server and then sent to the HSS network element interface machine.
[0042] Further, the method further includes:
[0043] In response to not receiving a message from the back-end server within a preset time length or failing to send a message to the back-end server, the HSS network element interface machine closes the first connection.
[0044] In a third aspect, the present application provides a network element residual data cleaning device for cleaning the residual data of the network element after user migration, and includes:
[0045] A first communication module for establishing a trusted communication pipeline with the home subscriber server (HSS) network element interface machine of the first network;
[0046] A first verification module, connected to the first communication module, for verifying that the user is a user whose communication in the second network is affected after migrating from the first network to the second network;
[0047] An instruction module, connected to the first verification module, for sending an instruction to the HSS network element interface machine through the trusted communication pipeline, so that the HSS network element interface machine queries and clears the residual data of the user in the network element of the first network according to the instruction.
[0048] In a fourth aspect, the present application provides a home subscriber server (HSS) network element interface machine of the first network for cleaning the residual data of the network element after user migration, and includes:
[0049] A second communication module for establishing a trusted communication pipeline with the network element residual data cleaning device;
[0050] An instruction execution module, connected to the second communication module, for receiving and executing the instruction for querying and clearing the residual data of the user in the network element of the first network sent by the network element residual data cleaning device through the trusted communication pipeline, where the user is a user whose communication in the second network is affected after being verified by the network element residual data cleaning device and migrating from the first network to the second network.
[0051] In a fifth aspect, the present application provides a system for cleaning the residual data of the network element after user migration, and the system includes:
[0052] A network element residual data cleaning device for implementing the method for cleaning the residual data of the network element after user migration as described in the first aspect above;
[0053] The home subscriber server (HSS) network element interface machine of the first network is connected to the network element residual data cleaning device, and is used to implement the network element residual data cleaning method after user migration as described in the second aspect above.
[0054] Sixthly, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run by a processor, the network element residual data cleaning method after user migration as described above is implemented.
[0055] The present application provides a network element residual data cleaning method, device and medium after user migration. By setting up a network element residual data cleaning device, the device establishes a trusted communication pipeline with the HSS network element interface machine of the first network, and based on the trusted communication pipeline, queries and clears the residual data of the user in the network elements of the first network, so as to avoid the influence on the second network communication after the user migrates from the first network to the second network, and improves the user experience. Description of the Drawings
[0056] Figure 1 is a flowchart of a network element residual data cleaning method after user migration according to an embodiment of the present application;
[0057] Figure 2 is a flowchart of another network element residual data cleaning method after user migration according to an embodiment of the present application;
[0058] Figure 3 is a schematic structural diagram of a network element residual data cleaning device according to an embodiment of the present application;
[0059] Figure 4 is a schematic structural diagram of another network element residual data cleaning device according to an embodiment of the present application;
[0060] Figure 5 is an overall architecture diagram of a network element residual data cleaning system according to an embodiment of the present application;
[0061] Figure 6 is an overall architecture diagram of another network element residual data cleaning system according to an embodiment of the present application;
[0062] Figure 7 is a schematic structural diagram of a network element residual data cleaning instruction according to an embodiment of the present application;
[0063] Figure 8 is a schematic diagram of an interaction interface of a network element residual data cleaning device according to an embodiment of the present application;
[0064] Figure 9It is a schematic diagram of the interaction interface of another network element residual data cleaning device according to an embodiment of the present application;
[0065] Figure 10 It is a schematic diagram of the interaction interface of yet another network element residual data cleaning device according to an embodiment of the present application;
[0066] Figure 11 It is a schematic diagram of the interaction interface prompt of a network element residual data cleaning device according to an embodiment of the present application;
[0067] Figure 12 It is a schematic diagram of the interaction interface prompt of another network element residual data cleaning device according to an embodiment of the present application;
[0068] Figure 13 It is a schematic diagram of the operation log record of a network element residual data cleaning device according to an embodiment of the present application. Detailed implementation manners
[0069] To enable those skilled in the art to better understand the technical solutions of the present application, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0070] It can be understood that the specific embodiments and drawings described herein are only used to explain the present application, rather than limiting the present application.
[0071] It can be understood that, without conflict, the various embodiments in the present application and the features in the embodiments can be combined with each other.
[0072] It can be understood that, for the convenience of description, only the parts related to the present application are shown in the drawings of the present application, and the parts unrelated to the present application are not shown in the drawings.
[0073] It can be understood that each module and unit involved in the embodiments of the present application may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple modules and units may also be integrated into one entity structure.
[0074] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present application may occur in an order different from that marked in the drawings.
[0075] It can be understood that in the flowcharts and block diagrams of the present application, the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present application are shown. Among them, each block in the flowchart or block diagram may represent a module, unit, program segment, code, which contains executable instructions for implementing the specified function. Moreover, each block or combination of blocks in the block diagram and flowchart can be implemented by a hardware-based device for implementing the specified function, or can be implemented by a combination of hardware and computer instructions.
[0076] It can be understood that the modules and units involved in the embodiments of the present application can be implemented in software or in hardware. For example, the modules and units can be located in the processor.
[0077] Embodiment 1:
[0078] As Figure 1 shown, the present application provides a method for clearing residual data of network elements after user migration. The method is applied to a network element residual data clearing device and includes:
[0079] S11. Establish a trusted communication pipeline with the home subscriber server (HSS) network element interface machine of the first network;
[0080] S12. Verify that the user is a user whose communication in the second network is affected after migrating from the first network to the second network;
[0081] S13. Send an instruction to the HSS network element interface machine through the trusted communication pipeline, so that the HSS network element interface machine queries and clears the residual data of the user in the network elements of the first network according to the instruction.
[0082] In this embodiment, the method establishes a trusted communication pipeline between the network element residual data clearing device and the HSS network element interface machine of the first network, and realizes querying and clearing the residual data of the user in the network elements of the first network based on the trusted communication pipeline, so as to avoid the communication of the user in the second network being affected after migrating from the first network to the second network, and improve the user experience. As Figure 1 shown, when the method is correspondingly applied to the HSS network element interface machine of the first network, as Figure 2 shown, the corresponding network element residual data clearing device is as Figure 3 shown, and the corresponding HSS network element interface machine is as Figure 4 shown. It can be understood that there is no strict execution sequence between step S11 and step S12.
[0083] Specifically, this embodiment takes the cleaning of residual data of network elements after the migration of existing users of 3G / 4G (third / fourth generation mobile communication technology) of communication operators as the research object. The technical problem is that in the current communication environment, there is a lack of effective data synchronization mechanism between 3G / 4G devices and 5G (fifth generation mobile communication technology) devices. This lack directly leads to the inability to guarantee the uniqueness of user data. When 4G devices and 5G devices store user data at the same time, it will cause a series of serious problems that affect the user experience. For example, users may encounter communication failures, which are manifested as inability to make calls, failure to send information, etc.; they may also be unable to access the network normally, and both attempts to connect to 4G networks and 5G networks are hindered. These problems seriously interfere with the normal use of communication networks by users and need to be solved from a technical level.
[0084] In order to effectively solve these problems, a more efficient processing method is urgently needed. Therefore, this embodiment builds a support platform to realize problem verification and resolution. Through this platform, the stubborn barriers between data are broken, and digital transformation technology is fully utilized to empower the front-line staff, thereby greatly improving the overall problem-solving efficiency, thereby effectively improving customer satisfaction and reshaping the good image of operators in the minds of users. This embodiment will take the first network as a 4G network and the second network as a 5G network as an example to explain the provided technical solution in detail. Generally speaking, the first network is the network of the user before the operator network upgrade and business transformation, and the second network is the network of the user after the operator network upgrade and business transformation.
[0085] In one implementation, S11, establishing a trusted communication channel with a home subscriber server HSS network element interface machine of the first network, specifically includes:
[0086] The backend server of the network element residual data cleaning device sends a link request to the HSS network element interface machine, and the link request carries the IP address of the backend server, so that the HSS network element interface machine performs link authentication on the backend server according to the IP address, and establishes a first connection with the backend server after the link authentication passes;
[0087] The backend server sends a login request to the HSS network element interface machine through the first connection. The login request carries a pre-allocated username and password, so that the HSS network element interface machine can obtain the permissions for the current operation according to the username and password and allocate a session ID for the current operation, and send the session ID to the backend server through the first connection;
[0088] Based on the session ID and the first connection, the trusted communication pipeline is implemented.
[0089] In this embodiment, a system for cleaning residual data of network elements after user migration is constructed. The method is applied to this system, and the system architecture is as Figure 5 and 6 shown.
[0090] As Figure 5 shown, the system consists of a presentation layer, an application layer, a data storage layer, and an execution layer. Presentation layer: This layer is the interface for users to interact with the system, mainly including a manual operation interface (interaction page). The interface is constructed using modern front-end technologies such as HTML (Hyper Text Markup Language), CSS (Cascading Style Sheets), and Javascript (a dynamic programming language). The operation interface communicates with the backend service (backend server, server) through the RESTFul API (Representational State Transfer Application Programming Interface) to realize data request and presentation. Application layer: The application layer is implemented based on the microservice architecture. Each microservice runs independently and cooperates with each other, including a data query microservice, a data cleaning microservice, a permission management microservice, and a log record microservice, etc. Data storage layer (not shown in the figure, can be included in the application layer): A NoSQL (Not Only SQL) database (such as Redis (Remote Dictionary Server)) is introduced to store frequently queried residual data of network elements and some data cleaning records, as part of the application layer. Execution layer: The execution layer is based on network element devices to complete the communication between the backend service and the 4G network element side (network element interface machine), and realize underlying data query and instruction execution. As Figure 5 and 6 shown, in the figure, the interaction page and the server together constitute a device for cleaning residual data of network elements. The interaction page is the front end of the device, and the server is the backend, and the backend is connected to the network element interface machine.
[0091] Combined with Figure 5 and6 As shown, the establishment process of the trusted communication pipeline is mainly implemented based on the network element verification process. Before the system server ( Figure 5 and 6 the server shown in, that is, the backend server) officially interacts with the HSS (Home Subscriber Server) network element interface machine, the system needs to establish a socket connection with the network element interface machine through the TCP / IP (Transmission Control Protocol / Internet Protocol) protocol. Link establishment mechanism: A standard socket connection is used between the server and the network element interface machine. The network element interface machine listens for link requests on a specified port and authenticates the IP address of the server. If the IP address of the server is not in the communication configuration list of the network element interface machine, the network element interface machine will refuse to establish a link with the server. That is, before establishing a connection, the server needs to tell the network element its IP address to complete the authorization. Link closing mechanism: After the server no longer needs to interact with the network element interface machine, it needs to actively disconnect the connection with the network element interface machine. When the network element interface machine fails to send a message to the server or detects that no message has been received from the server on a certain link for a period of time, the network element interface machine will close the link. Login mechanism: After the system server successfully creates a socket connection with the network element interface machine, it needs to send a login request according to the data format required by the network element interface machine based on the allocated username and password. After receiving the request message, the network element interface machine needs to assign a session ID (Identity) to the current operator of the server. At the same time, the server and the network element interface machine determine that the message content has not been tampered with by verifying the checksum at the end. The operator uses this session ID to carry out subsequent command information (instructions) interaction. The format of the subsequent command information can be as Figure 7 shown. The session ID and checksum are used to verify the legality of the instruction, including verifying whether the current operation has the corresponding permissions, etc. The transaction ID can indicate whether the instruction is a query instruction or a clearing instruction, etc. The terminal identifier can indicate the user.
[0092] In one embodiment, S12. After verifying that the user has migrated from the first network to the second network and the communication in the second network is affected, specifically including:
[0093] In response to detecting a communication failure of the user's terminal in the second network, or receiving a complaint from the user about a communication failure in the second network, the backend server obtains the user information of the user;
[0094] The backend server verifies according to the user information that the user has migrated from the first network to the second network and the service network elements in the first network and the second network involve different network equipment manufacturers.
[0095] In this embodiment, the residual data cleaning process can be started automatically or manually. The automatic method can be implemented by automatically monitoring the users in the second network. If a communication failure occurs (including failures during calls and failures in establishing call connections), and the user is migrated, a residual data query and clearing instruction is automatically generated. The network element residual data cleaning device can also be connected to a user complaint platform to assist customer service personnel in handling user complaints, etc.
[0096] In the process of migrating user data from 4G devices to 5G devices, there are two different situations: migration from the same manufacturer and migration from different manufacturers. For migration from the same manufacturer, the operation is relatively simple. Generally, user data is directly migrated from 4G devices to 5G devices. Under normal circumstances, the entire migration process is relatively smooth, no major problems will occur, and the smooth transition of user data can be guaranteed. It is rare that user data exists in both 4G and 5G devices. However, the process of migration from different manufacturers is much more complicated. In this process, it is first necessary to cancel the account at the 4G equipment vendor. At the same time, it is necessary to re-open an account for the user at the 5G equipment vendor. However, in the process of opening and closing the account, some situations are often prone to occur. Due to the possible data anomalies, it is very likely that the account cancellation operation cannot be successfully completed. Once this happens, the user data will remain on the network element, which will have a serious impact on the normal use of the user. For example, there may be communication failures, inability to access the network normally, or some business functions are restricted, which will bring great inconvenience to the user. Therefore, by detecting that the service network elements of the user in the first network and the second network involve different network equipment vendors, it can be further confirmed that the cause of the communication failure may be the residual 4G network data.
[0097] In addition, when the staff enters the phone number through the interactive interface to conduct query-related work, the input number needs to be verified. After entering the phone number, the system will strictly verify the input number according to the logic set by the back-end code. Only when the number successfully passes this verification process will the subsequent related logic code be further executed. An example of an interactive page is as follows Figure 8 As shown, it includes a service number MSISDN (MobileStation International Subscriber Directory Number) input box, a physical number IMSI (International Mobile Subscriber Identity) input box, a query button, a command reissue button, an information display module and the like.
[0098] The following is an example of code to verify a phone number:
[0099] public boolean checkMsisdn() {
[0100] if (this.msisdn == null || this.msisdn.isEmpty()) {
[0101] return false;
[0102] }
[0103] String _regex = "^1[3-9]\\d{9}$"; / / The first digit starts with 1, the second digit can only be 3-9, and the following 9 digits are between 0-9
[0104] Pattern pattern = Pattern.compile(_regex);
[0105] Matcher matcher = pattern.matcher(this.msisdn);
[0106] boolean match = matcher.matches();
[0107] return match;
[0108] }
[0109] The back-end system verifies the accuracy of the number according to the telephone number logic, returns true if the requirements are met, otherwise returns false, which is convenient for subsequent code logic judgment.
[0110] In one embodiment, S13: Send an instruction to the HSS network element interface machine through the trusted communication pipeline, so that the HSS network element interface machine queries and clears the residual data of the user in the network elements of the first network according to the instruction, specifically including:
[0111] The back-end server sends a residual data query instruction to the HSS network element interface machine through the first connection. The residual data query instruction carries the first user information, the session ID, and the first checksum of the user, so that after the HSS network element interface machine verifies the residual data query instruction according to the session ID and the first checksum, it queries the residual data of the user in the network elements of the first network according to the first user information, and sends the query result to the back-end server;
[0112] In response to the query result indicating that there is residual data of the user in the network elements of the first network, the backend server sends a residual data clearing instruction to the HSS network element interface machine through the first connection. The residual data clearing instruction carries the second user information of the user, the session ID, and the second checksum, so that after the HSS network element interface machine verifies the residual data clearing instruction according to the session ID and the second checksum, it clears the residual data of the user in the network elements of the first network according to the second user information, and sends a clearing result to the backend server.
[0113] In this embodiment, the instruction templates include a user login information template, a user subscription information query template, and a user data clearing template, which are respectively exemplified as follows:
[0114] User login information template: LOGIN:USER="+strUsername+",PSWD="+strPasswd
[0115] User subscription information query template:
[0116] Qry User:MSISDN=86"+userBasicMsg.getMsisdn()+",ITEM=BASIC
[0117] User data clearing template: Del User:IMSI="+userBasicMsg.getImsi()+",DelAuth=1;
[0118] The instruction submission method can be that after the operator accurately inputs the user's mobile number on the interactive interface, the system will automatically start the verification program. Once the verification passes smoothly, it will immediately perform a query operation on the user's subscription information and physical number for this number. After successfully obtaining the user's physical number, the operator can accurately select the specific instruction option of "clearing user data in the HSS network element" in the instruction reissuance module, and then click to submit the instruction. At this time, the system will use the backend interface logic to efficiently complete the combination and sending process of the instruction to ensure the coherence and accuracy of the entire operation chain and achieve the expected data processing task. The query instruction and the clearing instruction are sent through different interface addresses, as shown in Table 1 and Table 2 specifically.
[0119] Table 1 Example of the sending interface of the residual data query instruction
[0120]
[0121] Table 2 Example of the sending interface of the residual data clearing instruction
[0122]
[0123] In the instruction execution process, when an error occurs in the combined instruction, once the instruction is sent to the network element interface machine, the network element interface machine will immediately return the corresponding error code and detailed description information. At this time, the server can accurately record logs based on the specific error code. These logs will serve as the key basis and important reference for subsequent judgment of the error source and correction work, thereby effectively improving the error correction ability and stability of the entire instruction execution system, and ensuring the smooth progress and continuous optimization of related business processes.
[0124] As Figure 9 shown, for the display of the signing data query function on the interactive page, when querying and displaying signing information, if there is no corresponding user data for the number on the network element interface machine, the data returned by the query will be displayed as a null value. In this case, the interactive page will automatically follow the preset rules and not display the null data, so as to ensure the effectiveness and simplicity of the information presented on the interactive page, and provide a more clear, intuitive, and non-redundant interference operation experience and information feedback for users.
[0125] As Figures 10 - 12 shown, for the display effect of the user residual data clearing function on the interactive page, when performing the user residual data clearing operation, the operator accurately enters the mobile network number (service number) and physical number (IMSI). The system will automatically compare the entered mobile network number and physical number with the data information stored on the network element interface machine. If there is an inconsistency between the two, the system will immediately return the "IMSI error" prompt message to inform the operator of the data mismatch problem. On the contrary, if the information is completely consistent, the system will prompt "submission successful", indicating that the data clearing instruction has been successfully received and will be executed soon. At the same time, the server will comprehensively and detailedly record all relevant information of this operation, including but not limited to the entered number data, operation time, operation results, etc., providing strong data support and guarantee for subsequent operation traceability, data analysis, and system maintenance, ensuring the standardization, traceability, and controllability of the entire data clearing process, so as to achieve the purpose of clearing user residual data.
[0126] In one embodiment, where:
[0127] The first connection is specifically a socket connection;
[0128] The backend server receives the username and password of the interactive page from the network element residual data cleaning device, and the username and password are input by the current operator into the interactive page;
[0129] The first user information is the mobile subscriber international ISDN (MSISDN), and the second user information is MSISDN and the international mobile subscriber identity (IMSI);
[0130] The backend server receives the MSISDN and IMSI from the interactive page, and the MSISDN and the IMSI are input into the interactive page by the current operator;
[0131] The backend server receives the residual data query instruction and the residual data clearing instruction from the interactive page through different interface addresses.
[0132] In this embodiment, an IT (Information Technology) support platform is built. Through the way of manual intervention, the mobile user subscription data is quickly queried and the residual data is quickly cleared, ensuring the consistency and reliability of the data and improving the user experience. The technical objectives are mainly reflected in two aspects: constructing an advanced IT support platform architecture and strengthening the design of the function module of manual intervention. Constructing an advanced IT support platform architecture: Using the microservice architecture to design each function module of the platform, dividing functions such as user subscription data query and residual data clearing into independent services. The query service and the clearing service can be regarded as two services respectively and cooperate with each other through a lightweight communication mechanism (RESTful API). Strengthening the design of the function module of manual intervention: Developing an intuitive and easy-to-use manual operation interface, the interface has a clear navigation menu and operation buttons, which is convenient for staff to quickly locate the network element data query and residual data clearing functions; providing a detailed log recording function for manual intervention operations, accurately recording every query, clearing operation and related user information, operation time, etc.; implementing an operation permission management mechanism, and allocating different operation permissions according to the roles and responsibilities of the staff to ensure the security of the system and the integrity of the data.
[0133] In an implementation manner, the method further includes:
[0134] The backend server records an operation log, and the operation log includes the user name, the MSISDN and the IMSI, the residual data query instruction and its query result, the residual data clearing instruction and its clearing result, and the operation time.
[0135] In this embodiment, during the operation of the interactive platform, every operation performed by the operator number will be comprehensively and accurately recorded by the system server. These records cover rich and key information, such as Figure 13As shown in the figure, it includes: order number, which is used to uniquely identify each business order; instruction type, which clarifies the instruction category corresponding to the operation; instruction execution status, which intuitively presents different stages of the instruction in the execution process; province code and city code, which accurately locate the geographical scope of the operation; execution work number, which clarifies the specific executor of the operation; user number and IMSI physical number, which are associated with relevant user and device information; instruction content, which details the instructions generated and combined during the combined execution stage of the instruction and is recorded at this stage; receiving time, which accurately marks the moment when the system receives relevant information when the order is submitted; execution time, which is truthfully recorded during the combined execution link of the instruction; completion time, which is recorded when the entire operation process is completed; content returned by the network element, when the network element interface machine returns the result, the result information is completely recorded in this field.
[0136] In summary, this embodiment proposes to build an IT support platform and achieve specific functions (such as rapid query of signing data and rapid cleaning of residual data) through manual intervention to ensure data consistency and reliability and improve the user experience. Focusing on the problems that occur during the migration of mobile network user data from 4G devices to 5G devices, setting goals to solve these problems, focusing on the specific situations encountered in user data migration and corresponding countermeasures during the communication network upgrade process, and emphasizing the solution of specific problems that affect the normal use of users, such as user data residue, communication failures, and network access blockages, caused by differences in migration between the same manufacturer and different manufacturers during the migration of mobile network user data from 4G to 5G. By building a specific IT support platform and strengthening related functions, to ensure the smooth progress of data migration and the improvement of the user experience. The architecture design of the IT support platform is constructed by using a microservices architecture to divide related functions into independent services and enabling collaboration between services through a lightweight communication mechanism (RESTful API); at the same time, emphasizing the design of the manual intervention function module, including developing an easy-to-use operation interface, recording detailed operation logs, and implementing an operation permission management mechanism, etc., to ensure the effective implementation of platform functions and the security and reliability of the system. By quickly querying and cleaning the signing data and residual data of mobile network users during the migration from 4G to 5G, to ensure the consistency of data when migrating between different network devices and avoid situations that affect user use, such as communication failures and network access blockages, caused by problems such as data residue.
[0137] The key points of this embodiment include:
[0138] (1) Connection Foundation: The establishment of the connection between the server and the network element interface machine is the key to the smooth progress of the entire project. This connection process relies on the TCP / IP protocol to build a trusted socket channel, laying a solid foundation for subsequent data interaction. Moreover, according to the network element interface machine specification, successful login is achieved with the assigned account password. Only after successful login can the entire system operate, providing an instruction interaction channel for subsequent business operations such as querying user signing information and clearing user residual data.
[0139] (2) Data Verification: There are potential risks of data tampering for numbers and physical numbers. To ensure the reliability and accuracy of the information received by the server, it must be strictly verified according to established rules. Through data verification, it is possible to effectively distinguish whether the input information is consistent with the expectation, thus ensuring data consistency and accuracy, providing a solid data foundation for the correct generation and execution of subsequent instructions.
[0140] (3) Instruction Generation and Execution: Instructions play a core role in driving the normal operation of the entire business process in this project. Whether it is to query user signing information or clear user residual data, the precise operation of instructions is indispensable. The server needs to combine the numbers and physical numbers input by the operator on the interaction page according to the specifications issued by the network element interface machine, and then form instruction combination information. Subsequently, the instructions are sent to the network element interface machine through the previously successfully established channel for execution. However, if the instruction combination deviates from the specification track or the information entered by the operator is incorrect, the instruction cannot be executed normally and will immediately return the corresponding error information for timely troubleshooting and correction of problems.
[0141] This project focuses on solving the problem of the lack of data synchronization mechanism between 4G network element devices and 5G network element devices. During the user data migration process, due to the lack of an effective synchronization mechanism, data residue is likely to occur. The core purpose of this project is that when such data residue occurs, the staff can use this project to process the residual data in a timely manner to ensure the uniqueness of user data. This not only helps to maintain the integrity and accuracy of the data, but also is the key to ensuring the normal use rights and interests of users. Through the implementation of this project, problems such as communication failures, inability to access the network normally, or limited functions of some services caused by data residue can be effectively avoided, providing users with a stable, reliable, and consistent communication service experience, thus protecting the rights and interests of users at the technical level.
[0142] The technical advantages of this solution include:
[0143] (1) Designing platform functions using a microservices architecture has many advantages. It can integrate the functions of querying user subscription data and cleaning residual data into the same module, but they are called through different interfaces during application. This design enables the project to be independently designed, developed, deployed, and extended. For example, the query service focuses on efficiently and accurately retrieving user subscription data information, while the residual data cleaning service focuses on data cleaning. The two collaborate through lightweight communication via RESTFul, which is widely used and technically mature in modern communication systems.
[0144] (2) Operation interface design: Design an intuitive and user-friendly manual operation interface. With current software development technologies and tools, it is easy to construct an interface with navigation menus and operation buttons. For example, for the front end, Vue.js (a progressive framework for building user interfaces) and React.js (a JavaScript library for building user interfaces) can be used to efficiently build a responsive and user-friendly interface, facilitating staff to quickly locate the required functions and reducing the complexity and learning cost of operations. Log recording function: Provide a detailed log recording function for operations. Using database technology, it is convenient to record relevant information for each operation, including operation numbers, physical numbers, staff numbers, combined instructions, return instructions, relevant times, etc. You can choose a MySQL (a relational database management system) database or a Redis (an open-source key-value database written in ANSI C language, supporting networking, and capable of being memory-based or persistent) database, and design a reasonable data structure according to different query and cleaning operation requirements to ensure the traceability and integrity of the logs. Operation permission management mechanism: Based on existing identity authentication and authorization technologies, such as the Role-Based Access Control (RBAC) model, different operation permissions can be assigned according to the roles and responsibilities of the staff.
[0145] (3) Network element interaction services: The network element interface machine maintenance provider provides clear interface specifications. The server side connects to the network element interface machine according to the interface specifications, establishes a stable and reliable communication pipeline, combines instruction templates to be executed according to different service requirements, and sends data to the network element interface machine for execution according to certain rules. The server side can choose technologies such as Java (an object-oriented programming language) and C++ (a high-level computer programming language) to implement service interface calls, communication pipeline establishment, instruction combination execution, and return interface processing logic implementation to complete the interaction process with the network element.
[0146] The implementation of this embodiment includes developing the backend project, the frontend project, and the integration with the network element system. The specific implementation means include:
[0147] (1) The back-end project adopts the Springboot (an open-source framework for quickly building Java applications based on the Spring framework) framework, which provides an efficient startup mechanism, automatic configuration, and convenient dependency management functions for the entire server system. Based on this framework, a stable and scalable server environment is quickly built to easily handle complex and changing business requirements. Maven (a project management tool software) plays a key role in project construction and dependency management. Through a standardized project structure and dependency management mechanism, it ensures clear module division and explicit dependency relationships in the project, greatly improving the maintainability of the project and the efficiency of team collaboration. The back-end architecture has carefully designed a complete set of interface systems, including data query interfaces and residual data clearing interfaces, which follow the RESTful design principle, making the interface calls between various business modules simple, clear, easy to understand and use. Each interface undergoes strict permission verification and data validation to ensure that only requests with legitimate authorization and accurate data can be processed, effectively guaranteeing the security of the system and the integrity of the data. The log function recording module is a major highlight of the back-end project. It adopts an advanced log framework and can detailedly record every key event during the system operation, including business operation logs, system exception logs, etc. These log information not only provides rich data support for system operation and maintenance monitoring but also plays an indispensable role in troubleshooting and problem tracking. By deeply analyzing the log data, the root cause of the problem can be quickly located, and effective solutions can be taken in a timely manner, thus minimizing the impact of system failures on the business. As one of the core businesses of the project, for the network element interaction function, the back-end has achieved a stable and efficient connection with the network element interface machine through a carefully designed communication protocol and data format. During the data transmission process, encryption and verification technologies are adopted to ensure the security and accuracy of the data. The employee ID permission management module has built a strict permission control system in the back-end architecture. Based on the role-based access control RBAC model, corresponding roles are assigned to different employee IDs, and a detailed permission list is defined according to the roles. After each employee ID logs in to the system, the operations it can perform are strictly restricted by permissions, effectively preventing the risks of illegal operations and data leakage and providing a solid guarantee for the safe and stable operation of the system.
[0148] (2) The front-end project is based on EasyUI (a collection of user interface plugins based on jQuery) and Java Servlet (a server-side applet or service connector written in Java) technologies to create a highly user-friendly interactive page. EasyUI provides a rich variety of UI (User Interface) components, making the design and development of the front-end page efficient and fast. Through the flexible combination and customization of these components, a beautiful and reasonable-layout menu navigation system is constructed, providing users with clear and convenient operation path guidance. As an important part of the front-end project, the query module fully considers the query needs and operation habits of users in design, providing a simple and clear query interface. Users can perform combined queries according to query conditions such as numbers and physical numbers, and the query results are presented in an intuitive and clear table form, facilitating users to quickly browse and analyze. The instruction reissuance module focuses on the convenience and accuracy of operations in the front-end interface design, providing users with a detailed instruction reissuance operation process guide. Users only need to input and select the corresponding instruction parameters on the interface and click the submit button to easily complete the instruction reissuance operation. During the instruction reissuance process, the front-end interface will display the sending status and reissuance result feedback of the instruction in real time, enabling users to timely understand the progress of the instruction reissuance and ensuring the transparency and reliability of the operation.
[0149] (3) This IT support platform (including the network element residual data cleaning devices for the front-end and back-end) needs to be integrated with the existing 4G and 5G communication network systems. During the integration process, cooperate with network equipment suppliers to determine the connection method and data interaction protocol with the network element interface machine, establish a socket channel based on the TCP / IP protocol according to the specifications of the network element interface machine, and perform login verification according to the assigned account password to establish a secure and reliable connection with the network element interface machine for querying user subscription data and cleaning residual data. At the same time, ensure that the operation of the platform will not interfere with the normal operation of the existing network system, and conduct sufficient compatibility testing and joint debugging work during the integration process.
[0150] Embodiment 2:
[0151] As Figure 2 shown, this application provides a method for cleaning network element residual data after user migration. The method is applied to the home subscriber server (HSS) network element interface machine of the first network and includes:
[0152] S21. Establish a trusted communication pipeline with the network element residual data cleaning device;
[0153] S22. Receive and execute the instruction sent by the network element residual data cleaning device through the trusted communication pipeline to query and clear the residual data of the user in the network elements of the first network. The user is a user whose communication in the second network is affected after being verified by the network element residual data cleaning device and migrating from the first network to the second network.
[0154] In one embodiment, S21. Establish a trusted communication pipeline with the network element residual data cleaning device, specifically including:
[0155] Listen for a link request from the backend server of the network element residual data cleaning device. The link request carries the IP address of the backend server. Perform link authentication on the backend server according to the IP address, and establish a first connection with the backend server after the link authentication passes;
[0156] Receive the login request sent by the backend server through the first connection. The login request carries the pre-allocated username and password. Obtain the permissions for the current operation and allocate the session ID for the current operation according to the username and password, and send the session ID to the backend server through the first connection;
[0157] Implement the trusted communication pipeline based on the session ID and the first connection.
[0158] In one embodiment, the user is the backend server:
[0159] In response to detecting a communication failure of the user's terminal in the second network, or receiving a complaint from the user about a communication failure in the second network, after obtaining the user information of the user, verify that the user has migrated from the first network to the second network and that the service network elements in the first network and the second network involve different network equipment manufacturers according to the user information.
[0160] In one embodiment, in S22, receiving and executing the instruction sent by the network element residual data cleaning device through the trusted communication pipeline to query and clear the residual data of the user in the network elements of the first network specifically includes:
[0161] Receive the residual data query instruction sent by the backend server through the first connection. The residual data query instruction carries the first user information of the user, the session ID, and the first checksum. After verifying the residual data query instruction according to the session ID and the first checksum, query the residual data of the user in the network elements of the first network according to the first user information, and send the query result to the backend server;
[0162] In response to the query result indicating that there is residual data of the user in the network elements of the first network, receive the residual data clearing instruction sent by the backend server through the first connection. The residual data clearing instruction carries the second user information of the user, the session ID, and the second checksum. After verifying the residual data clearing instruction based on the session ID and the second checksum, clear the residual data of the user in the network elements of the first network according to the second user information, and send the clearing result to the backend server.
[0163] In one embodiment, where:
[0164] The first connection is specifically a socket connection;
[0165] The first user information is the Mobile Subscriber International ISDN (MSISDN), and the second user information is the MSISDN and the International Mobile Subscriber Identity (IMSI);
[0166] The username and password, the MSISDN and the IMSI, the residual data query instruction, and the residual data clearing instruction are input by the current operator into the interactive page of the network element residual data cleaning device, and are received by the backend server and then sent to the HSS network element interface machine.
[0167] In one embodiment, the method further includes:
[0168] The HSS network element interface machine closes the first connection in response to not receiving a message from the backend server within a preset time length or failing to send a message to the backend server.
[0169] Embodiment 3:
[0170] As Figure 3 shown, the present application provides a network element residual data cleaning device, which is used for cleaning the residual data of network elements after user migration, and includes:
[0171] A first communication module 11, configured to establish a trusted communication pipeline with a Home Subscriber Server (HSS) network element interface machine of the first network;
[0172] A first verification module 12, connected to the first communication module 11, configured to verify that the user is a user whose communication in the second network is affected after migrating from the first network to the second network;
[0173] An instruction module 13, connected to the first verification module 12, configured to send an instruction to the HSS network element interface machine through the trusted communication pipeline, so that the HSS network element interface machine queries and clears the residual data of the user in the network elements of the first network according to the instruction.
[0174] In one embodiment, the first communication module 11 specifically includes:
[0175] The first connection unit is used for the backend server of the network element residual data cleaning device to send a link request to the HSS network element interface machine, and the IP address of the backend server is carried in the link request, so that the HSS network element interface machine performs link authentication on the backend server according to the IP address, and establishes a first connection with the backend server after the link authentication passes;
[0176] The first login unit is connected to the first connection unit and is used for the backend server to send a login request to the HSS network element interface machine through the first connection. The pre-allocated username and password are carried in the login request, so that the HSS network element interface machine obtains the current operation permissions according to the username and password and allocates the session ID of the current operation, and sends the session ID to the backend server through the first connection;
[0177] The first communication unit is connected to the first login unit and is used to implement the trusted communication pipeline based on the session ID and the first connection.
[0178] In one embodiment, the first verification module 12 specifically includes:
[0179] The first verification start unit is used for the backend server to obtain the user information of the user in response to detecting that the terminal of the user has a communication failure in the second network, or receiving a complaint from the user about a communication failure in the second network;
[0180] The first verification content unit is connected to the first verification start unit and is used for the backend server to verify that the user is a user who has migrated from the first network to the second network and the service network elements in the first network and the second network involve different network equipment manufacturers according to the user information.
[0181] In one embodiment, the instruction module 13 specifically includes:
[0182] The query instruction unit is used for the backend server to send a residual data query instruction to the HSS network element interface machine through the first connection. The first user information of the user, the session ID and the first checksum are carried in the residual data query instruction, so that after the HSS network element interface machine verifies the residual data query instruction according to the session ID and the first checksum, it queries the residual data of the user in the network elements of the first network according to the first user information, and sends the query result to the backend server;
[0183] A clearing instruction unit, connected to the query instruction unit, is configured to, in response to the query result indicating that there is residual data of the user in the network elements of the first network, the backend server sends a residual data clearing instruction to the HSS network element interface machine through the first connection, and the residual data clearing instruction carries the second user information of the user, the session ID, and the second checksum, so that after the HSS network element interface machine verifies the residual data clearing instruction according to the session ID and the second checksum, it clears the residual data of the user in the network elements of the first network according to the second user information and sends a clearing result to the backend server.
[0184] In one embodiment, where:
[0185] The first connection is specifically a socket connection;
[0186] The backend server receives the username and password from the interactive page of the network element residual data cleaning device, and the username and password are input by the current operator into the interactive page;
[0187] The first user information is the Mobile Subscriber International ISDN (MSISDN), and the second user information is the MSISDN and the International Mobile Subscriber Identity (IMSI);
[0188] The backend server receives the MSISDN and IMSI from the interactive page, and the MSISDN and the IMSI are input by the current operator into the interactive page;
[0189] The backend server receives the residual data query instruction and the residual data clearing instruction from the interactive page through different interface addresses.
[0190] In one embodiment, the device further includes:
[0191] A log module, connected to the instruction module 13, is configured to record operation logs for the backend server, and the operation logs include the username, the MSISDN and the IMSI, the residual data query instruction and its query result, the residual data clearing instruction and its clearing result, and the operation time.
[0192] Example 4:
[0193] As Figure 4 shown, the present application provides a Home Subscriber Server (HSS) network element interface machine for the first network, and the HSS network element interface machine is used for cleaning residual data of network elements after user migration, and includes:
[0194] A second communication module 21, configured to establish a trusted communication pipeline with the network element residual data cleaning device;
[0195] An instruction execution module 22, connected to the second communication module 21, is configured to receive and execute an instruction for querying and clearing residual data of a user in a network element of the first network sent by the network element residual data cleaning device through the trusted communication pipeline. The user is a user whose communication in the second network is affected after being verified by the network element residual data cleaning device and migrating from the first network to the second network.
[0196] In one embodiment, the second communication module 21 specifically includes:
[0197] A monitoring unit, configured to monitor a link request from a backend server of the network element residual data cleaning device. The link request carries the IP address of the backend server, perform link authentication on the backend server according to the IP address, and establish a first connection with the backend server after the link authentication passes;
[0198] A login allocation unit, connected to the monitoring unit, is configured to receive a login request sent by the backend server through the first connection. The login request carries a pre-allocated username and password, obtain the permissions for the current operation and allocate a session ID for the current operation according to the username and password, and send the session ID to the backend server through the first connection;
[0199] A second communication unit, connected to the login allocation unit, is configured to implement the trusted communication pipeline based on the session ID and the first connection.
[0200] In one embodiment, the user is the backend server:
[0201] In response to detecting a communication failure of a user's terminal in the second network, or receiving a complaint from the user about a communication failure in the second network, after obtaining the user information of the user, verify that the user has migrated from the first network to the second network and that the service network elements in the first network and the second network involve different network equipment manufacturers according to the user information.
[0202] In one embodiment, the instruction execution module 22 specifically includes:
[0203] A query unit, configured to receive a residual data query instruction sent by the backend server through the first connection. The residual data query instruction carries the first user information of the user, the session ID, and a first checksum. After verifying the residual data query instruction according to the session ID and the first checksum, query the residual data of the user in the network element of the first network according to the first user information, and send a query result to the backend server;
[0204] A clearing unit, connected to the query unit, is configured to, in response to the query result indicating that there is residual data of the user in the network elements of the first network, receive a residual data clearing instruction sent by the backend server through the first connection. The residual data clearing instruction carries the second user information of the user, the session ID, and the second checksum. After verifying the residual data clearing instruction based on the session ID and the second checksum, the clearing unit clears the residual data of the user in the network elements of the first network according to the second user information, and sends a clearing result to the backend server.
[0205] In one embodiment, wherein:
[0206] The first connection is specifically a socket connection;
[0207] The first user information is the Mobile Station International Subscriber Directory Number (MSISDN), and the second user information is the MSISDN and the International Mobile Subscriber Identity (IMSI);
[0208] The username and password, the MSISDN and the IMSI, the residual data query instruction, and the residual data clearing instruction are input by the current operator into the interactive page of the network element residual data cleaning device, and are received by the backend server and then sent to the HSS network element interface machine.
[0209] In one embodiment, the HSS network element interface machine further includes:
[0210] A connection closing unit, configured to close the first connection in response to not receiving a message from the backend server within a preset time period or failing to send a message to the backend server.
[0211] Embodiment 5:
[0212] Embodiment 5 of the present application provides a system for cleaning residual data of network elements after user migration. The system includes:
[0213] The network element residual data cleaning device as described in Embodiment 3, configured to implement the method for cleaning residual data of network elements after user migration as described in Embodiment 1;
[0214] The home subscriber server (HSS) network element interface machine of the first network as described in Embodiment 4, connected to the network element residual data cleaning device, configured to implement the method for cleaning residual data of network elements after user migration as described in Embodiment 2.
[0215] Embodiment 6:
[0216] Example 6 of the present application provides a computer-readable storage medium storing a computer program which, when run by a processor, implements the method for cleaning residual data of network elements after user migration as described in Example 1 and / or 2, or implements the apparatus for cleaning residual data of network elements after user migration as described in Example 3 or 4 or 5.
[0217] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, computer program units or other data. The computer-readable storage medium includes, but is not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory or other memory technologies, CD-ROM (Compact Disc Read-Only Memory), digital versatile disc (DVD) or other optical disc storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0218] In addition, the present application may further provide a computer device including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the method for cleaning residual data of network elements after user migration as described in Example 1 and / or 2. The computer device may be the apparatus for cleaning residual data of network elements after user migration as described in Example 3 or 4 or 5.
[0219] Wherein, the memory is connected to the processor. The memory may adopt flash memory or read-only memory or other memories, and the processor may adopt a central processing unit or a single-chip microcomputer.
[0220] Examples 1-6 of the present application provide a method, apparatus and medium for cleaning residual data of network elements after user migration. By setting up an apparatus for cleaning residual data of network elements, the apparatus establishes a trusted communication pipeline with the HSS network element interface machine of the first network, and based on the trusted communication pipeline, queries and clears the residual data of the user in the network elements of the first network, so as to avoid the influence on the second network communication after the user migrates from the first network to the second network, and improves the user experience.
[0221] It is understandable that the above embodiments are merely exemplary embodiments adopted to illustrate the principle of the present application. However, the present application is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present application, and these modifications and improvements are also regarded as the protection scope of the present application.
Claims
1. A method for cleaning residual data of network elements after user migration, characterized in that: The method is applied to a network element residual data cleaning device and comprises: Establishing a trusted communication channel with a home subscriber server HSS network element interface machine of the first network; The verification user is a user whose communication in the second network is affected after migration from the first network to the second network; An instruction is sent to the HSS network element interface machine through the trusted communication channel, so that the HSS network element interface machine queries and clears the residual data of the user in the network element of the first network according to the instruction.
2. The method according to claim 1, characterized in that Establishing a trusted communication channel with a home subscriber server HSS network element interface machine of the first network, specifically including: The backend server of the network element residual data cleaning device sends a link request to the HSS network element interface machine, and the link request carries the IP address of the backend server, so that the HSS network element interface machine performs link authentication on the backend server according to the IP address, and establishes a first connection with the backend server after the link authentication passes; The backend server sends a login request to the HSS network element interface machine through the first connection, and the login request carries a pre-assigned user name and password, so that the HSS network element interface machine obtains the authority of the current operation according to the user name and password and allocates a session ID of the current operation, and sends the session ID to the backend server through the first connection; The trusted communication pipe is implemented based on the session ID and the first connection.
3. The method according to claim 2, characterized in that Verified users are users whose communications on the second network are affected after migrating from the first network to the second network, including: In response to detecting that a communication failure occurs on the second network at the user's terminal, or receiving a complaint from the user that a communication failure occurs on the second network, the backend server acquires user information of the user; The backend server verifies, according to the user information, that the user is migrated from the first network to the second network, and that service network elements in the first network and the second network involve different network equipment vendors.
4. The method according to claim 3, characterized in that Sending an instruction to the HSS network element interface machine through the trusted communication channel so that the HSS network element interface machine queries and clears the residual data of the user in the network element of the first network according to the instruction, specifically includes: The backend server sends a residual data query instruction to the HSS network element interface machine through the first connection, wherein the residual data query instruction carries the first user information of the user, the session ID and the first checksum, so that the HSS network element interface machine verifies the residual data query instruction according to the session ID and the first checksum, queries the residual data of the user in the network element of the first network according to the first user information, and sends the query result to the backend server; In response to the query result that the user has residual data in the network elements of the first network, the back-end server sends a residual data clearing instruction to the HSS network element interface machine through the first connection, and the residual data clearing instruction carries the second user information of the user, the session ID and the second checksum, so that the HSS network element interface machine verifies the residual data clearing instruction according to the session ID and the second checksum, and then clears the residual data of the user in the network elements of the first network according to the second user information, and sends the clearing result to the back-end server.
5. The method according to claim 4, characterized in that in: The first connection is specifically a socket connection; The backend server receives a user name and a password from an interactive page of the network element residual data cleaning device, wherein the user name and the password are input into the interactive page by the current operator; The first user information is an international mobile user number (MSISDN), and the second user information is an MSISDN and an international mobile user identity (IMSI); The backend server receives the MSISDN and the IMSI from the interaction page, wherein the MSISDN and the IMSI are input into the interaction page by the current operator; The back-end server receives the residual data query instruction and the residual data clearing instruction from the interactive page through different interface addresses.
6. The method according to claim 5, characterized in that The method further comprises: The back-end server records an operation log, which includes the user name, the MSISDN and the IMSI, the residual data query instruction and its query result, the residual data clearing instruction and its clearing result, and the operation time.
7. A method for cleaning residual data of network elements after user migration, characterized in that: The method is applied to a home subscriber server HSS network element interface machine of a first network, and comprises: Establish a trusted communication channel with the network element residual data cleaning device; Receive and execute instructions for querying and clearing residual data of a user in a network element of the first network sent by the network element residual data cleaning device through the trusted communication channel, wherein the user is a user whose communication in the second network is affected after the user is verified by the network element residual data cleaning device to have migrated from the first network to the second network.
8. The method according to claim 7, characterized in that Establish a trusted communication channel with the network element residual data cleaning device, including: Listening to a connection request from a backend server of the network element residual data cleaning device, the connection request carries the IP address of the backend server, performing connection authentication on the backend server according to the IP address, and establishing a first connection with the backend server after the connection authentication passes; receiving a login request sent by the backend server through the first connection, the login request carrying a pre-assigned user name and password, obtaining the permission for the current operation according to the user name and password and assigning a session ID for the current operation, and sending the session ID to the backend server through the first connection; The trusted communication pipe is implemented based on the session ID and the first connection.
9. The method according to claim 8, characterized in that The user is the backend server: In response to detecting that a communication failure occurs in a user's terminal in a second network, or receiving a complaint from a user that a communication failure occurs in the second network, after obtaining user information of the user, verifying based on the user information that the user is migrated from a first network to a second network, and that service network elements in the first network and the second network involve different network equipment vendors.
10. The method according to claim 9, characterized in that Receiving and executing the query and instruction to clear the residual data of the user in the network element of the first network sent by the network element residual data clearing device through the trusted communication channel specifically includes: receiving a residual data query instruction sent by the backend server through the first connection, the residual data query instruction carrying the first user information of the user, the session ID and the first checksum, after verifying the residual data query instruction according to the session ID and the first checksum, querying the residual data of the user in the network element of the first network according to the first user information, and sending the query result to the backend server; In response to the query result that the user has residual data in the network element of the first network, a residual data clearing instruction is received from the back-end server through the first connection, the residual data clearing instruction carries the second user information of the user, the session ID and the second checksum, after verifying the residual data clearing instruction according to the session ID and the second checksum, the residual data of the user in the network element of the first network is cleared according to the second user information, and the clearing result is sent to the back-end server.
11. The method according to claim 10, characterized in that in: The first connection is specifically a socket connection; The first user information is the international mobile user number MSISDN, and the second user information is the MSISDN and the international mobile user identity IMSI; The user name and password, the MSISDN and the IMSI, the residual data query instruction and the residual data clearing instruction are input by the current operator into the interactive page of the network element residual data clearing device, and are received by the back-end server and sent to the HSS network element interface machine.
12. The method according to claim 11, characterized in that The method further comprises: In response to not receiving a message from the backend server within a preset period of time or failing to send a message to the backend server, the HSS network element interface machine closes the first connection.
13. A network element residual data cleaning device, characterized in that: The network element residual data cleaning device is used to clean up the network element residual data after user migration, and includes: A first communication module, used to establish a trusted communication channel with a home subscriber server HSS network element interface machine of the first network; A first verification module, connected to the first communication module, is used to verify that the user is a user whose communication in the second network is affected after the user migrates from the first network to the second network; The instruction module is connected to the first verification module and is used to send instructions to the HSS network element interface machine through the trusted communication channel, so that the HSS network element interface machine queries and clears the residual data of the user in the network element of the first network according to the instructions.
14. A home subscriber server HSS network element interface machine of a first network, characterized in that: The HSS network element interface machine is used to clean up residual data of the network element after user migration, and includes: The second communication module is used to establish a trusted communication channel with the network element residual data cleaning device; An instruction execution module is connected to the second communication module and is used to receive and execute instructions for querying and clearing residual data of a user in a network element of the first network sent by the network element residual data cleaning device through the trusted communication channel. The user is a user whose communication in the second network is affected after the user is verified by the network element residual data cleaning device to migrate from the first network to the second network.
15. A system for cleaning residual data of network elements after user migration, characterized in that: The system comprises: A network element residual data cleaning device, used to implement the network element residual data cleaning method after user migration according to any one of claims 1 to 6; The home user server HSS network element interface machine of the first network is connected to the network element residual data cleaning device, and is used to implement the method for cleaning network element residual data after user migration as described in any one of claims 7-12.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for cleaning residual data of network elements after user migration as described in any one of claims 1-6 or 7-12 is implemented.