Transparent data migration method and device, new HSS and computer storage medium
By creating a new HSS to simulate the existing AS, sending UDR messages and parsing UDA messages, the inconsistency in storage methods and the lack of manufacturer cooperation in the transparent data migration of HSSs from different vendors were resolved, and the smooth migration of transparent data was achieved.
Patent Information
- Application Number
- CN202010531217.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-11
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2040-06-11
AI Technical Summary
Difficulties arise during HSS transparent data migration between different manufacturers due to inconsistent data storage methods and manufacturer cooperation issues.
A new HSS is created to simulate the existing AS in the network. It sends User Data Request Messages (UDR) and receives and parses User Data Response Messages (UDA), thereby directly reading transparent data from the existing HSS in the network and writing it into the database.
It solves the problems of inconsistent storage methods and manufacturer cooperation when migrating transparent data from different vendors' HSS systems, and achieves smooth migration of transparent data without requiring changes to the existing network configuration.
Smart Images

Figure CN113806324B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and more specifically, to, but not limited to, transparent data migration methods, apparatus, new HSSs, and computer storage media. Background Technology
[0002] In related technologies, transparent data refers to data related to IMS (IP Multimedia Subsystem) subscribers that is stored by the Application Server (AS) in the Home Subscriber Server (HSS). This data is defined by the AS and is transparent to the HSS, hence the name "transparent data." The purpose of this mechanism is to utilize the storage capabilities of the HSS while reducing the complexity of AS data management.
[0003] Since the transparent data is defined by the AS (Autonomous System) and stored by the HSS (High-Speed Server), when the HSS needs to be cut over, the transparent data needs to be migrated to the newly created HSS. When cutting over HSSs from the same manufacturer, because the transparent data storage method is consistent, the transparent data can be directly exported from the original HSS and then imported into the new HSS. However, when cutting over HSSs from different manufacturers, due to the inconsistent transparent data storage methods and compatibility issues, it is difficult to directly export and import the transparent data. Summary of the Invention
[0004] The transparent data migration method, apparatus, newly built HSS, and computer storage medium provided in this invention mainly solve the technical problem that in related technologies, when migrating transparent data using HSS from different manufacturers, the inconsistent data storage methods and manufacturer cooperation issues bring great difficulties to data migration.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide a transparent data migration method, comprising:
[0006] Create a new HSS to simulate the existing AS network;
[0007] The newly established HSS sends a User Data Request Message (UDR).
[0008] The newly established HSS receives a User Data Response Message (UDA), which includes transparent data from the existing HSS.
[0009] The newly created HSS parses the transparent data from the UDA message and writes it to the database.
[0010] This invention also provides a transparent data migration device, comprising:
[0011] The simulation module is used to simulate the live AS network.
[0012] The sending module is used to send User Data Request Messages (UDRs).
[0013] The receiving module is used to receive User Data Response Messages (UDA), which include transparent data from the existing HSS network.
[0014] The parsing module is used to parse the transparent data from the UDA message and write it to the database.
[0015] This invention also provides a newly created HSS, characterized in that the newly created HSS includes a processor, a memory, and a communication bus;
[0016] The communication bus is used to enable communication between the processor and the memory;
[0017] The processor is used to execute one or more programs stored in the memory to implement the steps of the network attack detection and control method described above.
[0018] This invention also provides a computer storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the network attack detection and control method described above.
[0019] The beneficial effects of this invention are:
[0020] The transparent data migration method, apparatus, newly created HSS, and computer storage medium provided by embodiments of the present invention simulate the existing network AS by creating a new HSS; the new HSS sends a User Data Request Message (UDR); the new HSS receives a User Data Response Message (UDA), the UDA message including transparent data in the existing network HSS; the new HSS parses the transparent data from the UDA message and writes it to a database; that is, the new HSS simulates the existing network AS by sending a UDR message to read transparent data from the existing network HSS, thereby directly exporting the existing network transparent data and importing the transparent data from the corresponding UDA message, thus solving the difficulties caused by inconsistent data storage methods and manufacturer cooperation issues when migrating transparent data from HSSs of different manufacturers.
[0021] Other features and corresponding beneficial effects of the present invention will be described in the latter part of the specification, and it should be understood that at least some of the beneficial effects will become obvious from the description in the specification. Attached Figure Description
[0022] Figure 1 This is a flowchart of the transparent data migration method provided in Embodiment 1 of the present invention;
[0023] Figure 2This is a flowchart of the transparent data migration method provided in Embodiment 2 of the present invention;
[0024] Figure 3 This is a structural block diagram of the newly built HSS provided in Embodiment 3 of the present invention;
[0025] Figure 4 This is a structural block diagram of transparent data migration provided in Embodiment 3 of the present invention. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this invention clearer, the embodiments of this invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0027] Example 1:
[0028] To address this issue, embodiments of the present invention provide a transparent data migration method, such as... Figure 1 As shown, this transparent data migration includes:
[0029] S101: Create a new HSS to simulate the existing network AS.
[0030] Understandably, in related technologies, the AS can download transparent data via UDR (User Data Request) / UDA (User Data Answer) messages, update transparent data via PUR (Profile Update Request) / PUA (Profile-Update-Answer) messages, and subscribe to and unsubscribe from transparent data via SNR (Subscribe Notifications Request) / SNA (Subscribe Notifications Answer) messages. If the subscribed transparent data changes, the HSS will send a PNR (Push Notification Request) message to notify the AS.
[0031] In this embodiment of the invention, a method for migrating transparent data from an existing network HSS by simulating the existing network AS in a newly created HSS solves the problem of transparent data migration from different vendors. The transparent data is migrated from the existing network HSS to the newly created HSS. The existing network HSS and the newly created HSS can be from the same vendor or different vendors; this is not limited here. Therefore, the newly created HSS needs to simulate the existing network AS. In some embodiments, the newly created HSS adds an existing network application server (AS) configuration to simulate the existing network AS; this AS configuration includes, but is not limited to, the Sh interface.
[0032] S102: Create a new HSS and send a User Data Request Message (UDR).
[0033] In some embodiments, since the newly created HSS simulates the existing AS, the newly created HSS may send the UDR to the existing HSS to request the download of transparent data;
[0034] In some embodiments, the newly created HSS may also send a UDR to the existing network routing agent node DRA, which then forwards the UDR message to the existing network HSS. It is understood that if the existing network HSS corresponds to a directed DRA, the UDR message is sent to the DRA, which then forwards the UDR message to the existing network HSS. In this case, a Diameter link is established between the newly created HSS and the existing network DRA before the newly created HSS sends the UDR to the existing network DRA.
[0035] In some embodiments, when a new HSS corresponds to a new DRA, the new HSS can send a UDR to the new DRA, which then forwards it to the existing HSS. Of course, the new DRA has pre-established a Diameter link with the existing HSS.
[0036] In some embodiments, when a new HSS corresponds to a new DRA, the new HSS can send a UDR to the new DRA, which then forwards it to the existing DRA, and the existing DRA forwards it to the existing HSS. Of course, the new DRA establishes a Diameter link with the existing DRA beforehand.
[0037] It is understood that, in the embodiments of the present invention, sending a UDR by creating a new HSS includes: obtaining a list of users to be cut over by creating a new HSS, and sending a UDR message for each user to be cut over; that is, sending a UDR message for each user to be cut over. In some embodiments, it may be sending a UDR message for all users to be cut over. The obtaining of the list of users to be cut over by creating a new HSS includes, but is not limited to, sending a list of users to be cut over by IMS, or sending a list of users to be cut over by the manufacturer.
[0038] S103: The newly established HSS receives user data response messages (UDA). The UDA message includes transparent data from the existing HSS.
[0039] In some embodiments, the newly created HSS may receive UDA messages directly from the existing HSS. That is, the existing HSS receives UDR messages from the simulated existing AS, sends UDA messages to the newly created HSS, and carries an XML file containing the transparent data requested by the newly created HSS in the UDA message.
[0040] In some embodiments, a newly created HSS may receive UDA messages forwarded by the DRA from the existing HSS. This can be either a newly created HSS receiving UDA messages forwarded by the existing DRA from the existing HSS, or a newly created HSS receiving UDA messages forwarded by the new network DRA from the existing HSS.
[0041] S104: Create a new HSS to parse transparent data from UDA messages and write it to the database.
[0042] Since the UDA message carries transparent data, the newly created HSS parses the transparent data and writes it to the database, indicating that the transparent data migration is successful. In this embodiment of the invention, the newly created HSS can also record a list of users whose transparent data migration failed. For example, it can compare the obtained list of users to be cut over with the transparent data written to the database to determine the list of users whose transparent data migration failed. In some embodiments, the newly created HSS can also analyze the reasons for the transparent data migration failure and resolve them accordingly. For example, the newly created HSS can resend the UDR message.
[0043] The transparent data migration method provided in this invention addresses the significant difficulties encountered during HSS cutover between different vendors, stemming from inconsistent transparent data storage methods and inter-vendor cooperation issues. By using a newly created HSS to simulate the existing AS and read transparent data from the existing HSS, this method solves the challenge of transparent data migration between vendors. This technology is based on messages defined by 3GPP protocols, requires no cooperation from the existing network vendor, and does not require modifications to the existing network configuration, enabling smooth transparent data migration.
[0044] Example 2:
[0045] To facilitate understanding, this embodiment of the invention uses a specific example to illustrate the transparent data migration method, such as... Figure 2 As shown, this transparent data migration method includes:
[0046] S201: Create a new HSS to obtain the list of users to be cutoverdone.
[0047] S202: Create a new HSS to simulate the existing AS network and add relevant configurations.
[0048] S203: Establish a Diameter link between the newly built HSS and the existing DRA.
[0049] S204: Create a new HSS and send a UDR message to the existing DRA to read transparent data.
[0050] In this embodiment of the invention, the newly created HSS sequentially reads the users to be cut over from the list of users to be cut over, and sends a UDR message to the existing DRA through the Sh interface for each user to be cut over.
[0051] S205: The live DRA forwards the UDR message to the live HSS.
[0052] S206: The live HSS returns a UDA message to the live DRA, which includes transparent data of the users to be cut over.
[0053] After receiving the UDR message, the live HSS obtains the transparent data corresponding to the user to be cut over. The live HSS then sends a UDA message to the live DRA, in which the UDA message carries the transparent data of the user to be cut over in XML format.
[0054] S207: The existing DRA forwards UDA messages to the newly created HSS.
[0055] S208: Create a new HSS to parse transparent data and write it to the database. Transparent data migration successful.
[0056] In this embodiment of the invention, the newly created HSS compares the transparent data in the database with the user list file to be cut over, records the users whose transparent data migration failed, analyzes the reasons for the failure to migrate the transparent data and solves them in a targeted manner. The solutions include, but are not limited to, reading again through UDR messages.
[0057] In this embodiment of the invention, a transparent data migration method is also provided. This method is implemented by a newly created HSS, including: the newly created HSS obtaining a list of users to be migrated; the newly created HSS simulating the existing AS and adding relevant configurations; the newly created HSS sending a User Data Request Message (UDR) to the existing HSS; the newly created HSS receiving a User Data Request (UDA) message returned by the existing HSS, the UDA message including transparent data from the existing HSS; and the newly created HSS parsing the transparent data from the UDA message and writing it to a database. In other words, the newly created HSS simulates the existing AS and directly reads transparent data from the existing HSS.
[0058] The transparent data migration method provided in this invention addresses the significant difficulties encountered during HSS cutover between different vendors, stemming from inconsistent transparent data storage methods and inter-vendor cooperation issues. By using a newly created HSS to simulate the existing AS (Application Server) directly or indirectly reading transparent data from the existing HSS, this method solves the challenge of transparent data migration between vendors. Based on messages defined by 3GPP protocols, this technology requires no cooperation from the existing network vendor or modification of existing network configurations, enabling smooth transparent data migration.
[0059] Example 3:
[0060] This invention also provides a method for creating a new HSS, see [link to relevant documentation]. Figure 3 As shown, it includes a processor 301, a memory 302, and a communication bus 303, wherein:
[0061] Communication bus 303 is used to realize the connection and communication between processor 301 and memory 302;
[0062] The processor 301 is used to execute one or more computer programs stored in the memory 302 to perform the following steps:
[0063] Create a new HSS to simulate the existing AS network;
[0064] The newly established HSS sends a User Data Request Message (UDR);
[0065] The newly established HSS receives User Data Response Messages (UDA), which include transparent data from the existing HSS network.
[0066] Create a new HSS to parse transparent data from UDA messages and write it to the database.
[0067] In this embodiment of the invention, a new HSS is added with AS configuration to simulate the existing network AS; the new HSS obtains a list of users to be cut over and sends a UDR message for each user to be cut over. A Diameter link is established between the new HSS and the DRA. The new HSS sends a UDR to the existing network HSS through the DRA to obtain transparent data in the existing network HSS. For example, the new HSS sends a UDR to the DRA, and the DRA forwards the UDR message to the existing network HSS. Then the new HSS receives the UDA message forwarded by the DRA from the existing network HSS.
[0068] In this embodiment of the invention, after the newly created HSS parses transparent data from the UDA message and writes it to the database, it compares the obtained user list file to be cut over with the transparent data written to the database and records the list of users whose transparent data migration failed.
[0069] This invention also provides a transparent data migration device, such as... Figure 4As shown, the transparent data migration device includes:
[0070] Simulation module 401 is used to simulate the existing network AS;
[0071] Sending module 402 is used to send User Data Request Message (UDR);
[0072] The receiving module 403 is used to receive user data response messages (UDA), which include transparent data in the existing HSS network.
[0073] Parsing module 404 is used to parse transparent data from UDA messages and write it to the database.
[0074] This invention also provides a computer storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the transparent data migration method as described in Embodiments 1 and 2.
[0075] It is worth noting that, in order to avoid redundancy, not all examples in each embodiment are fully described in this embodiment. It should be clear that all examples in each embodiment are applicable to this embodiment.
[0076] The computer 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 modules, or other data). Computer-readable storage media include, but are 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), DVD or other optical disc storage, cartridges, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer.
[0077] Therefore, those skilled in the art should understand that all or some of the steps, systems, and devices disclosed above, as well as the functional modules / units, can be implemented as software (which can be implemented using computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as integrated circuits, such as application-specific integrated circuits (ASICs).
[0078] Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, computer program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium. Therefore, this invention is not limited to any particular combination of hardware and software.
[0079] The above description, in conjunction with specific implementation methods, provides a further detailed explanation of the embodiments of the present invention. It should not be construed that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art, various simple deductions or substitutions can be made without departing from the concept of the present invention, and all such modifications and substitutions should be considered within the scope of protection of the present invention.
Claims
1. A transparent data migration method, comprising: Create a new HSS to simulate the live application server AS. The newly created HSS adds AS configuration to simulate the live application server AS. The newly established HSS sends a User Data Request Message (UDR). The newly established HSS receives a User Data Response Message (UDA), which includes transparent data from the existing HSS. The newly created HSS parses the transparent data from the UDA message and writes it to the database.
2. The transparent data migration method as described in claim 1, characterized in that, The process of the newly established HSS sending a User Data Request Message (UDR) to obtain transparent data from the existing HSS includes: The newly established HSS sends the UDR to the routing agent node DRA, which then forwards the UDR message to the existing network HSS.
3. The transparent data migration method as described in claim 2, characterized in that, Before the newly established HSS sends the UDR to the existing network routing agent node DRA, it includes: Establish a Diameter link between the newly created HSS and the DRA.
4. The transparent data migration method as described in claim 3, characterized in that, The newly established HSS receives user data response messages (UDA), including: The newly established HSS receives UDA messages forwarded by the DRA from the existing network HSS.
5. The transparent data migration method as described in any one of claims 1-4, characterized in that, After the newly created HSS parses the transparent data from the UDA message and writes it to the database, it includes: The newly created HSS record lists the users whose transparent data migration failed.
6. The transparent data migration method as described in any one of claims 1-4, characterized in that, The newly established HSS sends a User Data Request Message (UDR), including: The newly created HSS obtains the list of users to be cut over and sends a UDR message for each user to be cut over.
7. A transparent data migration device, characterized in that, include: A simulation module is used to simulate a live AS, wherein the live AS is simulated by adding AS configurations; The sending module is used to send User Data Request Messages (UDRs). The receiving module is used to receive User Data Response Messages (UDA), which include transparent data from the existing HSS network. The parsing module is used to parse the transparent data from the UDA message and write it to the database.
8. A newly constructed HSS, characterized in that, The newly built HSS includes a processor, memory, and communication bus; The communication bus is used to enable communication between the processor and the memory; The processor is used to execute one or more programs stored in the memory to implement the steps of the transparent data migration method as described in any one of claims 1 to 6.
9. A computer storage medium storing one or more programs, said one or more programs being executable by one or more processors to implement the steps of the transparent data migration method as described in any one of claims 1 to 6.