CN109246776B - Data state transfer method, base station, device and medium - Google Patents
Data state transfer method, base station, device and medium Download PDFInfo
- Publication number
- CN109246776B CN109246776B CN201710459620.5A CN201710459620A CN109246776B CN 109246776 B CN109246776 B CN 109246776B CN 201710459620 A CN201710459620 A CN 201710459620A CN 109246776 B CN109246776 B CN 109246776B
- Authority
- CN
- China
- Prior art keywords
- base station
- count value
- count
- data
- information
- 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 claims abstract description 185
- 238000012546 transfer Methods 0.000 title claims abstract description 31
- 230000005540 biological transmission Effects 0.000 claims abstract description 201
- 238000012790 confirmation Methods 0.000 claims abstract description 45
- 238000004891 communication Methods 0.000 claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 55
- 238000007781 pre-processing Methods 0.000 claims description 51
- 230000003993 interaction Effects 0.000 claims description 43
- 230000007704 transition Effects 0.000 claims description 29
- 230000008569 process Effects 0.000 description 53
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 17
- 238000012545 processing Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 8
- 238000012795 verification Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013501 data transformation Methods 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
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/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0016—Hand-off preparation specially adapted for end-to-end data sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/34—Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种数据状态转移方法及设备,属于通信技术领域。该方法包括:当检测到用户设备UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;将count值传递至第二基站或所述UE,以使得第二基站或所述UE基于count值进行数据传输。由于每一数据包由对数据文件进行划分后得到,每一数据包对应的count值是在所有划分数据包中的实际序号,从而基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。
Embodiments of the present invention provide a data state transfer method and device, which belong to the technical field of communications. The method includes: when it is detected that the user equipment UE establishes a communication connection with the second base station, acquiring the count value corresponding to the next data packet of the last data packet of the completion of transmission confirmation; transferring the count value to the second base station or the UE , so that the second base station or the UE performs data transmission based on the count value. Since each data packet is obtained by dividing the data file, the count value corresponding to each data packet is the actual sequence number in all divided data packets, so that the corresponding data packet can be uniquely confirmed based on the count value, and the corresponding data packet will not be determined by batches. Identify errors that result in packet loss or packet duplication. Therefore, the correct transmission of data can be guaranteed.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种数据状态转移方法及基站、设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a data state transfer method, base station, and device.
背景技术Background technique
在未来的5G网络建设中,可以采用5G作为宏覆盖独立组网,也可以采用5G微小区进行热点覆盖。无论采用哪种组网方式,都可在5GNR系统中引入类似于LTE中的DC(DualConnectivity,双连接)功能。其中,DC指的是在非理想传输链路条件下,经由PDCP(PacketData Convergence Protocol,分组数据汇聚协议)进行多个基站之间的流量分配,即集中多个基站的无线资源来为用户提供服务。通过在5GNR系统中引入DC功能,可提高无线资源利用率,降低系统切换时延,并提高用户和系统性能。In the future 5G network construction, 5G can be used as a macro coverage independent network, or 5G micro cells can be used for hotspot coverage. No matter which networking method is adopted, a DC (Dual Connectivity, dual connectivity) function similar to that in LTE can be introduced into the 5GNR system. Among them, DC refers to the traffic distribution between multiple base stations via PDCP (Packet Data Convergence Protocol, Packet Data Convergence Protocol) under the condition of non-ideal transmission link, that is, the wireless resources of multiple base stations are concentrated to provide services for users . By introducing the DC function in the 5GNR system, the utilization of radio resources can be improved, the system switching delay can be reduced, and the user and system performance can be improved.
另外,当正在使用网络服务的(UE User Equipment,用户设备)从源小区移动到目标小区,或当出现无线传输业务负荷量调整、激活操作维护、设备故障等情形时,可将UE与源基站的通信链路转换到目标基站上,即实现通信链路的切换。通过在5GNR系统中引入上述切换功能,可保证通信的连续性和服务的质量。In addition, when a network service (UE User Equipment, user equipment) is moving from the source cell to the target cell, or when there are situations such as wireless transmission service load adjustment, activation operation and maintenance, equipment failure, etc., the UE can be connected to the source base station. The communication link is switched to the target base station, that is, the handover of the communication link is realized. By introducing the above handover function in the 5GNR system, the continuity of communication and the quality of service can be guaranteed.
对于上述DC功能对应的场景,即在DC场景中,可能会存在如下情形: UE与主基站之间建立了通信链路,UE通过该通信链路与主基站之间进行上下行数据传输。当UE进入辅基站覆盖范围内时,UE可与辅基站之间建立通信链路,从而可通过双连接的方式进行数据传输。此时,UE可与主基站进行上下行数据传输,也可与辅基站进行上下行数据传输。对于一项业务,UE与主基站的数据传输过程可能并没有完成,从而UE在与辅基站建立通信链路后,辅基站也可针对同样的业务与UE进行上下行数据传输。为了能协调上下行数据传输的过程,辅基站需获取UE在与主基站进行数据传输时数据包的确认状态,即数据状态需要从主基站转移至辅基站。For the scenario corresponding to the above DC function, that is, in the DC scenario, the following situations may exist: A communication link is established between the UE and the primary base station, and the UE performs uplink and downlink data transmission with the primary base station through the communication link. When the UE enters the coverage of the secondary base station, a communication link can be established between the UE and the secondary base station, so that data transmission can be performed in a dual-connection manner. At this time, the UE may perform uplink and downlink data transmission with the primary base station, and may also perform uplink and downlink data transmission with the secondary base station. For a service, the data transmission process between the UE and the primary base station may not be completed, so after the UE establishes a communication link with the secondary base station, the secondary base station can also perform uplink and downlink data transmission with the UE for the same service. In order to coordinate the process of uplink and downlink data transmission, the secondary base station needs to obtain the confirmation status of the data packets when the UE transmits data with the primary base station, that is, the data status needs to be transferred from the primary base station to the secondary base station.
例如,以下行数据传输过程为例,主基站需向UE下发100个数据包。 UE在确认至第3个数据包时,UE移动至辅基站的覆盖范围内,并与辅基站建立了通信连接。此时,主基站可向辅基站发送UE确认数据包的状态。在本示例中,主基站可向辅基站发送UE确认数据包的状态,即告知辅基站UE已确认至第3个数据包,从而辅基站可从第4个数据包开始下发。For example, taking the downlink data transmission process as an example, the master base station needs to deliver 100 data packets to the UE. When the UE confirms the third data packet, the UE moves to the coverage of the secondary base station and establishes a communication connection with the secondary base station. At this time, the primary base station may send the UE to confirm the status of the data packet to the secondary base station. In this example, the primary base station may send the status of the UE acknowledgment data packet to the secondary base station, that is, inform the secondary base station that the UE has confirmed the third data packet, so that the secondary base station can start to deliver the fourth data packet.
对于上述切换功能对应的场景,即在切换场景中,可能会存在如下情形: UE与源基站之间建立了通信链路,UE通过该通信链路与源基站之间进行上下行数据传输。当UE从源基站切换至目标基站的通信链路时,由于UE之前与源基站之间进行上下行数据传输的过程可能并没有完成,而UE在切换至目标基站的通信链路后,UE与源基站之间的通信链路会断开,从而为了让目标基站继续进行上下行数据传输,目标基站需要获取UE在与主基站进行数据传输时数据包的确认状态,即数据状态需从主基站转移至辅基站。For the scenario corresponding to the above handover function, that is, in the handover scenario, the following situations may exist: A communication link is established between the UE and the source base station, and the UE performs uplink and downlink data transmission with the source base station through the communication link. When the UE switches from the source base station to the communication link of the target base station, since the previous process of uplink and downlink data transmission between the UE and the source base station may not be completed, after the UE switches to the communication link of the target base station, the UE and the source base station may not be completed. The communication link between the source base stations will be disconnected, so in order for the target base station to continue to perform uplink and downlink data transmission, the target base station needs to obtain the confirmation status of the data packets when the UE transmits data with the main base station, that is, the data status needs to be obtained from the main base station. Transfer to the secondary base station.
基于上述DC或切换场景,相关技术中提供了一种数据状态转移方法,主要是由第一基站向第二基站发送序列号状态转移(SN Status Transfer)消息。Based on the above DC or handover scenario, a data status transfer method is provided in the related art, which mainly includes sending a sequence number status transfer (SN Status Transfer) message from the first base station to the second base station.
对于DC场景,第一基站为主基站,第二基站辅基站。对于切换场景,第一基站为源基站,第二基站为目标基站。其中,序列号状态转移消息中包括当前批次下完成传输确认的最后数据包的下一个数据包对应的count值。针对一项业务,可包括多个批次的数据包传输过程。每一批次下所有数据包按照先后顺序排序,每一批次下每一数据包可对应一个count值。For the DC scenario, the first base station is the primary base station and the second base station is the secondary base station. For a handover scenario, the first base station is the source base station, and the second base station is the target base station. Wherein, the serial number state transition message includes the count value corresponding to the next data packet of the last data packet whose transmission confirmation is completed under the current batch. For a service, it can include multiple batches of data packet transmission processes. All data packets in each batch are sorted in sequence, and each data packet in each batch can correspond to a count value.
例如,以切换场景下的下行数据传输过程为例,若源基站在当前批次需向 UE下发100个数据包,而UE在确定至第3个数据包时,UE由源基站切换至目标基站的通信链路。此时,源基站可向目标基站发送序列号状态转移消息。序列号状态转移消息中包括当前批次下完成下行传输确认的最后数据包的下一个数据包对应的序列号。在本示例中,当前批次下完成下行传输确认的最后数据包的下一个数据包对应的序列号为4,从而目标基站可从第4个数据包开始下发。For example, taking the downlink data transmission process in the handover scenario as an example, if the source base station needs to send 100 data packets to the UE in the current batch, and the UE determines that the third data packet is reached, the UE is switched from the source base station to the target communication link of the base station. At this time, the source base station may send a sequence number state transition message to the target base station. The sequence number state transition message includes the sequence number corresponding to the next data packet of the last data packet confirmed by the downlink transmission in the current batch. In this example, the sequence number corresponding to the next data packet of the last data packet for which downlink transmission confirmation is completed under the current batch is 4, so that the target base station can start to deliver the fourth data packet.
在实现本发明实施例的过程中,发现相关技术至少存在以下问题:对于一项业务,可能会包括多个批次的数据传输过程。由于第一基站向第二基站或 UE发送的序列号状态转移消息中仅包含完成传输确认的最后数据包的下一个数据包对应的count值,第二基站或UE并不能确定该count值对应的数据包属于哪一个批次。这使得在后续的数据传输过程中,可能会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,不能保证数据正确传输。In the process of implementing the embodiments of the present invention, it is found that the related technology has at least the following problems: for a service, it may include multiple batches of data transmission processes. Since the sequence number state transfer message sent by the first base station to the second base station or UE only contains the count value corresponding to the next data packet of the last data packet of the completed transmission acknowledgment, the second base station or the UE cannot determine the corresponding value of the count value. Which batch the packet belongs to. This makes it possible that in the subsequent data transmission process, data packets may be lost or repeated transmission of data packets due to batch determination errors. Therefore, the correct transmission of data cannot be guaranteed.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种数据状态转移方法及设备,以解决目前切换或DC 场景下因不能确定count值对应的数据包属于哪一个批次,而导致数据不能正确传输的问题。Embodiments of the present invention provide a data state transfer method and device to solve the problem that data cannot be transmitted correctly due to inability to determine which batch the data packet corresponding to the count value belongs to in current switching or DC scenarios.
第一方面,提供了一种应用于第一基站的数据状态转移方法,包括:A first aspect provides a data state transition method applied to a first base station, including:
当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;When detecting that the UE establishes a communication connection with the second base station, obtain the count value corresponding to the next data packet of the last data packet of the completed transmission confirmation;
将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。The count value is communicated to the second base station or UE, so that the second base station or UE performs data transmission based on the count value.
第二方面,提供了一种应用于第二基站的数据状态转移方法,包括:In a second aspect, a data state transition method applied to a second base station is provided, including:
获取第一基站传递的count值;Obtain the count value delivered by the first base station;
基于count值,与用户基站UE进行数据传输。Based on the count value, data transmission is performed with the user base station UE.
第三方面,提供了一种应用于用户设备的数据状态转移方法,包括:In a third aspect, a data state transfer method applied to a user equipment is provided, including:
获取基站传递的count值;Get the count value passed by the base station;
基于count值,与基站进行数据传输。Based on the count value, data transmission is performed with the base station.
第四方面,提供了一种第一基站,包括:In a fourth aspect, a first base station is provided, including:
获取模块,用于当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;an acquisition module, configured to acquire the count value corresponding to the next data packet of the last data packet of the last data packet confirmed by the transmission when it is detected that the UE establishes a communication connection with the second base station;
传递模块,用于将count值传递至第二基站或UE,以使得第二基站或UE 基于count值进行数据传输。A delivery module, configured to deliver the count value to the second base station or UE, so that the second base station or UE performs data transmission based on the count value.
第五方面,提供了一种基站,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第一方面各个任一可能实现的方式。In a fifth aspect, a base station is provided, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to implement any of the possible implementations of the first aspect .
第六方面,提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如第一方面各个任一可能实现的方式。In a sixth aspect, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the possible implementations of the first aspect is implemented.
第七方面,提供了一种第二基站,包括:In a seventh aspect, a second base station is provided, including:
获取模块,用于获取第一基站传递的count值;an acquisition module, configured to acquire the count value transmitted by the first base station;
传输模块,用于基于count值,与用户基站UE进行数据传输。The transmission module is configured to perform data transmission with the user base station UE based on the count value.
第八方面,提供了一种基站,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第二方面各个任一可能实现的方式。In an eighth aspect, a base station is provided, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to implement any of the possible implementations of the second aspect .
第九方面,提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如第二方面各个任一可能实现的方式。In a ninth aspect, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the possible implementations of the second aspect is implemented.
第十方面,提供了一种用户设备,包括:In a tenth aspect, a user equipment is provided, including:
获取模块,用于获取基站传递的count值;The acquisition module is used to acquire the count value transmitted by the base station;
传输模块,用于基于count值,与基站进行数据传输。The transmission module is used for data transmission with the base station based on the count value.
第十一方面,提供了一种用户设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第三方面各个任一可能实现的方式。In an eleventh aspect, a user equipment is provided, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to achieve any of the possible implementations of the third aspect The way.
第十二方面,提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如第三方面各个任一可能实现的方式。A twelfth aspect provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the possible implementations of the third aspect is implemented.
这样,本发明实施例中,第一基站通过在检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值。将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count 值可唯一确认对应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In this way, in the embodiment of the present invention, the first base station obtains the count value corresponding to the next data packet of the last data packet for which the transmission confirmation is completed when detecting that the UE establishes a communication connection with the second base station. The count value is communicated to the second base station or UE, so that the second base station or UE performs data transmission based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transfer, the corresponding data packet can be uniquely confirmed based on the count value, and the data packet will not be lost or repeated transmission of data packets due to batch determination errors. Therefore, the correct transmission of data can be guaranteed.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是本发明提供的数据状态转移方法的流程图之一。FIG. 1 is one of the flow charts of the data state transition method provided by the present invention.
图2是本发明提供的数据状态转移方法的流程图之二。FIG. 2 is the second flow chart of the data state transition method provided by the present invention.
图3是本发明提供的数据状态转移方法的流程图之三。FIG. 3 is the third flowchart of the data state transition method provided by the present invention.
图4是本发明提供的数据状态转移方法的流程图之四。FIG. 4 is the fourth flowchart of the data state transition method provided by the present invention.
图5是本发明提供的数据状态转移方法的流程图之五。FIG. 5 is the fifth flowchart of the data state transition method provided by the present invention.
图6是本发明提供的数据状态转移方法的流程图之六。FIG. 6 is the sixth flowchart of the data state transition method provided by the present invention.
图7是本发明提供的第一基站的框图之一。FIG. 7 is one of the block diagrams of the first base station provided by the present invention.
图8是本发明提供的第一基站的框图之二。FIG. 8 is the second block diagram of the first base station provided by the present invention.
图9是本发明提供的基站的结构示意图之一。FIG. 9 is one of the schematic structural diagrams of the base station provided by the present invention.
图10是本发明提供的第二基站的框图。FIG. 10 is a block diagram of a second base station provided by the present invention.
图11是本发明提供的获取模块的框图之一。FIG. 11 is one of the block diagrams of the acquisition module provided by the present invention.
图12是本发明提供的基站的结构示意图之二。FIG. 12 is the second schematic structural diagram of the base station provided by the present invention.
图13是发明提供的用户设备的框图。Fig. 13 is a block diagram of a user equipment provided by the invention.
图14是本发明提供的获取模块的框图之二。FIG. 14 is the second block diagram of the acquisition module provided by the present invention.
图15是本发明提供的用户设备的结构示意图。FIG. 15 is a schematic structural diagram of a user equipment provided by the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
针对相关技术中的问题,本发明实施例提供了一种数据状态转移方法。本发明实施例提供的方法适用于DC或切换场景下,UE与基站之间的数据传输过程。其中,数据传输过程可包括上行数据传输以及下行数据传输。对于DC 场景,基站可分为主基站以及辅基站。对于切换场景,基站可分为源基站以及目标基站。对于后续实施例中出现的第一基站及第二基站,若该实施例的应用场景为DC场景,则第一基站对应主基站,第二基站对应辅基站。若该实施例的应用场景为切换场景,则第一基站对应源基站,第二基站对应目标基站。Aiming at the problems in the related art, an embodiment of the present invention provides a data state transfer method. The method provided by the embodiment of the present invention is applicable to the data transmission process between the UE and the base station in the DC or handover scenario. The data transmission process may include uplink data transmission and downlink data transmission. For DC scenarios, base stations can be divided into primary base stations and secondary base stations. For handover scenarios, base stations can be divided into source base stations and target base stations. For the first base station and the second base station appearing in subsequent embodiments, if the application scenario of this embodiment is a DC scenario, the first base station corresponds to the primary base station, and the second base station corresponds to the secondary base station. If the application scenario of this embodiment is a handover scenario, the first base station corresponds to the source base station, and the second base station corresponds to the target base station.
现以执行主体为第一基站,对本发明实施例提供的数据状态转移方法进行说明。参见图1,该方法包括:The data state transition method provided by the embodiment of the present invention will now be described by taking the execution subject as the first base station. Referring to Figure 1, the method includes:
101、当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;102、将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。101. When it is detected that the UE establishes a communication connection with the second base station, obtain the count value corresponding to the next data packet of the last data packet of the completed transmission confirmation; 102. Pass the count value to the second base station or UE, so that the first The base station or the UE performs data transmission based on the count value.
其中,每一数据包通过对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Wherein, each data packet is obtained by dividing the data file. After all the divided data packets are sorted in sequence, each data packet corresponds to a count value, and each count value is the sequence number of each data packet after sorting.
对于切换场景下的下行数据传输,数据文件可存储在核心网中,并按照上述方式划分为数据包。第一基站通过与核心网之间的数据链路从核心网获取数据包,并依次下发至UE。UE在与第二基站建立通信连接后,第二基站通过 MME(Mobility ManagementEntity,关键控制节点)可与核心网之间建立数据链路,以基于同样的数据文件从核心网获取数据包。For the downlink data transmission in the handover scenario, the data file can be stored in the core network and divided into data packets according to the above method. The first base station obtains data packets from the core network through the data link with the core network, and sequentially delivers the data packets to the UE. After the UE establishes a communication connection with the second base station, the second base station may establish a data link with the core network through an MME (Mobility Management Entity, key control node) to obtain data packets from the core network based on the same data file.
对于DC场景下的下行数据传输,数据文件可存储在主基站中,并按照上述方式划分为数据包。主基站可根据下发需求,将一定数量的数据包传输至辅基站,由辅基站协助下发。For downlink data transmission in the DC scenario, the data file can be stored in the main base station and divided into data packets in the above-mentioned manner. The primary base station can transmit a certain number of data packets to the secondary base station according to the delivery requirements, and the secondary base station assists in delivery.
对于切换场景或DC场景下的上行数据传输,数据文件存储在UE中,并可按照上述方式划分为数据包。For uplink data transmission in a handover scenario or a DC scenario, the data file is stored in the UE, and can be divided into data packets in the above manner.
本发明实施例提供的方法,第一基站通过在检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count 值。将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count 值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count 值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the method provided by the embodiment of the present invention, the first base station obtains the count value corresponding to the next data packet of the last data packet for which the transmission confirmation is completed when detecting that the UE establishes a communication connection with the second base station. The count value is communicated to the second base station or UE, so that the second base station or UE performs data transmission based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
作为一种可选实施例,将count值传递至第二基站或UE之前,还包括:As an optional embodiment, before transmitting the count value to the second base station or the UE, the method further includes:
按照第一预设方式,对count值进行预处理,得到count值对应的count 信息;According to the first preset method, the count value is preprocessed to obtain the count information corresponding to the count value;
将count值传递至第二基站或UE,包括:Pass the count value to the second base station or UE, including:
将count信息发送至第二基站或UE。Send the count information to the second base station or the UE.
作为一种可选实施例,count信息为二值位图文件;As an optional embodiment, the count information is a binary bitmap file;
按照第一预设方式,对count值进行预处理,得到count值对应的count 信息,包括:According to the first preset method, the count value is preprocessed to obtain the count information corresponding to the count value, including:
基于完成传输确认的每一数据包对应的数据传输结果及count值,确定每一位上的位图数据;Determine the bitmap data on each bit based on the data transmission result and count value corresponding to each data packet that has completed the transmission confirmation;
基于每一位上的位图数据,生成对应的二值位图文件。Based on the bitmap data on each bit, a corresponding binary bitmap file is generated.
其中,位图文件指的是使用像素阵列来表示的图像,每个像素的色彩信息由RGB组合或者灰度值表示。根据颜色信息所需的数据位可分为1、4、8、 16、24及32位等,位数越高颜色越丰富,相应的数据量也越大。其中,使用 1位表示一个像素颜色的位图因其一个数据位只能表示两种颜色,所以又称为二值位图。二值位图对应的文件即为二值位图文件。The bitmap file refers to an image represented by a pixel array, and the color information of each pixel is represented by an RGB combination or a grayscale value. According to the data bits required for color information, it can be divided into 1, 4, 8, 16, 24 and 32 bits, etc. The higher the number of bits, the richer the color and the greater the corresponding data volume. Among them, a bitmap that uses 1 bit to represent the color of a pixel is also called a binary bitmap because one data bit can only represent two colors. The file corresponding to the binary bitmap is the binary bitmap file.
作为一种可选实施例,按照第一预设方式,对count值进行预处理,得到 count值对应的count信息,包括:As an optional embodiment, according to the first preset method, the count value is preprocessed to obtain the count information corresponding to the count value, including:
按照第一预设算法,对count值进行运算,得到count值对应的count信息。According to the first preset algorithm, the count value is operated to obtain count information corresponding to the count value.
作为一种可选实施例,按照第一预设算法,对count值进行运算,得到count 值对应的count信息之前,还包括:As an optional embodiment, according to the first preset algorithm, the count value is operated, and before the count information corresponding to the count value is obtained, the method further includes:
基于第一基站与第二基站之间的交互信息,确定所使用的第一预设算法;determining the used first preset algorithm based on the interaction information between the first base station and the second base station;
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值;As an optional embodiment, the count information is an offset value;
按照第一预设算法,对count值进行运算,得到count值对应的count信息,包括:According to the first preset algorithm, the count value is operated to obtain the count information corresponding to the count value, including:
基于预设偏移量,对count值进行偏移运算,得到count值对应的偏移值。Based on the preset offset, an offset operation is performed on the count value to obtain an offset value corresponding to the count value.
作为一种可选实施例,count信息为二进制字符串;As an optional embodiment, the count information is a binary string;
按照第一预设方式,对count值进行预处理,得到count值对应的count 信息,包括:According to the first preset method, the count value is preprocessed to obtain the count information corresponding to the count value, including:
基于完成传输确认的每一数据包对应的数据传输结果及count值,依次确定每一二进制位上的值,得到二进制字符串。Based on the data transmission result and the count value corresponding to each data packet for which the transmission confirmation is completed, the value on each binary bit is sequentially determined to obtain a binary string.
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined arbitrarily to form optional embodiments of the present invention, which will not be repeated here.
基于上述实施例的内容,本发明实施例提供了一种数据状态转移方法。现以执行主体为第一基站,对本发明实施例提供的数据状态转移方法进行说明。参见图2,该方法包括:201、当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;202、按照第一预设方式,对count值进行预处理,得到count值对应的count信息;203、将count信息发送至第二基站或UE。Based on the contents of the foregoing embodiments, the embodiments of the present invention provide a data state transfer method. The data state transition method provided by the embodiment of the present invention will now be described by taking the execution subject as the first base station. Referring to FIG. 2, the method includes: 201. When detecting that the UE establishes a communication connection with the second base station, obtain a count value corresponding to the next data packet of the last data packet that has completed the transmission confirmation; 202. According to the first preset method , preprocess the count value to obtain count information corresponding to the count value; 203 , send the count information to the second base station or the UE.
其中,201、当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值。Wherein, 201, when it is detected that the UE establishes a communication connection with the second base station, obtain a count value corresponding to the next data packet of the last data packet of the completion of the transmission confirmation.
在执行本步骤之前,可预先对待传输的数据文件进行划分,即将数据文件划分数据包,所有划分的数据包在经过依次排序后每一数据包对应一个count 值,每一count值为每一数据包排序后的序号。其中,数据文件的存储位置以及数据流向可参考图1对应实施例的内容。Before performing this step, the data files to be transmitted can be divided in advance, that is, the data files are divided into data packets. After all the divided data packets are sorted in sequence, each data packet corresponds to a count value, and each count value is each data packet. The sequence number of the packet after sorting. For the storage location of the data file and the data flow direction, reference may be made to the content of the corresponding embodiment in FIG. 1 .
对于切换场景下的上行数据传输,即UE向源基站(第一基站)上传数据包,当检测到UE与目标基站(第二基站)建立通信连接时,源基站可获取完成上行传输确认的最后一个数据包的下一个数据包所对应的count值。例如, UE在向源基站上传数据包时,对于任一上传的数据包,若源基站接收到了该数据包,则可向UE返回该数据包对应的确认信息,以告知UE该数据包上传成功。当源基站最后向UE发送的确认信息所对应的数据包为第3个数据包,则源基站可获取完成上行传输确认的最后一个数据包的下一个数据包对应的 count值,即为4。For uplink data transmission in the handover scenario, that is, the UE uploads data packets to the source base station (the first base station), and when it is detected that the UE has established a communication connection with the target base station (the second base station), the source base station can obtain the final confirmation of the completion of the uplink transmission. The count value corresponding to the next packet of a packet. For example, when the UE uploads a data packet to the source base station, for any uploaded data packet, if the source base station receives the data packet, it can return the confirmation information corresponding to the data packet to the UE to inform the UE that the data packet was uploaded successfully. . When the data packet corresponding to the acknowledgment information sent by the source base station to the UE last is the third data packet, the source base station can obtain the count value corresponding to the next data packet of the last data packet confirmed by the uplink transmission, which is 4.
对于切换场景下的下行数据传输,即源基站向UE下发数据包,当检测到 UE与目标基站建立通信连接时,源基站可获取完成下行传输确认的最后一个数据包的下一个数据包所对应的count值。例如,源基站在UE向下发数据包时,对于任一下发的数据包,若UE接收到了该数据包,则可向源基站返回该数据包对应的确认信息,以告知源基站该数据包下发成功。当UE最后向源基站发送的确认信息所对应的数据包为第3个数据包,则源基站可获取完成下行传输确认的最后数据包的下一个数据包对应的count值,即为4。For the downlink data transmission in the handover scenario, that is, the source base station sends a data packet to the UE, when it is detected that the UE has established a communication connection with the target base station, the source base station can obtain the last data packet that has completed the downlink transmission confirmation. The corresponding count value. For example, when the source base station sends a data packet to the UE, for any sent data packet, if the UE receives the data packet, it can return the acknowledgment information corresponding to the data packet to the source base station to inform the source base station of the data packet. The delivery is successful. When the data packet corresponding to the acknowledgment information sent by the UE to the source base station last is the third data packet, the source base station can obtain the count value corresponding to the next data packet of the last data packet for which the downlink transmission acknowledgment is completed, which is 4.
对于DC场景下的上行数据传输,即UE向主基站(第一基站)上传数据包,当检测到UE与辅基站(第二基站)建立通信连接时,主基站可获取完成上行传输确认的最后一个数据包的下一个数据包所对应的count值。例如,UE 在向主基站上传数据包时,对于任一上传的数据包,若主基站接收到了该数据包,则可向UE返回该数据包对应的确认信息,以告知UE该数据包上传成功。当主基站最后向UE发送的确认信息所对应的数据包为第3个数据包,则主基站可获取完成上行传输确认的最后一个数据包的下一个数据包对应的count值,即为4。For uplink data transmission in the DC scenario, that is, the UE uploads data packets to the primary base station (the first base station), and when it is detected that the UE has established a communication connection with the secondary base station (the second base station), the primary base station can obtain the final confirmation of the completion of the uplink transmission. The count value corresponding to the next packet of a packet. For example, when the UE uploads a data packet to the main base station, for any uploaded data packet, if the main base station receives the data packet, it can return the confirmation information corresponding to the data packet to the UE to inform the UE that the data packet was uploaded successfully. . When the data packet corresponding to the acknowledgment information sent by the master base station to the UE last is the third data packet, the master base station can obtain the count value corresponding to the next data packet of the last data packet confirmed by the uplink transmission, which is 4.
对于DC场景下的下行数据传输,即主基站向UE下发数据包,当检测到 UE与辅基站建立通信连接时,主基站可获取完成下行传输确认的最后一个数据包的下一个数据包所对应的count值。例如,主基站在向UE下发数据包时,对于任一下发的数据包,若UE接收到了该数据包,则可向主基站返回该数据包对应的确认信息,以告知主基站该数据包下发成功。当UE最后向主基站发送的确认信息所对应的数据包为第3个数据包,则主基站可获取完成下行传输确认的最后一个数据包的下一个数据包对应的count值,即为4。For downlink data transmission in the DC scenario, that is, the primary base station sends a data packet to the UE, and when it is detected that the UE has established a communication connection with the secondary base station, the primary base station can obtain the information of the next data packet of the last data packet confirmed by the downlink transmission. The corresponding count value. For example, when the primary base station sends a data packet to the UE, for any delivered data packet, if the UE receives the data packet, it can return the acknowledgment information corresponding to the data packet to the primary base station to inform the primary base station of the data packet. The delivery is successful. When the data packet corresponding to the acknowledgment information sent by the UE to the master base station last is the third data packet, the master base station can obtain the count value corresponding to the next data packet of the last data packet for which the downlink transmission confirmation is completed, which is 4.
其中,202、按照第一预设方式,对count值进行预处理,得到count值对应的count信息。Wherein, 202: Preprocess the count value according to a first preset manner to obtain count information corresponding to the count value.
通过上述步骤201,第一基站可得到count值。此时,第一基站可直接向第二基站或UE传递count值。但为了保证count值在传递过程中的安全性,以及为了便于验证count值的正确性。第一基站在向第二基站或UE传递count 值时,可先对count值作预处理。Through the
本发明实施例不对第一基站按照第一预设方式,对count值进行预处理,得到count值对应的count信息的方式作具体限定,包括但不限于:基于完成传输确认的每一数据包对应的数据传输结果及count值,确定每一位上的位图数据;基于每一位上的位图数据,生成对应的二值位图文件。This embodiment of the present invention does not specifically limit the manner in which the first base station preprocesses the count value according to the first preset manner to obtain the count information corresponding to the count value, including but not limited to: corresponding to each data packet based on the completion of transmission confirmation The data transmission result and count value of , determine the bitmap data on each bit; based on the bitmap data on each bit, generate the corresponding binary bitmap file.
其中,生成的二值位图文件即为count值对应的count信息。二值位图文件中每一位图数据的取值为1或0,可用于表示数据包的数据传输结果。对于任一数据包,若该数据包对应的位图数据值为1,则可表示该数据包传输成功。若该数据包对应的位图数据值为0,则可表示该数据包传输失败。或者,若该数据包对应的位图数据值为1,则可表示该数据包传输失败。若该数据包对应的位图数据值为0,则可表示该数据包传输成功。The generated binary bitmap file is the count information corresponding to the count value. The value of each bitmap data in the binary bitmap file is 1 or 0, which can be used to represent the data transmission result of the data packet. For any data packet, if the bitmap data value corresponding to the data packet is 1, it can indicate that the data packet is successfully transmitted. If the bitmap data value corresponding to the data packet is 0, it means that the transmission of the data packet fails. Alternatively, if the bitmap data value corresponding to the data packet is 1, it may indicate that the data packet transmission fails. If the bitmap data value corresponding to the data packet is 0, it means that the data packet is transmitted successfully.
例如,以切换场景下的下行数据传输为例。若源基站向UE下发了10个数据包,这10个数据包UE均完成了下行传输确认,则可确定count值为11。以1代表数据传输成功、0代表数据传输失败为例。由于前10个数据包完成了下行传输确认。从而前10个数据包对应的位图数据可通过如下二进制字符串1111111111进行表示。For example, take downlink data transmission in a handover scenario as an example. If the source base station sends 10 data packets to the UE, and the UE has completed the downlink transmission confirmation for these 10 data packets, the count value can be determined to be 11. Take 1 for successful data transmission and 0 for data transmission failure as an example. As the first 10 packets complete the downlink transmission acknowledgment. Therefore, the bitmap data corresponding to the first 10 data packets can be represented by the following binary string 1111111111.
其中,上述二进制字符串的位数为10,即为完成下行传输确认的数据包总量。由于目标基站后续需要向UE下发第11个数据包,而第11个数据包还没未被下发至UE,即可对应传输失败,从而相应的位图数据可通过如下二进制字符串11111111110进行表示。Wherein, the number of digits of the above binary string is 10, which is the total amount of data packets for which the downlink transmission is confirmed. Since the target base station needs to send the 11th data packet to the UE later, and the 11th data packet has not been sent to the UE, it can correspond to the transmission failure, so the corresponding bitmap data can be processed by the following binary string 11111111110 express.
通过上述过程在得到位图数据后,可基于位图数据、位图数据标识、位图信息头等数据,生成相应的二值位图文件,本发明实施例不对生成二值位图文件的方式作具体限定。由于位图文件自带数据校验属性,从而通过位图文件传递count值,可便于后续验证count值的正确性。另外,相比直接传递count 值,通过位图文件承载count值,并通过发送count位图文件来传递count值,可保证count值在传递过程中的安全性。After the bitmap data is obtained through the above process, a corresponding binary bitmap file can be generated based on the bitmap data, the bitmap data identifier, the bitmap information header and other data. Specific restrictions. Since the bitmap file has its own data verification attribute, the count value is passed through the bitmap file, which can facilitate subsequent verification of the correctness of the count value. In addition, compared with directly passing the count value, carrying the count value through a bitmap file and passing the count value by sending the count bitmap file can ensure the security of the count value during the transfer process.
上述过程主要以二值位图文件来表示count信息,后续通过发送二值位图文件来实现count值的传递。当然,除了上述方式之外还可通过其它方式传递 count值。具体地,本发明实施例不对第一基站按照第一预设方式,对count 值进行预处理,得到count值对应的count信息的方式作具体限定,包括但不限于:按照第一预设算法,对count值进行运算,得到count值对应的count 信息。In the above process, the count information is mainly represented by a binary bitmap file, and then the count value is transmitted by sending the binary bitmap file. Of course, in addition to the above methods, the count value can also be passed in other ways. Specifically, the embodiment of the present invention does not specifically limit the manner in which the first base station preprocesses the count value according to the first preset method to obtain the count information corresponding to the count value, including but not limited to: according to the first preset algorithm, The count value is operated to obtain the count information corresponding to the count value.
其中,第一预设算法可以为具有加密和/或校验属性的算法,本发明实施例对此不作具体限定。相应地,通过第一预设算法对count值进行运算得到 count信息,基于count信息实现count值的传递,可保证count值传递的安全性。另外,还可便于后续验证count值的正确性。The first preset algorithm may be an algorithm with encryption and/or verification attributes, which is not specifically limited in this embodiment of the present invention. Correspondingly, the count information is obtained by operating the count value through the first preset algorithm, and the transfer of the count value is realized based on the count information, which can ensure the security of the transfer of the count value. In addition, it can also facilitate subsequent verification of the correctness of the count value.
第一基站通过第一预设算法对count值作运算,可得到相应的count信息。第一基站在将count信息发送至第二基站或UE后,第二基站或UE可通过第二预设算法对count信息作运算,以得到count值。其中,第一预设算法可通过网络配置的方式预先配置在第一基站上,第二预设算法可通过网络配置的方式预先配置在第一基站或UE上。The first base station operates on the count value by using the first preset algorithm to obtain corresponding count information. After the first base station sends the count information to the second base station or the UE, the second base station or the UE may operate the count information through a second preset algorithm to obtain the count value. The first preset algorithm may be pre-configured on the first base station by means of network configuration, and the second preset algorithm may be pre-configured on the first base station or the UE by means of network configuration.
需要说明的是,对于DC场景,第一基站并非只作为主基站,还可能会作为辅基站。而第二基站并非只作为辅基站,还可能会作为主基站。对于切换场景,第一基站并非只作为源基站,还可能会作为目标基站。而第二基站并非只作为目标基站,还可能会作为源基站。因此,当第一预设算法与第二预设算法是通过网络配置的方式配置在基站侧时,第一基站侧可同时配置第一预设算法以及第二预设算法,第二基站侧也可同时配置第一预设算法以及第二预设算法,本发明实施例对此不作具体限定。It should be noted that, for the DC scenario, the first base station is not only used as the primary base station, but may also be used as the secondary base station. The second base station is not only used as a secondary base station, but may also be used as a primary base station. For a handover scenario, the first base station is not only used as a source base station, but may also be used as a target base station. The second base station is not only used as a target base station, but may also be used as a source base station. Therefore, when the first preset algorithm and the second preset algorithm are configured on the base station side by means of network configuration, the first base station side can configure the first preset algorithm and the second preset algorithm at the same time, and the second base station side can also configure the first preset algorithm and the second preset algorithm. The first preset algorithm and the second preset algorithm may be configured at the same time, which is not specifically limited in this embodiment of the present invention.
除了上述通过网络配置的方式确定预设算法的方式外,基站之间、以及基站与UE之间还可协商所使用的预设算法。通过协商过程,可让基站以及UE 根据需求选择适用的预设算法。例如,当基站当前占用较多的处理资源时,基站之间、以及基站与UE之间可协商使用资源占用较少的预设算法。通过协商过程,可使本发明实施例提供的方法更适用于实际通信场景。In addition to the above-mentioned manner of determining the preset algorithm by means of network configuration, the preset algorithm to be used may also be negotiated between the base stations and between the base station and the UE. Through the negotiation process, the base station and the UE can select the applicable preset algorithm according to the requirements. For example, when the base stations currently occupy more processing resources, the base stations and between the base stations and the UE may negotiate to use a preset algorithm that occupies less resources. Through the negotiation process, the method provided by the embodiment of the present invention can be more suitable for an actual communication scenario.
相应地,第一基站在按照第一预设算法,对count值进行运算,得到count 值对应的count信息之前,第一基站还可基于第一基站与第二基站之间的交互信息,确定所使用的第一预设算法。其中,交互信息包括用于选择预设算法的指令。第一基站与第二基站可通过两者之间选择预设算法的指令,以协商所使用的预设算法。Correspondingly, before the first base station calculates the count value according to the first preset algorithm and obtains the count information corresponding to the count value, the first base station may further determine the number of counts based on the interaction information between the first base station and the second base station. The first preset algorithm to use. Wherein, the interaction information includes an instruction for selecting a preset algorithm. The first base station and the second base station may negotiate the used preset algorithm through an instruction for selecting a preset algorithm between them.
例如,以切换场景下的下行数据传输、第一基站侧配置有五种第一预设算法、第二基站侧配置有五种第二预设算法为例。其中,每种第一预设算法对应一种第二预设算法。目标基站可向源基站发送交互信息,通过交互消息告知源基站自身准备选用第三种第二预设算法。若第三种第二预设算法对应第三种第一预设算法,则源基站在接收到交互消息后,可确定所使用的第一预设算法为第三种第一预设算法。For example, in a downlink data transmission in a handover scenario, the first base station side is configured with five first preset algorithms, and the second base station side is configured with five second preset algorithms as an example. Wherein, each first preset algorithm corresponds to one second preset algorithm. The target base station may send interaction information to the source base station, and inform the source base station through the interaction message that it intends to select the third second preset algorithm. If the third second preset algorithm corresponds to the third first preset algorithm, after receiving the interaction message, the source base station may determine that the used first preset algorithm is the third first preset algorithm.
需要说明的是,上述示例主要为一侧基站通过发送交互信息来实现算法选择的过程,即目标基站通过向源基站发送交互信息,告知自身选择的算法,以使得源基站根据交互信息确定自身所使用的算法。当然,还可以由源基站先确定自身所使用的算法,再向目标基站发送交互信息,以使得目标基站根据交互信息确定自身所使用的算法,本发明实施例对此不作具体限定。It should be noted that the above example is mainly a process in which one base station implements algorithm selection by sending interaction information, that is, the target base station sends interaction information to the source base station to inform itself of the algorithm selected, so that the source base station determines its own algorithm based on the interaction information. algorithm used. Of course, the source base station can also determine the algorithm used by itself, and then send the interaction information to the target base station, so that the target base station determines the algorithm used by the target base station according to the interaction information, which is not specifically limited in this embodiment of the present invention.
另外,上述内容仅通过单向过程实现算法选择,即由一方先确定自身使用的算法,通过消息通知另一方选择使用相应的算法。实际在实现算法选择的过程中,基站之间、以及基站与UE之间还可以通过多次握手协商过程来选择算法,本发明实施例对此不作具体限定。In addition, the above content only realizes algorithm selection through a one-way process, that is, one party first determines the algorithm to be used by itself, and informs the other party to select and use the corresponding algorithm through a message. Actually, in the process of implementing the algorithm selection, the algorithm may also be selected through multiple handshake negotiation processes between the base stations and between the base stations and the UE, which is not specifically limited in this embodiment of the present invention.
第一基站在确定自身使用的第一预设算法后,可基于第一预设算法得到 count值对应的count信息。本发明实施例不对第一基站按照第一预设算法,对count值进行运算,得到count值对应的count信息的方式作具体限定,包括但不限于:基于预设偏移量,对count值进行偏移运算,得到count值对应的偏移值。After determining the first preset algorithm used by the first base station, the first base station may obtain count information corresponding to the count value based on the first preset algorithm. This embodiment of the present invention does not specifically limit the manner in which the first base station operates the count value according to the first preset algorithm to obtain the count information corresponding to the count value, including but not limited to: performing an operation on the count value based on a preset offset Offset operation to get the offset value corresponding to the count value.
例如,以预设偏移量为500为例。若count值为6,则基于预设偏移量,可对count值作偏移运算,得到相应的偏移值。以偏移运算为加法运算为例,则可得到相应的偏移值为506。For example, take the preset offset of 500 as an example. If the count value is 6, based on the preset offset, an offset operation can be performed on the count value to obtain a corresponding offset value. Taking the offset operation as an addition operation as an example, a corresponding offset value of 506 can be obtained.
需要说明的是,除了上述偏移运算之外,第一预设算法的运算过程还可以为将count值变为二进制数值,再对二进制数值作移位运算。当然,第一预设算法的运算过程还可以为与固定的二进制字串作与或运算等,本发明实施例不对第一预设算法的实现方式作具体限定。It should be noted that, in addition to the above offset operation, the operation process of the first preset algorithm may also be to change the count value into a binary value, and then perform a shift operation on the binary value. Certainly, the operation process of the first preset algorithm may also be an AND or operation with a fixed binary string, and the embodiment of the present invention does not specifically limit the implementation of the first preset algorithm.
第一基站在将count信息发送至第二基站或UE后,第二基站或UE可按照第二预设算法,对count信息进行运算,得到相应的count值。通过该过程可实现对count值进行加密和/或校验,以保证count值的安全性,且后续还可校验count值的准确性。After the first base station sends the count information to the second base station or the UE, the second base station or the UE may perform an operation on the count information according to the second preset algorithm to obtain a corresponding count value. Through this process, the count value can be encrypted and/or verified to ensure the security of the count value, and the accuracy of the count value can be verified subsequently.
例如,以切换场景下的下行数据传输为例。若第一预设算法为偏移运算且预设偏移量为500,则源基站基于预设偏移量500,对count值进行偏移运算,可得到相应的偏移值为506。源基站将偏移值506发送至目标基站。其中,目标基站侧可提前获知预设偏移量为500。当目标基站接收到的偏移值为小于 500的数时,则可确定count值或偏移值出现了错误,从而实现了校验功能。For example, take downlink data transmission in a handover scenario as an example. If the first preset algorithm is an offset operation and the preset offset is 500, the source base station performs an offset operation on the count value based on the preset offset of 500, and a corresponding offset value of 506 can be obtained. The source base station sends the offset value 506 to the target base station. The target base station side may know in advance that the preset offset is 500. When the offset value received by the target base station is a number less than 500, it can be determined that the count value or the offset value is incorrect, thereby realizing the verification function.
当然,除了按照偏移值的取值范围对偏移值进行校验之外,还可以采用其它方式进行校验,本发明实施例对此不作具体限定。另外,由于上述过程对count值作了数据变换处理,即得到的新数据并非原来的count值,从而实现了对count值进行加密,进而提高了count值在传输过程中的安全性。Certainly, in addition to checking the offset value according to the value range of the offset value, other methods may also be used to perform the check, which is not specifically limited in this embodiment of the present invention. In addition, since the above process performs data transformation processing on the count value, that is, the obtained new data is not the original count value, thereby realizing the encryption of the count value, thereby improving the security of the count value in the transmission process.
上述过程提供了两种count值的传递方式,第一种方式主要是以二值位图文件来表示count信息,后续通过发送二值位图文件来实现count值的传递。第二种方式主要是按照第一预设算法,对count值作运算得到相应的count信息,后续通过发送count信息来实现count值的传递。当然,除了上述方式之外还可以有其它的传递方式。具体地,本发明实施例不对第一基站按照第一预设方式,对count值进行预处理,得到count值对应的count信息的方式作具体限定,包括但不限于:基于完成传输确认的每一数据包对应的数据传输结果及count值,依次确定每一二进制位上的值,得到二进制字符串。The above process provides two transmission methods of count value. The first method mainly uses binary bitmap file to represent count information, and then transmits count value by sending binary bitmap file. The second method is mainly to perform an operation on the count value according to the first preset algorithm to obtain corresponding count information, and subsequently transmit the count value by sending the count information. Of course, in addition to the above-mentioned manners, there may also be other transmission manners. Specifically, the embodiment of the present invention does not specifically limit the manner in which the first base station preprocesses the count value according to the first preset manner, and obtains the count information corresponding to the count value, including but not limited to: based on the completion of each transmission confirmation The data transmission result and count value corresponding to the data packet are determined in turn to determine the value of each binary bit to obtain a binary string.
例如,以切换场景下的下行数据传输为例。若源基站向UE下发了10个数据包,这10个数据包UE均完成了下行传输确认,则可确定count值为11。以1代表数据传输成功、0代表数据传输失败为例。由于前10个数据包完成了下行传输确认。从而前10个数据包可通过如下二进制字符串1111111111 进行表示。For example, take downlink data transmission in a handover scenario as an example. If the source base station sends 10 data packets to the UE, and the UE has completed the downlink transmission confirmation for these 10 data packets, the count value can be determined to be 11. Take 1 for successful data transmission and 0 for data transmission failure as an example. As the first 10 packets complete the downlink transmission acknowledgment. Therefore, the first 10 data packets can be represented by the following binary string 1111111111.
由于目标基站后续需要向UE下发第11个数据包,而第11个数据包还没未被下发至UE,即可对应传输失败,从而相应的二进制字符串可以为 11111111110。Since the target base station needs to deliver the 11th data packet to the UE subsequently, and the 11th data packet has not been delivered to the UE, it can correspond to a transmission failure, so the corresponding binary string can be 11111111110.
其中,204、将count信息发送至第二基站或UE,以使得第二基站或UE 基于count值进行数据传输。Wherein, 204, send the count information to the second base station or the UE, so that the second base station or the UE performs data transmission based on the count value.
对于切换场景下的下行数据传输,源基站可将count信息发送至第二基站,由第二基站基于count信息获取count值,再基于count值向UE下发数据包。For downlink data transmission in a handover scenario, the source base station may send the count information to the second base station, and the second base station obtains the count value based on the count information, and then delivers the data packet to the UE based on the count value.
对于切换场景下的上行数据传输,源基站可将count信息发送至UE。或者,源基站先将count信息发送至目标基站,再由目标基站将count信息发送至UE。或者,count值由UE自身获取,即UE在向源基站上传数据时,基于源基站返回的上传成功确认信息确定count值。需要说明的是,当count值是由UE自身获取时,则不执行上述步骤所提供的过程。UE在获取到count值后,可基于count值向目标基站上传数据包。For uplink data transmission in a handover scenario, the source base station may send count information to the UE. Alternatively, the source base station first sends the count information to the target base station, and then the target base station sends the count information to the UE. Alternatively, the count value is obtained by the UE itself, that is, when the UE uploads data to the source base station, the count value is determined based on the upload success confirmation information returned by the source base station. It should be noted that, when the count value is obtained by the UE itself, the process provided by the above steps is not performed. After obtaining the count value, the UE may upload the data packet to the target base station based on the count value.
对于DC场景下的下行数据传输,主基站可将count信息发送至辅基站,由辅基站基于count信息获取count值,再基于count值向UE下发数据包。For downlink data transmission in the DC scenario, the primary base station may send the count information to the secondary base station, and the secondary base station obtains the count value based on the count information, and then delivers a data packet to the UE based on the count value.
对于DC场景下的上行数据传输,主基站可将count信息发送至UE。或者,主基站先将count信息发送至辅基站,再由辅基站将count信息发送至UE。或者,count值由UE自身获取,即UE在向主基站上传数据时,基于主基站返回的上传成功确认信息确定count值。需要说明的是,当count值是由UE 自身获取时,则不执行上述步骤所提供的过程。UE在获取到count值后,可基于count值向主基站或辅基站上传数据包。For uplink data transmission in the DC scenario, the master base station may send count information to the UE. Or, the primary base station first sends the count information to the secondary base station, and then the secondary base station sends the count information to the UE. Alternatively, the count value is obtained by the UE itself, that is, when the UE uploads data to the master base station, the count value is determined based on the upload success confirmation information returned by the master base station. It should be noted that, when the count value is obtained by the UE itself, the process provided by the above steps is not performed. After obtaining the count value, the UE may upload the data packet to the primary base station or the secondary base station based on the count value.
需要说明的是,第一基站在发送count信息时,可通过数据转发报告的形式发送,本发明实施例不对发送count信息的形式作具体限定。另外,关于第一基站发送count信息所选用的信道,以及第一基站发送count信息的时间,本发明实施例对此也不作具体限定。It should be noted that, when sending the count information, the first base station may send the count information in the form of a data forwarding report, and the embodiment of the present invention does not specifically limit the form of sending the count information. In addition, regarding the channel selected by the first base station to send the count information and the time at which the first base station sends the count information, this embodiment of the present invention also does not specifically limit this.
本发明实施例提供的方法,第一基站通过在检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count 值。将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count 值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count 值可唯一确认对应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the method provided by the embodiment of the present invention, the first base station obtains the count value corresponding to the next data packet of the last data packet for which the transmission confirmation is completed when detecting that the UE establishes a communication connection with the second base station. The count value is communicated to the second base station or UE, so that the second base station or UE performs data transmission based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transfer, the corresponding data packet can be uniquely confirmed based on the count value, and the data packet will not be lost or repeated transmission of data packets due to batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
基于上述实施例的内容,本发明实施例提供了一种数据状态转移方法。现以执行主体为第二基站,对本发明实施例提供的数据状态转移方法进行说明。参见图3,该方法包括:301、获取第一基站传递的count值;302、基于count 值,与UE进行数据传输。Based on the contents of the foregoing embodiments, the embodiments of the present invention provide a data state transfer method. The data state transition method provided by the embodiment of the present invention will now be described by taking the execution subject as the second base station. Referring to FIG. 3 , the method includes: 301. Acquire a count value transmitted by a first base station; 302. Based on the count value, perform data transmission with a UE.
其中,count值与完成传输确认的最后一个数据包的下一个数据包相对应,每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Among them, the count value corresponds to the next data packet of the last data packet that has completed the transmission confirmation. Each data packet is obtained by dividing the data file. count value, each count value is the sequence number of each data packet after sorting.
本发明实施例提供的方法,第二基站通过获取第一基站传递的count值,基于count值,与UE进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the method provided by the embodiment of the present invention, the second base station obtains the count value transmitted by the first base station, and performs data transmission with the UE based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
作为一种可选实施例,获取第一基站传递的count值,包括:As an optional embodiment, acquiring the count value transmitted by the first base station includes:
接收第一基站发送的count信息,count信息由第一基站按照第一预设方式对count值进行预处理得到;receiving count information sent by the first base station, where the count information is obtained by preprocessing the count value by the first base station in a first preset manner;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值。According to the second preset manner, the count information is preprocessed to obtain a count value corresponding to the count information.
作为一种可选实施例,count信息为二值位图文件;As an optional embodiment, the count information is a binary bitmap file;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值,包括:According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information, including:
基于二值位图文件,确定每一位上的位图数据;Determine the bitmap data on each bit based on the binary bitmap file;
基于每一位上的位图数据,确定count值。Based on the bitmap data on each bit, the count value is determined.
作为一种可选实施例,count信息由第一基站按照第一预设算法对count 值进行运算得到;As an optional embodiment, the count information is obtained by the first base station calculating the count value according to a first preset algorithm;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值,包括:According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information, including:
按照第二预设算法,对count信息进行运算,得到count信息对应的count 值。According to the second preset algorithm, the count information is operated to obtain a count value corresponding to the count information.
作为一种可选实施例,按照第二预设算法,对count信息进行运算,得到 count信息对应的count值之前,还包括:As an optional embodiment, according to the second preset algorithm, the count information is operated, and before the count value corresponding to the count information is obtained, the method further includes:
基于第二基站与第一基站之间的交互信息,确定所使用的第二预设算法;determining the used second preset algorithm based on the interaction information between the second base station and the first base station;
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值;As an optional embodiment, the count information is an offset value;
按照第二预设算法,对count信息进行运算,得到count信息对应的count 值,包括:According to the second preset algorithm, the count information is operated to obtain the count value corresponding to the count information, including:
基于预设偏移量,对偏移值进行反偏移运算,得到偏移值对应的count值。Based on the preset offset, an inverse offset operation is performed on the offset value to obtain a count value corresponding to the offset value.
作为一种可选实施例,count信息为二进制字符串;As an optional embodiment, the count information is a binary string;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值,包括:According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information, including:
基于二进制字符串的总位数,确定count值。The count value is determined based on the total number of digits in the binary string.
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined arbitrarily to form optional embodiments of the present invention, which will not be repeated here.
基于上述实施例的内容,本发明实施例提供了一种数据状态转移方法。现以执行主体为第二基站,对本发明实施例提供的数据状态转移方法进行说明。参见图4,该方法包括:401、接收第一基站发送的count信息;402、按照第二预设方式,对count信息进行处理,得到count信息对应的count值;403、基于count值,与UE进行数据传输。Based on the contents of the foregoing embodiments, the embodiments of the present invention provide a data state transfer method. The data state transition method provided by the embodiment of the present invention will now be described by taking the execution subject as the second base station. Referring to FIG. 4 , the method includes: 401. Receive count information sent by a first base station; 402. Process the count information according to a second preset method to obtain a count value corresponding to the count information; 403. Based on the count value, communicate with the UE data transfer.
其中,401、接收第一基站发送的count信息。Wherein, 401. Receive count information sent by a first base station.
在本步骤中,第二基站可接收第一基站发送的count信息。需要说明的是,关于第二基站接收count信息所选用的信道以及接收时间,可根据需求具体设置,本发明实施例对此不作具体限定。In this step, the second base station may receive the count information sent by the first base station. It should be noted that the channel selected by the second base station to receive the count information and the receiving time may be specifically set according to requirements, which are not specifically limited in this embodiment of the present invention.
其中,402、按照第二预设方式,对count信息进行处理,得到count信息对应的count值。Wherein, 402: Process the count information according to the second preset manner to obtain a count value corresponding to the count information.
在本步骤中,count信息由第一基站按照第一预设方式,对count值进行预处理得到,具体过程可参考上述图2对应实施例的内容,此处不再赘述。第一基站按照第一预设方式对count值进行预处理,主要是对count值进行封装或者转换,以得到count信息。第二基站按照第二预设方式对count信息进行预处理,主要是从count信息中提取count值,或者将count信息转换为count 值。In this step, the count information is obtained by preprocessing the count value by the first base station according to the first preset method. For the specific process, refer to the content of the corresponding embodiment in FIG. 2 above, and details are not repeated here. The first base station preprocesses the count value according to the first preset manner, and mainly encapsulates or converts the count value to obtain count information. The second base station preprocesses the count information according to the second preset manner, mainly extracting the count value from the count information, or converting the count information into the count value.
本发明实施例不对第二基站按照第二预设方式,对count信息进行预处理,得到count信息对应的count值的方式作具体限定,包括但不限于:基于二值位图文件,确定每一位上的位图数据;基于每一位上的位图数据,确定count 值。This embodiment of the present invention does not specifically limit the manner in which the second base station preprocesses the count information according to the second preset manner to obtain the count value corresponding to the count information, including but not limited to: determining each value based on a binary bitmap file Bitmap data on bits; based on the bitmap data on each bit, the count value is determined.
在执行上述过程之前,第一基站可基于完成传输确认的每一数据包对应的数据传输结果及count值,确定每一位上的位图数据;基于每一位上的位图数据,生成对应的二值位图文件。其中,第一基站生成二值位图文件的过程可参考上述图2对应实施例的内容,此处不再赘述。Before performing the above process, the first base station can determine the bitmap data on each bit based on the data transmission result and the count value corresponding to each data packet that has completed the transmission confirmation; based on the bitmap data on each bit, generate a corresponding binary bitmap file. Wherein, for the process of generating the binary bitmap file by the first base station, reference may be made to the content of the above-mentioned embodiment corresponding to FIG. 2 , which will not be repeated here.
其中,二值位图文件可由位图数据、位图数据标识、位图信息头等数据生成。相应地,第二基站可获取二值位图文件的位图数据。由上述图2对应实施例的内容可知,位图数据可通过二进制字符串进行表示。例如,当位图数据用二进制字符串表示为11111111110时,由上述图2对应实施例的内容可知, count值为二进制字符串的总位数11。The binary bitmap file can be generated from data such as bitmap data, bitmap data identifiers, and bitmap information headers. Correspondingly, the second base station may acquire the bitmap data of the binary bitmap file. It can be known from the content of the above-mentioned embodiment corresponding to FIG. 2 that the bitmap data can be represented by a binary character string. For example, when the bitmap data is represented by a binary string as 11111111110, it can be known from the content of the above-mentioned embodiment corresponding to FIG. 2 that the count value is 11, the total number of digits of the binary string.
基于图2对应实施例的内容可知,count信息还可由第一基站按照第一预设算法对count值进行运算得到。相应地,本发明不对第二基站按照第二预设方式,对count信息进行预处理,得到count信息对应的count值的方式作具体限定,包括但不限于:按照第二预设算法,对count信息进行运算,得到count 信息对应的count值。Based on the content of the corresponding embodiment in FIG. 2 , it can be known that the count information can also be obtained by the first base station calculating the count value according to the first preset algorithm. Correspondingly, the present invention does not specifically limit the manner in which the second base station preprocesses the count information according to the second preset method, and obtains the count value corresponding to the count information, including but not limited to: according to the second preset algorithm, the count The information is operated to obtain the count value corresponding to the count information.
其中,第一预设算法可通过网络配置的方式预先配置在第一基站上,第二预设算法可通过网络配置的方式预先配置在第二基站上。当然,除了预先配置的方式之外,第一基站与第二基站还可协商所使用的算法。相应地,在对count 信息进行运算之前,第二基站还可获取交互信息,基于交互信息,确定所使用的第二预设算法。其中,交互信息包括用于选择预设算法的指令。具体过程可参考图2对应实施例的内容,此处不再赘述。The first preset algorithm may be pre-configured on the first base station by means of network configuration, and the second preset algorithm may be pre-configured on the second base station by means of network configuration. Of course, in addition to the pre-configured manner, the first base station and the second base station may also negotiate the algorithm to be used. Correspondingly, before calculating the count information, the second base station may also obtain the interaction information, and determine the used second preset algorithm based on the interaction information. Wherein, the interaction information includes an instruction for selecting a preset algorithm. For the specific process, reference may be made to the content of the corresponding embodiment in FIG. 2 , which will not be repeated here.
当count信息为偏移值时,本发明实施例不对第二基站按照第二预设算法,对count信息进行运算,得到count信息对应的count值的方式作具体限定,包括但不限于:基于预设偏移量,对偏移值进行反偏移运算,得到偏移值对应的count值。When the count information is an offset value, this embodiment of the present invention does not specifically limit the manner in which the second base station operates the count information according to the second preset algorithm to obtain the count value corresponding to the count information, including but not limited to: Set the offset, perform the inverse offset operation on the offset value, and obtain the count value corresponding to the offset value.
例如,若偏移值为506,而预设偏移量为500,通过对偏移值作反偏移运算,可得到对应的count值为6。For example, if the offset value is 506 and the preset offset is 500, the corresponding count value of 6 can be obtained by performing an inverse offset operation on the offset value.
在对count值进行预处理得到count信息时,除了上述方式之外,还可通过二进制字符串的方式来表示count信息。相应地,本发明实施例不对按照第二预设方式,对count信息进行预处理,得到count信息对应的count值的方式作具体限定,包括但不限于:基于二进制字符串的总位数,确定count值。When the count value is preprocessed to obtain the count information, in addition to the above methods, the count information can also be represented by a binary string. Correspondingly, the embodiment of the present invention does not specifically limit the method of preprocessing the count information according to the second preset method to obtain the count value corresponding to the count information, including but not limited to: determining the number of digits based on the total number of binary strings. count value.
例如,当二进制字符串为11111111110时,由于二进制字符串的总位数为 11,则count值为11。For example, when the binary string is 11111111110, since the total number of digits in the binary string is 11, the count value is 11.
其中,403、基于count值,与UE进行数据传输。Wherein, 403, based on the count value, perform data transmission with the UE.
对于切换场景下的下行数据传输,第二基站在获取到count值后,可基于 count值向UE下发数据包。For downlink data transmission in a handover scenario, after acquiring the count value, the second base station may deliver a data packet to the UE based on the count value.
对于切换场景下的上行数据传输,第二基站在获取到count值后,可将 count值传递至UE,由UE基于count值向第二基站上传数据包。或者,当count 值由UE本身获取时,则不用执行上述步骤,由UE直接基于count值向第二基站上传数据包。For uplink data transmission in a handover scenario, after acquiring the count value, the second base station may transmit the count value to the UE, and the UE uploads the data packet to the second base station based on the count value. Alternatively, when the count value is obtained by the UE itself, the above steps are not performed, and the UE directly uploads the data packet to the second base station based on the count value.
对于DC场景下的下行数据传输,辅基站在获取到count值后,可基于count 值向UE下发数据包。与此同时,主基站也可向UE下发数据包。For downlink data transmission in the DC scenario, after acquiring the count value, the secondary base station may deliver a data packet to the UE based on the count value. At the same time, the master base station can also deliver data packets to the UE.
对于DC场景下的上行数据传输,辅基站在获取到count值后,可将count 值传递至UE,由UE基于count值向辅基站和/或主基站上传数据包。或者,当count值由UE本身获取时,则不用执行上述步骤,由UE直接基于count 值向辅基站和/或主基站上传数据包。For uplink data transmission in the DC scenario, after acquiring the count value, the secondary base station may transmit the count value to the UE, and the UE uploads data packets to the secondary base station and/or the primary base station based on the count value. Alternatively, when the count value is obtained by the UE itself, the above steps are not required, and the UE directly uploads the data packet to the secondary base station and/or the primary base station based on the count value.
本发明实施例提供的方法,第二基站通过接收第一基站发送的count信息。按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值。基于count值,与UE进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count 值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the method provided by the embodiment of the present invention, the second base station receives the count information sent by the first base station. According to the second preset manner, the count information is preprocessed to obtain a count value corresponding to the count information. Based on the count value, data transmission is performed with the UE. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
基于上述实施例的内容,本发明实施例提供了一种数据状态转移方法。现以执行主体为UE,对本发明实施例提供的数据状态转移方法进行说明。需要说明的是,由于UE只有在上行数据传输过程中才会用到count值,从而本发明实施例可适用于DC场景或切换场景中的上行数据传输过程。参见图5,该方法包括:501、获取基站传递的count值;502、基于count值,与基站进行数据传输。Based on the contents of the foregoing embodiments, the embodiments of the present invention provide a data state transfer method. The data state transition method provided by the embodiment of the present invention will now be described by taking the execution subject as the UE. It should be noted that, since the UE only uses the count value in the uplink data transmission process, the embodiment of the present invention is applicable to the uplink data transmission process in the DC scenario or the handover scenario. Referring to FIG. 5 , the method includes: 501 , acquiring a count value delivered by a base station; 502 , performing data transmission with the base station based on the count value.
其中,count值与完成传输确认的最后一个数据包的下一个数据包相对应,每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Among them, the count value corresponds to the next data packet of the last data packet that has completed the transmission confirmation. Each data packet is obtained by dividing the data file. count value, each count value is the sequence number of each data packet after sorting.
本发明实施例提供的方法,UE通过获取基站传递的count值,基于count 值,与基站进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the method provided by the embodiment of the present invention, the UE performs data transmission with the base station based on the count value by acquiring the count value transmitted by the base station. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
作为一种可选实施例,当基站为第一基站时,count值由第一基站传递至用户设备;当基站为第二基站时,count值由第一基站传递至第二基站,再由第二基站传递至用户设备。As an optional embodiment, when the base station is the first base station, the count value is transmitted from the first base station to the user equipment; when the base station is the second base station, the count value is transmitted from the first base station to the second base station, and then from the first base station to the second base station. The second base station transmits to the user equipment.
作为一种可选实施例,获取基站传递的count值,包括:As an optional embodiment, acquiring the count value transmitted by the base station includes:
接收基站发送的count信息,count信息由第一基站按照第一预设方式对count值进行预处理得到;receiving count information sent by the base station, where the count information is obtained by preprocessing the count value by the first base station according to a first preset manner;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information
作为一种可选实施例,count信息为二值位图文件;As an optional embodiment, the count information is a binary bitmap file;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值,包括:According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information, including:
基于二值位图文件,确定每一位上的位图数据;Determine the bitmap data on each bit based on the binary bitmap file;
基于每一位上的位图数据,确定count值。Based on the bitmap data on each bit, the count value is determined.
作为一种可选实施例,count信息由第一基站按照第一预设算法对count 值进行运算得到;As an optional embodiment, the count information is obtained by the first base station calculating the count value according to a first preset algorithm;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值,包括:According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information, including:
按照第二预设算法,对count信息进行运算,得到count信息对应的count 值。According to the second preset algorithm, the count information is operated to obtain a count value corresponding to the count information.
作为一种可选实施例,按照第二预设算法,对count信息进行运算,得到 count信息对应的count值之前,还包括:As an optional embodiment, according to the second preset algorithm, the count information is operated, and before the count value corresponding to the count information is obtained, the method further includes:
基于用户设备与第一基站之间的交互信息,确定所使用的第二预设算法;determining the used second preset algorithm based on the interaction information between the user equipment and the first base station;
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值;As an optional embodiment, the count information is an offset value;
按照第二预设算法,对count信息进行运算,得到count信息对应的count 值,包括:According to the second preset algorithm, the count information is operated to obtain the count value corresponding to the count information, including:
基于预设偏移量,对偏移值进行反偏移运算,得到偏移值对应的count值。Based on the preset offset, an inverse offset operation is performed on the offset value to obtain a count value corresponding to the offset value.
作为一种可选实施例,count信息为二进制字符串;As an optional embodiment, the count information is a binary string;
按照第二预设方式,对count信息进行预处理,得到count信息对应的count 值,包括:According to the second preset method, the count information is preprocessed to obtain the count value corresponding to the count information, including:
基于二进制字符串的总位数,确定count值。The count value is determined based on the total number of digits in the binary string.
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined arbitrarily to form optional embodiments of the present invention, which will not be repeated here.
基于上述实施例的内容,本发明实施例提供了一种数据状态转移方法。现以执行主体为UE,对本发明实施例提供的数据状态转移方法进行说明。需要说明的是,由于UE只有在上行数据传输过程中才会用到count值,从而本发明实施例可适用于DC场景或切换场景中的上行数据传输过程。参见图6,该方法包括:601、接收基站发送的count信息;602、按照第二预设方式,对count 信息进行预处理,得到count信息对应的count值;603、基于count值,与基站进行数据传输。Based on the contents of the foregoing embodiments, the embodiments of the present invention provide a data state transfer method. The data state transition method provided by the embodiment of the present invention will now be described by taking the execution subject as the UE. It should be noted that, since the UE only uses the count value in the uplink data transmission process, the embodiment of the present invention is applicable to the uplink data transmission process in the DC scenario or the handover scenario. Referring to FIG. 6 , the method includes: 601. Receive count information sent by a base station; 602. Preprocess the count information according to a second preset method to obtain a count value corresponding to the count information; 603. Based on the count value, perform a process with the base station. data transmission.
其中,601、接收基站发送的count信息。Wherein, 601. Receive the count information sent by the base station.
在本步骤中,UE可接收基站发送的count信息。需要说明的是,关于UE 接收count信息所选用的信道以及接收时间,可根据需求具体设置,本发明实施例对此不作具体限定。对于DC场景或切换场景下的上行数据传输,本步骤中的基站可以为第一基站和/或第二基站,本发明实施例对此不作具体限定。当基站为第二基站时,count值可以count信息的形式由第一基站传递至第二基站,再由第二基站传递至UE。当基站为第二基站时,count值由第一基站传递至第二基站,再由第二基站传递至用户设备。In this step, the UE may receive the count information sent by the base station. It should be noted that the channel selected by the UE to receive the count information and the receiving time may be specifically set according to requirements, which are not specifically limited in this embodiment of the present invention. For uplink data transmission in a DC scenario or a handover scenario, the base station in this step may be the first base station and/or the second base station, which is not specifically limited in this embodiment of the present invention. When the base station is the second base station, the count value may be transmitted by the first base station to the second base station in the form of count information, and then transmitted by the second base station to the UE. When the base station is the second base station, the count value is transmitted by the first base station to the second base station, and then transmitted by the second base station to the user equipment.
或者,当count值由UE自身确定时,则不需要通过上述步骤中的过程,而是由UE直接获取自身确定的count值。Alternatively, when the count value is determined by the UE itself, the process in the above steps is not required, but the UE directly obtains the count value determined by itself.
其中,602、按照第二预设方式,对count信息进行预处理,得到count 信息对应的count值。In 602, according to the second preset manner, preprocess the count information to obtain a count value corresponding to the count information.
本发明实施例不对UE按照第二预设方式,对count信息进行预处理,得到count信息对应的count值的方式作具体限定,具体过程可参考图4对应实施例的内容,此处不再赘述。This embodiment of the present invention does not specifically limit the manner in which the UE preprocesses the count information according to the second preset manner to obtain the count value corresponding to the count information. For the specific process, please refer to the content of the corresponding embodiment in FIG. 4 , which will not be repeated here. .
其中,603、基于count值,与基站进行数据传输。Wherein, 603, based on the count value, perform data transmission with the base station.
本发明实施例不对UE基于count值,与基站进行数据传输的方式作具体限定,具体过程可参考图4对应实施例的内容,此处不再赘述。This embodiment of the present invention does not specifically limit the manner in which the UE performs data transmission with the base station based on the count value. For the specific process, reference may be made to the content of the corresponding embodiment in FIG. 4 , which will not be repeated here.
本发明实施例提供的方法,UE通过接收基站发送的count信息。按照第二预设方式,对count信息进行预处理,得到count信息对应的count值。UE 基于count值,与基站进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the method provided by the embodiment of the present invention, the UE receives the count information sent by the base station. According to the second preset manner, the count information is preprocessed to obtain a count value corresponding to the count information. The UE performs data transmission with the base station based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
图7是本发明一个实施例的第一基站的框图。图7所示的第一基站700 包括获取模块701和传递模块702。FIG. 7 is a block diagram of a first base station according to an embodiment of the present invention. The
获取模块701,用于当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;The obtaining
传递模块702,用于将count值传递至第二基站或UE,以使得第二基站或 UE基于count值进行数据传输;A
其中,每一数据包通过对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Wherein, each data packet is obtained by dividing the data file. After all the divided data packets are sorted in sequence, each data packet corresponds to a count value, and each count value is the sequence number of each data packet after sorting.
作为一种可选实施例,参见图8,该第一基站还包括:As an optional embodiment, referring to FIG. 8 , the first base station further includes:
预处理模块703,用于按照第一预设方式,对count值进行预处理,得到 count值对应的count信息;The
传递模块702,用于将count信息发送至第二基站或UE。The
作为一种可选实施例,count信息为二值位图文件;As an optional embodiment, the count information is a binary bitmap file;
预处理模块703,用于基于完成传输确认的每一数据包对应的数据传输结果及count值,确定每一位上的位图数据;The
基于每一位上的位图数据,生成对应的二值位图文件。Based on the bitmap data on each bit, a corresponding binary bitmap file is generated.
作为一种可选实施例,预处理模块703,用于按照第一预设算法,对count 值作运算,得到相应的count信息。As an optional embodiment, the
作为一种可选实施例,预处理模块703,用于基于第一基站与第二基站之间的交互信息,确定所使用的第一预设算法;As an optional embodiment, the
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,预处理模块703,用于基于预设偏移量,对count 值进行偏移运算,得到count值对应的偏移值。As an optional embodiment, the
作为一种可选实施例,count信息为二进制字符串;As an optional embodiment, the count information is a binary string;
预处理模块703,用于基于完成传输确认的每一数据包对应的数据传输结果及count值,依次确定每一二进制位上的值,得到二进制字符串。The
本发明实施例提供的第一基站,通过在检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值。将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count 值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。The first base station provided by the embodiment of the present invention acquires the count value corresponding to the next data packet of the last data packet for which the transmission confirmation is completed when it is detected that the UE establishes a communication connection with the second base station. The count value is communicated to the second base station or UE, so that the second base station or UE performs data transmission based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
请参阅图9,图9是本发明实施例应用的基站的结构示意图,能够实现图 1至图6对应的方法实施例中第一基站所执行的功能,并达到相同的效果。如图9所示,基站900包括:处理器901、收发机902、存储器903、用户接口 904和总线接口,其中:Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of a base station to which an embodiment of the present invention is applied, which can implement the functions performed by the first base station in the method embodiments corresponding to FIG. 1 to FIG. 6, and achieve the same effect. As shown in Figure 9, the
在本发明实施例中,基站900还包括:存储在存储器903上并可在处理器 901上运行的计算机程序,计算机程序被处理器901执行时实现如下步骤:当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值;In this embodiment of the present invention, the
将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输;passing the count value to the second base station or UE, so that the second base station or UE performs data transmission based on the count value;
其中,每一数据包通过对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Wherein, each data packet is obtained by dividing the data file. After all the divided data packets are sorted in sequence, each data packet corresponds to a count value, and each count value is the sequence number of each data packet after sorting.
在图9中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器 901代表的一个或多个处理器和存储903代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机902可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口904还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In Figure 9, the bus architecture may include any number of interconnected buses and bridges, in particular one or more processors represented by
处理器901负责管理总线架构和通常的处理,存储器903可以存储处理器 901在执行操作时所使用的数据。The
作为一种可选实施例,计算机程序被处理器901执行时还可实现如下步骤:按照第一预设方式,对count值进行预处理,得到count值对应的count信息;As an optional embodiment, when the computer program is executed by the
将count值传递至第二基站或UE,包括:Pass the count value to the second base station or UE, including:
将count信息发送至第二基站或UE。Send the count information to the second base station or the UE.
作为一种可选实施例,count信息为二值位图文件,计算机程序被处理器 901执行时还可实现如下步骤:As an optional embodiment, the count information is a binary bitmap file, and when the computer program is executed by the
基于完成传输确认的每一数据包对应的数据传输结果及count值,确定每一位上的位图数据;Determine the bitmap data on each bit based on the data transmission result and count value corresponding to each data packet that has completed the transmission confirmation;
基于每一位上的位图数据,生成对应的二值位图文件。Based on the bitmap data on each bit, a corresponding binary bitmap file is generated.
作为一种可选实施例,计算机程序被处理器901执行时还可实现如下步骤:按照第一预设算法,对count值进行运算,得到count值对应的count信息。As an optional embodiment, when the computer program is executed by the
作为一种可选实施例,计算机程序被处理器901执行时还可实现如下步骤:基于第一基站与第二基站之间的交互信息,确定所使用的第一预设算法;As an optional embodiment, when the computer program is executed by the
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值,计算机程序被处理器901执行时还可实现如下步骤:基于预设偏移量,对count值进行偏移运算,得到count 值对应的偏移值。As an optional embodiment, the count information is an offset value, and when the computer program is executed by the
作为一种可选实施例,count信息为二进制字符串,计算机程序被处理器 901执行时还可实现如下步骤:基于完成传输确认的每一数据包对应的数据传输结果及count值,依次确定每一二进制位上的值,得到二进制字符串。As an optional embodiment, the count information is a binary string, and when the computer program is executed by the
本发明实施例的基站中,当检测到UE与第二基站建立通信连接时,获取完成传输确认的最后一个数据包的下一个数据包对应的count值。将count值传递至第二基站或UE,以使得第二基站或UE基于count值进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认对应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the base station of the embodiment of the present invention, when it is detected that the UE establishes a communication connection with the second base station, the count value corresponding to the next data packet of the last data packet of the completion transmission confirmation is obtained. The count value is communicated to the second base station or UE, so that the second base station or UE performs data transmission based on the count value. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
本发明实施例还提供一种基站,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述图1至图6对应的实施例中第一基站所执行的功能,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention further provides a base station, including a processor, a memory, and a computer program stored on the memory and executable on the processor, and the computer program is executed by the processor to implement the above-mentioned FIG. 1 The functions performed by the first base station in the embodiment corresponding to FIG. 6 can achieve the same technical effect. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述图1至图6对应的方法实施例中第一基站所执行的功能,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the first base station in the method embodiments corresponding to FIG. 1 to FIG. function, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
图10是本发明一个实施例的第二基站的框图。图10所示的第二基站1000 包括获取模块1001和传输模块1002。FIG. 10 is a block diagram of a second base station according to an embodiment of the present invention. The
获取模块1001,用于获取第一基站传递的count值;an
传输模块1002,用于基于count值,与UE进行数据传输;A
其中,count值与完成传输确认的最后一个数据包的下一个数据包相对应,每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Among them, the count value corresponds to the next data packet of the last data packet that has completed the transmission confirmation. Each data packet is obtained by dividing the data file. count value, each count value is the sequence number of each data packet after sorting.
作为一种可选实施例,参见图11,获取模块1001,包括:As an optional embodiment, referring to FIG. 11 , the obtaining
接收单元10011,用于接收第一基站发送的count信息,count信息由第一基站按照第一预设方式对count值进行预处理得到;The receiving
预处理单元10012,用于按照第二预设方式,对count信息进行预处理,得到count信息对应的count值。The
作为一种可选实施例,count信息为二值位图文件;As an optional embodiment, the count information is a binary bitmap file;
预处理单元10012,用于基于二值位图文件,确定每一位上的位图数据;基于每一位上的位图数据,确定count值。The
作为一种可选实施例,count信息由第一基站按照第一预设算法对count 值进行运算得到;As an optional embodiment, the count information is obtained by the first base station calculating the count value according to a first preset algorithm;
预处理单元10012,用于按照第二预设算法,对count信息进行运算,得到count信息对应的count值。The
作为一种可选实施例,预处理单元10012,用于基于第二基站与第一基站之间的交互信息,确定所使用的第二预设算法;As an optional embodiment, the
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值;As an optional embodiment, the count information is an offset value;
预处理单元10012,用于基于预设偏移量,对偏移值进行反偏移运算,得到偏移值对应的count值。The
作为一种可选实施例,count信息为二进制字符串;As an optional embodiment, the count information is a binary string;
预处理单元10012,用于基于二进制字符串的总位数,确定count值。The
本发明实施例提供的第二基站,通过获取第一基站传递的count值,基于 count值,与UE进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。The second base station provided by the embodiment of the present invention performs data transmission with the UE based on the count value by acquiring the count value transmitted by the first base station. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
请参阅图12,图12是本发明实施例应用的基站的结构示意图,能够实现图1至图6对应的方法实施例中第二基站所执行的功能,并达到相同的效果。如图12所示,基站1200包括:处理器1201、收发机1202、存储器1203、用户接口1204和总线接口,其中:Referring to FIG. 12, FIG. 12 is a schematic structural diagram of a base station to which an embodiment of the present invention is applied, which can implement the functions performed by the second base station in the method embodiments corresponding to FIGS. 1 to 6, and achieve the same effect. As shown in FIG. 12, the
在本发明实施例中,基站1200还包括:存储在存储器1203上并可在处理器1201上运行的计算机程序,计算机程序被处理器1201执行时实现如下步骤:获取第一基站传递的count值;In this embodiment of the present invention, the
基于count值,与UE进行数据传输;Based on the count value, perform data transmission with the UE;
其中,count值与完成传输确认的最后一个数据包的下一个数据包相对应,每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Among them, the count value corresponds to the next data packet of the last data packet that has completed the transmission confirmation. Each data packet is obtained by dividing the data file. count value, each count value is the sequence number of each data packet after sorting.
在图12中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1201代表的一个或多个处理器和存储1203代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1202可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1204还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 12, the bus architecture may include any number of interconnected buses and bridges, in particular one or more processors represented by
处理器1201负责管理总线架构和通常的处理,存储器1203可以存储处理器1201在执行操作时所使用的数据。The
作为一种可选实施例,计算机程序被处理器1201执行时还可实现如下步骤:接收第一基站发送的count信息,count信息由第一基站按照第一预设方式对count值进行预处理得到;按照第二预设方式,对count信息进行预处理,得到count信息对应的count值。As an optional embodiment, when the computer program is executed by the
作为一种可选实施例,count信息为二值位图文件,计算机程序被处理器 1201执行时还可实现如下步骤:基于二值位图文件,确定每一位上的位图数据;基于每一位上的位图数据,确定count值。As an optional embodiment, the count information is a binary bitmap file, and when the computer program is executed by the
作为一种可选实施例,count信息由第一基站按照第一预设算法对count 值进行运算得到,计算机程序被处理器1201执行时还可实现如下步骤:按照第二预设算法,对count信息进行运算,得到count信息对应的count值。As an optional embodiment, the count information is obtained by the first base station operating on the count value according to a first preset algorithm, and the computer program may also implement the following steps when executed by the processor 1201: The information is operated to obtain the count value corresponding to the count information.
作为一种可选实施例,计算机程序被处理器1201执行时还可实现如下步骤:基于第二基站与第一基站之间的交互信息,确定所使用的第二预设算法;As an optional embodiment, when the computer program is executed by the
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值,计算机程序被处理器1201执行时还可实现如下步骤:基于预设偏移量,对偏移值进行反偏移运算,得到偏移值对应的count值。As an optional embodiment, the count information is an offset value, and when the computer program is executed by the
作为一种可选实施例,count信息为二进制字符串,计算机程序被处理器 1201执行时还可实现如下步骤:基于二进制字符串的总位数,确定count值。As an optional embodiment, the count information is a binary string, and when the computer program is executed by the
本发明实施例的基站中,获取第一基站传递的count值。基于count值,与UE进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认对应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the base station in the embodiment of the present invention, the count value transmitted by the first base station is acquired. Based on the count value, data transmission is performed with the UE. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
本发明实施例还提供一种基站,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述图1至图6对应的实施例中第二基站所执行的功能,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention further provides a base station, including a processor, a memory, and a computer program stored on the memory and executable on the processor, and the computer program is executed by the processor to implement the above-mentioned FIG. 1 The functions performed by the second base station in the embodiment corresponding to FIG. 6 can achieve the same technical effect. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述图1至图6对应的方法实施例中第二基站所执行的功能,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the second base station executes the execution of the method embodiments corresponding to FIG. 1 to FIG. 6 above. function, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
图13是本发明一个实施例的用户设备的框图。图13所示的用户设备1300 包括获取模块1301和传输模块1302。FIG. 13 is a block diagram of a user equipment according to an embodiment of the present invention. The
获取模块1301,用于获取基站传递的count值;Obtaining
传输模块1302,用于基于count值,与基站进行数据传输;a
其中,count值与完成传输确认的最后一个数据包的下一个数据包相对应,每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,每一count值为每一数据包排序后的序号。Among them, the count value corresponds to the next data packet of the last data packet that has completed the transmission confirmation. Each data packet is obtained by dividing the data file. count value, each count value is the sequence number of each data packet after sorting.
作为一种可选实施例,当基站为第一基站时,count值由第一基站传递至用户设备;当基站为第二基站时,count值由第一基站传递至第二基站,再由第二基站传递至用户设备。As an optional embodiment, when the base station is the first base station, the count value is transmitted from the first base station to the user equipment; when the base station is the second base station, the count value is transmitted from the first base station to the second base station, and then from the first base station to the second base station. The second base station transmits to the user equipment.
作为一种可选实施例,参见图14,获取模块1301,包括:As an optional embodiment, referring to FIG. 14 , the obtaining
接收单元13011,用于接收基站发送的count信息,count信息由第一基站按照第一预设方式对count值进行预处理得到;The receiving
预处理单元13012,用于按照第二预设方式,对count信息进行预处理,得到count信息对应的count值。The
作为一种可选实施例,count信息为二值位图文件,预处理单元13012,用于基于二值位图文件,确定每一位上的位图数据;基于每一位上的位图数据,确定count值。As an optional embodiment, the count information is a binary bitmap file, and the
作为一种可选实施例,count信息由第一基站按照第一预设算法作运算得到,预处理单元13012,用于按照第二预设算法,对count信息进行运算,得到count信息对应的count值。As an optional embodiment, the count information is obtained by the first base station performing an operation according to a first preset algorithm, and the
作为一种可选实施例,预处理单元13012,用于基于用户设备与第一基站之间的交互信息,确定所使用的第二预设算法;As an optional embodiment, the
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种可选实施例,count信息为偏移值,预处理单元13012,用于基于预设偏移量,对偏移值作反偏移运算,得到相应的count值。As an optional embodiment, the count information is an offset value, and the
作为一种可选实施例,count信息为二进制字符串,预处理单元13012,用于基于二进制字符串的总位数,确定count值。As an optional embodiment, the count information is a binary string, and the
本发明实施例提供的用户设备,UE通过获取基站传递的count值,基于count值,与基站进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。In the user equipment provided by the embodiment of the present invention, the UE performs data transmission with the base station based on the count value by acquiring the count value transmitted by the base station. Since each data packet is obtained by dividing the data file, after all the divided data packets are sorted in sequence, each data packet corresponds to a count value, that is, the count value corresponding to each data packet is in all divided data packets. The actual sequence number, so that in the process of data state transition, the corresponding data packet can be uniquely confirmed based on the count value, and no data packet loss or repeated data packet transmission will be caused by batch determination errors. Therefore, the correct transmission of data can be guaranteed.
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
图15是本发明另一个实施例的用户设备的框图。图15所示的用户设备 1500包括:至少一个处理器1501、存储器1502、至少一个网络接口1504和其他用户接口1503。用户设备1500中的各个组件通过总线系统1505耦合在一起。可理解,总线系统1505用于实现这些组件之间的连接通信。总线系统 1505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为总线系统1505。FIG. 15 is a block diagram of a user equipment according to another embodiment of the present invention. The
其中,用户接口1503可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Among them, the
可以理解,本发明实施例中的存储器1502可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器 (Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM, EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM, DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器1502旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the
在一些实施方式中,存储器1502存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统15021和应用程序 15022。In some embodiments,
其中,操作系统15021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序15022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序15022 中。The
在本发明实施例中,通过调用存储器1502存储的程序或指令,具体的,可以是应用程序15022中存储的程序或指令,处理器1501用于获取基站传递的count值;基于count值,与基站进行数据传输;其中,count值与完成传输确认的最后一个数据包的下一个数据包相对应,每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count 值,每一count值为每一数据包排序后的序号。In this embodiment of the present invention, by calling the program or instruction stored in the
上述本发明实施例揭示的方法可以应用于处理器1501中,或者由处理器 1501实现。处理器1501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1501可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array, FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1502,处理器1501读取存储器1502中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to the
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions of the present application or its in combination.
对于软件实现,可通过执行本文功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented through modules (eg, procedures, functions, etc.) that perform the functions herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
作为一种实施例,当基站为第一基站时,count值由第一基站传递至用户设备;当基站为第二基站时,count值由第一基站传递至第二基站,再由第二基站传递至用户设备。As an embodiment, when the base station is the first base station, the count value is transmitted by the first base station to the user equipment; when the base station is the second base station, the count value is transmitted by the first base station to the second base station, and then by the second base station. delivered to the user device.
作为一种实施例,处理器1501还用于:接收基站发送的count信息,count 信息由第一基站按照第一预设方式对count值进行预处理得到;按照第二预设方式,对count信息进行预处理,得到count信息对应的count值。As an embodiment, the
作为一种实施例,count信息为二值位图文件,处理器1501还用于:基于二值位图文件,确定每一位上的位图数据;基于每一位上的位图数据,确定 count值。As an embodiment, the count information is a binary bitmap file, and the
作为一种实施例,count信息由第一基站按照第一预设算法对count值进行运算得到,处理器1501还用于:按照第二预设算法,对count信息进行运算,得到count信息对应的count值。As an embodiment, the count information is obtained by the first base station operating on the count value according to a first preset algorithm, and the
作为一种实施例,处理器1501还用于:基于用户设备与第一基站之间的交互信息,确定所使用的第二预设算法;As an embodiment, the
其中,交互信息包括用于选择预设算法的指令。Wherein, the interaction information includes an instruction for selecting a preset algorithm.
作为一种实施例,count信息为偏移值,处理器1501还用于:基于预设偏移量,对偏移值进行反偏移运算,得到偏移值对应的count值。As an embodiment, the count information is an offset value, and the
作为一种实施例,count信息为二进制字符串,处理器1501还用于:基于二进制字符串的总位数,确定count值。As an embodiment, the count information is a binary string, and the
用户设备1500能够实现前述实施例中用户设备实现的各个过程,为避免重复,这里不再赘述。本发明实施例的用户设备中,通过获取基站传递的count 值,基于count值,与基站进行数据传输。由于每一数据包由对数据文件进行划分后得到,所有划分的数据包在经过依次排序后每一数据包对应一个count 值,即每一数据包对应的count值是在所有划分数据包中的实际序号,从而在数据状态转移过程中,基于count值可唯一确认相应的数据包,不会因批次确定错误而导致数据包丢失或者数据包重复传输。因此,可保证数据正确传输。The
另外,由于一侧基站在传递count值之前,可对count值进行预处理得到 count信息,从而可对count值进行加密,以提高count值传递过程中的安全性。另一侧基站或UE在接收到count信息时,可对count信息进行预处理以校验 count值,从而可验证count值的准确性。In addition, before transmitting the count value, the base station on one side can preprocess the count value to obtain the count information, so that the count value can be encrypted, so as to improve the security in the process of transmitting the count value. When the base station or UE on the other side receives the count information, it may preprocess the count information to check the count value, so as to verify the accuracy of the count value.
本发明实施例还提供一种用户设备,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述图1至图6对应的实施例中用户设备所执行的功能,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention further provides a user equipment, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to implement the above diagrams The functions performed by the user equipment in the embodiments corresponding to FIG. 1 to FIG. 6 can achieve the same technical effect. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述图1至图6对应的方法实施例中UE所执行的功能,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the functions performed by the UE in the method embodiments corresponding to FIG. 1 to FIG. 6 are implemented. , and can achieve the same technical effect, in order to avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art who is familiar with the technical scope disclosed by the present invention can easily think of changes or replacements, which should cover within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (50)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710459620.5A CN109246776B (en) | 2017-06-16 | 2017-06-16 | Data state transfer method, base station, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710459620.5A CN109246776B (en) | 2017-06-16 | 2017-06-16 | Data state transfer method, base station, device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109246776A CN109246776A (en) | 2019-01-18 |
CN109246776B true CN109246776B (en) | 2020-07-17 |
Family
ID=65083155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710459620.5A Active CN109246776B (en) | 2017-06-16 | 2017-06-16 | Data state transfer method, base station, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109246776B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105557007A (en) * | 2013-09-11 | 2016-05-04 | 三星电子株式会社 | Method and system to enable secure communication for inter-enb transmission |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102078866B1 (en) * | 2013-08-09 | 2020-02-19 | 삼성전자주식회사 | SCHEME FOR Security key management for PDCP distribution in dual connectivity |
CN104822169B (en) * | 2014-01-30 | 2019-01-25 | 上海诺基亚贝尔股份有限公司 | Method, base station and the doubly-linked welding system of service are provided for the switching for user equipment |
WO2017012668A1 (en) * | 2015-07-23 | 2017-01-26 | Nokia Solutions And Networks Oy | Improved data unit reordering in dual connectivity scenarios |
-
2017
- 2017-06-16 CN CN201710459620.5A patent/CN109246776B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105557007A (en) * | 2013-09-11 | 2016-05-04 | 三星电子株式会社 | Method and system to enable secure communication for inter-enb transmission |
Also Published As
Publication number | Publication date |
---|---|
CN109246776A (en) | 2019-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10412650B2 (en) | Data transmission method, apparatus and system | |
US11606306B2 (en) | Packet transmission method and apparatus | |
CN110139322A (en) | A kind of data transmission method and terminal | |
WO2018099210A1 (en) | Method and apparatus for determining encoding mode | |
CN110505714B (en) | Multi-link communication method, equipment and terminal | |
CN106464313B (en) | Segmented delivery using coordinated multipoint in mobile networks | |
CN111405625B (en) | A handover method, base station, communication system and storage medium | |
CN109863731B (en) | Data transmission method, related equipment and communication system | |
US10841042B2 (en) | Method and apparatus for providing hybrid automatic repeat request (HARQ) transmission, to meet transmissions requirements of different services | |
EP3758312B1 (en) | Method and system for the creation of a multicast group | |
WO2018127220A1 (en) | Data forwarding method and device | |
EP4080912B1 (en) | Multicast sending and receiving methods and apparatuses | |
CN110536332B (en) | Redundant session, radio bearer establishment method, device, node, terminal and medium | |
WO2018202131A1 (en) | Communication method, device and system | |
CN111294166B (en) | Service transmission and service configuration sending method and device, storage medium, terminal and base station | |
CN114071622B (en) | Data processing method, communication device and system | |
CN109246776B (en) | Data state transfer method, base station, device and medium | |
CN103718580A (en) | Link establishing method, apparatus and system | |
WO2023093285A1 (en) | Communication method, and terminal | |
CN111416689B (en) | Data transmission method and communication equipment | |
CN111510263B (en) | Remapping method, terminal and network side equipment | |
CN116506903A (en) | Wireless network protocol stack configuration method, device, terminal and network side equipment | |
WO2018202204A1 (en) | Reflective service flow characteristic-based communication method and device | |
US20240244490A1 (en) | Lossless multicast and broadcast data transmissions in handovers | |
US20240214876A1 (en) | Lossless multicast and broadcast data transmissions in handovers |
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 |