WO2024001589A1 - User migration method, communication processing method, electronic device, server, and medium - Google Patents

User migration method, communication processing method, electronic device, server, and medium Download PDF

Info

Publication number
WO2024001589A1
WO2024001589A1 PCT/CN2023/094692 CN2023094692W WO2024001589A1 WO 2024001589 A1 WO2024001589 A1 WO 2024001589A1 CN 2023094692 W CN2023094692 W CN 2023094692W WO 2024001589 A1 WO2024001589 A1 WO 2024001589A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
hss
target
existing network
current
Prior art date
Application number
PCT/CN2023/094692
Other languages
French (fr)
Chinese (zh)
Inventor
桑有飞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024001589A1 publication Critical patent/WO2024001589A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Definitions

  • the present disclosure relates to, but is not limited to, the field of communication technology.
  • PVI Private User Identity
  • PUI Public User Identity
  • IMSI International Mobile Subscriber Identity
  • MSISDN Mobile Station International Subscriber Directory Number
  • Signaling in communication services can carry PVI/PUI or MSISDN/IMSI.
  • the present disclosure provides a user migration method, a communication processing method, an electronic device, a home user server, and a computer-readable medium.
  • the present disclosure provides a user migration method, which includes: importing the user data of the first target user into the target home user server HSS, wherein the number segment to which the user ID of the first target user belongs is the first number segment ; Switch the route of the first target user in the existing network routing agent DRA to the target HSS.
  • the present disclosure provides a communication processing method, including: receiving user signaling from a user; determining whether the user has migrated to the current HSS; if the user has not migrated to the current HSS, forwarding the user signaling to The existing network HSS is used for processing.
  • the present disclosure provides an electronic device, including: one or more processors; a memory on which one or more programs are stored. When the one or more programs are The one or more processors execute, such that the one or more processors implement any user migration method described herein.
  • the present disclosure provides a home user server, including: one or more processors; a memory on which one or more programs are stored. When the one or more programs are processed by the one or more The processor executes, so that the one or more processors implement any communication processing method described herein.
  • the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, causes the processor to implement at least one of the following methods: any user described herein Migration method; any communication processing method described in this article.
  • Figure 1 is a flow chart of a user migration method in the present disclosure
  • Figure 2 is a flow chart of some steps in another user migration method in the present disclosure
  • Figure 3 is a flow chart of some steps in yet another user migration method in the present disclosure.
  • Figure 4 is a flow chart of some steps in yet another user migration method in the present disclosure.
  • Figure 5 is a flow chart of a communication processing method in the present disclosure
  • Figure 6 is a flow chart of some steps in another communication processing method in the present disclosure.
  • Figure 7 is a block diagram of an electronic device in the present disclosure.
  • Figure 8 is a block diagram of a home user server in the present disclosure.
  • Figure 9 is a block diagram of a computer-readable medium in the present disclosure.
  • IMSI/PVI segment there is no one-to-one correspondence between the IMSI/PVI segment and the MSISDN/PUI segment.
  • a segment whose IMSI begins with 46001 can correspond to multiple segments whose MSISDN begins with 135, 136, etc.
  • a segment whose IMSI begins with 46002 can also correspond to multiple segments whose MSISDN begins with 135, 136, etc.
  • HSS Home Subscriber Server
  • the present disclosure provides a user migration method, which includes: S11. Importing the user data of the first target user into the target home user server HSS, wherein the number to which the user ID of the first target user belongs is The segment is the first segment; S12. Switch the route of the first target user in the Diameter Routing Agent (DRA) of the existing network to the target HSS.
  • DUA Diameter Routing Agent
  • the user identity is IMSI/PVI. In some embodiments, the user identification is MSISDN/PUI.
  • user migration is a process of migrating users from the existing network HSS to the target HSS.
  • the entire process of user migration is divided into For at least one batch execution, at least steps S1 and S2 are executed in each batch.
  • Each batch migrates users of one number segment to the target HSS, where the first number segment refers to the number segment to which the user ID of the user to be migrated in the current batch belongs; correspondingly, the first target user refers to Users to be migrated in the current batch.
  • the first number segment may be the number segment to which the user IDs of all users in the existing network HSS belong, or it may be the number segment to which the user IDs of some users in the existing network HSS belong.
  • the embodiments of the present disclosure do not impose special limitations on this.
  • the existing network DRA after the user's routing in the existing network DRA is switched to the target HSS, the existing network DRA will route the user's user signaling to the target HSS, thereby switching the service from the existing network HSS to the target HSS.
  • step S1 and step S2 can be executed in the same time period or in different time periods.
  • user migration is usually performed at night without interrupting business.
  • the user data of the target user can be imported into the target HSS on the same night, and then the target user can be routed to the target HSS; the user data of the target user can also be imported to the target HSS on the first night.
  • the data is imported into the target HSS and the target users are routed to the target HSS on the second night.
  • the user migration process is divided into two stages: user data import and user route switching.
  • the above two stages can be executed in the same time period or in different time periods, which is beneficial to Arranging user migration according to needs, especially when there are a large number of users or there are data security considerations, is helpful to extend the time of user migration, thereby reducing the difficulty of user migration and improving the security of user migration.
  • extending the user migration time is conducive to utilizing sufficient time for data verification, business testing after route switching, etc., thereby improving the reliability and security of user migration and avoiding user switching. Impact on business.
  • the target HSS when the user migration process is divided into two stages: user data import and user route switching, it is possible to ensure that services are not interrupted. For example, in the embodiment of the present disclosure, when the target HSS receives user signaling from a user, if only the user data import phase is executed or the user data import phase is not executed for the user, the target HSS forwards the user signaling to the existing network HSS. Processing; if both stages of user data import and user route switching have been completed, the target HSS processes user signaling locally.
  • the stage of user migration is identified by signing a cutover batch number for the user and setting and modifying the batch identifier.
  • importing the user data of the first target user into the target HSS includes: S111.
  • the user data is imported into the target HSS, where the user identification includes a first user identification; S112. Sign up for the current batch of cutover batch numbers for the first target user.
  • the user identification includes a first user identification and a second user identification.
  • the implementation of this disclosure does not place any special limitations on the first user identification.
  • the first user identity is IMSI/PVI
  • the second user identity is MSISDN/PUI.
  • user migration is performed based on the first user identity
  • the user of the first target user is transferred based on the first number segment of IMSI/PVI. Data is imported into the target HSS.
  • the first user identity is MSISDN/PUI
  • the second user identity is IMSI/PVI.
  • user migration is performed based on the first user identity
  • the user of the first target user is transferred based on the first number segment of MSISDN/PUI. Data is imported into the target HSS.
  • the user is subscribed to the current batch of cutover batch numbers in the target HSS.
  • the target HSS receives user signaling from the user, it can determine the cutover batch number signed by the user.
  • the cutover batch number signed by a user is used to identify the batch corresponding to the user during the user migration process.
  • switching the route of the first target user in the existing network DRA to the target HSS includes: S121. According to the first user identification of the first target user, Switch the route of the first target user in the existing network DRA to the target HSS; S122. Set the batch identifier to the cutover batch number of the current batch.
  • the first user identity is IMSI/PVI
  • the second user identity is MSISDN/PUI.
  • user migration is performed based on the first user identity
  • the user of the first target user is transferred based on the first number segment of IMSI/PVI.
  • the route of the first target user in the existing network DRA is switched to the target based on the first segment of the IMSI/PVI. HSS.
  • the first user identity is MSISDN/PUI
  • the second user identity is IMSI/PVI.
  • user migration is performed based on the first user identity
  • the user of the first target user is transferred based on the first number segment of MSISDN/PUI.
  • the route of the first target user in the existing network DRA is switched to the target HSS based on the first segment of the MSISDN/PUI.
  • the batch identification is set in the network management system.
  • the batch identification is set to be the same as the cutover batch number signed by the user, so that the batch identification can Indicates the batches of users that have completed the two stages of user data import and user routing switching.
  • the cutover batch number of the current batch of target users signed is 2.
  • the value of the batch identifier is 1.
  • the target HSS receives user signaling from any user, if the cutover batch number signed by the user is 1, it means that the user data of the user has been imported into the target HSS, and the user has been routed to the target HSS, then the target HSS is in The user signaling of the user is processed locally; when the target HSS receives the user signaling of any user, if the cutover batch number signed by the user is 2, it means that the user data of the user has been imported into the target HSS, but the user is still If there is no route to the target HSS, the target HSS will forward the user signaling of the user to the existing network HSS for processing; when the target HSS receives the user signaling of any user, if the user data of the user does not exist in the target HSS, then The target HSS forwards the user signaling of the user to the existing network HSS for processing
  • the user data of the users to be migrated in the batch is imported into the target according to the first user identification.
  • the HSS switches all routes of users corresponding to the second user IDs associated with the first user IDs in the batch to the target HSS.
  • the user migration method further includes: S131. Import the user data of the second target user into the target HSS according to the first user identification of the second target user, wherein, The number segment to which the first user identification of the second target user belongs is the second number segment; S132. Use the third target user ID in the existing network DRA to The user's route is switched to the target HSS, where the user identification includes a first user identification and a second user identification, and the third target user is a second user identification associated with the first user identification of the second target user. user.
  • the first user ID is IMSI/PVI
  • the second user ID is MSISDN/PUI
  • import the second number segment of IMSI/PVI The routes of the third target users corresponding to all MSISDN/PUI number segments affected by the segment are switched to the target HSS.
  • the first user ID is MSISDN/PUI and the second user ID is IMSI/PVI.
  • the second number segment of MSISDN/PUI the user data of the second target user is imported into the target HSS, and then the number segment of MSISDN/PUI is imported into the target HSS.
  • the routes of the third target users corresponding to all affected IMSI/PVI number segments are switched to the target HSS.
  • the route of the third target user corresponding to all the MSISDN/PUI number segments affected by the second IMSI/PVI segment is When both are switched to the target HSS, routes for users other than the second target user may also be switched to the target HSS. That is, the third target user includes the second target user and may also include users other than the second target user. When the routes of the third target users corresponding to all the MSISDN/PUI number segments affected by the second number segment of the MSISDN/PUI are switched to the target HSS, the routes of users other than the second target user may also be switched to the target HSS. , that is, the third target user includes the second target user, and may also include users other than the second target user.
  • the method further includes: signing the cutover batch number of the batch for the second target user; and after step S132, the method further includes: setting the batch identification to the cutover batch number of the batch. batch number.
  • the implementation of this disclosure does not specifically limit the first user identification and the second user identification.
  • the first user identity is a private user identity PVI
  • the second user identity is a public user identity PUI
  • the first user identity is PUI
  • the second user identity is PUI.
  • the first user identity is the International Mobile Subscriber Identity IMSI
  • the second user identity is the mobile station international subscriber directory number MSISDN; or the first user identity is MSISDN, and the second user identity is IMISI.
  • the user migration method before importing the user data of the first target user into the target home user server HSS, the user migration method further includes: S14. Obtaining the first target user's user data from the existing network HSS. User data.
  • the user migration method before importing the user data of the first target user into the target home user server HSS, the user migration method further includes: S15. Establishing a link between the target HSS and the existing network DRA. road.
  • the overall migration of users can ensure that the target HSS can process the user signaling of the users after the overall migration.
  • the user migration method before routing the first target user to the target HSS, further includes: S16. Responding to the first target user in the existing network HSS. A modification instruction is provided to modify the user data of the first target user in the target HSS.
  • step S16 is used to simultaneously modify the target HSS. Modifying the user data in the existing network HSS can ensure that the user data in the existing network HSS is consistent with the user data in the target HSS, so that users can be correctly migrated to the target HSS.
  • the embodiments of this disclosure do not specifically limit how to modify the user data of the first target user in the target HSS in response to the modification instruction to modify the user data of the first target user in the existing network HSS.
  • modification instructions are sent to the existing network HSS and the target HSS at the same time.
  • a modification instruction is sent to the existing network HSS to modify the user data, and the modification instructions executed in the existing network HSS are collected and executed again in the target HSS, thereby modifying the user data in the target HSS.
  • a modification instruction for modifying the user data of the target user modifying the user data of the first target user in the target HSS, including: sending the modification instruction to the existing network HSS and the target HSS at the same time , to modify the user data of the first target user in the existing network HSS and the user data of the first target user in the target HSS.
  • the user data of the first target user in the target HSS is modified. , including: obtaining a modification instruction to modify the user data of the first target user in the existing network HSS; executing the modification instruction in the target HSS to modify the first target user in the target HSS.
  • the user's user data is modified.
  • the present disclosure provides a communication processing method, including: S21. Receive user signaling from the user; S22. Determine whether the user has migrated to the current HSS; S23. If the user has not migrated to the current HSS HSS forwards the user signaling to the existing network HSS for processing.
  • steps S21 to S23 are executed in the target HSS during user migration. That is, the current HSS is the target HSS in the user migration process.
  • the user migration process is divided into two stages: user data import and user route switching. If the user is not migrated to the current HSS, it may be that the user's user data is not imported into the current HSS, and the user is not routed to the current HSS; It is also possible that the user data of the user is imported into the current HSS, but the user is not routed to the current HSS. That is to say, the user signaling received in step S21 is the user signaling received by the target HSS during the user migration process.
  • the target HSS in the user migration process receives the user's user signaling
  • the user signaling will be forwarded to the existing network HSS for processing, ensuring that the user migration process
  • the business is not interrupted, and the user migration process can be divided into two stages: user data import and user route switching, which improves the security and reliability of user migration and reduces the difficulty of user migration.
  • the fact that the user has not been migrated to the current HSS means that the user's user data has not been imported into the current HSS.
  • the user migration process is divided into user data import and user In the case of two stages of route switching, the user is not routed to the current HSS.
  • determining whether the user has migrated to the current HSS includes: S221. Based on the user identifier carried in the user signaling, determine whether the user data of the user exists in the current HSS. ; If the user data of the user does not exist in the current HSS, it is determined that the user has not been migrated to the current HSS.
  • the fact that the user has not been migrated to the current HSS means that the migration process of the user from the existing network HSS to the current HSS has not been completed.
  • determining whether the user has migrated to the current HSS also includes: S222. If the user data of the user exists in the current HSS, determine whether the user is routed to the current HSS; If the user is not routed to the current HSS, it is determined that the user has not been migrated to the current HSS.
  • the embodiment of this disclosure does not place any special limitations on how to determine whether the migration process of the user from the existing network HSS to the current HSS is completed.
  • a cutover batch number is signed for the user, and the batch identifier is set and modified to identify the stage of user migration.
  • the current HSS can be based on the cutover batch signed by the user. number and batch identification to determine whether the migration process of users from the existing network HSS to the current HSS is completed.
  • determining whether the migration process of the user from the existing network HSS to the current HSS is completed includes: comparing the cutover batch number signed by the user with the batch identification; if the user If the signed cutover batch number is greater than the batch identification, it is determined that the user has not been routed to the current HSS.
  • the cutover batch number of the current batch of target users signed is 2.
  • the value of the batch identifier is 1.
  • the target HSS receives user signaling from any user, if the cutover batch number signed by the user is 1, it means that the user data of the user has been imported into the target HSS, and the user has been routed to the target HSS, then the target HSS is in The user signaling of the user is processed locally; when the target HSS receives the user signaling of any user, if the cutover batch number signed by the user is 2, it means that the user data of the user has been imported into the target HSS, but the user is The migration process from the existing network HSS to the current HSS has not been completed, then the target HSS forwards the user signaling of the user to the existing network HSS for processing; when the target HSS receives the user signaling of any user, if the target HSS If the user data of the user does not exist in the target HSS, the target HSS will forward the user signal
  • the user signaling is processed locally in the current HSS.
  • the communication processing method further includes: S24. If the user migrates to the current HSS, process the user signaling in the current HSS.
  • the present disclosure provides an electronic device, which includes: one or more processors 101; a memory 102 on which one or more programs are stored. When one or more programs are processed by one or more A processor is executed, so that one or more processors implement the user migration method described in the first aspect of this disclosure; one or more I/O interfaces 103 are connected between the processor and the memory, and are configured to implement the processor and the memory. Memory information exchange.
  • the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.
  • the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH);
  • the I/O interface (read-write interface) 103 is connected between the processor 101 and the memory 102 , can realize information interaction between the processor 101 and the memory 102, which includes but is not limited to a data bus (Bus), etc.
  • processor 101 memory 102, and I/O interface 103 are connected to each other and, in turn, to other components of the computing device via bus 104.
  • the present disclosure provides a home user server, which includes: one or more processors 201; a memory 202 on which one or more programs are stored. When one or more programs are processed by one or more Multiple processors execute, so that one or more processors implement the communication processing method described in the second aspect of the present disclosure; one or more I/O interfaces 203 are connected between the processor and the memory, and are configured to implement the processor Interact with memory information.
  • the processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.
  • the memory 202 is a device with data storage capabilities, including but not limited to a random access memory (RAM, more specifically Such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH);
  • the I/O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize processing
  • the information exchange between the device 201 and the memory 202 includes but is not limited to a data bus (Bus), etc.
  • processor 201 memory 202, and I/O interface 203 are connected to each other and, in turn, to other components of the computing device via bus 204.
  • the present disclosure provides a computer-readable medium on which a computer program is stored.
  • the program is executed by a processor, at least one of the following methods is implemented: user migration described in the first aspect of the present disclosure. Method; the communication processing method described in the second aspect of this disclosure.
  • the processing flow of user migration includes operations 301 to 304.
  • the user data of some users in the IMSI-2/PVI-2 number segment are exported from the existing network HSS, and then the user data is imported into the new HSS.
  • the existing network DRA has not yet switched this part of IMSI-2/PVI-2 signaling to the new HSS.
  • the signaling processing remains unchanged and is still sent to the existing network HSS.
  • the existing network DRA modifies the user routing corresponding to the IMSI-2/PVI-2 number segment to the new HSS. At this time, the corresponding services must also be switched to the new HSS for processing.
  • the processing flow of user migration includes a pre-migration preparation process and a user migration process.
  • the pre-migration preparation process includes operations 401 to 403.
  • the newly created HSS already supports signing cutover batch numbers within a certain numerical range for users, and the network management system supports modifying and querying the cutover batch number configuration values (batch identification) within a certain numerical range.
  • the user migration process includes operations 501 to 506.
  • the new HSS imports the first batch of IMSI-1/PVI-1 number segment user data to be cutover.
  • the cutover batch number value of each cutover user who signed up for this batch is 1.
  • the new HSS Modify the cutover batch number configuration value to 1 on the network management system.
  • All MSISDN-ALL/PUI-ALL affected by the DRA handover of the existing network are routed to the new HSS.
  • the service processing module determines whether the cutover batch number signed by the user is less than or equal to the currently configured cutover batch. Number configuration value, if equal to the value, the user signaling is processed locally, and the destination host name of the remaining user signaling of the MSISDN/PUI that has not been cut over is modified to the existing network HSS and forwarded to the existing network HSS for processing.
  • the newly created HSS imports the second batch of IMSI-2/PVI-2 number segment user data.
  • the cutover batch number of each cutover user who signs up for this batch is 2.
  • the service processing module determines whether the cutover batch number signed by the user is greater than the cutover batch number configured in the current network management system. If the value is greater than the value, the user signaling will be modified to the destination host name of the existing network HSS and forwarded to the existing network HSS for processing. Otherwise, if it is less than or equal to the value, the user signaling will be processed locally.
  • the existing network DRA modified the user routing corresponding to the IMSI-2/PVI-2 number segment to the new HSS
  • the new HSS Internet management system modified the cutover batch number configuration to 2.
  • the service processing module determines whether the cutover batch number signed by the user is less than or equal to the cutover batch number configured by the current network management system. Configure the value. If it is less than or equal to the value, the user signaling will be processed locally. Otherwise, the destination host name of the user signaling will be modified to the existing network HSS and forwarded to the existing network HSS for processing. Users in the IMSI-2/PVI-2 segment have been successfully relocated.
  • the acceptance instructions will be sent to the existing network HSS and the new HSS for processing at the same time. If the acceptance system does not support sending acceptance instructions to the existing network HSS and the new HSS at the same time, collect the acceptance instructions of this batch of users during the cutover period and execute them again on the new HSS to ensure that the existing network HSS is successful before the user migration is successful. It is consistent with the user data on the newly created HSS.
  • the user migration process is divided into two stages: user data import and user route switching.
  • the above two stages can be executed in the same time period or in different time periods, which is conducive to arranging user migration according to needs, especially It is helpful to extend the user migration time when there are a large number of users or there are data security considerations; in addition, when the target HSS in the user migration process receives user signaling from the user, if the user has not migrated to the target HSS, it will User signaling is forwarded to the existing network HSS for processing, ensuring that services are not interrupted during user migration. It also enables the user migration process to be divided into two stages: user data import and user route switching, which improves the security and reliability of user migration. , reducing the difficulty of user migration.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in conjunction with other embodiments, unless expressly stated otherwise. Features and/or components are used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Abstract

The present application provides a user migration method, comprising: importing user data of a first target user into a target home subscriber server (HSS), wherein a number segment to which the user identifier of the first target user belongs is a first number segment; and switching the routing of the first target user in a current network diameter routing agent (DRA) to the target HSS. The present application also provides a communication processing method, an electronic device, an HSS, and a computer-readable storage medium.

Description

用户迁移方法、通信处理方法、电子设备、服务器、介质User migration method, communication processing method, electronic device, server, media
相关申请的交叉引用Cross-references to related applications
本申请要求2022年6月30日提交给中国专利局的第202210764072.8号专利申请的优先权,其全部内容通过引用合并于此。This application claims priority from Patent Application No. 202210764072.8 submitted to the China Patent Office on June 30, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及但不限于通信技术领域。The present disclosure relates to, but is not limited to, the field of communication technology.
背景技术Background technique
通信业务中通常涉及到私有用户标识(PVI,Private User Identity)和公有用户标识(PUI,Public User Identity),其中,PVI一般对应用户的国际移动用户标识(IMSI,International Mobile Subscriber Identity),PUI一般对应用户的移动台国际用户目录号(MSISDN,Mobile Station International Subscriber Directory Number)。通信业务中的信令可以携带PVI/PUI,也可以携带MSISDN/IMSI。Communication services usually involve Private User Identity (PVI, Private User Identity) and Public User Identity (PUI, Public User Identity). Among them, PVI generally corresponds to the user's International Mobile Subscriber Identity (IMSI, International Mobile Subscriber Identity), and PUI generally corresponds to the user's International Mobile Subscriber Identity (IMSI). Corresponding to the user's mobile station international subscriber directory number (MSISDN, Mobile Station International Subscriber Directory Number). Signaling in communication services can carry PVI/PUI or MSISDN/IMSI.
发明内容Contents of the invention
本公开提供一种用户迁移方法、一种通信处理方法、一种电子设备、一种归属用户服务器、一种计算机可读介质。The present disclosure provides a user migration method, a communication processing method, an electronic device, a home user server, and a computer-readable medium.
第一方面,本公开提供一种用户迁移方法,包括:将第一目标用户的用户数据导入目标归属用户服务器HSS,其中,所述第一目标用户的用户标识所属的号段为第一号段;将现网路由代理DRA中所述第一目标用户的路由切换到所述目标HSS。In a first aspect, the present disclosure provides a user migration method, which includes: importing the user data of the first target user into the target home user server HSS, wherein the number segment to which the user ID of the first target user belongs is the first number segment ; Switch the route of the first target user in the existing network routing agent DRA to the target HSS.
第二方面,本公开提供一种通信处理方法,包括:接收用户的用户信令;判断所述用户是否迁移到当前HSS;若所述用户未迁移到当前HSS,将所述用户信令转发到现网HSS进行处理。In a second aspect, the present disclosure provides a communication processing method, including: receiving user signaling from a user; determining whether the user has migrated to the current HSS; if the user has not migrated to the current HSS, forwarding the user signaling to The existing network HSS is used for processing.
第三方面,本公开提供一种电子设备,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被 所述一个或多个处理器执行,使得所述一个或多个处理器实现本文所述任一用户迁移方法。In a third aspect, the present disclosure provides an electronic device, including: one or more processors; a memory on which one or more programs are stored. When the one or more programs are The one or more processors execute, such that the one or more processors implement any user migration method described herein.
第四方面,本公开提供一种归属用户服务器,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本文所述任一通信处理方法。In a fourth aspect, the present disclosure provides a home user server, including: one or more processors; a memory on which one or more programs are stored. When the one or more programs are processed by the one or more The processor executes, so that the one or more processors implement any communication processing method described herein.
第五方面,本公开提供一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时,使得所述处理器实现以下方法中的至少一者:本文所述任一用户迁移方法;本文所述任一通信处理方法。In a fifth aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, causes the processor to implement at least one of the following methods: any user described herein Migration method; any communication processing method described in this article.
附图说明Description of drawings
图1是本公开中一种用户迁移方法的流程图;Figure 1 is a flow chart of a user migration method in the present disclosure;
图2是本公开中另一种用户迁移方法中部分步骤的流程图;Figure 2 is a flow chart of some steps in another user migration method in the present disclosure;
图3是本公开中又一种用户迁移方法中部分步骤的流程图;Figure 3 is a flow chart of some steps in yet another user migration method in the present disclosure;
图4是本公开中再一种用户迁移方法中部分步骤的流程图;Figure 4 is a flow chart of some steps in yet another user migration method in the present disclosure;
图5是本公开中一种通信处理方法的流程图;Figure 5 is a flow chart of a communication processing method in the present disclosure;
图6是本公开中另一种通信处理方法中部分步骤的流程图;Figure 6 is a flow chart of some steps in another communication processing method in the present disclosure;
图7是本公开中一种电子设备的组成框图;Figure 7 is a block diagram of an electronic device in the present disclosure;
图8是本公开中一种归属用户服务器的组成框图;Figure 8 is a block diagram of a home user server in the present disclosure;
图9是本公开中一种计算机可读介质的组成框图。Figure 9 is a block diagram of a computer-readable medium in the present disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的用户迁移方法、通信处理方法、电子设备、归属用户服务器、计算机可读介质进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the user migration method, communication processing method, electronic device, home user server, and computer-readable medium provided by the present disclosure are described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述示例实施方式,但是所述示例实施方式可以以不同形式来体现且不应当被解释为限于本文阐述的实施方式。反之,提供这些实施方式的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。 Example embodiments will be described more fully below with reference to the accompanying drawings, which may, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully allow those skilled in the art to fully understand the scope of the disclosure.
在不冲突的情况下,本公开各实施方式及实施方式中的各特征可相互组合。The various embodiments and features in the embodiments of the present disclosure may be combined with each other without conflict.
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
本文所使用的术语仅用于描述特定实施方式,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terminology used herein is used to describe particular embodiments only and is not intended to limit the disclosure. As used herein, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, the presence of stated features, integers, steps, operations, elements and/or components is specified but does not exclude the presence or Add one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be construed as having idealized or excessive formal meanings, Unless expressly so limited herein.
通常,IMSI/PVI段和MSISDN/PUI段不存在一一对应的关系。例如,IMSI以46001开头的段,可以对应MSISDN以135、136等开头的多个段;IMSI以46002开头的段,也可以对应MSISDN以135、136等开头的多个段。当归属用户服务器(HSS,Home Subscriber Server)用户数据产品由传统设备向虚拟化设备演进、或进行HSS设备替换时,用户迁移的难度较大。Usually, there is no one-to-one correspondence between the IMSI/PVI segment and the MSISDN/PUI segment. For example, a segment whose IMSI begins with 46001 can correspond to multiple segments whose MSISDN begins with 135, 136, etc.; a segment whose IMSI begins with 46002 can also correspond to multiple segments whose MSISDN begins with 135, 136, etc. When home subscriber server (HSS, Home Subscriber Server) user data products evolve from traditional equipment to virtualized equipment, or HSS equipment is replaced, user migration is more difficult.
第一方面,参照图1,本公开提供一种用户迁移方法,包括:S11、将第一目标用户的用户数据导入目标归属用户服务器HSS,其中,所述第一目标用户的用户标识所属的号段为第一号段;S12、将现网直径路由代理(DRA,Diameter Routing Agent)中所述第一目标用户的路由切换到所述目标HSS。In the first aspect, referring to FIG. 1 , the present disclosure provides a user migration method, which includes: S11. Importing the user data of the first target user into the target home user server HSS, wherein the number to which the user ID of the first target user belongs is The segment is the first segment; S12. Switch the route of the first target user in the Diameter Routing Agent (DRA) of the existing network to the target HSS.
本公开实施方式对用户标识不做特殊限定。在一些实施方式中,用户标识为IMSI/PVI。在一些实施方式中,用户标识为MSISDN/PUI。The implementation of this disclosure does not impose special limitations on user identification. In some embodiments, the user identity is IMSI/PVI. In some embodiments, the user identification is MSISDN/PUI.
在本公开实施方式中,用户迁移是将用户从现网HSS迁移到目标HSS的过程。在本公开实施方式中,将用户迁移的整个过程划分 为至少一个批次执行,每一个批次中都至少执行步骤S1和S2。每一个批次将一个号段的用户的用户迁移到目标HSS,其中,第一号段是指当前批次中待迁移的用户的用户标识所属的号段;相应地,第一目标用户是指当前批次中待迁移的用户。In the embodiment of the present disclosure, user migration is a process of migrating users from the existing network HSS to the target HSS. In the embodiment of the present disclosure, the entire process of user migration is divided into For at least one batch execution, at least steps S1 and S2 are executed in each batch. Each batch migrates users of one number segment to the target HSS, where the first number segment refers to the number segment to which the user ID of the user to be migrated in the current batch belongs; correspondingly, the first target user refers to Users to be migrated in the current batch.
在本公开实施方式中,第一号段可以为现网HSS中全部用户的用户标识归属的号段,也可以是现网HSS中部分用户的用户标识归属的号段。本公开实施方式对此不做特殊限定。In the embodiment of the present disclosure, the first number segment may be the number segment to which the user IDs of all users in the existing network HSS belong, or it may be the number segment to which the user IDs of some users in the existing network HSS belong. The embodiments of the present disclosure do not impose special limitations on this.
在本公开实施方式中,将现网DRA中用户的路由切换到目标HSS后,现网DRA会将用户的用户信令路由到目标HSS,从而将业务由现网HSS切换到目标HSS。In the embodiment of the present disclosure, after the user's routing in the existing network DRA is switched to the target HSS, the existing network DRA will route the user's user signaling to the target HSS, thereby switching the service from the existing network HSS to the target HSS.
需要说明的是,在本公开实施方式中,步骤S1和步骤S2可以在同一时间段执行,也可以在不同时间段执行。例如,用户迁移通常在晚上不中断业务的情况下执行,可以在同一晚先将目标用户的用户数据导入目标HSS,然后将目标用户路由到目标HSS;也可以在第一晚将目标用户的用户数据导入目标HSS,在第二晚将目标用户路由到目标HSS。本公开实施方式对此不做特殊限定。本公开实施方式提供的用户迁移方法中,将用户迁移过程分为用户数据导入和用户路由切换两个阶段,上述两个阶段可以在同一个时间段执行,也可以在不同时间段执行,有利于根据需求安排用户迁移,特别是在存在大量用户或有数据安全考量时,有利于拉长用户迁移的时间,从而降低了用户迁移的难度,提高用户迁移的安全性。It should be noted that in the embodiment of the present disclosure, step S1 and step S2 can be executed in the same time period or in different time periods. For example, user migration is usually performed at night without interrupting business. The user data of the target user can be imported into the target HSS on the same night, and then the target user can be routed to the target HSS; the user data of the target user can also be imported to the target HSS on the first night. The data is imported into the target HSS and the target users are routed to the target HSS on the second night. The embodiments of the present disclosure do not impose special limitations on this. In the user migration method provided by the disclosed embodiment, the user migration process is divided into two stages: user data import and user route switching. The above two stages can be executed in the same time period or in different time periods, which is beneficial to Arranging user migration according to needs, especially when there are a large number of users or there are data security considerations, is helpful to extend the time of user migration, thereby reducing the difficulty of user migration and improving the security of user migration.
需要说明的是,在本公开实施方式中,拉长用户迁移的时间有利于利用充裕的时间进行数据核对、路由切换后的业务测试等,从而提高用户迁移的可靠性、安全性,避免用户切换对业务的影响。It should be noted that in the embodiment of the present disclosure, extending the user migration time is conducive to utilizing sufficient time for data verification, business testing after route switching, etc., thereby improving the reliability and security of user migration and avoiding user switching. Impact on business.
在本公开实施方式中,将用户迁移过程分为用户数据导入和用户路由切换两个阶段时,能够确保业务不中断。例如,本公开实施方式中,目标HSS接收到用户的用户信令时,对于该用户,若只执行了用户数据导入阶段或未执行用户数据导入阶段,目标HSS将用户信令转发到现网HSS处理;若用户数据导入和用户路由切换两个阶段都已执行完毕,目标HSS在本地对用户信令进行处理。 In the embodiment of the present disclosure, when the user migration process is divided into two stages: user data import and user route switching, it is possible to ensure that services are not interrupted. For example, in the embodiment of the present disclosure, when the target HSS receives user signaling from a user, if only the user data import phase is executed or the user data import phase is not executed for the user, the target HSS forwards the user signaling to the existing network HSS. Processing; if both stages of user data import and user route switching have been completed, the target HSS processes user signaling locally.
在一些实施方式中,通过为用户签约割接批次号,并设置和修改批次标识来对用户迁移进行到的阶段进行标识。In some embodiments, the stage of user migration is identified by signing a cutover batch number for the user and setting and modifying the batch identifier.
相应地,在一些实施方式中,参照图2,将第一目标用户的用户数据导入目标HSS,包括:S111、根据所述第一目标用户的第一用户标识,将所述第一目标用户的用户数据导入所述目标HSS,其中,用户标识包括第一用户标识;S112、为所述第一目标用户签约当前批次的割接批次号。Correspondingly, in some implementations, referring to Figure 2, importing the user data of the first target user into the target HSS includes: S111. According to the first user identification of the first target user, import the first target user's user data into the target HSS. The user data is imported into the target HSS, where the user identification includes a first user identification; S112. Sign up for the current batch of cutover batch numbers for the first target user.
在一些实施方式中,用户标识包括第一用户标识和第二用户标识。本公开实施方式对第一用户标识不做特殊限定。In some implementations, the user identification includes a first user identification and a second user identification. The implementation of this disclosure does not place any special limitations on the first user identification.
在一些实施方式中,第一用户标识为IMSI/PVI,第二用户标识为MSISDN/PUI,基于第一用户标识进行用户迁移时,根据IMSI/PVI的第一号段将第一目标用户的用户数据导入目标HSS。In some embodiments, the first user identity is IMSI/PVI, and the second user identity is MSISDN/PUI. When user migration is performed based on the first user identity, the user of the first target user is transferred based on the first number segment of IMSI/PVI. Data is imported into the target HSS.
在一些实施方式中,第一用户标识为MSISDN/PUI,第二用户标识为IMSI/PVI,基于第一用户标识进行用户迁移时,根据MSISDN/PUI的第一号段将第一目标用户的用户数据导入目标HSS。In some embodiments, the first user identity is MSISDN/PUI, and the second user identity is IMSI/PVI. When user migration is performed based on the first user identity, the user of the first target user is transferred based on the first number segment of MSISDN/PUI. Data is imported into the target HSS.
在一些实施方式中,在目标HSS中为用户签约当前批次的割接批次号。相应地,在一些实施方式中,用户签约割接批次号后,当目标HSS接收到该用户的用户信令时,能够确定该用户签约的割接批次号。In some implementations, the user is subscribed to the current batch of cutover batch numbers in the target HSS. Correspondingly, in some embodiments, after a user signs a cutover batch number, when the target HSS receives user signaling from the user, it can determine the cutover batch number signed by the user.
在本公开实施方式中,用户签约的割接批次号用于标识在用户迁移过程中该用户对应的批次。In the embodiment of the present disclosure, the cutover batch number signed by a user is used to identify the batch corresponding to the user during the user migration process.
相应地,在一些实施方式中,参照图2,将现网DRA中所述第一目标用户的路由切换到所述目标HSS,包括:S121、根据所述第一目标用户的第一用户标识,将现网DRA中所述第一目标用户的路由切换到所述目标HSS;S122、将批次标识设置为当前批次的割接批次号。Correspondingly, in some embodiments, referring to Figure 2, switching the route of the first target user in the existing network DRA to the target HSS includes: S121. According to the first user identification of the first target user, Switch the route of the first target user in the existing network DRA to the target HSS; S122. Set the batch identifier to the cutover batch number of the current batch.
在一些实施方式中,第一用户标识为IMSI/PVI,第二用户标识为MSISDN/PUI,基于第一用户标识进行用户迁移时,根据IMSI/PVI的第一号段将第一目标用户的用户数据导入目标HSS后,根据IMSI/PVI的第一号段将现网DRA中第一目标用户的路由切换到目标 HSS。In some embodiments, the first user identity is IMSI/PVI, and the second user identity is MSISDN/PUI. When user migration is performed based on the first user identity, the user of the first target user is transferred based on the first number segment of IMSI/PVI. After the data is imported into the target HSS, the route of the first target user in the existing network DRA is switched to the target based on the first segment of the IMSI/PVI. HSS.
在一些实施方式中,第一用户标识为MSISDN/PUI,第二用户标识为IMSI/PVI,基于第一用户标识进行用户迁移时,根据MSISDN/PUI的第一号段将第一目标用户的用户数据导入目标HSS后,根据MSISDN/PUI的第一号段将现网DRA中第一目标用户的路由切换到目标HSS。In some embodiments, the first user identity is MSISDN/PUI, and the second user identity is IMSI/PVI. When user migration is performed based on the first user identity, the user of the first target user is transferred based on the first number segment of MSISDN/PUI. After the data is imported into the target HSS, the route of the first target user in the existing network DRA is switched to the target HSS based on the first segment of the MSISDN/PUI.
在一些实施方式中,在网络管理系统中设置批次标识。In some embodiments, the batch identification is set in the network management system.
在本公开实施方式中,将用户的用户数据导入目标HSS,并将用户路由切换到目标HSS之后,将批次标识设置为与该用户签约的割接批次号相同,从而使批次标识能够指示已经执行完毕用户数据导入和用户路由切换两个阶段的用户的批次。In the embodiment of the present disclosure, after the user data of the user is imported into the target HSS and the user route is switched to the target HSS, the batch identification is set to be the same as the cutover batch number signed by the user, so that the batch identification can Indicates the batches of users that have completed the two stages of user data import and user routing switching.
例如,当前批次目标用户签约的割接批次号为2,在将目标用户路由到目标HSS之前,批次标识的值为1。当目标HSS接收到任意用户的用户信令时,若该用户签约的割接批次号为1,表示该用户的用户数据已经导入目标HSS,并且该用户已经路由到目标HSS,则目标HSS在本地处理该用户的用户信令;当目标HSS接收到任意用户的用户信令时,若该用户签约的割接批次号为2,表示该用户的用户数据已经导入目标HSS,但是该用户还没有路由到目标HSS,则目标HSS将该用户的用户信令转发到现网HSS进行处理;当目标HSS接收到任意用户的用户信令时,若目标HSS中不存在该用户的用户数据,则目标HSS将该用户的用户信令转发到现网HSS进行处理。通过上述过程,能够确保用户迁移过程中业务不中断。For example, the cutover batch number of the current batch of target users signed is 2. Before the target users are routed to the target HSS, the value of the batch identifier is 1. When the target HSS receives user signaling from any user, if the cutover batch number signed by the user is 1, it means that the user data of the user has been imported into the target HSS, and the user has been routed to the target HSS, then the target HSS is in The user signaling of the user is processed locally; when the target HSS receives the user signaling of any user, if the cutover batch number signed by the user is 2, it means that the user data of the user has been imported into the target HSS, but the user is still If there is no route to the target HSS, the target HSS will forward the user signaling of the user to the existing network HSS for processing; when the target HSS receives the user signaling of any user, if the user data of the user does not exist in the target HSS, then The target HSS forwards the user signaling of the user to the existing network HSS for processing. Through the above process, it is possible to ensure that services are not interrupted during user migration.
在本公开实施方式中,在将用户迁移的整个过程划分为至少一个批次执行时,还支持在至少一个批次中,根据第一用户标识将该批次待迁移的用户的用户数据导入目标HSS,同时将该批次第一用户标识关联的第二用户标识所对应的用户的路由全部切换到目标HSS。In the embodiment of the present disclosure, when the entire process of user migration is divided into at least one batch for execution, it is also supported that in at least one batch, the user data of the users to be migrated in the batch is imported into the target according to the first user identification. The HSS, at the same time, switches all routes of users corresponding to the second user IDs associated with the first user IDs in the batch to the target HSS.
相应地,在一些实施方式中,参照图2,所述用户迁移方法还包括:S131、根据第二目标用户的第一用户标识,将第二目标用户的用户数据导入所述目标HSS,其中,所述第二目标用户的第一用户标识所属的号段为第二号段;S132、将所述现网DRA中第三目标用 户的路由切换到所述目标HSS,其中,用户标识包括第一用户标识和第二用户标识,所述第三目标用户为第二用户标识与所述第二目标用户的第一用户标识关联的用户。Correspondingly, in some implementations, referring to Figure 2, the user migration method further includes: S131. Import the user data of the second target user into the target HSS according to the first user identification of the second target user, wherein, The number segment to which the first user identification of the second target user belongs is the second number segment; S132. Use the third target user ID in the existing network DRA to The user's route is switched to the target HSS, where the user identification includes a first user identification and a second user identification, and the third target user is a second user identification associated with the first user identification of the second target user. user.
例如,第一用户标识为IMSI/PVI,第二用户标识为MSISDN/PUI,根据IMSI/PVI的第二号段将第二目标用户的用户数据导入目标HSS,然后将IMSI/PVI的第二号段所波及的全部MSISDN/PUI的号段对应的第三目标用户的路由都切换到目标HSS。For example, the first user ID is IMSI/PVI, the second user ID is MSISDN/PUI, import the user data of the second target user into the target HSS according to the second number segment of IMSI/PVI, and then import the second number segment of IMSI/PVI The routes of the third target users corresponding to all MSISDN/PUI number segments affected by the segment are switched to the target HSS.
例如,第一用户标识为MSISDN/PUI,第二用户标识为IMSI/PVI,根据MSISDN/PUI的第二号段将第二目标用户的用户数据导入目标HSS,然后将MSISDN/PUI的号段所波及的全部IMSI/PVI的号段对应的第三目标用户的路由都切换到目标HSS。For example, the first user ID is MSISDN/PUI and the second user ID is IMSI/PVI. According to the second number segment of MSISDN/PUI, the user data of the second target user is imported into the target HSS, and then the number segment of MSISDN/PUI is imported into the target HSS. The routes of the third target users corresponding to all affected IMSI/PVI number segments are switched to the target HSS.
需要说明的是,由于IMSI/PVI段和MSISDN/PUI段不存在一一对应的关系,将IMSI/PVI的第二号段所波及的全部MSISDN/PUI的号段对应的第三目标用户的路由都切换到目标HSS时,可能将第二目标用户以外的用户的路由也切换到目标HSS,即第三目标用户包括第二目标用户,也可能包括第二目标用户以外的用户。将MSISDN/PUI的第二号段所波及的全部MSISDN/PUI的号段对应的第三目标用户的路由都切换到目标HSS时,可能将第二目标用户以外的用户的路由也切换到目标HSS,即第三目标用户包括第二目标用户,也可能包括第二目标用户以外的用户。It should be noted that since there is no one-to-one correspondence between the IMSI/PVI segment and the MSISDN/PUI segment, the route of the third target user corresponding to all the MSISDN/PUI number segments affected by the second IMSI/PVI segment is When both are switched to the target HSS, routes for users other than the second target user may also be switched to the target HSS. That is, the third target user includes the second target user and may also include users other than the second target user. When the routes of the third target users corresponding to all the MSISDN/PUI number segments affected by the second number segment of the MSISDN/PUI are switched to the target HSS, the routes of users other than the second target user may also be switched to the target HSS. , that is, the third target user includes the second target user, and may also include users other than the second target user.
在将用户迁移的整个过程划分为至少一个批次执行时,本公开实施方式中对于对哪一个批次进行整体迁移不做特殊限定。例如,可以对至少一个批次中的任意一个批次的用户进行整体迁移。例如,可以对用户迁移时第一个批次的用户进行整体迁移。When the entire process of user migration is divided into at least one batch for execution, there is no special limitation on which batch is to be migrated as a whole in the embodiment of the present disclosure. For example, users of any batch in at least one batch can be migrated as a whole. For example, you can migrate the entire first batch of users during user migration.
在一些实施方式中,在步骤S131之后,还包括:为第二目标用户签约该批次的割接批次号;在步骤S132之后,还包括:将批次标识设置为该批次的割接批次号。In some embodiments, after step S131, the method further includes: signing the cutover batch number of the batch for the second target user; and after step S132, the method further includes: setting the batch identification to the cutover batch number of the batch. batch number.
本公开实施方式对第一用户标识和第二用户标识不做特殊限定,The implementation of this disclosure does not specifically limit the first user identification and the second user identification.
在一些实施方式中,第一用户标识为私有用户标识PVI,第二用户标识为公有用户标识PUI;或第一用户标识为PUI,第二用户标 识为PVI。In some embodiments, the first user identity is a private user identity PVI, and the second user identity is a public user identity PUI; or the first user identity is PUI, and the second user identity is PUI. Known as PVI.
在一些实施方式中,第一用户标识为国际移动用户标识IMSI,第二用户标识为移动台国际用户目录号MSISDN;或第一用户标识为MSISDN,第二用户标识为IMISI。In some embodiments, the first user identity is the International Mobile Subscriber Identity IMSI, and the second user identity is the mobile station international subscriber directory number MSISDN; or the first user identity is MSISDN, and the second user identity is IMISI.
在一些实施方式中,参照图3,在将第一目标用户的用户数据导入目标归属用户服务器HSS之前,所述用户迁移方法还包括:S14、从现网HSS中获取所述第一目标用户的用户数据。In some embodiments, referring to Figure 3, before importing the user data of the first target user into the target home user server HSS, the user migration method further includes: S14. Obtaining the first target user's user data from the existing network HSS. User data.
在一些实施方式中,参照图3,在将第一目标用户的用户数据导入目标归属用户服务器HSS之前,所述用户迁移方法还包括:S15、建立所述目标HSS与现网DRA之间的链路。In some embodiments, referring to Figure 3, before importing the user data of the first target user into the target home user server HSS, the user migration method further includes: S15. Establishing a link between the target HSS and the existing network DRA. road.
在本公开实施方式中,对用户进行整体迁移,能够确保目标HSS能够对整体迁移后的用户的用户信令进行处理。In the embodiment of the present disclosure, the overall migration of users can ensure that the target HSS can process the user signaling of the users after the overall migration.
在一些实施方式中,参照图4,在将所述第一目标用户路由到所述目标HSS之前,所述用户迁移方法还包括:S16、响应于对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令,对所述目标HSS中的所述第一目标用户的用户数据进行修改。In some embodiments, referring to Figure 4, before routing the first target user to the target HSS, the user migration method further includes: S16. Responding to the first target user in the existing network HSS. A modification instruction is provided to modify the user data of the first target user in the target HSS.
在本公开实施方式中,当用户的用户数据已经导入目标HSS,而该用户还未路由到目标HSS时,当对现网HSS中该用户的用户数据进行修改时,通过步骤S16同时对目标HSS中该用户的用户数据进行修改,能够确保现网HSS中的用户数据与目标HSS中的用户数据保持一致,从而使用户正确迁移到目标HSS。In the embodiment of the present disclosure, when the user data of the user has been imported into the target HSS, but the user has not been routed to the target HSS, when the user data of the user in the existing network HSS is modified, step S16 is used to simultaneously modify the target HSS. Modifying the user data in the existing network HSS can ensure that the user data in the existing network HSS is consistent with the user data in the target HSS, so that users can be correctly migrated to the target HSS.
本公开实施方式对于如何响应于对现网HSS中的第一目标用户的用户数据进行修改的修改指令,对目标HSS中的第一目标用户的用户数据进行修改不做特殊限定。The embodiments of this disclosure do not specifically limit how to modify the user data of the first target user in the target HSS in response to the modification instruction to modify the user data of the first target user in the existing network HSS.
在一些实施方式中,在需要对用户数据进行修改时,向现网HSS和目标HSS同时发送修改指令。在一些实施方式中,向现网HSS发送修改指令对用户数据进行修改,通过采集现网HSS中执行的修改指令并在目标HSS中再次执行,从而对目标HSS中的用户数据进行修改。In some implementations, when user data needs to be modified, modification instructions are sent to the existing network HSS and the target HSS at the same time. In some embodiments, a modification instruction is sent to the existing network HSS to modify the user data, and the modification instructions executed in the existing network HSS are collected and executed again in the target HSS, thereby modifying the user data in the target HSS.
相应地,在一些实施方式中,响应于对现网HSS中的所述第一 目标用户的用户数据进行修改的修改指令,对所述目标HSS中的所述第一目标用户的用户数据进行修改,包括:将所述修改指令同时发送到所述现网HSS和所述目标HSS,以对所述现网HSS中的所述第一目标用户的用户数据和所述目标HSS中的所述第一目标用户的用户数据进行修改。Correspondingly, in some embodiments, in response to the first step in the existing network HSS A modification instruction for modifying the user data of the target user, modifying the user data of the first target user in the target HSS, including: sending the modification instruction to the existing network HSS and the target HSS at the same time , to modify the user data of the first target user in the existing network HSS and the user data of the first target user in the target HSS.
相应地,在一些实施方式中,响应于对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令,对所述目标HSS中的所述第一目标用户的用户数据进行修改,包括:获取对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令;在所述目标HSS中执行所述修改指令,以对所述目标HSS中的所述第一目标用户的用户数据进行修改。Correspondingly, in some embodiments, in response to a modification instruction to modify the user data of the first target user in the existing network HSS, the user data of the first target user in the target HSS is modified. , including: obtaining a modification instruction to modify the user data of the first target user in the existing network HSS; executing the modification instruction in the target HSS to modify the first target user in the target HSS. The user's user data is modified.
第二方面,参照图5,本公开提供一种通信处理方法,包括:S21、接收用户的用户信令;S22、判断所述用户是否迁移到当前HSS;S23、若所述用户未迁移到当前HSS,将所述用户信令转发到现网HSS进行处理。In the second aspect, referring to Figure 5, the present disclosure provides a communication processing method, including: S21. Receive user signaling from the user; S22. Determine whether the user has migrated to the current HSS; S23. If the user has not migrated to the current HSS HSS forwards the user signaling to the existing network HSS for processing.
需要说明的是,步骤S21至S23在用户迁移过程中的目标HSS中执行。即,当前HSS为用户迁移过程中的目标HSS。It should be noted that steps S21 to S23 are executed in the target HSS during user migration. That is, the current HSS is the target HSS in the user migration process.
在本公开实施方式中,将用户迁移过程分为用户数据导入和用户路由切换两个阶段,用户未迁移到当前HSS,可以是用户的用户数据未导入当前HSS,用户也未路由到当前HSS;也可以是用户的用户数据导入当前HSS,而用户未路由到当前HSS。也就是说,步骤S21中接收到的用户信令,在用户迁移过程中目标HSS接收到的用户信令。In the embodiment of the present disclosure, the user migration process is divided into two stages: user data import and user route switching. If the user is not migrated to the current HSS, it may be that the user's user data is not imported into the current HSS, and the user is not routed to the current HSS; It is also possible that the user data of the user is imported into the current HSS, but the user is not routed to the current HSS. That is to say, the user signaling received in step S21 is the user signaling received by the target HSS during the user migration process.
在本公开实施方式中,用户迁移过程中的目标HSS在接收到用户的用户信令时,若用户未迁移到目标HSS,则将用户信令转发到现网HSS进行处理,确保用户迁移过程中业务不中断,也使得用户迁移过程能够分为用户数据导入和用户路由切换两个阶段执行,提高了用户迁移的安全性、可靠性,降低了用户迁移难度。In the embodiment of the present disclosure, when the target HSS in the user migration process receives the user's user signaling, if the user has not migrated to the target HSS, the user signaling will be forwarded to the existing network HSS for processing, ensuring that the user migration process The business is not interrupted, and the user migration process can be divided into two stages: user data import and user route switching, which improves the security and reliability of user migration and reduces the difficulty of user migration.
在一些实施方式中,用户未迁移到当前HSS,是指用户的用户数据未导入当前HSS。在将用户迁移过程分为用户数据导入和用户 路由切换两个阶段情况下,该用户也未路由到当前HSS。In some implementations, the fact that the user has not been migrated to the current HSS means that the user's user data has not been imported into the current HSS. The user migration process is divided into user data import and user In the case of two stages of route switching, the user is not routed to the current HSS.
相应地,在一些实施方式中,参照图6,判断所述用户是否迁移到当前HSS,包括:S221、根据所述用户信令携带的用户标识,判断当前HSS中是否存在所述用户的用户数据;若当前HSS中不存在所述用户的用户数据,判定所述用户未迁移到当前HSS。Correspondingly, in some embodiments, referring to Figure 6, determining whether the user has migrated to the current HSS includes: S221. Based on the user identifier carried in the user signaling, determine whether the user data of the user exists in the current HSS. ; If the user data of the user does not exist in the current HSS, it is determined that the user has not been migrated to the current HSS.
在一些实施方式中,用户未迁移到当前HSS,是指用户由现网HSS到当前HSS的迁移过程未完成。In some embodiments, the fact that the user has not been migrated to the current HSS means that the migration process of the user from the existing network HSS to the current HSS has not been completed.
相应地,在一些实施方式中,参照图6,判断所述用户是否迁移到当前HSS,还包括:S222、若当前HSS中存在所述用户的用户数据,判断所述用户是否路由到当前HSS;若所述用户没有路由到当前HSS,判定所述用户未迁移到当前HSS。Accordingly, in some embodiments, referring to Figure 6, determining whether the user has migrated to the current HSS also includes: S222. If the user data of the user exists in the current HSS, determine whether the user is routed to the current HSS; If the user is not routed to the current HSS, it is determined that the user has not been migrated to the current HSS.
本公开实施方式对于如何判断用户由现网HSS到当前HSS的迁移过程是否完成不做特殊限定。The embodiment of this disclosure does not place any special limitations on how to determine whether the migration process of the user from the existing network HSS to the current HSS is completed.
在一些实施方式中,在用户迁移过程中,为用户签约割接批次号,并设置和修改批次标识来对用户迁移进行到的阶段进行标识,当前HSS能够根据用户签约的割接批次号与批次标识,判断用户由现网HSS到当前HSS的迁移过程是否完成。In some embodiments, during the user migration process, a cutover batch number is signed for the user, and the batch identifier is set and modified to identify the stage of user migration. The current HSS can be based on the cutover batch signed by the user. number and batch identification to determine whether the migration process of users from the existing network HSS to the current HSS is completed.
相应地,在一些实施方式中,判断所述用户由现网HSS到当前HSS的迁移过程是否完成,包括:将所述用户签约的割接批次号与批次标识进行比较;若所述用户签约的割接批次号大于所述批次标识,判定所述用户未路由到当前HSS。Accordingly, in some embodiments, determining whether the migration process of the user from the existing network HSS to the current HSS is completed includes: comparing the cutover batch number signed by the user with the batch identification; if the user If the signed cutover batch number is greater than the batch identification, it is determined that the user has not been routed to the current HSS.
例如,当前批次目标用户签约的割接批次号为2,在将目标用户路由到目标HSS之前,批次标识的值为1。当目标HSS接收到任意用户的用户信令时,若该用户签约的割接批次号为1,表示该用户的用户数据已经导入目标HSS,并且该用户已经路由到目标HSS,则目标HSS在本地处理该用户的用户信令;当目标HSS接收到任意用户的用户信令时,若该用户签约的割接批次号为2,表示该用户的用户数据已经导入目标HSS,但是该用户由现网HSS到当前HSS的迁移过程还没有完成,则目标HSS将该用户的用户信令转发到现网HSS进行处理;当目标HSS接收到任意用户的用户信令时,若目标HSS 中不存在该用户的用户数据,则目标HSS将该用户的用户信令转发到现网HSS进行处理。通过上述过程,能够确保用户迁移过程中业务不中断。For example, the cutover batch number of the current batch of target users signed is 2. Before the target users are routed to the target HSS, the value of the batch identifier is 1. When the target HSS receives user signaling from any user, if the cutover batch number signed by the user is 1, it means that the user data of the user has been imported into the target HSS, and the user has been routed to the target HSS, then the target HSS is in The user signaling of the user is processed locally; when the target HSS receives the user signaling of any user, if the cutover batch number signed by the user is 2, it means that the user data of the user has been imported into the target HSS, but the user is The migration process from the existing network HSS to the current HSS has not been completed, then the target HSS forwards the user signaling of the user to the existing network HSS for processing; when the target HSS receives the user signaling of any user, if the target HSS If the user data of the user does not exist in the target HSS, the target HSS will forward the user signaling of the user to the existing network HSS for processing. Through the above process, it is possible to ensure that services are not interrupted during user migration.
在一些实施方式中,若用户迁移到当前HSS,则在当前HSS本地对用户信令进行处理。In some implementations, if the user migrates to the current HSS, the user signaling is processed locally in the current HSS.
相应地,在一些实施方式中,参照图6,所述通信处理方法还包括:S24、若所述用户迁移到当前HSS,在当前HSS中对所述用户信令进行处理。Correspondingly, in some embodiments, referring to Figure 6, the communication processing method further includes: S24. If the user migrates to the current HSS, process the user signaling in the current HSS.
第三方面,参照图7,本公开提供一种电子设备,其包括:一个或多个处理器101;存储器102,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本公开第一方面所述的用户迁移方法;一个或多个I/O接口103,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。In a third aspect, referring to FIG. 7 , the present disclosure provides an electronic device, which includes: one or more processors 101; a memory 102 on which one or more programs are stored. When one or more programs are processed by one or more A processor is executed, so that one or more processors implement the user migration method described in the first aspect of this disclosure; one or more I/O interfaces 103 are connected between the processor and the memory, and are configured to implement the processor and the memory. Memory information exchange.
其中,处理器101为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器102为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)103连接在处理器101与存储器102间,能实现处理器101与存储器102的信息交互,其包括但不限于数据总线(Bus)等。Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 103 is connected between the processor 101 and the memory 102 , can realize information interaction between the processor 101 and the memory 102, which includes but is not limited to a data bus (Bus), etc.
在一些实施方式中,处理器101、存储器102和I/O接口103通过总线104相互连接,进而与计算设备的其它组件连接。In some implementations, processor 101, memory 102, and I/O interface 103 are connected to each other and, in turn, to other components of the computing device via bus 104.
第四方面,参照图8,本公开提供一种归属用户服务器,其包括:一个或多个处理器201;存储器202,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本公开第二方面所述的通信处理方法;一个或多个I/O接口203,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。In the fourth aspect, referring to FIG. 8 , the present disclosure provides a home user server, which includes: one or more processors 201; a memory 202 on which one or more programs are stored. When one or more programs are processed by one or more Multiple processors execute, so that one or more processors implement the communication processing method described in the second aspect of the present disclosure; one or more I/O interfaces 203 are connected between the processor and the memory, and are configured to implement the processor Interact with memory information.
其中,处理器201为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器202为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR 等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)203连接在处理器201与存储器202间,能实现处理器201与存储器202的信息交互,其包括但不限于数据总线(Bus)等。Among them, the processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 202 is a device with data storage capabilities, including but not limited to a random access memory (RAM, more specifically Such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize processing The information exchange between the device 201 and the memory 202 includes but is not limited to a data bus (Bus), etc.
在一些实施方式中,处理器201、存储器202和I/O接口203通过总线204相互连接,进而与计算设备的其它组件连接。In some implementations, processor 201, memory 202, and I/O interface 203 are connected to each other and, in turn, to other components of the computing device via bus 204.
第五方面,参照图9,本公开提供一种计算机可读介质,其上存储有计算机程序,程序被处理器执行时实现以下方法中的至少一者:本公开第一方面所述的用户迁移方法;本公开第二方面所述的通信处理方法。In a fifth aspect, referring to FIG. 9 , the present disclosure provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, at least one of the following methods is implemented: user migration described in the first aspect of the present disclosure. Method; the communication processing method described in the second aspect of this disclosure.
为了使本领域技术人员能够更清楚地理解本公开实施方式提供的技术方案,下面通过示例性实施方式,对本公开实施方式提供的技术方案进行详细说明:In order to enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present disclosure, the technical solutions provided by the embodiments of the present disclosure are described in detail below through exemplary embodiments:
第一示例性实施方式First exemplary embodiment
本示例性实施方式中,用户迁移的处理流程包括操作301至304。In this exemplary embodiment, the processing flow of user migration includes operations 301 to 304.
301、首次割接时,现网HSS中部分IMSI-1/PVI-1号段的用户割接到新建HSS(目标HSS)中,并在现网DRA上将波及的全部MSISDN-ALL/PUI-ALL路由到新建HSS。301. During the first cutover, some users in the IMSI-1/PVI-1 segment in the existing network HSS are cutover to the new HSS (target HSS), and all affected MSISDN-ALL/PUI- ALL routes to the newly created HSS.
302、第二批割接第一次,从现网HSS中导出部分IMSI-2/PVI-2号段的用户的用户数据,再将用户数据导入到新建HSS中。此时现网DRA还未将这部分IMSI-2/PVI-2的信令切换到新建HSS,信令处理保持不变,还是发往现网HSS。302. For the first time of the second batch of cutovers, the user data of some users in the IMSI-2/PVI-2 number segment are exported from the existing network HSS, and then the user data is imported into the new HSS. At this time, the existing network DRA has not yet switched this part of IMSI-2/PVI-2 signaling to the new HSS. The signaling processing remains unchanged and is still sent to the existing network HSS.
303、第二批割接第二次,现网DRA修改IMSI-2/PVI-2号段对应的用户路由到新建HSS,此时对应的业务也要切换到新建HSS上进行处理。303. For the second batch of cutover, the existing network DRA modifies the user routing corresponding to the IMSI-2/PVI-2 number segment to the new HSS. At this time, the corresponding services must also be switched to the new HSS for processing.
304、如果还有IMSI/PVI号段需要割接,重复302和303,直到所有用户数据迁移成功。304. If there are still IMSI/PVI number segments that need to be cut over, repeat 302 and 303 until all user data is successfully migrated.
第二示例性实施方式Second exemplary embodiment
本示例性实施方式中,用户迁移的处理流程包括迁移前准备过程和用户迁移过程。 In this exemplary embodiment, the processing flow of user migration includes a pre-migration preparation process and a user migration process.
迁移前准备过程包括操作401至403。The pre-migration preparation process includes operations 401 to 403.
401、按照IMSI/PVI段获取当前批次待割接用户的用户数据。401. Obtain the user data of the current batch of users to be cutover according to the IMSI/PVI segment.
402、增加新建HSS和现网DRA之间的Diameter链路。402. Add a Diameter link between the newly created HSS and the existing network DRA.
403、新建HSS已经支持为用户签约一定数值范围内的割接批次号,且网管系统支持修改和查询同样一定数值范围内的割接批次号配置值(批次标识)。403. The newly created HSS already supports signing cutover batch numbers within a certain numerical range for users, and the network management system supports modifying and querying the cutover batch number configuration values (batch identification) within a certain numerical range.
用户迁移过程包括操作501至506。The user migration process includes operations 501 to 506.
501、首次割接,新建HSS导入第一批次IMSI-1/PVI-1号段待割接用户数据,每个割接用户签约本批次的割接批次号数值为1,在新建HSS的网管系统上修改本次割接批次号配置数值为1。501. For the first cutover, the new HSS imports the first batch of IMSI-1/PVI-1 number segment user data to be cutover. The cutover batch number value of each cutover user who signed up for this batch is 1. In the new HSS Modify the cutover batch number configuration value to 1 on the network management system.
502、现网DRA切换波及的全部MSISDN-ALL/PUI-ALL路由到新建HSS。新建HSS收到已经割接IMSI-1/PVI-1或者MSISDN-1/PUI-1的用户信令时,业务处理模块判断用户签约的割接批次号是否小于等于当前配置的割接批次号配置数值,若是等于,则用户信令在本地处理,其余未割接的MSISDN/PUI的用户信令修改目的主机名为现网HSS,并转发给现网HSS处理。502. All MSISDN-ALL/PUI-ALL affected by the DRA handover of the existing network are routed to the new HSS. When the newly created HSS receives user signaling that has been cut over to IMSI-1/PVI-1 or MSISDN-1/PUI-1, the service processing module determines whether the cutover batch number signed by the user is less than or equal to the currently configured cutover batch. Number configuration value, if equal to the value, the user signaling is processed locally, and the destination host name of the remaining user signaling of the MSISDN/PUI that has not been cut over is modified to the existing network HSS and forwarded to the existing network HSS for processing.
503、第二批割接第一次,新建HSS导入第二批次IMSI-2/PVI-2号段用户数据,每个割接用户签约本批次的割接批次号为2。新建HSS收到IMSI-2/PVI-2或者MSISDN-2/PUI-2的用户信令时,业务处理模块判断用户签约的割接批次号是否大于当前网管系统配置的割接批次号配置数值,若是大于,则将用户信令修改目的主机名为现网HSS,并转发给现网HSS处理,否则,若是小于等于,则用户信令在本地处理。503. For the first time of the second batch of cutover, the newly created HSS imports the second batch of IMSI-2/PVI-2 number segment user data. The cutover batch number of each cutover user who signs up for this batch is 2. When the newly created HSS receives user signaling from IMSI-2/PVI-2 or MSISDN-2/PUI-2, the service processing module determines whether the cutover batch number signed by the user is greater than the cutover batch number configured in the current network management system. If the value is greater than the value, the user signaling will be modified to the destination host name of the existing network HSS and forwarded to the existing network HSS for processing. Otherwise, if it is less than or equal to the value, the user signaling will be processed locally.
504、第二批割接第二次,现网DRA修改IMSI-2/PVI-2号段对应的用户路由到新建HSS,新建HSS上网管系统修改割接批次号配置为2。新建HSS收到IMSI-2/PVI-2或者MSISDN-2/PUI-2的用户信令时,业务处理模块判断用户签约的割接批次号是否小于等于当前网管系统配置的割接批次号配置数值,若是小于等于,则用户信令在本地处理,否则将用户信令修改目的主机名为现网HSS,并转发给现网HSS处理。IMSI-2/PVI-2号段的用户搬迁成功。 504. For the second batch of cutover, the existing network DRA modified the user routing corresponding to the IMSI-2/PVI-2 number segment to the new HSS, and the new HSS Internet management system modified the cutover batch number configuration to 2. When the newly created HSS receives user signaling from IMSI-2/PVI-2 or MSISDN-2/PUI-2, the service processing module determines whether the cutover batch number signed by the user is less than or equal to the cutover batch number configured by the current network management system. Configure the value. If it is less than or equal to the value, the user signaling will be processed locally. Otherwise, the destination host name of the user signaling will be modified to the existing network HSS and forwarded to the existing network HSS for processing. Users in the IMSI-2/PVI-2 segment have been successfully relocated.
505、第二批割接时,2次或者多次操作之间,如果受理修改了这一批次用户数据,受理指令同时发给现网HSS和新建HSS处理。如果受理系统不支持将受理指令同时发给现网HSS和新建HSS,采集这一批次割接期间这一批次用户的受理指令,在新建HSS上再次执行,确保用户搬迁成功之前现网HSS和新建HSS上用户数据一致。505. During the second batch of cutover, if the user data of this batch is modified between two or more operations, the acceptance instructions will be sent to the existing network HSS and the new HSS for processing at the same time. If the acceptance system does not support sending acceptance instructions to the existing network HSS and the new HSS at the same time, collect the acceptance instructions of this batch of users during the cutover period and execute them again on the new HSS to ensure that the existing network HSS is successful before the user migration is successful. It is consistent with the user data on the newly created HSS.
506、还有需要继续割接号段用户时,继续重复503、504、505,修改签约的割接批次号和网管系统上配置的割接批次号配置数值。506. If there are still users who need to continue to cut over the number segment, continue to repeat 503, 504, and 505, and modify the signed cutover batch number and the cutover batch number configuration value configured on the network management system.
本公开中,将用户迁移过程分为用户数据导入和用户路由切换两个阶段,上述两个阶段可以在同一个时间段执行,也可以在不同时间段执行,有利于根据需求安排用户迁移,特别是在存在大量用户或有数据安全考量时,有利于拉长用户迁移的时间;此外,用户迁移过程中的目标HSS在接收到用户的用户信令时,若用户未迁移到目标HSS,则将用户信令转发到现网HSS进行处理,确保用户迁移过程中业务不中断,也使得用户迁移过程能够分为用户数据导入和用户路由切换两个阶段执行,提高了用户迁移的安全性、可靠性,降低了用户迁移的难度。In this disclosure, the user migration process is divided into two stages: user data import and user route switching. The above two stages can be executed in the same time period or in different time periods, which is conducive to arranging user migration according to needs, especially It is helpful to extend the user migration time when there are a large number of users or there are data security considerations; in addition, when the target HSS in the user migration process receives user signaling from the user, if the user has not migrated to the target HSS, it will User signaling is forwarded to the existing network HSS for processing, ensuring that services are not interrupted during user migration. It also enables the user migration process to be divided into two stages: user data import and user route switching, which improves the security and reliability of user migration. , reducing the difficulty of user migration.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、 CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate 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, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the 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 an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
本文已经公开了示例实施方式,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施方式相结合描述的特征、特性和/或元素,或可与其它实施方式相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。 Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in conjunction with other embodiments, unless expressly stated otherwise. Features and/or components are used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims (19)

  1. 一种用户迁移方法,包括:A user migration method including:
    将第一目标用户的用户数据导入目标归属用户服务器HSS,其中,所述第一目标用户的用户标识所属的号段为第一号段;Import the user data of the first target user into the target home user server HSS, where the number segment to which the user ID of the first target user belongs is the first number segment;
    将现网路由代理DRA中所述第一目标用户的路由切换到所述目标HSS。Switch the route of the first target user in the existing network routing agent DRA to the target HSS.
  2. 根据权利要求1所述的用户迁移方法,其中,将第一目标用户的用户数据导入目标HSS,包括:The user migration method according to claim 1, wherein importing the user data of the first target user into the target HSS includes:
    根据所述第一目标用户的第一用户标识,将所述第一目标用户的用户数据导入所述目标HSS,其中,用户标识包括第一用户标识;Import the user data of the first target user into the target HSS according to the first user identification of the first target user, where the user identification includes the first user identification;
    为所述第一目标用户签约当前批次的割接批次号。Sign the cutover batch number of the current batch for the first target user.
  3. 根据权利要求2所述的用户迁移方法,其中,将现网DRA中所述第一目标用户的路由切换到所述目标HSS,包括:The user migration method according to claim 2, wherein switching the route of the first target user in the existing network DRA to the target HSS includes:
    根据所述第一目标用户的第一用户标识,将现网DRA中所述第一目标用户的路由切换到所述目标HSS;According to the first user identification of the first target user, switch the route of the first target user in the existing network DRA to the target HSS;
    将批次标识设置为当前批次的割接批次号。Set the batch ID to the cutover batch number of the current batch.
  4. 根据权利要求3所述的用户迁移方法,其中,所述用户迁移方法还包括:The user migration method according to claim 3, wherein the user migration method further includes:
    根据第二目标用户的第一用户标识,将第二目标用户的用户数据导入所述目标HSS,其中,所述第二目标用户的第一用户标识所属的号段为第二号段;Import the user data of the second target user into the target HSS according to the first user ID of the second target user, where the number segment to which the first user ID of the second target user belongs is the second number segment;
    将所述现网DRA中第三目标用户的路由切换到所述目标HSS,其中,用户标识包括第一用户标识和第二用户标识,所述第三目标用户为第二用户标识与所述第二目标用户的第一用户标识关联的用户。Switch the route of the third target user in the existing network DRA to the target HSS, where the user identity includes a first user identity and a second user identity, and the third target user is the second user identity and the third user identity. The first user identification of the second target user is associated with the user.
  5. 根据权利要求4所述的用户迁移方法,其中,第一用户标识 为私有用户标识PVI,第二用户标识为公有用户标识PUI;或第一用户标识为PUI,第二用户标识为PVI。The user migration method according to claim 4, wherein the first user identification is the private user identity PVI, and the second user identity is the public user identity PUI; or the first user identity is PUI, and the second user identity is PVI.
  6. 根据权利要求4所述的用户迁移方法,其中,第一用户标识为国际移动用户标识IMSI,第二用户标识为移动台国际用户目录号MSISDN;或第一用户标识为MSISDN,第二用户标识为IMISI。The user migration method according to claim 4, wherein the first user identification is the International Mobile Subscriber Identity IMSI and the second user identification is the mobile station international subscriber directory number MSISDN; or the first user identification is MSISDN and the second user identification is IMISI.
  7. 根据权利要求1至6中任意一项所述的用户迁移方法,其中,在将第一目标用户的用户数据导入目标归属用户服务器HSS之前,所述用户迁移方法还包括:The user migration method according to any one of claims 1 to 6, wherein before importing the user data of the first target user into the target home user server HSS, the user migration method further includes:
    从现网HSS中获取所述第一目标用户的用户数据。Obtain the user data of the first target user from the existing network HSS.
  8. 根据权利要求1至6中任意一项所述的用户迁移方法,其中,在将第一目标用户的用户数据导入目标归属用户服务器HSS之前,所述用户迁移方法还包括:The user migration method according to any one of claims 1 to 6, wherein before importing the user data of the first target user into the target home user server HSS, the user migration method further includes:
    建立所述目标HSS与所述现网DRA之间的链路。Establish a link between the target HSS and the existing network DRA.
  9. 根据权利要求1至6中任意一项所述的用户迁移方法,其中,在将现网DRA中所述第一目标用户的路由切换到所述目标HSS之前,所述用户迁移方法还包括:The user migration method according to any one of claims 1 to 6, wherein before switching the route of the first target user in the existing network DRA to the target HSS, the user migration method further includes:
    响应于对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令,对所述目标HSS中的所述第一目标用户的用户数据进行修改。In response to a modification instruction for modifying the user data of the first target user in the existing network HSS, the user data of the first target user in the target HSS is modified.
  10. 根据权利要求9所述的用户迁移方法,其中,响应于对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令,对所述目标HSS中的所述第一目标用户的用户数据进行修改,包括:The user migration method according to claim 9, wherein, in response to a modification instruction to modify the user data of the first target user in the existing network HSS, the user data of the first target user in the target HSS is modified. Modifications to user data include:
    将所述修改指令同时发送到所述现网HSS和所述目标HSS,以对所述现网HSS中的所述第一目标用户的用户数据和所述目标HSS中的所述第一目标用户的用户数据进行修改。 Send the modification instruction to the existing network HSS and the target HSS simultaneously to modify the user data of the first target user in the existing network HSS and the first target user in the target HSS. Modify the user data.
  11. 根据权利要求9所述的用户迁移方法,其中,响应于对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令,对所述目标HSS中的所述第一目标用户的用户数据进行修改,包括:The user migration method according to claim 9, wherein, in response to a modification instruction to modify the user data of the first target user in the existing network HSS, the user data of the first target user in the target HSS is modified. Modifications to user data include:
    获取对现网HSS中的所述第一目标用户的用户数据进行修改的修改指令;Obtain modification instructions for modifying the user data of the first target user in the existing network HSS;
    在所述目标HSS中执行所述修改指令,以所述目标HSS中的所述第一目标用户的用户数据进行修改。The modification instruction is executed in the target HSS to modify the user data of the first target user in the target HSS.
  12. 一种通信处理方法,包括:A communication processing method, including:
    接收用户的用户信令;Receive user signaling from users;
    判断所述用户是否迁移到当前HSS;Determine whether the user is migrated to the current HSS;
    若所述用户未迁移到当前HSS,将所述用户信令转发到现网HSS进行处理。If the user has not migrated to the current HSS, the user signaling is forwarded to the existing HSS for processing.
  13. 根据权利要求12所述的通信处理方法,其中,判断所述用户是否迁移到当前HSS,包括:The communication processing method according to claim 12, wherein determining whether the user migrates to the current HSS includes:
    根据所述用户信令携带的用户标识,判断当前HSS中是否存在所述用户的用户数据;Determine whether the user data of the user exists in the current HSS according to the user identifier carried in the user signaling;
    若当前HSS中不存在所述用户的用户数据,判定所述用户未迁移到当前HSS。If the user data of the user does not exist in the current HSS, it is determined that the user has not been migrated to the current HSS.
  14. 根据权利要求13所述的通信处理方法,其中,判断所述用户是否迁移到当前HSS,还包括:The communication processing method according to claim 13, wherein determining whether the user migrates to the current HSS further includes:
    若当前HSS中存在所述用户的用户数据,判断所述用户是否路由到当前HSS;If the user data of the user exists in the current HSS, determine whether the user is routed to the current HSS;
    若所述用户未路由到当前HSS,判定所述用户未迁移到当前HSS。If the user is not routed to the current HSS, it is determined that the user has not been migrated to the current HSS.
  15. 根据权利要求14所述的通信处理方法,其中,判断所述用 户由现网HSS到当前HSS的迁移过程是否完成,包括:The communication processing method according to claim 14, wherein determining the user Whether the migration process of the household from the existing network HSS to the current HSS is completed, including:
    将所述用户签约的割接批次号与批次标识进行比较;Compare the cutover batch number signed by the user with the batch identification;
    若所述用户签约的割接批次号大于所述批次标识,判定所述用户由现网HSS到当前HSS的迁移过程未完成。If the cutover batch number signed by the user is greater than the batch identification, it is determined that the migration process of the user from the existing network HSS to the current HSS is not completed.
  16. 根据权利要求12至15中任意一项所述的通信处理方法,其中,所述通信处理方法还包括:The communication processing method according to any one of claims 12 to 15, wherein the communication processing method further includes:
    若所述用户迁移到当前HSS,在当前HSS中对所述用户信令进行处理。If the user migrates to the current HSS, the user signaling is processed in the current HSS.
  17. 一种电子设备,包括:An electronic device including:
    一个或多个处理器;one or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至11中任意一项所述的用户迁移方法。A memory having one or more programs stored thereon. When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 11. The user migration method described in the item.
  18. 一种归属用户服务器,包括:A home user server, including:
    一个或多个处理器;one or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求12至16中任意一项所述的通信处理方法。A memory having one or more programs stored thereon, which when the one or more programs are executed by the one or more processors, causes the one or more processors to implement the method according to any one of claims 12 to 16 The communication processing method described in the item.
  19. 一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时,使得所述处理器实现根据权利要求1至11中任意一项所述的用户迁移方法或根据权利要求12至16中任意一项所述的通信处理方法。 A computer-readable medium with a computer program stored thereon. When the program is executed by a processor, the processor implements the user migration method according to any one of claims 1 to 11 or the user migration method according to claim 12. The communication processing method described in any one of to 16.
PCT/CN2023/094692 2022-06-30 2023-05-17 User migration method, communication processing method, electronic device, server, and medium WO2024001589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210764072.8 2022-06-30
CN202210764072.8A CN117376997A (en) 2022-06-30 2022-06-30 User migration method, communication processing method, electronic device, server, and medium

Publications (1)

Publication Number Publication Date
WO2024001589A1 true WO2024001589A1 (en) 2024-01-04

Family

ID=89383177

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/094692 WO2024001589A1 (en) 2022-06-30 2023-05-17 User migration method, communication processing method, electronic device, server, and medium

Country Status (2)

Country Link
CN (1) CN117376997A (en)
WO (1) WO2024001589A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250662A1 (en) * 2009-03-25 2010-09-30 Devesh Agarwal Methods, systems, and computer readable media for providing home subscriber server (hss) proxy
CN106332043A (en) * 2015-06-17 2017-01-11 中兴通讯股份有限公司 Method and device for realizing batch cutover of HLR users
CN109361526A (en) * 2018-10-26 2019-02-19 中国联合网络通信集团有限公司 Method for routing, PCRF/PCF and the DRA of policy control
CN110536279A (en) * 2018-10-31 2019-12-03 中兴通讯股份有限公司 A kind of method, apparatus and user data evolution system of migration of subscriber data
CN111698675A (en) * 2019-11-13 2020-09-22 中国电信股份有限公司 Data processing method, device and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250662A1 (en) * 2009-03-25 2010-09-30 Devesh Agarwal Methods, systems, and computer readable media for providing home subscriber server (hss) proxy
CN106332043A (en) * 2015-06-17 2017-01-11 中兴通讯股份有限公司 Method and device for realizing batch cutover of HLR users
CN109361526A (en) * 2018-10-26 2019-02-19 中国联合网络通信集团有限公司 Method for routing, PCRF/PCF and the DRA of policy control
CN110536279A (en) * 2018-10-31 2019-12-03 中兴通讯股份有限公司 A kind of method, apparatus and user data evolution system of migration of subscriber data
CN111698675A (en) * 2019-11-13 2020-09-22 中国电信股份有限公司 Data processing method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN117376997A (en) 2024-01-09

Similar Documents

Publication Publication Date Title
EP3664372B1 (en) Network management method and related device
US10361992B2 (en) Method for synchronizing virtual machine location information between data center gateways, gateway, and system
WO2019007345A1 (en) Method, apparatus, and system for selecting network slice, and storage medium
US20160164963A1 (en) Method, system, and device for managing server hardware resources in a cloud scheduling environment
EP3577952B1 (en) Method and system for selection of an access and mobility management function in an access network environment
US9894166B2 (en) Registration method and system for common service entity
EP2732587B1 (en) Methods for supporting migration of virtual machines across multiprotocol label switching network and corresponding devices
WO2017092348A1 (en) Updating method, configuration and system for key-value pair database of client terminal
WO2017114397A1 (en) Method, device and system for realizing heartbeat mechanism
CN111698675B (en) Data processing method, device and computer readable storage medium
CN104040964A (en) Method, device and data center network for cross-service zone communication
EP3206422A1 (en) Method and device for creating subscription resource
EP3477460A1 (en) Data processing method and related storage apparatus
US20190124573A1 (en) Access Point Switching Method and Apparatus
JP2016201602A (en) Communication system and communication method
CN115004734A (en) Instant connect configuration stored in SIM profile
CN112152940B (en) Message processing method, device and system
CN106878052B (en) User migration method and device
WO2014131328A1 (en) Synchronizing multicast groups
WO2015024373A1 (en) Virtual machine communication method and device
WO2024001589A1 (en) User migration method, communication processing method, electronic device, server, and medium
CN110581800B (en) Method and device for creating virtual router interface, storage medium and equipment
WO2020119317A1 (en) Message forwarding method and apparatus, storage medium, and electronic apparatus
WO2017173989A1 (en) Method, device, and system for distribution processing on multicast and storage medium
US20220141080A1 (en) Availability-enhancing gateways for network traffic in virtualized computing environments

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829775

Country of ref document: EP

Kind code of ref document: A1