WO2023087928A1 - User data query method and system, and management device and network element device - Google Patents

User data query method and system, and management device and network element device Download PDF

Info

Publication number
WO2023087928A1
WO2023087928A1 PCT/CN2022/121672 CN2022121672W WO2023087928A1 WO 2023087928 A1 WO2023087928 A1 WO 2023087928A1 CN 2022121672 W CN2022121672 W CN 2022121672W WO 2023087928 A1 WO2023087928 A1 WO 2023087928A1
Authority
WO
WIPO (PCT)
Prior art keywords
user data
network element
user
data query
query instruction
Prior art date
Application number
PCT/CN2022/121672
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 WO2023087928A1 publication Critical patent/WO2023087928A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Definitions

  • the present application relates to the technical field of communications, and in particular to a method, system, management device and network element device for querying user data.
  • the method of querying and obtaining the specified user data is: sending query requests to each network element through a management system such as a business operation support system/network element management system, and each network element performs a query operation according to the received query request, and then returns the query result .
  • a management system such as a business operation support system/network element management system
  • the main purpose of the embodiment of the present application is to provide a user data query method, system, management device and network element device, so that the performance of the network element is not affected when user data query is performed, and the efficiency of user data query is improved.
  • an embodiment of the present application provides a user data query method, which is applied to a management device, including: obtaining the target user data management network element to which the user belongs according to the user data to be queried; The data management network element sends a user data query instruction for the target user data management network element to respond to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located; receiving the target Response data of the user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • an embodiment of the present application also provides a method for querying user data, which is applied to network element equipment, including: receiving a user data query instruction; performing data query in the network element equipment according to the user data query instruction And feed back the response data of the user data query instruction, and/or deliver the user data query instruction to the associated network element where the user to which the user data belongs belongs; wherein, the network element device includes the network element to which the user belongs The target user data management network element, or the associated network element device where the user is located.
  • the embodiment of the present application also provides a management device, including: an acquisition module, configured to acquire the target user data management network element to which the user belongs according to the user data to be queried;
  • the target user data management network element sends the user data query instruction for the target user data management network element to respond to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located a receiving module, configured to receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • an embodiment of the present application also provides a network element device, including: a receiving module, configured to receive a user data query instruction; a processing module, configured to perform in the network element device according to the user data query instruction data query and feed back the response data of the user data query instruction, and/or transfer the user data query instruction to the associated network element where the user to which the user data belongs; wherein the network element device includes the The attributable target user data management network element, or the associated network element device where the user is located.
  • an embodiment of the present application further provides a user data query system, including: the above management device and at least one of the above network element devices.
  • an embodiment of the present application further provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned user data query method applied to the management device, or execute the above-mentioned user data query method applied to the network element device User data query method.
  • the embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it realizes the above-mentioned user data query method applied to a management device, or realizes the above-mentioned A user data query method applied to network element equipment.
  • the user data query method proposed in this application firstly obtains the target user data management network element to which the user belongs according to the user data to be queried, and sends a user data query command to the target user data management network element for the target user data management network element to respond In response to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located, finally receive the response data of the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • the management device when querying various user data, since the target user data management network element includes the location of the user, the management device can send the target user data management network element to the target user data management network element by obtaining the target user data management network element to which the user belongs.
  • the unit sends the user data query command, and transmits the user data query command to the associated network element where the user is located through the target user data management network element, without sending the user data query command of a single user to all associated network elements, that is, it can receive the user data query command from the target
  • the user data management network element and/or the response data of the user's associated network element to the user data query command and only sends the user data query command to the user's network element without affecting the performance of other network elements.
  • FIG. 1 is a structural diagram of a management device provided according to an embodiment of the present application.
  • FIG. 2 is a flow chart 1 of a user data query method provided according to an embodiment of the present application
  • Fig. 3 is a flow chart 2 of a user data query method provided according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of transmitting user data query instructions between network elements according to an embodiment of the present application.
  • FIG. 5 is an architecture diagram of a user data query system provided according to an embodiment of the present application.
  • FIG. 6 is a first schematic diagram of a user data query device provided according to an embodiment of the present application.
  • Fig. 7 is a second schematic diagram of a user data query device provided according to an embodiment of the present application.
  • Fig. 8 is a structural diagram of an electronic device provided according to an embodiment of the present application.
  • Various user data in the embodiment of the present application are respectively stored in the following network element devices of 2G and 3G networks: Home Location Register (Home Location Register, HLR), Mobile Switching Center server (Mobile Switching Center server, MSC Server), Serving the general packet radio service (General Packet Radio service, GPRS) support node (Serving GPRS Support Node, SGSN) and gateway GPRS support node (Gateway GPRS Support Node, GGSN); stored in the 4G core network (Evolved Packet Core, EPC ) of the following network element devices: Home Subscriber Server (HSS), mobile management node function (Mobility Management Entity, MME), serving gateway (Serving Gateway, SGW), packet data gateway (Packet Data Network Gateway, PGW), and SGW-C/SGW-U and PGW-C/PGW-U after control and user plane separation (Control and User Plane Separation, CU separation); stored in the 5G core network (5G Core Network, 5GC) Among the following network element devices: (
  • An embodiment of the present application relates to a user data query method, which is applied to a management device.
  • the structure of the management device is as shown in Figure 1, including: an intelligent user interface (Intelligent User Interface, UI), a user data query module, and a data collection module , a data processing module, wherein the UI includes: a query parameter interface and a result presentation interface.
  • UI Intelligent User Interface
  • the UI is used to input the user number to be queried and the conditions required for the user data to be queried, wherein the conditions required for the user data to be queried include: the business type of the user data to be queried, for example, registration subscription data, dynamic data, etc.
  • the UI is also used to present the result of the response data of the user data query instruction.
  • the user data query module is used to obtain the target user data management network element to which the user belongs according to the user data to be queried; send a user data query command to the target user data management network element, for the target user data management network element to respond to the user data query command and /or transmit the user data query instruction to the associated network element where the user is located.
  • the user data query module before the user data query module sends the user data query command to the target user data management network element, it is also used to generate a key pair for encrypting and decrypting the response data.
  • the data collection module is configured to receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • the data processing module is used to obtain the response data of the user data query instruction according to the user data to be queried, decrypt and analyze the response data, and obtain the result of the response data.
  • Step 201 according to the user data to be queried, obtain the target user data management network element to which the user belongs.
  • Step 202 sending a user data query instruction to the target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transmits the user data query instruction to an associated network element where the user is located.
  • Step 203 receiving response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • the target user data management network element to which the user belongs is obtained, and a user data query instruction is sent to the target user data management network element for the target user data management network element to respond to the user data query command and/or transmit the user data query instruction to the associated network element where the user is located, and finally receive the response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • the management device when querying various user data, since the target user data management network element includes the location of the user, the management device can send the target user data management network element to the target user data management network element by obtaining the target user data management network element to which the user belongs.
  • the management device organizes the query parameters of the user data to be queried according to the required conditions and the user number of the user data to be queried, for example, the type of network element involved in the user data to be queried, and according to the The conditions required for the user data to be queried and the user number to obtain the target user data management network element to which the user belongs, wherein the target user data management network element is used to manage user data, including the location of the user data to be queried.
  • the management device sends a user data query instruction to the acquired target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transmits the user data query instruction to the associated network element where the user is located .
  • the target user data management network element includes: HLR, HSS or UDM.
  • the user data query command carries the user number input by the user, and the user number is used for the target user data management network element to query the user data and/or query the associated network element where the user is located.
  • the user data query command also carries the network element type used to indicate the user data involved, for the target user data management network element to decide whether to transmit the user data query command to the associated network element where the user is located.
  • the target user data management network element will determine the target network where the user data to be queried is located according to the user number carried in the user data query instruction. Yuan.
  • the target network element may be the target user data management network element, or any one of other associated network elements where the user is located.
  • the user data is in the target user data management network element, or the user data is in the target user data management network element.
  • the target user data management network element can decide whether to send the user data to the associated network element where the user is located according to the network element type involved in the user data. Meta pass user data query command.
  • the target user data management network element is HLR.
  • the HLR After receiving the user data query instruction, the HLR transmits the user data query instruction to the associated network element where the user to which the user data belongs is: HLR->MSC Server->BSC/ RNC, if the network element types involved in the user data are HLR, MSC Server, BSC/RNC, the target user data management network element HLR will pass the user data query command to the user after receiving the user data query command sent by the management device
  • the associated network element MSC Server where the user is located, and the MSC Server transmits the received query command to another associated network element BSC/RNC where the user is located.
  • the target user data management network element HLR will pass the user data query command to the associated network element MSC where the user is located after receiving the user data query command sent by the management device. Server, and MSC Server will no longer pass user data query commands to BSC/RNC.
  • step 203 after the management device sends the user data query command to the target user data management network element, it will receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query command .
  • the target user data management network element determines that the target network element where the user data is located is the target user data management network element according to the network element type involved in the user data, the user data query instruction will not be transmitted to the associated network element where the user is located, Therefore, after the management device sends the user data query command to the target user data management network element, it will only receive response data from the target user data management network element to the user data query command.
  • the target user data management network element determines that the target network element where the user data is located is the target user data management network element and the associated network element where the user is located according to the type of network element involved in the user data, the user data will be transferred to the associated network element where the user is located Inquiry command, therefore, after the management device sends the user data query command to the target user data management network element, it will receive the response data to the user data query command from the target user data management network element and the associated network element where the user is located.
  • the management device in order to satisfy data security, before sending the user data query instruction to the target user data management network element, the management device will also generate a key pair for encrypting and decrypting the response data.
  • the management device carries the encryption key of the key pair in the user data query command, sends it to the target user data management network element, and sends the user data to the user after receiving the target user data management network element and/or the associated network element where the user is located.
  • the response data of the data query instruction the response data is decrypted according to the decryption key of the key pair.
  • the encryption key is an encryption public key
  • the decryption key is a decryption private key
  • an asymmetric encryption algorithm is used to generate a key pair for encrypting and decrypting the response data
  • the asymmetric encryption algorithm may be an RSA encryption algorithm
  • the data format of the encrypted data may be Extensible Markup Language (Extensible Markup Language). Language, XML).
  • the management device after decrypting the response data according to the decryption key of the key pair, the management device also parses the response data, and presents the parsed response data on the UI for the user to view.
  • the management system can accurately locate the network element where the user data is located by transmitting the user data query command between network elements, without sending the user data query command to all network elements, which effectively improves the user data query method.
  • the efficiency of user data query while avoiding invalid query on network elements to affect the performance of network elements, to meet the rapid fault location and root cause analysis of user complaints, has great promotion value in the telecommunications industry and related vertical industries.
  • the user data query method of this embodiment can be applied to the execution and evaluation phase of the Service-Level Agreement (SLA) process, and the current user's service guarantee situation can be checked and optimized in a timely manner through regular user data query and analysis. network.
  • SLA Service-Level Agreement
  • FIG. 3 Another embodiment of the present application relates to a method for querying user data, which is applied to a network element device.
  • the implementation details of the user data query method in this embodiment are described in detail below, and the following content is only implementation details provided for easy understanding, and is not necessary for implementing this solution.
  • the user data query method of the present embodiment is shown in Figure 3, including:
  • Step 301 receiving a user data query instruction.
  • the network element device receives the user data query instruction sent by the management device, wherein the network element device includes a target user data management network element to which the user belongs, or an associated network element device to which the user belongs.
  • Step 302 Perform data query in the network element device according to the user data query command and feed back the response data of the user data query command, and/or transmit the user data query command to the associated network element where the user to which the user data belongs is located.
  • the network element device transmits the user data query instruction to the associated network element where the user is located through the control plane signaling interface between the network elements.
  • the HLR transmits user data query instructions to the MSC Server according to the mobile application part (Mobile Application Part, MAP).
  • HLR, HSS, UDM are target user data management network elements
  • MSC Server SGSN, MME, AMF, CSCF , AS, eNodeB, NR, BSC, RNC, GGSN, SGW-C, PGW-C, SMF, SBC, SGW-U, PGW-U, UPF are the associated core network and wireless network element where the user is located.
  • the target user data management network element is HLR
  • the process of transmitting the user data query command to the associated network element where the user to which the user data belongs is: HLR->MSC Server- >BSC/RNC.
  • HLR can carry out data query based on the subscriber number, and obtain the MSC Server where the subscriber is located, SGSN, specifically, HLR transmits the subscriber data query instruction to MSC Server, SGSN according to the MAP protocol.
  • the MSC Server can perform data query based on the user number, and obtain the BSC and RNC where the user is located.
  • the MSC Server can use the Base Station System Application (BSSAP) protocol or the wireless access network application part ( Radio Access Network Application Part, RANAP) protocol transmits user data query instructions to BSC and RNC.
  • BSSAP Base Station System Application
  • RANAP Radio Access Network Application Part
  • the SGSN can perform data query based on the user number, and obtain the GGSN where the user is located. Specifically, the SGSN transmits the user data query command to the GGSN according to the GPRS Tunneling Protocol (GPRS Tunneling Protocol, GTP).
  • GTP GPRS Tunneling Protocol
  • the GGSN can perform data query based on the user number.
  • BSC and RNC can perform data query based on the user number.
  • the target user data management network element is the HSS in the EPC
  • the process of transmitting the user data query command to the associated network element where the user to which the user data belongs is: HSS->MME->SGW ->PGW, or HSS->MME->eNodeB.
  • the HSS can perform data query based on the user number, and obtain the MME where the user is located. Specifically, the HSS transmits the user data query command to the MME according to the Diameter protocol.
  • the MME can perform data query based on the user number, and obtain the SGW and eNodeB where the user is located. Specifically, the MME transmits the user data query command to the SGW according to the GTP protocol, and transmits the user data query command to the eNodeB according to the S1AP protocol (S1Application Protocol). .
  • S1AP protocol S1Application Protocol
  • the SGW can perform data query based on the user number, and obtain the PGW where the user is located. Specifically, the SGW transmits the user data query command to the PGW according to the GTP protocol.
  • SGW-C/PGW-C can perform data query based on the user number, and obtain the SGW-U/PGW-U where the user is located, specifically, SGW-C/PGW- C transmits user data query instructions to SGW-U/PGW-U according to Packet Forwarding Control Protocol (PFCP).
  • PFCP Packet Forwarding Control Protocol
  • the eNodeB can perform data query based on the session reference number, and the session reference number is generated by the MME according to the user number.
  • the target user data management network element is the HSS in the IMS
  • the process of transmitting the user data query command to the associated network element where the user to which the user data belongs is: HSS->CSCF.
  • the HSS can perform data query based on the user number, and obtain the CSCF and AS where the user is located. Specifically, the HSS transmits the user data query command to the CSCF and AS according to the Diameter protocol.
  • the CSCF can perform data query based on the user number, and obtain the SBC where the user is located. Specifically, the CSCF transmits the user data query command to the SBC according to the Session Initialization Protocol (SIP).
  • SIP Session Initialization Protocol
  • the SBC can perform data query based on the user number.
  • the AS can perform data query based on the user number.
  • the UDM transmits the user data query command to the associated network element where the user to which the user data belongs is: UDM->AMF->SMF->UPF , or UDM->AMF->NR.
  • the UDM can perform data query based on the user number and obtain the AMF where the user is located. Specifically, the UDM transmits the user data query command to the AMF according to the Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP).
  • HTTP Hyper Text Transfer Protocol
  • the AMF can perform data query based on the user number, and obtain the SMF and NR where the user is located. Specifically, the AMF transmits the user data query command to the SMF according to the HTTP protocol, and transmits the user data according to the NG Application Protocol (NG Application Protocol, NGAP) Query instructions to NR.
  • NG Application Protocol NG Application Protocol, NGAP
  • the SMF can perform data query based on the user number, and obtain the UPF where the user is located. Specifically, the SMF transmits the user data query command to the UPF according to the HTTP protocol.
  • UPF can perform data query based on the user number.
  • NR since there is no user number in NR, data query cannot be performed according to the user number, therefore, NR performs data query based on the session reference number, and the session reference number is generated by the AMF according to the user number.
  • the user data query method in this embodiment supports the following scenarios, or any combination of the following scenarios:
  • EPC scenario HSS->MME->SGW-C/PGW-C->SGW-U/PGW-U, MME->eNodeB;
  • IMS scenario HSS->CSCF->SBCHSS->AS.
  • step division of the above various methods is only for the sake of clarity of description. During implementation, it can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
  • FIG. 5 Another embodiment of the present application relates to a user data query system.
  • the architecture of the user data query system in this embodiment is shown in FIG. 5 , including a management device 501 and at least one network element device 502, wherein the network element device includes The target user data management network element to which the user belongs, or the associated network element device to which the user belongs.
  • the management device 501 is configured to obtain the target user data management network element to which the user belongs according to the user data to be queried; send a user data query command to the target user data management network element, so that the target user data management network element responds to the user A data query instruction and/or transmitting the user data query instruction to the associated network element where the user is located; receiving response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • the management device 501 before the management device 501 sends the user data query instruction to the target user data management network element, it is further configured to generate a key pair for encrypting and decrypting the response data.
  • the management device 501 is further configured to carry the encryption key of the key pair in the user data query command and send it to the target user data management network element; after receiving the target user data management network element and/or the user After the associated network element where is located responds to the user data query command, it decrypts the response data according to the decryption key of the key pair.
  • the management device 501 is further configured to use an asymmetric encryption algorithm to generate a key pair for encrypting and decrypting the response data.
  • the network element device 502 is configured to receive a user data query instruction; perform data query in the network element device according to the user data query instruction and feed back the response data of the user data query instruction, and/or report to the associated network element where the user to which the user data belongs Transmitting a user data query instruction; wherein, the network element device includes a target user data management network element to which the user belongs, or an associated network element device to which the user resides.
  • the network element device 502 is further configured to transmit a user data query instruction to an associated network element where the user to which the user data belongs is located through a control plane signaling interface between network elements.
  • this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in cooperation with the above method embodiment.
  • the relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition.
  • the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
  • FIG. 6 is a schematic diagram of the user data query device described in this embodiment, including: an acquisition module 601 , a sending module 602 and a receiving module 603 .
  • the obtaining module 601 is configured to obtain, according to the user data to be queried, the target user data management network element to which the user belongs.
  • the sending module 602 is configured to send a user data query instruction to a target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transmits the user data query instruction to an associated network element where the user is located.
  • the sending module 602 is further configured to carry the encryption key of the key pair in the user data query command and send it to the target user data management network element.
  • the receiving module 603 is configured to receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  • this embodiment is an apparatus embodiment corresponding to the above-mentioned embodiment of the method applied to managing equipment, and this embodiment can be implemented in cooperation with the above-mentioned method embodiment.
  • the relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition.
  • the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
  • FIG. 7 is a schematic diagram of the user data query device applied to network element equipment described in this embodiment, including: a receiving module 701 and a processing Module 702.
  • the receiving module 701 is configured to receive user data query instructions.
  • the processing module 702 is configured to perform data query in the network element device according to the user data query instruction and feed back the response data of the user data query instruction, and/or transmit the user data query instruction to the associated network element where the user to which the user data belongs is located; wherein , the network element device includes the target user data management network element to which the user belongs, or the associated network element device to which the user belongs.
  • the processing module 702 is further configured to transmit a user data query instruction to an associated network element where the user to which the user data belongs is located through a control plane signaling interface between network elements.
  • this embodiment is an apparatus embodiment corresponding to the foregoing method embodiment applied to a network element device, and this embodiment may be implemented in cooperation with the foregoing method embodiment.
  • the relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition.
  • the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
  • modules involved in the third embodiment, the fourth embodiment and the fifth embodiment of the present application are all logical modules.
  • a logical unit can be a physical unit, or It can be a part of one physical unit, and can also be implemented as a combination of multiple physical units.
  • units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
  • FIG. 8 Another embodiment of the present application relates to an electronic device, as shown in FIG. 8 , including: at least one processor 801; and a memory 802 communicatively connected to the at least one processor 801; wherein, the memory 802 stores Instructions that can be executed by the at least one processor 801, the instructions are executed by the at least one processor 801, so that the at least one processor 801 can execute the user data query methods in the foregoing embodiments.
  • the memory and the processor are connected by a bus
  • the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together.
  • the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
  • the bus interface provides an interface between the bus and the transceivers.
  • a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
  • the data processed by the processor is transmitted on the wireless medium through the antenna.
  • the antenna also receives the data and transmits the data to the processor.
  • the processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory can be used to store data that the processor uses when performing operations.
  • Another embodiment of the present application relates to a computer-readable storage medium storing a computer program.
  • the above method embodiments are implemented when the computer program is executed by the processor.
  • a storage medium includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the present application relate to the technical field of communications. Disclosed are a user data query method and system, and a management device and a network element device. The user data query method comprises: acquiring, according to user data to be queried, a target user data management network element to which a user belongs; sending a user data query instruction to the target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transfers the user data query instruction to an associated network element where the user is located; and receiving response data, with respect to the user data query instruction, of the target user data management network element and/or the associated network element where the user is located.

Description

用户数据查询的方法、系统、管理设备和网元设备Method, system, management device and network element device for user data query
相关申请related application
本申请要求于2021年11月17号申请的、申请号为202111361537.7的中国专利申请的优先权。This application claims the priority of the Chinese patent application with application number 202111361537.7 filed on November 17, 2021.
技术领域technical field
本申请涉及通信技术领域,特别涉及一种用户数据查询的方法、系统、管理设备和网元设备。The present application relates to the technical field of communications, and in particular to a method, system, management device and network element device for querying user data.
背景技术Background technique
随着网络的演进,从2G、3G、4G再到5G,通信用户在各个网元都有一些保存的用户数据,如基础信息、注册信息、签约信息、移动性管理信息、会话管理信息、业务信息等。在日常用户投诉和故障根因分析、业务情况查询、产品订购情况查询、网元数据分析、各个网元间数据一致性对比过程中,需要按用户号码获取分布在多个网元的用户数据。比如用户业务失败或业务质量下降,需要定位分析用户会话管理上下文在各个网元之间的信息是否不同步。在垂直行业中,数据传输要求高带宽低时延,当出现视频图像不清晰或者其他延迟情况,如能源行业中矿车自动控制不灵敏时,就需要基于用户数据分析用户签约信息是否设置正确,签约服务质量(Quality of Service,QoS)是否满足当前需求,同时可定位矿车所在位置,确定活动区域是否存在基站覆盖盲点。With the evolution of the network, from 2G, 3G, 4G to 5G, communication users have some saved user data in each network element, such as basic information, registration information, contract information, mobility management information, session management information, service information etc. In the process of daily user complaints and root cause analysis of faults, business status query, product order status query, network element data analysis, and data consistency comparison between each network element, it is necessary to obtain user data distributed in multiple network elements by user number. For example, if the user service fails or the service quality declines, it is necessary to locate and analyze whether the information of the user session management context among various network elements is not synchronized. In vertical industries, data transmission requires high bandwidth and low latency. When video images are unclear or other delays occur, such as the automatic control of mining vehicles in the energy industry is not sensitive, it is necessary to analyze whether the user subscription information is set correctly based on user data. Whether the contracted quality of service (Quality of Service, QoS) meets the current needs, and at the same time, the location of the mining vehicle can be located to determine whether there are blind spots in the base station coverage in the active area.
目前查询获取指定用户数据的方法为:通过管理系统如业务运营支撑系统/网元管理系统分别向各个网元发送查询请求,各个网元根据接收到的查询请求进行查询操作,之后将查询结果返回。At present, the method of querying and obtaining the specified user data is: sending query requests to each network element through a management system such as a business operation support system/network element management system, and each network element performs a query operation according to the received query request, and then returns the query result .
然而,采用上述方法获取用户数据时并不清楚用户在哪些具体网元上,若要获取多种用户数据,则需要分别向所有的相关网元发送单用户查询请求,其中绝大部分网元的请求都是无效的,导致用户数据查询影响网元。另外,管理系统在查询时需要向各相关网元下发请求消息,并等待各网元分别返回查询的数据,获取查询结果的效率低下。However, when using the above method to obtain user data, it is not clear which specific network elements the user is on. To obtain multiple user data, it is necessary to send a single-user query request to all relevant network elements. All requests are invalid, causing user data query to affect network elements. In addition, when inquiring, the management system needs to send a request message to each relevant network element, and wait for each network element to return the queried data respectively, so the efficiency of obtaining the query result is low.
发明内容Contents of the invention
本申请实施例的主要目的在于提出一种用户数据查询的方法、系统、管理设备和网元设备,使得在进行用户数据查询时网元的性能不受影响,并提升了用户数据查询的效率。The main purpose of the embodiment of the present application is to provide a user data query method, system, management device and network element device, so that the performance of the network element is not affected when user data query is performed, and the efficiency of user data query is improved.
为至少实现上述目的,本申请实施例提供了一种用户数据查询的方法,应用于管理设备,包括:根据待查询的用户数据获取用户所归属的目标用户数据管理网元;向所述目标用户数据管理网元发送用户数据查询指令,供所述目标用户数据管理网元响应所述用户数据查询指令和/或向所述用户所在的关联网元传递所述用户数据查询指令;接收所述目标用户数据管理网元和/或所述用户所在的关联网元对所述用户数据查询指令的响应数据。In order to at least achieve the above purpose, an embodiment of the present application provides a user data query method, which is applied to a management device, including: obtaining the target user data management network element to which the user belongs according to the user data to be queried; The data management network element sends a user data query instruction for the target user data management network element to respond to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located; receiving the target Response data of the user data management network element and/or the associated network element where the user is located to the user data query instruction.
为至少实现上述目的,本申请实施例还提供了一种用户数据查询的方法,应用于网元设 备,包括:接收用户数据查询指令;根据所述用户数据查询指令在网元设备内进行数据查询并反馈所述用户数据查询指令的响应数据,和/或向所述用户数据所属的用户所在的关联网元传递所述用户数据查询指令;其中,所述网元设备包括所述用户所归属的目标用户数据管理网元,或所述用户所在的关联网元设备。In order to at least achieve the above purpose, an embodiment of the present application also provides a method for querying user data, which is applied to network element equipment, including: receiving a user data query instruction; performing data query in the network element equipment according to the user data query instruction And feed back the response data of the user data query instruction, and/or deliver the user data query instruction to the associated network element where the user to which the user data belongs belongs; wherein, the network element device includes the network element to which the user belongs The target user data management network element, or the associated network element device where the user is located.
为至少实现上述目的,本申请实施例还提供了一种管理设备,包括:获取模块,用于根据待查询的用户数据获取用户所归属的目标用户数据管理网元;发送模块,用于向所述目标用户数据管理网元发送所述用户数据查询指令,供所述目标用户数据管理网元响应所述用户数据查询指令和/或向所述用户所在的关联网元传递所述用户数据查询指令;接收模块,用于接收所述目标用户数据管理网元和/或所述用户所在的关联网元对所述用户数据查询指令的响应数据。In order to at least achieve the above purpose, the embodiment of the present application also provides a management device, including: an acquisition module, configured to acquire the target user data management network element to which the user belongs according to the user data to be queried; The target user data management network element sends the user data query instruction for the target user data management network element to respond to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located a receiving module, configured to receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
为至少实现上述目的,本申请实施例还提供了一种网元设备,包括:接收模块,用于接收用户数据查询指令;处理模块,用于根据所述用户数据查询指令在网元设备内进行数据查询并反馈所述用户数据查询指令的响应数据,和/或向所述用户数据所属的用户所在的关联网元传递所述用户数据查询指令;其中,所述网元设备包括所述用户所归属的目标用户数据管理网元,或所述用户所在的关联网元设备。In order to at least achieve the above purpose, an embodiment of the present application also provides a network element device, including: a receiving module, configured to receive a user data query instruction; a processing module, configured to perform in the network element device according to the user data query instruction data query and feed back the response data of the user data query instruction, and/or transfer the user data query instruction to the associated network element where the user to which the user data belongs; wherein the network element device includes the The attributable target user data management network element, or the associated network element device where the user is located.
为至少实现上述目的,本申请实施例还提供了一种用户数据查询系统,包括:上述管理设备和至少一个上述网元设备。In order to achieve at least the above purpose, an embodiment of the present application further provides a user data query system, including: the above management device and at least one of the above network element devices.
为至少实现上述目的,本申请实施例还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述应用于管理设备的用户数据查询方法,或执行上述应用于网元设备的用户数据查询方法。In order to at least achieve the above purpose, an embodiment of the present application further provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned user data query method applied to the management device, or execute the above-mentioned user data query method applied to the network element device User data query method.
为至少实现上述目的,本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现上述应用于管理设备的用户数据查询方法,或实现上述应用于网元设备的用户数据查询方法。In order to achieve at least the above purpose, the embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it realizes the above-mentioned user data query method applied to a management device, or realizes the above-mentioned A user data query method applied to network element equipment.
本申请提出的用户数据查询方法,首先根据待查询的用户数据获取用户所归属的目标用户数据管理网元,向该目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应该用户数据查询指令和/或向用户所在的关联网元传递该用户数据查询指令,最终接收目标用户数据管理网元和/或用户所在的关联网元对该用户数据查询指令的响应数据。本申请实施例在查询多种用户数据时,由于目标用户数据管理网元中包含用户所在的位置,则管理设备可以通过获取用户所归属的目标用户数据管理网元,向该目标用户数据管理网元发送用户数据查询指令,并通过该目标用户数据管理网元传递用户数据查询指令至用户所在的关联网元,无需向所有关联网元发送单用户的用户数据查询指令,即能够接收到来自目标用户数据管理网元和/或用户所在的关联网元对该用户数据查询指令的响应数据,并且只向用户所在的网元发送用户数据查询指令,不会影响到其他网元的性能。The user data query method proposed in this application firstly obtains the target user data management network element to which the user belongs according to the user data to be queried, and sends a user data query command to the target user data management network element for the target user data management network element to respond In response to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located, finally receive the response data of the target user data management network element and/or the associated network element where the user is located to the user data query instruction. In the embodiment of the present application, when querying various user data, since the target user data management network element includes the location of the user, the management device can send the target user data management network element to the target user data management network element by obtaining the target user data management network element to which the user belongs. The unit sends the user data query command, and transmits the user data query command to the associated network element where the user is located through the target user data management network element, without sending the user data query command of a single user to all associated network elements, that is, it can receive the user data query command from the target The user data management network element and/or the response data of the user's associated network element to the user data query command, and only sends the user data query command to the user's network element without affecting the performance of other network elements.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标识的元件表示为类似的元件,除非有特别 的申明,附图中的图不构成比例限制。One or more embodiments are exemplified by corresponding pictures in the drawings, and these exemplifications do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings represent similar elements, Unless otherwise stated, the drawings in the drawings are not limited to scale.
图1是根据本申请的一个实施例提供的管理设备的结构图;FIG. 1 is a structural diagram of a management device provided according to an embodiment of the present application;
图2是根据本申请的一个实施例提供的一种用户数据查询方法的流程图一;FIG. 2 is a flow chart 1 of a user data query method provided according to an embodiment of the present application;
图3是根据本申请的一个实施例提供的一种用户数据查询方法的流程图二;Fig. 3 is a flow chart 2 of a user data query method provided according to an embodiment of the present application;
图4是根据本申请的一个实施例提供的一种网元间传递用户数据查询指令的示意图;FIG. 4 is a schematic diagram of transmitting user data query instructions between network elements according to an embodiment of the present application;
图5是根据本申请的一个实施例提供的一种用户数据查询系统的架构图;FIG. 5 is an architecture diagram of a user data query system provided according to an embodiment of the present application;
图6是根据本申请的一个实施例提供的一种用户数据查询装置的示意图一;FIG. 6 is a first schematic diagram of a user data query device provided according to an embodiment of the present application;
图7是根据本申请的一个实施例提供的一种用户数据查询装置的示意图二;Fig. 7 is a second schematic diagram of a user data query device provided according to an embodiment of the present application;
图8是根据本申请的一个实施例提供的一种电子设备的结构图。Fig. 8 is a structural diagram of an electronic device provided according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that in each embodiment of the application, many technical details are provided for readers to better understand the application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present application, and the embodiments can be combined and referred to each other on the premise of no contradiction.
为了便于理解,现对本申请实施例的相关知识进行说明:For ease of understanding, the relevant knowledge of the embodiment of the present application is now described:
本申请实施例中各种不同的用户数据分别存储于2G和3G网络的以下网元设备中:归属位置寄存器(Home Location Register,HLR),移动交换中心服务器(Mobile Switching Center server,MSC Server),服务于通用分组无线业务(General Packet Radio service,GPRS)的支持节点(Serving GPRS Support Node,SGSN)以及网关GPRS支持节点(Gateway GPRS Support Node,GGSN);存储于4G核心网络(Evolved Packet Core,EPC)的以下网元设备中:归属签约用户服务器(Home Subscriber Server,HSS),移动管理节点功能(Mobility Management Entity,MME),服务网关(Serving Gateway,SGW),分组数据网关(Packet Data Network Gateway,PGW),以及控制与用户面分离(Control and User Plane Separation,CU分离)后的SGW-C/SGW-U和PGW-C/PGW-U;存储于5G核心网络(5G Core Network,5GC)的以下网元设备中:(统一数据管理功能,Unified Data Management,UDM),接入和移动性管理功能(Access and Mobility Management Function,AMF),会话管理功能(Session Management Function,SMF)以及用户面功能(User Plane Function,UPF);存储于IP多媒体子系统(IP Multimedia Subsystem,IMS)的以下网元设备中:HSS,呼叫会话控制功能(Call Session Control Function,CSCF),应用服务器(Application Server,AS),以及会话边界控制(Session Border Control,SBC);部分动态的用户数据存储于无线的以下网元设备中:基站控制器(Base Station Controller,BSC),无线网络控制器(Radio Network Controller,RNC),演进型Node B(Evolved Node B,eNodeB)以及新空口(New Radio,NR)。Various user data in the embodiment of the present application are respectively stored in the following network element devices of 2G and 3G networks: Home Location Register (Home Location Register, HLR), Mobile Switching Center server (Mobile Switching Center server, MSC Server), Serving the general packet radio service (General Packet Radio service, GPRS) support node (Serving GPRS Support Node, SGSN) and gateway GPRS support node (Gateway GPRS Support Node, GGSN); stored in the 4G core network (Evolved Packet Core, EPC ) of the following network element devices: Home Subscriber Server (HSS), mobile management node function (Mobility Management Entity, MME), serving gateway (Serving Gateway, SGW), packet data gateway (Packet Data Network Gateway, PGW), and SGW-C/SGW-U and PGW-C/PGW-U after control and user plane separation (Control and User Plane Separation, CU separation); stored in the 5G core network (5G Core Network, 5GC) Among the following network element devices: (unified data management function, Unified Data Management, UDM), access and mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF) and user plane function (User Plane Function, UPF); stored in the following network element devices of the IP Multimedia Subsystem (IP Multimedia Subsystem, IMS): HSS, Call Session Control Function (Call Session Control Function, CSCF), Application Server (Application Server, AS ), and session border control (Session Border Control, SBC); some dynamic user data is stored in the following wireless network element devices: base station controller (Base Station Controller, BSC), radio network controller (Radio Network Controller, RNC ), evolved Node B (Evolved Node B, eNodeB) and new air interface (New Radio, NR).
本申请的一个实施例涉及一种用户数据查询方法,应用于管理设备,管理设备的结构如图1所示,包括:智能用户界面(Intelligent User Interface,UI),用户数据查询模块,数据收集模块,数据处理模块,其中UI包括:查询参数界面,结果呈现界面。An embodiment of the present application relates to a user data query method, which is applied to a management device. The structure of the management device is as shown in Figure 1, including: an intelligent user interface (Intelligent User Interface, UI), a user data query module, and a data collection module , a data processing module, wherein the UI includes: a query parameter interface and a result presentation interface.
具体而言,UI用于输入待查询的用户号码和待查询的用户数据所需的条件,其中,待查 询的用户数据所需的条件包括:待查询的用户数据的业务类型,例如,注册签约数据,动态数据等。Specifically, the UI is used to input the user number to be queried and the conditions required for the user data to be queried, wherein the conditions required for the user data to be queried include: the business type of the user data to be queried, for example, registration subscription data, dynamic data, etc.
其中,UI还用于呈现用户数据查询指令的响应数据的结果。Wherein, the UI is also used to present the result of the response data of the user data query instruction.
用户数据查询模块用于根据待查询的用户数据获取用户所归属的目标用户数据管理网元;向目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应用户数据查询指令和/或向所述用户所在的关联网元传递所述用户数据查询指令。The user data query module is used to obtain the target user data management network element to which the user belongs according to the user data to be queried; send a user data query command to the target user data management network element, for the target user data management network element to respond to the user data query command and /or transmit the user data query instruction to the associated network element where the user is located.
在一个例子中,用户数据查询模块在向目标用户数据管理网元发送用户数据查询指令之前,还用于生成用于对响应数据进行加解密的密钥对。In an example, before the user data query module sends the user data query command to the target user data management network element, it is also used to generate a key pair for encrypting and decrypting the response data.
数据收集模块用于接收目标用户数据管理网元和/或所述用户所在的关联网元对用户数据查询指令的响应数据。The data collection module is configured to receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
数据处理模块用于根据待查询的用户数据获取用户数据查询指令的响应数据,并对响应数据进行解密和解析,得到响应数据的结果。The data processing module is used to obtain the response data of the user data query instruction according to the user data to be queried, decrypt and analyze the response data, and obtain the result of the response data.
本实施例的用户数据查询方法的实现流程图如图2所示,具体包括:The implementation flowchart of the user data query method of the present embodiment is shown in Figure 2, specifically including:
步骤201,根据待查询的用户数据获取用户所归属的目标用户数据管理网元。 Step 201, according to the user data to be queried, obtain the target user data management network element to which the user belongs.
步骤202,向目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应用户数据查询指令和/或向用户所在的关联网元传递用户数据查询指令。 Step 202, sending a user data query instruction to the target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transmits the user data query instruction to an associated network element where the user is located.
步骤203,接收目标用户数据管理网元和/或用户所在的关联网元对用户数据查询指令的响应数据。 Step 203, receiving response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
本实施例中,首先根据待查询的用户数据获取用户所归属的目标用户数据管理网元,向该目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应该用户数据查询指令和/或向用户所在的关联网元传递该用户数据查询指令,最终接收目标用户数据管理网元和/或用户所在的关联网元对该用户数据查询指令的响应数据。本申请实施例在查询多种用户数据时,由于目标用户数据管理网元中包含用户所在的位置,则管理设备可以通过获取用户所归属的目标用户数据管理网元,向该目标用户数据管理网元发送用户数据查询指令,并通过该目标用户数据管理网元传递用户数据查询指令至用户所在的关联网元,无需向所有相关的网元发送单用户的用户数据查询指令,即能够接收到来自目标用户数据管理网元和/或用户所在的关联网元对该用户数据查询指令的响应数据,并且只向用户所在的网元发送用户数据查询指令,不会影响到其他网元的性能。In this embodiment, first, according to the user data to be queried, the target user data management network element to which the user belongs is obtained, and a user data query instruction is sent to the target user data management network element for the target user data management network element to respond to the user data query command and/or transmit the user data query instruction to the associated network element where the user is located, and finally receive the response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction. In the embodiment of the present application, when querying various user data, since the target user data management network element includes the location of the user, the management device can send the target user data management network element to the target user data management network element by obtaining the target user data management network element to which the user belongs. send the user data query command, and transmit the user data query command to the associated network element where the user is located through the target user data management network element, without sending the user data query command of a single user to all relevant network elements, that is, it can receive the user data query command from The target user data management network element and/or the response data of the associated network element where the user is located to the user data query command, and only sends the user data query command to the network element where the user is located, without affecting the performance of other network elements.
下面对本实施例的用户数据查询方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The implementation details of the user data query method in this embodiment are described in detail below, and the following content is only implementation details provided for easy understanding, and is not necessary for implementing this solution.
在步骤201中,管理设备根据用户输入的待查询的用户数据所需的条件和用户号码,组织待查询的用户数据的查询参数,例如,待查询的用户数据涉及的网元类型,并根据待查询的用户数据所需的条件和用户号码获取用户所归属的目标用户数据管理网元,其中,目标用户数据管理网元用于管理用户数据,包含有待查询的用户数据所在的位置。In step 201, the management device organizes the query parameters of the user data to be queried according to the required conditions and the user number of the user data to be queried, for example, the type of network element involved in the user data to be queried, and according to the The conditions required for the user data to be queried and the user number to obtain the target user data management network element to which the user belongs, wherein the target user data management network element is used to manage user data, including the location of the user data to be queried.
在步骤202中,管理设备向获取到的目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应用户数据查询指令和/或向用户所在的关联网元传递用户数据查询指令。其中,目标用户数据管理网元包括:HLR、HSS或UDM。In step 202, the management device sends a user data query instruction to the acquired target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transmits the user data query instruction to the associated network element where the user is located . Wherein, the target user data management network element includes: HLR, HSS or UDM.
其中,用户数据查询指令携带用户输入的用户号码,用户号码用于供目标用户数据管理网元查询用户数据和/或查询用户所在的关联网元。用户数据查询指令中还携带用于指示用户 数据涉及的网元类型,供目标用户数据管理网元决策是否向用户所在的关联网元传递用户数据查询指令。Wherein, the user data query command carries the user number input by the user, and the user number is used for the target user data management network element to query the user data and/or query the associated network element where the user is located. The user data query command also carries the network element type used to indicate the user data involved, for the target user data management network element to decide whether to transmit the user data query command to the associated network element where the user is located.
具体地,管理设备在向获取到的目标用户数据管理网元发送用户数据查询指令之后,目标用户数据管理网元会根据用户数据查询指令中携带的用户号码确定待查询的用户数据所在的目标网元。其中,目标网元可以是目标用户数据管理网元,也可以是用户所在的其他关联网元中的任意一个网元,例如,用户数据在目标用户数据管理网元中,或者用户数据在目标用户数据管理网元、用户所在的关联网元中。Specifically, after the management device sends the user data query instruction to the acquired target user data management network element, the target user data management network element will determine the target network where the user data to be queried is located according to the user number carried in the user data query instruction. Yuan. Wherein, the target network element may be the target user data management network element, or any one of other associated network elements where the user is located. For example, the user data is in the target user data management network element, or the user data is in the target user data management network element. The data management network element and the associated network element where the user resides.
需要说明的是,在目标用户数据管理网元确定待查询的用户数据所在的目标网元为之后,目标用户数据管理网元可以根据用户数据涉及的网元类型,决策是否向用户所在的关联网元传递用户数据查询指令。It should be noted that, after the target user data management network element determines that the target network element where the user data to be queried is located, the target user data management network element can decide whether to send the user data to the associated network element where the user is located according to the network element type involved in the user data. Meta pass user data query command.
例如,目标用户数据管理网元为HLR,HLR在接收到用户数据查询指令之后,向用户数据所属的用户所在的关联网元传递用户数据查询指令的流程为:HLR->MSC Server->BSC/RNC,若用户数据涉及的网元类型有HLR,MSC Server,BSC/RNC,则目标用户数据管理网元HLR在接收到管理设备发送的用户数据查询命令后,会将用户数据查询命令传递至用户所在的关联网元MSC Server,MSC Server再将接收到的查询命令传递至用户所在的另一关联网元BSC/RNC。若用户数据涉及的网元类型有HLR,MSC Server,则目标用户数据管理网元HLR在接收到管理设备发送的用户数据查询命令后,会将用户数据查询命令传递至用户所在的关联网元MSC Server,且MSC Server不会再将用户数据查询命令传递至BSC/RNC。For example, the target user data management network element is HLR. After receiving the user data query instruction, the HLR transmits the user data query instruction to the associated network element where the user to which the user data belongs is: HLR->MSC Server->BSC/ RNC, if the network element types involved in the user data are HLR, MSC Server, BSC/RNC, the target user data management network element HLR will pass the user data query command to the user after receiving the user data query command sent by the management device The associated network element MSC Server where the user is located, and the MSC Server transmits the received query command to another associated network element BSC/RNC where the user is located. If the network element types involved in the user data are HLR and MSC Server, the target user data management network element HLR will pass the user data query command to the associated network element MSC where the user is located after receiving the user data query command sent by the management device. Server, and MSC Server will no longer pass user data query commands to BSC/RNC.
在步骤203中,管理设备在将用户数据查询指令发送至目标用户数据管理网元之后,会接收到来自目标用户数据管理网元和/或用户所在的关联网元对用户数据查询指令的响应数据。In step 203, after the management device sends the user data query command to the target user data management network element, it will receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query command .
具体地,若目标用户数据管理网元根据用户数据涉及的网元类型确定用户数据所在的目标网元为目标用户数据管理网元,则不会向用户所在的关联网元传递用户数据查询指令,因此,管理设备在将用户数据查询指令发送至目标用户数据管理网元后,只会接收到来自目标用户数据管理网元对用户数据查询指令的响应数据。若目标用户数据管理网元根据用户数据涉及的网元类型确定用户数据所在的目标网元为目标用户数据管理网元和用户所在的关联网元,则会向用户所在的关联网元传递用户数据查询指令,因此,管理设备在将用户数据查询指令发送至目标用户数据管理网元后,会接收到来自目标用户数据管理网元和用户所在的关联网元对用户数据查询指令的响应数据。Specifically, if the target user data management network element determines that the target network element where the user data is located is the target user data management network element according to the network element type involved in the user data, the user data query instruction will not be transmitted to the associated network element where the user is located, Therefore, after the management device sends the user data query command to the target user data management network element, it will only receive response data from the target user data management network element to the user data query command. If the target user data management network element determines that the target network element where the user data is located is the target user data management network element and the associated network element where the user is located according to the type of network element involved in the user data, the user data will be transferred to the associated network element where the user is located Inquiry command, therefore, after the management device sends the user data query command to the target user data management network element, it will receive the response data to the user data query command from the target user data management network element and the associated network element where the user is located.
在一个例子中,为了满足数据的安全性,管理设备在向目标用户数据管理网元发送用户数据查询指令之前,还会生成用于对响应数据进行加解密的密钥对。In an example, in order to satisfy data security, before sending the user data query instruction to the target user data management network element, the management device will also generate a key pair for encrypting and decrypting the response data.
具体地,管理设备将密钥对的加密密钥携带在用户数据查询指令中,发送给目标用户数据管理网元,并在接收目标用户数据管理网元和/或用户所在的关联网元对用户数据查询指令的响应数据之后,根据密钥对的解密密钥对响应数据进行解密。Specifically, the management device carries the encryption key of the key pair in the user data query command, sends it to the target user data management network element, and sends the user data to the user after receiving the target user data management network element and/or the associated network element where the user is located. After the response data of the data query instruction, the response data is decrypted according to the decryption key of the key pair.
其中,加密密钥为加密公钥,解密密钥为解密私钥。在一个例子中,采用非对称加密算法生成用于对响应数据进行加解密的密钥对,其中,非对称加密算法可以为RSA加密算法,加密数据的数据格式可以为可扩展标记语言(Extensible Markup Language,XML)。Wherein, the encryption key is an encryption public key, and the decryption key is a decryption private key. In an example, an asymmetric encryption algorithm is used to generate a key pair for encrypting and decrypting the response data, wherein the asymmetric encryption algorithm may be an RSA encryption algorithm, and the data format of the encrypted data may be Extensible Markup Language (Extensible Markup Language). Language, XML).
在一个例子中,在根据密钥对的解密密钥对响应数据进行解密之后,管理设备还会对响 应数据进行解析,并将解析后的响应数据呈现在UI上,供用户查看。In an example, after decrypting the response data according to the decryption key of the key pair, the management device also parses the response data, and presents the parsed response data on the UI for the user to view.
需要说明的是,本实施方式中的上述各示例均为方便理解进行的举例说明,并不对本申请的技术方案构成限定。It should be noted that, the above-mentioned examples in this embodiment are illustrations for easy understanding, and do not limit the technical solution of the present application.
本实施例的用户数据查询方法,通过网元之间传递用户数据查询指令,管理系统可以精准定位到用户数据所在的网元,无需将用户数据查询指令下发至所有网元,有效的提升了用户数据查询的效率,同时避免对网元发起无效查询影响网元性能,满足用户投诉的快速故障定位和根因分析,在电信行业以及相关交叉的垂直行业中具有较大的推广价值。另外,本实施例的用户数据查询方法可应用于服务水平承诺(Service-Level Agreement,SLA)过程的执行和评估阶段,通过定期进行用户数据查询分析可进行当前用户的服务保障情况,及时调整优化网络。In the user data query method of this embodiment, the management system can accurately locate the network element where the user data is located by transmitting the user data query command between network elements, without sending the user data query command to all network elements, which effectively improves the user data query method. The efficiency of user data query, while avoiding invalid query on network elements to affect the performance of network elements, to meet the rapid fault location and root cause analysis of user complaints, has great promotion value in the telecommunications industry and related vertical industries. In addition, the user data query method of this embodiment can be applied to the execution and evaluation phase of the Service-Level Agreement (SLA) process, and the current user's service guarantee situation can be checked and optimized in a timely manner through regular user data query and analysis. network.
本申请的另一个实施例涉及一种用户数据查询方法,应用于网元设备。下面对本实施例的用户数据查询方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。本实施例的用户数据查询方法如图3所示,包括:Another embodiment of the present application relates to a method for querying user data, which is applied to a network element device. The implementation details of the user data query method in this embodiment are described in detail below, and the following content is only implementation details provided for easy understanding, and is not necessary for implementing this solution. The user data query method of the present embodiment is shown in Figure 3, including:
步骤301,接收用户数据查询指令。 Step 301, receiving a user data query instruction.
具体而言,网元设备接收管理设备发送的用户数据查询指令,其中,网元设备包括用户所归属的目标用户数据管理网元,或用户所在的关联网元设备。Specifically, the network element device receives the user data query instruction sent by the management device, wherein the network element device includes a target user data management network element to which the user belongs, or an associated network element device to which the user belongs.
步骤302,根据用户数据查询指令在网元设备内进行数据查询并反馈用户数据查询指令的响应数据,和/或向用户数据所属的用户所在的关联网元传递用户数据查询指令。Step 302: Perform data query in the network element device according to the user data query command and feed back the response data of the user data query command, and/or transmit the user data query command to the associated network element where the user to which the user data belongs is located.
其中,网元设备通过网元间的控制面信令接口向用户所在的关联网元传递用户数据查询指令。例如,HLR根据移动应用部分(Mobile Application Part,MAP)向MSC Server传递用户数据查询指令。Wherein, the network element device transmits the user data query instruction to the associated network element where the user is located through the control plane signaling interface between the network elements. For example, the HLR transmits user data query instructions to the MSC Server according to the mobile application part (Mobile Application Part, MAP).
为了便于理解,下面对本实施例的用户数据查询方法进行举例说明,具体实现方式如图4所示,其中HLR,HSS,UDM为目标用户数据管理网元,MSC Server,SGSN,MME,AMF,CSCF,AS,eNodeB,NR,BSC,RNC,GGSN,SGW-C,PGW-C,SMF,SBC,SGW-U,PGW-U,UPF为用户所在的关联核心网及无线网元。For ease of understanding, the user data query method of the present embodiment is illustrated below, and the specific implementation is as shown in Figure 4, wherein HLR, HSS, UDM are target user data management network elements, MSC Server, SGSN, MME, AMF, CSCF , AS, eNodeB, NR, BSC, RNC, GGSN, SGW-C, PGW-C, SMF, SBC, SGW-U, PGW-U, UPF are the associated core network and wireless network element where the user is located.
具体而言,若目标用户数据管理网元为HLR,则HLR接收到用户数据查询指令之后,向用户数据所属的用户所在的关联网元传递用户数据查询指令的流程为:HLR->MSC Server->BSC/RNC。Specifically, if the target user data management network element is HLR, after the HLR receives the user data query command, the process of transmitting the user data query command to the associated network element where the user to which the user data belongs is: HLR->MSC Server- >BSC/RNC.
其中,HLR可以基于用户号码进行数据查询,并获取到用户所在的MSC Server,SGSN,具体地,HLR根据MAP协议传递用户数据查询指令至MSC Server,SGSN。Wherein, HLR can carry out data query based on the subscriber number, and obtain the MSC Server where the subscriber is located, SGSN, specifically, HLR transmits the subscriber data query instruction to MSC Server, SGSN according to the MAP protocol.
其中,MSC Server可以基于用户号码进行数据查询,并获取到用户所在的BSC,RNC,具体地,MSC Server根据基站系统应用部分(Base Station System Application,BSSAP)协议,或无线接入网络应用部分(Radio Access Network Application Part,RANAP)协议传递用户数据查询指令至BSC,RNC。Among them, the MSC Server can perform data query based on the user number, and obtain the BSC and RNC where the user is located. Specifically, the MSC Server can use the Base Station System Application (BSSAP) protocol or the wireless access network application part ( Radio Access Network Application Part, RANAP) protocol transmits user data query instructions to BSC and RNC.
其中,SGSN可以基于用户号码进行数据查询,并获取到用户所在的GGSN,具体地,SGSN根据GPRS隧道协议(GPRS Tunneling Protocol,GTP)传递用户数据查询指令至GGSN。Among them, the SGSN can perform data query based on the user number, and obtain the GGSN where the user is located. Specifically, the SGSN transmits the user data query command to the GGSN according to the GPRS Tunneling Protocol (GPRS Tunneling Protocol, GTP).
其中,GGSN可以基于用户号码进行数据查询。Among them, the GGSN can perform data query based on the user number.
其中,BSC,RNC可以基于用户号码进行数据查询。Among them, BSC and RNC can perform data query based on the user number.
若目标用户数据管理网元为EPC中的HSS,则HSS接收到用户数据查询指令之后,向 用户数据所属的用户所在的关联网元传递用户数据查询指令的流程为:HSS->MME->SGW->PGW,或HSS->MME->eNodeB。If the target user data management network element is the HSS in the EPC, after the HSS receives the user data query command, the process of transmitting the user data query command to the associated network element where the user to which the user data belongs is: HSS->MME->SGW ->PGW, or HSS->MME->eNodeB.
其中,HSS可以基于用户号码进行数据查询,并获取到用户所在的MME,具体地,HSS根据Diameter协议传递用户数据查询指令至MME。Wherein, the HSS can perform data query based on the user number, and obtain the MME where the user is located. Specifically, the HSS transmits the user data query command to the MME according to the Diameter protocol.
其中,MME可以基于用户号码进行数据查询,并获取到用户所在的SGW,eNodeB,具体地,MME根据GTP协议传递用户数据查询指令至SGW,根据S1AP协议(S1Application Protocol)传递用户数据查询指令至eNodeB。Among them, the MME can perform data query based on the user number, and obtain the SGW and eNodeB where the user is located. Specifically, the MME transmits the user data query command to the SGW according to the GTP protocol, and transmits the user data query command to the eNodeB according to the S1AP protocol (S1Application Protocol). .
其中,SGW可以基于用户号码进行数据查询,并获取到用户所在的PGW,具体地,SGW根据GTP协议传递用户数据查询指令至PGW。Wherein, the SGW can perform data query based on the user number, and obtain the PGW where the user is located. Specifically, the SGW transmits the user data query command to the PGW according to the GTP protocol.
在一个例子中,SGW/PGW CU分离之后,SGW-C/PGW-C可以基于用户号码进行数据查询,并获取到用户所在的SGW-U/PGW-U,具体地,SGW-C/PGW-C根据报文转发控制协议(Packet Forwarding Control Protocol,PFCP)传递用户数据查询指令至SGW-U/PGW-U。In one example, after SGW/PGW CU is separated, SGW-C/PGW-C can perform data query based on the user number, and obtain the SGW-U/PGW-U where the user is located, specifically, SGW-C/PGW- C transmits user data query instructions to SGW-U/PGW-U according to Packet Forwarding Control Protocol (PFCP).
其中,由于eNodeB中没有用户号码,无法根据用户号码进行数据查询,因此,eNodeB可以基于会话参考号进行数据查询,会话参考号由MME根据用户号码生成。Wherein, since there is no user number in the eNodeB, data query cannot be performed according to the user number, therefore, the eNodeB can perform data query based on the session reference number, and the session reference number is generated by the MME according to the user number.
若目标用户数据管理网元为IMS中的HSS,则HSS接收到用户数据查询指令之后,向用户数据所属的用户所在的关联网元传递用户数据查询指令的流程为:HSS->CSCF。If the target user data management network element is the HSS in the IMS, after the HSS receives the user data query command, the process of transmitting the user data query command to the associated network element where the user to which the user data belongs is: HSS->CSCF.
其中,HSS可以基于用户号码进行数据查询,并获取到用户所在的CSCF,AS,具体地,HSS根据Diameter协议传递用户数据查询指令至CSCF,AS。Wherein, the HSS can perform data query based on the user number, and obtain the CSCF and AS where the user is located. Specifically, the HSS transmits the user data query command to the CSCF and AS according to the Diameter protocol.
其中,CSCF可以基于用户号码进行数据查询,并获取到用户所在的SBC,具体地,CSCF根据会话发起协议(Session Initialization Protocol,SIP)传递用户数据查询指令至SBC。Among them, the CSCF can perform data query based on the user number, and obtain the SBC where the user is located. Specifically, the CSCF transmits the user data query command to the SBC according to the Session Initialization Protocol (SIP).
其中,SBC可以基于用户号码进行数据查询。Among them, the SBC can perform data query based on the user number.
其中,AS可以基于用户号码进行数据查询。Wherein, the AS can perform data query based on the user number.
若目标用户数据管理网元为UDM,则UDM接收到用户数据查询指令之后,向用户数据所属的用户所在的关联网元传递用户数据查询指令的流程为:UDM->AMF->SMF->UPF,或UDM->AMF->NR。If the target user data management network element is UDM, after receiving the user data query command, the UDM transmits the user data query command to the associated network element where the user to which the user data belongs is: UDM->AMF->SMF->UPF , or UDM->AMF->NR.
其中,UDM可以基于用户号码进行数据查询,并获取到用户所在的AMF,具体地,UDM根据超文本传输协议(Hyper Text Transfer Protocol,HTTP)传递用户数据查询指令至AMF。Among them, the UDM can perform data query based on the user number and obtain the AMF where the user is located. Specifically, the UDM transmits the user data query command to the AMF according to the Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP).
其中,AMF可以基于用户号码进行数据查询,并获取到用户所在的SMF,NR,具体地,AMF根据HTTP协议传输用户数据查询指令至SMF,根据NG应用协议(NG Application Protocol,NGAP)传输用户数据查询指令至NR。Among them, the AMF can perform data query based on the user number, and obtain the SMF and NR where the user is located. Specifically, the AMF transmits the user data query command to the SMF according to the HTTP protocol, and transmits the user data according to the NG Application Protocol (NG Application Protocol, NGAP) Query instructions to NR.
其中,SMF可以基于用户号码进行数据查询,并获取到用户所在的UPF,具体地,SMF根据HTTP协议传输用户数据查询指令至UPF。Wherein, the SMF can perform data query based on the user number, and obtain the UPF where the user is located. Specifically, the SMF transmits the user data query command to the UPF according to the HTTP protocol.
其中,UPF可以基于用户号码进行数据查询。Among them, UPF can perform data query based on the user number.
其中,由于NR中没有用户号码,无法根据用户号码进行数据查询,因此,NR基于会话参考号进行数据查询,会话参考号由AMF根据用户号码生成。Wherein, since there is no user number in NR, data query cannot be performed according to the user number, therefore, NR performs data query based on the session reference number, and the session reference number is generated by the AMF according to the user number.
需要说明的是,本实施例的用户数据查询方法支持以下场景,或以下场景任意组合:It should be noted that the user data query method in this embodiment supports the following scenarios, or any combination of the following scenarios:
2G和/或3G场景:HLR->MSC Server->BSC/RNC,HLR->SGSN->GGSN;2G and/or 3G scenarios: HLR->MSC Server->BSC/RNC, HLR->SGSN->GGSN;
EPC场景:HSS->MME->SGW-C/PGW-C->SGW-U/PGW-U,MME->eNodeB;EPC scenario: HSS->MME->SGW-C/PGW-C->SGW-U/PGW-U, MME->eNodeB;
5GC场景:UDM->AMF->SMF->UPF,AMF->NR;5GC scenario: UDM->AMF->SMF->UPF, AMF->NR;
IMS场景:HSS->CSCF->SBCHSS->AS。IMS scenario: HSS->CSCF->SBCHSS->AS.
需要说明的是,本实施方式中的上述各示例均为方便理解进行的举例说明,并不对本申请的技术方案构成限定。It should be noted that, the above-mentioned examples in this embodiment are illustrations for easy understanding, and do not limit the technical solution of the present application.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The step division of the above various methods is only for the sake of clarity of description. During implementation, it can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
本申请的另一个实施例涉及一种用户数据查询系统,本实施例的用户数据查询系统的架构如图5所示,包括一个管理设备501和至少一个网元设备502,其中,网元设备包括用户所归属的目标用户数据管理网元,或用户所在的关联网元设备。Another embodiment of the present application relates to a user data query system. The architecture of the user data query system in this embodiment is shown in FIG. 5 , including a management device 501 and at least one network element device 502, wherein the network element device includes The target user data management network element to which the user belongs, or the associated network element device to which the user belongs.
具体而言,管理设备501,用于根据待查询的用户数据获取用户所归属的目标用户数据管理网元;向目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应用户数据查询指令和/或向用户所在的关联网元传递用户数据查询指令;接收目标用户数据管理网元和/或用户所在的关联网元对用户数据查询指令的响应数据。Specifically, the management device 501 is configured to obtain the target user data management network element to which the user belongs according to the user data to be queried; send a user data query command to the target user data management network element, so that the target user data management network element responds to the user A data query instruction and/or transmitting the user data query instruction to the associated network element where the user is located; receiving response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
在一个例子中,管理设备501在向目标用户数据管理网元发送用户数据查询指令之前,还用于生成用于对所述响应数据进行加解密的密钥对。In an example, before the management device 501 sends the user data query instruction to the target user data management network element, it is further configured to generate a key pair for encrypting and decrypting the response data.
在一个例子中,管理设备501还用于将密钥对的加密密钥携带在用户数据查询指令中,发送给目标用户数据管理网元;在接收所述目标用户数据管理网元和/或用户所在的关联网元对用户数据查询指令的响应数据之后,根据密钥对的解密密钥对响应数据进行解密。In an example, the management device 501 is further configured to carry the encryption key of the key pair in the user data query command and send it to the target user data management network element; after receiving the target user data management network element and/or the user After the associated network element where is located responds to the user data query command, it decrypts the response data according to the decryption key of the key pair.
在一个例子中,管理设备501还用于采用非对称加密算法生成用于对响应数据进行加解密的密钥对。In an example, the management device 501 is further configured to use an asymmetric encryption algorithm to generate a key pair for encrypting and decrypting the response data.
网元设备502,用于接收用户数据查询指令;根据用户数据查询指令在网元设备内进行数据查询并反馈用户数据查询指令的响应数据,和/或向用户数据所属的用户所在的关联网元传递用户数据查询指令;其中,所述网元设备包括用户所归属的目标用户数据管理网元,或用户所在的关联网元设备。The network element device 502 is configured to receive a user data query instruction; perform data query in the network element device according to the user data query instruction and feed back the response data of the user data query instruction, and/or report to the associated network element where the user to which the user data belongs Transmitting a user data query instruction; wherein, the network element device includes a target user data management network element to which the user belongs, or an associated network element device to which the user resides.
在一个例子中,网元设备502还用于通过网元间的控制面信令接口向用户数据所属的用户所在的关联网元传递用户数据查询指令。In an example, the network element device 502 is further configured to transmit a user data query instruction to an associated network element where the user to which the user data belongs is located through a control plane signaling interface between network elements.
不难发现,本实施例为与上述方法实施例对应的系统实施例,本实施例可以与上述方法实施例互相配合实施。上述实施例中提到的相关技术细节和技术效果在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在上述实施例中。It is not difficult to find that this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in cooperation with the above method embodiment. The relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
本申请的另一个实施例涉及一种用户数据查询装置,应用于管理设备,下面对本实施例的应用于管理设备的用户数据查询装置的细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本例的必须,图6是本实施例所述的用户数据查询装置的示意图,包括:获取模块601,发送模块602和接收模块603。Another embodiment of the present application relates to a user data query device, which is applied to management equipment. The details of the user data query device applied to management equipment in this embodiment are described in detail below. The following content is only provided for the convenience of understanding The details are not necessary for the implementation of this embodiment. FIG. 6 is a schematic diagram of the user data query device described in this embodiment, including: an acquisition module 601 , a sending module 602 and a receiving module 603 .
具体而言,获取模块601,用于根据待查询的用户数据获取用户所归属的目标用户数据管理网元。Specifically, the obtaining module 601 is configured to obtain, according to the user data to be queried, the target user data management network element to which the user belongs.
发送模块602,用于向目标用户数据管理网元发送用户数据查询指令,供目标用户数据管理网元响应用户数据查询指令和/或向用户所在的关联网元传递用户数据查询指令。The sending module 602 is configured to send a user data query instruction to a target user data management network element, so that the target user data management network element responds to the user data query instruction and/or transmits the user data query instruction to an associated network element where the user is located.
在一个例子中,发送模块602还用于将密钥对的加密密钥携带在用户数据查询指令中,发送给目标用户数据管理网元。In an example, the sending module 602 is further configured to carry the encryption key of the key pair in the user data query command and send it to the target user data management network element.
接收模块603,用于接收目标用户数据管理网元和/或用户所在的关联网元对用户数据查询指令的响应数据。The receiving module 603 is configured to receive response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
不难发现,本实施例为与上述应用于管理设备的方法实施例对应的装置实施例,本实施例可以与上述方法实施例互相配合实施。上述实施例中提到的相关技术细节和技术效果在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在上述实施例中。It is not difficult to find that this embodiment is an apparatus embodiment corresponding to the above-mentioned embodiment of the method applied to managing equipment, and this embodiment can be implemented in cooperation with the above-mentioned method embodiment. The relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
本申请的另一个实施例涉及一种用户数据查询装置,应用于网元设备,图7是本实施例所述的应用于网元设备的用户数据查询装置的示意图,包括:接收模块701和处理模块702。Another embodiment of the present application relates to a user data query device applied to network element equipment. FIG. 7 is a schematic diagram of the user data query device applied to network element equipment described in this embodiment, including: a receiving module 701 and a processing Module 702.
具体而言,接收模块701,用于接收用户数据查询指令。Specifically, the receiving module 701 is configured to receive user data query instructions.
处理模块702,用于根据用户数据查询指令在网元设备内进行数据查询并反馈用户数据查询指令的响应数据,和/或向用户数据所属的用户所在的关联网元传递用户数据查询指令;其中,网元设备包括用户所归属的目标用户数据管理网元,或用户所在的关联网元设备。The processing module 702 is configured to perform data query in the network element device according to the user data query instruction and feed back the response data of the user data query instruction, and/or transmit the user data query instruction to the associated network element where the user to which the user data belongs is located; wherein , the network element device includes the target user data management network element to which the user belongs, or the associated network element device to which the user belongs.
在一个例子中,处理模块702还用于通过网元间的控制面信令接口向用户数据所属的用户所在的关联网元传递用户数据查询指令。In an example, the processing module 702 is further configured to transmit a user data query instruction to an associated network element where the user to which the user data belongs is located through a control plane signaling interface between network elements.
不难发现,本实施例为与上述应用于网元设备的方法实施例对应的装置实施例,本实施例可以与上述方法实施例互相配合实施。上述实施例中提到的相关技术细节和技术效果在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在上述实施例中。It is not difficult to find that this embodiment is an apparatus embodiment corresponding to the foregoing method embodiment applied to a network element device, and this embodiment may be implemented in cooperation with the foregoing method embodiment. The relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
值得一提的是,本申请的第三实施方式、第四实施方式和第五实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施例中不存在其它的单元。It is worth mentioning that the modules involved in the third embodiment, the fourth embodiment and the fifth embodiment of the present application are all logical modules. In practical applications, a logical unit can be a physical unit, or It can be a part of one physical unit, and can also be implemented as a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
本申请另一个实施例涉及一种电子设备,如图8所示,包括:至少一个处理器801;以及,与所述至少一个处理器801通信连接的存储器802;其中,所述存储器802存储有可被所述至少一个处理器801执行的指令,所述指令被所述至少一个处理器801执行,以使所述至少一个处理器801能够执行上述各实施例中的用户数据查询方法。Another embodiment of the present application relates to an electronic device, as shown in FIG. 8 , including: at least one processor 801; and a memory 802 communicatively connected to the at least one processor 801; wherein, the memory 802 stores Instructions that can be executed by the at least one processor 801, the instructions are executed by the at least one processor 801, so that the at least one processor 801 can execute the user data query methods in the foregoing embodiments.
其中,存储器和处理器采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器和存储器的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器处理的数据通过天线在无线介质上进行传输,在一实施方式中,天线还接收数据并将数据传送给处理器。Wherein, the memory and the processor are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna. In one embodiment, the antenna also receives the data and transmits the data to the processor.
处理器负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器可以被用于存储处理器在执行操作时所使用的数据。The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory can be used to store data that the processor uses when performing operations.
本申请另一个实施例涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。Another embodiment of the present application relates to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
本领域的普通技术人员可以理解,上述各实施方式是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned implementation modes are specific examples for realizing the present application, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present application. scope.

Claims (13)

  1. 一种用户数据查询的方法,应用于管理设备,包括:A method for querying user data, applied to management equipment, comprising:
    根据待查询的用户数据获取用户所归属的目标用户数据管理网元;Obtain the target user data management network element to which the user belongs according to the user data to be queried;
    向所述目标用户数据管理网元发送用户数据查询指令,供所述目标用户数据管理网元响应所述用户数据查询指令和/或向所述用户所在的关联网元传递所述用户数据查询指令;sending a user data query instruction to the target user data management network element, for the target user data management network element to respond to the user data query instruction and/or to transmit the user data query instruction to an associated network element where the user is located ;
    接收所述目标用户数据管理网元和/或所述用户所在的关联网元对所述用户数据查询指令的响应数据。Receiving response data from the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  2. 根据权利要求1所述的用户数据查询的方法,其中,在所述向所述目标用户数据管理网元发送用户数据查询指令之前,还包括:The method for user data query according to claim 1, wherein, before sending the user data query instruction to the target user data management network element, further comprising:
    生成用于对所述响应数据进行加解密的密钥对;generating a key pair for encrypting and decrypting the response data;
    所述向所述目标用户数据管理网元发送用户数据查询指令,包括:The sending a user data query instruction to the target user data management network element includes:
    将所述密钥对的加密密钥携带在所述用户数据查询指令中,发送给所述目标用户数据管理网元;carrying the encryption key of the key pair in the user data query instruction, and sending it to the target user data management network element;
    在所述接收所述目标用户数据管理网元和/或所述用户所在的关联网元对所述用户数据查询指令的响应数据之后,根据所述密钥对的解密密钥对所述响应数据进行解密。After receiving the response data of the target user data management network element and/or the associated network element where the user is located to the user data query instruction, decrypt the response data according to the decryption key of the key pair to decrypt.
  3. 根据权利要求2所述的用户数据查询的方法,其中,所述加密密钥为加密公钥,所述解密密钥为解密私钥;所述生成用于对所述响应数据进行加解密的密钥对,包括:The method for querying user data according to claim 2, wherein the encryption key is an encryption public key, and the decryption key is a decryption private key; key pair, including:
    采用非对称加密算法生成用于对所述响应数据进行加解密的密钥对。An asymmetric encryption algorithm is used to generate a key pair for encrypting and decrypting the response data.
  4. 根据权利要求1至3中任一项所述的用户数据查询的方法,其中,所述用户数据查询指令携带用户号码,所述用户号码用于供所述目标用户数据管理网元查询用户数据和/或查询所述用户所在的关联网元。The method for querying user data according to any one of claims 1 to 3, wherein the user data query instruction carries a user number, and the user number is used for the target user data management network element to query user data and /or query the associated network element where the user is located.
  5. 根据权利要求1至3中任一项所述的用户数据查询的方法,其中,所述用户数据查询指令携带用于指示所述用户数据涉及的网元类型,供所述目标用户数据管理网元决策是否向所述用户所在的关联网元传递所述用户数据查询指令。The method for querying user data according to any one of claims 1 to 3, wherein the user data query instruction carries a network element type used to indicate the user data involved, for the target user data management network element Deciding whether to transmit the user data query instruction to the associated network element where the user is located.
  6. 根据权利要求1至3中任一项所述的用户数据查询的方法,其中,所述目标用户数据管理网元包括:HLR、HSS或UDM。The method for user data query according to any one of claims 1 to 3, wherein the target user data management network element includes: HLR, HSS or UDM.
  7. 一种用户数据查询的方法,应用于网元设备,包括:A method for querying user data, applied to network element equipment, comprising:
    接收用户数据查询指令;Receive user data query instructions;
    根据所述用户数据查询指令在网元设备内进行数据查询并反馈所述用户数据查询指令的响应数据,和/或向所述用户数据所属的用户所在的关联网元传递所述用户数据查询指令;Perform data query in the network element device according to the user data query instruction and feed back the response data of the user data query instruction, and/or transmit the user data query instruction to the associated network element where the user to which the user data belongs is located ;
    其中,所述网元设备包括所述用户所归属的目标用户数据管理网元,或所述用户所在的关联网元设备。Wherein, the network element device includes a target user data management network element to which the user belongs, or an associated network element device to which the user resides.
  8. 根据权利要求7所述的用户数据查询的方法,其中,所述向所述用户数据所属的用户所在的关联网元传递所述用户数据查询指令,包括:The method for querying user data according to claim 7, wherein the transmitting the user data query instruction to the associated network element where the user to which the user data belongs comprises:
    通过网元间的控制面信令接口向所述用户数据所属的用户所在的网元传递所述用户数据查询指令。The user data query instruction is transmitted to the network element where the user to which the user data belongs is located through a control plane signaling interface between network elements.
  9. 一种管理设备,包括:A management device comprising:
    获取模块,用于根据待查询的用户数据获取用户所归属的目标用户数据管理网元;An acquisition module, configured to acquire the target user data management network element to which the user belongs according to the user data to be queried;
    发送模块,用于向所述目标用户数据管理网元发送用户数据查询指令,供所述目标用户数据管理网元响应所述用户数据查询指令和/或向所述用户所在的关联网元传递所述用户数据查询指令;A sending module, configured to send a user data query instruction to the target user data management network element, for the target user data management network element to respond to the user data query instruction and/or transmit the user data query instruction to the associated network element where the user is located. Describe user data query instructions;
    接收模块,用于接收所述目标用户数据管理网元和/或所述用户所在的关联网元对所述用户数据查询指令的响应数据。The receiving module is configured to receive the response data of the target user data management network element and/or the associated network element where the user is located to the user data query instruction.
  10. 一种网元设备,包括:A network element device, comprising:
    接收模块,用于接收用户数据查询指令;A receiving module, configured to receive user data query instructions;
    处理模块,用于根据所述用户数据查询指令在网元设备内进行数据查询并反馈所述用户数据查询指令的响应数据,和/或向所述用户数据所属的用户所在的关联网元传递所述用户数据查询指令;A processing module, configured to perform data query in the network element device according to the user data query instruction and feed back the response data of the user data query instruction, and/or deliver the relevant network element to the associated network element where the user to which the user data belongs is located. Describe user data query instructions;
    其中,所述网元设备包括所述用户所归属的目标用户数据管理网元,或所述用户所在的关联网元设备。Wherein, the network element device includes a target user data management network element to which the user belongs, or an associated network element device to which the user resides.
  11. 一种用户数据查询系统,包括如权利要求9所述的管理设备和至少一个如权利要求10所述的网元设备。A user data query system, comprising the management device as claimed in claim 9 and at least one network element device as claimed in claim 10 .
  12. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至6中任一项所述的用户数据查询的方法,或如权利要求7或8所述的用户数据查询的方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the operation described in any one of claims 1 to 6 The method for user data query described above, or the method for user data query as claimed in claim 7 or 8.
  13. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的用户数据查询的方法,或实现权利要求7或8所述的用户数据查询的方法。A computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor, the user data query method according to any one of claims 1 to 6 is realized, or claim 7 or 8 is realized The method of querying user data.
PCT/CN2022/121672 2021-11-17 2022-09-27 User data query method and system, and management device and network element device WO2023087928A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111361537.7 2021-11-17
CN202111361537.7A CN116136852A (en) 2021-11-17 2021-11-17 User data query method, system, management equipment and network element equipment

Publications (1)

Publication Number Publication Date
WO2023087928A1 true WO2023087928A1 (en) 2023-05-25

Family

ID=86332652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/121672 WO2023087928A1 (en) 2021-11-17 2022-09-27 User data query method and system, and management device and network element device

Country Status (2)

Country Link
CN (1) CN116136852A (en)
WO (1) WO2023087928A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120220326A1 (en) * 2009-11-06 2012-08-30 Zte Corporation Method and system for acquiring information of machine type communication user equipment
CN105515814A (en) * 2014-10-16 2016-04-20 中兴通讯股份有限公司 Method and device for loading network element objects and method and device for storing network element information
CN108011715A (en) * 2016-10-31 2018-05-08 华为技术有限公司 A kind of distribution method of key, relevant device and system
CN111328067A (en) * 2018-12-17 2020-06-23 中国移动通信集团安徽有限公司 User information checking method, device, system, equipment and medium
CN112654033A (en) * 2020-12-15 2021-04-13 中国联合网络通信集团有限公司 Service opening method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120220326A1 (en) * 2009-11-06 2012-08-30 Zte Corporation Method and system for acquiring information of machine type communication user equipment
CN105515814A (en) * 2014-10-16 2016-04-20 中兴通讯股份有限公司 Method and device for loading network element objects and method and device for storing network element information
CN108011715A (en) * 2016-10-31 2018-05-08 华为技术有限公司 A kind of distribution method of key, relevant device and system
CN111328067A (en) * 2018-12-17 2020-06-23 中国移动通信集团安徽有限公司 User information checking method, device, system, equipment and medium
CN112654033A (en) * 2020-12-15 2021-04-13 中国联合网络通信集团有限公司 Service opening method and device

Also Published As

Publication number Publication date
CN116136852A (en) 2023-05-19

Similar Documents

Publication Publication Date Title
US10743279B2 (en) Network registration and network slice selection system and method
US11653296B2 (en) Isolated network slice selection
US20220217514A1 (en) Network assistance information providing method and apparatus, electronic device, and computer-readable storage medium
US9125003B2 (en) Machine to machine service management device, network device, and method processing service system
EP4068814B1 (en) Charging methods, apparatuses, system, computer storage medium and computer program
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
EP3445081B1 (en) Flow-based bearer management method and device
US10986537B2 (en) Method of selecting user plane gateway and device of selecting user plane gateway
WO2022033116A1 (en) Communication method, communication device, and system
WO2019196000A1 (en) Methods and system for carrying out small data fast path communication
US20220256451A1 (en) Incompatible network slices support and management
US20220210859A1 (en) Data transmission method and apparatus
CN114531675A (en) Communication method, related device and system
US20230156468A1 (en) Secure Communication Method, Related Apparatus, and System
CN114302464B (en) QoS mapping method and device, storage medium and electronic equipment
US20200084743A1 (en) A Method, and Devices, for Updating a Location of a User Equipment, UE, when said UE Moves from a First Type of Telecommunication Network to a Second Type of Telecommunication Network
WO2019136925A1 (en) Data transmission method and apparatus, and computer storage medium
WO2018176439A1 (en) Address obtaining method, services capability opening network element, and mobile edge computing network element
US20230361901A1 (en) Apparatus and method for providing exposure service of user plane for time sensitive communication in wireless communication system
WO2023087928A1 (en) User data query method and system, and management device and network element device
EP3076746B1 (en) Information interaction device, base station and communication system
EP2905995B1 (en) Long term evolution femtocell based content service system, and driving method thereof
EP4401437A1 (en) Communication method and apparatus
WO2024109032A1 (en) Data transmission optimization method and apparatus, computer-readable medium, and electronic device
WO2024109101A1 (en) Data transmission optimization method and apparatus, computer readable medium, and electronic device

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: 22894466

Country of ref document: EP

Kind code of ref document: A1