Network mode switching method and device, terminal equipment, and storage medium
By aggregating data packets at the PDCP layer of the terminal device and switching to a single network standard based on packet drop status, the problem of packet drop caused by differences in multi-network standard modes is solved, improving the stability and reliability of data transmission and enhancing the user experience.
Patent Information
- Application Number
- CN202310560491.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-15
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2043-05-15
AI Technical Summary
When terminal devices receive data in multiple network standard modes, packet loss occurs due to differences in the wireless environment and system architecture of different network standards, which reduces the stability and reliability of data transmission.
The terminal device aggregates multiple target data packets at the PDCP layer and determines whether there is a negative gain in traffic splitting based on the packet drop status. If so, it switches to a single network standard mode to avoid packet drop.
By switching network standards in a timely manner, packet drop issues under multiple network standard modes are improved, the stability and reliability of data transmission are enhanced, the perceived packet drop problem is reduced, and the communication performance experience is improved.
Smart Images

Figure CN118972912B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a network standard switching method and apparatus, terminal equipment, and storage medium. Background Technology
[0002] Currently, with the development of communication technologies, especially the widespread application of 4G and 5G technologies, more and more terminal devices (such as smartphones and smart wearable devices) can support data transmission using multiple network standards, including 4G LTE (Long Term Evolution) and 5G NR (New Radio). However, in practice, it has been found that when base stations transmit data simultaneously through multiple network standards, due to differences in the wireless environment and system architecture corresponding to different network standards, terminal devices may not be suitable for receiving data from each source simultaneously. This can lead to packet loss due to the inability to receive data in a timely manner, reducing the stability and reliability of data transmission by the terminal devices. Summary of the Invention
[0003] This application discloses a network standard switching method and apparatus, a terminal device, and a storage medium, which enables the terminal device to switch network standards in a timely manner, improves packet loss under multiple network standard modes, and thus helps to improve the stability and reliability of data transmission by the terminal device.
[0004] The first aspect of this application discloses a network standard switching method applied to a terminal device, the method comprising:
[0005] In the multi-network standard mode, multiple target data packets sent by the base station through different network standards are received, and the multiple target data packets are summarized at the Packet Data Convergence Protocol (PDCP) layer;
[0006] Based on the packet abandonment status corresponding to the multiple target data packets, obtain the PDCP packet abandonment data of the PDCP layer;
[0007] If the PDCP packet rejection data meets the target conditions, the terminal device is switched from the multi-network standard mode to the single-network standard mode; the target conditions are used to characterize the situation where the terminal device receives data with negative gain in the multi-network standard mode.
[0008] The second aspect of this application discloses a network standard switching device, applied to a terminal device, the network standard switching device comprising:
[0009] The receiving unit is used to receive multiple target data packets sent by the base station through different network standards in a multi-network standard mode, and to summarize the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer;
[0010] The statistics unit is used to obtain PDCP packet abandonment data of the PDCP layer based on the packet abandonment status corresponding to the multiple target data packets;
[0011] The network standard switching unit is used to switch the terminal device from the multi-network standard mode to the single-network standard mode when the PDCP packet discard data meets the target conditions; the target conditions are used to characterize the situation where the terminal device receives data with a negative gain due to data splitting in the multi-network standard mode.
[0012] The third aspect of this application discloses a terminal device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor performs all or part of the steps in any network standard switching method disclosed in the first aspect of this application.
[0013] The fourth aspect of this application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements all or part of the steps in any network standard switching method disclosed in the first aspect of this application.
[0014] Compared with related technologies, the embodiments of this application have the following beneficial effects:
[0015] In this embodiment, a terminal device applying the network standard switching method can receive multiple target data packets sent by a base station through different network standards in a multi-network standard mode, and summarize these multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer. Based on this, the terminal device can obtain PDCP abandonment data at its PDCP layer according to the abandonment status of the multiple target data packets, and switch the terminal device from a multi-network standard mode to a single-network standard mode if the PDCP abandonment data meets the target conditions. The target conditions can be used to characterize situations where the terminal device experiences negative data splitting gain when receiving data in a multi-network standard mode. Therefore, implementing this embodiment allows for the determination of whether a terminal device is suitable for simultaneously receiving data through different network standards based on the PDCP abandonment data in a multi-network standard mode, enabling timely network standard switching when the PDCP abandonment data fails to meet actual needs. This allows terminal devices to switch to a single network standard mode in a timely manner, avoiding packet drop due to differences in wireless environment and system architecture corresponding to different network standards. This effectively improves packet drop in multi-network standard modes, enhances the stability and reliability of data transmission by terminal devices, reduces user perception of packet drop, and helps improve the user's communication performance experience when using terminal devices. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram illustrating an application scenario of the network standard switching method disclosed in the embodiments of this application;
[0018] Figure 2 This is a schematic diagram of the architecture of a base station networking mode in related technologies;
[0019] Figure 3 This is a flowchart illustrating a network standard switching method disclosed in an embodiment of this application;
[0020] Figure 4 This is a schematic diagram of the data flow between the base station and the terminal equipment disclosed in the embodiments of this application;
[0021] Figure 5 This is a flowchart illustrating another network standard switching method disclosed in an embodiment of this application;
[0022] Figure 6This is a flowchart illustrating another network standard switching method disclosed in the embodiments of this application;
[0023] Figure 7 This is a schematic diagram of the switching cycle process of a network standard switching method disclosed in an embodiment of this application;
[0024] Figure 8A This is a schematic diagram of a base station bearer mode disclosed in an embodiment of this application;
[0025] Figure 8B This is a schematic diagram of another base station bearer mode disclosed in the embodiments of this application;
[0026] Figure 9 This is a modular schematic diagram of a network standard switching device disclosed in an embodiment of this application;
[0027] Figure 10 This is a modular schematic diagram of an electronic device disclosed in an embodiment of this application. Detailed Implementation
[0028] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0029] It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or devices.
[0030] This application discloses a network standard switching method and apparatus, a terminal device, and a storage medium, which enables the terminal device to switch network standards in a timely manner, improves packet loss under multiple network standard modes, and thus helps to improve the stability and reliability of data transmission by the terminal device.
[0031] The following will be described in detail with reference to the accompanying drawings.
[0032] Please see Figure 1 , Figure 1This is a schematic diagram illustrating an application scenario of a network standard switching method disclosed in an embodiment of this application, which may include a terminal device 10 and a base station 20. The terminal device 10 may be within the communication signal coverage area of the base station 20, i.e., within a cell where the base station 20 provides access services, thereby enabling the terminal device 10 to establish a communication connection with the base station 20 to achieve bidirectional data transmission and reception.
[0033] For example, base station 20 can provide communication services for different network standards such as 4G LTE (Long Term Evolution) and 5G NR (New Radio). In some embodiments, base station 20 can simultaneously transmit data through different network standards, i.e., it adopts a split bearer mode, transmitting data on both the LTE and NR (or other network standards) sides respectively. In other embodiments, base station 20 can also transmit data through only a single network standard, for example, using only the RLC (Radio Link Control), MAC (Media Access Control), and PHY (Physical) layers on the LTE side as part of the data transmission link, i.e., transmitting data only on the LTE side; or using only the RLC, MAC, and PHY layers on the NR side as part of the data transmission link, i.e., transmitting data only on the NR side.
[0034] Accordingly, terminal device 10 can also receive data transmitted by base station 20 through different network standards. For example, terminal device 10 can be configured in a multi-network standard mode to transmit data through the PHY layer, MAC layer, RLC layer, etc., on both the LTE and NR (or other network standards) sides of terminal device 10. In other embodiments, terminal device 10 can also be configured in a single-network standard mode, for example, receiving data only through the LTE side or only through the NR side, etc., which is not specifically limited in this application embodiment.
[0035] For example, the terminal device 10 may include various devices or systems with communication functions, such as smartphones, smart wearable devices, in-vehicle terminals, tablets, PCs (Personal Computers), PDAs (Personal Digital Assistants), etc., and is not specifically limited in this embodiment. It should be noted that... Figure 1 The terminal device 10 shown is a smartphone. This is merely an example and does not constitute a limitation on the device type of the terminal device 10 in the embodiments of this application.
[0036] In related technologies, base station 20 can adopt a non-standalone (NSA) networking approach, building an NR base station on top of the existing LTE base station. For example, such as... Figure 2 As shown, base station 20 can adopt an Option 3x architecture, using the relevant hardware and software configuration of the LTE base station as anchor points. An NR secondary node SgNB (Secondary generation Node B) is added on top of the LTE master node MeNB (Master evloved Node B) to form a dual-connectivity (DC) network. The core network (Evolved Packet Core, EPC) of the LTE base station is retained, including its MME (Mobility Management Entity), PGW (PDN Gateway, Public Data Network Gateway), SGW (Serving Gateway), etc. Based on this, a control plane link S1-MME can be established between the LTE master node and the core network, and a user plane link S1-U can be established between the LTE master node and / or NR secondary node and the core network. Figure 2 Only one scenario is shown, namely the user plane link between the NR secondary node and the core network. The LTE primary node and the NR secondary node can also have a control plane link S2-C and a user plane link S2-U, respectively.
[0037] When base station 20 transmits data through different network standards, especially when base station 20 transmits data through both LTE and NR, terminal device 10 can also be configured in multi-network standard mode to transmit and receive data on both LTE and NR data transmission links, thereby improving the data transmission bandwidth of the user side (or customer premises equipment, CPE). However, due to differences in the wireless environment and system architecture corresponding to different network standards, the data packets received by terminal device 10 on different links may have varying degrees of delay, making it impossible to match and process the data in a timely manner. This necessitates packet discarding, i.e., discarding data packets with certain differences in reception time, sequence number, etc. (which can be called gaps), which greatly reduces the stability and reliability of data transmission by terminal device 10.
[0038] To address the aforementioned issues, in this embodiment, the terminal device 10 can perform packet abandonment status analysis on data packets aggregated from different links at its PDCP layer (Packet Data Convergence Protocol), and determine whether to switch the network standard of the terminal device 10 accordingly. For example, in a multi-network standard mode, the terminal device 10 can receive multiple target data packets sent by the base station 20 through different network standards, and aggregate these multiple target data packets at its PDCP layer. Based on this, the terminal device 10 can obtain PDCP abandonment data from the PDCP layer according to the abandonment status corresponding to the multiple target data packets, and switch the terminal device 10 from a multi-network standard mode to a single-network standard mode if the PDCP abandonment data meets the target conditions. The target conditions can be used to characterize situations where the terminal device 10 experiences negative data splitting gain when receiving data in a multi-network standard mode.
[0039] It should be noted that the aforementioned negative gain in traffic splitting refers to the situation where, in multi-network mode, the data traffic received by terminal device 10 through different links is actually lower than the data traffic received through a single link, resulting in a decrease in data transmission bandwidth on the user side instead of an increase. In this case, the PDCP layer can be switched to single-network mode to prevent further packet dropping.
[0040] As can be seen, by implementing the embodiments of this application, it is possible to determine whether the terminal device 10 is suitable for receiving data simultaneously through different network standards based on the PDCP packet drop data of the terminal device 10 in multiple network standard modes, so as to switch the network standard in a timely manner when the PDCP packet drop data cannot meet the actual needs. This allows the terminal device 10 to switch to a single network standard mode in a timely manner, avoiding packet drop due to differences in wireless environment, system architecture, etc. corresponding to different network standards. This effectively improves the packet drop situation in multiple network standard modes, which is conducive to improving the stability and reliability of data transmission of the terminal device 10, while reducing the user's perception of packet drop by the terminal device 10, and helps to improve the user's communication performance experience when using the terminal device 10.
[0041] Please see Figure 3 , Figure 3 This is a flowchart illustrating a network standard switching method disclosed in an embodiment of this application. This network standard switching method can be applied to the aforementioned terminal devices. Figure 3 As shown, the network standard switching method may include the following steps:
[0042] 302. In multi-network standard mode, receive multiple target data packets sent by the base station through different network standards, and summarize the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer.
[0043] In this embodiment, the terminal device can be configured to a multi-network standard mode to receive target data sent by the base station through different network standards. Specifically, the target data can be distributed through the PDCP layer of the base station, and then packaged and processed sequentially through the RLC layer, MAC layer, and PHY layer of the LTE side and NR side to obtain multiple target data packets for wireless transmission.
[0044] For example, please refer to Figure 4 , Figure 4 This is a schematic diagram illustrating the data flow between the base station and the terminal equipment disclosed in the embodiments of this application. For example... Figure 4 As shown, after the aforementioned multiple target data packets are transmitted to the terminal device, the terminal device can sequentially unpack the multiple target data packets sent by the base station using the LTE network standard through its LTE-side PHY layer, MAC layer, and RLC layer; at the same time, the terminal device can also sequentially unpack the multiple target data packets sent by the base station using the NR network standard through its NR-side PHY layer, MAC layer, and RLC layer.
[0045] Based on this, multiple target data packets processed by the RLC layers of the LTE and NR sides can be aggregated to the PDCP layer of the terminal device to facilitate aggregation and further processing.
[0046] 304. Based on the packet abandonment status of the above multiple target data packets, obtain the PDCP packet abandonment data of the PDCP layer.
[0047] In this embodiment, the terminal device aggregates multiple target data packets at its PDCP layer, which can be used to determine whether packet abandonment is required. Then, based on the corresponding abandonment status, the PDCP abandonment data corresponding to that PDCP layer can be determined. For example, the aforementioned PDCP abandonment data may include data such as the number of abandoned packets and the abandonment rate obtained after the terminal device performs conditional abandonment processing on the multiple target data packets; however, this embodiment does not impose specific limitations.
[0048] In some embodiments, the terminal device can determine whether to discard target data packets that meet specified conditions based on the sequence number values corresponding to the multiple target data packets. These sequence number values can be encoded and set by the base station before sending each target data packet, or they can be encoded and set by the terminal device during the process of receiving the multiple target data packets and aggregating them to the PDCP layer. At the PDCP layer, the terminal device can sequentially perform analysis, judgment, buffering, and delivery to the target upper layer based on the sequence number values corresponding to each target data packet. The target data contained in the undiscarded target data packets can then be transmitted to a higher-level application module within the terminal device, or transmitted via the terminal device to other devices connected to it.
[0049] For example, in order to analyze the aforementioned multiple target data packets to determine whether the terminal device has failed to match and process data from different network standards in a timely manner, the terminal device can obtain the first sequence number value (which can be denoted as RCVD_COUNT) corresponding to the target data packet received by its PDCP layer, and can also obtain the second sequence number value (which can be denoted as RX_DELIV) corresponding to the target data packet to be delivered to the upper layer of the target by the PDCP layer. Based on this, the terminal device can compare the aforementioned first sequence number value and second sequence number value, and discard the target data packet corresponding to the aforementioned first sequence number value if the first sequence number value is less than or equal to the second sequence number value.
[0050] It is understandable that, to ensure timely and accurate data transmission from the terminal device, the terminal device can continuously reorder multiple target data packets aggregated by its PDCP layer. By setting a reordering timer of a specified duration (e.g., 0.5 seconds, 1 second, etc.), after the reordering timer expires, the target data packets cached by the PDCP layer can be delivered to the target upper layer, and the sequence number value of the target data packet is recorded as the second sequence number value (RX_DELIV). Based on this, the sequence number value of the target data packets received by the PDCP layer in real time can be used as the first sequence number value (RCVD_COUNT). If the first sequence number value is less than or equal to the aforementioned second sequence number value (i.e., RCVD_COUNT≤RX_DELIV, or RCVD_COUNT<RX_DELIV+1), the PDCP layer of the terminal device can discard it, that is, discard the target data packet corresponding to the first sequence number value.
[0051] For a specific example, if the PDCP layer receives the target data packet with sequence number x from the NR side first, after the reordering timer expires, the buffered target data packet can be delivered to the upper layer of the target, and the second sequence number value RX_DELIV = x can be recorded (in some embodiments, RX_DELIV = x + 1 can also be recorded, and the subsequent comparison process can be adjusted accordingly). Then, when the PDCP layer receives the target data packet with sequence number less than or equal to x from the LTE side, it can satisfy the condition that its first sequence number value RCVD_COUNT ≤ RX_DELIV. At this time, it means that there is a certain time interval (Gap) between the target data packets received and transmitted by the terminal device from different links in the PDCP layer. The terminal device can discard the target data packets that meet the above conditions to avoid the upper layer of the target from subsequently handling target data packets with earlier time sequences.
[0052] Based on this, the terminal device can determine the packet abandonment status of each of the above target data packets, and then count the number of abandoned packets, the packet abandonment rate, and other data as PDCP packet abandonment data of its PDCP layer, which can be used in the subsequent process of further determining whether the terminal device needs to switch network standards.
[0053] 306. When the PDCP packet rejection data meets the target conditions, switch the terminal device from multi-network standard mode to single-network standard mode. The target conditions are used to characterize the situation where the terminal device receives data with a negative gain due to data splitting in multi-network standard mode.
[0054] In this embodiment, if the PDCP packet rejection data of the terminal device meets specified target conditions, such as the number of packet rejections within a unit time period exceeding a specified threshold, or the packet rejection rate exceeding a specified percentage threshold within a certain time period, it indicates that the terminal device experiences a negative gain in receiving data under multi-network standard mode. Therefore, to improve data traffic on the user side and alleviate the poor user experience caused by excessive packet rejection and perceived network communication lag, the terminal device can switch its network standard from multi-network standard mode to single-network standard mode to prevent further packet rejection at its PDCP layer.
[0055] Taking the packet abandonment data, which includes the packet abandonment rate within a unit time period, as an example, in some embodiments, if the PDCP packet abandonment rate of the PDCP layer in the first time period is higher than a specified percentage threshold (e.g., 20%, 30%, etc.), it can be confirmed that the PDCP packet abandonment data meets the target conditions. In other embodiments, if the PDCP packet abandonment rate of the PDCP layer is higher than the specified percentage threshold for M consecutive time periods (M is an integer greater than 1), it can also be confirmed that the PDCP packet abandonment data meets the target conditions. In still other embodiments, if the PDCP packet abandonment rate of the PDCP layer is higher than the specified percentage threshold for P time periods (P is an integer greater than 1) within the target duration, it can also be confirmed that the PDCP packet abandonment data meets the target conditions.
[0056] If the PDCP packet rejection data meets the target conditions, the terminal device can switch its network standard from multi-network standard mode to LTE network standard, or it can switch to NR network standard. Taking the switch to LTE network standard as an example, the terminal device can receive subsequent target data packets only through its LTE side data transmission link, thereby effectively avoiding packet rejection due to the inability to match and process multiple data in a timely manner.
[0057] As can be seen, the network standard switching method described in the above embodiments can determine whether a terminal device is suitable for simultaneously receiving data through different network standards based on PDCP packet drop data in multiple network standard modes. This allows for timely network standard switching when PDCP packet drop data cannot meet actual needs. This enables the terminal device to switch to a single network standard mode in a timely manner, avoiding packet drop due to differences in wireless environment and system architecture corresponding to different network standards. This effectively improves packet drop in multi-network standard modes, enhances the stability and reliability of data transmission by the terminal device, reduces user perception of packet drop, and improves the user's communication performance experience.
[0058] Please see Figure 5 , Figure 5 This is a flowchart illustrating another network standard switching method disclosed in an embodiment of this application. This network standard switching method can be applied to the aforementioned terminal devices. Figure 5 As shown, the network standard switching method may include the following steps:
[0059] 502. In multi-network standard mode, receive multiple target data packets sent by the base station through different network standards, and summarize the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer.
[0060] Step 502 is similar to step 302 above, and will not be described again here.
[0061] 504. Obtain the number of target data packets received by the PDCP layer within a unit time period that have not been discarded, and obtain the number of target data packets discarded by the PDCP layer within a unit time period.
[0062] In this embodiment of the application, taking PDCP packet abandonment data including PDCP packet abandonment rate as an example, in order to calculate the PDCP packet abandonment rate of the terminal device, the terminal device can, after discarding the target data packets that do not meet the above sequence interval conditions during the reordering process through its PDCP layer, obtain the number of received target data packets (usually the target data packets to be delivered to the target upper layer) that are not discarded in each unit time period (which can be denoted as C1), and the number of abandoned target data packets that are discarded in each unit time period (which can be denoted as C2) according to a pre-specified unit time period (e.g., 1 second, 0.5 seconds, etc.).
[0063] Based on this, the terminal device can calculate the PDCP packet drop rate of the PDCP layer in each unit time period according to the above received number and dropped number, and apply the PDCP packet drop rate to the subsequent process of determining whether the terminal device needs to switch network standards.
[0064] 506. Based on the above received quantity and abandoned quantity, calculate the PDCP packet abandonment rate of the PDCP layer within a unit time period, and use it as the PDCP packet abandonment data of the PDCP layer.
[0065] For example, the terminal device can calculate the PDCP packet rejection rate for each unit time period based on the above received quantity C1 and rejected quantity C2 as shown in Formula 1 below.
[0066] Formula 1:
[0067] p = C2 / (C1 + C2)
[0068] Where p represents the PDCP packet rejection rate mentioned above.
[0069] 508. If the PDCP packet rejection data meets the target conditions, switch the terminal device from multi-network standard mode to single-network standard mode. The target conditions are used to characterize the situation where the terminal device receives data with a negative gain due to data splitting in multi-network standard mode.
[0070] Step 508 is similar to step 306 above. It should be noted that, for more refined analysis of the PDCP layer's packet rejection status, the terminal device can use a sliding window approach to count whether the PDCP packet rejection rate is higher than a specified threshold for M consecutive time periods. If the PDCP packet rejection rate is higher than the threshold for M consecutive time periods, it can be determined that the terminal device is experiencing negative data loss due to data diversion. Therefore, it needs to switch from a multi-network mode to a single-network mode, specifically including a fallback from a multi-network mode supporting both LTE and NR to the LTE network mode, to avoid further diversion of target data reception and resulting in a large number of packet rejections at the PDCP layer.
[0071] As can be seen, the network standard switching method described in the above embodiments can determine whether a terminal device is suitable for simultaneously receiving data through different network standards based on PDCP packet drop data in multiple network standard modes. This allows for timely switching to a single network standard mode when PDCP packet drop data cannot meet actual needs, effectively improving packet drop conditions in multiple network standard modes. This enhances the stability and reliability of data transmission by the terminal device, reduces user perception of packet drop, and improves the user's communication performance experience. Furthermore, by using methods such as sliding windows to determine whether the PDCP packet drop rate meets specified conditions, a refined analysis of the terminal device's packet drop status at the PDCP layer can be performed. This ensures that the terminal device can promptly switch network standards even when there is actual negative gain from traffic splitting, improving the accuracy of the terminal device's judgment regarding whether to switch network standards.
[0072] Please see Figure 6 , Figure 6 This is a flowchart illustrating another network standard switching method disclosed in an embodiment of this application. This network standard switching method can be applied to the aforementioned terminal devices. Figure 6 As shown, the network standard switching method may include the following steps:
[0073] 602. In multi-network standard mode, receive multiple target data packets sent by the base station through different network standards, and summarize the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer.
[0074] Step 602 is similar to step 302 above, and will not be described again here.
[0075] 604. Obtain the number of target data packets received by the PDCP layer within a unit time period that have not been discarded, and obtain the number of target data packets discarded by the PDCP layer within a unit time period.
[0076] 606. Based on the above received quantity and abandoned quantity, calculate the PDCP packet abandonment rate of the PDCP layer within a unit time period, and use it as the PDCP packet abandonment data of the PDCP layer.
[0077] Steps 604 and 606 are similar to steps 504 and 506 above, and will not be described again here.
[0078] 608. If the PDCP packet rejection data meets the target conditions, switch the terminal device from multi-network standard mode to single-network standard mode. The target conditions are used to characterize the situation where the terminal device receives data with a negative gain due to data splitting in multi-network standard mode.
[0079] Step 608 is similar to step 306 above, and will not be described again here.
[0080] 610. After the target penalty duration, switch the terminal device back from single-network mode to multi-network mode.
[0081] In this embodiment, after the terminal device switches from a multi-network standard mode to a single-network standard mode, it can set a penalty timer of a certain duration to determine when to switch back to the multi-network standard mode, so as to re-distribute the target data and improve the data traffic on the user side.
[0082] In some embodiments, the terminal device may set the aforementioned penalty timer according to a preset target penalty duration T. After the penalty timer expires (i.e., after the target penalty duration T has elapsed), the terminal device may switch its network standard from a single network standard mode to a multi-network standard mode, which may include switching from an LTE network standard to a multi-network standard mode that simultaneously supports LTE and NR.
[0083] 612. If the PDCP packet abandonment data obtained within the monitoring period meets the above target conditions, the terminal device will be switched from multi-network standard mode to single-network standard mode, and a new target penalty duration will be determined; the above new target penalty duration is positively correlated with the number of times the terminal device switches from multi-network standard mode to single-network standard mode.
[0084] In this embodiment, after the terminal device switches back to multi-network standard mode, it can continuously determine whether its PDCP packet drop data still meets the aforementioned target conditions within a certain monitoring period (e.g., 5 seconds, 10 seconds, etc.), and based on the corresponding judgment results, determine whether further network standard switching of the terminal device is required. It can be understood that if the aforementioned PDCP packet drop data is detected to meet the target conditions, the terminal device can switch back from multi-network standard mode to single-network standard mode to continue avoiding the negative gain situation of large-scale packet drop at the PDCP layer.
[0085] Based on this, the terminal device can also adjust the target penalty duration mentioned above to adjust the frequency of the terminal device switching network standards through the new target penalty duration, so as to ensure that the terminal device can switch or maintain a suitable network standard in a timely manner.
[0086] In some embodiments, the terminal device may determine the penalty increment coefficient based on the number of times the terminal device switches from a multi-network standard mode to a single-network standard mode, or the number of times the terminal device confirms that the PDCP packet abandonment data acquired within the monitoring period meets the above target conditions.
[0087] For example, if the terminal device detects that the PDCP packet abandonment data within the monitoring time meets the above target conditions during the first execution of step 612, it can set the corresponding penalty increment coefficient to a specified value m greater than 1 so that the subsequent calculation of the new target penalty time is increased compared with the initial target penalty time T (i.e. the new target penalty time is longer than the initial target penalty time T).
[0088] Based on this, the terminal device can determine the new target penalty duration T1 according to the penalty increment coefficient m and the initial target penalty duration T. For example, the terminal device can multiply the above penalty increment coefficient m by the initial target penalty duration T to calculate the new target penalty duration T1 = m * T.
[0089] Furthermore, after the terminal device switches its network mode back to single-network mode, it can set the aforementioned penalty timer according to the new target penalty duration T1, and then execute the subsequent step 614. After the penalty timer expires (i.e., after the new target penalty duration T1), the terminal device switches its network mode from single-network mode to multi-network mode. At this time, the terminal device can repeat step 612, that is, if the PDCP packet drop data detected within the monitoring duration meets the aforementioned target conditions, then according to the aforementioned penalty increment coefficient m and the current target penalty duration T1, the new target penalty duration T2 = m * T1 = m * m * T is calculated, and the terminal device can switch back from multi-network mode to single-network mode.
[0090] By repeating step 612 and subsequent step 614, the terminal device can exponentially adjust the target penalty duration until the specified duration limit is reached, provided that the PDCP packet abandonment data within each monitoring period meets the above target conditions.
[0091] For example, when the terminal device executes step 612 for the first time, if the PDCP packet loss data within the monitoring period meets the above target conditions, the penalty increment coefficient can be determined to be 2, and a new target penalty period T1 = 2T can be calculated. Furthermore, if subsequent monitoring shows that the PDCP packet loss data within each monitoring period meets the above target conditions, a new target penalty period Tn = 2 can be continuously determined. n ×T (n is a positive integer) until the above-mentioned time limit is reached.
[0092] During this process, if the PDCP packet abandonment data obtained within the monitoring period does not meet the above target conditions, the terminal device can reset the current target penalty duration to the initial target penalty duration T.
[0093] Through this mode-switching loop mechanism, the terminal device can achieve the effect of progressively increasing the target penalty duration, enabling the terminal device to maintain a single network standard mode for a longer period of time even under the condition of negative traffic gain; at the same time, it also retains the opportunity to judge whether to re-splitting the traffic in a timely manner, which helps to flexibly switch the network standard of the terminal device.
[0094] 614. Re-execute the steps to switch the terminal device from single-network mode to multi-network mode after the target penalty duration.
[0095] Step 614 is similar to step 610 above, and the corresponding mode switching loop process can be further referred to. Figure 7 .like Figure 7 As shown, the terminal device can continuously count the PDCP packet abandonment rate within a unit time period. If the PDCP packet abandonment rate is greater than the proportional threshold for M consecutive time periods (for example, it can be counted by the variable k; k is incremented by 1 whenever the PDCP packet abandonment rate within a unit time period is greater than the proportional threshold, i.e., k++; k is cleared to zero whenever the PDCP packet abandonment rate within a unit time period is not greater than the proportional threshold), if the communication connection between the terminal device and the base station does not belong to the secondary cell group (SCG) bearer mode (i.e., the base station uses the split bearer mode for data transmission), then the terminal device can switch to the LTE network standard.
[0096] Furthermore, the terminal device can determine whether this handover is the first type rollback using the initial target penalty duration. If there was a previous type rollback (i.e., it was not the first type rollback using the initial target penalty duration), then the new target penalty duration Tn = 2 can be calculated. nThe penalty timer is set to ×T (where n is a positive integer); otherwise, the initial target penalty duration is used. If the penalty timer times out, the terminal device can switch back to the multi-network standard mode, thus restoring the network standard.
[0097] In some embodiments, after the terminal device completes the adjustment of its own network standard, particularly after switching from a multi-network standard mode to a single-network standard mode, it may also send a corresponding status feedback instruction to the base station. For example, taking the terminal device switching from a multi-network standard mode to a single-network standard mode as an example, the aforementioned status feedback instruction may include the packet abandonment status corresponding to the multiple target data packets. Therefore, this status feedback instruction can be used to instruct the base station to determine whether it is necessary to switch from a state of transmitting data through different network standards to a state of transmitting data through a single network standard, i.e., to prohibit traffic splitting on the base station, thereby effectively eliminating the negative gain of traffic splitting.
[0098] The aforementioned base station transmits data through different network standards, which means that the base station uses the Split bearer mode for data transmission, such as... Figure 8A As shown. A base station transmitting data using a single network standard can adopt a Master Cell Group (MCG) bearer mode, meaning data transmission is performed only through the LTE-side RLC layer, MAC layer, and PHY layer, as shown. Figure 8B As shown; alternatively, the base station can adopt the secondary cell group SCG bearer mode, that is, data transmission is carried out only through the RLC layer, MAC layer, PHY layer, etc. on the NR side (not specifically illustrated).
[0099] As can be seen, the network standard switching method described in the above embodiments can determine whether a terminal device is suitable for receiving data simultaneously through different network standards based on PDCP packet drop data in multi-network standard modes. This allows for timely switching to a single-network standard mode when PDCP packet drop data cannot meet actual needs, effectively improving packet drop situations in multi-network standard modes. This enhances the stability and reliability of data transmission by the terminal device, reduces user perception of packet drop, and improves the user's communication performance experience. Furthermore, by setting a mode switching cycle mechanism with a certain penalty duration, real-time monitoring of user-side data traffic ensures that the terminal device can switch to or maintain a suitable network standard in a timely manner, and performs traffic splitting or cessation at appropriate times to maximize overall data traffic, thereby improving the communication performance of the terminal device.
[0100] The methods in the embodiments of this application have been described in detail above. The apparatus in the embodiments of this application will be described below with reference to the accompanying drawings.
[0101] Please see Figure 9 , Figure 9 This is a modular schematic diagram of a network standard switching device disclosed in an embodiment of this application. The network standard switching device can be the aforementioned Figures 1 to 8B The terminal device using the network standard switching method mentioned herein can also be a device applied within that terminal device, and is not limited thereto. In some embodiments, the network standard switching device can also be a chip or a chip system, such as a System on Chip (SoC). For example, Figure 9 As shown, the network standard switching device may include a receiving unit 901, a statistics unit 902, and a network standard switching unit 903, wherein:
[0102] The receiving unit 901 is used to receive multiple target data packets sent by the base station through different network standards in a multi-network standard mode, and to summarize the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer.
[0103] The statistics unit 902 is used to obtain PDCP packet abandonment data of the PDCP layer based on the packet abandonment status of the above multiple target data packets;
[0104] The network standard switching unit 903 is used to switch the terminal device from a multi-network standard mode to a single-network standard mode when the PDCP packet discard data meets the target conditions. The target conditions are used to characterize the situation where the terminal device receives data with a negative gain due to data splitting in the multi-network standard mode.
[0105] As can be seen, the network standard switching device described in the above embodiments can determine whether a terminal device is suitable for simultaneously receiving data through different network standards based on PDCP packet drop data in multiple network standard modes. This allows for timely network standard switching when PDCP packet drop data cannot meet actual needs. This enables the terminal device to switch to a single network standard mode in a timely manner, avoiding packet drop due to differences in wireless environment and system architecture corresponding to different network standards. This effectively improves packet drop in multi-network standard modes, enhances the stability and reliability of data transmission by the terminal device, reduces user perception of packet drop, and improves the user's communication performance experience.
[0106] In one embodiment, the aforementioned PDCP packet abandonment data may include the PDCP packet abandonment rate, and the aforementioned statistical unit 902 may be specifically used for:
[0107] Get the number of target data packets received by the PDCP layer within a unit time period that have not been dropped, and get the number of target data packets dropped by the PDCP layer within a unit time period;
[0108] Based on the number of received packets and the number of dropped packets mentioned above, the PDCP packet drop rate of the PDCP layer within the aforementioned unit time period is calculated.
[0109] In one embodiment, the above-mentioned target conditions may specifically include:
[0110] The PDCP packet drop rate of the PDCP layer is higher than the proportional threshold in the first time period; or...
[0111] The PDCP layer has a packet drop rate higher than a certain threshold over M consecutive time periods, where M is an integer greater than 1; or,
[0112] The PDCP packet drop rate of the PDCP layer is higher than the proportion threshold within P time periods of the target duration, where P is an integer greater than 1.
[0113] In one embodiment, the network standard switching unit 903 can also be used to switch the terminal device back from the single network standard mode to the multi-network standard mode after the network standard switching unit 903 switches the terminal device from the multi-network standard mode to the single network standard mode after a target penalty time.
[0114] In one embodiment, the network standard switching device may further include a determining unit (not shown), wherein:
[0115] The aforementioned network standard switching unit 903 can also be used to switch the terminal device from the multi-network standard mode back to the single-network standard mode after the terminal device is switched from the single-network standard mode to the multi-network standard mode. If the PDCP packet abandonment data obtained within the monitoring period meets the target conditions, the terminal device will be switched from the multi-network standard mode back to the single-network standard mode.
[0116] The determining unit is used to determine a new target penalty duration, wherein the new target penalty duration is positively correlated with the number of times the terminal device switches from a multi-network standard mode to a single-network standard mode;
[0117] The network standard switching unit 903 described above can also be used to re-execute the step of switching the terminal device from a single network standard mode to a multi-network standard mode after the target penalty time.
[0118] For example, the above-mentioned determining unit can be specifically used for:
[0119] The penalty increment coefficient is determined based on the number of times the terminal device switches from a multi-network standard mode to a single-network standard mode, or the number of times the terminal device confirms that the PDCP packet drop data obtained within the monitoring period meets the target conditions.
[0120] Based on the aforementioned penalty increment coefficient and the initial target penalty duration, a new target penalty duration is determined.
[0121] In one embodiment, the determining unit described above can also be used for:
[0122] If the PDCP packet abandonment data obtained within the monitoring period does not meet the target conditions, the target penalty period will be reset to the initial target penalty period.
[0123] In one embodiment, the network standard switching device may further include an acquisition unit (not shown) and a packet discarding processing unit, wherein:
[0124] The acquisition unit is used to acquire the first sequence number value corresponding to the target data packet received by the PDCP layer and the second sequence number value corresponding to the target data packet to be delivered by the PDCP layer after the receiving unit 901 summarizes multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer.
[0125] The packet discarding unit is used to compare the first sequence number value and the second sequence number value, and discard the target data packet corresponding to the first sequence number value if the first sequence number value is less than or equal to the second sequence number value.
[0126] In one embodiment, the network standard switching device may further include a transmitting unit (not shown). The transmitting unit may be used to send a status feedback instruction to the base station after the network standard switching unit 903 switches the terminal device from a multi-network standard mode to a single-network standard mode when the PDCP packet discard data meets the target conditions. The status feedback instruction may include the packet discard status corresponding to the multiple target data packets, and the status feedback instruction may be used to instruct the base station to determine whether to switch from the state of transmitting data through different network standards to the state of transmitting data through a single network standard.
[0127] It should be noted that the above-mentioned base stations can transmit data through different network standards, and the base stations can use the Split mode for data transmission.
[0128] The aforementioned base stations transmit data through a single network standard, and can use either the primary cell group MCG bearer mode or the secondary cell group SCG bearer mode for data transmission.
[0129] As can be seen, the network standard switching device described in the above embodiments can determine whether a terminal device is suitable for simultaneously receiving data through different network standards based on PDCP packet drop data in multiple network standard modes. This allows for timely switching to a single network standard mode when PDCP packet drop data cannot meet actual needs, effectively improving packet drop in multi-network standard modes. This enhances the stability and reliability of data transmission by the terminal device, reduces user perception of packet drop, and improves the user's communication performance experience. Furthermore, by using methods such as sliding windows to determine whether the PDCP packet drop rate meets specified conditions, a refined analysis of the terminal device's packet drop status at the PDCP layer can be performed. This ensures that the terminal device can switch network standards promptly even when there is negative gain in the actual traffic splitting, improving the accuracy of the terminal device's judgment on whether to switch network standards. Moreover, by setting a mode switching cycle mechanism with a certain penalty duration, real-time monitoring of user-side data traffic ensures that the terminal device can switch or maintain a suitable network standard in a timely manner, and perform traffic splitting or cessation at appropriate times to maximize overall data traffic, thereby improving the communication performance of the terminal device.
[0130] Please see Figure 10 , Figure 10 This is a modular schematic diagram of an audio playback device disclosed in an embodiment of this application. For example... Figure 10 As shown, the audio playback device may include:
[0131] Memory 1001 storing executable program code;
[0132] Processor 1002 coupled to memory 1001;
[0133] The processor 1002 can call the executable program code stored in the memory 1001 to execute all or part of the steps in any of the network standard switching methods described in the above embodiments.
[0134] Furthermore, embodiments of this application disclose a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program enables a computer to execute all or part of the steps in any of the network standard switching methods described in the above embodiments.
[0135] Furthermore, this application further discloses a computer program product that, when run on a computer, enables the computer to execute all or part of the steps in any of the network standard switching methods described in the above embodiments.
[0136] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0137] The foregoing has provided a detailed description of a network standard switching method, apparatus, terminal device, and storage medium disclosed in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A network standard switching method, characterized in that, Applied to a terminal device, the method includes: In the multi-network standard mode, multiple target data packets sent by the base station through different network standards are received, and the multiple target data packets are summarized at the Packet Data Convergence Protocol (PDCP) layer; Based on the packet abandonment status corresponding to the multiple target data packets, obtain the PDCP packet abandonment data of the PDCP layer; If the PDCP packet rejection data meets the target conditions, the terminal device is switched from the multi-network standard mode to the single-network standard mode; the target conditions are used to characterize the situation where the terminal device receives data with negative gain in the multi-network standard mode.
2. The method according to claim 1, characterized in that, The PDCP packet abandonment data includes the PDCP packet abandonment rate; obtaining the PDCP packet abandonment data of the PDCP layer based on the packet abandonment status corresponding to the multiple target data packets includes: Get the number of target data packets received by the PDCP layer within a unit time period that have not been dropped, and get the number of target data packets dropped by the PDCP layer within the unit time period; Based on the number of received packets and the number of dropped packets, the PDCP packet drop rate of the PDCP layer within the unit time period is calculated.
3. The method according to claim 2, characterized in that, The target conditions include: The PDCP packet rejection rate of the PDCP layer is higher than the proportional threshold during the first time period; or... The PDCP layer has a PDCP packet rejection rate higher than a proportional threshold over M consecutive time periods, where M is an integer greater than 1; or, The PDCP layer has a PDCP packet drop rate higher than the proportional threshold within P time periods of the target duration, where P is an integer greater than 1.
4. The method according to any one of claims 1 to 3, characterized in that, After switching the terminal device from the multi-network standard mode to the single-network standard mode when the PDCP packet discard data meets the target conditions, the method further includes: After the target penalty duration, the terminal device will be switched back from the single-network mode to the multi-network mode.
5. The method according to claim 4, characterized in that, After the target penalty duration, and after switching the terminal device back from the single-network standard mode to the multi-network standard mode, the method further includes: If the PDCP packet abandonment data obtained within the monitoring period meets the target conditions, the terminal device is switched from the multi-network standard mode to the single-network standard mode, and a new target penalty duration is determined; the new target penalty duration is positively correlated with the number of times the terminal device switches from the multi-network standard mode to the single-network standard mode. The step of switching the terminal device from the single-network mode back to the multi-network mode after the target penalty duration is re-executed.
6. The method according to claim 5, characterized in that, The determination of the new target penalty duration includes: The penalty increment coefficient is determined based on the number of times the terminal device switches from the multi-network standard mode to the single-network standard mode, or the number of times the terminal device confirms that the PDCP packet abandonment data obtained within the monitoring period meets the target conditions. The new target penalty duration is determined based on the penalty increment coefficient and the initial target penalty duration.
7. The method according to claim 5, characterized in that, The method further includes: If the PDCP packet abandonment data obtained within the monitoring period does not meet the target conditions, the target penalty period will be reset to the initial target penalty period.
8. The method according to any one of claims 1 to 3, characterized in that, After summarizing the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer, the method further includes: Obtain the first sequence number value corresponding to the target data packet received by the PDCP layer, and obtain the second sequence number value corresponding to the target data packet to be delivered by the PDCP layer; The first sequence number value and the second sequence number value are compared. If the first sequence number value is less than or equal to the second sequence number value, the target data packet corresponding to the first sequence number value is discarded.
9. The method according to any one of claims 1 to 3, characterized in that, After switching the terminal device from the multi-network standard mode to the single-network standard mode when the PDCP packet discard data meets the target conditions, the method further includes: A status feedback instruction is sent to the base station. The status feedback instruction includes the packet abandonment status corresponding to the plurality of target data packets. The status feedback instruction is used to instruct the base station to determine whether to switch from the state of transmitting data through different network standards to the state of transmitting data through a single network standard.
10. The method according to claim 9, characterized in that, The base station transmits data through different network standards, and the base station uses the Split bearer mode for data transmission. The base station transmits data through a single network standard, and the base station uses either the primary cell group MCG bearer mode or the secondary cell group SCG bearer mode for data transmission.
11. A network standard switching device, characterized in that, The network standard switching device, applied to terminal equipment, includes: The receiving unit is used to receive multiple target data packets sent by the base station through different network standards in a multi-network standard mode, and to summarize the multiple target data packets at the Packet Data Convergence Protocol (PDCP) layer; The statistics unit is used to obtain PDCP packet abandonment data of the PDCP layer based on the packet abandonment status corresponding to the multiple target data packets; The network standard switching unit is used to switch the terminal device from the multi-network standard mode to the single-network standard mode when the PDCP packet discard data meets the target conditions; the target conditions are used to characterize the situation where the terminal device receives data with a negative gain due to data splitting in the multi-network standard mode.
12. A terminal device, characterized in that, The method includes 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 perform the method as described in any one of claims 1 to 10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Method and device for processing received data in mode switching
CN101925116A
Switching application method and switching application system of multiple network modes, and cloud storage system
CN103326959A