A method, apparatus, and network-side device for handling service anomalies.
By using the user plane function module of the network-side device to cache data packets in the edge computing environment and sending them to the target business service after the business data migration is completed, the problem of data packet loss caused by business service anomalies is solved, and the continuity of business and the integrity of data transmission are achieved.
Patent Information
- Application Number
- CN202310913011.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-07-25
AI Technical Summary
In an edge computing environment, when a service fails, data packets sent by the terminal may be lost, leading to service interruption.
The network-side device's user plane function module caches uplink data packets destined for the first service and sends them to the second service after the service data migration is complete, ensuring that the data packets are not lost.
In the event of business service anomalies, data packet loss was avoided, ensuring business continuity and the integrity of data transmission.
Smart Images

Figure CN116800842B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile communications, specifically to a method, apparatus, and network-side device for handling service anomalies. Background Technology
[0002] Edge computing, also known as edge processing, is a network technology that places servers near devices to help reduce system processing load and solve data transmission latency.
[0003] Business services deployed in an edge computing environment may be subject to business migration due to service anomalies. During the migration process, terminals that were previously accessing the business service will still send data packets according to the address of the business service. However, the business service will not provide services to the terminals at this time, which may result in data packet loss. Summary of the Invention
[0004] This application provides a method, apparatus, and network-side device for handling service anomalies, which can ensure that data packets sent by the terminal will not be lost in the event of service anomalies.
[0005] In a first aspect, embodiments of this application provide a method for handling service exceptions, the method comprising:
[0006] Receive a first message sent by the application server, which is triggered when migrating business data from the first business service to the second business service. The first message carries a data cache indication.
[0007] Based on the data caching instruction, at least one uplink data packet whose destination address information is the address information of the first service is cached by the user plane function module of the network side device;
[0008] Receive a second message sent by the application server, triggered after the migration of business data from the first business service to the second business service is completed, and the second message carries the address information of the second business service;
[0009] Based on the address information of the second service, the at least one uplink data packet is sent to the second service.
[0010] In one possible implementation, the second message also carries the association between the address information of the first service and the second service;
[0011] Sending the at least one uplink data packet to the second service based on the address information of the second service includes:
[0012] Based on the aforementioned association, the user plane function module modifies the destination address information of at least one uplink data packet to the address information of the second service, and sends the modified destination address information of at least one uplink data packet to the second service.
[0013] In one possible implementation, the first message also carries a preset migration time, which represents the time required for the first service to migrate service data to the second service.
[0014] Before the user plane function module of the network-side device buffers at least one uplink data packet whose destination address information is the address information of the first service, the method further includes:
[0015] The session management module of the network-side device determines the buffer space required for the at least one uplink data packet based on the product of the preset migration time and the maximum transmission rate of the network-side device.
[0016] The session function management module sends the data caching instruction and the cache space to the user plane function module.
[0017] In one possible implementation, sending the data caching indication and the cache space to the user plane function module via the session function management module includes:
[0018] A data caching indicator is added to the forwarding execution rule field corresponding to the session modification request sent from the session management function module to the user plane function module;
[0019] The session management module sends a session modification request, which includes the data cache indication and cache space, to the user plane module.
[0020] The session modification request is a message sent by the session management function module to the user plane function module as specified in the protocol.
[0021] In one possible implementation, after receiving the first message sent by the application server that is triggered when migrating business data from the first business service to the second business service, the method further includes:
[0022] If a first downlink data packet with the source address information being the first service address information is received, then the first downlink data packet is sent to the corresponding terminal according to the destination address information of the first downlink data packet.
[0023] In one possible implementation, the first message sent by the receiving application server, triggered when migrating business data from the first business service to the second business service, includes:
[0024] The network-side device receives a policy authentication update message indicating new data caching sent by the application server through its policy control function module.
[0025] The policy authentication update message is a message sent by the application server to the policy control function module as specified in the protocol.
[0026] In one possible implementation, the second message also carries the association between the address information of the first service and the second service;
[0027] After sending at least one uplink data packet with modified destination address information to the second service, the process further includes:
[0028] If a second downlink data packet with source address information of the second service is received, then based on the association, the source address information of the second downlink data packet is modified to the address information of the first service through the user plane function module;
[0029] The second downlink data packet is a data packet fed back by the second service based on the at least one uplink data packet.
[0030] Secondly, embodiments of this application provide a service exception handling apparatus, the apparatus comprising:
[0031] The first receiving module is used to receive a first message sent by the application server when migrating business data from the first business service to the second business service, which is triggered by the application server. The first message carries a data cache indication.
[0032] The caching module is used to cache at least one uplink data packet whose destination address information is the address information of the first service, based on the data caching instruction and through the user plane function module of the network-side device.
[0033] The second receiving module is used to receive a second message sent by the application server after the first business service has completed the migration of business data to the second business service. The second message carries the address information of the second business service.
[0034] The forwarding module is used to send the at least one uplink data packet to the second service based on the address information of the second service.
[0035] Thirdly, embodiments of this application provide a network-side device, the network-side device comprising:
[0036] The policy control function module is used to receive a cache instruction sent by the application server and send the cache instruction to the session management function module;
[0037] The session management function module is used to receive the cache indication sent by the policy control function module and send the cache indication to the user plane function module;
[0038] The user plane function module is used to receive the caching instruction sent by the session management function module, and to cache the received data packets based on the caching instruction.
[0039] Fourthly, embodiments of this application provide a computer storage medium storing a computer program for causing a computer to execute the method described in the first aspect.
[0040] This application provides a service exception handling method, apparatus, and network-side device. During the migration of service data from a first service to a second service, data packets sent by the terminal to the first service are cached to avoid data packet loss due to the inaccessibility of the first service. After the service data migration is completed, the application server also sends a second message to the network-side device so that the network-side device can send the cached data packets to the second service, thus ensuring service continuity.
[0041] Fifthly, embodiments of this application provide a service exception handling apparatus, the apparatus comprising:
[0042] The first receiving module is used to receive a first message sent by the application server when migrating business data from the first business service to the second business service, which is triggered by the application server. The first message carries a data cache indication.
[0043] The caching module is used to cache at least one uplink data packet whose destination address information is the address information of the first service, based on the data caching instruction and through the user plane function module of the network-side device.
[0044] The second receiving module is used to receive a second message sent by the application server after the first business service has completed the migration of business data to the second business service. The second message carries the address information of the second business service.
[0045] The forwarding module is used to send the at least one uplink data packet to the second service based on the address information of the second service.
[0046] Sixthly, embodiments of this application provide a network-side device, the network-side device comprising:
[0047] The policy control function module is used to receive a cache instruction sent by the application server and send the cache instruction to the session management function module;
[0048] The session management function module is used to receive the cache indication sent by the policy control function module and send the cache indication to the user plane function module;
[0049] The user plane function module is used to receive the caching instruction sent by the session management function module, and to cache the received data packets based on the caching instruction.
[0050] In a seventh aspect, embodiments of this application provide a computer storage medium storing a computer program for causing a computer to perform the method described in the first aspect.
[0051] This application provides a service exception handling method, apparatus, and network-side device. During the migration of service data from a first service to a second service, data packets sent by the terminal to the first service are cached to avoid data packet loss due to the inaccessibility of the first service. After the service data migration is completed, the application server also sends a second message to the network-side device so that the network-side device can send the cached data packets to the second service, thus ensuring service continuity. Attached Figure Description
[0052] Figure 1 This is a schematic diagram illustrating an application scenario of a service exception handling method according to an exemplary embodiment of the present invention.
[0053] Figure 2 This is a schematic diagram illustrating an existing service exception handling method as an example of an exemplary embodiment of the present invention;
[0054] Figure 3 A flowchart illustrating a service exception handling method according to an exemplary embodiment of the present invention;
[0055] Figure 4 This is a schematic diagram illustrating data transmission as an example of an exemplary embodiment of the present invention;
[0056] Figure 5 This is a schematic diagram illustrating a service exception handling method (during business data migration) according to an exemplary embodiment of the present invention.
[0057] Figure 6This is a schematic diagram illustrating a service exception handling method (completing business data migration) according to an exemplary embodiment of the present invention.
[0058] Figure 7 This is a schematic diagram of a service exception handling apparatus according to an exemplary embodiment of the present invention;
[0059] Figure 8 This is a schematic diagram of an electronic device as an example of an exemplary embodiment of the present invention. Detailed Implementation
[0060] The technical solutions in the embodiments of this application will now be described clearly and in detail with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0061] The following is a description of the technical terms used in the embodiments of this application:
[0062] Multi-access Edge (MAC) computing is a network architecture that provides network operators and service providers with a service environment that includes cloud computing capabilities and internet technology at the network edge. Its basic idea is to migrate the cloud computing platform from within the mobile core network to the edge of the mobile access network, enabling the elastic utilization of computing and storage resources.
[0063] Policy Control Function (PCF) module: A functional module in the 5G network architecture. In addition to the PCF module, the 5G network architecture also includes the User Plane Function (UPF) module, the Session Management Function (SMF) module, and the Access and Mobility Management Function module, etc.
[0064] Network Policy Coordination Function_Policy Authorization_Update (N5 message): A message sent by the application server to the PCF module as defined in the 3GPP protocol.
[0065] Network Policy Coordination Function_SMPolicyControl_UpdateNotify request (N7 message): A message sent by the PCF module to the SMF module as defined in the 3GPP protocol.
[0066] Session modification request (N4 message): A message sent by the SMF module to the UPF module as defined in the 3GPP protocol.
[0067] like Figure 1 The illustration shows an application scenario for a service exception handling method provided in this application embodiment. This application scenario includes: a server 101, a network 102, and at least one terminal (terminals 103_1, 103_2, and 103_3 shown in the figure). The server 101 includes a business service for providing services to the terminals, and an application server for managing and controlling the business services on the server. The server 101 transmits data packets with the terminals via the network 102. The terminals can request services from the business services on the server 101 through the network 102. The server can be a physical device or a cloud service, and the terminal can be a mobile phone, tablet computer, or other device that can communicate with the server via a wireless network. This application embodiment does not impose specific limitations.
[0068] like Figure 2 As shown, in the existing technology, in order to provide a better service experience for 5G MEC users, the server requests network policies based on IP 5-tuples for users through the capability open interface, which may include uplink classifier traffic splitting policies, quality of service policies, billing policies, etc.
[0069] When a business service becomes unavailable (e.g., the business service crashes), the application server instructs the crashed business service to initiate a new instance deployment, that is, the old business service migrates business data to the new business service.
[0070] During the data migration of services, users currently using 5G MEC services will still access the addresses of the old services, but the terminals will be unable to access the services, and the original network policies based on IP 5-tuples will also become invalid.
[0071] To address the aforementioned problems, embodiments of this application provide a method for handling service exceptions, such as... Figure 3 As shown, the method includes:
[0072] S301: Receive the first message sent by the application server when business data is migrated from the first business service to the second business service.
[0073] like Figure 4 As shown, when the first service in server 101 becomes unavailable (e.g., crashes or malfunctions), the application server in server 101 sends an instruction to the first service to migrate service data to the second service. During the service data migration process, the terminal may continue to send data packets to the first service, but the first service data can no longer provide services to the terminal. To prevent data packet loss, the application server sends a first message containing a data caching indication to the network-side device. The application server can periodically detect whether the service is malfunctioning, or the service can report its own malfunction and request service data migration; this embodiment does not impose specific limitations.
[0074] The network-side device includes a PCF module, an SMF module, and a UPF module. The first message arrives at the PCF module of the network-side device first, and then the PCF module transmits the first message to the SMF module and the UPF module.
[0075] The application server communicates with the PCF via N5 messages, specifically as follows:
[0076] Add a data cache indication message field to the N5 message and send the N5 message with the data cache indication to the PCF module. The N5 message is defined in the 3GPP protocol.
[0077] S302: Based on the data caching instruction, the user plane function module of the network-side device caches at least one uplink data packet whose destination address information is the address information of the first service.
[0078] Based on the implementation method in S301 above, after the PCF module receives the data buffering indication, it needs to send the buffering indication to the SMF module of the network-side device. Upon receiving the data buffering indication, the SMF module needs to further send it to the UPF module of the network-side device, such as... Figure 4 The transmission order is shown in the diagram. After receiving the data buffering instruction, if the network-side device receives an uplink data packet whose destination address information is the address information of the first service, the UPF module buffers at least one uplink data packet according to the data buffering instruction. Here, the uplink data packet refers to the data packet sent by the terminal to the server.
[0079] By caching uplink data packets as described above, the situation where the uplink data packet is dropped due to the unavailability of the first service and the inability to provide services to the terminal is avoided, thereby ensuring the continuity of services.
[0080] In one possible implementation, if during the service data migration process, the network-side device receives a downlink data packet sent by the first service before it becomes unavailable, i.e., the source address information of the downlink data packet is the first service server, then the UPF module sends the downlink data packet to the corresponding terminal according to the destination address information of the downlink data packet. Here, the downlink data packet represents the data packet sent by the service to the terminal.
[0081] S303: Receive a second message sent by the application server, triggered after the migration of business data from the first business service to the second business service is completed.
[0082] To continue providing services to the terminal, after the service data of the first service is migrated to the second service, the application server sends a second message containing the address information of the second service to the network-side device. This causes the network-side device to forward data packets accessing the first service to the second service. The transmission order of the second message in the network-side device is the same as that of the first message: PCF module-SMF module-UPF module, such as... Figure 4 The transmission order is shown.
[0083] In this embodiment of the application, a business service without a deployed instance can be selected as the second business service, or a business service with other instances deployed can be selected as the second business service. This embodiment of the application does not specifically limit the selection of the second business service.
[0084] S304: Based on the address information of the second service, send the at least one uplink data packet to the second service.
[0085] Once the network-side device receives the second message, it can determine that the service data migration has been completed, and the second service can continue to provide the terminal with the previous services.
[0086] Since there may be multiple data migration processes from old services to new services at server 101, in order for the network-side equipment to understand the new service corresponding to the old service, the second message, in addition to the address information of the second service, also contains the association between the address information of the first and second service. This facilitates the forwarding of uplink data packets originally intended for the first service to the second service. The transmission of data packets between the terminal and server 101 can rely on the UPF module of the network-side equipment.
[0087] When the primary service becomes unavailable, the application server will calculate the migration time based on the service data within that service. To prevent network-side devices from blindly caching data packets uploaded by terminals, the application server will also include this migration time in the first message sent to the PCF module of the network-side device. Alternatively, the migration time can be directly included in the N5 message sent to the PCF module.
[0088] Furthermore, the UPF module of the network-side device can cache uplink data packets whose destination address information is the first service during the migration time; the SMF module of the network-side device can determine the cache space required for the uplink data packets based on the product of the migration time and the maximum transmission rate of the network-side device, and then send the data cache instruction and cache space to the UPF module so that the UPF module can store the uplink data packets in the corresponding cache space according to the data cache instruction.
[0089] For example, if the maximum transmission rate of the network-side device is 1MB / s, and the migration time required for the service data of the first service to migrate to the second service is 20s, then the cache space is 20MB.
[0090] The SMF module sends the cache space and data cache indication to the UPF module in the N4 message. The N4 message is defined by the 3GPP protocol; the cache space can be directly carried in the N4 message; the specific method for carrying the data cache indication is as follows:
[0091] Add a data caching indicator to the forwarding execution rule field corresponding to the session modification request N4 message sent from the SMF module to the UPF module;
[0092] The SMF function module sends an N4 message containing the data cache indication to the UPF module.
[0093] The SMF module adds a data caching indication to the N4 message, specifically by adding a data caching indication to the Forwarding Action Rule (FAR) field.
[0094] To ensure that server 101 can continuously provide services to the terminal, after the service migration is completed and the application server sends the second message to the network-side device, this embodiment of the application further utilizes the association between the address information of the first service and the second service carried in the second message to modify the destination address information of at least one cached uplink data packet to the address information of the second service through the UPF module, and sends at least one uplink data packet with the modified destination address information to the second service.
[0095] Specifically, by updating the packet detection rule (PDR), the destination address information of the uplink data packet is updated to the address information of the second service and sent to the UPF module for execution. The specific implementation method of the SMF module using the N4 message to send the address information replacement instruction is as follows:
[0096] Add an action instruction to the FAR field of the N4 message to add address information, for example: modify the destination address information of at least one cached uplink data packet to the address information of the second service, wherein the address information of the first service and the address information of the second service are related.
[0097] In one possible implementation, after the service data migration is complete, the service server can also send a service recovery instruction to the network-side devices (PCF module-SMF module-UPF module) to enable the network-side devices to determine whether to send the cached data packets to the server, thereby ensuring service continuity. The service recovery instruction can be included in a second message or in a separate message; this embodiment does not impose specific limitations.
[0098] When the second service receives at least one cached uplink data packet transmitted from the UPF module, it can provide services to the terminal. Based on S302 above, since the destination address information of the uplink data packet sent by the terminal is the address information of the first service, in order to ensure that the terminal can recognize the data packet fed back by the server 101, after the UPF module receives the downlink data packet with the source address information of the second service, it modifies the source address information of the downlink data packet to the address information of the first service. The indication for replacing the source address of the downlink data packet can be added to the FAR indication field of the N4 message sent by the SMF module: "When the UPF module receives a data packet sent by the second service to the terminal, it replaces the source address information of the data packet with the address information of the first service."
[0099] When the UPF module receives a downlink data packet with the source address information of the second service, it can notify the SMF module, and then the SMF module sends an address replacement instruction to the UPF module; alternatively, the second service can notify the application server, and the application server can send the "instruction to replace address information" to the PCF module via the N5 message, and then the PCF module can send it to the SMF module via the N7 message, and then the SMF module can send it to the UPF module via the N4 message.
[0100] The following is based on Figure 5 This application provides a detailed description of a service exception handling method (during business data migration) provided in an embodiment of the present application.
[0101] 1. When the application server detects that the first business service is unavailable, the application server sends an instruction to the first business service to migrate the business data to the second business service.
[0102] 2. When the first business service starts migrating business data to the second business service, the application server sends an N5 message containing a data caching indication and a preset migration time to the PCF module;
[0103] 3. Upon receiving the N5 message, the PCF module sends an N7 message to the SMF module, which includes a data caching indication and a preset migration time.
[0104] 4. Based on the received N7 message, the SMF module sends an N4 message containing a data buffering indication and a buffer space to the UPF module, so that the UPF module buffers at least one uplink data packet whose destination address information is the address information of the first service into the corresponding buffer space. The buffer space is obtained by multiplying the preset migration time and the maximum transmission rate of the network-side device.
[0105] The following is based on Figure 6 This application provides a detailed description of a service exception handling method (business data migration completed) provided in an embodiment.
[0106] 1. After the first service completes the migration of business data to the second service, the application server sends an N5 message to the PCF module containing the address information of the second service and the association relationship between the address information of the first service and the second service.
[0107] 2. Based on receiving the N5 message, the PCF module sends an N7 message to the SMF module, which contains the address information of the second service and the association relationship between the address information of the first service and the second service.
[0108] 3. Based on receiving the N7 message, the SMF module sends an N4 message to the UPF module containing the address information of the second service and the association relationship between the address information of the first service and the second service, so that the UPF module modifies the destination address information of at least one uplink data packet whose destination address information is the address information of the first service to the address information of the second service.
[0109] Based on the same inventive concept, embodiments of this application also provide a service exception handling apparatus, such as... Figure 7 As shown, the device includes:
[0110] The first receiving module 701 is used to receive a first message sent by the application server when migrating business data from the first business service to the second business service, which is triggered by the application server. The first message carries a data cache indication.
[0111] The caching module 702 is used to cache at least one uplink data packet whose destination address information is the address information of the first service, based on the data caching instruction and through the user plane function module of the network side device.
[0112] The second receiving module 703 is used to receive a second message sent by the application server after the first business service has completed the migration of business data to the second business service. The second message carries the address information of the second business service.
[0113] The forwarding module 704 is used to send the at least one uplink data packet to the second service based on the address information of the second service.
[0114] In one possible implementation, the second message also carries the association between the address information of the first service and the second service;
[0115] The forwarding module 704 is used to modify the destination address information of the at least one uplink data packet to the address information of the second service through the user plane function module based on the association relationship, and send the at least one uplink data packet with the modified destination address information to the second service.
[0116] In one possible implementation, the first message also carries a preset migration time, which represents the time required for the first service to migrate service data to the second service.
[0117] The caching module 702 is used to determine the cache space required for the at least one uplink data packet by using the session management function module of the network-side device, based on the product of the preset migration time and the maximum transmission rate of the network-side device.
[0118] The session function management module sends the data caching instruction and the cache space to the user plane function module.
[0119] In one possible implementation, the caching module 702 is used to add a data caching indication to the forwarding execution rule field corresponding to the session modification request sent by the session management function module to the user plane function module.
[0120] The session management module sends a session modification request, which includes the data cache indication and cache space, to the user plane module.
[0121] The session modification request is a message sent by the session management function module to the user plane function module as specified in the protocol.
[0122] In one possible implementation, the first receiving module 701 is used to determine if a first downlink data packet with source address information as first service address information is received, and then send the first downlink data packet to the corresponding terminal according to the destination address information of the first downlink data packet.
[0123] In one possible implementation, the forwarding module 704 is used to receive a policy authentication update message indicating new data caching sent by the application server through the policy control function module of the network-side device.
[0124] The policy authentication update message is a message sent by the application server to the policy control function module as specified in the protocol.
[0125] In one possible implementation, the second message also carries the association between the address information of the first service and the second service;
[0126] The second receiving module 703 is used to modify the source address information of the second downlink data packet to the address information of the first service based on the association relationship by means of the user plane function module if a second downlink data packet with source address information being the address information of the second service is received.
[0127] The second downlink data packet is a data packet fed back by the second service based on the at least one uplink data packet.
[0128] Based on the same inventive concept, this application also provides a network-side device, which includes:
[0129] The policy control function module is used to receive a cache instruction sent by the application server and send the cache instruction to the session management function module;
[0130] The session management function module is used to receive the cache indication sent by the policy control function module and send the cache indication to the user plane function module;
[0131] The user plane function module is used to receive the caching instruction sent by the session management function module, and to cache the received data packets based on the caching instruction.
[0132] The network-side equipment can be a base station, but this application does not specifically limit it.
[0133] Based on the same inventive concept, this application also provides an electronic device, the device comprising:
[0134] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any service exception handling method provided in the embodiments of this application.
[0135] The following reference Figure 8 To describe an electronic device 130 according to this embodiment of the present application. Figure 8 The electronic device 130 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0136] like Figure 8 As shown, the electronic device 130 is presented in the form of a general-purpose electronic device. The components of the electronic device 130 may include, but are not limited to: at least one processor 131, at least one memory 132, and a bus 133 connecting different system components (including memory 132 and processor 131).
[0137] The processor 131 is used to read and execute instructions from the memory 132, so that the at least one processor can execute a service exception handling method provided in the above embodiments.
[0138] Bus 133 represents one or more of several bus structures, including a memory bus or memory controller, peripheral bus, processor, or local bus using any of the various bus structures.
[0139] The memory 132 may include a readable medium in the form of volatile memory, such as random access memory (RAM) 1321 and / or cache memory 1322, and may further include read-only memory (ROM) 1323.
[0140] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0141] Electronic device 130 can also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), and with one or more devices that enable a user to interact with electronic device 130, and / or with any device that enables electronic device 130 to communicate with one or more other electronic devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 135. Furthermore, electronic device 130 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 136. As shown, network adapter 136 communicates with other modules used in electronic device 130 via bus 133. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0142] In some possible implementations, various aspects of the service exception handling method provided in this application can also be implemented in the form of a program product, which includes program code that, when the program product is run on a computer device, causes the computer device to perform the steps of the service exception handling method according to the various exemplary embodiments of this application described above.
[0143] In addition, this application also provides a computer-readable storage medium storing a computer program for causing a computer to perform the method described in any of the above embodiments.
[0144] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0145] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0146] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0147] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for handling service exceptions, characterized in that, Applied to network-side devices, the method includes: The network-side device receives a first message from the application server triggered when migrating service data from the first service to the second service, sent by the policy control function module. The first message is then forwarded to the session management function module of the network-side device. The first message carries a data caching indication and a preset migration time. The session management module determines the cache space required for at least one uplink data packet whose destination address information is the address information of the first service based on the product of the preset migration time and the maximum transmission rate of the network-side device. The session modification request, which includes the data cache indication and the cache space, is sent to the user plane function module of the network-side device. The session modification request is a message sent by the session management module to the user plane function module as specified in the protocol. The forwarding execution rule field corresponding to the session modification request adds a data cache indication. Based on the data caching instruction and the caching space, the received at least one uplink data packet is cached through the user plane function module; Receive a second message sent by the application server, triggered after the migration of business data from the first business service to the second business service is completed, and the second message carries the address information of the second business service; Based on the address information of the second service, the at least one uplink data packet is sent to the second service.
2. The method according to claim 1, characterized in that, The second message also carries the association between the address information of the first service and the second service; Sending the at least one uplink data packet to the second service based on the address information of the second service includes: Based on the aforementioned association, the user plane function module modifies the destination address information of at least one uplink data packet to the address information of the second service, and sends the modified destination address information of at least one uplink data packet to the second service.
3. The method according to claim 1, characterized in that, After receiving the first message sent by the application server, triggered when migrating business data from the first business service to the second business service, the message further includes: If a first downlink data packet with the source address information being the first service address information is received, then the first downlink data packet is sent to the corresponding terminal according to the destination address information of the first downlink data packet.
4. The method according to claim 1, characterized in that, The first message sent by the application server, triggered when migrating business data from the first business service to the second business service, includes: The network-side device receives a policy authentication update message indicating new data caching sent by the application server through its policy control function module. The policy authentication update message is a message sent by the application server to the policy control function module as specified in the protocol.
5. The method according to claim 2, characterized in that, After sending at least one uplink data packet with modified destination address information to the second service, the process further includes: If a second downlink data packet with source address information of the second service is received, then based on the association, the source address information of the second downlink data packet is modified to the address information of the first service through the user plane function module; The second downlink data packet is a data packet fed back by the second service based on the at least one uplink data packet.
6. A service exception handling device, characterized in that, The device includes: The first receiving module is used to receive a first message sent by the application server when migrating service data from the start of the first service to the second service through the policy control function module of the network side device, and forward the first message to the session management function module of the network side device. The first message carries a data cache indication and the preset migration time. The caching module is used to determine, through the session management function module, the cache space required for at least one uplink data packet whose destination address information is the address information of the first service, based on the product of the preset migration time and the maximum transmission rate of the network-side device, and to send a session modification request containing the data cache indication and the cache space to the user plane function module of the network-side device. Based on the data cache indication and the cache space, the user plane function module caches the received at least one uplink data packet. The session modification request is a message sent by the session management function module to the user plane function module as specified in the protocol. The forwarding execution rule field corresponding to the session modification request adds a data cache indication. The second receiving module is used to receive a second message sent by the application server after the first business service has completed the migration of business data to the second business service. The second message carries the address information of the second business service. The forwarding module is used to send the at least one uplink data packet to the second service based on the address information of the second service.
7. A network-side device, characterized in that, The network-side device includes: The policy control function module is used to receive the first message sent by the application server and send the first message to the session management function module. The first message carries a data caching indication and a preset migration time. The session management function module is used to receive the first message sent by the policy control function module, and determine the cache space required for at least one uplink data packet whose destination address information is the address information of the first service based on the product of the preset migration time and the maximum transmission rate of the network-side device. The session management function module sends a session modification request containing the data cache indication and the cache space to the user plane function module. The session modification request is a message sent by the session management function module to the user plane function module as specified in the protocol. The forwarding execution rule field corresponding to the session modification request adds a data cache indication. The user plane function module is used to receive the cache instruction and the cache space sent by the session management function module, and cache the received data packets based on the cache instruction and the cache space.
8. A computer storage medium, characterized in that, The computer storage medium stores a computer program that enables the computer to perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Data transmission method, terminal and network side device
CN108377580A
Server discovery method and related equipment
CN112583880A