Control method and apparatus
By comparing the data transmission rates of LTE and NR channels in EN-DC mode and shutting down the lower-rate channel under certain conditions, the power consumption problem caused by the poor rate of NR cells is solved, achieving a balance between power consumption and data experience.
Patent Information
- Application Number
- CN202210374232.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-11
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-04-11
AI Technical Summary
When electronic devices are in EN-DC mode, if the speed of the NR cell is not as good as that of the LTE cell, it will result in a large amount of unnecessary power consumption.
When the electronic device is in dual-connection mode, the data transmission rates of the first data transmission path and the second data transmission path are obtained, and the second data transmission path with a lower rate is closed under preset conditions to avoid continuous data transmission in the path with a lower transmission rate.
It effectively reduces power consumption, improves the user data experience, and enhances the battery life of electronic devices.
Smart Images

Figure CN114666832B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a control method and device. BACKGROUND
[0002] The fifth generation mobile communication technology (5G) is a new generation of mobile communication technology, and there are two networking schemes, namely, a non-independent (Non-Standalone, NSA for short) networking and an independent (Standalone, SA for short) networking, which have obvious differences. The NSA networking is deployed based on the existing fourth generation mobile communication technology (4G) infrastructure, and part of the services and functions continue to rely on the 4G network. The advantage is that it can save construction cost and realize rapid coverage. The SA networking needs to build independent base stations, and the time cost required for large-scale coverage is high, but the network of the SA networking has higher rate and lower delay characteristics.
[0003] At present, most of the global operators have deployed NSA type enhanced mobile broadband (Enhance Mobile Broadband, eMBB for short) networks, rely on mature long term evolution (Long Term Evolution, LTE for short) network coverage, and can exert the high throughput of gNB (referring to the base station of NR network) in EN-DC. Among them, EN-DC refers to the dual connection of 5G new radio technology (New Radio, NR for short) and 4G wireless access network.
[0004] Usually, when the electronic device is in the EN-DC mode, the network of the electronic device accesses the NR secondary cell, so that the network performs more scheduling in the NR cell. However, due to network load and other factors, the rate of the NR cell may not be as good as that of the LTE cell. At this time, the rate of the NR path may be much lower than that of the LTE path, that is, most of the data goes through the LTE, and maintaining the NR connection will increase the power consumption, but the effect of improving the rate is not good.
[0005] It can be seen that when the electronic device is in the EN-DC mode, if the rate of the NR cell is not as good as that of the LTE cell, the power consumption will be large. SUMMARY
[0006] The purpose of the embodiments of the present application is to provide a control method, which can solve the problem of excessive power consumption caused by the fact that the rate of an NR cell is not as good as that of an LTE cell when an electronic device is in an EN-DC mode.
[0007] In a first aspect, the embodiments of the present application provide a control method, which comprises: in the case that a first data transmission path and a second data transmission path are simultaneously turned on in an electronic device, acquiring a first data transmission rate in the first data transmission path within a first time length, and acquiring a second data transmission rate in the second data transmission path within the first time length; and in the case that a first preset condition is met between the first data transmission rate and the second data transmission rate, turning off the second data transmission path.
[0008] In a second aspect, the embodiments of the present application provide a control device, which comprises: an acquisition module, configured to acquire a first data transmission rate in a first data transmission path within a first time length, and acquire a second data transmission rate in a second data transmission path within the first time length in the case that the first data transmission path and the second data transmission path are simultaneously turned on in an electronic device; and a closing module, configured to turn off the second data transmission path in the case that a first preset condition is met between the first data transmission rate and the second data transmission rate.
[0009] In a third aspect, the embodiments of the present application provide an electronic device, which comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and the programs or instructions are executed by the processor to implement the steps of the method according to the first aspect.
[0010] In a fourth aspect, the embodiments of the present application provide a readable storage medium, which stores programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the method according to the first aspect.
[0011] In a fifth aspect, the embodiments of the present application provide a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to run programs or instructions to implement the method according to the first aspect.
[0012] In a sixth aspect, the embodiments of the present application provide a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the method according to the first aspect.
[0013] Thus, in the embodiments of the present application, when the electronic device is in the dual connectivity mode, the two data transmission paths simultaneously perform data transmission, so as to obtain the data transmission rates of the two data transmission paths based on the first time length; if the first data transmission rate corresponding to the first data transmission path (such as the LTE path) and the second data transmission rate corresponding to the second data transmission path (such as the NR path) satisfy the first preset condition, it is considered that the cell network corresponding to the second data transmission path exists congestion phenomenon, so as to close the second data transmission path. It can be seen that, in the embodiments of the present application, the transmission rates between the two data transmission paths are compared to obtain the cell congestion result, so as to timely close the second data transmission path, avoid continuous data transmission in the path with lower transmission rate, and effectively reduce power consumption. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figures 1 to 3 is a flow chart of the control method of the embodiments of the present application;
[0015] Figure 4 is a block diagram of the control device of the embodiments of the present application;
[0016] Figure 5 is one of the hardware structure schematic diagrams of the electronic device of the embodiments of the present application;
[0017] Figure 6 is the second hardware structure schematic diagram of the electronic device of the embodiments of the present application. DETAILED DESCRIPTION
[0018] The technical solutions of the embodiments of the present application will be described in detail below with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art belong to the scope of protection of the present application.
[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, not to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually a class, not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0020] The control method provided by the embodiments of the present application will be described in detail below with reference to the drawings, through specific embodiments and their application scenarios.
[0021] Figure 1 A flow chart of a control method of one embodiment of the application is shown, which is applied to an electronic device, comprising:
[0022] Step 110: In the case that the electronic device simultaneously opens the first data transmission path and the second data transmission path, the first data transmission rate in the first data transmission path within a first time length is obtained, and the second data transmission rate in the second data transmission path within the first time length is obtained.
[0023] Optionally, in the case that the electronic device simultaneously opens the first data transmission path and the second data transmission path, the electronic device is in an EN-DC dual connection state, and correspondingly, the first data transmission path is an LTE path, and the second data transmission path is an NR path.
[0024] The application scenario of the embodiment is, for example, that the electronic device enters an NR cell and successfully accesses the cell, and the network will schedule data transmission in the NR cell.
[0025] Optionally, the network has a configuration of uplink splitting (UL Split), that is, the uplink supports two paths of LTE and NR simultaneously to carry, so that the uplink data can be routed to the NR air interface.
[0026] Correspondingly, in this step, the transmission rate of the downlink data is obtained.
[0027] Optionally, the electronic device actually calculates the rate of the packet data convergence protocol (PDCP) layer per second, and stores the LTE rate and the NR rate of the last N1 times to a database. Wherein, N1 is a positive integer, and N1>1.
[0028] It should be noted that from a certain time, the rate is stored every certain time until the last storage is completed, and the time length spanned in the whole process, that is, the first time length in this step.
[0029] For example, the rate is stored every second, and after 5 consecutive storages, the first time length is 5s.
[0030] Step 120: In the case that the first preset condition is met between the first data transmission rate and the second data transmission rate, the second data transmission path is closed.
[0031] In this step, the first preset condition is used to limit that the second data transmission rate is small enough compared with the first data transmission rate, so that it is considered that the current second data transmission rate is small, and it is considered that the NR cell is congested.
[0032] It should be noted that the application scenario of the embodiment is that 5G data and 4G data are transmitted simultaneously, and in some cases, if the 5G network signal is not good, the 4G network can be used. Therefore, in actual application, the 5G network needs to be detected. Correspondingly, in this step, the second data transmission path can be used to represent a higher level data transmission path, and the first data transmission path can be used to represent a lower level data transmission path.
[0033] In this way, in the embodiment of the application, when the electronic device is in the dual connection mode, the two data transmission paths simultaneously transmit data, so that the data transmission rates of the two data transmission paths are respectively obtained based on the first time length; if the first preset condition is met between the first data transmission rate corresponding to the first data transmission path (such as an LTE path) and the second data transmission rate corresponding to the second data transmission path (such as an NR path), it is considered that the cell network corresponding to the second data transmission path exists congestion phenomenon, so as to close the second data transmission path. It can be seen that in the embodiment of the application, the transmission rates between the two data transmission paths are compared to obtain the result of cell congestion, so as to close the second data transmission path in time, avoid continuous transmission of data in the path with low transmission rate, and effectively reduce power consumption.
[0034] In the control method of another embodiment of the application, the first data transmission rate is a first average rate in the first time length, and the second data transmission rate is a second average rate in the first time length.
[0035] Correspondingly, step 120 comprises:
[0036] Sub-step A1: in the case that the second average rate is less than the product of the first average rate and a target coefficient, the second data transmission path is closed.
[0037] The target coefficient ranges from (0, 1).
[0038] In this step, the electronic device extracts the stored LTE rate and NR rate of N1 times from the database, and if the condition "NR DL PDCP rate" < "LTE DL PDCP rate * factor (default 0.5)" is met, the second data transmission path is closed.
[0039] NR DL PDCP, which is used to represent the NR downlink packet data convergence protocol; LTE DL PDCP is used to represent the LTE downlink packet data convergence protocol. The two rates in the above conditions respectively represent the average rate. Factor is used to represent a factor, that is, a target coefficient, which is generally less than 1, and the reference value range is 0.1-0.6. The factor is used to measure the multiple relationship between the data transmission rates of the current LTE channel and the NR channel. The smaller the factor value is, the lower the NR rate is compared with the LTE rate, and the lower the threshold for closing the second data transmission channel is.
[0040] In the embodiment, the specific content of the first preset condition that can be implemented is provided. Through such content setting, the conclusion of cell congestion can be obtained, so that the second data transmission channel can be closed in time.
[0041] In the flow of the control method of another embodiment of the application, step 120 comprises:
[0042] Sub-step B1: In the case where the first preset condition is met between the first data transmission rate and the second data transmission rate, the data buffer information of the second data transmission channel in the second time length is obtained.
[0043] In the embodiment, in order to improve the accuracy of judging cell congestion and avoid the phenomenon of false closing, when the first preset condition is met between the first data transmission rate and the second data transmission rate, the NR cell congestion judgment link is first entered, and the channel is temporarily closed.
[0044] In the congestion judgment link, the uplink congestion of the currently accessed NR cell is mainly judged for the second data transmission channel, so that the second data transmission channel is closed in the case where the judgment result is the uplink congestion of the NR cell, so as to reduce power consumption and save power consumption.
[0045] Sub-step B2: In the case where the data buffer information of the second data transmission channel in the second time length meets the second preset condition, the second data transmission channel is closed.
[0046] In this step, if the data buffer information of the second data transmission channel in the second time length meets the second preset condition, the congestion flag bit Flag of the current NR cell is "1", and the second data transmission channel can be closed; if the data buffer information of the second data transmission channel in the second time length does not meet the second preset condition, the congestion flag bit Flag of the current NR cell is "0", and the second data transmission channel is not closed.
[0047] Wherein, the congestion flag bit Flag of the current NR cell is "1", and the corresponding judgment result is that the current NR cell is congested; the congestion flag bit Flag of the current NR cell is "0", and the corresponding judgment result is that there is no congestion phenomenon in the current NR cell.
[0048] In this step, the second preset condition is used to limit that the data transmission of the second data transmission path is slow in the second time length, and more data is buffered in the second data transmission path, which indicates that the current NR cell is congested.
[0049] In this embodiment, a judgment link is added before the path is closed. In the judgment link, the data buffering information of the second data transmission path can be obtained based on the second time length, and the judgment result of the current cell congestion can be obtained in the case that the data buffering information of the second data transmission path meets the second preset condition. It can be seen that, based on this embodiment, the cell congestion can be evaluated according to the data transmission conditions of the two time lengths, so that the accuracy of the final cell congestion conclusion is higher, and the path is prevented from being closed by mistake, so as to prioritize to ensure the online experience of users.
[0050] In the flow of the control method of another embodiment of the application, step B2 comprises:
[0051] Sub-step C1: closing the second data transmission path in the case that the number of times of discarding timeout data in the second data transmission path meets a preset number of times in the second time length.
[0052] Optionally, in this embodiment, the value of the PDCP discard timer (PDCP DiscardTimer) configured by the network wireless resource bearer is limited, and the common network configuration has 300ms and 1500ms.
[0053] Optionally, the second time length is a target multiple of the value of the PDCP discard timer.
[0054] For example, the value of the PDCP discard timer configured by the network wireless resource bearer is 300ms, and the second time length is 1500ms (the target multiple is "5"), so that when the number of times of timeout of the PDCP discard timer detected in the second time length reaches 5 times, it is considered that the NR cell is congested.
[0055] For another example, the value of the PDCP discard timer configured by the network wireless resource bearer is 1500ms, and the second time length is 1500ms (the target multiple is "1"), so that when the number of times of timeout of the PDCP discard timer detected reaches 1 time, it is considered that the NR cell is congested.
[0056] Correspondingly, when the number of times of discarding the timeout data in the second data transmission path satisfies the preset number of times, the congestion flag bit Flag of the current NR cell is obtained as "1".
[0057] In the embodiment, a method for judging NR cell congestion is provided. Generally, if the NR cell is congested, the data in the NR path cannot be normally transmitted, thereby causing the data in the path to be buffered. When the duration of the buffered data staying in the path reaches the set duration of the PDCP discard timer, the buffered data is discarded to retransmit new data. Thus, if the phenomenon of discarding data continuously occurs in the second duration, it is judged that the NR cell is congested. It can be seen that, based on the conclusion that the cell may be congested, the embodiment further detects the data buffering condition of the second data transmission path in another duration to determine whether the NR cell is congested, thereby improving the accuracy of judging the cell congestion, and further closing the second data transmission path in time when the NR cell is congested.
[0058] Sub-step C2: at the end of the second duration, if the data capacity buffered in the second data transmission path satisfies the preset capacity, the second data transmission path is closed.
[0059] Optionally, in the embodiment, the value of the PDCP discard timer configured by the network wireless resource bearer is infinity, and the default is 65535 ms.
[0060] In the embodiment, if the network is configured as infinity, whether the PDCP data packet buffer size (PB_size for short) at the end of the second duration exceeds a certain threshold (such as 1000 bytes) can be used to obtain whether the congestion flag bit Flag of the current NR cell is "1". That is, when PB_size>1000 bytes (Byte), the congestion flag bit Flag of the current NR cell is "1", otherwise, the congestion flag bit Flag of the current NR cell is "0".
[0061] In the embodiment, another method for judging NR cell congestion is provided. Generally, if the NR cell is congested, the data in the NR path cannot be normally transmitted, thereby causing the data in the path to be buffered. When the data capacity buffered at the end of the second duration is greater than a certain threshold, it is judged that the NR cell is congested. Based on the conclusion that the cell may be congested, the embodiment further detects the data buffering condition of the second data transmission path in another duration to determine whether the NR cell is congested, thereby improving the accuracy of judging the cell congestion, and further closing the second data transmission path in time when the NR cell is congested.
[0062] In the flow of the control method of another embodiment of the present application, step 120 comprises:
[0063] Sub-step D1: in the case that the data capacity of the second data transmission path in the third time duration continuously greater than zero, at the end time of the third time duration, the second data transmission path is closed.
[0064] In the present embodiment, in the case that the data buffer information of the second data transmission path in the second time duration satisfies the second preset condition, at the end time of the second time duration, the first timer is started, and the time duration set by the timer is the third time duration. In the third time duration, if the data capacity of the second data transmission path buffer continuously greater than zero, it indicates that the current buffered data has not been sent out, and the cell has not changed, so that at the end time of the third time duration, the first timer is paused and reset, and the conclusion of the NR cell uplink congestion is obtained.
[0065] On the contrary, if the data capacity of the second data transmission path buffer is zero at a certain time in the third time duration, it indicates that all the current buffered data has been sent out, or the cell has changed, so that at the zero time, the first timer is paused and reset, and the conclusion that there is no NR cell uplink congestion phenomenon is obtained.
[0066] Optionally, in the application scenario of step C1, the first timer is defined as PDCP DCount-Timer; and in the application scenario of step C2, the first timer is defined as PDCP P-Timer.
[0067] Wherein, according to different network configurations, the time duration set by the first timer can be different.
[0068] In the present embodiment, in the case that the data buffered in the second data transmission path satisfies the second preset condition in the second time duration, a third time duration detection scheme is further proposed to improve the judgment method of the NR cell congestion. Based on the preliminary conclusion that the cell may be congested, the detection of the data buffer of the second data transmission path in the second time duration is further verified to further verify the conclusion of the NR cell congestion, and after the verification is successful, the detection of the data buffer of the second data transmission path in the third time duration is further verified to finally determine whether the NR cell is congested. That is, only when all the three time durations are obtained, the conclusion of the NR cell congestion is outputted to exclude the phenomenon of temporary congestion of the NR cell. It can be seen that the present embodiment can ensure high accuracy of the cell congestion judgment, so as to close the second data transmission path in time when the NR cell is congested.
[0069] In the flow of the control method of another embodiment of the present application, after step 120, the method further comprises:
[0070] Sub-step E1: turn on the second data transmission path after the fourth time length.
[0071] In the present application, if the congestion flag bit Flag = 1, it means that there is more uplink data to be transmitted in the current NR path, but the network does not have enough uplink resource scheduling, resulting in that the uplink data packet cannot be sent in time, which means that the NR rate is much lower than the LTE rate at this time, most of the traffic goes through the LTE path, and the LTE rate is higher. Therefore, the NR path can be closed.
[0072] Further, when the second data transmission path is closed, a second timer (T_FakeSCG) is started.
[0073] During the operation of T_FakeSCG, when there is no change in the cell, the network is prevented from adding the NR cell again, and the second data transmission path is always closed. After T_FakeSCG expires, the NR cell can be added, and the second data transmission path is turned on to ensure NR data transmission.
[0074] Sub-step E2: turn on the second data transmission path when the electronic device switches to access a cell.
[0075] In this step, during the operation of T_FakeSCG, when the cell changes, such as switching from the first cell to the second cell, at the switching time, T_FakeSCG is suspended, the NR cell can be added, and the second data transmission path is turned on to ensure NR data transmission.
[0076] In this step, when the electronic device simultaneously turns on the first data transmission path and the second data transmission path, the electronic device accesses the first cell, and the first cell and the second cell are different cells.
[0077] The setting time length of T_FakeSCG corresponds to the fourth time length.
[0078] In this embodiment, a method for restoring the EN-DC dual connection mode is provided. After the second data transmission path is closed, a timer can be started to set the fourth time length. On the one hand, during the operation of the timer, if the access cell changes, the timer is suspended and reset to restore the EN-DC dual connection mode and re-access the NR cell; on the other hand, during the operation of the timer, if the access cell does not change, the EN-DC dual connection mode is restored to re-access the NR cell until the timer stops working.
[0079] In the flow of the control method of another embodiment of the present application, after step 120, the method further comprises:
[0080] Step F1: sending target information to the base station, the target information being used to instruct the base station to release the accessed cell.
[0081] In the embodiment, the electronic device sends target information to the network base station after closing the NR path.
[0082] Optionally, the target information of the secondary cell group failure (SCG Failure) is sent to the network base station, and the NR connection is released when the base station receives the target information.
[0083] Optionally, the target information includes a cause value, and the cause value can be set as T310_EXPIRY. The cause value is used to report to the network to release the SCG connection when the cell is congested.
[0084] Further, after releasing the NR connection, the radio resource control (RRC) module closes the B1 measurement switch of the EN-DC, so that the single connection between the electronic device and the network is always maintained during the closing of the second data transmission path.
[0085] In the embodiment, when the electronic device closes the second data transmission path, the target information is sent to the base station, so that the base station can cooperate with the electronic device to ensure that the second data transmission path remains closed, thereby reducing the power consumption of the electronic device while improving the data experience of the user in a specific network scenario.
[0086] In the above embodiments of the present application, the NR congestion judgment in EN-DC is mainly described, which is also applicable to SA network, which is not described here.
[0087] In summary, compared with only using the condition that the traffic is less than a threshold (such as 1 Mbps) for a period of time to determine whether to close the EN-DC dual connection mode to prolong the battery life of the electronic device, the present embodiment uses multiple conditions to determine whether to close the EN-DC dual connection mode to prolong the battery life of the electronic device, thereby excluding the temporary NR uplink congestion phenomenon.
[0088] Referring to Figure 2 , part of the flow included in the present application is shown, in which when it is judged that the current NR rate is low, the "NR cell congestion judgment" is entered, if the congestion condition is met, that is, the NR cell uplink congestion flag bit Flag is "1", the NR path is closed, and the B1 measurement switch of the current EN-DC is closed. On the contrary, when it is judged that the current NR rate is not low, or the NR cell uplink congestion flag bit Flag is "0", the EN-DC dual connection mode is maintained.
[0089] Referring to Figure 3, shows part of the flow included in the present application, in which, according to the network configuration of different networks, different timer starting conditions can be set in the case of a large amount of data buffering in the NR path, so as to further judge the congestion of the NR cell during the working period of the timer according to whether the buffered data in the NR path is cleared, and finally obtain the uplink congestion flag bit of the NR cell.
[0090] It can be seen that in the case of connecting the electronic device to the EN-DC network, when the data transmission of the NR cell occurs congestion, there is actually no effect of acceleration, but the application may be easy to appear the problem of card and flow. The innovation of the present application is to provide a method for deciding to close EN-DC based on the data transmission state, so as to balance between power consumption and data experience. Among them, when the data service encounters poor NR cell rate, the EN-DC acceleration is automatically closed, which can reduce the user data card and reduce the standby power consumption of the electronic device, thereby improving the data experience of the user in some specific NR secondary cell, and at the same time improving the endurance of the electronic device.
[0091] The control method provided in the embodiments of the present application can be executed by the control device. In the embodiments of the present application, the control device is taken as an example to execute the control method, and the control device provided in the embodiments of the present application is described.
[0092] Figure 4 A block diagram of the control device of another embodiment of the present application is shown, which includes:
[0093] The acquisition module 10 is configured to acquire a first data transmission rate in the first data transmission path within a first time period and a second data transmission rate in the second data transmission path within the first time period when the electronic device simultaneously opens the first data transmission path and the second data transmission path.
[0094] The closing module 20 is configured to close the second data transmission path when a first preset condition is met between the first data transmission rate and the second data transmission rate.
[0095] Thus, in the embodiments of the present application, when the electronic device is in the dual connectivity mode, the two data transmission paths simultaneously perform data transmission, so that the data transmission rates of the two data transmission paths are respectively obtained based on the first time length; if the first preset condition is met between the first data transmission rate corresponding to the first data transmission path (such as the LTE path) and the second data transmission rate corresponding to the second data transmission path (such as the NR path), it is considered that the cell network corresponding to the second data transmission path exists congestion phenomenon, so as to close the second data transmission path. It can be seen that in the embodiments of the present application, the transmission rates between the two data transmission paths are compared to obtain the result of cell congestion, so as to timely close the second data transmission path, avoid continuous transmission of data in the path with lower transmission rate, and effectively reduce power consumption.
[0096] Optionally, the first data transmission rate is a first average rate in the first time length, and the second data transmission rate is a second average rate in the first time length.
[0097] The closing module 20 comprises:
[0098] The first closing unit is configured to close the second data transmission path in the case that the second average rate is less than the product of the first average rate and a target coefficient.
[0099] The target coefficient is in the range of (0, 1).
[0100] Optionally, the closing module 20 comprises:
[0101] The obtaining unit is configured to obtain data buffer information of the second data transmission path in a second time length in the case that the first preset condition is met between the first data transmission rate and the second data transmission rate.
[0102] The second closing unit is configured to close the second data transmission path in the case that the data buffer information of the second data transmission path in the second time length meets a second preset condition.
[0103] Optionally, the second closing unit comprises:
[0104] The first closing sub-unit is configured to close the second data transmission path in the case that the number of times of discarding timeout data in the second data transmission path in the second time length meets a preset number of times; or,
[0105] The second closing sub-unit is configured to close the second data transmission path in the case that the data capacity buffered in the second data transmission path at the end of the second time length meets a preset capacity.
[0106] Optionally, the second closing unit comprises:
[0107] The third closing sub-unit is configured to close the second data transmission path at the end of the third time length, in the case that the data capacity of the second data transmission path buffer in the third time length is greater than zero.
[0108] Optionally, the apparatus further comprises:
[0109] The first opening module is configured to open the second data transmission path after the fourth time length; or
[0110] The second opening module is configured to open the second data transmission path in the case that the electronic device switches to access a cell.
[0111] Optionally, the apparatus further comprises:
[0112] The sending module is configured to send target information to the base station, the target information being used to instruct the base station to release the accessed cell.
[0113] The control apparatus in the embodiments of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The electronic device can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application are not limited in this regard.
[0114] The control apparatus in the embodiments of the present application can be an apparatus with a motion system. The motion system can be an Android motion system, an ios motion system, or other possible motion systems, and the embodiments of the present application are not limited in this regard.
[0115] The control apparatus provided in the embodiments of the present application can implement each process implemented by the method embodiments, and thus repeated details are not described herein.
[0116] Optionally, as Figure 5As shown, the embodiments of the present application further provide an electronic device 100, comprising a processor 101, a memory 102, a program or instruction stored in the memory 102 and executable on the processor 101, the program or instruction being executed by the processor 101 to implement each step of any of the above control method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0117] It should be noted that the electronic device of the embodiments of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0118] Figure 6 To achieve the hardware structure of an electronic device of the embodiments of the present application.
[0119] The electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc.
[0120] Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for powering each component, and the power supply can be logically connected to the processor 1010 through a power management system, so as to realize the functions of managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the figure, or combine certain components, or different component arrangements, which are not described here.
[0121] The processor 1010 is configured to, in a case where the electronic device simultaneously opens a first data transmission path and a second data transmission path, acquire a first data transmission rate in the first data transmission path within a first time length, and acquire a second data transmission rate in the second data transmission path within the first time length; and in a case where a first preset condition is met between the first data transmission rate and the second data transmission rate, close the second data transmission path.
[0122] In this way, in the embodiments of the present application, when the electronic device is in the dual connectivity mode, the two data transmission paths simultaneously perform data transmission, so that the data transmission rates of the two data transmission paths are respectively obtained based on the first time length; if the first preset condition is met between the first data transmission rate corresponding to the first data transmission path (such as the LTE path) and the second data transmission rate corresponding to the second data transmission path (such as the NR path), it is considered that the cell network corresponding to the second data transmission path exists congestion phenomenon, so as to close the second data transmission path. It can be seen that in the embodiments of the present application, the transmission rates between the two data transmission paths are compared to obtain the cell congestion result, so as to timely close the second data transmission path, avoid continuous transmission of data in the path with low transmission rate, and effectively reduce power consumption.
[0123] Optionally, the first data transmission rate is a first average rate in the first time length, and the second data transmission rate is a second average rate in the first time length; the processor 1010 is further configured to close the second data transmission path in a case where the second average rate is less than a product of the first average rate and a target coefficient, and the target coefficient ranges from 0 to 1.
[0124] Optionally, the processor 1010 is further configured to obtain data buffering information of the second data transmission path in a second time length in a case where the first preset condition is met between the first data transmission rate and the second data transmission rate; and close the second data transmission path in a case where the data buffering information of the second data transmission path in the second time length meets a second preset condition.
[0125] Optionally, the processor 1010 is further configured to close the second data transmission path in a case where a number of times of discarding timeout data in the second data transmission path in the second time length meets a preset number of times; and close the second data transmission path at an end time of the second time length in a case where a data capacity buffered in the second data transmission path meets a preset capacity.
[0126] Optionally, the processor 1010 is further configured to close the second data transmission path at an end time of a third time length in a case where a data capacity buffered in the second data transmission path in the third time length is greater than zero.
[0127] Optionally, the processor 1010 is further configured to open the second data transmission path after a fourth time length; and open the second data transmission path in a case where the electronic device switches to access a cell.
[0128] Optionally, the processor 1010 is further configured to send target information to a base station, the target information being used to instruct the base station to release a cell accessed.
[0129] It can be seen that in the case of connecting the electronic device to the EN-DC network, when the NR cell data transmission occurs congestion, there is actually no effect of acceleration, but the application may be stuck and the flow problem may occur. The innovation of the present application is to provide a method for deciding to close EN-DC based on the data transmission state, so as to balance between power consumption and data experience. When the data service encounters poor NR cell rate, the EN-DC acceleration is automatically closed, which can reduce the user data sticking and reduce the standby power consumption of the electronic device, thereby improving the data experience of the user in some specific NR secondary cell, and at the same time improving the endurance of the electronic device.
[0130] It should be understood that in the embodiments of the present application, the input unit 1004 can include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes image data of still pictures or video images obtained by an image capture device (such as a camera) in a video image capture mode or an image capture mode. The display unit 1006 can include a display panel 10061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 can include two parts of a touch detection device and a touch controller. The other input devices 10072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), trackballs, mice, motion sticks, and the like, which will not be described here. The memory 1009 can be used to store software programs and various data, including but not limited to application programs and action systems. The processor 1010 can integrate an application processor and a modem processor, wherein the application processor mainly processes action systems, user pages and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1010.
[0131] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), etc. In addition, the memory 1009 can include a volatile memory or a non-volatile memory, or the memory 1009 can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.
[0132] The processor 1010 can include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1010.
[0133] The embodiments of the present application also provide a readable storage medium, the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned control method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0134] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0135] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions to realize the processes of the above control method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0136] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system or a system on chip, etc.
[0137] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to realize the processes of the above control method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0138] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in the opposite order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0139] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part that contributes to the prior art, which is stored in a storage medium (such as a ROM / RAM, a magnetic disc, an optical disc), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
[0140] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.
Claims
1. A control method characterized by, The method comprises: In the case that the electronic device simultaneously opens the first data transmission path and the second data transmission path, acquiring a first data transmission rate in the first data transmission path within a first time length, and acquiring a second data transmission rate in the second data transmission path within the first time length; In the case that a first preset condition is met between the first data transmission rate and the second data transmission rate, closing the second data transmission path; the first preset condition is that a second average rate is less than a product of a first average rate and a target coefficient; the target coefficient ranges from 0 to 1; the first data transmission rate is the first average rate within the first time length, and the second data transmission rate is the second average rate within the first time length; The closing of the second data transmission path in the case that the first preset condition is met between the first data transmission rate and the second data transmission rate comprises: In the case that the first preset condition is met between the first data transmission rate and the second data transmission rate, acquiring data cache information of the second data transmission path within a second time length; In the case that a preset number of times of discarding timeout data in the second data transmission path within the second time length is met, closing the second data transmission path; or, In the case that a preset data capacity cached in the second data transmission path at an end moment of the second time length is met, closing the second data transmission path.
2. The method of claim 1, wherein, The closing of the second data transmission path comprises: In the case that a data capacity cached in the second data transmission path within a third time length is continuously greater than zero, closing the second data transmission path at an end moment of the third time length.
3. The method of claim 1, wherein, After the closing of the second data transmission path, the method further comprises: Opening the second data transmission path after a fourth time length; or In the case that the electronic device switches to access a cell, opening the second data transmission path.
4. The method of claim 1, wherein, After the closing of the second data transmission path, the method further comprises: Sending target information to a base station, the target information being used to instruct the base station to release a cell accessed.
5. A control device characterized by comprising: The apparatus comprises: An acquiring module, configured to acquire a first data transmission rate in a first data transmission path within a first time length and acquire a second data transmission rate in a second data transmission path within the first time length in the case that an electronic device simultaneously opens the first data transmission path and the second data transmission path; A closing module, configured to close the second data transmission path in the case that a first preset condition is met between the first data transmission rate and the second data transmission rate; the first preset condition is that a second average rate is less than a product of a first average rate and a target coefficient; the target coefficient ranges from 0 to 1; the first data transmission rate is the first average rate within the first time length, and the second data transmission rate is the second average rate within the first time length; The closing module comprises: The acquisition unit is configured to acquire data buffer information of the second data transmission path within a second time length when a first preset condition is met between the first data transmission rate and the second data transmission rate. The first closing sub-unit is configured to close the second data transmission path when a preset number of times of discarding timeout data in the second data transmission path within the second time length is met. The second closing sub-unit is configured to close the second data transmission path when a preset data capacity buffered in the second data transmission path at an end time of the second time length is met.
6. The apparatus of claim 5, wherein The third closing sub-unit is configured to close the second data transmission path at an end time of a third time length when a data capacity buffered in the second data transmission path within the third time length is greater than zero.
7. The apparatus of claim 5, wherein, The apparatus further includes: The first opening module is configured to open the second data transmission path after a fourth time length. The second opening module is configured to open the second data transmission path when the electronic device switches to access a cell.
8. The apparatus of claim 5, wherein, The apparatus further includes: The sending module is configured to send target information to a base station, the target information being used to instruct the base station to release a cell accessed.
Citation Information
Patent Citations
Control method and device of electronic equipment, terminal and storage medium
CN112543487A
Communication network setting method and terminal equipment
CN113556804A