CN117615396A - Data management method, terminal device and storage medium - Google Patents

Data management method, terminal device and storage medium Download PDF

Info

Publication number
CN117615396A
CN117615396A CN202410078903.5A CN202410078903A CN117615396A CN 117615396 A CN117615396 A CN 117615396A CN 202410078903 A CN202410078903 A CN 202410078903A CN 117615396 A CN117615396 A CN 117615396A
Authority
CN
China
Prior art keywords
user
data
server
land mobile
home subscriber
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410078903.5A
Other languages
Chinese (zh)
Other versions
CN117615396B (en
Inventor
黄家继
吕立民
赵焰
张峻源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Smart City Communication Co ltd
Shenzhen Smart City Technology Development Group Co ltd
Original Assignee
Shenzhen Smart City Communication Co ltd
Shenzhen Smart City Technology Development Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Smart City Communication Co ltd, Shenzhen Smart City Technology Development Group Co ltd filed Critical Shenzhen Smart City Communication Co ltd
Priority to CN202410078903.5A priority Critical patent/CN117615396B/en
Publication of CN117615396A publication Critical patent/CN117615396A/en
Application granted granted Critical
Publication of CN117615396B publication Critical patent/CN117615396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data management method, terminal equipment and a storage medium, belonging to the technical field of communication, wherein the data management method comprises the following steps: receiving a user control instruction sent by a client, and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, a account selling instruction and a modification instruction; and when the attribution information is other land mobile networks except the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user servers arranged on the other land mobile networks. The invention can uniformly manage all user data through one account module and the main home subscriber server, thereby improving the management efficiency.

Description

Data management method, terminal device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data management method, a terminal device, and a storage medium.
Background
RAN-Sharing (Radio Access Network-Sharing) mode refers to a mode in which multiple network service providers or multiple industry objects of network services share the same set of base station devices and corresponding radio frequency resources within a certain area. In this mode, multiple industry objects of different service providers or network services can commonly use the same base station (eNodeB) equipment to provide wireless network coverage and service, thereby reducing network construction and maintenance costs and improving the utilization efficiency of network resources.
In the case of sharing radio access network resources among multiple industry objects of different service providers or network services, corresponding core network devices may be deployed in corresponding regions, including HSS (Enhanced Home Subscriber Server )/HSS (Home Subscriber Server, home subscriber server)/THSS (Trunking Home Subscriber Server, clustered home subscriber server), etc., for storing and managing relevant data of users. However, since the HSS/THSS devices disposed for different industry objects are configured with mutually incompatible accounting modules (also referred to as management systems), private network operation teams in RAN-sharing mode are required to log in each accounting module corresponding to industry objects operating different service providers or network services, so as to manage relevant data of users independently stored in respective HSS/THSS, which reduces management efficiency of private network operation teams.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem of low data management efficiency by providing a data management method, terminal equipment and a computer readable storage medium.
To achieve the above object, an embodiment of the present invention provides a data management method, including:
receiving a user control instruction sent by a client, and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, a account selling instruction and a modification instruction;
and when the attribution information is other land mobile networks except the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user servers arranged on the other land mobile networks.
Optionally, after the step of receiving the user control instruction sent by the client and determining the attribution information of the operation object corresponding to the user control instruction, the method further includes:
and when the attribution information is the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network.
Optionally, the step of receiving the user control instruction sent by the client and determining the attribution information of the operation object corresponding to the user control instruction further includes:
Verifying whether the data format of the user control instruction accords with a preset data format;
if not, converting the data format of the user control instruction into the preset data format;
when the attribution information is other land mobile networks except the target land mobile network, sending the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user server arranged on the other land mobile networks;
and when the attribution information is the target land mobile network, sending the user control instruction to the main attribution user server arranged on the target land mobile network.
Optionally, after the step of receiving the user control instruction sent by the client and determining the attribution information of the operation object corresponding to the user control instruction, the method includes:
determining a corresponding desensitization algorithm according to the type and sensitivity of the user data corresponding to the user control instruction;
desensitizing the user data according to the desensitization algorithm to obtain desensitized data;
according to a preset rule of the desensitization algorithm, the desensitization algorithm is confused, and a target desensitization algorithm is obtained;
When the attribution information is other land mobile networks except for a target land mobile network, the desensitization data and the target desensitization algorithm are sent to the main attribution user server and the auxiliary attribution user server, wherein the main attribution user server and the auxiliary attribution user server restore the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deduce the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data;
and when the attribution information is the target land mobile network, transmitting the desensitization data and the target desensitization algorithm to the main attribution user server, wherein the main attribution user server restores the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deducing the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data.
Optionally, when the home information is other land mobile networks than the target land mobile network, the step of updating the user data corresponding to the user control instruction to the master home user server disposed in the target land mobile network and the slave home user server disposed in the other land mobile networks further includes:
Receiving and storing the response information from the home subscriber server;
when the current time is synchronous time, synchronous data and the slave home subscriber server corresponding to the synchronous data are determined according to the response information;
and updating the synchronous data to the slave home subscriber server.
Optionally, before the step of determining the synchronization data and the slave home subscriber server corresponding to the synchronization data according to the response information when the current time is the synchronization time, the method includes:
detecting the receiving frequency of a user control instruction at the current time and/or the time interval of the current time;
and determining the synchronous time according to the receiving frequency and/or the time interval of the current time.
Optionally, the data management method further includes:
if the main home subscriber server fails, determining the use state of a standby home subscriber server corresponding to the main home subscriber server;
when the use state is an available state, updating the standby home subscriber server to the main home subscriber server;
and caching the user control instruction when the use state is an unavailable state.
Optionally, after the step of updating the standby home subscriber server to the primary home subscriber server when the usage state is the available state, the method further includes:
When the original home subscriber server with the fault is recovered, determining a first user data volume stored by the original home subscriber server and a second user data volume of the current main home subscriber server;
when the first user data volume is larger than the second user data volume, updating the second user data of the current main home user server to the original main home user server, and updating the original main home user server to be the main home user server;
and when the first user data volume is smaller than the second user data volume, updating the first user data of the original main home subscriber server to the current main home subscriber server.
In addition, in order to achieve the above object, the present invention further provides a terminal device, including: the system comprises a memory, a processor and a data management program stored on the memory and capable of running on the processor, wherein the data management program realizes the steps of the data management method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data management program which, when executed by a processor, implements the steps of the data management method as described above.
The invention provides a data management method, a terminal device and a computer readable storage medium, which are used for receiving a user control instruction sent by a client and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, a account selling instruction and a modifying instruction, and when the attribution information is other land mobile networks except a target land mobile network, user data corresponding to the user control instruction is updated to a main attribution user server arranged on the target land mobile network and a slave attribution user server arranged on other land mobile networks. The invention receives the user control command uniformly through the account module, and updates the user data of the attribution information belonging to other land mobile networks to the master attribution user server and the slave attribution user server, so that the private network operators can uniformly manage all the user data through one account module and the master attribution user server, and the management efficiency is improved.
Drawings
FIG. 1 is a flow chart of a data management method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a user data update method according to the present invention;
FIG. 3 is another schematic diagram of a user data update method according to the present invention;
FIG. 4 is a block diagram of a data management method according to the present invention;
FIG. 5 is another detailed flowchart of step S20 in a second embodiment of the data management method of the present invention;
FIG. 6 is a diagram of user data synchronization in accordance with the present invention;
FIG. 7 is a flow chart of a third embodiment of the data management method of the present invention;
fig. 8 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the case of sharing radio access network resources among multiple industry objects of different service providers or network services, corresponding core network devices may be deployed in corresponding regions, including HSS (Enhanced Home Subscriber Server )/HSS (Home Subscriber Server, home subscriber server)/THSS (Trunking Home Subscriber Server, clustered home subscriber server), etc., for storing and managing relevant data of users. However, since the HSS/THSS devices disposed for different industry objects are configured with mutually incompatible accounting modules (also referred to as management systems), private network operation teams in RAN-sharing mode are required to log in each accounting module corresponding to industry objects operating different service providers or network services, so as to manage relevant data of users independently stored in respective HSS/THSS, which reduces management efficiency of private network operation teams.
In order to solve the above-mentioned drawbacks of the related art, the present invention provides a data management method, which mainly comprises the following steps:
and receiving a user control instruction sent by the client and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, an account selling instruction and a modifying instruction, and when the attribution information is other land mobile networks except for the target land mobile network, updating user data corresponding to the user control instruction to a main attribution user server arranged on the target land mobile network and a slave attribution user server arranged on the other land mobile networks. The invention receives the user control command uniformly through the account module, and updates the user data of the attribution information belonging to other land mobile networks to the master attribution user server and the slave attribution user server, so that the private network operators can uniformly manage all the user data through one account module and the master attribution user server, and the management efficiency is improved.
In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An industry object participating in a radio access network mode service provider or network service provided by the same base station will typically set up a home subscriber server in the land mobile network (Public Land Mobile Network, PLMN) to which it belongs, such that the user data belonging to the land mobile network is managed and stored by the home subscriber server. The home subscriber server is configured with corresponding account operating modules so as to realize remote storage and management of user data through the corresponding account operating modules. And as each home subscriber server only stores part of user data, a private network operation team sharing the radio access network mode needs to log in each accounting module to realize the configuration and management of all user data, thereby reducing the management efficiency of the private network operation team.
Referring to fig. 1, in an embodiment of the data management method of the present invention, the data management method includes the steps of:
step S10: receiving a user control instruction sent by a client, and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, a account selling instruction and a modification instruction;
In this embodiment, the execution subject is an accounting module, which is a part of the main home subscriber server. It should be noted that, the client side sending the user control instruction is an industry object of a service provider or a network service participating in the shared radio access network mode provided by the same base station. The operation object refers to a target user who wants to perform an account opening service or a sales service or a modification service.
Optionally, the home information comprises a home service provider or an industry object of the network service and/or a home land mobile network and/or a home subscriber server and/or a home area. It will be appreciated that the home subscriber server is located in the land mobile network, and thus determining the home land mobile network determines the home subscriber server. Under the same base station, an industry object corresponding to a service provider or network service may be configured with one or more land mobile networks in different areas, so that the home land mobile network may also be determined according to the home area.
Optionally, if the user control instruction carries the attribution information of the operation object, the attribution information can be directly obtained so as to determine the land mobile network or the attribution user server to which the operation object belongs.
Optionally, as an optional implementation manner, if the user control instruction does not carry the attribution information of the operation object, the industry object and the sending area of the service provider or the network service to which the operation object belongs can be determined according to the type of the client end sending the control instruction, so that attribution information associated with the industry object of the service provider or the network service in the area is searched, and the attribution information is the attribution information of the operation object. Or if the user control instruction does not carry the attribution information of the operation object, the attribution information missing notification can be sent to the client so that the client resends the user control instruction carrying the attribution information.
Step S20: and when the attribution information is other land mobile networks except the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user servers arranged on the other land mobile networks.
In this embodiment, the present invention selects one home subscriber server from among the home subscriber servers participating in the shared radio access network mode of the same base station, and regards the other home subscriber servers as slave home subscriber servers. And the private network operation team uniformly receives and processes the user control instruction sent by each client through the account module of the main home subscriber server. And when the attribution information of the operation object is other land mobile networks except the target land mobile network, updating the user data corresponding to the user control instruction to a main attribution user server and a corresponding slave attribution user server, so that the main attribution user server stores all the user data, and a private network operation team can manage and maintain all the user data through an accounting module of the main attribution user server, thereby improving management efficiency.
When the home information is not the target land mobile network where the main home subscriber server is located, the invention updates the user data to the main home subscriber server and also updates the user data to the slave home subscriber server indicated by the home information, so that the land mobile network where the slave home subscriber server is located realizes network service for the user corresponding to the user data stored in the slave home subscriber server.
Optionally, the private network operation team uniformly uses the main home subscriber server and the account module of the main home subscriber server to perform uniform management of all user data, so that effective user data management is realized for keeping the user data of the slave home subscriber server and the main home subscriber server consistent. The accounting module from the home subscriber server may be closed and disabled. The invalid management of the user data of the main home subscriber server and the loss of economic benefits are avoided because the account operating module of the main home subscriber server changes the user data of the main home subscriber server, thereby causing inconsistent user data of the main home subscriber server.
Optionally, referring to fig. 2, fig. 2 is a schematic diagram of a user data updating method according to the present invention. After receiving the user control instruction sent by the client, the accounting module can analyze and judge the grammar of the user control instruction to identify the user control instruction and verify whether the data format of the user control instruction accords with the preset data format, if so, the accounting module characterizes the adaptation of the user control instruction and the home subscriber server, and if not, the data format of the user control instruction is converted into the preset data format so as to adapt the user control instruction and the home subscriber server. When the attribution information is other land mobile networks except the target land mobile network, the adaptive user data control instruction is sent to the main attribution user server and the slave attribution user server, so that the main attribution user server and the slave attribution user server write in the user data corresponding to the user control instruction, and the user data is updated to the main attribution user server and the slave attribution user server.
Optionally, after the step of receiving the user control instruction sent by the client and determining the attribution information of the operation object corresponding to the user control instruction, the method further includes: and when the attribution information is the target land mobile network, updating the user data corresponding to the user control instruction to a main attribution user server arranged in the target land mobile network.
In this embodiment, when the home information is the target land mobile network, the user data may be directly updated to the master home subscriber server without having to update the user data to other slave home subscriber servers, so as to avoid occupying memory resources of the slave home subscriber servers on one hand, and avoid storing the same user data to multiple home subscriber servers on the other hand, thereby improving the theft risk of the user data.
Optionally, referring to fig. 3, fig. 3 is another schematic diagram of a user data updating method according to the present invention.
After receiving the user control instruction sent by the client, the accounting module can analyze and judge the grammar of the user control instruction to identify the user control instruction and verify whether the data format of the user control instruction accords with the preset data format, if so, the accounting module characterizes the adaptation of the user control instruction and the home subscriber server, and if not, the data format of the user control instruction is converted into the preset data format so as to adapt the user control instruction and the home subscriber server. When the attribution information is the target land mobile network, the adapted user control instruction is sent to the main attribution user server, so that the main attribution user server writes the user data corresponding to the user control instruction, and the user data is updated to the main attribution user server.
For easy understanding, the invention provides an application scenario as follows:
for example, referring to fig. 4, fig. 4 is a frame diagram of a data management method according to the present invention. In fig. 4, there are two sets of land mobile networks PLMN1 and PLMN2, and eNodeB resources are shared by using RAN-Sharing mode. Wherein the master hss is arranged in PLMN1 and the slave hss is arranged in PLMN2.UE1 and UE2 are operation objects, and UE1 and UE2 are located under the eNodeB at the same time, wherein UE1 registers with PLMN1, and UE2 registers with PLMN2. Therefore UE1 belongs to PLMN1 where the master hss is located, and UE2 belongs to PLMN2 where the slave hss is located. When a service provider or a worker of an industry object of network service makes subscription data modification to the UE1 on the client, the client sends a corresponding modification instruction to the accounting module of the master hss server, and because the UE1 belongs to the PLMN1 where the master hss is located, the accounting module only needs to store the user data of the UE1 in the master hss server. When a worker of an industry object of a service provider or a network service makes a subscription data modification to the UE2 on the client, the client sends a corresponding modification instruction to the accounting module of the master hss, and because the UE2 belongs to the PLMN2 where the slave hss is located, the accounting module needs to store the user data of the UE2 in the master hss server, and at the same time, distributes the modification instruction to the slave hss, and the slave hss stores the user data of the UE2 in the slave hss server. Therefore, the private network operation team only needs to manage all user data through the account module of the main eHSS, and does not need to independently manage the user data belonging to different land mobile network PLMNs through the account modules corresponding to the corresponding login UE1 and the corresponding login UE2, so that the management efficiency of the user data is improved.
Optionally, as another optional implementation manner, in order to improve the security of user data transmission, after the step of receiving the user control instruction sent by the client and determining the attribution information of the operation object corresponding to the user control instruction, the method includes: determining a corresponding desensitization algorithm according to the type and sensitivity of user data corresponding to a user control instruction, desensitizing the user data according to the desensitization algorithm to obtain desensitized data, then according to a preset rule of the desensitization algorithm, confusing the desensitization algorithm to obtain a target desensitization algorithm, and further transmitting the desensitization data and the target desensitization algorithm to a main home subscriber server and a slave home subscriber server when the home information is other land mobile networks except for the target land mobile network, wherein the main home subscriber server and the slave home subscriber server restore the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deducing the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data; and when the attribution information is the target land mobile network, transmitting desensitization data and a target desensitization algorithm to a main attribution user server, wherein the main attribution user server restores the target desensitization algorithm according to a stored preset rule to obtain the desensitization algorithm, and reversely deducing the desensitization data according to the desensitization algorithm to obtain user data so as to update the user data.
In this embodiment, the different sensitivities are associated with corresponding desensitization algorithms, the higher the sensitivity, the more complex the desensitization algorithm. Different types of user data are suitable for different types of desensitization algorithms. The present invention thus sets the desensitization algorithm corresponding to the different sensitivity associations according to the type of user data, so that the desensitization algorithm is used for the corresponding type of user data. Thus, even though the sensitivity is the same for different types of user data, the desensitization algorithm employed is not necessarily the same. The preset rule of the desensitization algorithm is the desensitization rule recorded by the desensitization algorithm.
In the technical solution provided in this embodiment, by receiving a user control instruction sent by a client, and determining attribution information of an operation object corresponding to the user control instruction, where the user control instruction includes at least one of an account opening instruction, a account selling instruction, and a modifying instruction, when the attribution information is other land mobile networks except for a target land mobile network, updating user data corresponding to the user control instruction to a master attribution user server disposed in the target land mobile network and a slave attribution user server disposed in the other land mobile networks. The invention receives the user control command uniformly through the account module, and updates the user data of the attribution information belonging to other land mobile networks to the master attribution user server and the slave attribution user server, so that the private network operators can uniformly manage all the user data through one account module and the master attribution user server, and the management efficiency is improved.
Referring to fig. 5, in the second embodiment, after the step S20, based on the first embodiment, the method further includes:
step S30: receiving and storing the response information from the home subscriber server;
in this embodiment, the present invention receives and stores response information from the home subscriber server after transmitting the user control instruction to the home subscriber server. The response information includes, but is not limited to, an identification of the slave home subscriber server that sent the response information and whether the update was successful from the home subscriber server.
Step S40: when the current time is synchronous time, synchronous data and the slave home subscriber server corresponding to the synchronous data are determined according to the response information;
step S50: and updating the synchronous data to the slave home subscriber server.
In this embodiment, the user control instruction with failed update and the slave home subscriber server with failed update may be determined according to the response information, so as to obtain the user data corresponding to the user control instruction as the synchronization data, and send the synchronization data to the slave home subscriber server, thereby implementing the update of the user data from the slave home subscriber server. The phenomena of failure of the slave home subscriber server or large data volume packet loss and the like during the previous updating are avoided, so that the user data of the slave home subscriber server is not actually updated, the user data of the master home subscriber server and the slave home subscriber server are inconsistent, and the loss of economic benefit is caused.
Optionally, referring to fig. 6, fig. 6 is a schematic diagram of user data synchronization related to the present invention. After updating the synchronization data to the slave home subscriber server, the step of updating the synchronization data to the slave home subscriber server may be continuously performed by receiving a synchronization result responded from the slave home subscriber server when the synchronization result is a synchronization failure.
Optionally, before the step of determining the synchronization data and the slave home subscriber server corresponding to the synchronization data according to the response information when the current time is the synchronization time, the synchronization time may be determined by detecting a receiving frequency of the current time user control instruction and/or a time interval in which the current time is located, and further according to the receiving frequency and/or the time interval in which the current time is located.
In this embodiment, the accounting module counts the receiving frequencies corresponding to the historical time in advance, so as to determine the variation trend of the receiving frequencies corresponding to different time intervals. If the change trend of the receiving frequency of the time interval in which the current time is located is a decreasing trend and the current receiving frequency is smaller than a preset threshold, the synchronous time can be determined to be a time which is closer to the current time, so that user data synchronization from the home subscriber server can be realized as soon as possible. If the change trend of the time interval in which the current time is located is a decreasing trend and the current receiving frequency is greater than a preset threshold, the synchronization time can be determined as a time later than the current time so as to preferentially process the subsequently received user control instruction, and the determined synchronization time is short in updating interval. If the trend of the change of the receiving frequency of the time interval in which the current time is located is an ascending trend, and the current receiving frequency is greater than a preset threshold, the synchronization time can be determined to be a time later than the current time, so that the determined synchronization time is in a time period in which the business of the accounting module is not busy, and the updating interval is the shortest. If the change trend of the receiving frequency of the time interval in which the current time is located is a decreasing trend and the current receiving frequency is smaller than a preset threshold, the synchronous time can be determined to be a time shorter than the current time, so that user data synchronization from the home subscriber server can be realized as soon as possible without affecting the processing of subsequent user control instructions. The preset threshold value is a preset threshold value of the current time associated with the time interval in which the current time is located. I.e. the different time nodes of the time interval have corresponding preset thresholds.
Alternatively, as an alternative embodiment, the synchronization time may also be determined directly according to the receiving frequency, which is not specifically limited in this embodiment. If the receiving frequency is smaller than the preset threshold value, the synchronous time can be determined to be the time which is closer to the current time, so that the user data synchronization from the home subscriber server can be realized as soon as possible. If the receiving frequency is larger than a preset threshold value, representing that the current account-camping module is busy, the user control instruction received subsequently can be processed preferentially, and the synchronous time is determined to be later than the current time.
For example, the reception frequency in the time interval between 2 and 3 points in the daytime tends to rise, and the reception frequency in the evening between 6 and 7 points tends to fall. The current time is 6:30, the current receiving frequency is 4 times per second, and the preset threshold corresponding to 6:50 is 5 times per second, so that the receiving frequency is smaller than the preset threshold, and the change trend of the receiving frequency in the time interval where the current time is located is a decreasing trend, so that the synchronous time can be determined to be the closer time 6:40.
Optionally, in another optional embodiment, the synchronization time set by the user may be received, and when the current time is the synchronization time, the accounting module sends the synchronization data of the master home subscriber server to the slave home subscriber server to perform user data synchronization.
In the technical solution provided in this embodiment, when the home information is other land mobile networks except the target land mobile network, the user data corresponding to the user control instruction is updated to a master home user server set in the target land mobile network and a slave home user server set in the other land mobile network, then the response information of the slave home user server is received and stored, and when the current time is the synchronization time, the synchronization data and the slave home user server corresponding to the synchronization data are determined according to the response information, so that the synchronization data is updated to the slave home user server again, thereby avoiding the update failure of the slave home user server, resulting in inconsistent user data between the master home user server and the slave home user server, resulting in invalid management of the user data and loss of economic benefit.
Referring to fig. 7, in a third embodiment, based on any one of the above embodiments, the data management method further includes:
step S100: if the main home subscriber server fails, determining the use state of a standby home subscriber server corresponding to the main home subscriber server;
step S200: when the use state is an available state, updating the standby home subscriber server to the main home subscriber server;
In this embodiment, if the primary home subscriber server fails, the usage state of the standby home subscriber server corresponding to the primary home subscriber server may be determined, and when the usage state is the available state, the standby home subscriber server is updated to the primary home subscriber server, and the user data is continuously updated to the primary home subscriber server, so as to continuously implement processing of the user control instruction, and avoid stagnation of the service.
Step S300: and caching the user control instruction when the use state is an unavailable state.
In this embodiment, when the usage state of the standby home subscriber server is an unavailable state, the user control instruction is cached until the primary home subscriber server is restored, and then the cached user control instruction is executed again, so as to avoid the loss of the user control instruction.
Optionally, as an optional implementation manner, when the usage state is an available state, the step of updating the standby home subscriber server to the primary home subscriber server further includes: when the original home subscriber server with failure is recovered, the synchronization efficiency of the subscriber data is improved. The first user data volume stored by the original main home subscriber server and the second user data volume stored by the current main home subscriber server can be determined, and when the first user data volume is larger than the second user data volume, the second user data of the current main home subscriber server is updated to the original main home subscriber server, and then the original main home subscriber server is updated to the main home subscriber server by comparing the first user data volume of the original main home subscriber server with the second user data volume stored by the current main home subscriber server. If the first user data volume is smaller than the second user data volume, the first user data of the original main home user server can be updated to the current main home user server, and the current main home user server is continuously used for managing all user data.
In the technical solution provided in this embodiment, if the primary home subscriber server fails, the usage state of the standby home subscriber server corresponding to the primary home subscriber server is determined, and when the usage state is an available state, the standby home subscriber server is updated to the primary home subscriber server, and the user data is continuously updated to the primary home subscriber server, so that the processing of the user control instruction is continuously implemented, and the service stagnation is avoided. And when the use state is the unavailable state, caching the user control instruction until the main home subscriber server is recovered, and re-executing the cached user control instruction to avoid the loss of the user control instruction.
Referring to fig. 8, fig. 8 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 8, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), a mouse, etc., and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 8 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 8, an operating system, a network communication module, a user interface module, and a data management program may be included in a memory 1005, which is one type of computer storage medium.
In the terminal shown in fig. 8, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the processor 1001 may be configured to call a data management program stored in the memory 1005 and perform the following operations:
receiving a user control instruction sent by a client, and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, a account selling instruction and a modification instruction;
and when the attribution information is other land mobile networks except the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user servers arranged on the other land mobile networks.
And when the attribution information is the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network.
Further, the processor 1001 may call a data management program stored in the memory 1005, and further perform the following operations:
verifying whether the data format of the user control instruction accords with a preset data format;
if not, converting the data format of the user control instruction into the preset data format;
when the attribution information is other land mobile networks except the target land mobile network, sending the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user server arranged on the other land mobile networks;
and when the attribution information is the target land mobile network, sending the user control instruction to the main attribution user server arranged on the target land mobile network.
Further, the processor 1001 may call a data management program stored in the memory 1005, and further perform the following operations:
determining a corresponding desensitization algorithm according to the type and sensitivity of the user data corresponding to the user control instruction;
Desensitizing the user data according to the desensitization algorithm to obtain desensitized data;
according to a preset rule of the desensitization algorithm, the desensitization algorithm is confused, and a target desensitization algorithm is obtained;
when the attribution information is other land mobile networks except for a target land mobile network, the desensitization data and the target desensitization algorithm are sent to the main attribution user server and the auxiliary attribution user server, wherein the main attribution user server and the auxiliary attribution user server restore the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deduce the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data;
and when the attribution information is the target land mobile network, transmitting the desensitization data and the target desensitization algorithm to the main attribution user server, wherein the main attribution user server restores the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deducing the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data.
Further, the processor 1001 may call a data management program stored in the memory 1005, and further perform the following operations:
receiving and storing the response information from the home subscriber server;
when the current time is synchronous time, synchronous data and the slave home subscriber server corresponding to the synchronous data are determined according to the response information;
and updating the synchronous data to the slave home subscriber server.
Further, the processor 1001 may call a data management program stored in the memory 1005, and further perform the following operations:
detecting the receiving frequency of a user control instruction at the current time and/or the time interval of the current time;
and determining the synchronous time according to the receiving frequency and/or the time interval of the current time.
Further, the processor 1001 may call a data management program stored in the memory 1005, and further perform the following operations:
if the main home subscriber server fails, determining the use state of a standby home subscriber server corresponding to the main home subscriber server;
when the use state is an available state, updating the standby home subscriber server to the main home subscriber server;
And caching the user control instruction when the use state is an unavailable state.
Further, the processor 1001 may call a data management program stored in the memory 1005, and further perform the following operations:
when the original home subscriber server with the fault is recovered, determining a first user data volume stored by the original home subscriber server and a second user data volume of the current main home subscriber server;
when the first user data volume is larger than the second user data volume, updating the second user data of the current main home user server to the original main home user server, and updating the original main home user server to be the main home user server;
and when the first user data volume is smaller than the second user data volume, updating the first user data of the original main home subscriber server to the current main home subscriber server.
In addition, in order to achieve the above object, the present invention further provides a terminal device, including: the system comprises a memory, a processor and a data management program stored on the memory and capable of running on the processor, wherein the data management program realizes the steps of the data management method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data management program which, when executed by a processor, implements the steps of the data management method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of embodiments, it will be clear to a person skilled in the art that the above embodiment method may be implemented by means of software plus a necessary general hardware platform, but may of course also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The data management method is characterized by being applied to an account management module, wherein the account management module is a client program of a main home subscriber server, and the data management method comprises the following steps:
receiving a user control instruction sent by a client, and determining the attribution information of an operation object corresponding to the user control instruction, wherein the user control instruction comprises at least one of an account opening instruction, a account selling instruction and a modification instruction;
and when the attribution information is other land mobile networks except the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user servers arranged on the other land mobile networks.
2. The method of claim 1, wherein the step of receiving the user control command sent by the client and determining the home information of the operation object corresponding to the user control command further comprises:
And when the attribution information is the target land mobile network, updating the user data corresponding to the user control instruction to the main attribution user server arranged on the target land mobile network.
3. The method of claim 2, wherein the step of receiving the user control instruction sent by the client and determining the home information of the operation object corresponding to the user control instruction further comprises, after the step of receiving the user control instruction, the step of:
verifying whether the data format of the user control instruction accords with a preset data format;
if not, converting the data format of the user control instruction into the preset data format;
when the attribution information is other land mobile networks except the target land mobile network, sending the user control instruction to the main attribution user server arranged on the target land mobile network and the auxiliary attribution user server arranged on the other land mobile networks;
and when the attribution information is the target land mobile network, sending the user control instruction to the main attribution user server arranged on the target land mobile network.
4. The method of claim 2, wherein after the step of receiving the user control command sent by the client and determining the home information of the operation object corresponding to the user control command, the method comprises:
Determining a corresponding desensitization algorithm according to the type and sensitivity of the user data corresponding to the user control instruction;
desensitizing the user data according to the desensitization algorithm to obtain desensitized data;
according to a preset rule of the desensitization algorithm, the desensitization algorithm is confused, and a target desensitization algorithm is obtained;
when the attribution information is other land mobile networks except for a target land mobile network, the desensitization data and the target desensitization algorithm are sent to the main attribution user server and the auxiliary attribution user server, wherein the main attribution user server and the auxiliary attribution user server restore the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deduce the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data;
and when the attribution information is the target land mobile network, transmitting the desensitization data and the target desensitization algorithm to the main attribution user server, wherein the main attribution user server restores the target desensitization algorithm according to the stored preset rule to obtain the desensitization algorithm, and reversely deducing the desensitization data according to the desensitization algorithm to obtain the user data so as to update the user data.
5. The method of claim 1, wherein when the home information is a land mobile network other than the target land mobile network, the step of updating the user data corresponding to the user control instruction to the master home subscriber server provided to the target land mobile network and the slave home subscriber server provided to the other land mobile network further comprises:
receiving and storing the response information from the home subscriber server;
when the current time is synchronous time, synchronous data and the slave home subscriber server corresponding to the synchronous data are determined according to the response information;
and updating the synchronous data to the slave home subscriber server.
6. The method of claim 5, wherein the step of determining synchronization data and the slave home server corresponding to the synchronization data according to the response information when the current time is the synchronization time includes:
detecting the receiving frequency of a user control instruction at the current time and/or the time interval of the current time;
and determining the synchronous time according to the receiving frequency and/or the time interval of the current time.
7. The method of claim 1, wherein the data management method further comprises:
if the main home subscriber server fails, determining the use state of a standby home subscriber server corresponding to the main home subscriber server;
when the use state is an available state, updating the standby home subscriber server to the main home subscriber server;
and caching the user control instruction when the use state is an unavailable state.
8. The method of claim 7, wherein after the step of updating the standby home subscriber server to the primary home subscriber server when the usage status is an available status, further comprising:
when the original home subscriber server with the fault is recovered, determining a first user data volume stored by the original home subscriber server and a second user data volume of the current main home subscriber server;
when the first user data volume is larger than the second user data volume, updating the second user data of the current main home user server to the original main home user server, and updating the original main home user server to be the main home user server;
And when the first user data volume is smaller than the second user data volume, updating the first user data of the original main home subscriber server to the current main home subscriber server.
9. A terminal device, characterized in that the terminal device comprises: memory, a processor and a data management method of a terminal device stored on the memory and operable on the processor, which when executed by the processor implements the steps of the data management method of any of claims 1 to 8.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a data management method of a terminal device, which when executed by a processor, implements the steps of the data management method according to any of claims 1 to 8.
CN202410078903.5A 2024-01-19 2024-01-19 Data management method, terminal device and storage medium Active CN117615396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410078903.5A CN117615396B (en) 2024-01-19 2024-01-19 Data management method, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410078903.5A CN117615396B (en) 2024-01-19 2024-01-19 Data management method, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN117615396A true CN117615396A (en) 2024-02-27
CN117615396B CN117615396B (en) 2024-04-19

Family

ID=89951963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410078903.5A Active CN117615396B (en) 2024-01-19 2024-01-19 Data management method, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN117615396B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008154942A1 (en) * 2007-06-20 2008-12-24 Telefonaktiebolaget Lm Ericsson (Publ) Method, telecommunication system and network entity for enabling service provisioning to an inbound roaming user in a visited public land mobile network (vplmn)
CN114449463A (en) * 2020-11-05 2022-05-06 中移智行网络科技有限公司 Communication method, device and system and electronic equipment
CN115544558A (en) * 2022-09-20 2022-12-30 中国平安财产保险股份有限公司 Sensitive information detection method and device, computer equipment and storage medium
CN117202229A (en) * 2022-05-30 2023-12-08 中国电信股份有限公司 Communication control method, terminal device, network device and medium
CN117221868A (en) * 2023-09-05 2023-12-12 中国联合网络通信集团有限公司 Network registration method, device and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008154942A1 (en) * 2007-06-20 2008-12-24 Telefonaktiebolaget Lm Ericsson (Publ) Method, telecommunication system and network entity for enabling service provisioning to an inbound roaming user in a visited public land mobile network (vplmn)
CN114449463A (en) * 2020-11-05 2022-05-06 中移智行网络科技有限公司 Communication method, device and system and electronic equipment
CN117202229A (en) * 2022-05-30 2023-12-08 中国电信股份有限公司 Communication control method, terminal device, network device and medium
CN115544558A (en) * 2022-09-20 2022-12-30 中国平安财产保险股份有限公司 Sensitive information detection method and device, computer equipment and storage medium
CN117221868A (en) * 2023-09-05 2023-12-12 中国联合网络通信集团有限公司 Network registration method, device and readable storage medium

Also Published As

Publication number Publication date
CN117615396B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN107770815B (en) MEC method and equipment based on position
CN110267343B (en) Paging management method, network data analysis function and network side equipment
EP3758404B1 (en) Configuration information acquisition method, apparatus and device, and storage medium and system
CN109547221B (en) Big data analysis service providing method and device, and computer-readable storage medium
CN111083690A (en) Method and device for reporting user plane functional entity information
CN114554550A (en) Communication method and device for 5G access network and edge cloud gateway
CN112218342A (en) Method, device and system for realizing core network sub-slice disaster tolerance
CN110831068A (en) Load balancing method and device, storage medium and electronic device
CN111082954B (en) Network element load balancing method and network equipment
CN111436162A (en) Processing method and equipment
CN113453252A (en) Communication method and device
CN117615396B (en) Data management method, terminal device and storage medium
CN111278034A (en) Information backup method and device, storage medium and computer equipment
CN111405638B (en) Node N4-U tunnel selection method and device
CN111148102B (en) Network authentication method, device, computer equipment and storage medium
CN114615073A (en) Access flow control method, device, equipment and medium
CN110635927B (en) Node switching method, network node and network system
CN115843434A (en) Network element discovery method, device, equipment and storage medium
CN114389943A (en) Network configuration method, device, equipment and computer storage medium
EP3896926A1 (en) Network device and packet processing method using same
CN108307457B (en) Message routing method and device
US7702332B2 (en) Location register and accommodation transfer control method
US20240236100A9 (en) Systems and methods for providing prioritization for data transport services
US20240137366A1 (en) Systems and methods for providing prioritization for data transport services
US20240205999A1 (en) Systems and methods for preventing user device pinging in asynchronous communication mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant