Data processing methods, electronic device, storage medium, and program product
By broadcasting a status request message from the first UP device to the second UP device to obtain the connection status, the network instability problem when vBRAS-CP and vBRAS-UP lose connection is resolved, targeted user data processing is achieved, and network stability and user experience are improved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2025-12-26
- Publication Date
- 2026-07-09
AI Technical Summary
When vBRAS-CP and vBRAS-UP lose connection, existing technologies cannot accurately determine the cause of the failure, causing the UP device's services to be unable to continue operating, affecting network stability and user experience.
The first UP device broadcasts a status request message to the second UP device to obtain its connection status with the CP device. Based on the feedback, it processes user data to provide backup protection and ensure network stability.
By sensing network conditions, user data can be accurately processed, reducing the impact of network anomalies on users and improving the network user experience.
Smart Images

Figure CN2025146033_09072026_PF_FP_ABST
Abstract
Description
Data processing methods, electronic devices, storage media and software products
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411992540.2, filed on December 30, 2024, the contents of which are incorporated herein by reference in their entirety. Technical Field
[0003] This disclosure relates to the field of communication technology, and in particular to data processing methods, electronic devices, storage media, and program products. Background Technology
[0004] The control-switching separated vBRAS (Virtual Broadband Remote Access Server) device includes vBRAS-CP (vBRAS-Control Plane) and vBRAS-UP (vBRAS-User Plane). vBRAS-CP and vBRAS-UP can communicate with each other through the control plane interface protocol.
[0005] Currently, when a UP (User Plane) device fails, a CP (Control Plane) device is typically used for pool backup, meaning the CP device instructs all services on the failed UP device to be switched over. However, in some cases, the CP device and the UP device lose communication, causing the services on the failed UP device to cease operation. Summary of the Invention
[0006] This disclosure provides a data processing method, an electronic device, a computer-readable storage medium, and a computer program product.
[0007] In a first aspect, embodiments of this disclosure provide a data processing method executed by a first user plane (UP) device, comprising: in response to the first UP device disconnecting from a control plane (CP) device, broadcasting a status request message to a second UP device, wherein the status request message instructs the second UP device to provide feedback on the connection status between the second UP device and the CP device, and the second UP device provides backup protection for the first UP device; and processing user data managed by the first UP device based on the connection status provided by the second UP device in response to the status request message.
[0008] Secondly, this disclosure provides a data processing method executed by a second UP device, comprising: responding to receiving a status request message sent by a first UP device, feeding back the connection status between the second UP device and the CP device to the first UP device, wherein the status request message is sent by the first UP device in response to the first UP device disconnecting from the CP device, and the second UP device provides backup protection for the first UP device.
[0009] Thirdly, embodiments of this disclosure provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor causes the processor to implement the data processing method of the first or second aspect.
[0010] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, wherein when executed by a processor, the computer program causes the processor to implement the data processing method of the first or second aspect.
[0011] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, causes the processor to implement the data processing method of the first or second aspect.
[0012] In this embodiment of the disclosure, a first UP device that has disconnected from the CP device broadcasts a status request message to a second UP device to obtain the connection status between the second UP device and the CP device. Based on the connection status between the second UP device and the CP device, the user data managed by the first UP device is processed in a targeted manner, thereby improving network stability and enhancing the user's network experience. Attached Figure Description
[0013] Figure 1 is a schematic flowchart of a data processing method provided in an embodiment of this disclosure.
[0014] Figure 2 is a schematic flowchart of a data processing method provided in an embodiment of this disclosure.
[0015] Figure 3 is a flowchart illustrating the data processing method provided in this embodiment when the connection between the second UP device and the CP device is normal.
[0016] Figure 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.
[0017] Figure 5 is a schematic diagram of an exemplary device connection state provided by an embodiment of this disclosure.
[0018] Figure 6 is a schematic diagram of an exemplary device connection state provided by an embodiment of this disclosure.
[0019] Figure 7 is a schematic diagram of an exemplary device connection state provided by an embodiment of this disclosure. Detailed Implementation
[0020] To enable those skilled in the art to better understand the technical solutions of this disclosure, the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0021] This disclosure will be described more fully below with reference to the accompanying drawings; however, the described embodiments may be implemented in different forms, and this disclosure should not be construed as limited to the embodiments set forth below. These embodiments are described so that this disclosure will be thorough and complete, and that those skilled in the art will fully understand its scope.
[0022] The accompanying drawings are provided to further illustrate embodiments of the present disclosure and form part of the specification. They are used together with the embodiments to explain the present disclosure and do not constitute a limitation thereof. The features and advantages of the embodiments of the present disclosure will become more apparent to those skilled in the art through the description of the embodiments with reference to the accompanying drawings.
[0023] This disclosure can be described with reference to the ideal schematic diagrams of this disclosure, specifically plan views and / or cross-sectional views. Therefore, the example illustrations can be modified according to manufacturing techniques and / or tolerances.
[0024] Where there is no conflict, the various embodiments of this disclosure and the features thereof in the embodiments may be combined with each other.
[0025] The terminology used in this disclosure is for describing particular embodiments only and is not intended to limit the disclosure. The term "and / or" or its equivalent as used in this disclosure includes any and all combinations of one or more of the associated enumerated items. The singular form "a" or its equivalent as used in this disclosure is intended to include the plural form unless the context clearly indicates otherwise. The terms "comprising," "made of," or their equivalents as used in this disclosure specify the presence of a corresponding feature, integral, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or combinations thereof.
[0026] Unless otherwise specified, all terms used in this disclosure (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It should also be understood that terms defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined in this disclosure.
[0027] This disclosure is not limited to the embodiments shown in the accompanying drawings, but includes modifications to the configuration based on manufacturing processes. Therefore, the areas illustrated in the drawings are schematic, and the shapes of the areas shown illustrate specific shapes of the areas of an element, but are not limiting.
[0028] In some related technologies, when a UP device fails, a CP device is used to perform pool backup for the failed UP device. That is, the CP device instructs all services in the failed UP device to be switched over. After the failed UP device recovers, it instructs the services to be switched back. However, there may be situations where the CP device cannot correctly instruct the failed UP device to switch over the services.
[0029] Furthermore, in the current network environment, when a UP device loses connection with a CP device, the disconnected UP device cannot determine the current network situation (e.g., whether the loss of connection with other devices is due to a UP device malfunction or a CP device malfunction). Therefore, it cannot take targeted protection measures for the managed user data based on the current network situation. If, in the case of a UP device losing connection with a CP device, the current network situation is uniformly assumed to be due to a UP device malfunction, then misjudgment may lead to improper processing of user data.
[0030] In a first aspect, embodiments of this disclosure provide a data processing method executed by a first user plane (UP) device. Referring to FIG1, the data processing method includes the following steps S11 to S12.
[0031] In step S11, in response to the first UP device disconnecting from the control plane (CP) device, a status request message is broadcast to the second UP device. The status request message instructs the second UP device to provide feedback on the connection status between the second UP device and the CP device. The second UP device is able to provide backup protection for the first UP device.
[0032] In step S12, the user data managed by the first UP device is processed based on the feedback from the second UP device to the status request message.
[0033] The second UP device is a device directly or indirectly connected to the first UP device and can provide backup protection for the first UP device. In some implementations, the first UP device and the second UP device are mutually redundant backup UP devices. Mutual redundancy backup means that there is a mutual redundancy backup relationship between multiple UP devices. This not only maintains the reliability of the network in the event of a single point of failure of a UP device, but also allows for rapid takeover of the user data managed by one UP device in the event of an malfunction, so as to avoid service interruption.
[0034] The connection status between the second UP device and the CP device reflects whether the second UP device can connect normally with the CP device, i.e., it reflects the connection reliability. In some embodiments, when the connection status reflects that the second UP device and the CP device are normally connected, the connection status can also reflect the quality of the connection between the second UP device and the CP device.
[0035] In this embodiment, the first UP device, which has disconnected from the CP device, broadcasts a status request message to the second UP device, instructing the second UP device to provide feedback on the connection status between the second UP device and the CP device. Based on the feedback from the second UP device, the current network topology among the first UP device, the second UP device, and the CP device can be perceived. It can even indirectly determine the reason for the disconnection between the first UP device and the CP device, thereby enabling targeted processing of the user data managed by the first UP device, improving network stability, and enhancing the user's network experience.
[0036] In some implementations, the disconnection of the first UP device from the CP device may include: the first UP device sensing that it has disconnected from the CP device, or the first UP device failing to receive a keep-alive message from the CP device for a period of time. This disclosure does not impose special limitations on the method for determining whether the first UP device has disconnected from the CP device; other methods may also be used to determine this disconnection.
[0037] In some implementations, multiple CP devices are connected to the first UP device, and these multiple CP devices can provide backup protection for each other. For example, CP1 and CP2 adopt a dual-machine hot standby networking mode, that is, a networking mode in which a UP device is connected to both CP1 and CP2 at the same time, thereby avoiding the impact of a single point of failure of the CP device on the stability and reliability of the network.
[0038] In some implementations, when there are multiple CP devices, the first UP device broadcasts a status request message to the second UP device in response to the first UP device disconnecting from all CP devices.
[0039] In some implementations, the status request message carries an identifier for instructing the second UP device to report the connection status between the second UP device and the CP device, so that the second UP device reports the connection status between the second UP device and the CP device to the first UP device based on the identifier in the status request message.
[0040] In some implementations, step S12 includes: in response to receiving a connection status feedback from the second UP device in response to a status request message, and the connection status being abnormal, maintaining the forwarding status of the user data.
[0041] Specifically, the first UP device can receive the connection status feedback from the second UP device in response to the status request message, indicating that the connection between the first and second UP devices is not broken. However, if the received connection status is abnormal, it indicates that the second UP device has also broken connection with the CP device. Therefore, the current network topology among the first UP device, the second UP device, and the CP device can be determined as: the CP device has failed. Thus, the first UP device maintains the user data forwarding state, i.e., the first UP device enters a managed state. In the managed state, the first UP device temporarily maintains the keep-alive state of the user data and its corresponding users, and does not actively disconnect from the users corresponding to the managed user data. If a forwarding action is required for the user data, it can continue to forward the user data so that the user connection can be restored promptly when the CP device recovers.
[0042] In some implementations, when there are multiple second UP devices, the first UP device maintains the forwarding status of the user data in response to receiving the connection status feedback from each second UP device in response to the status request message, and each received connection status is abnormal.
[0043] It is worth noting that in some implementations, if a new user intends to connect online through the first UP device in a managed state, the first UP device will temporarily allow its access.
[0044] In some implementations, the first UP device receives connection statuses that are abnormal for a preset time period after broadcasting the status request message, thus maintaining the forwarding status of user data.
[0045] In some implementations, step S12 includes: in response to receiving a connection status feedback from the second UP device in response to a status request message, and at least part of the connection status is normal, selecting a target second UP device from the second UP devices with normal connection status feedback, and migrating the user data to the target second UP device so that the target second UP device manages the user data.
[0046] Specifically, the first UP device can receive connection status feedback from the second UP device in response to the status request message, indicating that the connection between the first UP device and the second UP device is not broken. At least one second UP device reports a normal connection status, indicating that at least one second UP device can connect normally to the CP device. Therefore, the current network configuration among the first UP device, the second UP device, and the CP device can be determined as follows: the CP device can operate normally, at least one second UP device is not broken between it and the CP device, and the first UP device is disconnected from the CP device. Thus, the first UP device selects a target second UP device from the second UP devices with normal connection status feedback to trigger backup protection of the user data managed by the first UP device. If only one second UP device reports a normal connection status, that second UP device is determined as the target second UP device. If multiple second UP devices report a normal connection status feedback, the target second UP device can be selected from these multiple second UP devices according to a preset selection strategy. In some embodiments, the preset selection strategy may be to select the second UP device with the smallest transmission delay to the first UP device, or to select the second UP device with the largest bandwidth among the multiple second UP devices with normal connection status feedback. This disclosure is not limited to these methods.
[0047] In some implementations, after the first UP device migrates the user data it manages to the target second UP device, the data processing method further includes: the first UP device deleting the user data stored locally.
[0048] It is worth noting that, in the current network configuration where the CP device is operating normally, at least one second UP device remains connected to the CP device, and the first UP device is disconnected from the CP device, the CP device can still, upon detecting the disconnection from the first UP device, notify the first UP device to migrate the user data it manages to the corresponding second UP device. Since the CP device is disconnected from the first UP device, it can forward a user handover command to the first UP device through other UP devices that remain connected to it. This allows the first UP device to migrate the user data to the second UP device specified in the user handover command. The user handover command instructs the first UP device to migrate the user data to the designated second UP device.
[0049] In some implementations, the CP device sensing that the first UP device has disconnected includes: sensing whether the first UP device has disconnected based on the connection status of the UP devices maintained by the CP device. This disclosure does not impose any special restrictions on the storage format of the connection status of the UP devices maintained by the CP device; a status table can be used to record the connection status between each UP device and the CP device in real time.
[0050] In some implementations, step S12 includes: in response to not receiving a connection status feedback from the second UP device in response to the status request message within a first preset time period after broadcasting the status request message, waiting for a second preset time period and then deleting the user data.
[0051] Specifically, if the first UP device fails to receive a connection status response from the second UP device within a first preset time period after broadcasting the status request message, it indicates that the connection between the first UP device and the second UP device is also broken. Therefore, the connection status between the second UP device and the CP device cannot be determined. Thus, the current network configuration of the first UP device, the second UP device, and the CP device can be defined as follows: the first UP device is disconnected from both the second UP device and the CP device. In this network configuration, the first UP device can be described as being in an isolated state. Being in an isolated state, the first UP device is completely disconnected from other UP devices and the CP device, therefore, it is impossible to back up the user data managed by the first UP device through the second UP device, which can provide backup protection for the first UP device.
[0052] After waiting for a second preset time period, the first UP device deletes the user data stored locally. Maintaining user data during the time period corresponding to the second preset time period can prevent misjudgments caused by network stability issues, such as link jitter between the first UP device and the second UP device.
[0053] In some implementations, after the first UP device deletes the locally stored user data, the data processing method further includes: the first UP device placing itself into an unavailable state, that is, actively disconnecting from the users corresponding to the user data it manages. These users who have disconnected from the first UP device can try to reconnect through other UP devices.
[0054] In the embodiments described above, the current network topology among the first UP device, the second UP device, and the CP device can be determined through the feedback from the second UP device to the status request message. The feedback from the second UP device to the status request message is not limited to whether it receives feedback on the connection status between the second UP device and the CP device; it may also include whether the connection status reported by the second UP device is normal. Based on the interaction between the status request message and the connection status feedback message, the first UP device can accurately determine its current network status, thereby selectively processing the user data it manages to ensure that as few users as possible are affected by network anomalies and improve the user's network experience.
[0055] Secondly, this disclosure provides a data processing method executed by a second UP device. Referring to FIG2, the data processing method includes step S21.
[0056] In step S21, in response to receiving a status request message sent by the first UP device, the second UP device is fed back to the first UP device with the connection status between the second UP device and the CP device. The status request message is sent by the first UP device in response to the first UP device disconnecting from the CP device. The second UP device can provide backup protection for the first UP device.
[0057] The second UP device is a device directly or indirectly connected to the first UP device and can provide backup protection for the first UP device. In some implementations, the first UP device and the second UP device are mutually redundant backup UP devices. Mutual redundancy backup means that there is a mutual redundancy backup relationship between multiple UP devices. This not only maintains the reliability of the network in the event of a single point of failure of a UP device, but also allows for rapid takeover of the user data managed by one UP device in the event of an malfunction, so as to avoid service interruption.
[0058] The connection status between the second UP device and the CP device reflects whether the second UP device can connect normally with the CP device, i.e., it reflects the connection reliability. In some embodiments, when the connection status reflects that the second UP device and the CP device are normally connected, the connection status can also reflect the quality of the connection between the second UP device and the CP device.
[0059] In this embodiment, the second UP device receives a status request message sent by the first UP device. Based on the status request message, the second UP device reports back to the first UP device the connection status between itself and the CP device. This allows the first UP device to perceive the current network configuration between itself, the second UP device, and the CP device based on the feedback from the second UP device. Consequently, the first UP device can perform targeted processing on the user data it manages, thereby improving network stability and enhancing the user's network experience.
[0060] In some implementations, when there are multiple CP devices, when the second UP device is disconnected from all CP devices, the connection status between the second UP device and the CP devices reported to the first UP device is abnormal; when the second UP device is connected to at least one CP device, the connection status between the second UP device and the CP devices reported to the first UP device is normal.
[0061] In some implementations, the status request message carries an identifier for instructing the second UP device to report the connection status between the second UP device and the CP device. The second UP device can report the connection status to the first UP device based on the identifier in the status request message.
[0062] In some implementations, prior to step S21, the data processing method further includes: sending a keep-alive signal to the CP device, and determining the connection status between the second UP device and the CP device based on the response of the CP device to the keep-alive signal; or, querying pre-stored connection status information to obtain the connection status between the second UP device and the CP device.
[0063] Specifically, by sending a keep-alive signal to the CP device, the connection status is determined based on the CP device's response to the keep-alive signal, thus determining whether the CP device is connected to the second UP device. In some implementations, if the second UP device fails to receive a keep-alive response signal from the CP device within a third preset time period after sending the keep-alive signal, the connection status between the second UP device and the CP device can be determined to be abnormal.
[0064] The connection status can also be obtained through pre-stored connection status information between the second UP device and the CP device. In some implementations, the pre-stored connection status information is maintained periodically by the second UP device, that is, the second UP device can periodically send a keep-alive signal to the CP device to determine and record the connection status between the second UP device and the CP device.
[0065] In some embodiments, referring to FIG3, when the connection status between the second UP device and the CP device is normal, after step S21, the data processing method further includes the following steps S22 to S23.
[0066] In step S22, user data sent by the first UP device is received.
[0067] In step S23, the user data is managed.
[0068] Specifically, if the connection status feedback from the second UP device to the first UP device is received by the first UP device, and this connection status indicates a normal connection between the second UP device and the CP device, the first UP device can perceive the current network topology among itself, the second UP device, and the CP device as follows: the CP device is operating normally, the second UP device is not disconnected from the CP device, and the first UP device is disconnected from the CP device. Therefore, when the second UP device is used by the first UP device as a target for backing up user data, it will receive the user data migrated by the first UP device. The second UP device can continue to manage user data to avoid interruption of user services.
[0069] In some implementations, after step S22, the data processing method further includes sending an authentication request to the CP device, the authentication request being used to verify the user data.
[0070] Specifically, after receiving user data sent by the first UP device, the second UP device authenticates the users corresponding to this user data to verify whether the users are legitimate.
[0071] In the above embodiments of this disclosure, after receiving the status request message, the second UP device reports the connection status between the second UP device and the CP device to the first UP device. This can help the first UP device perceive the current network situation between the first UP device, the second UP device, and the CP device, thereby enabling the first UP device to process the user data it manages in a targeted manner, so as to ensure that as few users as possible are affected by the disconnection between the first UP device and the CP device, and improve the user's network experience.
[0072] Thirdly, this disclosure provides an electronic device, as shown in FIG4, including a memory 402 and a processor 401. The memory 402 stores a computer program, and when the computer program is executed by the processor 401, the processor 401 causes the processor 401 to implement the data processing method of the first aspect or the second aspect.
[0073] The processor 401 and the memory 402 can be connected through one or more I / O interfaces 403, which are configured to enable information exchange between the processor 401 and the memory 402.
[0074] Processor 401 is a device with data processing capabilities, including but not limited to a central processing unit (CPU). Memory 402 is a device with data storage capabilities, including but not limited to random access memory (RAM, such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH). I / O interface (read / write interface) 403 is connected between processor 401 and memory 402, enabling information exchange between processor 401 and memory 402, including but not limited to a data bus.
[0075] It should be noted that all implementations of the data processing method described in the embodiments of this disclosure are applicable to the electronic devices described in the embodiments of this disclosure.
[0076] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor causes the processor to implement the data processing method of the first or second aspect.
[0077] It should be noted that all implementations of the data processing method described in the embodiments of this disclosure are applicable to the computer-readable storage medium described in the embodiments of this disclosure.
[0078] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program, which, when executed by a processor, causes the processor to implement the data processing method of the first or second aspect.
[0079] It should be noted that all implementations of the data processing method described in the embodiments of this disclosure are applicable to the computer program products described in the embodiments of this disclosure.
[0080] To enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of this disclosure, the technical solutions provided by the embodiments of this disclosure will be described in detail below through specific examples.
[0081] Example 1
[0082] As a specific embodiment of this disclosure, referring to FIG5, the first control plane device CP1 and the second control plane device CP2 adopt a dual-machine hot standby networking mode. The first user plane device pUP1 and the second user plane device pUP2 are UP devices that are pooled and backed up by each other. The third user plane device pUP3 cannot back up the data managed by pUP1 and pUP2. Each pUP device is connected to the CP device through one or more leaf nodes, for example, the leaf nodes are DC-Leaf (Data Center Leaf) and S-Leaf (Spine Leaf).
[0083] When pUP1 and pUP2 maintain a connection (i.e., are not disconnected), and both pUP1 and pUP2 disconnect from CP1 and CP2, pUP1, in response to disconnecting from both CP1 and CP2, broadcasts a status request message to pUP2. The status request message instructs pUP2 to provide feedback on its connection status with CP1 and CP2.
[0084] Since pUP2 is not disconnected from pUP1, pUP2 can receive the status request message broadcast by pUP1 and send keep-alive signals to CP1 and CP2 respectively based on the status request message. However, since pUP2 is disconnected from both CP1 and CP2, CP1 and CP2 cannot receive the keep-alive signal from pUP2 and cannot respond accordingly. After sending the keep-alive signal, pUP2 does not receive a response for a period of time, confirming that its connection status with CP1 and CP2 is abnormal, and reports the abnormal connection status between pUP2 and CP1 and CP2 back to pUP1.
[0085] If pUP1 receives only connection status feedback from pUP2 within a certain period of time, and this connection status is abnormal, the current network topology can be determined as follows: CP1 and CP2 are faulty. In this case, pUP1 enters managed state. In managed state, pUP1 maintains the keep-alive status of user data and its corresponding users, and does not actively disconnect from the users corresponding to the user data it manages.
[0086] In this example, pUP1 can sense the current network status and process user data accordingly. When pUP1 loses connection with both CP1 and CP2 due to CP1 and CP2 failures, it does not actively disconnect the connection with the users corresponding to the user data it manages. It can restore user connections in a timely manner after CP1 and CP2 recover.
[0087] Example 2
[0088] As a specific embodiment of this disclosure, referring to FIG6, CP1 and CP2 adopt a dual-machine hot standby networking mode. pUP1 and pUP2 are UP devices that serve as pool backups for each other. pUP3 cannot back up the data managed by pUP1 and pUP2. Each pUP device is connected to the CP device through one or more leaf nodes.
[0089] When pUP1 and pUP2 maintain a connection (i.e., are not disconnected), when pUP1 disconnects from CP1 and CP2, and when pUP2 does not disconnect from CP1 and CP2, pUP1, in response to disconnecting from both CP1 and CP2, broadcasts a status request message to pUP2. The status request message instructs pUP2 to provide feedback on its connection status with CP1 and CP2.
[0090] Since pUP2 is not disconnected from pUP1, pUP2 can receive the status request message broadcast by pUP1 and send keep-alive signals to CP1 and CP2 respectively based on the status request message. Because pUP2 is not disconnected from CP1 and CP2, CP1 and CP2 can receive the keep-alive signals from pUP2 and respond. pUP2 confirms that its connection status with CP1 and CP2 is normal and reports back to pUP1 that its connection status with CP1 and CP2 is normal.
[0091] When pUP1 receives connection status feedback from at least one user plane device (i.e., pUP2) within a certain period of time, and the connection status is normal, the current network topology can be determined as follows: CP1 and CP2 are operating normally, pUP2 is not disconnected from CP1 and CP2, and pUP1 is disconnected from CP1 and CP2. Since only one user plane device (i.e., pUP2) has reported a normal connection status, pUP2 is selected as the target pUP2 for backing up user data. pUP1 migrates the user data it manages to pUP2 and deletes the user data stored locally. Users can continue to use pUP2 to forward services.
[0092] In this example, pUP1 can sense the current network topology and process user data accordingly. When pUP1 disconnects from CP1 and CP2 but pUP2 does not disconnect from CP1 and CP2, pUP2 is triggered to provide pool backup protection for pUP1, so that users can continue to use pUP2 to forward services. This ensures that as few users as possible are affected by the disconnection between pUP1 and CP devices, thus improving the user's network experience.
[0093] Example 3
[0094] As a specific embodiment of this disclosure, referring to FIG7, CP1 and CP2 adopt a dual-machine hot standby networking mode. pUP1 and pUP2 are UP devices that serve as pool backups for each other. pUP3 cannot back up the data managed by pUP1 and pUP2. Each pUP device is connected to the CP device through one or more leaf nodes.
[0095] When pUP1 and pUP2 disconnect, pUP1 disconnects from CP1 and CP2, and pUP2 does not disconnect from CP1 and CP2, pUP1, in response to disconnecting from both CP1 and CP2, broadcasts a status request message to pUP2. The status request message instructs pUP2 to provide feedback on its connection status with CP1 and CP2.
[0096] Because pUP2 is disconnected from pUP1, pUP2 cannot receive the status request messages broadcast by pUP1, nor can it provide feedback on its connection status with CP1 and CP2.
[0097] When pUP1 does not receive connection status feedback from any of its backup UP devices (e.g., pUP2) for a period of time, the current network topology can be determined as follows: pUP1 is disconnected from all other UP and CP devices, i.e., pUP1 is in an isolated state. Because pUP1 is completely disconnected from other devices while in an isolated state, it cannot migrate and back up the user data it manages. After a period of time, pUP1 deletes the locally stored user data. Users disconnected from pUP1 can try to reconnect through other UP devices.
[0098] In this example, pUP1 can sense the current network topology and process user data accordingly. When it is in an isolated state, it waits for a period of time before deleting the locally stored user data, which can prevent misjudgments caused by network stability issues.
[0099] Those skilled in the art will understand that all or some of the steps disclosed above, or the functional modules / units in the system or apparatus, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0100] In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components. For example, a physical component may have multiple functions, or a function or step may be executed collaboratively by several physical components.
[0101] Some or all of the physical components may be implemented as software executed by a processor such as a central processing unit (CPU), digital signal processor, or microprocessor, or as hardware, or as integrated circuits such as application-specific integrated circuits (ASICs). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technique for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, random access memory (RAM, such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; read-only optical disc (CD-ROM), digital versatile disc (DVD) or other optical disc storage; magnetic cartridges, magnetic tapes, magnetic disks or other magnetic storage; and any other media that can be used to store desired information and can be accessed by a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0102] This disclosure has disclosed exemplary embodiments, and although specific terminology has been used, it is for general illustrative purposes only and should not be construed as limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in connection with particular embodiments may be used alone or in combination with features, characteristics, and / or elements described in connection with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this disclosure as set forth by the appended claims.
Claims
1. A data processing method, executed by a first user plane (UP) device, comprising: In response to the first UP device disconnecting from the control plane (CP) device, a status request message is broadcast to the second UP device. The status request message instructs the second UP device to provide feedback on the connection status between the second UP device and the CP device. The second UP device is able to provide backup protection for the first UP device. Based on the feedback from the second UP device in response to the status request message, the user data managed by the first UP device is processed.
2. The method according to claim 1, wherein, Processing the user data managed by the first UP device based on the feedback from the second UP device to the status request message includes: In response to receiving the connection status feedback from the second UP device in response to the status request message, and the connection status is abnormal, the forwarding status of the user data is maintained.
3. The method according to claim 1, wherein, Processing the user data managed by the first UP device based on the feedback from the second UP device to the status request message includes: In response to receiving a connection status feedback from the second UP device in response to a status request message, and finding that a normal connection status exists, a target second UP device is selected from the second UP devices with a normal connection status, and the user data is migrated to the target second UP device so that the target second UP device can manage the user data.
4. The method according to claim 1, wherein, Processing the user data managed by the first UP device based on the feedback from the second UP device to the status request message includes: If no connection status is received from the second UP device in response to the status request message within a first preset time period after the status request message is broadcast, the user data is deleted after a second preset time period.
5. A data processing method, executed by a second user plane (UP) device, comprising: In response to receiving a status request message from the first UP device, the second UP device provides feedback to the first UP device on the connection status between the second UP device and the control plane (CP) device. The status request message is sent by the first UP device in response to the first UP device disconnecting from the CP device. The second UP device can provide backup protection for the first UP device.
6. The method according to claim 5, further comprising: Before feeding back the connection status between the second UP device and the CP device to the first UP device, a keep-alive signal is sent to the CP device, and the connection status between the second UP device and the CP device is determined based on the response to the keep-alive signal. Alternatively, query the pre-stored connection status information to obtain the connection status between the second UP device and the CP device.
7. The method according to claim 5, further comprising: When the connection status is normal, after reporting the connection status between the second UP device and the CP device to the first UP device, the system receives user data sent by the first UP device; and Manage the user data.
8. The method according to claim 7, further comprising: After receiving user data sent by the first UP device, an authentication request is sent to the CP device, which instructs the CP device to verify the user data.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein when executed by the processor, the computer program causes the processor to implement the data processing method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor causing the processor to implement the data processing method according to any one of claims 1 to 8.
11. A computer program product comprising a computer program that, when executed by a processor, causes the processor to implement the data processing method according to any one of claims 1 to 8.