A message processing method and device, electronic equipment and storage medium
By constructing a short message center to query domain names and obtain service call session control function unit information, the problem of failure to obtain service call session control function unit in the call process was solved, and the accurate location and processing of call sessions were realized, improving the performance of the communication system and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD
- Filing Date
- 2024-09-25
- Publication Date
- 2026-06-09
AI Technical Summary
If the service call session control function fails during the call process, subsequent calls cannot be completed, affecting user experience and service quality.
The call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message, performs a domain name system query to obtain the short message center address, and forwards the session invitation message to the short message center. The short message center adds service call session control function unit information, and finally locates the call dialogue to the corresponding service call session control function unit.
It improves query accuracy and efficiency, ensures the location and processing of call sessions, enhances the performance, continuity and stability of the communication system, and improves user experience and service quality.
Smart Images

Figure CN119316397B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a message processing method and apparatus, electronic device and storage medium. Background Technology
[0002] Voice services have always been one of the most important basic operational services for operators. In the call process, obtaining the Service Call Session Control Function Unit (Service SSCF) is a crucial step. If the acquisition fails, subsequent calls will not be able to be completed, affecting user experience and service quality.
[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention
[0004] The main objective of this application is to provide a message processing method, apparatus, electronic device, and storage medium that can realize the query service of the service call session control function unit, thereby improving user experience and service quality.
[0005] To achieve the above objectives, one aspect of this application proposes a message processing method, the method comprising the following steps:
[0006] The short message center query domain name is constructed by querying the call session control function unit based on the domain name of the received session invitation message;
[0007] The query call session control function unit performs a domain name system query based on the short message center query domain name to obtain the short message center address;
[0008] The session invitation message is forwarded to the SMS center by the inquiry call session control function unit, and the SMS center is determined according to the SMS center address.
[0009] The service call session control function unit information is obtained by the short message center based on the session invitation message. The service call session control function unit information is added to the session invitation message. The added session invitation message is then returned to the query call session control function unit.
[0010] Based on the service call session control function unit information in the session invitation message, the call dialogue is located to the corresponding service call session control function unit through the query call session control function unit.
[0011] In some embodiments, the step of constructing a short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message includes:
[0012] If the query call session control function unit fails to obtain service call session control function unit information, then the query call session control function unit constructs the short message center query domain name based on the domain name of the received session invitation message.
[0013] In some embodiments, obtaining service call session control function unit information through the short message center based on the session invitation message includes:
[0014] The service call session control function unit information is obtained by querying the database based on the number in the session invitation message through the short message center. The service call session control function unit information includes the hostname of the service call session control function unit.
[0015] In some embodiments, adding service call session control function unit information to the session invitation message includes:
[0016] Add routing information to the routing header field of the session invitation message. The routing information includes query call session control function unit information and service call session control function unit information.
[0017] In some embodiments, the step of locating the call conversation to the corresponding service call session control function unit by querying the call session control function unit based on the service call session control function unit information in the session invitation message includes:
[0018] The routing information of the session invitation message is obtained through the query call session control function unit;
[0019] The inquiry call session control function unit information is removed by the inquiry call session control function unit.
[0020] The dialog is directed to the service call session control function unit by the inquiry call session control function unit, and the service call session control function unit determines the location based on the information provided by the service call session control function unit.
[0021] In some embodiments, the step of constructing a short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message includes:
[0022] If the query call session control function unit fails to request location information, the query call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
[0023] In some embodiments, the step of constructing a short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message includes:
[0024] If the query call session control function unit detects that all links of the routing agent node are blocked, then the query call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
[0025] To achieve the above objectives, another aspect of this application provides a message processing apparatus, the apparatus comprising:
[0026] The construction module is used to construct the short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message;
[0027] The query module is used to perform a Domain Name System query based on the short message center query domain name through the query call session control function unit to obtain the short message center address;
[0028] The forwarding module is used to forward the session invitation message to the short message center through the query call session control function unit, wherein the short message center is determined according to the short message center address;
[0029] A new module is added to obtain service call session control function unit information from the short message center based on the session invitation message, add the service call session control function unit information to the session invitation message, and return the added session invitation message to the query call session control function unit.
[0030] The call module is used to locate the call dialogue to the corresponding service call session control function unit by querying the call session control function unit according to the service call session control function unit information in the session invitation message.
[0031] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.
[0032] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.
[0033] The embodiments of this application include at least the following beneficial effects: This application provides a message processing method and apparatus, electronic device, and storage medium. This solution improves the accuracy and efficiency of queries by having the call session control function unit construct a short message center query domain name based on the domain name of the received session invitation message; it obtains the short message center address by performing a domain name system query based on the short message center query domain name; it forwards the session invitation message to the short message center; the short message center obtains the service call session control function unit information based on the session invitation message, adds the service call session control function unit information to the session invitation message, and returns the added session invitation message to the call session control function unit, which is beneficial for the location and processing of call sessions; based on the service call session control function unit information in the session invitation message, the call dialogue is located to the corresponding service call session control function unit by the call session control function unit, thereby realizing the service call session control function unit query service, which helps to improve the performance, continuity, and stability of the communication system, and improve user experience and service quality. Attached Figure Description
[0034] Figure 1 This is a flowchart of the message processing method provided in the embodiments of this application;
[0035] Figure 2 yes Figure 1 The flowchart of step S101 in the text;
[0036] Figure 3 yes Figure 1 The flowchart of step S105 in the process;
[0037] Figure 4 This is a flowchart of the user notification steps of the message processing method provided in this application embodiment;
[0038] Figure 5 This is another flowchart of the message processing method provided in the embodiments of this application;
[0039] Figure 6 This is a schematic diagram of a service scenario where HSS / UDM dual-machine failure or DRA failure is provided in the embodiments of this application;
[0040] Figure 7 This is another flowchart of the message processing method provided in the embodiments of this application;
[0041] Figure 8 This is a standard registration flowchart provided in the embodiments of this application;
[0042] Figure 9 This is a schematic diagram of the structure of the message processing device provided in the embodiments of this application;
[0043] Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0045] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”
[0046] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0048] Before providing a detailed description of the embodiments of this application, some of the nouns and terms involved in the embodiments of this application will be explained first. The nouns and terms involved in the embodiments of this application are subject to the following interpretations.
[0049] 1) IP Multimedia Subsystem (IPMS): This is a brand-new form of multimedia service that can meet the newer and more diversified media service needs of end customers.
[0050] 2) HSS (Home Subscriber Server): It is a central database system that stores user subscription information, location information, and IMS service-related data.
[0051] 3) UDM (Unified Data Management): Generation of 3GPP AKA certification certificates; user identification processing; access authorization based on subscription data; registration management of NFs serving the UE; subscription management; lawful eavesdropping, etc.
[0052] 4) DRA (Diameter Routing Agent): Responsible for LTE Diameter signaling destination address translation and transfer, realizing LTE user authentication, location update, and billing management.
[0053] 5) I CSCF (Interrogation-Call Session Control Function): Located in the Home Network, it is the entry point for SIP messages to enter the Home IMS network.
[0054] 6) SSCCF (Serving-Call Session Control Function): Located in the Home Network, it is the central node of the IMS signaling plane, responsible for providing user registration services, routing decisions, and multimedia session control, as well as storing service configurations.
[0055] 7) Short Message Service Center: This is a network facility for short message service. It is the core of the short message service and the network hub for short message service. It realizes functions such as receiving, storing, forwarding and reporting the status of short messages.
[0056] 8) Third-party registration: For VoLTE users, SSCCF will send a register message to the corresponding AS based on the user's subscription data. The AS will return 200 OK upon successful registration.
[0057] 9) User Home Service Agent: Agent for the user home server function node.
[0058] 10) The current network is the actual communication network that is currently in operation. The current network encompasses the existing infrastructure, equipment, technologies and protocols used to provide various communication services.
[0059] 11) LIR (Location Information Request) is a mechanism used in communication networks to obtain the location information of terminal devices. LIR can be initiated by the network or by the terminal device.
[0060] Voice services have always been one of the most important basic operational services for operators. In the call process, obtaining the Service Call Session Control Function Unit (Service SSCF) is a crucial step. If the acquisition fails, subsequent calls will not be able to be completed, affecting user experience and service quality.
[0061] In summary, the technical problems existing in the relevant technologies need to be improved.
[0062] In view of this, this application provides a message processing method and apparatus, electronic device, and storage medium. This solution improves query accuracy and efficiency by querying the call session control function unit to construct a short message center query domain name based on the domain name of the received session invitation message; it obtains the short message center address by performing a domain name system query based on the short message center query domain name; it forwards the session invitation message to the short message center; the short message center obtains the service call session control function unit information based on the session invitation message, adds the service call session control function unit information to the session invitation message, and returns the added session invitation message to the query call session control function unit, which facilitates call session location and processing; based on the service call session control function unit information in the session invitation message, the query call session control function unit locates the call dialogue to the corresponding service call session control function unit, thereby realizing the service call session control function unit query service, which helps improve the performance, continuity, and stability of the communication system, and enhances user experience and service quality.
[0063] The message processing method provided in this application relates to the field of communication technology. The message processing method provided in this application can be applied to a terminal, a server, or software running on a terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the message processing method, but is not limited to the above forms.
[0064] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0065] It should be noted that in all specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user location information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. In addition, when embodiments of this application require access to sensitive personal information of users, separate permission or consent from the user is obtained through pop-ups or redirection to confirmation pages. Only after obtaining the user's separate permission or consent is the necessary user-related data required for the proper functioning of these embodiments acquired.
[0066] Figure 1 This is an optional flowchart of the message processing method provided in the embodiments of this application. Figure 1The method may include, but is not limited to, steps S101 to S105.
[0067] Step S101: The call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
[0068] In some embodiments, if querying the call session control function unit to obtain service call session control function unit information fails, then the call session control function unit constructs the short message center query domain name based on the domain name of the received session invitation message.
[0069] If the query call session control function unit fails to request location information, the query call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
[0070] Optionally, if the query call session control function unit detects that all links of the routing agent node are blocked, the query call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
[0071] Furthermore, the domain name is extracted from the received session invitation message by querying the call session control function unit, and the domain name is used to construct the short message center query domain name.
[0072] Understandably, if the query call session control unit cannot directly construct a domain name, a configuration file or dynamic DNS service can be used to assist in determining the query domain name.
[0073] In this embodiment, by querying the call session control function unit to construct the short message center query domain name based on the domain name of the received session invitation message, it is beneficial to correctly locate the short message center and improve the accuracy and efficiency of the query.
[0074] Step S102: The call session control function unit queries the domain name system based on the short message center query domain name to obtain the short message center address.
[0075] Specifically, a Domain Name System (DNS) query is a lookup of information from the Domain Name System.
[0076] In some embodiments, the call session control function unit is asked to perform a DNS query based on the short message center query domain name to obtain the short message center address.
[0077] Furthermore, a DNS caching mechanism can be implemented to reduce frequent queries.
[0078] Optionally, DNS load balancing can be used to improve system reliability and performance.
[0079] In this embodiment, by querying the call session control function unit to perform a domain name system query based on the short message center query domain name, the short message center address is obtained, which helps to obtain the correct short message center address and improve the system's response speed and accuracy.
[0080] Step S103: The session invitation message is forwarded to the short message center by querying the call session control function unit.
[0081] Specifically, the short message center is determined based on the short message center address.
[0082] In some embodiments, the Ma interface can be used to forward the session invitation message to the short message center.
[0083] Furthermore, a message queue mechanism is used to handle forwarding requests, improving the reliable delivery and processing of messages.
[0084] In this embodiment, by querying the call session control function unit to forward the session invitation message to the SMSC, it is beneficial for the session invitation message to be accurately delivered to the SMSC for subsequent processing.
[0085] Step S104: Obtain the service call session control function unit information through the short message center based on the session invitation message, add the service call session control function unit information to the session invitation message, and return the added session invitation message to the query call session control function unit.
[0086] Specifically, the service call session control function unit information includes the service call session control function unit hostname.
[0087] In some embodiments, the service call session control function unit information is obtained by querying the database based on the number in the session invitation message through the short message center.
[0088] Furthermore, routing information is added to the routing header field of the session invitation message. This routing information includes information about the query call session control function unit and information about the service call session control function unit. The query call session control function unit information includes the address of the query call session control function unit, and the service call session control function unit information includes the address of the service call session control function unit.
[0089] Optionally, a load balancing mechanism for the short message center can be implemented to handle a large number of session requests. Specifically, the load balancing mechanism can be implemented through hardware load balancers, software load balancers, clustering and replication, message queues, rate limiting, and degradation strategies.
[0090] In this embodiment, the service call session control function unit information is obtained by the short message center based on the session invitation message. The service call session control function unit information is added to the session invitation message, and the added session invitation message is returned to the query call session control function unit. This helps the call session control function unit obtain accurate service call session control function unit information and optimizes the management and control of call sessions.
[0091] Step S105: Based on the service call session control function unit information in the session invitation message, locate the call dialogue to the corresponding service call session control function unit by querying the call session control function unit.
[0092] Specifically, the service call session control function unit determines based on the service call session control function unit information.
[0093] In some embodiments, routing information for a session invitation message is obtained by querying the call session control function unit; information for querying the call session control function unit is removed by querying the call session control function unit; and the dialogue is directed to the service call session control function unit by querying the call session control function unit.
[0094] Optionally, the query call session control function unit implements dynamic load balancing and failover mechanisms to improve the system's reliability and fault tolerance.
[0095] In this embodiment, based on the service call session control function unit information in the session invitation message, the call dialogue is located to the corresponding service call session control function unit by querying the call session control function unit. This enables the service call session control function unit to query services, ensuring that the session request is accurately directed to the correct service call session control function unit. This helps improve the performance, continuity, and stability of the communication system, and enhances user experience and service quality.
[0096] Steps S101 to S105 as illustrated in this embodiment involve: The call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message, improving query accuracy and efficiency; the call session control function unit performs a domain name system query based on the short message center query domain name to obtain the short message center address; the call session control function unit forwards the session invitation message to the short message center; the short message center obtains the service call session control function unit information based on the session invitation message, adds the service call session control function unit information to the session invitation message, and returns the added session invitation message to the call session control function unit, facilitating call session location and processing; based on the service call session control function unit information in the session invitation message, the call session is located to the corresponding service call session control function unit through the call session control function unit query, thereby realizing the service call session control function unit query service, which helps improve the performance, continuity, and stability of the communication system, and enhances user experience and service quality.
[0097] Please see Figure 2 In some embodiments, step S102 may include, but is not limited to, steps S201 to S203:
[0098] Step S201: The call session control function unit was asked if the request for location information had failed.
[0099] In step S201 of some embodiments, a timeout period or number of retries is set.
[0100] Furthermore, when the call session control function unit requests location information, if the response time exceeds the timeout period, the request fails. If the number of failed requests exceeds the number of retries, the call session control function unit is considered to have failed to request location information.
[0101] In this embodiment, if the query call session control function unit fails to request location information, the method of this application can be used to request location information, which helps to improve the performance, continuity and stability of the communication system, thereby improving user experience and service quality.
[0102] Step S202: The call session control function unit detects that all links of the routing agent node are blocked.
[0103] In step S202 of some embodiments, the call session control function unit actively sends a probe packet (such as a ping packet) and waits for a response within a certain period of time.
[0104] Understandably, a timeout period can be set. If no response is received after the preset timeout period, it is assumed that there is a problem with the link of the routing agent node.
[0105] In this embodiment, if the query call session control function unit detects that all links of the routing agent node are blocked, the method of this application can be used to request location information, which helps to improve the performance, continuity and stability of the communication system, thereby improving user experience and service quality.
[0106] Step S203: The call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
[0107] Specifically, the short message center query domain name is a subdomain related to the short message center, used to indicate the location of the short message center.
[0108] In step S203 of some embodiments, the domain name in the session invitation message is extracted, and the short message center query domain name is constructed based on the extracted domain name.
[0109] In this embodiment, by querying the call session control function unit to construct the short message center query domain name based on the domain name of the received session invitation message, it is beneficial to correctly locate the short message center and improve the accuracy and efficiency of the query.
[0110] Please see Figure 3 In some embodiments, step S105 may include, but is not limited to, steps S301 to S303:
[0111] Step S301: Obtain the routing information of the session invitation message by querying the call session control function unit.
[0112] In step S301 of some embodiments, routing information of the session invitation message is obtained by querying the call session control function unit call interface.
[0113] In this embodiment, obtaining the routing information of the session invitation message by querying the call session control function unit helps the session locate the correct service call session control function unit, thereby improving the accuracy and timeliness of message transmission.
[0114] Step S302: Remove the query call session control function unit information by querying the query call session control function unit.
[0115] In step S302 of some embodiments, the query call session control function unit information is removed by querying the call session control function unit call interface.
[0116] In this embodiment, removing the query call session control function unit information by querying the call session control function unit helps reduce the system load and prevents the processing of invalid information.
[0117] Step S303: The dialogue is located to the service call session control function unit by querying the call session control function unit.
[0118] In step S303 of some embodiments, the call continues to be routed to the session control function unit by querying the call session control function unit based on the information of the service call session control function unit.
[0119] Optionally, the conversation can be redirected from the inquiry call session control function unit to the service call session control function unit via the session continuity function unit.
[0120] In this embodiment, by querying the call session control function unit, the dialogue is located to the service call session control function unit, so that the session request is accurately directed to the correct service call session control function unit. This helps to improve the performance, continuity and stability of the communication system, and improve the user experience and service quality.
[0121] Please see Figure 4 In some embodiments, the message processing method provided in this application further includes a user notification step, which may include, but is not limited to, steps S401 to S402:
[0122] Step S401: The session is located to the user equipment through the service call session control function unit.
[0123] In step S401 of some embodiments, the service call session control function unit verifies the identity of the called user equipment. Specifically, the service call session control function unit checks the registration information to confirm whether the called user equipment has registered in the network and whether its identity information is valid.
[0124] Furthermore, the Service Call Session Control Function Unit sends a session invitation message to the called user equipment via the P-CSCF. This session invitation message contains session parameters and other relevant information.
[0125] In this embodiment, the session is located to the user equipment through the service call session control function unit, which is conducive to the smooth progress of the session and maintains the stability and security of the network.
[0126] Step S402: Notify the user of a new session request via the user equipment.
[0127] In step S402 of some embodiments, the user equipment notifies the user of a new session request by ringing a sound or displaying an incoming call notification.
[0128] In this embodiment, notifying the user of a new session request via the user equipment facilitates the smooth progress of the session and helps improve the user experience and service quality.
[0129] Figure 5 This is an optional flowchart of the message processing method provided in the embodiments of this application. Figure 5 The methods may include, but are not limited to, the following steps.
[0130] Step 1: If the I CSCF detects a failed lir query or a complete blockage of the DRA link, disaster recovery is enabled.
[0131] Specifically, I CSCF stands for Query Call Session Control Function Unit, lir stands for Location Information Request, and DRA stands for Routing Agent Node Link.
[0132] It is understood that the method described in this application can be used as a disaster recovery solution when LIR queries fail or DRA links are completely blocked. Furthermore, enabling disaster recovery means applying the solution described in this application.
[0133] Step 2: The I CSCF constructs a short message center query domain name query DNS resolution to obtain the short message center address.
[0134] Specifically, DNS stands for Domain Name System.
[0135] In some embodiments, the I CSCF constructs a short message center query domain name based on the domain name of the received session invitation message, queries the DNS resolution based on the short message center query domain name to obtain the short message center address, and forwards the session invitation message to the short message center.
[0136] Step 3: The I CSCF obtains route information containing the called number service SSCCF information from the SMS center.
[0137] Specifically, SSCCF stands for Service Call Session Control Function Unit, and route information refers to routing information.
[0138] In some embodiments, the I CSCF obtains routing information from the short message center.
[0139] Step 4: The I CSCF forwards the call to the called party's SSCCF to complete the call setup.
[0140] In some embodiments, based on the service call session control function unit information in the session invitation message, the call dialogue is located to the corresponding service call session control function unit by querying the call session control function unit.
[0141] In this embodiment, when the HSS / UDM network element experiences a dual-node failure or the DRA link becomes congested or completely blocked, making it impossible to obtain the called number service SSCCF information in a timely manner, the registered number service SSCCF information stored in the SMS center is used as the home user service proxy, and the SIP protocol is used to replace the D IAMETER protocol to provide location information query services for the voice called service, thus maintaining the continuity of voice services.
[0142] For example, a business scenario diagram of HSS / UDM dual-machine failure or DRA failure is shown below. Figure 6 As shown in the diagram. The symbol 'x' indicates a communication failure, and light gray indicates that the communication could not proceed.
[0143] Figure 7 This is an optional flowchart illustrating the application of the message processing method provided in this application embodiment to HSS / UDM dual-machine failure or DRA failure. Figure 7 The methods may include, but are not limited to, the following steps.
[0144] Step 1: If the location information request does not respond, the ICSCF constructs a short message center query domain name based on the sip ur i domain name in the request-line to query the DNS and obtain the short message center address.
[0145] It is understandable that HSS / UDM dual-machine failure or DRA failure means that the location information request is not responded to, but HSS / UDM dual-machine failure or DRA failure does not affect the outgoing number.
[0146] In some embodiments, when the ICSCF network element detects a location information request failure, mainly manifested as a timeout with no response, or a complete blockage of the DRA link, making it unable to obtain the called number service SSCCF information, it constructs a short message center query domain name based on the sip ur i domain name in the received invite message request-line to query the DNS and obtain the short message center address to which the called number belongs. Specifically, taking sip: +8613300000000@tj.ims.mnc011.mcc460.3gppnetwork.org as an example, it constructs the short message center query domain name _sms._udp.tj.ims.mnc011.mcc460.3gppnetwork.org and queries the DNS to obtain the short message center address to which the called number belongs.
[0147] Step 2: The I CSCF forwards the invite message to the Short Message Center via the Ma interface. The Short Message Center needs to add an invite message processing function to obtain the SSCCF service information of the called number based on the called number in the message. In the invite message returned to the I CSCF, only two routing information entries are added to the route header field: the first layer is the I CSCF address, and the second layer is the SSCCF service address of the called number. The rest of the message remains unchanged in order to hide the Short Message Center topology and prevent it from participating in the subsequent call process.
[0148] Specifically, the invite message is a session invitation message.
[0149] Understandably, in an IMS network, due to the introduction of third-party registration processes for short messages, the short message center can obtain and store the service SSCCF information of all registered numbers, forming a database of registered number location information. For example, a standard registration flowchart is shown below. Figure 8 As shown.
[0150] In some embodiments, the ICSCF network element obtains the address of the Short Message Service Center (SSFC) to which the called number belongs, and forwards the invite message to the SSCCF via the Ma interface. The SSCCF adds an invite message processing function, acting as the home subscriber service agent. Based on the called number in the received invite message request-line, it queries the database to obtain the SSCCF hostname of the number. In the invite message returned to the ICSCF, only two routing information entries are added to the route header field: the first layer is the ICSCF information, and the second layer is the called number service SSCCF information. The rest of the message remains unchanged to hide the SSCCF topology and prevent it from participating in subsequent call processes.
[0151] Step 3: Based on the obtained routing information, the I CSCF removes its own address from the first layer and continues to route the call to the SSCCF where the called number is located according to the address of the second layer service SSCCF, thus completing the subsequent call process.
[0152] In some embodiments, the I CSCF removes its own information at the first layer based on the routing information in the invite message returned by the SMS center, and continues to route the call to the SSCCF where the called number is located according to the SSCCF information at the second layer service, thus completing the subsequent call process.
[0153] In this embodiment, the Short Message Service (SMS) center acts as the Home Subscriber Service (NSS) agent, the SIP protocol replaces the DIAMETER protocol, the SMS center adds the ability to process incoming messages, and receives and processes call requests forwarded by the ICSCF network element when the diameter fails, extracts and returns SCSCF routing information, and provides a disaster recovery method for providing location information query services for voice services.
[0154] It is understandable that this application uses existing resources of existing systems in the current network, utilizes the existing short message center as the home user service agent, and adds the invite message processing capability of the short message center to provide location information query service for voice services. Compared with existing technologies, it has higher reliability, stronger real-time performance, simpler logic, and does not require additional system overhead and signaling consumption.
[0155] Furthermore, this application can effectively alleviate voice service disruptions caused by LIR query failures due to HSS / UDM dual-machine failures or DRA failures, maintaining the continuity of voice services. Simultaneously, based on the existing IMS network topology, when signaling storms occur, the bottleneck often lies in the DRA / HSS / UDM and other diameter network elements. The processing capacity of the DRA / HSS / UDM network elements determines the maximum processing capacity of the IMS network during signaling storms. This application can redirect HSS query requests for voice calls to the Home Subscriber Service (NAS) agent in extreme failure scenarios such as signaling storms, separating IMS registration requests from call requests, effectively alleviating the pressure on the DRA / HSS / UDM network elements, and improving the overall processing capacity of the IMS network.
[0156] Please see Figure 9 This application also provides a message processing apparatus that can implement the above-described message processing method. The apparatus includes:
[0157] The construction module 901 is used to construct the short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message;
[0158] The query module 902 is used to query the domain name system based on the short message center query domain name by asking the call session control function unit to obtain the short message center address;
[0159] The forwarding module 903 is used to forward the session invitation message to the short message center by querying the call session control function unit. The short message center is determined according to the short message center address.
[0160] A new module 904 is added, which is used to obtain the service call session control function unit information through the short message center based on the session invitation message, add the service call session control function unit information to the session invitation message, and return the added session invitation message to the query call session control function unit.
[0161] The call module 905 is used to locate the call dialogue to the corresponding service call session control function unit by querying the call session control function unit based on the service call session control function unit information in the session invitation message.
[0162] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0163] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned message processing method. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.
[0164] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0165] Please see Figure 10 , Figure 10 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:
[0166] The processor 1001 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0167] The memory 1002 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1002 and is called and executed by the processor 1001 using the message processing method of the embodiments of this application.
[0168] Input / output interface 1003 is used to implement information input and output;
[0169] The communication interface 1004 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0170] Bus 1005 transmits information between various components of the device (e.g., processor 1001, memory 1002, input / output interface 1003, and communication interface 1004);
[0171] The processor 1001, memory 1002, input / output interface 1003 and communication interface 1004 are connected to each other within the device via bus 1005.
[0172] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described message processing method.
[0173] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0174] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0175] The message processing method, message processing device, electronic device, and storage medium provided in this application embodiment construct a short message center query domain name based on the domain name of the received session invitation message by querying the call session control function unit, thereby improving the accuracy and efficiency of the query; perform a domain name system query based on the short message center query domain name by querying the call session control function unit to obtain the short message center address; forward the session invitation message to the short message center by querying the call session control function unit; obtain the service call session control function unit information based on the session invitation message by the short message center, add the service call session control function unit information to the session invitation message, and return the added session invitation message to the query call session control function unit, which is beneficial for the location and processing of the call session; and locate the call dialogue to the corresponding service call session control function unit by querying the call session control function unit based on the service call session control function unit information in the session invitation message, thereby realizing the service call session control function unit query service, which helps to improve the performance, continuity, and stability of the communication system, and improve user experience and service quality.
[0176] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0177] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0178] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0179] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0180] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0181] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0182] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0183] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0184] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0185] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0186] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A message processing method, characterized in that, The method includes the following steps: The short message center query domain name is constructed by querying the call session control function unit based on the domain name of the received session invitation message; The query call session control function unit performs a domain name system query based on the short message center query domain name to obtain the short message center address; The session invitation message is forwarded to the SMS center by the inquiry call session control function unit, and the SMS center is determined according to the SMS center address. The service call session control function unit information is obtained by the short message center based on the session invitation message. The service call session control function unit information is added to the session invitation message. The added session invitation message is then sent to the inquiry call session control function unit. Based on the service call session control function unit information in the session invitation message, the call dialogue is located to the corresponding service call session control function unit through the query call session control function unit. The step of obtaining service call session control function unit information through the short message center based on the session invitation message includes: The service call session control function unit information is obtained by querying the database based on the number in the session invitation message through the short message center. The service call session control function unit information includes the service call session control function unit hostname. The step of adding the service call session control function unit information to the session invitation message includes: Add routing information to the routing header field of the session invitation message. The routing information includes query call session control function unit information and service call session control function unit information. The step of locating the call dialogue to the corresponding service call session control function unit by querying the call session control function unit based on the service call session control function unit information in the session invitation message includes: The routing information of the session invitation message is obtained through the query call session control function unit; The inquiry call session control function unit information is removed by the inquiry call session control function unit. The dialog is directed to the service call session control function unit by the inquiry call session control function unit, and the service call session control function unit determines the location based on the information provided by the service call session control function unit.
2. The method according to claim 1, characterized in that, The step of constructing a short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message includes: If the query call session control function unit fails to obtain service call session control function unit information, then the query call session control function unit constructs the short message center query domain name based on the domain name of the received session invitation message.
3. The method according to claim 1, characterized in that, The step of constructing a short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message includes: If the query call session control function unit fails to request location information, the query call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
4. The method according to claim 1, characterized in that, The step of constructing a short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message includes: If the query call session control function unit detects that all links of the routing agent node are blocked, then the query call session control function unit constructs a short message center query domain name based on the domain name of the received session invitation message.
5. A message processing device, characterized in that, The device includes: The construction module is used to construct the short message center query domain name by querying the call session control function unit based on the domain name of the received session invitation message; The query module is used to perform a Domain Name System query based on the short message center query domain name through the query call session control function unit to obtain the short message center address; The forwarding module is used to forward the session invitation message to the short message center through the query call session control function unit, wherein the short message center is determined according to the short message center address; A new module is added to obtain service call session control function unit information from the short message center based on the session invitation message, add the service call session control function unit information to the session invitation message, and return the added session invitation message to the query call session control function unit. The call module is used to locate the call conversation to the corresponding service call session control function unit by querying the call session control function unit according to the service call session control function unit information in the session invitation message. The newly added module is specifically used for: The service call session control function unit information is obtained by querying the database based on the number in the session invitation message through the short message center. The service call session control function unit information includes the service call session control function unit hostname. Add routing information to the routing header field of the session invitation message. The routing information includes query call session control function unit information and service call session control function unit information. The call module is specifically used for: The routing information of the session invitation message is obtained through the query call session control function unit; The inquiry call session control function unit information is removed by the inquiry call session control function unit. The dialog is directed to the service call session control function unit by the inquiry call session control function unit, and the service call session control function unit determines the location based on the information provided by the service call session control function unit.
6. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method of any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 4.