Data processing method, electronic device, medium and program product
By broadcasting status request messages to the second UP device when the UP device is lost to contact with the CP device, obtaining the connection status and processing user data, the problem of the UP device being unable to protect user data when the UP device is lost to contact with the CP device is improved network stability and user experience.
Patent Information
- Application Number
- CN202411992540.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-04
AI Technical Summary
When the UP device is lost to the CP device, it is difficult to determine the current networking situation, resulting in the inability to effectively protect the managed user data, affecting network stability and user experience.
When the first UP device is disconnected from the CP device, a status request message is broadcast to the second UP device, the connection status between the second UP device and the CP device is obtained, and the user data is processed according to the feedback situation to improve network stability and user experience.
By perceiving the current networking situation between UP devices and CP devices, user data can be processed in a targeted manner, avoid service interruptions, and improve network stability and user experience.
Smart Images

Figure CN119766634A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a data processing method, electronic equipment, medium and program product. Background Art
[0002] The vBRAS (Virtual Broadband Remote Access Server) device with separated control and forwarding includes vBRAS-CP (vBRAS-Control Plane) and vBRAS-UP (vBRAS-User Plane), wherein the vBRAS-CP and the vBRAS-UP can communicate through the control plane interface protocol.
[0003] At present, when a UP (User Plane) device fails, a CP (Control Plane) device is usually used to pool the failed UP device, that is, the CP device instructs all services in the failed UP device to be switched. However, in some cases, the CP device loses connection with the UP device, resulting in the failure of the service of the failed UP device to continue to run. Summary of the invention
[0004] The present disclosure provides a data processing method, an electronic device, a medium, and a program product.
[0005] In a first aspect, an embodiment of the present disclosure provides a data processing method, which is applied to a first user plane UP device, and comprises: in response to disconnection from a control plane CP device, broadcasting a status request message to a second UP device; wherein the status request message is used to instruct the second UP device to feedback the connection status between the second UP device and the control plane CP device, and the second UP device is a device capable of providing backup protection for the first UP device; and processing user data managed by the first UP device according to the feedback of the second UP device to the status request message.
[0006] In a second aspect, an embodiment of the present disclosure provides a data processing method, which is applied to a second UP device, comprising: in response to receiving a status request message sent by a first UP device, feeding back to the first UP device the connection status between the second UP device and the CP device; wherein the status request message is sent when the first UP device is disconnected from the CP device, and the second UP device is a device capable of providing backup protection for the first UP device.
[0007] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, the data processing method described in the first aspect or the second aspect is implemented.
[0008] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data processing method described in the first aspect or the second aspect.
[0009] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the data processing method described in the first aspect or the second aspect.
[0010] In the disclosed embodiment, a first UP device disconnected from a 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. According to 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 the stability of the network and the user's network experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In the accompanying drawings of the embodiments of the present disclosure:
[0012] Figure 1 A flowchart of a data processing method provided in an embodiment of the present disclosure.
[0013] Figure 2 A flowchart of another data processing method provided by an embodiment of the present disclosure.
[0014] Figure 3 A flowchart of a data processing method when the connection state is normal provided in an embodiment of the present disclosure.
[0015] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
[0016] Figure 5 A schematic diagram of an exemplary device connection status provided for an embodiment of the present disclosure.
[0017] Figure 6 A schematic diagram of another exemplary device connection status provided for an embodiment of the present disclosure.
[0018] Figure 7 A schematic diagram of another exemplary device connection status provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0020] The present disclosure will be described more fully below with reference to the accompanying drawings, but the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and will enable those skilled in the art to fully understand the scope of the present disclosure.
[0021] The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure, and constitute a part of the specification, and are used together with the detailed embodiments to explain the present disclosure, and do not constitute a limitation of the present disclosure. By describing the detailed embodiments with reference to the accompanying drawings, the above and other features and advantages will become more apparent to those skilled in the art.
[0022] The present disclosure may be described with reference to plan views and / or cross-sectional views by means of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.
[0023] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0024] The terms used in the present disclosure are only used to describe specific embodiments and are not intended to limit the present disclosure. The term "and / or" as used in the present disclosure includes any and all combinations of one or more related enumerated items. The singular forms "one" and "the" as used in the present disclosure are also intended to include plural forms, unless the context clearly indicates otherwise. The terms "including", "made of..." as used in the present disclosure specify the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof.
[0025] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those 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 explicitly defined in this disclosure.
[0026] The present disclosure is not limited to the embodiments shown in the drawings, but includes modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
[0027] 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, and after the failed UP device is restored, the services are instructed to be switched back. However, there may be a situation where the CP device cannot correctly instruct the failed UP device to switch the services.
[0028] In addition, in the current networking environment, when the UP device loses connection with the CP device, it is difficult for the lost UP device to determine the current networking status (for example, the lost UP device itself fails and loses connection with other devices, the CP device fails and loses connection with other devices, etc.), and it is even more impossible to take targeted protection measures for the managed user data based on the current networking status. In the case of the UP device losing connection with the CP device, if the current networking status is uniformly assumed to be the lost UP device itself failing and losing connection with other devices, then misjudgment may occur, resulting in improper handling of user data.
[0029] In a first aspect, the present disclosure provides a data processing method, applied to a first user plane UP device, referring to Figure 1 , which includes the following steps S11 to S12.
[0030] In step S11, in response to disconnection from the control plane CP device, a status request message is broadcast to the second UP device; wherein the status request message is used to instruct the second UP device to feedback the connection status between the second UP device and the control plane CP device, and the second UP device is a device that can provide backup protection for the first UP device.
[0031] In step S12, the user data managed by the first UP device is processed according to the feedback of the second UP device in response to the status request message.
[0032] 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 embodiments, the first UP device and the second UP device are UP devices that are mutually pooled, and mutual pooling means that there is a relationship of mutual redundant backup between multiple UP devices, which can not only maintain the reliability of the network when a single point of failure of the UP device occurs, but also quickly take over the user data managed by one of the UP devices when one of the UP devices is abnormal, so as to avoid service interruption.
[0033] The connection status between the second UP device and the CP device can reflect whether the second UP device can be normally connected to the CP device, that is, reflect the connection reliability. In some embodiments, in some embodiments, when the connection status reflects that the second UP device is normally connected to the CP device, it can also reflect the connection quality between the second UP device and the CP device.
[0034] In this embodiment, the first UP device disconnected from the CP device broadcasts a status request message to the second UP device to obtain the connection status between the second UP device and the CP device. According to the connection status between the second UP device and the CP device, the current networking status between the first UP device, the second UP device and the CP device can be perceived, and even the reason for the loss of connection between the first UP device and the CP device can be indirectly determined, so as to perform targeted processing on the user data managed by the first UP device, enhance the stability of the network, and improve the user's network experience.
[0035] In some embodiments, the first UP device disconnecting from the CP device may include: the first UP device senses that it is disconnected from the CP device, or the first UP device cannot receive a keep-alive message sent by the CP device within a period of time. The embodiment of the present disclosure does not impose any special restrictions on the method of determining whether the first UP device is disconnected from the CP device, and other methods may be used to determine whether the first UP device is disconnected from the CP device.
[0036] In some embodiments, there are multiple CP devices connected to the first UP device, and the multiple CP devices can provide backup protection to each other. For example, CP 1 and CP 2 adopt a dual-machine hot standby networking mode, that is, a networking mode in which one UP device is connected to CP 1 and CP 2 at the same time, thereby avoiding the impact of a single point failure of the CP device on the stability and reliability of the network.
[0037] In some embodiments, when there are multiple CP devices, the first UP device is disconnected from all CP devices and broadcasts a status request message to the second UP device.
[0038] In some embodiments, the status request message carries an identifier for instructing the second UP device to feedback the connection status between the second UP device and the CP device, so that the second UP device feedbacks the connection status to the first UP device according to the identifier in the status request message.
[0039] In some embodiments, step S12 includes: in response to receiving the connection status fed back by the second UP device in response to the status request message, and the fed back connection status is abnormal, maintaining the forwarding status of the user data.
[0040] In an embodiment of the present disclosure, the first UP device can receive the connection status fed back by the second UP device in response to the status request message, indicating that the first UP device and the second UP device are not disconnected, but the received connection statuses are all abnormal, indicating that the second UP devices other than the first UP device are also disconnected from the CP device, so the current networking status between the first UP device, the second UP device and the CP device can be determined as: the CP device is faulty. Therefore, the first UP device maintains the forwarding status of the user data, that is, the first UP device enters the hosting state. In the hosting state, the first UP device temporarily maintains the keep-alive status of the user data and its corresponding user, and does not actively disconnect from the user corresponding to the managed user data. If it is necessary to perform a forwarding action on the user data, the user data can continue to be forwarded, so that the user connection can be restored in time when the CP device returns to normal.
[0041] It is worth noting that, in some embodiments, if a new user intends to connect online through the first UP device in the managed state, the first UP device will temporarily allow the new user to access.
[0042] In some embodiments, the connection states fed back within a preset time period after the first UP device broadcasts the status request message are all abnormal, and the forwarding state of the user data is maintained.
[0043] In some embodiments, step S12 includes: in response to receiving the connection status fed back by the second UP device in response to the status request message, and at least part of the fed back connection status is normal, selecting a target second UP device from the second UP devices with normal connection status, and migrating the user data to the target second UP device so that the target second UP device manages the user data.
[0044] In an embodiment of the present disclosure, the first UP device can receive the connection status fed back by the second UP device in response to the status request message, indicating that the first UP device and the second UP device are not disconnected, and the connection status fed back by at least one second UP device is normal, indicating that the other second UP devices except the first UP device can be normally connected to the CP device, so the current networking status between the first UP device, the second UP device and the CP device can be determined as: the CP device can operate normally, the second UP device with a normal connection status is not disconnected from the CP device, and the first UP device and the CP device are disconnected. Therefore, the first UP device selects a target second UP device from the second UP devices with a normal connection status to trigger the backup protection of the user data managed by the first UP device by the target second UP device. If there is one second UP device with a normal connection status, the second UP device is determined as the target second UP device; if there are multiple second UP devices with a normal connection status, the target second UP device can be selected from the multiple second UP devices according to a preset selection strategy. In some embodiments, the preset selection strategy can be to select the device with the lowest transmission delay with the first UP device, or to select the device with a higher bandwidth among the multiple second UP devices with a normal connection status, and the present disclosure is not limited thereto.
[0045] The first UP device migrates the user data to the target second UP device so that the target second UP device takes over the user data. In some embodiments, after migrating the user data to the target second UP device, the method further includes: the first UP device deletes the locally stored user data.
[0046] It is worth noting that, in the current networking situation where the CP device can operate normally, the connection between the second UP device and the CP device is normal and the connection is not disconnected, and the first UP device and the CP device are disconnected, the CP device can also notify the first UP device to migrate the managed user data to the second UP device in response to the CP device sensing that the first UP device is disconnected from it. Since the CP device is disconnected from the first UP device to be notified, the CP device can forward the user switching instruction to the first UP device through the UP device that maintains a connection with the first UP device, so that the first UP device migrates the user data to the second UP device indicated by the user switching instruction according to the user switching instruction. Among them, the user switching instruction is used to instruct the migration of user data to the specified second UP device.
[0047] In some embodiments, the CP device senses that the first UP device is disconnected from it, including: sensing whether the first UP device is disconnected from it according to the UP device connection status maintained by the CP device. The embodiment of the present disclosure does not impose any special restrictions on the storage form of the UP device connection status maintained by the CP device, and the state table can be used to record the connection status between each UP device and the CP device in real time.
[0048] In some embodiments, step S12 includes: in response to not receiving the connection status fed back by the second UP device in response to the status request message within a first preset time period after broadcasting the status request message, deleting the user data after waiting for a second preset time period.
[0049] In an embodiment of the present disclosure, if the first UP device fails to receive the connection status fed back by the second UP device in response to the status request message within the first preset time period after broadcasting the status request message, it means that the first UP device and the second UP device are also disconnected, and it is even more impossible to determine the connection status between the second UP device and the CP device. Therefore, the current networking status between the first UP device, the second UP device and the CP device can be determined as: the first UP device is disconnected from the second UP device and the CP device. In this networking situation, the status of the first UP device can be referred to as being in an island state. The first UP device in an island state is completely disconnected from other UP devices and CP devices, and is even more unable to back up the managed user data through the second UP device that can provide backup protection for the first UP device.
[0050] After waiting for the second preset time, the first UP device deletes the locally stored user data. Maintaining the user data during the time period corresponding to the second preset time can prevent misjudgment caused by network stability issues, such as link jitter between the first UP device and the second UP device.
[0051] In some embodiments, after the first UP device deletes the locally stored user data, the first UP device further includes: placing itself in an unavailable state, that is, actively disconnecting from the users corresponding to the managed user data. The users disconnected from the first UP device can try to go online again through other UP devices.
[0052] In the above-mentioned embodiment of the present disclosure, the current networking status between the first UP device, the second UP device and the CP device can be determined through the feedback of the second UP device for the status request message. The feedback status is not limited to whether the connection status between the second UP device and the control plane CP device fed back by the second UP device is received, but may also include whether the connection status fed back by the second UP device is normal. Based on the message interaction of the status request message and the connection status fed back by it, the first UP device can accurately judge its current status in the networking, so as to process the managed user data in a targeted manner, so as to ensure that fewer users are affected by network anomalies and improve the user's network experience.
[0053] In a second aspect, the present disclosure provides a data processing method, which is applied to a second UP device, referring to Figure 2 , which includes step S21.
[0054] In step S21, in response to receiving a status request message sent by the first UP device, the connection status between the second UP device and the CP device is fed back to the first UP device; wherein the status request message is sent when the first UP device is disconnected from the CP device, and the second UP device is a device that can provide backup protection for the first UP device.
[0055] 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 embodiments, the first UP device and the second UP device are UP devices that are mutually pooled, and mutual pooling means that there is a relationship of mutual redundant backup between multiple UP devices, which can not only maintain the reliability of the network when a single point of failure of the UP device occurs, but also quickly take over the user data managed by one of the UP devices when one of the UP devices is abnormal, so as to avoid service interruption.
[0056] The connection status between the second UP device and the CP device can reflect whether the second UP device can be normally connected to the CP device, that is, reflect the connection reliability. In some embodiments, when the connection status reflects that the second UP device and the CP device are normally connected, it can also reflect the connection quality between the second UP device and the CP device.
[0057] In this embodiment, the second UP device receives the status request message sent by the first UP device, and based on the status request message, feeds back the connection status between itself and the CP device to the first UP device, so that the first UP device can perceive the current networking status between the first UP device, the second UP device and the CP device based on the connection status, thereby enabling the first UP device to process the user data it manages in a targeted manner, thereby improving the stability of the network and the user's network experience.
[0058] In some embodiments, 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 fed back 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 fed back to the first UP device is normal.
[0059] In some embodiments, the status request message carries an identifier for instructing the second UP device to feedback the connection status between the second UP device and the CP device. The second UP device can feedback the connection status to the first UP device according to the identifier in the status request message.
[0060] In some embodiments, before step S21, it also includes: sending a keep-alive signal to the CP device, and determining the connection status between the second UP device and the CP device according to the response of the keep-alive signal; or, querying pre-stored status information to obtain the connection status between the second UP device and the CP device.
[0061] In this embodiment, by sending a keep-alive signal to the CP device, it is determined whether the CP device is connected to the second UP device according to the response of the CP device to the keep-alive signal, that is, the connection status is determined. In some embodiments, if the second UP device fails to receive a keep-alive response signal fed back by the CP device within a third preset time after sending a keep-alive signal to the CP device, it can be determined that the connection status between the second UP device and the CP device is abnormal.
[0062] The connection status can also be obtained through pre-stored connection status information between the second UP device and the CP device. In some embodiments, the pre-stored status information is regularly maintained by the second UP device, that is, the second UP device periodically sends a keep-alive signal to the CP device to determine and record the connection status between the second UP device and the CP device.
[0063] In some embodiments, reference Figure 3 When the connection status is normal, after step S21, the following steps S22 to S23 are also included.
[0064] In step S22, user data sent by the first UP device is received.
[0065] In step S23, the user data is managed.
[0066] In the embodiment of the present disclosure, when the connection status fed back by the second UP device to the first UP device can be received by the first UP device, and the connection status indicates that the second UP device is normally connected to the CP device, the first UP device can perceive the current networking status between the first UP device, the second UP device and the CP device as follows: the CP device can operate normally, the second UP device with a normal connection status and the CP device are not disconnected, and the first UP device and the CP device are disconnected. Therefore, when the second UP device is used as a backup object for user data by the first UP device, it will receive the user data migrated by the first UP device. The second UP device continues to manage user data to avoid interruption of user services.
[0067] In some embodiments, after step S22, the method further includes: sending an authentication request to the CP device, wherein the authentication request is used to verify the user data.
[0068] In this embodiment, after receiving the user data sent by the first UP device, the second UP device authenticates the user corresponding to the user data to verify whether the user is legitimate.
[0069] In the above embodiment of the present disclosure, after receiving the status request message, the second UP device feeds back the connection status between the second UP device and the CP device to the first UP device, which can assist the first UP device to perceive the current networking status between the first UP device, the second UP device and the CP device according to the connection status, so that the first UP device can process the managed user data in a targeted manner to ensure that fewer users are affected by the disconnection between the first UP device and the CP device, thereby improving the user's network usage experience.
[0070] In a third aspect, an embodiment of the present disclosure provides an electronic device, referring to Figure 4 , which includes a memory 402 and a processor 401; the memory 402 stores a computer program that can be executed by the processor 401, and when the computer program is executed by the processor 401, the data processing method described in the first aspect or the second aspect is implemented.
[0071] The processor 401 and the memory 402 are connected via one or more I / O interfaces 403 , and the interface 403 is configured to implement information exchange between the processor 401 and the memory 402 .
[0072] The processor 401 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 402 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) 403 is connected between the processor 401 and the memory 402, and can realize information exchange between the processor 401 and the memory 402, including but not limited to a data bus (Bus), etc.
[0073] It should be noted that the electronic device is a device corresponding to the above-mentioned data processing method, and all implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the device and can achieve the same technical effect.
[0074] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data processing method described in the first aspect or the second aspect.
[0075] It should be noted that the computer-readable medium is a medium corresponding to the above-mentioned data processing method, and all implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the computer-readable medium and can achieve the same technical effect.
[0076] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the data processing method described in the first aspect or the second aspect.
[0077] It should be noted that the computer program product is a program product corresponding to the above-mentioned data processing method. All implementation methods in the above-mentioned method embodiments are applicable to the embodiments of the program product and can achieve the same technical effects.
[0078] In order to enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present disclosure, the technical solutions provided by the embodiments of the present disclosure are described in detail below through specific examples.
[0079] Example 1
[0080] As a specific form of the embodiment of the present disclosure, refer to Figure 5The first control plane device CP 1 and the second control plane device CP 2 adopt a dual-machine hot standby networking mode, the first user plane device uUP 1 and the second user plane device uUP 2 are UP devices that are pool-backed up to each other, and the third user plane device uUP 3 cannot back up the data managed by uUP 1 and uUP 2. Each uUP device is connected to the CP device through one or more leaf nodes, for example, the leaf node is DC-Leaf (Data Center Leaf) and S-Leaf (Spine Leaf).
[0081] When uUP 1 and uUP 2 remain connected (i.e., are not disconnected) and uUP 1 and uUP 2 are disconnected from CP 1 and CP 2, uUP 1, in response to being disconnected from CP 1 and CP 2, broadcasts a status request message to uUP 2, and the status request message instructs uUP 2 to feedback the connection status between it and CP 1 and CP 2.
[0082] Since uUP 2 is not disconnected from uUP 1, uUP 2 can receive the status request message broadcast by uUP 1, and send keep-alive signals to CP 1 and CP 2 respectively according to the status request message. Since uUP 2 is disconnected from CP 1 and CP 2 at the same time, CP 1 and CP 2 cannot receive the keep-alive signal from uUP 2, let alone respond. uUP2 does not receive a response within a period of time after sending the keep-alive signal, confirming that the connection status is abnormal. The abnormal connection status between uUP 2 and CP 1 and CP2 is fed back to uUP 1.
[0083] When uUP 1 only receives the connection status fed back by uUP 2 for a period of time and the connection status is abnormal, the current networking situation can be determined as: CP 1 and CP 2 are faulty. uUP 1 enters the managed state. In the managed state, uUP 1 keeps the user data and its corresponding user alive and does not actively disconnect the user corresponding to the managed user data.
[0084] In the above example, uUP 1 can sense the current networking situation and process user data in a targeted manner. When the connection is disconnected due to the failure of CP 1 and CP 2, it does not actively disconnect the connection between users corresponding to the managed user data, and can restore user connections in time after CP 1 and CP 2 are restored.
[0085] Example 2
[0086] As a specific example of the present disclosure, refer to Figure 6, CP 1 and CP 2 adopt dual-machine hot standby networking mode, uUP 1 and uUP 2 are UP devices that serve as pool backup for each other, uUP 3 cannot back up the data managed by uUP 1 and uUP 2, and each uUP device is connected to the CP device through one or more leaf nodes.
[0087] When uUP 1 and uUP 2 remain connected (i.e., not disconnected), uUP 1 is disconnected from CP 1 and CP 2, but uUP 2 is not disconnected from CP 1 and CP 2, uUP 1, in response to being disconnected from both CP 1 and CP 2, broadcasts a status request message to uUP 2, and the status request message instructs uUP 2 to feedback the connection status between it and CP 1 and CP 2.
[0088] Since uUP 2 is not disconnected from uUP 1, uUP 2 can receive the status request message broadcast by uUP 1, and send keep-alive signals to CP 1 and CP 2 respectively according to the status request message. Since uUP 2 is not disconnected from CP 1 and CP 2, CP 1 and CP 2 can receive the keep-alive signal from uUP 2 and respond, and uUP 2 confirms that the connection status is normal. The normal connection status between uUP 2 and CP 1 and CP 2 is fed back to uUP 1.
[0089] When uUP 1 receives a normal connection status feedback from at least one user plane device (i.e., uUP 2) within a period of time, uUP 1 can determine the current networking status as follows: CP 1 and CP 2 can operate normally, uUP 2 with a normal connection status is not disconnected from CP 1 and CP 2, and uUP 1 is disconnected from CP 1 and CP 2. Since only one user plane device (i.e., uUP 2) receives a normal connection status feedback, uUP 2 is selected as the migration object, uUP 1 triggers the migration of the managed user data to uUP 2, deletes the locally stored user data, and the user can continue to use uUP 2 to forward services.
[0090] In the above example, uUP 1 can sense the current networking situation and process user data in a targeted manner. When the connection between uUP 1 and CP 1 and CP 2 is disconnected while other UP devices are not disconnected from CP 1 and CP 2, the pool backup protection function provided by uUP 2 to uUP 1 is triggered, so that the user can continue to use the uUP 2 forwarding service, ensuring that fewer users are affected by the disconnection between uUP 1 and CP devices, thereby improving the user's network experience.
[0091] Example 3
[0092] As a specific form of the embodiment of the present disclosure, refer to Figure 7 , CP 1 and CP 2 adopt dual-machine hot standby networking mode, uUP 1 and uUP 2 are UP devices that serve as pool backup for each other, uUP 3 cannot back up the data managed by uUP 1 and uUP 2, and each uUP device is connected to the CP device through one or more leaf nodes.
[0093] When uUP 1 and uUP 2 are disconnected, uUP 1 is disconnected from CP 1 and CP 2, but uUP 2 is not disconnected from CP 1 and CP 2, uUP 1, in response to being disconnected from both CP 1 and CP 2, broadcasts a status request message to uUP 2, where the status request message instructs uUP 2 to feedback the connection status between it and CP 1 and CP 2.
[0094] Since uUP 2 is disconnected from uUP 1, uUP 2 cannot receive the status request message broadcast by uUP 1, and cannot feedback the connection status.
[0095] When uUP 1 does not receive any connection status feedback from any UP device (for example, uUP 2) that serves as a pool backup for a period of time, the current networking situation can be determined as: uUP 1 is disconnected from other UP devices and CP devices, that is, uUP 1 is in an island state. Since uUP 1 in an island state is completely disconnected from other devices, it is impossible to migrate and back up the managed user data. After waiting for a period of time, uUP 1 deletes the locally stored user data. Those users who are disconnected from uUP 1 can try to go back online through other UP devices.
[0096] In the above example, uUP 1 can sense the current networking situation and process user data in a targeted manner. When it is in an isolated state, it waits for a period of time before deleting the locally stored user data, which can prevent misjudgment caused by network stability issues.
[0097] Among them, the processor is a device with data processing capabilities, including but not limited to the central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the memory and the processor, including but not limited to the data bus (Bus), etc.
[0098] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the apparatus disclosed above may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0099] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation.
[0100] Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-temporary medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology 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, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical disk storage; magnetic cassettes, magnetic tapes, disk storage or other magnetic storage; any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0101] The present disclosure has disclosed example embodiments, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly stated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims
1. A data processing method, applied to a first user plane UP device, comprising: In response to disconnection from the control plane CP device, broadcast a status request message to the second UP device; wherein the status request message is used to instruct the second UP device to feedback the connection status between the second UP device and the control plane CP device, and the second UP device is a device that can provide backup protection for the first UP device; Process the user data managed by the first UP device according to the feedback of the second UP device in response to the status request message.
2. The method according to claim 1, wherein: The processing of the user data managed by the first UP device according to the feedback of the second UP device in response to the status request message includes: In response to receiving the connection status fed back by the second UP device in response to the status request message, and the fed back connection status is abnormal, maintaining the forwarding status of the user data.
3. The method according to claim 1, wherein: The processing of the user data managed by the first UP device according to the feedback of the second UP device in response to the status request message includes: In response to receiving the connection status fed back by the second UP device in response to the status request message and at least part of the fed back connection status is normal, a target second UP device is selected from the second UP devices with normal connection status, and the user data is migrated to the target second UP device so that the target second UP device manages the user data.
4. The method according to claim 1, wherein: The processing of the user data managed by the first UP device according to the feedback of the second UP device in response to the status request message includes: In response to not receiving the connection status fed back by the second UP device in response to the status request message within a first preset time period after broadcasting the status request message, the user data is deleted after waiting for a second preset time period.
5. A data processing method, applied to a second UP device, comprising: In response to receiving a status request message sent by the first UP device, the connection status between the second UP device and the CP device is fed back to the first UP device; wherein, the status request message is sent when the first UP device is disconnected from the CP device, and the second UP device is a device that can provide backup protection for the first UP device.
6. The method according to claim 5, wherein: Before feeding back the connection status between the second UP device and the control plane CP device to the first UP device, the method further includes: Sending a keep-alive signal to the CP device, and determining a connection state between the second UP device and the CP device according to a response to the keep-alive signal; Alternatively, pre-stored status information is queried to obtain the connection status between the second UP device and the CP device.
7. The method according to claim 5, wherein: When the connection state is normal, after feeding back the connection state between the second UP device and the control plane CP device to the first UP device, the method further includes: receiving user data sent by the first UP device; Managing the user data.
8. The method according to claim 7, wherein: After receiving the user data sent by the first UP device, the method further includes: An authentication request is sent to the CP device, where the authentication request is used to instruct the CP device to verify the user data.
9. An electronic device comprising a memory and a processor; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, it implements the data processing method described in any one of claims 1 to 8.
10. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data processing method according to any one of claims 1 to 8.
11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Data processing methods, electronic device, storage medium, and program product
WO2026145314A1