WO2018036026A1 - Data transmission method, base station, target terminal, system and storage medium - Google Patents

Data transmission method, base station, target terminal, system and storage medium Download PDF

Info

Publication number
WO2018036026A1
WO2018036026A1 PCT/CN2016/109922 CN2016109922W WO2018036026A1 WO 2018036026 A1 WO2018036026 A1 WO 2018036026A1 CN 2016109922 W CN2016109922 W CN 2016109922W WO 2018036026 A1 WO2018036026 A1 WO 2018036026A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
frame
target terminal
data
error
Prior art date
Application number
PCT/CN2016/109922
Other languages
French (fr)
Chinese (zh)
Inventor
汤丽
于洪涛
Original Assignee
哈尔滨海能达科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 哈尔滨海能达科技有限公司 filed Critical 哈尔滨海能达科技有限公司
Publication of WO2018036026A1 publication Critical patent/WO2018036026A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

Disclosed in an embodiment of the present invention is a data transmission method, which is used to reduce retransmission time and save channel resources. The method is applied to a police digital trunking system. The police digital trunking system comprises a base station and a plurality of target terminals. The method in the embodiment of the present invention comprises: sending, by the base station, a data packet to the plurality of target terminals, wherein the data packet comprises a data frame; receiving, by the base station, erroneous frame information fed back by the target terminals, wherein the erroneous frame information comprises information of the erroneous data frame; and sending, by the base station, a data frame corresponding to the erroneous frame information to the target terminals.

Description

一种数据传输的方法、基站、目标终端、系统及存储介质Data transmission method, base station, target terminal, system and storage medium
本发明要求于2016年8月26日提交中国专利局、申请号为201610752812.0、发明名称为“一种数据传输的方法、基站以及目标终端”的中国专利申请的优先权,其全部内容通过引用结合在本发明中。The present invention claims priority to Chinese Patent Application No. 201610752812.0, entitled "Method for Data Transmission, Base Station, and Target Terminal", filed on August 26, 2016, the entire contents of which are incorporated by reference. In the present invention.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种数据传输的方法、基站、目标终端、系统及存储介质。The present invention relates to the field of communications, and in particular, to a data transmission method, a base station, a target terminal, a system, and a storage medium.
背景技术Background technique
警用数字集群(Police Digital Trunking,PDT)标准是一种根据中国的国情,注入了中国厂商自主创新因素的全新数字集群体制。PDT标准具有覆盖区域大、国产加密算法加解密、厂家系统互联互通、向下兼容模拟系统、技术简单造价低等优势。PDT标准将以公安警用需求为基础,逐步扩展到其他行业,已逐渐成为全球主流的数字集群标准之一。而分组数据业务作为PDT系统下一种重要的数据传输业务,也得到了广泛的应用。The Police Digital Trunking (PDT) standard is a new digital cluster system that injects independent innovation factors from Chinese manufacturers according to China's national conditions. The PDT standard has the advantages of large coverage area, domestic encryption algorithm encryption and decryption, manufacturer system interconnection, downward compatible analog system, and low technology cost. The PDT standard will be gradually extended to other industries based on the needs of public security police, and has gradually become one of the mainstream digital cluster standards in the world. Packet data service, as an important data transmission service under the PDT system, has also been widely used.
在现有PDT系统中,组播分组传输数据包时,只要有目标终端接收的数据包中有数据帧出错,基站就会重传数据包,这将会造成接收有误的目标终端完成正确接收数据包产生较大的时延,且目标终端重复接收数据包,也浪费了一定的电能。现有技术的缺点体现在:(1)长时间占用信道资源,一旦某个或几个目标终端接收有误,就会导致数据包重传,且如果发生多次重传,将占用较长时间的信道资源;(2)出错的目标终端正确接收数据包时延较长,即如果某目标终端接收错误的帧发生在比较靠后的序号上,将导致该目标终端正确接收数据包的时延较长。In the existing PDT system, when a multicast packet transmits a data packet, the base station retransmits the data packet as long as there is a data frame error in the data packet received by the target terminal, which will cause the target terminal receiving the error to complete the correct reception. The data packet generates a large delay, and the target terminal repeatedly receives the data packet, and also wastes a certain amount of power. The disadvantages of the prior art are as follows: (1) occupying channel resources for a long time, once one or several target terminals receive errors, it will cause data packets to be retransmitted, and if multiple retransmissions occur, it will take a long time. (2) The wrong target terminal receives the data packet with a long delay, that is, if a target terminal receives the wrong frame and occurs on the lower sequence number, the delay of the target terminal to correctly receive the data packet will be caused. Longer.
发明内容Summary of the invention
本发明实施例提供了一种数据传输的方法、基站、目标终端、系统及存储 介质,用于降低重传的时间,节省信道资源。Embodiments of the present invention provide a data transmission method, a base station, a target terminal, a system, and a storage Medium, used to reduce the time of retransmission and save channel resources.
本发明实施例第一方面提供了一种数据传输的方法,该方法应用于警用数字集群系统,警用数字集群系统包括基站和多个目标终端,该方法可以包括:基站向多个目标终端发送数据包,数据包中包括数据帧;基站接收目标终端反馈的误帧信息,误帧信息包括错误数据帧的信息;基站向该目标终端发送与误帧信息对应的数据帧。A first aspect of the embodiments of the present invention provides a data transmission method, where the method is applied to a police digital trunking system, where the police digital trunking system includes a base station and multiple target terminals, and the method may include: the base station to the multiple target terminals Sending a data packet, the data packet includes a data frame; the base station receives the error frame information fed back by the target terminal, and the error frame information includes the information of the erroneous data frame; the base station sends the data frame corresponding to the error frame information to the target terminal.
在本发明实施例中,基站向多个目标终端发送的数据包中有错误数据帧时,基站会接收到错误数据帧的目标终端发送的误帧信息,基站根据误帧信息再向多个目标终端发送与误帧信息对应的数据帧,而不用再发送一个完整的数据包,从而节省了信道资源。In the embodiment of the present invention, when the base station sends an error data frame to a plurality of target terminals, the base station receives the error frame information sent by the target terminal of the erroneous data frame, and the base station further redirects the target according to the error frame information. The terminal transmits the data frame corresponding to the error frame information without sending a complete data packet, thereby saving channel resources.
在一种可选的实现方式中,数据包中还包括尾帧,尾帧用于指示目标终端的反馈顺序,该方法还可以包括:基站接收目标终端反馈的确认帧信息;基站根据确认帧信息确定目标终端接收的数据包中的数据帧正确。In an optional implementation manner, the data packet further includes a tail frame, where the tail frame is used to indicate a feedback order of the target terminal, and the method may further include: the base station receiving the acknowledgement frame information fed back by the target terminal; and the base station according to the acknowledgement frame information It is determined that the data frame in the data packet received by the target terminal is correct.
在本发明实施例中,是另外一种模式,即确认模式,当目标终端收到的数据包中的数据帧正确时,会向基站反馈确认帧信息,基站根据确认帧信息确定目标终端收到的数据包中的数据帧正确。In the embodiment of the present invention, another mode, that is, an acknowledgment mode, when the data frame in the data packet received by the target terminal is correct, the acknowledgment frame information is fed back to the base station, and the base station determines, according to the acknowledgment frame information, that the target terminal receives The data frame in the packet is correct.
在一种可选的实现方式中,该方法还可以包括:若基站记录目标终端未反馈误帧信息或确认帧信息的次数大于第二阈值,则基站停止向目标终端发送其他数据包。In an optional implementation manner, the method may further include: if the base station records that the target terminal does not feed back the error frame information or the number of the acknowledged frame information is greater than the second threshold, the base station stops sending other data packets to the target terminal.
在本发明实施例中,在确认模式下,基站会记录每个目标终端反馈信息的次数,当某个目标终端未反馈误帧信息或者确认帧信息的次数超过第二阈值时,基站不会再向这个目标终端发送数据包,节省了信道资源。In the embodiment of the present invention, in the confirmation mode, the base station records the number of times of feedback information of each target terminal. When a certain target terminal does not feed back the error frame information or the number of times of confirming the frame information exceeds the second threshold, the base station does not Sending data packets to this target terminal saves channel resources.
在一种可选的实现方式中,该基站向该目标终端发送与该误帧信息对应的数据帧,包括:该基站通过组播方式,向该多个目标终端发送与该误帧信息对应的数据帧;或者,该基站通过单播方式,向反馈该误帧信息的目标终端发送与该误帧信息对应的数据帧。In an optional implementation manner, the base station sends a data frame corresponding to the error frame information to the target terminal, where the base station sends, by using a multicast mode, a corresponding to the error frame information to the multiple target terminals. The data frame; or, the base station sends a data frame corresponding to the error frame information to the target terminal that feeds back the error frame information by using a unicast mode.
在一种可选的实现方式中,该方法还可以包括:基站确定待发送的数据包个数与多个目标终端个数的比值;当比值超过第一阈值时,所述基站执行向所 述多个目标终端发送数据包的步骤。In an optional implementation manner, the method may further include: determining, by the base station, a ratio of the number of data packets to be sent to the number of the plurality of target terminals; when the ratio exceeds the first threshold, the base station performs the The step of transmitting a data packet by a plurality of target terminals.
在本发明实施例中,基站会先确定待发送的数据包个数与多个目标终端个数的比值,当比值超过第一阈值时,基站才会用本发明提供的发送方式发送数据包,否则,基站会用现有技术发送数据包,因为当这个比值没有超过第一阈值时,若目标终端接收的数据包出现错误数据帧,再完整的发送一次这个数据包也是比较快的。In the embodiment of the present invention, the base station first determines the ratio of the number of data packets to be sent to the number of the plurality of target terminals. When the ratio exceeds the first threshold, the base station sends the data packet by using the sending manner provided by the present invention. Otherwise, the base station will use the prior art to send the data packet, because when the ratio does not exceed the first threshold, if the data packet received by the target terminal has an erroneous data frame, it is faster to send the data packet completely.
本发明实施例第二方面提供了一种数据传输的方法,该方法应用于警用数字集群系统,警用数字集群系统包括基站和多个目标终端,该方法可以包括:目标终端接收基站发送的数据包,数据包中包括数据帧;若数据包中存在错误数据帧,则目标终端将误帧信息向基站反馈,误帧信息包括错误数据帧的信息;目标终端接收基站发送的与误帧信息对应的数据帧。A second aspect of the embodiments of the present invention provides a data transmission method, where the method is applied to a police digital trunking system, where the police digital trunking system includes a base station and multiple target terminals, and the method may include: the target terminal receives the sending by the base station The data packet includes a data frame; if there is an erroneous data frame in the data packet, the target terminal feeds back the error frame information to the base station, and the error frame information includes the information of the erroneous data frame; the target terminal receives the error frame information sent by the base station. Corresponding data frame.
在本发明实施例中,若目标终端接收的数据包中存在错误数据帧,则目标终端向基站发送误帧信息,基站根据误帧信息向多个目标终端发送与误帧信息对应的数据帧,目标终端接收与误帧信息对应的数据帧,降低了重收的概率。In the embodiment of the present invention, if there is an erroneous data frame in the data packet received by the target terminal, the target terminal sends the error frame information to the base station, and the base station sends the data frame corresponding to the error frame information to the plurality of target terminals according to the error frame information. The target terminal receives the data frame corresponding to the error frame information, which reduces the probability of re-receiving.
在一种可选的实现方式中,数据包中还可以包括尾帧,尾帧用于指示目标终端的反馈顺序,目标终端将误帧信息向基站反馈,可以包括:目标终端根据尾帧指示的反馈顺序,向基站反馈误帧信息。In an optional implementation manner, the data packet may further include a tail frame, where the tail frame is used to indicate a feedback order of the target terminal, and the target terminal feeds back the error frame information to the base station, and the method may include: indicating, by the target terminal, the tail frame according to the tail frame. The feedback sequence feeds back frame error information to the base station.
在本发明实施例中,目标终端向基站反馈误帧信息的时候,是根据接收的数据包中的尾帧指示的反馈顺序向基站反馈,不然,若有几个目标终端接收的数据帧都错误,那么几个目标终端在同一时间向基站反馈误帧信息时,会发生信道资源的冲突。In the embodiment of the present invention, when the target terminal feeds back the error frame information to the base station, it feeds back to the base station according to the feedback sequence indicated by the tail frame in the received data packet. Otherwise, if several target terminals receive the data frame, the error is incorrect. Then, when several target terminals feed back the error frame information to the base station at the same time, a conflict of channel resources occurs.
在一种可选的实现方式中,该方法还可以包括:若数据包中的数据帧正确,尾帧正确,则目标终端根据尾帧指示的反馈顺序向基站反馈确认帧信息。In an optional implementation manner, the method may further include: if the data frame in the data packet is correct, and the tail frame is correct, the target terminal feeds back the acknowledgement frame information to the base station according to the feedback sequence indicated by the tail frame.
在本发明实施例中,若目标终端的收到的数据帧正确,则会向基站反馈确认帧信息,基站根据确认帧信息得知目标终端收到的数据包中的数据帧正确。In the embodiment of the present invention, if the received data frame of the target terminal is correct, the acknowledgment frame information is fed back to the base station, and the base station learns, according to the acknowledgment frame information, that the data frame in the data packet received by the target terminal is correct.
在一种可选的实现方式中,该方法还可以包括:若尾帧错误,则目标终端接收基站下次发送的数据包;目标终端根据基站下次发送的数据包中包括的尾帧指示的反馈顺序,向基站反馈误帧信息或者确认帧信息。 In an optional implementation manner, the method may further include: if the tail frame is incorrect, the target terminal receives the data packet sent by the base station next time; and the target terminal receives the feedback according to the tail frame indication included in the data packet sent by the base station next time. In order, the frame error information or the frame information is acknowledged to the base station.
在本发明实施例中,若这次接收的数据包中的数据帧正确,尾帧错误,而目标终端处于确认模式,则目标终端只能等待接收基站下次发送的数据包,根据下次接收的数据包中包括的尾帧指示的反馈顺序,向基站反馈确认帧信息。In the embodiment of the present invention, if the data frame in the received data packet is correct, the tail frame is incorrect, and the target terminal is in the acknowledge mode, the target terminal can only wait for the data packet sent by the base station to be sent next time, according to the next reception. The feedback sequence indicated by the tail frame included in the data packet is fed back to the base station to confirm the frame information.
本发明实施例第三方面提供了一种基站,基站应用于警用数字集群系统,警用数字集群系统包括基站和多个目标终端,基站可以包括:A third aspect of the embodiments of the present invention provides a base station, where the base station is applied to a police digital trunking system, where the police digital trunking system includes a base station and multiple target terminals, and the base station may include:
发送模块,用于向多个目标终端发送数据包,数据包中包括数据帧;a sending module, configured to send a data packet to multiple target terminals, where the data packet includes a data frame;
接收模块,用于接收目标终端反馈的误帧信息,误帧信息包括错误数据帧的信息;a receiving module, configured to receive error frame information fed back by the target terminal, where the error frame information includes information of the error data frame;
发送模块,还用于向该目标终端发送与接收模块接收的误帧信息对应的数据帧。The sending module is further configured to send, to the target terminal, a data frame corresponding to the error frame information received by the receiving module.
在一种可选的实现方式中,数据包中还包括尾帧,尾帧用于指示目标终端的反馈顺序,In an optional implementation manner, the data packet further includes a tail frame, where the tail frame is used to indicate a feedback order of the target terminal.
接收模块,还用于接收目标终端反馈的确认帧信息;The receiving module is further configured to receive the acknowledgement frame information fed back by the target terminal;
第二确定模块,用于根据接收模块接收的确认帧信息确定目标终端接收的数据包中的数据帧正确。The second determining module is configured to determine, according to the acknowledgement frame information received by the receiving module, that the data frame in the data packet received by the target terminal is correct.
在一种可选的实现方式中,In an alternative implementation,
发送模块,还用于若基站记录目标终端未反馈误帧信息或确认帧信息的次数大于第二阈值,则基站停止向目标终端发送其他数据包。The sending module is further configured to: if the base station records that the number of times the target terminal does not feed back the error frame information or confirms the frame information is greater than the second threshold, the base station stops sending other data packets to the target terminal.
在一种可选的实现方式中,In an alternative implementation,
该发送模块,具体用于通过组播方式,向该多个目标终端发送与该误帧信息对应的数据帧;The sending module is specifically configured to send, by using a multicast mode, a data frame corresponding to the error frame information to the multiple target terminals;
或者,or,
该发送模块,具体用于通过单播方式,向反馈该误帧信息的目标终端发送与该误帧信息对应的数据帧。The sending module is specifically configured to send, by using a unicast mode, a data frame corresponding to the error frame information to a target terminal that feeds back the error frame information.
在一种可选的实现方式中,基站还包括:In an optional implementation manner, the base station further includes:
第一确定模块,用于确定待发送的数据包个数与多个目标终端个数的比值;当比值超过第一阈值时,基站执行向所述多个目标终端发送数据包的步骤。 The first determining module is configured to determine a ratio of the number of data packets to be sent to the number of the plurality of target terminals; when the ratio exceeds the first threshold, the base station performs the step of sending the data packet to the multiple target terminals.
本发明实施例第四方面提供了一种目标终端,目标终端应用于警用数字集群系统,警用数字集群系统包括基站和多个目标终端,目标终端可以包括:A fourth aspect of the embodiments of the present invention provides a target terminal, where the target terminal is applied to a police digital trunking system, and the police digital trunking system includes a base station and a plurality of target terminals, and the target terminal may include:
接收模块,用于接收基站发送的数据包,数据包中包括数据帧;a receiving module, configured to receive a data packet sent by the base station, where the data packet includes a data frame;
反馈模块,用于若数据包中存在错误数据帧,则反馈模块将误帧信息向基站反馈,误帧信息包括错误数据帧的信息;a feedback module, configured to: if the error data frame exists in the data packet, the feedback module feeds back the error frame information to the base station, where the error frame information includes information of the error data frame;
接收模块,还用于接收基站发送的与误帧信息对应的数据帧。The receiving module is further configured to receive a data frame that is sent by the base station and that corresponds to the error frame information.
在一种可选的实现方式中,数据包中还包括尾帧,尾帧用于指示目标终端的反馈顺序,In an optional implementation manner, the data packet further includes a tail frame, where the tail frame is used to indicate a feedback order of the target terminal.
反馈模块,具体用于根据尾帧指示的反馈顺序,向基站反馈误帧信息。The feedback module is specifically configured to feed back the error frame information to the base station according to the feedback sequence indicated by the tail frame.
在一种可选的实现方式中,In an alternative implementation,
反馈模块,还用于若数据包中的数据帧正确,尾帧正确,则反馈模块根据尾帧指示的反馈顺序向基站反馈确认帧信息。The feedback module is further configured to: if the data frame in the data packet is correct, and the tail frame is correct, the feedback module feeds back the confirmation frame information to the base station according to the feedback sequence indicated by the tail frame.
在一种可选的实现方式中,In an alternative implementation,
接收模块,还用于若尾帧错误,则接收基站下次发送的数据包;The receiving module is further configured to receive a data packet sent by the base station next time if the tail frame is incorrect;
反馈模块,还用于根据基站下次发送的数据包中包括的尾帧指示的反馈顺序,向基站反馈误帧信息或者确认帧信息。The feedback module is further configured to feed back the error frame information or the confirmation frame information to the base station according to the feedback sequence indicated by the tail frame indication included in the data packet sent by the base station next time.
本发明实施例第五方面提供了一种基站,可以包括:A fifth aspect of the embodiments of the present invention provides a base station, which may include:
收发器,处理器,存储器和总线;Transceiver, processor, memory and bus;
所述收发器、所述处理器和所述存储器通过所述总线连接;The transceiver, the processor and the memory are connected by the bus;
所述收发器,用于向所述多个目标终端发送数据包,所述数据包中包括数据帧;接收目标终端反馈的误帧信息,所述误帧信息包括所述错误数据帧的信息;向该目标终端发送与所述误帧信息对应的数据帧;The transceiver is configured to send a data packet to the multiple target terminals, where the data packet includes a data frame, and receive error frame information fed back by the target terminal, where the error frame information includes information of the error data frame; Transmitting, to the target terminal, a data frame corresponding to the error frame information;
所述存储器,用于存储程序指令;The memory is configured to store program instructions;
所述处理器,用于通过调用所述存储程序指令,根据所述误帧信息,确定与所述误帧信息对应的数据帧。The processor is configured to determine, according to the error frame information, a data frame corresponding to the error frame information by calling the stored program instruction.
本发明实施例第六方面提供了一种目标终端,可以包括:A sixth aspect of the embodiments of the present invention provides a target terminal, which may include:
收发器,处理器,存储器和总线; Transceiver, processor, memory and bus;
所述收发器、所述处理器和所述存储器通过所述总线连接;The transceiver, the processor and the memory are connected by the bus;
所述收发器,用于接收所述基站发送的数据包,所述数据包中包括数据帧;若所述数据包中存在错误数据帧,则所述目标终端将误帧信息向所述基站反馈,所述误帧信息包括所述错误数据帧的信息;接收所述基站发送的与所述误帧信息对应的数据帧;The transceiver is configured to receive a data packet sent by the base station, where the data packet includes a data frame; if an error data frame exists in the data packet, the target terminal feeds back error frame information to the base station The error frame information includes information of the erroneous data frame, and receives a data frame corresponding to the error frame information sent by the base station;
所述存储器,用于存储程序指令;The memory is configured to store program instructions;
所述处理器,用于通过调用所述存储程序指令,判断所述数据包中是否存在错误数据帧。The processor is configured to determine whether an error data frame exists in the data packet by calling the stored program instruction.
本发明实施例第七方面提供了一种警用数字集群系统,警用数字集群系统包括基站和多个目标终端。A seventh aspect of the embodiments of the present invention provides a police digital trunking system, where the police digital trunking system includes a base station and a plurality of target terminals.
基站为上述第三方面或第三方面任一可能的实现方式中所述的基站;The base station is the base station described in the foregoing third aspect or any possible implementation manner of the third aspect;
目标终端为上第四方面或第四方面任一可能的实现方式中所述的目标终端。The target terminal is the target terminal described in the fourth aspect or any possible implementation manner of the fourth aspect.
本发明实施例第八方面提供了一种存储介质,本发明实施例提供的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,该存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The eighth aspect of the embodiments of the present invention provides a storage medium, and the technical solution provided by the embodiment of the present invention may be in the form of a computer software product, or all or part of the technical solution may be in the form of a computer software product. It is embodied that the computer software product is stored in a storage medium, which includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
在本发明实施例中,基站向多个目标终端发送数据包,收到的数据包中存在错误数据帧的目标终端会向基站反馈误帧信息,该误帧信息中包括错误数据帧的信息,基站根据接收的误帧信息再向该目标终端发送与误帧信息对应的数据帧,不需要再发送数据包,降低重传的时间,节约了信道资源。In the embodiment of the present invention, the base station sends a data packet to the multiple target terminals, and the target terminal that has the erroneous data frame in the received data packet feeds back the error frame information to the base station, where the error frame information includes the information of the erroneous data frame. The base station sends the data frame corresponding to the error frame information to the target terminal according to the received error frame information, and does not need to send the data packet again, thereby reducing the retransmission time and saving channel resources.
附图说明DRAWINGS
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are merely Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the art.
图1为本发明实施例中警用数字集群系统的架构图;1 is a structural diagram of a police digital trunking system according to an embodiment of the present invention;
图2为本发明实施例中数据传输的方法的一个实施例示意图;2 is a schematic diagram of an embodiment of a method for data transmission according to an embodiment of the present invention;
图3为本发明实施例中有益效果示意图;3 is a schematic diagram of beneficial effects in an embodiment of the present invention;
图4为本发明实施例中基站的一个实施例示意图;4 is a schematic diagram of an embodiment of a base station according to an embodiment of the present invention;
图5为本发明实施例中基站的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a base station according to an embodiment of the present invention; FIG.
图6为本发明实施例中基站的另一个实施例示意图;6 is a schematic diagram of another embodiment of a base station according to an embodiment of the present invention;
图7为本发明实施例中目标终端的一个实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a target terminal according to an embodiment of the present invention; FIG.
图8为本发明实施例中基站的另一个实施例示意图;FIG. 8 is a schematic diagram of another embodiment of a base station according to an embodiment of the present invention; FIG.
图9为本发明实施例中目标终端的一个实施例示意图。FIG. 9 is a schematic diagram of an embodiment of a target terminal according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种数据传输的方法、基站、目标终端、系统及存储介质,用于降低重传的时间,节约信道资源。The embodiments of the present invention provide a data transmission method, a base station, a target terminal, a system, and a storage medium, which are used to reduce retransmission time and save channel resources.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
在现有警用数字集群PDT系统或者数字对讲机无线通信协议DMR(Digital Mobile Radio)中,基站向多个目标终端组播分组传输数据包时,只要有目标终端接收的数据包中的数据帧出错,基站就会重传该数据包,一旦某个或某几个目标终端接收有误,就会导致该数据包中的数据帧都要重传,且如果发生多次重传数据包,将会占用较长时间的信道资源;而且出错的目标终端正确接收数据包也会有较大的时延,如果某目标终端接收的数据包中错误的数据帧发生在比较靠后的序号上,将导致此目标终端全部正确接收数据包时延较长。In the existing police digital trunking PDT system or digital walkie-talkie wireless communication protocol DMR (Digital Mobile Radio), when a base station multicasts a packet to a plurality of target terminals, as long as there is a data frame error in the data packet received by the target terminal The base station will retransmit the data packet. Once the receiving of one or several target terminals is incorrect, the data frames in the data packet will be retransmitted, and if multiple retransmission data packets occur, A channel resource that occupies a long time; and the wrong target terminal receives a packet with a large delay. If a wrong data frame in a packet received by a target terminal occurs on a lower sequence number, it will result in All target terminals receive packets with correct delay.
本发明技术方案主要应用于警用数字集群系统,所述警用数字集群系统包 括基站和多个目标终端,请参阅图1所示,图1为警用数字集群系统的架构示意图,目标终端的个数根据实际应用而定,具体数量此处不作限定。基站对多个目标终端组播分组数据包,当目标终端接收的数据包中有数据帧错误,则该目标终端作为第一目标终端向基站反馈误帧信息,该误帧信息包括错误数据帧的信息,基站接收误帧信息,向第一目标终端发送与所述误帧信息对应的数据帧,不需要再发送一个完整的数据包,发送与误帧信息对应的数据帧就可以了,从而降低了延时,节省了信道资源。The technical solution of the present invention is mainly applied to a police digital trunking system, and the police digital trunking system package The base station and the multiple target terminals are shown in FIG. 1. FIG. 1 is a schematic diagram of the architecture of the police digital trunking system. The number of target terminals is determined according to the actual application, and the specific number is not limited herein. The base station multicasts the packet data packet to the multiple target terminals. When there is a data frame error in the data packet received by the target terminal, the target terminal sends the error frame information to the base station as the first target terminal, where the error frame information includes the erroneous data frame. Information, the base station receives the error frame information, and sends the data frame corresponding to the error frame information to the first target terminal, and does not need to send a complete data packet, and sends the data frame corresponding to the error frame information, thereby reducing The delay saves channel resources.
其中,需要特别说明的是,本发明实施例涉及的目标终端,可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。目标终端可以经无线接入网(RAN Radio Access Network)与一个或多个核心网进行通信,目标终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(PCS,Personal Communication Service)电话、无绳电话、会话发起协议(SS15P1356)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。目标终端也可以称为订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、终端设备、用户代理(User Agent)、用户设备(User Device)、或用户装备(User EquS15P1356ment)。Specifically, the target terminal according to the embodiment of the present invention may be a device that provides voice and/or data connectivity to the user, a handheld device with a wireless connection function, or other processing device connected to the wireless modem. . The target terminal may communicate with one or more core networks via a RAN Radio Access Network, and the target terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal. For example, it may be a portable, pocket, handheld, computer built-in or in-vehicle mobile device that exchanges language and/or data with a wireless access network. For example, personal communication service (PCS, Personal Communication Service) telephone, cordless telephone, session initiation protocol (SS15P1356) telephone, wireless local loop (WLL) station, personal digital assistant (PDA, Personal Digital Assistant) and other equipment . The target terminal may also be referred to as a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, and a Remote Terminal. (Remote Terminal), Access Terminal, User Terminal, Terminal Device, User Agent, User Device, or User Equipment (User EquS15P1356ment).
如图2所示,本发明实施例中数据传输的方法的一个实施例包括:As shown in FIG. 2, an embodiment of a method for data transmission in an embodiment of the present invention includes:
201、基站向多个目标终端发送数据包,数据包中包括数据帧;201. The base station sends a data packet to multiple target terminals, where the data packet includes a data frame.
在本发明实施例中,基站通过组播分组数据方法向多个目标终端发送数据包,该数据包中包括多个数据帧,在实际应用中,基站会先确定待发送的数据包个数与多个目标终端个数的比值;当这个比值超过第一阈值时,基站向多个目标终端发送数据包,该数据包中包括多个数据帧和尾帧,当这个比值没有超过第一阈值时,基站使用现有技术中的发送方法向多个目标终端发送数据包。 在PDT系统中下行分组业务信道信令P_CDHD,用于传输数据包中的数据头帧格式如表1所示。In the embodiment of the present invention, the base station sends a data packet to multiple target terminals by using a multicast packet data method, where the data packet includes multiple data frames. In actual applications, the base station first determines the number of data packets to be sent and a ratio of the number of the plurality of target terminals; when the ratio exceeds the first threshold, the base station sends a data packet to the plurality of target terminals, where the data packet includes multiple data frames and a tail frame, when the ratio does not exceed the first threshold The base station transmits a data packet to a plurality of target terminals using a transmission method in the prior art. In the PDT system, the downlink packet traffic channel signaling P_CDHD is used to transmit the data header frame format in the data packet as shown in Table 1.
Figure PCTCN2016109922-appb-000001
Figure PCTCN2016109922-appb-000001
表1 Table 1
需要说明的是,上述所发送的数据包中还包括尾帧。如表1所示,RSVD1、RSVD2、RSVD3、RSVD4表示保留比特,在现有技术中,相当于空闲比特位,暂未使用。在本发明实施例中,基站将其中的RSVD1~RSVD4保留字节用于标识尾部排序数据帧,简称尾帧,尾帧用于指示目标终端的反馈顺序,其他字节功能不变。则需要传输的全部数据帧个数为:Blocks to Follow+RSVD1~RSVD4的个数。It should be noted that the above-mentioned transmitted data packet further includes a tail frame. As shown in Table 1, RSVD1, RSVD2, RSVD3, and RSVD4 indicate reserved bits, which are equivalent to idle bits in the prior art and are not used yet. In the embodiment of the present invention, the base station uses the reserved bytes of RSVD1 RSVD4 for identifying the tail sorting data frame, which is referred to as the tail frame. The tail frame is used to indicate the feedback order of the target terminal, and other byte functions are unchanged. The number of all data frames that need to be transmitted is: Blocks to Follow+RSVD1 to RSVD4.
202、目标终端接收基站发送的数据包,数据包中包括数据帧;202. The target terminal receives a data packet sent by the base station, where the data packet includes a data frame.
在本发明实施例中,目标终端接收基站发送的数据包,该数据包中包括尾帧和多个数据帧,该目标终端是多个目标终端的其中一个。In the embodiment of the present invention, the target terminal receives a data packet sent by the base station, where the data packet includes a tail frame and a plurality of data frames, and the target terminal is one of the plurality of target terminals.
203、若数据包中存在错误数据帧,则目标终端将误帧信息向基站反馈,误帧信息包括错误数据帧的信息;203. If there is an erroneous data frame in the data packet, the target terminal feeds back the error frame information to the base station, where the error frame information includes information of the erroneous data frame.
在本发明实施例中,目标终端接收数据包之后,判断接收到的数据包中的数据帧是否有误,如果无误,则目标终端可直接离开业务信道返回控制信道;若该数据包中存在错误数据帧,则目标终端需要判断出错数据帧的位置,确定误帧信息,该目标终端将误帧信息向基站反馈,误帧信息包括错误数据帧的信息;进一步的,该数据包中还包括尾帧,则目标终端根据尾帧所指示的反馈顺序,向基站反馈误帧信息。需要说明的是,误帧信息可以是出错的数据帧的标号,或者其他标识信息。其他的目标终端接收数据包之后也是类似的处理方式,当数据包中的数据帧正确,可直接离开业务信道返回控制信道,若有数据帧出现错误,则确定误帧信息,根据尾帧所指示的反馈顺序向基站反馈该误帧信息。示例性的,该目标终端为目标终端2(即标号为2的目标终端),误帧信息为数据帧10和数据帧18。In the embodiment of the present invention, after receiving the data packet, the target terminal determines whether the data frame in the received data packet is incorrect. If there is no error, the target terminal may directly leave the traffic channel and return to the control channel; if there is an error in the data packet The data frame, the target terminal needs to determine the location of the erroneous data frame, determine the error frame information, the target terminal feeds back the error frame information to the base station, and the error frame information includes the information of the erroneous data frame; further, the data packet further includes a tail For the frame, the target terminal feeds back the error frame information to the base station according to the feedback sequence indicated by the tail frame. It should be noted that the error frame information may be a label of an erroneous data frame or other identification information. After the other target terminals receive the data packet, the processing method is similar. When the data frame in the data packet is correct, the data channel can be directly returned to the control channel and returned to the control channel. If there is an error in the data frame, the error frame information is determined according to the tail frame. The feedback sequence feeds back the frame error information to the base station. Exemplarily, the target terminal is the target terminal 2 (ie, the target terminal labeled 2), and the error frame information is the data frame 10 and the data frame 18.
在本发明实施例中,组播分组传输数据包存在两种模式,如下所述:In the embodiment of the present invention, there are two modes for multicast packet transmission data packets, as follows:
1、在无确认模式下,若数据包中的数据帧都正确,无论尾帧正确与否,都不影响数据帧,则该目标终端可直接离开业务信道返回控制信道。2、在有确认模式下,(1)若数据包中的数据帧与尾帧都正确,则目标终端根据尾帧指示的反馈顺序向基站反馈确认帧信息。(2)若数据包中的数据帧正确,尾帧错误,则目标终端等待接收基站下次发送的数据包,根据基站下次发送的数据包中包括的尾帧指示的反馈顺序,向基站反馈确认帧信息,其中,确认帧信息指 示目标终端接收的数据包中包括的数据帧正确。(3)若数据包中存在错误数据帧,尾帧也错误,则目标终端等待接收基站下次发送的数据包,根据基站下次发送的数据包中包括的尾帧指示的反馈顺序,向基站反馈误帧信息。1. In the no-acknowledge mode, if the data frame in the data packet is correct, regardless of whether the tail frame is correct or not, the data frame is not affected, and the target terminal can directly leave the traffic channel and return to the control channel. 2. In the acknowledgment mode, (1) if both the data frame and the tail frame in the data packet are correct, the target terminal feeds back the acknowledgment frame information to the base station according to the feedback order indicated by the tail frame. (2) If the data frame in the data packet is correct and the tail frame is incorrect, the target terminal waits to receive the data packet sent by the base station next time, and feeds back to the base station according to the feedback sequence indicated by the tail frame included in the data packet sent by the base station next time. Confirmation frame information, wherein the confirmation frame information refers to It indicates that the data frame included in the data packet received by the target terminal is correct. (3) If there is an erroneous data frame in the data packet and the tail frame is also wrong, the target terminal waits to receive the data packet sent by the base station next time, and sends the data packet to the base station according to the feedback sequence indicated by the tail frame included in the data packet sent by the base station next time. Feedback error frame information.
204、基站接收目标终端反馈的误帧信息,误帧信息包括错误数据帧的信息;204. The base station receives the error frame information fed back by the target terminal, where the error frame information includes information of the error data frame.
在本发明实施例中,基站接收目标终端反馈的误帧信息,该误帧信息中包括错误数据帧的信息。由上述示例得知,误帧信息为数据帧的标号10和18。In the embodiment of the present invention, the base station receives the error frame information fed back by the target terminal, where the error frame information includes information of the erroneous data frame. It is known from the above examples that the error frame information is the labels 10 and 18 of the data frame.
1、在无确认模式下,基站向多个目标终端发送数据包之后,没有接收到任何目标终端反馈的误帧信息,则认为数据包发送成功。2、在有确认模式下,(1)若基站接收该目标终端反馈的确认帧信息,则基站根据确认帧信息确定目标终端接收的数据包中的数据帧正确。(2)若基站的计数器记录同一个目标终端未反馈误帧信息或确认帧信息的次数大于第二阈值,则基站停止向该目标终端发送其他数据包。1. In the no-acknowledge mode, after the base station sends a data packet to multiple target terminals, and does not receive any error frame information fed back by the target terminal, the base station considers that the data packet is successfully transmitted. 2. In the acknowledgment mode, (1) if the base station receives the acknowledgment frame information fed back by the target terminal, the base station determines, according to the acknowledgment frame information, that the data frame in the data packet received by the target terminal is correct. (2) If the counter of the base station records that the number of times the same target terminal does not feed back the error frame information or confirms the frame information is greater than the second threshold, the base station stops transmitting other data packets to the target terminal.
示例性的,在有确认模式下,若该目标终端为目标终端2,第二阈值为2,基站向多个目标终端第一次发送数据包,接收到其他的目标终端反馈了确认帧信息,或者误帧信息,目标终端2什么信息都未反馈,则基站的计数器对目标终端2的记录的次数加1,多个目标终端中包括目标终端2;基站又向多个目标终端第二次发送数据包,仍未收到目标终端2的任何反馈信息,现在计数器对目标终端2的记录的次数为2;基站又向多个目标终端第三次发送数据包,仍未收到目标终端2的任何反馈信息,现在计数器对目标终端2的记录的次数为3,大于第二阈值2,基站停止再向目标终端2再发送数据包,不管目标终端2可能是未开机,或者是3次接收的数据包中的尾帧都错误或者其他原因。Exemplarily, in the acknowledgment mode, if the target terminal is the target terminal 2 and the second threshold is 2, the base station sends the data packet to the plurality of target terminals for the first time, and the other target terminal receives the acknowledgement frame information. Or the error frame information, the target terminal 2 does not feedback any information, the counter of the base station adds 1 to the number of records of the target terminal 2, and the target terminal 2 is included in the plurality of target terminals; the base station sends the second time to the plurality of target terminals. The data packet has not received any feedback information of the target terminal 2, and now the number of times the counter records the target terminal 2 is 2; the base station sends the data packet to the plurality of target terminals for the third time, and the target terminal 2 has not yet been received. Any feedback information, the number of times the counter records the target terminal 2 is now 3, which is greater than the second threshold 2. The base station stops resending the data packet to the target terminal 2, regardless of whether the target terminal 2 may be unpowered or received three times. The tail frame in the packet is wrong or for other reasons.
205、基站向目标终端发送与误帧信息对应的数据帧;205. The base station sends, to the target terminal, a data frame corresponding to the error frame information.
在本发明实施例中,基站接收目标终端2反馈的误帧信息,根据误帧信息确定对应的数据帧,基站向多个目标终端发送与误帧信息对应的数据帧;不用像现有技术中基站向多个目标终端再发送一个完整的数据包,而是向多个目标终端发送与误帧信息对应的数据帧,并在尾部附上反馈排序帧,即尾帧。则基站向多个目标终端发送标号为10和18的数据帧,以及尾帧。In the embodiment of the present invention, the base station receives the error frame information fed back by the target terminal 2, determines the corresponding data frame according to the error frame information, and the base station sends the data frame corresponding to the error frame information to the plurality of target terminals; The base station sends a complete data packet to the plurality of target terminals, and sends a data frame corresponding to the error frame information to the plurality of target terminals, and attaches a feedback sorting frame, that is, a tail frame, to the tail. Then, the base station transmits data frames numbered 10 and 18 to the plurality of target terminals, and the tail frame.
其中,基站向目标终端发送与误帧信息对应的数据帧,可以包括:基站通 过组播方式,向多个目标终端发送与误帧信息对应的数据帧;或者,基站通过单播方式,向反馈误帧信息的目标终端发送与误帧信息对应的数据帧。The base station sends the data frame corresponding to the error frame information to the target terminal, and the method includes: In the multicast mode, the data frame corresponding to the error frame information is sent to the multiple target terminals; or the base station transmits the data frame corresponding to the error frame information to the target terminal that feeds the error frame information by using the unicast mode.
206、目标终端接收基站发送的与误帧信息对应的数据帧。206. The target terminal receives a data frame corresponding to the error frame information sent by the base station.
在本发明实施例中,基站向多个目标终端发送与误帧信息对应的数据帧之后,目标终端2接收基站发送的与误帧信息对应的数据帧,即数据帧10和数据帧18。In the embodiment of the present invention, after the base station sends the data frame corresponding to the error frame information to the plurality of target terminals, the target terminal 2 receives the data frame corresponding to the error frame information sent by the base station, that is, the data frame 10 and the data frame 18.
示例性的,在本实施例中,如图3所示,描述了待发送的数据包个数与多个目标终端个数的比值,该比值与目标终端正确接收数据帧所需的时间之间的关系,不同线型的曲线分别代表了组内终端处于不同的信噪比区间(均匀分布)达到的效果。由图3可得出,(1)组内目标终端信噪比越差时,曲线的斜率越大,节省的时间越多,效果越好;(2)待发送的数据包与目标终端个数的比值越大时,即超过第一阈值时,本发明实施例中所述方法的效果越好。Exemplarily, in this embodiment, as shown in FIG. 3, the ratio of the number of data packets to be transmitted to the number of target terminals is described, and the ratio is between the time required for the target terminal to correctly receive the data frame. The relationship between the different line types represents the effect that the terminals in the group are in different signal-to-noise ratio intervals (uniform distribution). It can be concluded from Fig. 3 that (1) the worse the signal-to-noise ratio of the target terminal in the group, the larger the slope of the curve, the more time saved, the better the effect; (2) the number of data packets to be sent and the number of target terminals The greater the ratio, the better the effect of the method described in the embodiments of the present invention when the first threshold is exceeded.
本发明实施例中,若目标终端接收的数据包中存在错误数据帧,则向基站反馈误帧信息,误帧信息包括错误数据帧的信息;基站根据接收的误帧信息向多个目标终端发送与误帧信息对应的数据帧,而不是整个数据包,因此,节约了信道资源,降低重传的数据帧的数量。In the embodiment of the present invention, if there is an erroneous data frame in the data packet received by the target terminal, the error frame information is fed back to the base station, and the error frame information includes information of the erroneous data frame; the base station sends the error frame information to the multiple target terminals according to the received error frame information. The data frame corresponding to the error frame information, instead of the entire data packet, thus saving channel resources and reducing the number of retransmitted data frames.
上面对本发明实施例中的数据传输的方法进行了描述,下面结合图4,并结合前述的方法实施例对本发明实施例中的基站进行描述。如图4所示,本发明实施例中还提供了基站,所述基站应用于警用数字集群系统,所述警用数字集群系统包括基站和多个目标终端,所述基站包括:The method for data transmission in the embodiment of the present invention is described above. The base station in the embodiment of the present invention is described below in conjunction with FIG. 4 and in combination with the foregoing method embodiments. As shown in FIG. 4, in the embodiment of the present invention, a base station is further provided, where the base station is applied to a police digital trunking system, where the police digital trunking system includes a base station and multiple target terminals, and the base station includes:
发送模块401,用于向所述多个目标终端发送数据包,所述数据包中包括数据帧;a sending module 401, configured to send a data packet to the multiple target terminals, where the data packet includes a data frame;
接收模块402,用于接收目标终端反馈的误帧信息,所述误帧信息包括所述错误数据帧的信息;The receiving module 402 is configured to receive error frame information fed back by the target terminal, where the error frame information includes information of the error data frame;
所述发送模块401,还用于向目标终端发送与所述接收模块接收的误帧信息对应的数据帧。The sending module 401 is further configured to send, to the target terminal, a data frame corresponding to the error frame information received by the receiving module.
可选的,在本发明的一些实施例中,在图4所示的基础上,请参阅图5所示,所述基站还包括:Optionally, in some embodiments of the present invention, as shown in FIG. 5, the base station further includes:
第一确定模块403,用于确定待发送的数据包个数与所述多个目标终端个 数的比值;当所述比值超过第一阈值时,所述基站执行向多个目标终端发送数据包的步骤。a first determining module 403, configured to determine a number of data packets to be sent and the plurality of target terminals a ratio of the number; when the ratio exceeds the first threshold, the base station performs the step of transmitting a data packet to the plurality of target terminals.
可选的,在本发明的一些实施例中,所述数据包中还包括尾帧,所述尾帧用于指示所述目标终端的反馈顺序,在图4所示的基础上,请参阅图6所示,所述基站还包括:Optionally, in some embodiments of the present invention, the data packet further includes a tail frame, where the tail frame is used to indicate a feedback order of the target terminal, as shown in FIG. As shown in FIG. 6, the base station further includes:
所述接收模块402,还用于接收所述目标终端反馈的确认帧信息;The receiving module 402 is further configured to receive the acknowledgement frame information fed back by the target terminal;
第二确定模块404,用于根据所述接收模块接收的确认帧信息确定所述目标终端接收的所述数据包中的数据帧正确。The second determining module 404 is configured to determine, according to the acknowledgement frame information received by the receiving module, that the data frame in the data packet received by the target terminal is correct.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
所述发送模块401,还用于若所述基站记录所述目标终端未反馈所述误帧信息或所述确认帧信息的次数大于第二阈值,则所述基站停止向所述目标终端发送其他数据包。The sending module 401 is further configured to: if the base station records that the number of times the target terminal does not feed back the error frame information or the acknowledgement frame information is greater than a second threshold, the base station stops sending the other to the target terminal. data pack.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
发送模块401,具体用于通过组播方式,向多个目标终端发送与误帧信息对应的数据帧;The sending module 401 is specifically configured to send, by using a multicast mode, a data frame corresponding to the error frame information to multiple target terminals;
或者,or,
发送模块401,具体用于通过单播方式,向反馈误帧信息的目标终端发送与误帧信息对应的数据帧。The sending module 401 is specifically configured to send, by using a unicast mode, a data frame corresponding to the error frame information to the target terminal that feeds back the error frame information.
下面结合图7,并结合前述的方法实施例对本发明实施例中的目标终端进行描述。如图7所示,本发明实施例中还提供了目标终端,所述目标终端应用于警用数字集群系统,所述警用数字集群系统包括基站和多个目标终端,所述目标终端包括:The target terminal in the embodiment of the present invention will be described below with reference to FIG. 7 in combination with the foregoing method embodiments. As shown in FIG. 7, the embodiment of the present invention further provides a target terminal, where the target terminal is applied to a police digital trunking system, where the police digital trunking system includes a base station and multiple target terminals, and the target terminal includes:
接收模块701,用于接收所述基站发送的数据包,所述数据包中包括数据帧;The receiving module 701 is configured to receive a data packet sent by the base station, where the data packet includes a data frame;
反馈模块702,用于若所述数据包中存在错误数据帧,则所述反馈模块将误帧信息向所述基站反馈,所述误帧信息包括所述错误数据帧的信息;The feedback module 702 is configured to: if the erroneous data frame exists in the data packet, the feedback module feeds back error frame information to the base station, where the error frame information includes information of the erroneous data frame;
所述接收模块701,还用于接收所述基站发送的与所述误帧信息对应的数据帧。The receiving module 701 is further configured to receive a data frame that is sent by the base station and that corresponds to the error frame information.
可选的,在本发明的一些实施例中,所述数据包中还包括尾帧,所述尾帧 用于指示所述目标终端的反馈顺序,Optionally, in some embodiments of the present invention, the data packet further includes a tail frame, and the tail frame Used to indicate the feedback order of the target terminal,
所述反馈模块702,具体用于根据所述尾帧指示的反馈顺序,向所述基站反馈所述误帧信息。The feedback module 702 is specifically configured to feed back the error frame information to the base station according to the feedback sequence indicated by the tail frame.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
所述反馈模块702,还用于若所述数据包中的数据帧正确,所述尾帧正确,则所述反馈模块根据所述尾帧指示的反馈顺序向所述基站反馈确认帧信息。The feedback module 702 is further configured to: if the data frame in the data packet is correct, the tail frame is correct, and the feedback module feeds back the confirmation frame information to the base station according to the feedback sequence indicated by the tail frame.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
所述接收模块701,还用于若所述尾帧错误,则接收所述基站下次发送的数据包;The receiving module 701 is further configured to: if the tail frame is incorrect, receive a data packet that is sent by the base station next time;
所述反馈模块702,还用于根据所述基站下次发送的数据包中包括的尾帧指示的反馈顺序,向所述基站反馈所述误帧信息或者所述确认帧信息。The feedback module 702 is further configured to feed back the error frame information or the acknowledgement frame information to the base station according to a feedback sequence indicated by a tail frame indication included in a data packet sent by the base station next time.
如图8所示,为本发明实施例中基站的另一个实施例示意图,该基站800可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)822(例如,一个或一个以上处理器)和存储器832,一个或一个以上存储应用程序842或数据844的存储介质830(例如一个或一个以上海量存储设备)。其中,存储器832和存储介质830可以是短暂存储或持久存储。存储在存储介质830的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对基站中的一系列指令操作。更进一步地,中央处理器822可以设置为与存储介质830通信,在基站800上执行存储介质830中的一系列指令操作。FIG. 8 is a schematic diagram of another embodiment of a base station according to an embodiment of the present invention. The base station 800 may generate a large difference due to different configurations or performances, and may include one or more central processing units (central processing units, CPU) 822 (eg, one or more processors) and memory 832, one or more storage media 830 that store application 842 or data 844 (eg, one or one storage device in Shanghai). Among them, the memory 832 and the storage medium 830 may be short-term storage or persistent storage. The program stored on storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations in the base station. Still further, central processor 822 can be arranged to communicate with storage medium 830, which performs a series of instruction operations in storage medium 830.
该基站800还可以包括一个或一个以上电源826,一个或一个以上有线或无线网络接口850,一个或一个以上输入输出接口858,和/或,一个或一个以上操作系统841,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The base station 800 can also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and/or one or more operating systems 841, such as Windows ServerTM, Mac. OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
上述实施例中由基站所执行的步骤可以基于该图8所示的基站结构,具体的:输入输出接口858相当于收发器,用于向多个目标终端发送数据包,数据包中包括数据帧;接收目标终端反馈的误帧信息,误帧信息包括错误数据帧的信息;向该目标终端发送与误帧信息对应的数据帧;The steps performed by the base station in the foregoing embodiment may be based on the structure of the base station shown in FIG. 8. Specifically, the input/output interface 858 is equivalent to a transceiver, and is configured to send a data packet to multiple target terminals, where the data packet includes a data frame. Receiving error frame information fed back by the target terminal, the error frame information includes information of the error data frame; and transmitting a data frame corresponding to the error frame information to the target terminal;
存储器832,用于存储程序指令; a memory 832, configured to store program instructions;
中央处理器822,用于通过调用存储程序指令,根据误帧信息,确定与误帧信息对应的数据帧。The central processing unit 822 is configured to determine, according to the error frame information, a data frame corresponding to the error frame information by calling a stored program instruction.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
输入输出接口858,还用于接收目标终端反馈的确认帧信息;The input/output interface 858 is further configured to receive the acknowledgement frame information fed back by the target terminal;
中央处理器822,还用于根据确认帧信息确定目标终端接收的数据包中的数据帧正确。The central processing unit 822 is further configured to determine, according to the acknowledgement frame information, that the data frame in the data packet received by the target terminal is correct.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
输入输出接口858,还用于若基站记录目标终端未反馈误帧信息或确认帧信息的次数大于第二阈值,则基站停止向目标终端发送其他数据包。The input/output interface 858 is further configured to: if the base station records that the number of times the target terminal does not feed back the error frame information or confirms the frame information is greater than the second threshold, the base station stops sending other data packets to the target terminal.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
中央处理器822,还用于确定待发送的数据包个数与多个目标终端个数的比值;The central processing unit 822 is further configured to determine a ratio of the number of data packets to be sent to the number of target terminals;
输入输出接口858,还用于当比值超过第一阈值时,基站执行向该目标终端发送数据包的步骤。The input/output interface 858 is further configured to: when the ratio exceeds the first threshold, the base station performs a step of sending a data packet to the target terminal.
如图9所示,为本发明实施例中目标终端的一个实施例示意图,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:FIG. 9 is a schematic diagram of an embodiment of a target terminal according to an embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown. For details that are not disclosed, refer to the embodiment of the present invention. Method part. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the terminal is a mobile phone as an example:
图9示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图9,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(wireless fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 9 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to FIG. 9, the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, and a processor 980. And power supply 990 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 9 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图9对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 9:
RF电路910可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器980处理;另外,将设计上行的数据发送给基站。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、 耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 980; in addition, transmitting the designed uplink data to the base station. Generally, RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, Coupler, Low Noise Amplifier (LNA), duplexer, etc. In addition, RF circuitry 910 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920. The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板931以及其他输入设备932。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上或在触控面板931附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 The input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932. The touch panel 931, also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 931 or near the touch panel 931. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 931 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 980 is provided and can receive commands from the processor 980 and execute them. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 931, the input unit 930 may also include other input devices 932. Specifically, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板941,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。进一步的,触控面板931可覆盖显示面板941,当触控面板931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图9中,触控面板931与显示面板941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板931与显示面板941集成而实现手机的输入和输出功能。The display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 940 can include a display panel 941. Alternatively, the display panel 941 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 931 can cover the display panel 941. When the touch panel 931 detects a touch operation on or near the touch panel 931, the touch panel 931 transmits to the processor 980 to determine the type of the touch event, and then the processor 980 according to the touch event. The type provides a corresponding visual output on display panel 941. Although the touch panel 931 and the display panel 941 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 9, in some embodiments, the touch panel 931 and the display panel 941 may be integrated. Realize the input and output functions of the phone.
手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在手机移动到耳边时,关闭显示面板941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may close the display panel 941 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据输出至存储器920以便进一步处理。An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the handset. The audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961, and convert it into a sound signal output by the speaker 961. On the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the audio circuit 960 After receiving, it is converted into audio data, and then processed by the audio data output processor 980, sent to the other mobile phone via the RF circuit 910, or outputted to the memory 920 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access. Although FIG. 9 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个 部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is a control center of the mobile phone, and connects various mobile phones by using various interfaces and lines. In part, the mobile phone is monitored in its entirety by running or executing software programs and/or modules stored in memory 920, as well as invoking data stored in memory 920, performing various functions and processing data of the handset. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The handset also includes a power source 990 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 980 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
在本发明实施例中,该终端所包括的输入单元930,用于接收基站发送的数据包,数据包中包括数据帧;接收基站发送的与误帧信息对应的数据帧;In the embodiment of the present invention, the input unit 930 included in the terminal is configured to receive a data packet sent by the base station, where the data packet includes a data frame, and receive a data frame corresponding to the error frame information sent by the base station;
RF电路910,用于若数据包中存在错误数据帧,则目标终端将误帧信息向基站反馈,误帧信息包括错误数据帧的信息;The RF circuit 910 is configured to: if the erroneous data frame exists in the data packet, the target terminal feeds back the error frame information to the base station, where the error frame information includes information of the erroneous data frame;
处理器980,用于通过调用存储程序指令,判断数据包中是否存在错误数据帧。The processor 980 is configured to determine whether there is an erroneous data frame in the data packet by calling a stored program instruction.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
RF电路910,具体用于根据尾帧指示的反馈顺序,向基站反馈误帧信息。The RF circuit 910 is specifically configured to feed back the error frame information to the base station according to the feedback sequence indicated by the tail frame.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the invention,
RF电路910,还用于若数据包中的数据帧正确,尾帧正确,则目标终端根据尾帧指示的反馈顺序向基站反馈确认帧信息。The RF circuit 910 is further configured to: if the data frame in the data packet is correct, and the tail frame is correct, the target terminal feeds back the acknowledgement frame information to the base station according to the feedback sequence indicated by the tail frame.
输入单元930,还用于若尾帧错误,则目标终端接收基站下次发送的数据包;The input unit 930 is further configured to: if the tail frame is incorrect, the target terminal receives the data packet sent by the base station next time;
RF电路910,还用于根据基站下次发送的数据包中包括的尾帧指示的反馈顺序,向基站反馈误帧信息或者确认帧信息。The RF circuit 910 is further configured to feed back the error frame information or the acknowledgement frame information to the base station according to the feedback sequence indicated by the tail frame included in the data packet sent by the base station next time.
本发明实施例还提供了一种计算机存储介质,用于储存为上述图4至图7所述的基站和目标终端中所用的计算机软件指令,通过执行存储的程序,可以节约信道资源。如果该程序以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发 明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The embodiment of the present invention further provides a computer storage medium for storing computer software instructions used in the base station and the target terminal described in FIG. 4 to FIG. 7 above, and by using the stored program, channel resources can be saved. If the program is implemented in the form of a software functional unit and sold or used as a standalone product, it can be stored in a computer readable storage medium. Based on this understanding, this issue The technical solution of the present invention, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. The medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (21)

  1. 一种数据传输的方法,其特征在于,所述方法应用于警用数字集群系统,所述警用数字集群系统包括基站和多个目标终端,所述方法包括:A method for data transmission, characterized in that the method is applied to a police digital trunking system, the police digital trunking system comprising a base station and a plurality of target terminals, the method comprising:
    所述基站向所述多个目标终端发送数据包,所述数据包中包括数据帧;Transmitting, by the base station, a data packet to the multiple target terminals, where the data packet includes a data frame;
    所述基站接收目标终端反馈的误帧信息,所述误帧信息包括所述错误数据帧的信息;The base station receives error frame information fed back by the target terminal, where the error frame information includes information of the error data frame;
    所述基站向所述目标终端发送与所述误帧信息对应的数据帧。The base station sends a data frame corresponding to the error frame information to the target terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述数据包中还包括尾帧,所述尾帧用于指示所述目标终端的反馈顺序,所述方法还包括:The method according to claim 1, wherein the data packet further includes a tail frame, the tail frame is used to indicate a feedback order of the target terminal, and the method further includes:
    所述基站接收所述目标终端反馈的确认帧信息;Receiving, by the base station, acknowledgement frame information fed back by the target terminal;
    所述基站根据所述确认帧信息确定所述目标终端接收的所述数据包中的数据帧正确。Determining, by the base station, that the data frame in the data packet received by the target terminal is correct according to the acknowledgement frame information.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    若所述基站记录所述目标终端未反馈所述误帧信息或所述确认帧信息的次数大于第二阈值,则所述基站停止向所述目标终端发送其他数据包。And if the base station records that the number of times the target terminal does not feed back the error frame information or the acknowledgement frame information is greater than a second threshold, the base station stops sending other data packets to the target terminal.
  4. 根据权利要求1所述的方法,其特征在于,所述基站向所述目标终端发送与所述误帧信息对应的数据帧,包括:The method according to claim 1, wherein the base station sends a data frame corresponding to the error frame information to the target terminal, including:
    所述基站通过组播方式,向所述多个目标终端发送与所述误帧信息对应的数据帧;Transmitting, by the base station, a data frame corresponding to the error frame information to the multiple target terminals by using a multicast manner;
    或者,or,
    所述基站通过单播方式,向反馈所述误帧信息的目标终端发送与所述误帧信息对应的数据帧。The base station sends a data frame corresponding to the error frame information to a target terminal that feeds back the error frame information by using a unicast mode.
  5. 根据权利要求1-3任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    所述基站确定待发送的数据包个数与所述多个目标终端个数的比值;Determining, by the base station, a ratio of the number of data packets to be sent to the number of the plurality of target terminals;
    当所述比值超过第一阈值时,所述基站执行向所述多个目标终端发送数据包的步骤。When the ratio exceeds a first threshold, the base station performs a step of transmitting a data packet to the plurality of target terminals.
  6. 一种数据传输的方法,其特征在于,所述方法应用于警用数字集群系 统,所述警用数字集群系统包括基站和多个目标终端,所述方法包括:A method for data transmission, characterized in that the method is applied to a police digital cluster system The police digital trunking system includes a base station and a plurality of target terminals, and the method includes:
    目标终端接收所述基站发送的数据包,所述数据包中包括数据帧;Receiving, by the target terminal, a data packet sent by the base station, where the data packet includes a data frame;
    若所述数据包中存在错误数据帧,则所述目标终端将误帧信息向所述基站反馈,所述误帧信息包括所述错误数据帧的信息;If the erroneous data frame exists in the data packet, the target terminal feeds back the error frame information to the base station, where the error frame information includes information of the erroneous data frame;
    所述目标终端接收所述基站发送的与所述误帧信息对应的数据帧。The target terminal receives a data frame corresponding to the error frame information sent by the base station.
  7. 根据权利要求6所述的方法,其特征在于,所述数据包中还包括尾帧,所述尾帧用于指示所述目标终端的反馈顺序,所述目标终端将误帧信息向所述基站反馈,包括:The method according to claim 6, wherein the data packet further includes a tail frame, the tail frame is used to indicate a feedback order of the target terminal, and the target terminal sends the error frame information to the base station. Feedback, including:
    所述目标终端根据所述尾帧指示的反馈顺序,向所述基站反馈所述误帧信息。And the target terminal feeds back the error frame information to the base station according to the feedback sequence indicated by the tail frame.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, wherein the method further comprises:
    若所述数据包中的数据帧正确,所述尾帧正确,则所述目标终端根据所述尾帧指示的反馈顺序向所述基站反馈确认帧信息。If the data frame in the data packet is correct and the tail frame is correct, the target terminal feeds back the acknowledgement frame information to the base station according to the feedback sequence indicated by the tail frame.
  9. 根据权利要求6-8任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-8, wherein the method further comprises:
    若所述尾帧错误,则所述目标终端接收所述基站下次发送的数据包;If the tail frame is incorrect, the target terminal receives a data packet sent by the base station next time;
    所述目标终端根据所述基站下次发送的数据包中包括的尾帧指示的反馈顺序,向所述基站反馈所述误帧信息或者所述确认帧信息。And the target terminal feeds back the error frame information or the confirmation frame information to the base station according to a feedback sequence indicated by a tail frame included in a data packet sent by the base station next time.
  10. 一种基站,其特征在于,包括:A base station, comprising:
    发送模块,用于向所述多个目标终端发送数据包,所述数据包中包括数据帧;a sending module, configured to send a data packet to the multiple target terminals, where the data packet includes a data frame;
    接收模块,用于接收目标终端反馈的误帧信息,所述误帧信息包括所述错误数据帧的信息;a receiving module, configured to receive error frame information fed back by the target terminal, where the error frame information includes information of the erroneous data frame;
    所述发送模块,还用于向所述目标终端发送与所述接收模块接收的误帧信息对应的数据帧。The sending module is further configured to send, to the target terminal, a data frame corresponding to the error frame information received by the receiving module.
  11. 根据权利要求9所述的基站,其特征在于,所述数据包中还包括尾帧,所述尾帧用于指示所述目标终端的反馈顺序,所述基站还包括:The base station according to claim 9, wherein the data packet further includes a tail frame, the tail frame is used to indicate a feedback order of the target terminal, and the base station further includes:
    所述接收模块,还用于接收所述目标终端反馈的确认帧信息; The receiving module is further configured to receive acknowledgement frame information fed back by the target terminal;
    第二确定模块,用于根据所述接收模块接收的确认帧信息确定所述目标终端接收的所述数据包中的数据帧正确。And a second determining module, configured to determine, according to the acknowledgement frame information received by the receiving module, that the data frame in the data packet received by the target terminal is correct.
  12. 根据权利要求11所述的基站,其特征在于,The base station according to claim 11, wherein
    所述发送模块,还用于若所述基站记录所述目标终端未反馈所述误帧信息或所述确认帧信息的次数大于第二阈值,则所述基站停止向所述目标终端发送其他数据包。The sending module is further configured to: if the base station records that the number of times the target terminal does not feed back the error frame information or the acknowledgement frame information is greater than a second threshold, the base station stops sending other data to the target terminal. package.
  13. 根据权利要求10-12任一所述的基站,其特征在于,A base station according to any of claims 10-12, characterized in that
    所述发送模块,具体用于通过组播方式,向所述多个目标终端发送与所述误帧信息对应的数据帧;The sending module is specifically configured to send, by using a multicast mode, a data frame corresponding to the error frame information to the multiple target terminals;
    或者,or,
    所述发送模块,具体用于通过单播方式,向反馈所述误帧信息的目标终端发送与所述误帧信息对应的数据帧。The sending module is specifically configured to send, by using a unicast mode, a data frame corresponding to the error frame information to a target terminal that feeds back the error frame information.
  14. 一种目标终端,其特征在于,包括:A target terminal, comprising:
    接收模块,用于接收所述基站发送的数据包,所述数据包中包括数据帧;a receiving module, configured to receive a data packet sent by the base station, where the data packet includes a data frame;
    反馈模块,用于若所述数据包中存在错误数据帧,则所述反馈模块将误帧信息向所述基站反馈,所述误帧信息包括所述错误数据帧的信息;a feedback module, configured to: if the error data frame exists in the data packet, the feedback module feeds back error frame information to the base station, where the error frame information includes information of the error data frame;
    所述接收模块,还用于接收所述基站发送的与所述误帧信息对应的数据帧。The receiving module is further configured to receive a data frame that is sent by the base station and that corresponds to the error frame information.
  15. 根据权利要求14所述的目标终端,其特征在于,所述数据包中还包括尾帧,所述尾帧用于指示所述目标终端的反馈顺序,The target terminal according to claim 14, wherein the data packet further includes a tail frame, wherein the tail frame is used to indicate a feedback order of the target terminal,
    所述反馈模块,具体用于根据所述尾帧指示的反馈顺序,向所述基站反馈所述误帧信息。The feedback module is specifically configured to feed back the error frame information to the base station according to the feedback sequence indicated by the tail frame.
  16. 根据权利要求15所述的目标终端,其特征在于,The target terminal according to claim 15, wherein
    所述反馈模块,还用于若所述数据包中的数据帧正确,所述尾帧正确,则所述反馈模块根据所述尾帧指示的反馈顺序向所述基站反馈确认帧信息。The feedback module is further configured to: if the data frame in the data packet is correct, the tail frame is correct, the feedback module feeds back the confirmation frame information to the base station according to the feedback sequence indicated by the tail frame.
  17. 一种基站,其特征在于,包括:A base station, comprising:
    收发器,处理器,存储器和总线; Transceiver, processor, memory and bus;
    所述收发器、所述处理器和所述存储器通过所述总线连接;The transceiver, the processor and the memory are connected by the bus;
    所述收发器,用于向所述多个目标终端发送数据包,所述数据包中包括数据帧;接收目标终端反馈的误帧信息,所述误帧信息包括所述错误数据帧的信息;向所述目标终端发送与所述误帧信息对应的数据帧;The transceiver is configured to send a data packet to the multiple target terminals, where the data packet includes a data frame, and receive error frame information fed back by the target terminal, where the error frame information includes information of the error data frame; Transmitting, to the target terminal, a data frame corresponding to the error frame information;
    所述存储器,用于存储程序指令;The memory is configured to store program instructions;
    所述处理器,用于通过调用所述存储程序指令,根据所述误帧信息,确定与所述误帧信息对应的数据帧。The processor is configured to determine, according to the error frame information, a data frame corresponding to the error frame information by calling the stored program instruction.
  18. 一种目标终端,其特征在于,包括:A target terminal, comprising:
    收发器,处理器,存储器和总线;Transceiver, processor, memory and bus;
    所述收发器、所述处理器和所述存储器通过所述总线连接;The transceiver, the processor and the memory are connected by the bus;
    所述收发器,用于接收所述基站发送的数据包,所述数据包中包括数据帧;若所述数据包中存在错误数据帧,则所述目标终端将误帧信息向所述基站反馈,所述误帧信息包括所述错误数据帧的信息;接收所述基站发送的与所述误帧信息对应的数据帧;The transceiver is configured to receive a data packet sent by the base station, where the data packet includes a data frame; if an error data frame exists in the data packet, the target terminal feeds back error frame information to the base station The error frame information includes information of the erroneous data frame, and receives a data frame corresponding to the error frame information sent by the base station;
    所述存储器,用于存储程序指令;The memory is configured to store program instructions;
    所述处理器,用于通过调用所述存储程序指令,判断所述数据包中是否存在错误数据帧。The processor is configured to determine whether an error data frame exists in the data packet by calling the stored program instruction.
  19. 一种警用数字集群系统,其特征在于,所述警用数字集群系统包括权利要求10至13任意一项所述的基站和权利要求14至16任意一项所述的多个目标终端。A police digital trunking system, characterized in that the police digital trunking system comprises the base station according to any one of claims 10 to 13 and the plurality of target terminals according to any one of claims 14 to 16.
  20. 一种存储介质,其特征在于,所述存储介质上存储有执行权利要求1至5任意一项所述方法的程序代码。A storage medium characterized by storing program code for performing the method of any one of claims 1 to 5.
  21. 一种存储介质,其特征在于,所述存储介质上存储有执行权利要求6至9任意一项所述方法的程序代码。 A storage medium, characterized in that the storage medium stores program code for performing the method of any one of claims 6 to 9.
PCT/CN2016/109922 2016-08-26 2016-12-14 Data transmission method, base station, target terminal, system and storage medium WO2018036026A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610752812.0 2016-08-26
CN201610752812.0A CN106254043A (en) 2016-08-26 2016-08-26 Method, base station and the target terminal of a kind of data transmission

Publications (1)

Publication Number Publication Date
WO2018036026A1 true WO2018036026A1 (en) 2018-03-01

Family

ID=57597703

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109922 WO2018036026A1 (en) 2016-08-26 2016-12-14 Data transmission method, base station, target terminal, system and storage medium

Country Status (2)

Country Link
CN (1) CN106254043A (en)
WO (1) WO2018036026A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113576370A (en) * 2020-04-30 2021-11-02 深圳硅基智控科技有限公司 Communication device for receiving data of capsule endoscope

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791950A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 High speed transmission of signals system, high speed transmission of signals method and device
CN108809543B (en) 2017-05-05 2021-12-31 华为技术有限公司 Method and device for transmitting data
CN109756846A (en) * 2017-11-06 2019-05-14 成都鼎桥通信技术有限公司 The benefit packet method and system of group communication
CN110288837B (en) * 2019-07-12 2022-02-11 云宝宝大数据产业发展有限责任公司 Multi-camera collaborative illegal parking board identification method and device
CN112003865B (en) * 2020-08-25 2023-02-28 哈尔滨海能达科技有限公司 Data frame transmission method and device, storage medium and electronic equipment
CN113645600A (en) * 2021-08-13 2021-11-12 Oppo广东移动通信有限公司 Data transmission method, device, terminal and storage medium
CN117837108A (en) * 2021-09-18 2024-04-05 华为技术有限公司 Data transmission method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662346A (en) * 2008-08-29 2010-03-03 富士通株式会社 Automatic retransmission control method, communication system as well as transmitter and receiver thereof
CN101764677A (en) * 2009-12-29 2010-06-30 电子科技大学 Frame grade encoding and decoding method based on forward error correction
CN103812618A (en) * 2013-12-20 2014-05-21 杭州承联通信技术有限公司 Grouped data transmission method for wireless trunked communication system
WO2015164122A1 (en) * 2014-04-21 2015-10-29 Alcatel Lucent Method and apparatus for improved multi-carrier communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9173191B2 (en) * 2009-12-20 2015-10-27 Intel Corporation Device, system and method of simultaneously communicating with a group of wireless communication devices
CN102231658A (en) * 2011-06-09 2011-11-02 山东电力集团公司 Safe communication method of internetwork isolation apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662346A (en) * 2008-08-29 2010-03-03 富士通株式会社 Automatic retransmission control method, communication system as well as transmitter and receiver thereof
CN101764677A (en) * 2009-12-29 2010-06-30 电子科技大学 Frame grade encoding and decoding method based on forward error correction
CN103812618A (en) * 2013-12-20 2014-05-21 杭州承联通信技术有限公司 Grouped data transmission method for wireless trunked communication system
WO2015164122A1 (en) * 2014-04-21 2015-10-29 Alcatel Lucent Method and apparatus for improved multi-carrier communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113576370A (en) * 2020-04-30 2021-11-02 深圳硅基智控科技有限公司 Communication device for receiving data of capsule endoscope

Also Published As

Publication number Publication date
CN106254043A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
WO2018036026A1 (en) Data transmission method, base station, target terminal, system and storage medium
US9832621B2 (en) Method, terminal, server, and system for audio signal transmission
CN110166206B (en) Method and terminal for determining HARQ-ACK codebook
WO2016112728A1 (en) Data transmission method, network server, user terminal and system
WO2015058613A1 (en) Method and device for detecting data packet, and storage medium
CN110234124B (en) Information transmission method and terminal equipment
WO2019051715A1 (en) Method for activating bandwidth part (bwp) and related product
WO2017096909A1 (en) Data connection establishing method and apparatus
CN110944306A (en) Link release method of sidelink and terminal
CN110890943B (en) Determination method, terminal equipment and network equipment
US20210014716A1 (en) Method for processing communication range information and terminal
WO2019001188A1 (en) Data processing method, terminal and base station
KR20220103146A (en) Multicast service transmission method, transmission processing method and related apparatus
WO2017000495A1 (en) Method and device for adding contacts
US11523428B2 (en) Random access method, terminal device and network device
WO2017049933A1 (en) Direct mode operation communication method and terminal
WO2018103378A1 (en) Method for sending data, and mobile terminal
WO2018049968A1 (en) Hotspot establishment method and terminals
WO2019029173A1 (en) Method for determining length of feedback response information and related product
WO2020192673A1 (en) Resource configuration method, resource determining method, network side device, and terminal
WO2018227511A1 (en) Data transmission method and related product
WO2020088475A1 (en) Feedback information transmission method and device
WO2019071593A1 (en) Method for sending long text messages and terminal
CN110620640B (en) Data transmission method, terminal and node equipment
WO2017049930A1 (en) Resource usage method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914046

Country of ref document: EP

Kind code of ref document: A1