CN112804718B - Network switching method, terminal and storage medium - Google Patents
Network switching method, terminal and storage medium Download PDFInfo
- Publication number
- CN112804718B CN112804718B CN201911104900.XA CN201911104900A CN112804718B CN 112804718 B CN112804718 B CN 112804718B CN 201911104900 A CN201911104900 A CN 201911104900A CN 112804718 B CN112804718 B CN 112804718B
- Authority
- CN
- China
- Prior art keywords
- network
- cell
- signal strength
- target cell
- service capability
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title abstract description 31
- 238000004891 communication Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000005540 biological transmission Effects 0.000 description 36
- 238000013507 mapping Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000012790 confirmation Methods 0.000 description 6
- 238000012937 correction Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000007781 signaling event Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0058—Transmission of hand-off measurement information, e.g. measurement reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及通信技术,公开了一种网络切换方法、终端及存储介质。所述方法包括:获取用于表征当前接入小区服务能力的服务能力性能指标;根据所述服务能力指标对获取到的所述当前接入小区的网络实际信号强度进行修正,得到修正后的信号强度;若所述修正后的信号强度满足预设的网络切换条件,进行网络切换。使得终端的信号强度与终端实际从当前接入小区获得的网络服务质量相匹配,能够更准确地判断是否进行网络切换,从而实现优化终端功耗的目的。
The present invention relates to communication technology, and discloses a network switching method, a terminal and a storage medium. The method comprises: obtaining a service capability performance index for characterizing the service capability of a currently accessed cell; correcting the actual network signal strength of the currently accessed cell obtained according to the service capability index to obtain a corrected signal strength; and performing network switching if the corrected signal strength meets a preset network switching condition. The signal strength of the terminal is matched with the network service quality actually obtained by the terminal from the currently accessed cell, so that it is possible to more accurately determine whether to perform network switching, thereby achieving the purpose of optimizing the power consumption of the terminal.
Description
技术领域Technical Field
本发明涉及通信技术领域,特别涉及一种网络切换方法、终端及存储介质。The present invention relates to the field of communication technology, and in particular to a network switching method, a terminal and a storage medium.
背景技术Background Art
目前,第五代移动通信网络(5th Generation Mobile Network,简称“5G”)处于普及期,同时第四代移动通信网络(4th Generation Mobile Network,简称“4G”)依然广泛部署,相较于4G网络,5G网络具有低时延、高速率的特点,但5G网络的功耗也显著高于4G网络。因此如何精准优化5G终端功耗已成为重要的课题。由于5G终端既可以连接5G网络,也可以连接4G网络,所以终端往往在5G网络质量较差的情况下将网络切换至4G网络,以降低终端功耗。At present, the fifth generation mobile communication network (5th Generation Mobile Network, referred to as "5G") is in the popularization period, while the fourth generation mobile communication network (4th Generation Mobile Network, referred to as "4G") is still widely deployed. Compared with the 4G network, the 5G network has the characteristics of low latency and high speed, but the power consumption of the 5G network is also significantly higher than that of the 4G network. Therefore, how to accurately optimize the power consumption of 5G terminals has become an important issue. Since 5G terminals can connect to both 5G networks and 4G networks, terminals often switch the network to 4G networks when the quality of the 5G network is poor to reduce terminal power consumption.
然而,本申请的发明人发现,现有技术中,往往出现以下情况:终端测量到接入基站小区的信号强度指标良好,但是不能够为终端提供与信号强度相匹配的网络资源,且由于信号强度指标并未满足网络切换门限,因此持续保持在当前的5G基站小区,无法切换至服务能力更佳的4G基站小区,造成了功耗浪费。However, the inventors of the present application discovered that in the prior art, the following situation often occurs: the terminal measures that the signal strength index of the access base station cell is good, but cannot provide the terminal with network resources that match the signal strength, and because the signal strength index does not meet the network switching threshold, it continues to remain in the current 5G base station cell and cannot switch to a 4G base station cell with better service capabilities, resulting in waste of power consumption.
发明内容Summary of the invention
本发明实施例的目的在于提供一种网络切换方法、终端及存储介质。The purpose of the embodiments of the present invention is to provide a network switching method, a terminal and a storage medium.
为解决上述技术问题,本发明的实施例提供了一种网络切换方法,包括:获取用于表征当前接入小区服务能力的服务能力性能指标;根据所述服务能力性能指标对实际测量到的所述当前接入小区的网络实际信号强度进行修正,得到修正后的信号强度;若所述修正后的信号强度满足预设的网络切换条件,进行网络切换。To solve the above technical problems, an embodiment of the present invention provides a network switching method, including: obtaining a service capability performance indicator used to characterize the service capability of a currently accessed cell; correcting the actually measured network actual signal strength of the currently accessed cell according to the service capability performance indicator to obtain a corrected signal strength; if the corrected signal strength meets a preset network switching condition, performing a network switching.
本发明的实施例还提供了一种网络切换终端,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如上述的网络切换方法。An embodiment of the present invention also provides a network switching terminal, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the network switching method as described above.
本发明的实施例还提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现如上述的网络切换方法。An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the network switching method as described above is implemented.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定。One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.
图1是根据本发明第一实施例中的网络切换方法的流程图;FIG1 is a flow chart of a network switching method according to a first embodiment of the present invention;
图2是根据本发明第一实施例中的无线协议标准的结构示意图;2 is a schematic diagram of the structure of a wireless protocol standard according to a first embodiment of the present invention;
图3是根据本发明第二实施例中的网络切换方法的流程图;3 is a flow chart of a network switching method according to a second embodiment of the present invention;
图4是根据本发明第二实施例中的网络切换决策具体过程的流程图;4 is a flow chart of a specific process of network switching decision according to a second embodiment of the present invention;
图5是根据本发明第三实施例中的网络切换方法的流程图;5 is a flow chart of a network switching method according to a third embodiment of the present invention;
图6是根据本发明第四实施例中的终端的结构示意图。FIG. 6 is a schematic diagram of the structure of a terminal according to a fourth embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及各实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and various embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。在本发明各实施例中,提到的终端可以是各种能够连接移动网络的终端设备,例如手机,平板电脑等,在此不一一例举。It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In the embodiments of the present invention, the terminal mentioned can be various terminal devices that can connect to a mobile network, such as a mobile phone, a tablet computer, etc., which are not listed one by one here.
本发明的第一实施例涉及一种网络切换方法,本实施例应用于终端,如用户手机或平板电脑等。在本实施例中,获取用于表征当前接入小区服务能力的服务能力性能指标;根据服务能力性能指标对实际测量到的当前接入小区的网络实际信号强度进行修正,得到修正后的信号强度;若修正后的信号强度满足预设的网络切换条件,进行网络切换。The first embodiment of the present invention relates to a network switching method, which is applied to a terminal, such as a user's mobile phone or tablet computer. In this embodiment, a service capability performance indicator for characterizing the service capability of a current access cell is obtained; the actual measured network signal strength of the current access cell is corrected according to the service capability performance indicator to obtain a corrected signal strength; if the corrected signal strength meets a preset network switching condition, the network switching is performed.
下面结合附图,对本实施例作进一步阐述。This embodiment is further described below in conjunction with the accompanying drawings.
本实施例中的网络切换方法如图1所示,具体包括:The network switching method in this embodiment is shown in FIG1 , and specifically includes:
步骤101,获取用于表征当前接入小区服务能力的服务能力性能指标。Step 101: Obtain a service capability performance indicator for characterizing the service capability of a current access cell.
具体地说,当终端从小区基站获取到小区系统消息SIB时,触发执行步骤101。本实施例中的小区服务能力,也就是终端与小区基站之间的数据传输质量,由服务能力性能指标来表征。其中,由于小区基站为终端分配的信道资源直接决定了终端与小区之间的网络上行/下行速率,对数据的传输质量影响较大,因此,可以将小区基站为终端分配的信道资源作为服务能力性能指标。在实际应用中,上述服务能力性能指标还可以包括:帧包确认响应速率、帧包误码率或重传率(Block Error Ratio,简称BLER)、以及网络授权终端的发送数据资源块数(Grant)等等,在此不一一例举。Specifically, when the terminal obtains the cell system message SIB from the cell base station, step 101 is triggered. The cell service capability in this embodiment, that is, the data transmission quality between the terminal and the cell base station, is characterized by a service capability performance indicator. Among them, since the channel resources allocated by the cell base station to the terminal directly determine the network uplink/downlink rate between the terminal and the cell, and have a greater impact on the data transmission quality, the channel resources allocated by the cell base station to the terminal can be used as a service capability performance indicator. In practical applications, the above-mentioned service capability performance indicators may also include: frame packet confirmation response rate, frame packet error rate or retransmission rate (Block Error Ratio, referred to as BLER), and the number of data resource blocks (Grant) authorized by the network to send the terminal, etc., which are not listed one by one here.
小区基站为终端分配的信道资源也就是终端与小区基站间数据传输速率的理论峰值,由终端与小区基站协商的MCS(调制算法策略,Modulation and Coding Scheme)来确定,当调制算法策略的等级越高,则数据传输速率的理论峰值越高。调制算法策略决定了终端可以选择的TBS数据资源传输块大小、数据块的数量、资源层数以及所采用的调制算法。The channel resources allocated by the cell base station to the terminal, that is, the theoretical peak value of the data transmission rate between the terminal and the cell base station, are determined by the MCS (Modulation and Coding Scheme) negotiated between the terminal and the cell base station. The higher the level of the modulation algorithm strategy, the higher the theoretical peak value of the data transmission rate. The modulation algorithm strategy determines the TBS data resource transmission block size, the number of data blocks, the number of resource layers, and the modulation algorithm used that the terminal can select.
TBS(传输数据块大小,Transferblocksize),每一个时隙内传输数据块的数量以及资源层数均可以直接从移动无线网络协议中抽象出的MAC层(媒体接入控制层,MediaAccess Control)读取到的PDSCH/PUSCH(物理上行/下行共享信道)的状态中获取。其中,TBS的值越大,则终端与小区基站之间的数据传输速率越高;数据块的数量,也就是在每一个时隙基站分配给终端的传输的数据块的个数,也就是说数据块的个数越多,则终端与小区基站之间的数据传输速率越高;资源层数,与MIMO(多收发技术)相关,网络协议分配给终端的接收/发送通道越多,则层数越多,则意味着在其他参数相同的情况下,数据传输速率越高。TBS (Transfer Block Size), the number of data blocks transmitted in each time slot, and the number of resource layers can be directly obtained from the state of PDSCH/PUSCH (physical uplink/downlink shared channel) read by the MAC layer (Media Access Control) abstracted from the mobile wireless network protocol. Among them, the larger the TBS value, the higher the data transmission rate between the terminal and the cell base station; the number of data blocks, that is, the number of data blocks allocated to the terminal for transmission by the base station in each time slot, that is, the more data blocks, the higher the data transmission rate between the terminal and the cell base station; the number of resource layers is related to MIMO (multiple transceiver technology). The more receiving/transmitting channels the network protocol allocates to the terminal, the more layers there are, which means that when other parameters are the same, the data transmission rate is higher.
基于上述说明可以理解,小区基站为终端分配的信道资源,以数据传输速率体现,而终端与小区基站间实际的数据传输速率,既可以直接从MAC层中获取相关数据,同时也可以根据从MAC层中获取到的TBS、数据块的数量、资源层数以及调制算法来得到。Based on the above description, it can be understood that the channel resources allocated by the cell base station to the terminal are reflected in the data transmission rate, and the actual data transmission rate between the terminal and the cell base station can be obtained directly from the MAC layer. The relevant data can also be obtained based on the TBS, the number of data blocks, the number of resource layers and the modulation algorithm obtained from the MAC layer.
此外,上述其他影响小区服务能力的指标中,帧包确认响应速率可以通过获取单位时间内RLC层(无线链路控制层,Radio Link Control)中已发送数据包的数量以及已获得确认的数据包的数量,来计算得到。若已发送数据包的数量远远大于已获得确认的数据包的数量,则表示基站性能较差,回复确认包的速度慢,从而上行速率较低;帧包误码率或重传率BLER,体现了下行数据传输过程中数据的损耗,也就是实际的下行网络传输速率还需要将实际可得的信道速率与BLER相乘,因此下行BLER越高,则下行数据传输速率越低。In addition, among the other indicators that affect the cell service capability, the frame packet confirmation response rate can be calculated by obtaining the number of data packets sent and the number of data packets confirmed in the RLC layer (Radio Link Control) per unit time. If the number of sent data packets is much larger than the number of confirmed data packets, it means that the base station performance is poor and the speed of replying to the confirmation packet is slow, so the uplink rate is low; the frame packet bit error rate or retransmission rate BLER reflects the data loss during the downlink data transmission process, that is, the actual downlink network transmission rate also needs to multiply the actual available channel rate by the BLER, so the higher the downlink BLER, the lower the downlink data transmission rate.
步骤102,根据服务能力性能指标对获取到的当前接入小区的网络实际信号强度进行修正。Step 102: Correct the acquired actual network signal strength of the current access cell according to the service capability performance indicator.
具体地说,终端实时地对当前接入小区的网络信号强度进行测量,得到当前接入小区的网络实际信号强度。在小区基站处于高负荷的情况下,由于小区基站与终端之间网络连接的信号强度并不能准确地体现出小区基站实际能够提供的服务能力,所以根据当前接入小区实际的服务能力性能指标来对实际测量到的当前接入小区的网络实际信号强度进行修正,使得修正后的信号强度能够准确地体现出小区基站为终端所提供的服务能力。Specifically, the terminal measures the network signal strength of the currently accessed cell in real time to obtain the actual network signal strength of the currently accessed cell. When the cell base station is under high load, since the signal strength of the network connection between the cell base station and the terminal cannot accurately reflect the service capability that the cell base station can actually provide, the actual measured network signal strength of the currently accessed cell is corrected according to the actual service capability performance index of the currently accessed cell, so that the corrected signal strength can accurately reflect the service capability provided by the cell base station to the terminal.
更具体地,根据预设的服务能力性能指标与等效信号强度的映射关系,确定与服务能力性能指标对应的等效信号强度,然后根据等效信号强度对实际网络信号强度进行修正。进一步说,预先在预设的网络环境中,也就是模拟的理想网络状态中,小区基站的负载在常态范围内时,以不同等级的信号强度对接入小区的终端进行模拟测试,得到在不同的信号强度下,终端检测到的实际的服务能力性能指标,然后在模拟测试的信号强度与该信号强度下获取到的服务能力性能指标之间建立映射关系,模拟测试的信号强度即可理解为等效信号强度,因此,可通过一张等效信号表保存该映射关系。另外,由于实际应用中,网络情况无法达到理想值,会对模拟测试得到的服务能力性能指标进行一定比例的降低,在降低后的服务能力指标与信号强度之间建立映射关系。More specifically, according to the mapping relationship between the preset service capability performance indicator and the equivalent signal strength, the equivalent signal strength corresponding to the service capability performance indicator is determined, and then the actual network signal strength is corrected according to the equivalent signal strength. Further, in a preset network environment, that is, in a simulated ideal network state, when the load of the cell base station is within the normal range, the terminal accessing the cell is simulated with different levels of signal strength to obtain the actual service capability performance indicator detected by the terminal under different signal strengths, and then a mapping relationship is established between the signal strength of the simulated test and the service capability performance indicator obtained under the signal strength. The signal strength of the simulated test can be understood as the equivalent signal strength, so the mapping relationship can be saved through an equivalent signal table. In addition, since the network conditions cannot reach the ideal value in actual applications, the service capability performance indicator obtained by the simulated test will be reduced by a certain proportion, and a mapping relationship is established between the reduced service capability indicator and the signal strength.
在一个具体实现中,首先模拟建立理想的网络环境,然后充分地对每一个信号等级进行模拟,记录以下服务能力性能指标的相关数据:In a specific implementation, first simulate and establish an ideal network environment, then fully simulate each signal level, and record the relevant data of the following service capability performance indicators:
1.基站分配的TBS(Transfer block size),数据来自从MAC层读取到的PDSCH/PUSCH信道的状态,体现了基站分配的传输资源块的大小,其值越大,则下行/上行传输速率越高。1. TBS (Transfer block size) allocated by the base station. The data comes from the status of the PDSCH/PUSCH channel read from the MAC layer. It reflects the size of the transmission resource block allocated by the base station. The larger the value, the higher the downlink/uplink transmission rate.
2.基站分配的资源块数(Number of resource blocks),数据来自从MAC层读取到的PDSCH/PUSCH信道的状态,在每一个时隙,基站所分配的资源块的个数,其个数越多,那么下行/上行传输速率越高。2. The number of resource blocks allocated by the base station. The data comes from the status of the PDSCH/PUSCH channel read from the MAC layer. In each time slot, the number of resource blocks allocated by the base station is the higher the number, the higher the downlink/uplink transmission rate.
3.基站分配的资源层数(Number of layers),数据来自从MAC层读取到的PDSCH/PUSCH信道的状态,表示在每一个时隙,资源层数与MIMO相关,网络分配给终端的接收/发射通道越多,则层数越多,则下行/上行传输速率越高,传输资源块大小、个数以及资源层数相乘可计算出此时网路分配的下行/上行理论速率。3. The number of resource layers allocated by the base station. The data comes from the status of the PDSCH/PUSCH channel read from the MAC layer, which means that in each time slot, the number of resource layers is related to MIMO. The more receiving/transmitting channels the network allocates to the terminal, the more layers there are, and the higher the downlink/uplink transmission rate. The size and number of transmission resource blocks and the number of resource layers can be multiplied to calculate the theoretical downlink/uplink rate allocated by the network at this time.
4.基站在分配给终端的MCS(Modulation and Coding Scheme)调制算法策略,数据来自从MAC层读取到的PDSCH/PUSCH信道的数据编码算法,其等级越高,则单位时隙资源内携带的数据量越大,则传输资源块越大,则下行/上行传输速率越高。4. The MCS (Modulation and Coding Scheme) modulation algorithm strategy assigned to the terminal by the base station comes from the data coding algorithm of the PDSCH/PUSCH channel read from the MAC layer. The higher the level, the larger the amount of data carried in the unit time slot resource, the larger the transmission resource block, and the higher the downlink/uplink transmission rate.
5.基站和终端传输协议中的MAC层的下行BLER误码率,反过来也就是数据包的CRC校验成功率,由于数据传输过程中的数据损耗,一般情况下下行理论速率都会有所折扣,实际可得的物理层下行速率还应该乘以CRC成功率,所以BLER越低,CRC校验成功率越高,则下行传输速率越高。5. The downlink BLER bit error rate of the MAC layer in the base station and terminal transmission protocol, which is in turn the CRC check success rate of the data packet. Due to data loss during data transmission, the theoretical downlink rate will generally be discounted. The actual physical layer downlink rate should also be multiplied by the CRC success rate. Therefore, the lower the BLER and the higher the CRC check success rate, the higher the downlink transmission rate.
6.基站和终端传输协议中的RLC层的数据包重传率,数据包丢失率,数据可以从RLC层读取,数据包重传率和丢失率越高,则下行传输速率越低。6. The packet retransmission rate and packet loss rate of the RLC layer in the base station and terminal transmission protocol. Data can be read from the RLC layer. The higher the packet retransmission rate and loss rate, the lower the downlink transmission rate.
7.基站在上行指示信道中,在单位时间内的给出的Grant数量(网络授权给终端的发送数据资源块数,终端需要在基站允许发送数据的时隙或帧中发送数据),可以从MAC层或Lay1层获得,实际可得的上行理论速率,还需要乘以Grant的情况,一般情况下基站并不是每个时隙都允许终端发送数据,所以Grant率越高,上行速率越高。7. The number of Grants given by the base station in the uplink indication channel per unit time (the number of data resource blocks authorized by the network to the terminal, and the terminal needs to send data in the time slot or frame allowed by the base station) can be obtained from the MAC layer or Lay1 layer. The actual theoretical uplink rate needs to be multiplied by the Grant situation. Generally, the base station does not allow the terminal to send data in every time slot, so the higher the Grant rate, the higher the uplink rate.
8.基站对RLC层数据包的确认速度,每发送一个RLC数据包,基站会在相应的子帧回复确认,从RLC层获得已发送数据包数量,和已获得确认的数据包数量,若前者远远大于后者,则表示基站性能差回复确认包很慢,上行速率低。8. The base station's confirmation speed for RLC layer data packets. Each time an RLC data packet is sent, the base station will reply with a confirmation in the corresponding subframe, and obtain the number of sent data packets and the number of confirmed data packets from the RLC layer. If the former is much larger than the latter, it means that the base station has poor performance, replies to confirmation packets very slowly, and has a low uplink rate.
然后将每一个信号等级下记录的性能指标数据与信号等级间建立映射关系,得到等效信号表。在实际应用中,信号强度一般以以下参数中的任一项作为指标:RSRP(参考信号接收功率)、RSRQ(参考信号接收质量)、SNR(信噪比)。因此,在实际应用中,建立等效信号强度与服务能力性能指标建立映射关系时,往往会根据三项信号强度的指标分别建立映射关系,并以映射表的形式分别保存三种映射关系,即:RSRP等效信号表、RSRQ等效信号表以及SNR等效信号表。预设的网络切换门限以RSRP作为指标时,则根据RSRP等效信号表中查找到的等效信号强度来对实际信号强度进行修正。同样地,当预设的网络切换门限以RSRQ或SNR作为指标时,则根据RSRQ等效信号表或SNR等效信号表来对实际信号强度进行修正。Then, a mapping relationship is established between the performance indicator data recorded under each signal level and the signal level to obtain an equivalent signal table. In practical applications, signal strength is generally measured by any one of the following parameters: RSRP (reference signal received power), RSRQ (reference signal received quality), and SNR (signal-to-noise ratio). Therefore, in practical applications, when establishing a mapping relationship between equivalent signal strength and service capability performance indicators, mapping relationships are often established according to the three signal strength indicators, and three mapping relationships are saved in the form of mapping tables, namely: RSRP equivalent signal table, RSRQ equivalent signal table, and SNR equivalent signal table. When the preset network switching threshold uses RSRP as an indicator, the actual signal strength is corrected according to the equivalent signal strength found in the RSRP equivalent signal table. Similarly, when the preset network switching threshold uses RSRQ or SNR as an indicator, the actual signal strength is corrected according to the RSRQ equivalent signal table or the SNR equivalent signal table.
另外,实际应用中,可以针对不同类型的网络小区,如第一网络小区和第二网络小区,预先在预设网络环境中对不同网络小区的各信号强度等级进行模拟,生成不同网络小区的等效信号表。当终端驻留于第一网络小区中,则选用第一网络等效信号表来查找对应的等效信号强度对实际信号强度进行修正;当终端驻留于第二网络小区中,则选用第二网络等效信号表来查找对应的等效信号强度对实际信号强度进行修正。In addition, in actual applications, for different types of network cells, such as the first network cell and the second network cell, the signal strength levels of different network cells can be simulated in advance in a preset network environment to generate equivalent signal tables for different network cells. When the terminal resides in the first network cell, the first network equivalent signal table is used to find the corresponding equivalent signal strength to correct the actual signal strength; when the terminal resides in the second network cell, the second network equivalent signal table is used to find the corresponding equivalent signal strength to correct the actual signal strength.
在一个例子中,若根据服务能力性能指标确定的等效信号强度小于终端测量得到的实际信号强度,则对实际信号强度向下进行修正,使修正后的信号强度和与服务能力性能指标具有映射关系的等效信号强度一致。在实际应用中,由于实际的小区服务能力往往难以完全达到理想情况下的小区服务能力,因此可根据经验将修正的幅度适当减小,使得修正后的信号强度略大于等效信号强度。In one example, if the equivalent signal strength determined according to the service capability performance indicator is less than the actual signal strength measured by the terminal, the actual signal strength is corrected downward so that the corrected signal strength is consistent with the equivalent signal strength mapped to the service capability performance indicator. In practical applications, since the actual cell service capability is often difficult to fully reach the ideal cell service capability, the correction amplitude can be appropriately reduced based on experience so that the corrected signal strength is slightly greater than the equivalent signal strength.
在一个例子中,若根据服务能力性能指标确定的等效信号强度大于终端测量得到的实际信号强度,则对实际信号强度向上进行修正,使修正后的信号强度和与服务能力性能指标具有映射关系的等效信号强度一致。在实际应用中,由于实际的小区服务能力往往难以完全达到理想情况下的小区服务能力,因此可根据经验将修正的幅度适当减小,使得修正后的信号强度略小于等效信号强度。In one example, if the equivalent signal strength determined according to the service capability performance indicator is greater than the actual signal strength measured by the terminal, the actual signal strength is corrected upward so that the corrected signal strength is consistent with the equivalent signal strength mapped to the service capability performance indicator. In practical applications, since the actual cell service capability is often difficult to fully reach the ideal cell service capability, the correction amplitude can be appropriately reduced based on experience so that the corrected signal strength is slightly less than the equivalent signal strength.
步骤103,若修正后的信号强度满足预设的网络切换条件,进行网络切换。Step 103: If the corrected signal strength meets the preset network switching condition, perform network switching.
具体地说,网络切换条件为修正后的信号强度是否达到预设的网络切换门限,网络切换门限从小区系统消息SIB中获取,若修正后的信号强度未达到预设的网络切换门限,则进行网络切换;若修正后的信号强度达到预设的网络切换门限,则保持驻留在当前小区。当终端处于第一网络基站小区时,若当前基站小区的信号强度较高而提供的服务能力较差,则当修正后的信号强度小于预设的网络切换门限时,则根据终端的具体使用状态,切换至服务能力良好的第一网络基站小区或第二网络基站小区。如果终端当前处于高速率需求的使用状态,则切换至第一网络基站小区;若终端当前处于低速率需求的使用状态,则切换至第二网络基站小区。其中,第一网络的网络速率大于第二网络的网络速率,终端接入第一网络时的功耗大于接入第二网络时的功耗。Specifically, the network switching condition is whether the corrected signal strength reaches the preset network switching threshold. The network switching threshold is obtained from the cell system message SIB. If the corrected signal strength does not reach the preset network switching threshold, the network switching is performed; if the corrected signal strength reaches the preset network switching threshold, it remains in the current cell. When the terminal is in the first network base station cell, if the signal strength of the current base station cell is high but the service capability provided is poor, then when the corrected signal strength is less than the preset network switching threshold, it switches to the first network base station cell or the second network base station cell with good service capability according to the specific use status of the terminal. If the terminal is currently in a use state with a high-speed requirement, it switches to the first network base station cell; if the terminal is currently in a use state with a low-speed requirement, it switches to the second network base station cell. Among them, the network rate of the first network is greater than the network rate of the second network, and the power consumption of the terminal when accessing the first network is greater than the power consumption when accessing the second network.
在具体实现中,以第一网络为5G网络、第二网络为4G网络的应用场景为例,若终端当前接入的小区为5G基站小区,且根据服务能力性能指标确定的等效信号强度小于终端测量得到的实际信号强度,表示当前接入的5G基站小区不能为终端提供与信号强度相匹配的网络速率,则在对实际测量到的当前接入小区的网络实际信号强度向下进行修正后,判断修正后的信号强度是否小于预设的网络切换门限,若修正后的信号强度小于预设的网络切换门限,则将网络切换至信号更佳的相邻的小区中;否则,保持驻扎于当前的基站小区。如当前终端正处于使用网络的状态中且对网络速率有较高需求,则优先选择切换至5G基站小区,以保证用户的网络使用体验;如当前终端与小区基站之间的网络连接暂时空闲或对网络速率需求较低,则优先切换至4G网络,以降低终端功耗,延长终端续航时间。In the specific implementation, taking the application scenario where the first network is a 5G network and the second network is a 4G network as an example, if the cell currently accessed by the terminal is a 5G base station cell, and the equivalent signal strength determined according to the service capability performance indicator is less than the actual signal strength measured by the terminal, it means that the currently accessed 5G base station cell cannot provide the terminal with a network rate that matches the signal strength. Then, after the actual measured network signal strength of the currently accessed cell is corrected downward, it is determined whether the corrected signal strength is less than the preset network switching threshold. If the corrected signal strength is less than the preset network switching threshold, the network is switched to an adjacent cell with a better signal; otherwise, it remains stationed in the current base station cell. If the current terminal is in the state of using the network and has a high demand for the network rate, it is preferred to switch to the 5G base station cell to ensure the user's network experience; if the network connection between the current terminal and the cell base station is temporarily idle or the demand for the network rate is low, it is preferred to switch to the 4G network to reduce the terminal power consumption and extend the terminal battery life.
若终端当前接入的小区为5G基站小区,且根据服务能力性能指标确定的等效信号强度大于终端测量得到的实际信号强度,表示当前接入的5G基站小区虽然信号强度不佳,但是能够为终端提供较好的服务能力,则对信号强度向上进行修正,使得修正后的信号强度大于预设的网络切换门限,从而避免由于终端实际测量到的实际信号强度较弱而对小区基站所能提供的服务能力进行了错误的判断后,将网络切换至一个信号良好而服务能力较差的基站小区的情况。If the cell currently accessed by the terminal is a 5G base station cell, and the equivalent signal strength determined according to the service capability performance indicator is greater than the actual signal strength measured by the terminal, it means that although the signal strength of the currently accessed 5G base station cell is not good, it can provide better service capabilities for the terminal. In this way, the signal strength is corrected upward so that the corrected signal strength is greater than the preset network switching threshold, thereby avoiding the situation where the network is switched to a base station cell with good signal but poor service capability after an incorrect judgment is made on the service capability that the cell base station can provide due to the weak actual signal strength actually measured by the terminal.
在一个具体实现中,从无线通讯协议标准抽象出的与本实施例相关的无线协议标准结构如图2所示。其中,相关模块可以划分为控制面和用户面两个部分。控制面主要负责通话建立、数据激活、生成空口信令以及与核心网非接入层的交互;用户面负责业务数据的传输。In a specific implementation, the wireless protocol standard structure related to this embodiment abstracted from the wireless communication protocol standard is shown in Figure 2. Among them, the relevant modules can be divided into two parts: the control plane and the user plane. The control plane is mainly responsible for call establishment, data activation, generation of air interface signaling, and interaction with the core network non-access layer; the user plane is responsible for the transmission of service data.
控制面模块有SD(System Determination)系统选择模块,RRC(Radio ResourceControl)无线资源控制模块。SD模块对重选过程有作用,它会记录终端出厂设定的或用户设定的网络偏好,提供最优的网络系统选择决策给底层,本发明不会改变这一模块的决策逻辑。RRC模块生成空口信令向网络申请无线链路资源。The control plane module includes the SD (System Determination) system selection module and the RRC (Radio Resource Control) wireless resource control module. The SD module plays a role in the reselection process. It records the network preferences set by the terminal factory or by the user, and provides the best network system selection decision to the bottom layer. The present invention does not change the decision logic of this module. The RRC module generates air interface signaling to apply for wireless link resources from the network.
用户面即用户终端应用的数据传输,可以是HTTP/TCP/IP/UDP等上层数据协议数据包经由终端网络协议栈侧的PDCP(Packet Data Convergence Protocol)子网汇聚协议对数据包进行头压缩并重组,然后向底层协议发送。The user plane is the data transmission of the user terminal application. It can be the upper layer data protocol data packets such as HTTP/TCP/IP/UDP. The PDCP (Packet Data Convergence Protocol) subnet aggregation protocol on the terminal network protocol stack side compresses and reassembles the data packet header, and then sends it to the underlying protocol.
控制面的信令和用户面的数据都要通过底层的RLC层-MAC层-L1-RF射频控制模块将数据发送到基站。RLC(Radio Link Control)无线链路控制模块负责数据重组与传输,根据上层协议特性将数据分成透传、确认传输、非确认传输三种类型并映射到不同的逻辑信道,完成传输控制与纠错。MAC(Media Access Control)媒体接入控制模块将逻辑信道的传输映射到物理信道,完成传输控制与纠错以及解析特殊信道的接入控制信息。Lay1Manager层1控制模块负责处理数据编译码、调制解调、多天线映射以及其它电信物理层功能,根据基站分配的时隙资源对射频模块进行调度。The signaling of the control plane and the data of the user plane must be sent to the base station through the underlying RLC layer-MAC layer-L1-RF radio frequency control module. The RLC (Radio Link Control) wireless link control module is responsible for data reorganization and transmission. According to the characteristics of the upper layer protocol, the data is divided into three types: transparent transmission, confirmed transmission, and unconfirmed transmission, and mapped to different logical channels to complete transmission control and error correction. The MAC (Media Access Control) media access control module maps the transmission of the logical channel to the physical channel, completes transmission control and error correction, and parses the access control information of special channels. The Lay1Manager layer 1 control module is responsible for processing data encoding and decoding, modulation and demodulation, multi-antenna mapping and other telecommunications physical layer functions, and schedules the radio frequency module according to the time slot resources allocated by the base station.
Lay1Manager负责小区信息的测量,以及网络的切换,Lay1对当前接入小区和与当前接入小区相邻小区的测量数据还会上报给RRC,由RRC生成测量报告发送给网络,等待网络侧的切换指令并完成切换。通过在协议内嵌入测量报告优化模块执行本实施例中网络切换方法的步骤101至步骤102,从Lay1和RRC中获得重选和切换的门限,从MAC层从获得无线资源分配和调制编码等级,从RLC层获得误码率和基站ack响应速度情况,综合上述因素计算出等效的信号值,修正Lay1Manger层对当前接入小区和与当前接入小区相邻小区的测量的实际信号值,从而达到速率稳定性优化以及节省功耗的目的。Lay1Manager is responsible for measuring cell information and network switching. Lay1 will also report the measurement data of the current access cell and the cells adjacent to the current access cell to RRC, and RRC will generate a measurement report and send it to the network, waiting for the switching instruction from the network side and completing the switching. By embedding the measurement report optimization module in the protocol to execute steps 101 to 102 of the network switching method in this embodiment, the reselection and switching thresholds are obtained from Lay1 and RRC, the wireless resource allocation and modulation coding level are obtained from the MAC layer, and the bit error rate and base station ack response speed are obtained from the RLC layer. The above factors are combined to calculate the equivalent signal value, and the actual signal value measured by the Lay1Manager layer for the current access cell and the cells adjacent to the current access cell is corrected, so as to achieve the purpose of rate stability optimization and power saving.
需要说明的是,本实施例中的上述各示例均为方便理解进行的举例说明,并不对本发明的技术方案构成限定。It should be noted that the above examples in this embodiment are all illustrative descriptions for easy understanding and do not constitute a limitation on the technical solutions of the present invention.
与现有技术相比,本实施例通过当前接入的小区的实际服务能力的测量,根据实际服务能力来对终端连接小区的无线网络的信号强度进行修正,使得信号强度与当前小区的实际服务能力相匹配,终端能够在更加合适的网络环境下进行小区网络的切换,从而避免终端长期保持驻扎在信号强度高而服务能力低的基站小区,或是从信号差而服务能力好的基站小区中切出至服务能力较差的基站小区,减少了终端功耗,同时能够保证终端速率的稳定性。Compared with the prior art, this embodiment measures the actual service capability of the currently accessed cell, and corrects the signal strength of the wireless network of the cell to which the terminal is connected according to the actual service capability, so that the signal strength matches the actual service capability of the current cell. The terminal can switch the cell network in a more suitable network environment, thereby avoiding the terminal from remaining stationed in a base station cell with high signal strength and low service capability for a long time, or switching from a base station cell with poor signal strength and good service capability to a base station cell with poor service capability, thereby reducing terminal power consumption and ensuring the stability of the terminal rate.
本发明的第二实施例涉及一种网络切换方法,本实施例中,在得到修正后的信号强度后,还包括:记录切换前小区的小区网络信息并保存在本地;小区网络信息包括:切换前小区的识别信息以及网络实际信号强度;在第一预设时长后删除小区网络信息;在进行网络切换前,还包括:逐个获取目标小区列表中各个目标小区的识别信息和各个目标小区当前的实际信号强度;根据目标小区的识别信息在本地查找是否存在目标小区的网络信息;若本地存在目标小区的网络信息,且目标小区当前的网络实际信号强度大于保存的目标小区网络信息中的实际信号强度,则将目标小区从目标小区列表中排除;若修正后的信号强度未达到预设的网络切换门限,根据当前的目标小区列表进行小区切换的决策。A second embodiment of the present invention relates to a network switching method. In this embodiment, after obtaining the corrected signal strength, it also includes: recording the cell network information of the cell before switching and saving it locally; the cell network information includes: the identification information of the cell before switching and the actual signal strength of the network; deleting the cell network information after a first preset time period; before performing network switching, it also includes: obtaining the identification information of each target cell in the target cell list and the current actual signal strength of each target cell one by one; searching locally for the network information of the target cell based on the identification information of the target cell; if the network information of the target cell exists locally and the current actual signal strength of the target cell is greater than the actual signal strength in the saved target cell network information, the target cell is excluded from the target cell list; if the corrected signal strength does not reach the preset network switching threshold, a cell switching decision is made based on the current target cell list.
下面结合附图,对本实施例作进一步阐述。This embodiment is further described below in conjunction with the accompanying drawings.
本实施例中的网络切换方法如图2所示,具体包括:The network switching method in this embodiment is shown in FIG2 , and specifically includes:
步骤301,获取用于表征当前接入小区服务能力的服务能力性能指标;Step 301, obtaining a service capability performance indicator for characterizing the service capability of the current access cell;
步骤302,根据服务能力指标对实际测量到的当前接入小区的网络实际信号强度进行修正。Step 302: Correct the actual measured network signal strength of the current access cell according to the service capability indicator.
步骤301至步骤302与本发明第一实施例中的步骤101至步骤102类似,相关的具体实施细节已在本发明第一实施例中说明,在此不再赘述。Step 301 to step 302 are similar to step 101 to step 102 in the first embodiment of the present invention. The relevant specific implementation details have been described in the first embodiment of the present invention and will not be repeated here.
步骤303,若修正后的信号强度满足预设的网络切换条件,进行网络切换。Step 303: If the corrected signal strength meets the preset network switching condition, perform network switching.
步骤304,记录切换前接入小区的小区网络信息并保存在本地。Step 304, record the cell network information of the cell accessed before the handover and save it locally.
步骤305,在第一预设时长后删除小区网络信息。也就是说,在网络切换后,需要将切换前的接入小区的小区网络信息在本地保存一段时长。该记录超过设定的保持时间,则自动删除。这是由于基站的状态是随时变化的,所以将该记录设定一定的时效,以保证该记录的有效性。另外,由于各基站小区的实际负载情况存在差异,因此预设时长一般根据基站小区的历史服务负载以及经验来确定,具体数值在此不做限定。Step 305, delete the cell network information after the first preset time. That is, after the network is switched, the cell network information of the access cell before the switch needs to be stored locally for a period of time. If the record exceeds the set retention time, it will be automatically deleted. This is because the status of the base station changes at any time, so a certain time limit is set for the record to ensure the validity of the record. In addition, since the actual load conditions of each base station cell are different, the preset time length is generally determined based on the historical service load and experience of the base station cell, and the specific value is not limited here.
通过将终端进行小区切换前所接入小区的小区网络信息保存在本地,可以使得终端在从小区切出后,利用保存的小区网络信息以及当前测量的小区的网络实际信号强度来判断小区是否仍处于信号强度与实际能够提供的服务能力不匹配的状态,以便于网络切换的决策。By saving the cell network information of the cell connected to the terminal before cell switching locally, the terminal can use the saved cell network information and the actual network signal strength of the cell currently measured to determine whether the cell is still in a state where the signal strength does not match the actual service capability that can be provided after switching out of the cell, so as to facilitate network switching decisions.
网络切换决策的具体过程如图4所示,包括:The specific process of network switching decision is shown in Figure 4, including:
步骤401,获取目标小区列表。Step 401, obtaining a target cell list.
具体地说,终端从小区系统消息SIB中获取初始的目标小区列表,目标小区为与终端当前接入小区相邻的小区,初始的目标小区列表中包含了所有目标小区,以及各个目标小区的识别信息,识别信息包括:跟踪区标识、小区标识以及小区频点。Specifically, the terminal obtains the initial target cell list from the cell system message SIB. The target cell is a cell adjacent to the cell currently accessed by the terminal. The initial target cell list contains all target cells and identification information of each target cell. The identification information includes: tracking area identifier, cell identifier and cell frequency.
步骤402,获取目标小区列表中各个目标小区的识别信息,并测量各个目标小区当前的实际信号强度。Step 402: Obtain identification information of each target cell in the target cell list, and measure the actual current signal strength of each target cell.
具体地说,终端根据小区系统消息SIB中的识别信息对各个目标小区进行搜索,并对各个目标小区当前的实际网络信号强度进行测量,并将测量结果保存在本地。Specifically, the terminal searches for each target cell according to the identification information in the cell system message SIB, measures the current actual network signal strength of each target cell, and stores the measurement result locally.
步骤403,在本地查找是否存在目标小区的小区网络信息。若本地存在目标小区的小区网络信息,执行步骤404,判断目标小区当前的网络实际信号强度是否大于保存的小区网络信息中的网络实际信号强度;若本地不存在目标小区的小区网络信息,执行步骤407,根据当前的目标小区列表进行网络切换的决策。Step 403, search locally for cell network information of the target cell. If the cell network information of the target cell exists locally, execute step 404 to determine whether the current actual network signal strength of the target cell is greater than the actual network signal strength in the stored cell network information; if the cell network information of the target cell does not exist locally, execute step 407 to make a network switching decision based on the current target cell list.
具体地说,根据目标小区的识别信息在本地查找是否保存有与目标小区的识别信息对应的小区网络信息,如果本地存在目标小区的小区网络信息,则意味着终端从该目标小区切出的时间还未超过第一预设时长,也就是说该目标小区当前可能仍处于网络信号强度较高而服务能力较低的状态下,因此进一步判断目标小区当前的网络实际信号强度是否大于保存的小区网络信息中的网络实际信号强度。如果本地不存在目标小区的网络信息,则表示终端从该目标小区切出的时间超过了第一预设时长或终端从未在该目标小区驻留过,因此可以尝试切入该目标小区以获得更佳的服务能力。Specifically, according to the identification information of the target cell, the local search is performed to determine whether the cell network information corresponding to the identification information of the target cell is stored. If the cell network information of the target cell exists locally, it means that the time when the terminal was cut out of the target cell has not exceeded the first preset duration, that is, the target cell may still be in a state of high network signal strength and low service capability. Therefore, it is further determined whether the current actual network signal strength of the target cell is greater than the actual network signal strength in the stored cell network information. If the network information of the target cell does not exist locally, it means that the time when the terminal was cut out of the target cell exceeds the first preset duration or the terminal has never resided in the target cell. Therefore, it is possible to try to cut into the target cell to obtain better service capabilities.
步骤404,判断目标小区当前的网络实际信号强度是否大于保存的小区网络信息中的网络实际信号强度。目标小区当前的网络实际信号强度不大于保存的小区网络信息中的网络实际信号强度,执行步骤405,将目标小区从目标小区列表中移除;目标小区当前的网络实际信号强度大于保存的小区网络信息中的网络实际信号强度,执行步骤406,判断是否完成所有目标小区网络信息的查找。Step 404, determine whether the current actual network signal strength of the target cell is greater than the actual network signal strength in the saved cell network information. If the current actual network signal strength of the target cell is not greater than the actual network signal strength in the saved cell network information, execute step 405 to remove the target cell from the target cell list; if the current actual network signal strength of the target cell is greater than the actual network signal strength in the saved cell network information, execute step 406 to determine whether the search for all target cell network information is completed.
具体地说,若目标小区当前的网络实际信号强度不大于保存的小区网络信息中的网络实际信号强度,则意味着该目标小区当前能够提供的服务能力相对于终端从该目标小区切出时能够提供的服务能力尚未改善,因此将该目标小区从目标小区列表中移除,以避免切入该目标小区而得到糟糕的服务能力,影响用户体验;若目标小区当前的网络实际信号强度大于保存的小区网络信息中的网络实际信号强度,则意味着目标小区当前能够提供地服务能力可能相对于终端从该目标小区切出时能够提供的服务能力更好,因此可以尝试切入该目标小区以获得更佳的服务能力。Specifically, if the current actual network signal strength of the target cell is not greater than the actual network signal strength in the saved cell network information, it means that the service capability that the target cell can currently provide has not been improved relative to the service capability that can be provided when the terminal is cut out of the target cell. Therefore, the target cell is removed from the target cell list to avoid switching into the target cell and obtaining poor service capability, affecting the user experience; if the current actual network signal strength of the target cell is greater than the actual network signal strength in the saved cell network information, it means that the service capability that the target cell can currently provide may be better than the service capability that can be provided when the terminal is cut out of the target cell. Therefore, you can try to switch into the target cell to obtain better service capability.
步骤406,判断是否完成所有目标小区网络信息的查找。若未完成所有目标小区网络信息的查找,执行步骤403;若不存在未执行在本地查找小区网络信息操作的目标小区,执行步骤407。Step 406, determine whether the search for network information of all target cells is completed. If the search for network information of all target cells is not completed, execute step 403; if there is no target cell for which the local search for cell network information is not performed, execute step 407.
具体地说,终端需要对步骤401中获取的初始的目标小区列表中的每一个目标小区执行进行在本地查找小区网络信息的操作。Specifically, the terminal needs to perform an operation of searching for cell network information locally for each target cell in the initial target cell list obtained in step 401 .
步骤407,根据当前的目标小区列表进行小区切换的决策。Step 407: Make a cell switching decision based on the current target cell list.
具体地说,当所有目标小区列表中所有目标小区均执行上述步骤403至步骤406的操作后,首先判断终端当前接入小区根据等效信号表修正后的信号强度是否达到预设的网络切换门限,网络切换门限从小区系统消息SIB中获取,若修正后的信号强度未达到预设的网络切换门限,则将网络切换至当前目标小区列表中网络实际信号强度最高的目标小区;若修正后的信号强度大于预设的网络切换门限,则保持驻留在当前小区。Specifically, after all target cells in the target cell list have executed the operations from step 403 to step 406 above, it is first determined whether the signal strength of the cell currently accessed by the terminal, after correction according to the equivalent signal table, reaches the preset network switching threshold. The network switching threshold is obtained from the cell system message SIB. If the corrected signal strength does not reach the preset network switching threshold, the network is switched to the target cell with the highest actual network signal strength in the current target cell list; if the corrected signal strength is greater than the preset network switching threshold, the terminal remains in the current cell.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
与现有技术相比,本实施例将进行网络切换之前的接入小区的实际信号强度记录并保存在本地,从高信号强度但低服务能力的小区切出后,在预设时长内能够根据本地保存的记录来避免再次切换至该小区,更好地保证了终端的网络速率同时避免终端因切换至高信号强度但低服务能力的小区导致功耗的增加。Compared with the prior art, this embodiment records and stores the actual signal strength of the access cell before network switching locally. After switching out of a cell with high signal strength but low service capability, it can avoid switching to the cell again within a preset time period based on the locally stored records, thereby better ensuring the network rate of the terminal and avoiding an increase in power consumption caused by the terminal switching to a cell with high signal strength but low service capability.
本发明的第三实施例涉及一种网络切换方法,本实施例与本发明第二实施例大致相同,不同之处在于,本发明第二实施例中,在得到修正后的信号强度后,记录当前接入小区的小区网络信息并保存在本地,然后在预设时长后删除小区网络信息。而在本实施例中,在得到修正后的信号强度后,将当前接入小区的小区网络信息上传至云端服务器,供云端服务器将小区网络信息保存第二预设时长。The third embodiment of the present invention relates to a network switching method, which is substantially the same as the second embodiment of the present invention, except that, in the second embodiment of the present invention, after obtaining the corrected signal strength, the cell network information of the currently accessed cell is recorded and stored locally, and then the cell network information is deleted after a preset time. In the present embodiment, after obtaining the corrected signal strength, the cell network information of the currently accessed cell is uploaded to a cloud server, so that the cloud server can store the cell network information for a second preset time.
下面结合附图,对本实施例作进一步阐述。This embodiment is further described below in conjunction with the accompanying drawings.
本实施例中的网络切换方法如图5所示,具体包括:The network switching method in this embodiment is shown in FIG5 , and specifically includes:
步骤501,获取用于表征当前接入小区服务能力的服务能力性能指标;Step 501, obtaining a service capability performance indicator for characterizing the service capability of the current access cell;
步骤502,根据服务能力指标对实际测量到的当前接入小区的网络实际信号强度进行修正。Step 502: Correct the actual measured network signal strength of the current access cell according to the service capability indicator.
步骤503,若修正后的信号强度满足预设的网络切换条件,进行网络切换。Step 503: If the corrected signal strength meets the preset network switching condition, perform network switching.
步骤504,将切换前接入小区的小区网络信息上传至云端服务器,供云端服务器将小区网络信息保存第二预设时长。其中,网络信息包括:当前接入小区的识别信息以及网络实际信号强度。Step 504: Upload the cell network information of the cell accessed before the handover to the cloud server, so that the cloud server can store the cell network information for a second preset time period. The network information includes: identification information of the current access cell and actual network signal strength.
具体地说,步骤501至步骤504与本申请第二实施例中的步骤301至步骤304类似,区别在于,在本申请第二实施例中,终端在本地记录中查找是否存在目标小区的小区网络信息;而在本实施例中,终端向云端服务器查询是否存在目标小区的小区网络信息。此外,第二实施例中的切换前接入小区的小区网络信息被终端保存在本地,在第一预设时长后被终端删除;而在本实施例中,切换前接入小区的小区网络信息被终端上传至云端服务器中保存,并且在第二预设时长后被云端服务器删除。在实际应用中,一般将第二预设时长与第一预设时长设置为相等的数值。其他相关的具体实施细节已在本申请第二实施例中说明,在此不再赘述。Specifically, steps 501 to 504 are similar to steps 301 to 304 in the second embodiment of the present application, with the difference that, in the second embodiment of the present application, the terminal searches the local record for cell network information of the target cell; whereas in the present embodiment, the terminal queries the cloud server for cell network information of the target cell. In addition, the cell network information of the access cell before switching in the second embodiment is stored locally by the terminal and deleted by the terminal after the first preset time duration; whereas in the present embodiment, the cell network information of the access cell before switching is uploaded to the cloud server by the terminal for storage, and deleted by the cloud server after the second preset time duration. In actual applications, the second preset time duration is generally set to an equal value to the first preset time duration. Other relevant specific implementation details have been described in the second embodiment of the present application and will not be repeated here.
在一个例子中,终端可以同时将当前接入小区的小区网络信息保存在本地并上传至云端,当终端需要获取目标小区的小区网络信息时,同时在本地和云端服务进行查找,如果本地和云端均存在目标小区的小区网络信息记录,则读取各小区网络信息记录中的时间戳,以最新的小区网络记录作为后续判断的依据。In one example, the terminal can simultaneously save the cell network information of the currently accessed cell locally and upload it to the cloud. When the terminal needs to obtain the cell network information of the target cell, it searches both locally and in the cloud. If the cell network information records of the target cell exist both locally and in the cloud, the timestamp in each cell network information record is read, and the latest cell network record is used as the basis for subsequent judgment.
相较于现有技术,本实施例中的技术方案能够更加及时地获得基站大致的实际负载状态,从而提升根据当前接入小区的相邻小区的实际信号强度以及云端服务器中保存的记录对相邻小区的服务能力进行初步判断,确定待切换小区这一操作的效率。Compared with the prior art, the technical solution in this embodiment can obtain the approximate actual load status of the base station more timely, thereby improving the efficiency of making a preliminary judgment on the service capability of the adjacent cells based on the actual signal strength of the adjacent cells of the currently accessed cell and the records saved in the cloud server, and determining the efficiency of the operation of determining the cell to be switched.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
本发明第四实施例涉及一种终端,如图6所示,包括至少一个处理器601;以及,至少一个存储器602;其中,存储器602存储有可被至少一个处理器601执行的指令,指令被至少一个处理器601执行,以使至少一个处理器601能够执行第一、第二、或第三实施例中的网络切换方法。A fourth embodiment of the present invention relates to a terminal, as shown in Figure 6, comprising at least one processor 601; and, at least one memory 602; wherein the memory 602 stores instructions that can be executed by at least one processor 601, and the instructions are executed by at least one processor 601 so that at least one processor 601 can execute the network switching method in the first, second, or third embodiment.
其中,存储器602和处理器601采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器601和存储器602的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器601处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器601。The memory 602 and the processor 601 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 601 and the memory 602 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 601 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 601.
处理器601负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器602可以被用于存储处理器601在执行操作时所使用的数据。The processor 601 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 602 can be used to store data used by the processor 601 when performing operations.
本发明第六实施例涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
即,本领域技术人员可以理解,实现上述方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the above method embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
本领域的普通技术人员可以理解,上述是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those skilled in the art will appreciate that the above are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911104900.XA CN112804718B (en) | 2019-11-13 | 2019-11-13 | Network switching method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911104900.XA CN112804718B (en) | 2019-11-13 | 2019-11-13 | Network switching method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112804718A CN112804718A (en) | 2021-05-14 |
CN112804718B true CN112804718B (en) | 2024-11-08 |
Family
ID=75803115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911104900.XA Active CN112804718B (en) | 2019-11-13 | 2019-11-13 | Network switching method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112804718B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113596883A (en) * | 2021-08-02 | 2021-11-02 | 腾讯科技(深圳)有限公司 | Network information opening method and device, electronic equipment and computer readable medium |
CN113709032B (en) * | 2021-08-23 | 2023-05-26 | 腾讯科技(深圳)有限公司 | Information processing method, system, electronic device and computer readable medium |
CN116801345A (en) * | 2022-03-18 | 2023-09-22 | 中兴通讯股份有限公司 | Community connection methods, CPE, electronic equipment and computer storage media |
CN115551033A (en) * | 2022-09-23 | 2022-12-30 | Oppo广东移动通信有限公司 | Network switching method, device, terminal equipment, storage medium and program product |
KR20240136126A (en) * | 2023-03-06 | 2024-09-13 | 삼성전자주식회사 | Method and apparatus for performing signal compensation based on frequency allocation |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115314A (en) * | 2006-07-21 | 2008-01-30 | 捷讯研究有限公司 | Method and system for detecting data congestion and applying a cell reselection offset |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100818766B1 (en) * | 2006-10-02 | 2008-04-01 | 포스데이타 주식회사 | Method and apparatus for performing handover in wireless communication system |
CN102740376B (en) * | 2012-06-18 | 2015-01-07 | 华为终端有限公司 | Method, device and system for improving performance of data transmission |
TWI474664B (en) * | 2012-11-13 | 2015-02-21 | Ind Tech Res Inst | Method and apparatus for correcting wireless signal quality |
US10524179B2 (en) * | 2015-04-10 | 2019-12-31 | Qualcomm Incorporated | Rate adaptation during handoffs |
US9913190B1 (en) * | 2015-07-22 | 2018-03-06 | Sprint Spectrum L.P. | Transferring a wireless device from a serving cell to a target cell |
CN105357735B (en) * | 2015-09-28 | 2020-08-11 | 北京小米移动软件有限公司 | Method and device for accessing cell |
CN105704773B (en) * | 2016-01-06 | 2019-02-12 | Oppo广东移动通信有限公司 | Method for switching mobile communication channel, mobile communication system and mobile terminal |
-
2019
- 2019-11-13 CN CN201911104900.XA patent/CN112804718B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115314A (en) * | 2006-07-21 | 2008-01-30 | 捷讯研究有限公司 | Method and system for detecting data congestion and applying a cell reselection offset |
Also Published As
Publication number | Publication date |
---|---|
CN112804718A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112804718B (en) | Network switching method, terminal and storage medium | |
EP3962176A1 (en) | Method and apparatus for controlling power consumption of terminal, and storage medium | |
US9456396B2 (en) | Terminal access method and system, and terminal | |
AU2009202068B2 (en) | Method and system for transferring transmit power control information between network management entities in a wireless communication system | |
CN101969662B (en) | Method and system for measuring and reporting random access channel optimization by terminal | |
EP3942876B1 (en) | Method and apparatus for beam management, and ue | |
KR20110088431A (en) | How to perform MDT for a specific region in a mobile communication system | |
WO2019191985A1 (en) | Method and apparatus for transmitting and receiving information | |
TW201129206A (en) | Method of random access channel optimization and related communication device | |
WO2022002016A1 (en) | Neighbor cell measurement method and apparatus therefor | |
US9491643B2 (en) | User apparatus and method in mobile communication system | |
WO2022052608A1 (en) | Srs transmission method, terminal, and storage medium | |
CN116094665A (en) | Data distribution method and device, electronic equipment and storage medium | |
US20180110010A1 (en) | Extending battery life in low signal conditions | |
CN111465059B (en) | Method and terminal for determining uplink information transmission path | |
US20160286421A1 (en) | Method and Device for Minimization of Drive Tests | |
CN113923687B (en) | Modulation and coding strategy MCS value adjustment method and device | |
CN108206726B (en) | A data processing method, device and system for merging cells | |
CN113873562B (en) | Coding control method, device and system applied to double-card double-pass terminal and base station | |
US20230199542A1 (en) | Information transmission method, user equipment, base station device and computer storage medium | |
US12238807B2 (en) | DRX parameter configuration method, processing method, network node, and user equipment | |
CN105376820B (en) | Cell selection method and device | |
CN114501557B (en) | Auxiliary cell configuration method, device and equipment | |
US20250113226A1 (en) | Communication method and communication apparatus | |
WO2024130602A1 (en) | Communication method and apparatus, device, storage medium, chip, product, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |