Disaster recovery method for 5g message system, 5g message system, device and storage medium
By building a backup region in the 5G messaging system, the calling terminal uploads messages to the backup FS module, which solves the disaster recovery problem when the primary region FS module fails, realizes the normal sending and receiving of 5G messages, and improves the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE GROUP ZHEJIANG
- Filing Date
- 2022-08-15
- Publication Date
- 2026-07-10
AI Technical Summary
When the primary DMZ resource pool of the existing 5G messaging system fails, the FS module becomes unavailable, causing the messaging AS module to be unable to obtain file information normally, thus affecting the normal operation of 5G services.
A backup region is established. The calling terminal queries the IP address of the backup FS module and uploads the message to the backup FS module. The backup FS module generates data URL information and returns it to the calling terminal. The main message AS module obtains file control information from the backup FS module based on the data URL information and then sends it to the called terminal, thus realizing the disaster recovery and failover of the main FS module.
When the main FS module fails, there is no need to perform a coordinated failover of the main message AS module. Only the disaster recovery failover of the main FS module needs to be performed to ensure the normal operation of 5G services and improve the user experience.
Smart Images

Figure CN117641410B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of 5G messaging communication technology, specifically to a 5G messaging system disaster recovery method, a 5G messaging system, equipment, and storage medium. Background Technology
[0002] With the rapid development of 5G communication technology, major telecommunications companies have deployed 5G messaging centers in regional network cloud resource pools. In addition to providing SMS services, these centers also offer basic multimedia message sending and receiving capabilities. The basic multimedia message sending and receiving functionality of the 5G messaging center comprises two core modules: the Message AS (Service Controller) and the File Server (FS). The Message AS connects to SIP access, MaaP, SMS, and third-party network elements via the IP bearer network, responsible for storing and forwarding message signaling, and is deployed in the regional trusted resource pool. The FS directly faces end users via the public network, responsible for uploading and downloading message media content, and is deployed in the regional DMZ resource pool.
[0003] Currently, the 5G messaging process includes: the terminal uploads media content to the FS module of its home region and receives the data URL information returned by the FS module. Then, the 5G messaging terminal sends the data URL information to the messaging AS module through the SIP access module. After the messaging AS module queries the FS module to obtain file control information, it sends the data URL signaling to the called terminal. The called terminal requests the data URL to download the media content, thus completing the rich media message sending and receiving.
[0004] However, in the existing 5G message sending and receiving process, if the message AS module does not obtain file control information when querying the FS module, the processing ends. This leads to the coupling of signaling and media processing. When the regional DMZ resource pool fails and the FS module becomes unavailable, requiring disaster recovery and failover, the trusted resource pool message AS module will be unable to obtain file information normally. Regardless of whether the message AS module itself is available or not, a failover is required, which seriously affects the normal operation of 5G services. Summary of the Invention
[0005] In view of the above problems, embodiments of the present invention provide a disaster recovery method, a 5G messaging system, a device, and a storage medium for a 5G messaging system, which solves the problem that the message AS module and FS module of the existing 5G messaging system must be linked for disaster recovery and failover.
[0006] According to one aspect of the present invention, a disaster recovery method for a 5G messaging system is provided. This method is applied to a 5G messaging system, which includes a calling terminal, a primary region, and a backup region. The primary region includes a primary messaging AS module and a primary FS module, and the backup region includes a backup FS module. The method includes: when the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module based on the IP address; after receiving the message, the backup FS module generates data URL information and returns it to the calling terminal; the calling terminal sends the data URL information to the primary messaging AS module; the primary messaging AS module obtains file control information from the backup FS module based on the data URL information and then sends the data URL information to the called terminal, which then downloads the message from the backup FS module based on the data URL information.
[0007] In one alternative approach, the primary region also includes a SIP access module. Before the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module based on the IP address, the process includes: the calling terminal sending registration information to the SIP access module; the SIP access module authenticating the calling terminal and then sending the registration information to the primary message AS module; the primary message AS module returning a registration response to the SIP access module; and the SIP access module returning a registration response to the calling terminal.
[0008] In one alternative approach, the calling terminal sends data URL information to the master message AS module, including: the calling terminal sending SIP MESSAGE signaling to the SIP access module, the SIP MESSAGE signaling including data URL information; the SIP access module forwarding the SIP MESSAGE signaling to the master message AS module; the master message AS module returning a response to the received SIP MESSAGE signaling to the SIP access module; and the SIP access module returning a response to the received SIP MESSAGE signaling to the calling terminal.
[0009] In one alternative approach, the data URL information includes media domain information.
[0010] In one alternative approach, the data URL information includes a unique file ID parameter constructed from at least one of the following: regional information, media source, media validity period, media domain information, and the INDEX algorithm. Specifically: the regional information is generated based on the network cloud data center's regional ID and city number; the media source is generated using different numbers for different sources such as terminal uploads, chatbot uploads, and inter-regional data retrieval; the media validity period is generated in years, months, days, hours, minutes, and seconds; the media domain information is generated based on the server number to which the media belongs; and the INDEX algorithm is generated using a 5-digit random code.
[0011] In one alternative approach, the message includes one of 5G SMS, 5G rich media messaging, or 5G IoT messaging.
[0012] In one optional approach, the backup region also includes a backup message AS module. The method further includes: when the primary message AS module fails, the calling terminal queries the IP address of the primary FS module from the DM configuration and uploads a message to the primary FS module based on the IP address; after the primary FS module completes the message reception, it generates data URL information and returns it to the calling terminal; the calling terminal sends the data URL information to the backup message AS module; the backup message AS module obtains file control information from the primary FS module based on the data URL information and then sends the data URL information to the called terminal, which then downloads the message from the primary FS module based on the data URL information.
[0013] According to another aspect of the present invention, a 5G messaging system is provided, comprising a calling terminal, a primary area, and a backup area. The primary area includes a primary messaging AS module and a primary FS module, and the backup area includes a backup FS module. When the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module based on the IP address. After receiving the message, the backup FS module generates a data URL and returns it to the calling terminal. The calling terminal sends the data URL to the primary messaging AS module. The primary messaging AS module obtains file control information from the backup FS module based on the data URL and then sends the data URL to the called terminal, which then downloads the message from the backup FS module based on the data URL.
[0014] According to another aspect of the present invention, a computer device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, which causes the processor to perform the operation of the 5G messaging system disaster recovery method as described above.
[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is executed on a computer device / apparatus, causes the computer device / apparatus to perform the operation of the 5G messaging system disaster recovery method as described above.
[0016] The 5G messaging system disaster recovery method of this invention constructs a backup region. When the DMZ resource pool in the primary region fails, causing the primary FS module of the primary region to become unavailable, the calling terminal can query the DNS to obtain the IP address of the backup FS module in the backup region and upload the message to the backup FS module. The backup FS module also generates dataurl information and returns it to the calling terminal. After the calling terminal sends the dataurl information to the primary message AS module in the primary region, the primary message AS module obtains file control information based on the dataurl information and then sends the dataurl information to the called terminal. The called terminal then downloads the message from the backup FS module based on the dataurl information. When the primary FS module fails and requires disaster recovery failover, it is not necessary to perform a coordinated failover of the primary message AS module; only the primary FS module needs to be failovered. Furthermore, the backup FS module can also be used to send and receive 5G messages when the primary FS module fails, ensuring the normal operation of 5G services and improving the user experience.
[0017] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0018] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0019] Figure 1 A flowchart illustrating the 5G messaging system disaster recovery method provided in the first embodiment of the present invention is shown.
[0020] Figure 2 A flowchart illustrating the 5G messaging system disaster recovery method provided in the second embodiment of the present invention is shown.
[0021] Figure 3 A schematic diagram of the structure of a 5G messaging system provided in an embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention is shown. Detailed Implementation
[0023] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0024] Figure 1A flowchart of the first embodiment of the 5G messaging system disaster recovery method of the present invention is shown. The method is executed by a computer device. It should be noted that the 5G messaging system disaster recovery method is applied to a 5G messaging system, which includes a calling terminal, a primary region, and a backup region. The primary region includes a primary messaging AS module and a primary FS module, and the backup region includes a backup FS module.
[0025] It should be noted that in this embodiment, the SIP access module refers to the unified entry point of the 5G messaging network. All SIP signaling messages initiated by and terminated at the 5G messaging terminal will pass through the SIP access module, which is responsible for user authentication, registration and access, and forwarding SIP messages to the user's home message AS module related to the access network.
[0026] The message AS module refers to the core module for 5G message sending and receiving processing, which is responsible for 5G message terminal registration, message submission and review, storage and forwarding, message retry, and message fallback logic processing.
[0027] The FS module refers to the key module for 5G message media upload and download processing, providing media upload authentication, media content upload, media content download, media validity period, and media content FTP upload review platform management. To meet business processing performance requirements, multiple FS servers are paired up to form a domain, with multiple domains providing media services externally.
[0028] like Figure 1 As shown, the method includes the following steps:
[0029] Step 101: When the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module according to the IP address.
[0030] Specifically, when the primary FS module of the primary region fails, the DMZ resource pool of the primary region becomes unavailable, and 5G messages cannot be uploaded to the primary FS module of the primary region. In this case, the backup FS module of the standby region is activated. It should be noted that in the 5G messaging system, the IP address of the backup FS module of the standby region needs to be pre-configured and stored in the DM configuration. The calling terminal can directly query the DM configuration to obtain the IP address of the backup FS module, thereby enabling the calling terminal to upload messages to the backup FS module.
[0031] It should be noted that in this embodiment, the message includes one of 5G SMS, 5G rich media message, and 5G IoT message. Preferably, the 5G messaging system disaster recovery method of this embodiment is mainly used in the sending and receiving process of 5G rich media messages. Rich media is not a form of internet media, but refers to an information dissemination method with animation, sound, video, and interactivity. Rich media includes sound, animation, and one or more of the forms of programming languages such as DHTML, Java, and Javascript, and can be applied to various network services, such as email, website design, BUTTON, banners, pop-up ads, etc. Rich media does not belong to a certain type of information, but it can empower information. For example, the 5G rich media message that is about to be commercially available is a type of rich media. It can simultaneously integrate multiple media forms such as text, images, voice, video, links, location, and files, and breaks the length limit of traditional SMS, allowing it to carry more information at the same time.
[0032] Furthermore, the primary area also includes a SIP access module. The SIP access module is mainly used for user authentication, registration, and forwarding SIP messages to the user's home message (AS) module. Before the calling terminal sends a message to the called terminal, the calling terminal needs to register with the AS module. Therefore, before step 101, the following steps are also included:
[0033] 1. The calling terminal sends registration information to the SIP access module.
[0034] 2. After authenticating the calling terminal, the SIP access module sends the registration information to the main message AS module.
[0035] 3. The main message AS module returns a registration response to the SIP access module.
[0036] 4. The SIP access module returns a registration response to the calling terminal.
[0037] Specifically, before the calling terminal sends a message to the called terminal, the calling terminal sends a registration message to the SIP access module to register, thereby completing the registration process of the calling terminal.
[0038] Step 102: After the backup FS module completes the message reception, it generates data URL information and returns it to the calling terminal.
[0039] Specifically, after receiving the information uploaded by the calling terminal, the backup FS module generates dataurl information based on the message and returns the dataurl information to the calling terminal.
[0040] Furthermore, the data URL information includes media domain information. By incorporating media domain information into the data URL, the media's region and domain information can be identified from the data URL.
[0041] In some embodiments, the data URL information includes a unique file ID parameter constructed from at least one of the following: regional information, media source, media validity period, media domain information, and the INDEX algorithm. It should be noted that this file ID parameter is unique, facilitating the retrieval of the corresponding message based on the data URL information. Wherein:
[0042] The regional information is generated based on the regional ID and city number of the network cloud data center. In this embodiment, a regional area refers to a region divided by a telecommunications company. For example, a mobile communication company divides 5G messaging into eight regions: Southeast China (Zhejiang, etc.), Northeast China (Jiangsu, etc.), South China (Guangdong, etc.), Central China (Henan, etc.), North China (Hebei, etc.), Northeast China (Heilongjiang, etc.), Southwest China (Sichuan, etc.), and Northwest China (Shaanxi, etc.).
[0043] Media sources are assigned different numbers based on their source, such as those uploaded from terminals, chatbots, or retrieved from inter-regional data sharing.
[0044] The validity period of the media is generated based on the current time in year, month, day, hour, minute, and second;
[0045] Media domain information is generated based on the server number to which the media belongs;
[0046] The INDEX algorithm generates a 5-digit random code.
[0047] Step 103: The calling terminal sends the data URL information to the main message AS module.
[0048] Specifically, after the calling terminal receives the dataurl information sent by the backup FS module, the calling terminal sends the dataurl information to the main message AS module, so that the main message AS module can perform operations such as message submission and sending based on the dataurl information.
[0049] Furthermore, step 103 specifically includes:
[0050] 1. The calling terminal sends a SIP MESSAGE signaling message to the SIP access module. The SIP MESSAGE signaling message includes dataurl information.
[0051] 2. The SIP access module forwards the SIP MESSAGE signaling to the master message AS module.
[0052] 3. The main message AS module returns a response to the SIP access module upon receiving the SIP MESSAGE signaling.
[0053] 4. The SIP access module will return the response of the received SIP MESSAGE signaling to the calling terminal.
[0054] Specifically, in the 5G messaging system, after receiving the dataurl information, the calling terminal generates a SIP MESSAGE signaling message based on the dataurl information, and then sends the SIP MESSAGE signaling message to the SIP access module. The SIP access module forwards the SIP MESSAGE signaling message to the master message AS module. After receiving the SIP MESSAGE signaling message, the master message AS module sends a response feedback to the SIP access module, and then the SIP access module sends the response feedback to the calling terminal.
[0055] Step 104: After the main message AS module obtains the file control information from the backup FS module based on the data url information, it sends the data url information to the called terminal, which then downloads the message from the backup FS module based on the data url information.
[0056] Specifically, after receiving the SIP MESSAGE signaling, the master message AS module identifies the domain server storing the message uploaded by the calling terminal based on the dataurl information in the SIP MESSAGE signaling. Then, it sends a request to the backup FS module to which the domain server storing the message belongs to obtain file control information. The backup FS module returns the file control information to the master message AS module. Finally, the master message AS module sends the dataurl information to the called terminal, and the called terminal downloads the message from the domain server corresponding to the backup region based on the dataurl information.
[0057] The 5G messaging system disaster recovery method of the first embodiment of the present invention constructs a backup region. When the DMZ resource pool in the primary region fails, causing the primary FS module of the primary region to become unavailable, the calling terminal can query the DNS to obtain the IP address of the backup FS module in the backup region and upload the message to the backup FS module. The backup FS module also generates dataurl information and returns it to the calling terminal. After the calling terminal sends the dataurl information to the primary message AS module of the primary region, the primary message AS module obtains file control information based on the dataurl information and then sends the dataurl information to the called terminal. The called terminal downloads the message from the backup FS module based on the dataurl information. When the primary FS module fails and disaster recovery switchover is required, it is not necessary to perform a coordinated switchover of the primary message AS module; only the disaster recovery switchover of the primary FS module is required. Furthermore, the backup FS module can also be used to send and receive 5G messages when the primary FS module fails, ensuring the normal operation of 5G services and improving the user experience.
[0058] Figure 2 A flowchart of a second embodiment of the 5G messaging system disaster recovery method of the present invention is shown, the method being executed by a computer device. Figure 2 As shown, the method includes the following steps:
[0059] Step 201: When the main message AS module fails, the calling terminal queries the IP address of the main FS module from the DM configuration and uploads the message to the main FS module according to the IP address.
[0060] Step 202: After the main FS module completes the message reception, it generates data URL information and returns it to the calling terminal.
[0061] Step 203: The calling terminal sends the data URL information to the backup message AS module.
[0062] Step 204: After the standby message AS module obtains the file control information from the main FS module based on the data URL information, it sends the data URL information to the called terminal, and the called terminal downloads the message from the main FS module based on the data URL information.
[0063] Specifically, in this embodiment, when the main message AS module fails while the main FS module is normal, the calling terminal can upload the message to the main FS module, and then send the dataurl information returned by the main FS module to the backup message AS module of the backup region. The backup message AS module then completes the subsequent operation of sending the message to the called terminal.
[0064] The 5G messaging system disaster recovery method of the second embodiment of the present invention enables the backup messaging AS module of the backup region to complete the message delivery to the called terminal when the main messaging AS module fails. Similarly, when the main messaging AS module fails and disaster recovery switchover is required, it does not require a linkage switchover of the main FS module, but only a disaster recovery switchover of the main messaging AS module. Furthermore, the backup messaging AS module can also be used to send and receive 5G messages when the main messaging AS module fails, ensuring the normal operation of 5G services and improving the user experience.
[0065] Figure 3 A schematic diagram of the structure of an embodiment of the 5G messaging system of the present invention is shown. Figure 3 As shown, the 5G messaging system 400 includes a calling terminal 401, a primary area 402, and a backup area 403. The primary area 402 includes a primary messaging AS module 4021 and a primary FS module 4022. The backup area 403 includes a backup FS module 4031.
[0066] When the primary FS module 4022 fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module according to the IP address.
[0067] After the backup FS module completes the message reception, it generates data URL information and returns it to the calling terminal;
[0068] The calling terminal sends data URL information to the main message AS module;
[0069] After the primary message AS module obtains file control information from the backup FS module based on the data URL information, it sends the data URL information to the called terminal, which then downloads the message from the backup FS module based on the data URL information.
[0070] Optionally, the primary region 402 also includes a SIP access module 4023. Before the calling terminal 401 queries the IP address of the backup FS module 4031 from the DM configuration and uploads a message to the backup FS module 4031 according to the IP address, the process includes: the calling terminal 401 sending registration information to the SIP access module 4023; after authenticating the calling terminal 401, the SIP access module 4023 sending the registration information to the primary message AS module 4021; the primary message AS module 4021 returning a registration response to the SIP access module 4023; and the SIP access module 4023 returning a registration response to the calling terminal 401.
[0071] Optionally, the calling terminal 401 sends data URL information to the master message AS module 4021, including: the calling terminal 401 sending SIP MESSAGE signaling to the SIP access module 4023, the SIP MESSAGE signaling including data URL information; the SIP access module 4023 forwarding the SIP MESSAGE signaling to the master message AS module 4021; the master message AS module 4021 returning a response to the received SIP MESSAGE signaling to the SIP access module 4023; and the SIP access module 4023 returning a response to the received SIP MESSAGE signaling to the calling terminal 401.
[0072] Optionally, the data URL information includes media domain information.
[0073] Optionally, the data URL information includes a unique file ID parameter constructed from at least one of the following: regional information, media source, media validity period, media domain information, and the INDEX algorithm. Specifically: the regional information is generated based on the network cloud data center's regional ID and city number; the media source uses different numbers for different sources such as terminal uploads, chatbot uploads, and inter-regional data retrieval; the media validity period is generated in years, months, days, hours, minutes, and seconds; the media domain information is generated based on the server number to which the media belongs; and the INDEX algorithm is generated using a 5-digit random code.
[0074] Optionally, the message includes one of 5G SMS, 5G rich media message, and 5G IoT message.
[0075] Optionally, the backup region 403 also includes a backup message AS module 4032, wherein: when the primary message AS module 4021 fails, the calling terminal 401 queries the IP address of the primary FS module 4022 from the DM configuration and uploads a message to the primary FS module 4022 according to the IP address; after the primary FS module 4022 completes the message reception, it generates data URL information and returns it to the calling terminal 401; the calling terminal 401 sends the data URL information to the backup message AS module 4032; the backup message AS module 4032 obtains file control information from the primary FS module 4022 according to the data URL information, and then sends the data URL information to the called terminal, which then downloads the message from the primary FS module 4022 according to the data URL information.
[0076] Figure 4 The diagram shows a structural schematic of an embodiment of the computer device of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the computer device.
[0077] like Figure 4As shown, the computer device may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508.
[0078] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508. Communication interface 504 is used to communicate with other network elements such as UEs or other servers. The processor 502 executes program 510, specifically performing the relevant steps described in the embodiment of the 5G messaging system disaster recovery method.
[0079] Specifically, program 510 may include program code, which includes computer-executable instructions.
[0080] Processor 502 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The computer device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0081] Memory 506 is used to store program 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0082] Specifically, program 510 can be called by processor 502 to cause the computer device to perform the following operations:
[0083] When the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module based on the IP address.
[0084] After the backup FS module completes the message reception, it generates data URL information and returns it to the calling terminal;
[0085] The calling terminal sends data URL information to the main message AS module;
[0086] After the primary message AS module obtains file control information from the backup FS module based on the data URL information, it sends the data URL information to the called terminal, which then downloads the message from the backup FS module based on the data URL information.
[0087] This invention provides a computer-readable storage medium storing at least one executable instruction that, when executed on a computer device, causes the computer device to perform the 5G messaging system disaster recovery method in any of the above method embodiments.
[0088] Executable instructions can be used to cause a computer device to perform the following operations:
[0089] When the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module based on the IP address.
[0090] After the backup FS module completes the message reception, it generates data URL information and returns it to the calling terminal;
[0091] The calling terminal sends data URL information to the main message AS module;
[0092] After the primary message AS module obtains file control information from the backup FS module based on the data URL information, it sends the data URL information to the called terminal, which then downloads the message from the backup FS module based on the data URL information.
[0093] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of the present invention are not directed to any particular programming language. It should be understood that the content of the invention described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing the best mode of implementation of the invention.
[0094] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0095] Similarly, it should be understood that, in order to simplify the invention and aid in understanding one or more of the various inventive aspects, features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.
[0096] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0097] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
[0098] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.
Claims
1. A disaster recovery method for a 5G messaging system, characterized in that, It is applied to a 5G messaging system, which includes a calling terminal, a primary area, and a backup area. The primary area includes a primary messaging AS module and a primary FS module, and the backup area includes a backup FS module. The method includes: When the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module according to the IP address. After receiving the message, the backup FS module generates data URL information and returns it to the calling terminal. The data URL information includes media ownership domain information and a unique file ID parameter constructed using at least one of the following: regional information, media source, media validity period, and the INDEX algorithm. The regional information is generated based on the network cloud data center's regional ID and city number. The media source is generated using different numbers based on different sources: terminal upload, chatbot upload, and inter-regional data retrieval. The media validity period is generated in years, months, days, hours, minutes, and seconds. The media ownership domain information is generated based on the server number to which the media belongs. The INDEX algorithm is generated using a 5-digit random code. The calling terminal sends the data URL information to the main message AS module; After obtaining file control information from the backup FS module based on the data url information, the main message AS module sends the data url information to the called terminal, and the called terminal downloads the message from the backup FS module based on the data url information.
2. The disaster recovery method for a 5G messaging system according to claim 1, characterized in that, The primary area also includes a SIP access module. Before the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module according to the IP address, the following steps are also included: The calling terminal sends registration information to the SIP access module; After authenticating the calling terminal, the SIP access module sends the registration information to the main message AS module. The main message AS module returns a registration response to the SIP access module; The SIP access module returns the registration response to the calling terminal.
3. The 5G messaging system disaster recovery method according to claim 2, characterized in that, The calling terminal sends the data URL information to the main message AS module, including: The calling terminal sends a SIP message to the SIP access module, and the SIP message includes the data URL information; The SIP access module forwards the SIP MESSAGE signaling to the master message AS module; The main message AS module returns a response to the SIP access module indicating that it has received the SIP MESSAGE signaling; The SIP access module returns the response to the received SIP MESSAGE signaling to the calling terminal.
4. The 5G messaging system disaster recovery method according to claim 1, characterized in that, The message includes one of the following: 5G SMS, 5G rich media message, and 5G IoT message.
5. The disaster recovery method for a 5G messaging system according to claim 1, characterized in that, The backup zone also includes a backup message AS module, and the method further includes: When the main message AS module fails, the calling terminal queries the IP address of the main FS module from the DM configuration and uploads a message to the main FS module according to the IP address; After receiving the message, the main FS module generates data URL information and returns it to the calling terminal. The calling terminal sends the data url information to the backup message AS module; After obtaining file control information from the main FS module based on the data URL information, the backup message AS module sends the data URL information to the called terminal, and the called terminal downloads the message from the main FS module based on the data URL information.
6. A 5G messaging system, characterized in that, It includes a calling terminal, a primary region, and a backup region. The primary region includes a primary message AS module and a primary message FS module. The backup region includes a backup message FS module, wherein: When the primary FS module fails, the calling terminal queries the IP address of the backup FS module from the DM configuration and uploads a message to the backup FS module according to the IP address. After receiving the message, the backup FS module generates data URL information and returns it to the calling terminal. The data URL information includes media ownership domain information and a unique file ID parameter constructed using at least one of the following: regional information, media source, media validity period, and the INDEX algorithm. The regional information is generated based on the network cloud data center's regional ID and city number. The media source is generated using different numbers based on different sources: terminal upload, chatbot upload, and inter-regional data retrieval. The media validity period is generated in years, months, days, hours, minutes, and seconds. The media ownership domain information is generated based on the server number to which the media belongs. The INDEX algorithm is generated using a 5-digit random code. The calling terminal sends the data URL information to the main message AS module; After obtaining file control information from the backup FS module based on the data url information, the main message AS module sends the data url information to the called terminal, and the called terminal downloads the message from the backup FS module based on the data url information.
7. A computer device, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the operation of the 5G messaging system disaster recovery method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The storage medium stores at least one executable instruction, which, when executed on a computer device, causes the computer device to perform the operation of the 5G messaging system disaster recovery method as described in any one of claims 1-5.