[go: up one dir, main page]

CN103763314B - Method and device for processing user layer data in practically deployed tumble detecting system - Google Patents

Method and device for processing user layer data in practically deployed tumble detecting system Download PDF

Info

Publication number
CN103763314B
CN103763314B CN201410004671.5A CN201410004671A CN103763314B CN 103763314 B CN103763314 B CN 103763314B CN 201410004671 A CN201410004671 A CN 201410004671A CN 103763314 B CN103763314 B CN 103763314B
Authority
CN
China
Prior art keywords
rlc
data
pdcp
protocol
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410004671.5A
Other languages
Chinese (zh)
Other versions
CN103763314A (en
Inventor
王进
张仲奇
左立武
郑钰辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Socool Information Technology Co ltd
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201410004671.5A priority Critical patent/CN103763314B/en
Publication of CN103763314A publication Critical patent/CN103763314A/en
Application granted granted Critical
Publication of CN103763314B publication Critical patent/CN103763314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种实际部署的跌倒检测系统中用户层数据的处理方法,包括:检测IP数据流;判断网络是否稳定或服务器端收包有无明显乱序丢包现象,若是,则使用UDP协议传输IP数据流,若否,则使用TCP协议传输IP数据流;当使用TCP协议传输IP数据流时,判断IP数据流是否为TCP协议的ACK数据包,若是,则将IP数据流标记为高优先级并经PDCP处理和RLC处理后发送到高优先级通道进行传输,若否,则将IP数据流标记为低优先级并经PDCP处理和RLC处理后发送到高优先级通道进行传输。本发明提供的一种实际部署的跌倒检测系统中用户层数据的处理方法,能够实时监控每个人员的运动状态。

The present invention provides a method for processing user layer data in an actually deployed fall detection system, including: detecting IP data flow; judging whether the network is stable or whether there is obvious out-of-sequence packet loss phenomenon in server-side receiving packets, and if so, use UDP protocol Transmit IP data stream, if not, then use TCP protocol to transmit IP data stream; when using TCP protocol to transmit IP data stream, judge whether IP data stream is the ACK packet of TCP protocol, if so, then mark IP data stream as high priority and sent to the high-priority channel for transmission after PDCP processing and RLC processing, if not, mark the IP data flow as low priority and send it to the high-priority channel for transmission after PDCP processing and RLC processing. The present invention provides a method for processing user layer data in an actually deployed fall detection system, which can monitor the movement state of each person in real time.

Description

实际部署的跌倒检测系统中用户层数据的处理方法及装置Method and device for processing user layer data in actually deployed fall detection system

技术领域technical field

本发明涉及一种用户层数据的处理方法,特别涉及一种实际部署的跌倒检测系统中用户层数据的处理方法及装置。The present invention relates to a method for processing user layer data, in particular to a method and device for processing user layer data in an actually deployed fall detection system.

背景技术Background technique

随着人口老龄化的加速,以及年轻人生活观念的变化,空巢家庭变得越来越多。根据统计结果,每年1/3的65周岁以上的老人都会有意外摔倒的经历。一方面,随着芯片集成规模的提高,成本随之降低;另一方面,无线通信技术越来越成熟。这些技术的发展使得智能医疗越发普及在寻常百姓人家,比如远程血压、血糖测量等。基于智能传感器的无线跌倒检测技术属于诸多智能医疗应用之一。With the acceleration of population aging and the change of life concept of young people, there are more and more empty nest families. According to the statistical results, every year, one-third of the elderly over 65 years old will have the experience of accidental falls. On the one hand, as the scale of chip integration increases, the cost decreases; on the other hand, wireless communication technology is becoming more and more mature. The development of these technologies has made smart medical care more and more popular in ordinary people's homes, such as remote blood pressure and blood sugar measurement. Smart sensor-based wireless fall detection technology is one of many smart medical applications.

由于在实际部署中,大量的传感器设备在不间断地产生数据,并发送至终端设备,如何处理这些大量数据,并快速、即时、准确的确定跌倒事件是否发生,决定着智能医疗设备(如穿戴式医疗设备)的应用前景。Since in actual deployment, a large number of sensor devices continuously generate data and send it to terminal devices, how to process these large amounts of data and quickly, instantly and accurately determine whether a fall event has occurred, determines whether smart medical devices (such as wearables) type medical equipment) application prospects.

随着通信技术的高速发展,特别是3G技术和LTE(LongTermEvolution)技术的发展,数据服务将成为移动无线通讯业务的重中之重。这些无线通信技术为穿戴式医疗设备的使用者提供从其本身到Internet的无线连接。现有的Internet网络服务主要使用TCP/IP网络协议,从而进行组网并传输数据,但实际测试表明在大量数据集中爆发的时候,TCP/IP协议并不能及时响应。其原因在于,由于其确认数据包有可能在空口阻塞其它数据的传递,并导致发送方认为服务器没有接收到消息,进行消息重发。最终导致大量数据包堵塞空口,不能及时处理无线传感器发回的消息,从而导致实际跌倒数据不能及时被获取至服务器,延误最佳救治时机。With the rapid development of communication technology, especially the development of 3G technology and LTE (Long Term Evolution) technology, data services will become the top priority of mobile wireless communication services. These wireless communication technologies provide users of wearable medical devices with wireless connections from themselves to the Internet. Existing Internet network services mainly use the TCP/IP network protocol to form a network and transmit data, but actual tests show that the TCP/IP protocol cannot respond in a timely manner when a large amount of data bursts out. The reason is that the confirmation data packet may block the transmission of other data on the air interface, and cause the sender to think that the server has not received the message and resend the message. In the end, a large number of data packets blocked the air interface, and the messages sent by the wireless sensors could not be processed in time, resulting in the fact that the actual fall data could not be obtained to the server in time, delaying the best time for treatment.

因此,针对传统的穿戴式医疗设备的通信系统,有必要提供一种实际部署的跌倒检测系统中用户层数据的处理方法,以解决现有的穿戴式医疗设备的通信系统因产生的数据量巨大而无法实时监控每个人员运动状态的技术问题。Therefore, for the communication system of traditional wearable medical devices, it is necessary to provide a method for processing user layer data in the actually deployed fall detection system to solve the problem of the huge amount of data generated by the communication system of existing wearable medical devices. However, it is impossible to monitor the technical problems of each person's motion status in real time.

发明内容Contents of the invention

本发明的目的旨在提供一种实际部署的跌倒检测系统中用户层数据的处理方法,实现面向用户层面的跌倒检测系统的优化处理,该方法使用TCP协议,进行数据包的交互,并在此基础上使用UDP协议,从而更快的发送数据至服务器,保证实时数据能够快速到达服务设备,以解决现有的穿戴式医疗设备的通信系统因产生的数据量巨大而无法实时监控每个人员运动状态的技术问题。The purpose of the present invention is to provide a method for processing user-level data in a fall detection system that is actually deployed, so as to realize the optimized processing of the fall detection system oriented to the user level. The method uses the TCP protocol to perform data packet interaction, and hereby Based on the use of the UDP protocol, the data can be sent to the server faster to ensure that the real-time data can reach the service device quickly, so as to solve the problem that the communication system of the existing wearable medical device cannot monitor the movement of each person in real time due to the huge amount of data generated State technical issues.

一方面,本发明提供一种实际部署的跌倒检测系统中用户层数据的处理方法,包括:检测IP数据流;判断网络是否稳定或服务器端收包有无明显乱序丢包现象,若是,则使用UDP协议传输IP数据流,若否,则使用TCP协议传输IP数据流;当使用TCP协议传输IP数据流时,判断IP数据流是否为TCP协议的ACK数据包,若是,则将IP数据流标记为高优先级并经PDCP处理和RLC处理后发送到高优先级通道进行传输,若否,则将IP数据流标记为低优先级并经PDCP处理和RLC处理后发送到低优先级通道进行传输;其中,所述RLC处理可以包括:将长度不同的高层PDU分组进行分段重组为RLC负荷单元(LU);当一个RLC SDU的内容不能填满一个完整的RLC PDU时,将下一个RLC SDU的第一段也放在该LU中,与前一个RLC SDU的最后一段级联在一起;当RLC SDU的内容不能填满一个完整的RLC PDU且无法进行级联时,将剩余的空间用填充比特来填满;在RLC PDU被重组为RLC SDU时,通过检查RLC PDU的顺序号对RLC SDU状态进行检查;检测RLC协议的错误并进行恢复。On the one hand, the present invention provides a method for processing user layer data in an actually deployed fall detection system, including: detecting IP data flow; judging whether the network is stable or whether there is obvious out-of-sequence packet loss phenomenon in server-side receiving packets, and if so, then Use the UDP protocol to transmit the IP data flow, if not, then use the TCP protocol to transmit the IP data flow; Mark it as high priority and send it to the high priority channel for transmission after PDCP processing and RLC processing, if not, mark the IP data flow as low priority and send it to the low priority channel after PDCP processing and RLC processing transmission; wherein, the RLC processing may include: segmenting high-level PDU packets with different lengths into RLC load units (LU); when the content of an RLC SDU cannot fill a complete RLC PDU, the next RLC SDU The first segment of the SDU is also placed in this LU, and is concatenated with the last segment of the previous RLC SDU; when the content of the RLC SDU cannot fill a complete RLC PDU and cannot be concatenated, the remaining space is used Filling bits to fill up; when RLC PDU is reassembled into RLC SDU, check the RLC SDU status by checking the sequence number of RLC PDU; detect the error of RLC protocol and recover.

另一方面,本发明提供一种实际部署的跌倒检测系统中用户层数据的处理装置,包括:检测模块,用于检测IP数据流;判断模块,用于判断网络是否稳定或服务器端收包有无明显乱序丢包现象,并且当使用TCP协议传输IP数据流时,判断IP数据流是否为TCP协议的ACK数据包;处理模块,用于当网络稳定且服务器端收包无明显乱序丢包现象时,则使用UDP协议传输IP数据流,当网络不稳定或服务器端收包有明显乱序丢包现象时,则使用TCP协议传输IP数据流,并且当IP数据流是为TCP协议的ACK数据包时,则将IP数据流标记为高优先级并经分组数据汇聚(PDCP)处理和无线链路控制层(RLC)处理后发送到高优先级通道进行传输,当IP数据流不是为TCP协议的ACK数据包时,则将IP数据流标记为低优先级并经PDCP处理和RLC处理后发送到低优先级通道进行传输;其中,所述处理模块进一步包括:RLC处理单元,用于将长度不同的高层PDU分组进行分段重组为RLC负荷单元LU,当一个RLC SDU的内容不能填满一个完整的RLC PDU时,将下一个RLC SDU的第一段也放在该LU中,与前一个RLC SDU的最后一段级联在一起,当RLC SDU的内容不能填满一个完整的RLC PDU且无法进行级联时,将剩余的空间用填充比特来填满,在RLC PDU被重组为RLC SDU时,通过检查RLC PDU的顺序号对RLC SDU状态进行检查,检测RLC协议的错误并进行恢复。On the other hand, the present invention provides a user-level data processing device in an actually deployed fall detection system, including: a detection module for detecting IP data streams; a judging module for judging whether the network is stable or whether the server receives packets There is no obvious out-of-order packet loss phenomenon, and when using the TCP protocol to transmit IP data streams, it is judged whether the IP data stream is an ACK data packet of the TCP protocol; the processing module is used when the network is stable and the server receives packets without obvious out-of-order loss When the packet phenomenon occurs, the UDP protocol is used to transmit the IP data stream. When the network is unstable or the server receives packets out of order and the packet is lost, the TCP protocol is used to transmit the IP data stream, and when the IP data stream is TCP protocol When the ACK data packet is received, the IP data flow is marked as high priority and sent to the high priority channel for transmission after packet data convergence (PDCP) processing and radio link control layer (RLC) processing. When the IP data flow is not for During the ACK data packet of TCP agreement, then IP data stream is marked as low priority and sends to low priority channel after PDCP processing and RLC processing and transmits; Wherein, described processing module further comprises: RLC processing unit, for Segment and reassemble the high-level PDU packets with different lengths into RLC load unit LU. When the content of an RLC SDU cannot fill a complete RLC PDU, put the first segment of the next RLC SDU in this LU, and The last segment of the previous RLC SDU is concatenated together. When the content of the RLC SDU cannot fill a complete RLC PDU and cannot be concatenated, the remaining space is filled with stuffing bits, and the RLC PDU is reassembled into RLC During SDU, the RLC SDU status is checked by checking the sequence number of the RLC PDU, and the error of the RLC protocol is detected and recovered.

本发明提供的一种实际部署的跌倒检测系统中用户层数据的处理方法及装置,能够实现面向用户层面的跌倒检测系统的优化处理,该方法使用TCP协议,进行数据包的交互,并在此基础上使用UDP协议,从而更快的发送数据至服务器,保证实时数据能够快速到达服务设备,以解决现有的穿戴式医疗设备的通信系统因产生的数据量巨大而无法实时监控每个人员运动状态的技术问题。进一步地,本发明通过给TCP协议的数据包分定优先级,来达到稳定空口带宽功效,进而保证数据能稳定、即时的传送到服务器。The method and device for processing user layer data in a actually deployed fall detection system provided by the present invention can realize the optimization processing of the fall detection system facing the user layer. The method uses the TCP protocol to perform data packet interaction, and hereby Based on the use of the UDP protocol, the data can be sent to the server faster to ensure that the real-time data can reach the service device quickly, so as to solve the problem that the communication system of the existing wearable medical device cannot monitor the movement of each person in real time due to the huge amount of data generated State technical issues. Furthermore, the present invention achieves the effect of stabilizing the bandwidth of the air interface by prioritizing the data packets of the TCP protocol, thereby ensuring that the data can be transmitted to the server stably and instantly.

本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.

附图说明Description of drawings

图1示出了根据本发明一实施方式的空口协议中用户端与服务器的协议结构分布的结构示意图;FIG. 1 shows a schematic structural diagram of the distribution of protocol structures between a client and a server in an air interface protocol according to an embodiment of the present invention;

图2示出了根据本发明一实施方式的实际部署的跌倒检测系统中用户层数据的处理方法的流程示意图;FIG. 2 shows a schematic flowchart of a method for processing user layer data in an actual deployed fall detection system according to an embodiment of the present invention;

图3示出了根据本发明一实施方式的实际部署的跌倒检测系统中用户层数据的处理装置的结构示意图。Fig. 3 shows a schematic structural diagram of a device for processing user layer data in an actually deployed fall detection system according to an embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

本技术领域技术人员可以理解的是,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wirelessly connected or coupled. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

本技术领域技术人员可以理解的是,除非另外定义,这里使用的所有术语(包括技术术语和科学术语)具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样定义,不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms such as those defined in commonly used dictionaries should be understood to have a meaning consistent with the meaning in the context of the prior art, and unless defined as herein, are not to be interpreted in an idealized or overly formal sense Explanation.

本发明专利设计一个实际部署的跌倒检测系统中用户层数据的处理方法,它主要使用了UDP协议和TCP/IP协议,并着重处理PDCP协议层及RLC协议层的数据。The patent of the present invention designs a method for processing user layer data in an actually deployed fall detection system, which mainly uses UDP protocol and TCP/IP protocol, and focuses on processing data of PDCP protocol layer and RLC protocol layer.

本发明涉及到的本领域常用技术术语,如下表所示。Commonly used technical terms in the field involved in the present invention are shown in the table below.

技术术语technical terms 英文English 中文Chinese TCP/IPTCP/IP Transmission Control Protocol/Internet ProtocolTransmission Control Protocol/Internet Protocol 传输控制协议/因特网互联协议Transmission Control Protocol/Internet Protocol IP数据流IP data flow Internet Protocol DataflowInternet Protocol Dataflow 基于网络互连协议的数据Internet protocol based data UDPUDP User Datagram ProtocolUser Datagram Protocol 用户数据包协议UDP TCPTCP Transmission Control ProtocolTransmission Control Protocol 传输控制协议transmission control protocol PDCPPDCP Packet Data Convergence ProtocolPacket Data Convergence Protocol 分组数据汇聚协议Packet Data Convergence Protocol RLCRLC Radio Link ControlRadio Link Control 无线链路控制层协议Radio Link Control Layer Protocol PDUPDU Power Distribution UnitPower Distribution Unit 电源分配单元power distribution unit LULU Load UnitLoad Unit 负荷单元load cell SDUSDUs Service Data UnitService Data Unit 服务数据单元service data unit RRCRRC Radio Resource ControlRadio Resource Control 无线资源控制协议Radio Resource Control Protocol

UDP是OSI参考模型中一种面向无连接的传输层协议,它主要用于不要求分组顺序到达的传输中,分组传输顺序的检查与排序由应用层完成。它不同于面向连接型协议,因而具有资源消耗小、处理速度快等优点,所以通常音频、视频和普通数据在传送时使用UDP较多。因为它们即使偶尔丢失一两个数据包,也不会对接收结果产生太大影响。由于UDP可能存在丢包的现象,其只作为本处理方法的第一层。UDP is a connectionless-oriented transport layer protocol in the OSI reference model. It is mainly used in the transmission that does not require the arrival of packets in sequence. The inspection and sorting of the packet transmission sequence are completed by the application layer. It is different from the connection-oriented protocol, so it has the advantages of low resource consumption and fast processing speed, so usually audio, video and ordinary data use UDP more when transmitting. Because even if they occasionally lose one or two packets, it will not have much impact on the reception results. Since there may be packet loss in UDP, it is only used as the first layer of this processing method.

TCP/IP主要分为两部分:TCP数据信息和IP数据包。TCP数据信息可表示为:TCP头部+实际数据(TCP头包括:源和目标主机端口号、顺序号、确认号、校验字等)。IP数据包可表示为:IP头部+TCP数据信息(IP头包括:源和目标主机IP地址、类型、生存期等)。TCP协议用于控制数据段是否需要重传的依据是设立重发定时器。在发送一个数据段的同时启动一个重发定时器,如果在定时器超时前收到确认就关闭该定时器,如果定时器超时前没有收到确认,则重传该数据段。也正是因为这条特性,在无线网络中单独使用TCP协议则有可能堵塞空口,导致数据不能正常传播。TCP/IP is mainly divided into two parts: TCP data information and IP data packets. TCP data information can be expressed as: TCP header + actual data (TCP header includes: source and destination host port numbers, sequence numbers, confirmation numbers, checksums, etc.). The IP data packet can be expressed as: IP header + TCP data information (IP header includes: source and destination host IP address, type, lifetime, etc.). The basis for the TCP protocol to control whether a data segment needs to be retransmitted is to set up a retransmission timer. Start a retransmission timer while sending a data segment. If an acknowledgment is received before the timer expires, the timer will be closed. If no acknowledgment is received before the timer expires, the data segment will be retransmitted. It is precisely because of this feature that using the TCP protocol alone in a wireless network may block the air interface, resulting in data not being transmitted normally.

PDCP是UMTS中的一个无线传输协议栈,主要负责将IP头压缩和解压、传输用户数据并维护为无损的无线网络服务子系统(SRNS)设置无线承载的序列号。PDCP协议层属于无线接口协议栈的第二层,处理控制平面上的无线资源管理(RRC)消息以及用户平面上的因特网协议(IP)包。在用户平面上,PDCP子层得到来自上层的IP数据分组后,可以对IP数据分组进行头压缩和加密,然后递交到RLC子层。PDCP子层还向上层提供按序提交和重复分组检测功能。PDCP is a wireless transmission protocol stack in UMTS. It is mainly responsible for compressing and decompressing the IP header, transmitting user data and maintaining the sequence number of the wireless bearer for the lossless wireless network service subsystem (SRNS). The PDCP protocol layer belongs to the second layer of the radio interface protocol stack, and processes radio resource management (RRC) messages on the control plane and Internet Protocol (IP) packets on the user plane. On the user plane, after the PDCP sublayer obtains the IP data packet from the upper layer, it can perform header compression and encryption on the IP data packet, and then submit it to the RLC sublayer. The PDCP sublayer also provides in-sequence submission and duplicate packet detection functions to upper layers.

图1示出了根据本发明一实施方式的空口协议中用户端与服务器的协议结构分布的结构示意图。如图1所示,演进陆地无线接入网节点B(E-URTANNodeB,eNB)和用户设备(UserEquipment,UE)的协议栈中,从高层到低层包含:PDCP协议层、无线链路控制(RadioLinkControl,RLC)层、MAC(MediumAccessControl)层、物理层(Physicallayer,PHY)。发送端需要传送业务数据到达接收端时,发送端将接收到的业务数据经过eNB的PDCP协议层、RLC层、MAC层处理,最后到达发送端的PHY层,发送端通过PHY层的物理通路将业务发送到接收端的PHY层,经过接收端的MAC层、RLC层、PDCP协议层的处理,向接收端的高层投递。Fig. 1 shows a schematic structural diagram of the distribution of protocol structures between a client and a server in an air interface protocol according to an embodiment of the present invention. As shown in Figure 1, the protocol stacks of the evolved terrestrial radio access network node B (E-URTANNodeB, eNB) and the user equipment (UserEquipment, UE), from high to low layers include: PDCP protocol layer, radio link control (RadioLinkControl , RLC) layer, MAC (Medium Access Control) layer, physical layer (Physical layer, PHY). When the sending end needs to transmit service data to the receiving end, the sending end processes the received service data through the PDCP protocol layer, RLC layer, and MAC layer of the eNB, and finally reaches the PHY layer of the sending end, and the sending end transmits the service data through the physical channel of the PHY layer It is sent to the PHY layer of the receiving end, processed by the MAC layer, RLC layer, and PDCP protocol layer of the receiving end, and delivered to the upper layer of the receiving end.

图2示出了根据本发明一实施方式的实际部署的跌倒检测系统中用户层数据的处理方法的流程示意图。如图2所示,本发明提供一种实际部署的跌倒检测系统中用户层数据的处理方法,包括:检测IP数据流;判断网络是否稳定或服务器端收包有无明显乱序丢包现象,若网络稳定且服务器端收包无明显乱序丢包现象,则使用UDP协议传输IP数据流,若网络不稳定或服务器端收包有明显乱序丢包现象,则使用TCP协议传输IP数据流;当使用TCP协议传输IP数据流时,判断IP数据流是否为TCP协议的ACK数据包,若是,则将IP数据流标记为高优先级并经分组数据汇聚(PDCP)处理和无线链路控制层(RLC)处理后发送到高优先级通道进行传输,若否,则将IP数据流标记为低优先级并经PDCP处理和RLC处理后发送到低优先级通道进行传输。Fig. 2 shows a schematic flowchart of a method for processing user layer data in an actually deployed fall detection system according to an embodiment of the present invention. As shown in Figure 2, the present invention provides a method for processing user layer data in an actually deployed fall detection system, including: detecting IP data flow; judging whether the network is stable or whether there is obvious out-of-sequence packet loss phenomenon in server-side receiving packets, If the network is stable and there is no obvious out-of-order packet loss when receiving packets on the server side, use the UDP protocol to transmit IP data streams. If the network is unstable or there is obvious out-of-order packet loss when receiving packets on the server side, use TCP protocol to transmit IP data streams ; When using the TCP protocol to transmit the IP data stream, judge whether the IP data stream is an ACK data packet of the TCP protocol, if so, mark the IP data stream as high priority and process it through Packet Data Convergence (PDCP) and wireless link control layer (RLC) and send it to the high-priority channel for transmission after processing, if not, mark the IP data flow as low priority and send it to the low-priority channel for transmission after PDCP processing and RLC processing.

进一步地,所述RLC处理可以包括:将长度不同的高层PDU分组进行分段重组为RLC负荷单元(LU);当一个RLC SDU的内容不能填满一个完整的RLC PDU时,将下一个RLC SDU的第一段也放在该LU中,与前一个RLC SDU的最后一段级联在一起;当RLC SDU的内容不能填满一个完整的RLC PDU且无法进行级联时,将剩余的空间用填充比特来填满;在RLC PDU被重组为RLC SDU时,通过检查RLC PDU的顺序号对RLC SDU状态进行检查;检测RLC协议的错误并进行恢复。Further, the RLC processing may include: segmenting and reassembling high-level PDU packets with different lengths into RLC load units (LU); when the content of an RLC SDU cannot fill a complete RLC PDU, the next RLC SDU The first segment of the RLC SDU is also placed in this LU, and is concatenated with the last segment of the previous RLC SDU; when the content of the RLC SDU cannot fill a complete RLC PDU and cannot be concatenated, the remaining space is filled with When the RLC PDU is reassembled into an RLC SDU, the RLC SDU status is checked by checking the sequence number of the RLC PDU; errors in the RLC protocol are detected and recovered.

进一步地,所述PDCP处理进一步包括:获取来自上层的IP数据分组;对IP数据分组进行头压缩和加密;将压缩和加密后的IP数据分组发送至RLC子层;提供按序提交和重复分组检测服务。Further, the PDCP processing further includes: obtaining IP data packets from the upper layer; performing header compression and encryption on the IP data packets; sending the compressed and encrypted IP data packets to the RLC sublayer; providing sequential submission and repetition of packets Testing services.

进一步地,所述提供按序提交和重复分组检测服务进一步包括:为上层RRC提供信令传输服务,并实现RRC信令的加密和一致性保护,并且在反方向上实现RRC信令的解密和一致性检查。Further, said providing in-order submission and duplicate packet detection services further includes: providing signaling transmission services for upper layer RRC, and implementing encryption and consistency protection of RRC signaling, and realizing decryption and consistency of RRC signaling in the reverse direction sex check.

例如,有助于在无线通信系统中实现对与切换相关的数据传输进行管理的系统,可以包括节点B(例如,基站、接入点(AP)、演进的节点B(eNB)等等),后者与可以与一个或多个用户设备单元(UE,在本申请中还称为接入终端(AT)、移动终端等等)130进行通信。举一个例子,节点B可以在一个或多个下行链路(DL,也称为前向链路(FL))上与UE进行通信,UE可以在一个或多个上行链路(UL,也称为反向链路(RL))上与节点B进行通信。再举一个例子,节点B可以与无线通信网络(例如,演进的UMTS(通用移动通信系统)陆地无线接入网(E-UTRAN)或其一部分(例如,小区、扇区等等))相关联。此外,节点B可以与一个或多个其它网络实体(例如,系统控制器(没有示出)等等)协同工作,以便协调节点B和UE之间的通信。For example, a system that facilitates managing handover-related data transmission in a wireless communication system may include a Node B (e.g., base station, access point (AP), evolved Node B (eNB), etc.), The latter may communicate with one or more user equipment units (UE, also referred to herein as an access terminal (AT), mobile terminal, etc.) 130 . As an example, a Node B can communicate with a UE on one or more downlinks (DL, also called forward link (FL)), and the UE can communicate on one or more uplinks (UL, also called communicates with Node B on the reverse link (RL). As another example, a Node B may be associated with a wireless communication network (e.g., Evolved UMTS (Universal Mobile Telecommunications System) Terrestrial Radio Access Network (E-UTRAN) or a portion thereof (e.g., a cell, sector, etc.) . In addition, the Node B can cooperate with one or more other network entities (eg, a system controller (not shown), etc.) to coordinate communications between the Node B and the UE.

可以在系统协议栈的一个或多个通信层的场景中执行系统中的相应分组传输。例如,分组数据会聚协议(PDCP)层、无线链路控制(RLC)层、介质访问控制(MAC)层和层1(L1)可以用于以各自的复杂程度来实现无线通信的各个方面。这样,例如,PDCP协议层可以用于执行数据压缩和排序和/或其它高层功能,RLC层可以用于管理各种数据的传输和/或重传,MAC层可以用于对相应相关设备接入到与网络相关的通信资源进行管理,L1可以用于在较低层上管理与给定网络设备相关的物理空中接口。但是,应当理解的是,上文是以特定示例的方式给出,任意层都可以执行任意适当的功能。此外,应当理解的是,系统可以以任意适当的顺序来使用任意适合的一组通信层。Corresponding packet transmissions in the system may be performed in the context of one or more communication layers of the system protocol stack. For example, a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Medium Access Control (MAC) layer, and Layer 1 (L1 ) may be used to implement various aspects of wireless communication at respective levels of complexity. In this way, for example, the PDCP protocol layer can be used to perform data compression and sequencing and/or other high-level functions, the RLC layer can be used to manage the transmission and/or retransmission of various data, and the MAC layer can be used to access the corresponding related equipment. To manage communication resources associated with the network, L1 can be used at lower layers to manage the physical air interface associated with a given network device. However, it should be understood that the foregoing are given by way of specific examples and any layer may perform any suitable function. Furthermore, it should be understood that the system may employ any suitable set of communication layers, in any suitable order.

可以将层与各种PDU格式进行关联,以便有助于结合信息的通信来管理和/或处理一个或多个层上的信息。因此,相应PDCPPDU可以与PDCP协议层相关,PDCPPDU可以包含在与RLC层相关的RLCPDU中。应当理解的是,可以以任意适当的方式将PDCPPDU映射到RLCPDU中。因此,一对一映射、多对一映射、一对多映射和/或任意其它适当映射都可以用于将PDCPPDU封装在相应RLCPDU中。应当理解的是,此外或作为另一种选择,MAC层、L1和/或与无线通信系统相关的任意其它层都可以使用PDU格式,以便在给定的相应层中处理信息。Layers may be associated with various PDU formats to facilitate management and/or processing of information on one or more layers in connection with communication of information. Therefore, the corresponding PDCP PDU can be related to the PDCP protocol layer, and the PDCP PDU can be included in the RLC PDU related to the RLC layer. It should be understood that PDCP PDUs may be mapped into RLC PDUs in any suitable manner. Thus, one-to-one mapping, many-to-one mapping, one-to-many mapping, and/or any other suitable mapping may be used to encapsulate PDCP PDUs in corresponding RLC PDUs. It should be understood that, additionally or alternatively, the MAC layer, L1, and/or any other layer associated with a wireless communication system may use the PDU format for processing information in a given corresponding layer.

可以通过相应数据无线承载(DRB)来耦合层的组合,例如,PDCP协议层和RLC层。可以提供与PDCP协议层和RLC层之间的相应管道相对应的相应DRB。例如,相应DRB可以用于对与一个或多个PDCPPDU相对应的数据进行排列,以便稍后在无线通信系统中进行传输。此外,DRB可以用于保存PDCP状态消息,并且可以如下文进一步详细描述来生成和/或使用PDCP状态消息。例如,可以向DRB分配优先级值,以使得至少部分地根据DRB各自的优先级,来发射DRB中经过排列的信息。因此,DRB可以具有最高优先级,DRB可以具有次最高优先级,DRB可以具有最低优先级。但是,应当理解的是,可以以任意适当方式在DRB之间建立优先级,并且给定的相应优先级可以应用于任意适当数量的DRB。The combination of layers, eg PDCP protocol layer and RLC layer, may be coupled by respective data radio bearers (DRBs). Respective DRBs corresponding to respective pipes between the PDCP protocol layer and the RLC layer may be provided. For example, a corresponding DRB may be used to arrange data corresponding to one or more PDCP PDUs for later transmission in the wireless communication system. Additionally, the DRB can be used to hold PDCP status messages, and can generate and/or use PDCP status messages as described in further detail below. For example, priority values may be assigned to DRBs such that information permuted in the DRBs is transmitted based at least in part on the respective priorities of the DRBs. Therefore, a DRB may have the highest priority, a DRB may have the next highest priority, and a DRB may have the lowest priority. However, it should be understood that priorities may be established between DRBs in any suitable manner, and that a given corresponding priority may apply to any suitable number of DRBs.

系统可以是自适应的,以便优化给定UE的通信性能。因此,例如,如果发生以下情况:节点B和UE之间产生衰退的无线状况,UE移出节点B的覆盖区域,UE需要的服务是节点B没有能力或容量来提供的,或者其它原因,那么可以进行将针对UE的服务从源节点B转移到目标节点B的切换。The system can be adaptive in order to optimize the communication performance for a given UE. Thus, for example, if a degraded radio condition occurs between the Node B and the UE, the UE moves out of the coverage area of the Node B, the UE requires a service that the Node B does not have the capability or capacity to provide, or other reasons, then the A handover is performed to transfer service for the UE from the source Node B to the target Node B.

依据上文切换过程,系统中的UE可以用于将相应DRB上的相应PDCP状态消息作为跟在切换完成消息之后的第一分组来发射。举一个例子,可以在信令无线承载(SRB)上发射PDCP状态消息,其可以用于指示丢失的DLPDCPPDU和/或指示依次接收到的DLPDCPPDU中最后一个DLPDCPPDU的序号(SN)。这样,举一个具体的示例,如果UE从节点B接收到给定DRB上的具有序号为1、2、4、6和10的PDCPPDU,那么该DRB的PDCP状态消息可以指示丢失了序号为3、5、7、8和9的PDCPPDU以及指示序号为2的PDCPPDU是依次接收到的PDU的最后一个。因此,节点B可以释放用于存储PDU1、2、4、6和10的存储器,并仅对于丢失的PDU3、5、7、8和9进行重传。在类似的具体示例中,如果将相应PDCPPDU封装到相应RLCPDU中,那么UE可以向节点B发射与已由UE正确接收到的RLCPDU相对应的RLC确认(ACK)。因此,例如,如果将RLCPDU配置成包含具有SN为1-5的五个PDCPPDU,那么UE可以用于在成功接收RLCPDU之后向节点B提交针对RLCPDU的ACK,从而节点B可以释放适当的存储器并阻止PDCPPDU1-5的重传。According to the handover procedure above, the UEs in the system can be configured to transmit the corresponding PDCP status message on the corresponding DRB as the first packet following the handover complete message. As an example, a PDCP status message may be transmitted on a signaling radio bearer (SRB), which may be used to indicate missing DLP CPP PDUs and/or indicate the sequence number (SN) of the last DLP CPP PDU among sequentially received DLP CPP PDUs. Thus, to give a specific example, if the UE receives PDCP PDUs with sequence numbers 1, 2, 4, 6, and 10 on a given DRB from the Node B, then the PDCP status message of the DRB may indicate that the missing sequence numbers 3, 3, and 10 are missing. The PDCP PDUs of 5, 7, 8 and 9 and the PDCP PDU indicating that the sequence number is 2 are the last PDUs received in sequence. Therefore, the Node B can free the memory used to store PDU1, 2, 4, 6 and 10 and retransmit only for the missing PDU3, 5, 7, 8 and 9. In a similar specific example, the UE may transmit an RLC acknowledgment (ACK) to the Node B corresponding to a RLC PDU that has been correctly received by the UE if the corresponding PDCP PDU is encapsulated into a corresponding RLC PDU. So, for example, if a RLC PDU is configured to contain five PDCP PDUs with SNs 1-5, the UE can be used to submit an ACK for the RLC PDU to the Node B after successfully receiving the RLC PDU, so that the Node B can release the appropriate memory and prevent Retransmission of PDCP PDU1-5.

在常规的无线通信实现中,相应节点B和/或UE所使用的调度器算法不知道在切换之后和/或在其它适当时间生成的状态消息(例如,PDCP状态消息、RLCACK)。应当理解的是,无线通信系统中的相应实体用于在相应逻辑信道上发射数据,以便满足相应逻辑信道的划分优先次序比特率(PBR)和/或一个或多个类似的其它条件。In conventional wireless communication implementations, the scheduler algorithms used by the respective Node Bs and/or UEs are unaware of status messages (eg, PDCP status messages, RLCACKs) generated after handover and/or at other appropriate times. It should be appreciated that respective entities in the wireless communication system are configured to transmit data on respective logical channels so as to satisfy a prioritized bit rate (PBR) and/or one or more similar other conditions of the respective logical channels.

因此,应当理解的是,当使用多个信道进行传输时,在一些情况下,常规调度算法在满足以下条件之前阻止与第二信道或后续信道相对应的状态消息的发射,即:满足第一信道的PBR、所有数据基本上都移出第一信道和/或在满足其它条件后。这导致延迟了状态消息的传输,从而阻止了系统中的实体从这些状态消息中实质性获益。例如,如果系统中的发射实体没有接收到与请求对丢失的数据进行重传相关的一个或多个报告(例如,通过PDCP状态消息、RLCACK等等),那么在一些情况下,发射实体会不选择针对相当一部分数据进行重传,这会在丢失数据并期望进行重传的情况下导致这些数据的丢失。或者,若缺少状态报告,发射实体可以假设数据的各部分都没有被接收,并对这些部分进行重传。但是,应当理解的是,如果在原始传输中成功接收了所重传的数据中的至少一部分的话,那么将会造成上行链路和/或下行链路上不需要的重复的数据传输。此外,应当理解的是,以这种方式进行重复传输还可以导致发射实体对于存储器的低使用效率,这是因为发射实体不能够释放同与重复传输相关的数据相关的存储器。Therefore, it should be appreciated that when multiple channels are used for transmission, conventional scheduling algorithms, in some cases, prevent the transmission of status messages corresponding to the second or subsequent channels until the first Channel's PBR, all data is essentially shifted out of the first channel and/or after other conditions are met. This results in delayed transmission of status messages, preventing entities in the system from substantially benefiting from these status messages. For example, if a transmitting entity in the system does not receive one or more reports (e.g., via a PDCP status message, RLCACK, etc.) Choose to retransmit for a significant portion of the data, which would result in the loss of data if a retransmission is expected. Alternatively, in the absence of a status report, the transmitting entity may assume that portions of the data were not received and retransmit those portions. However, it should be understood that if at least a portion of the retransmitted data was successfully received in the original transmission, this would result in undesired repeated data transmissions on the uplink and/or downlink. Furthermore, it should be appreciated that performing repeated transmissions in this manner may also result in inefficient use of memory by the transmitting entity, since the transmitting entity may not be able to free memory associated with data associated with repeated transmissions.

节点B、UE和/或系统中的任意其它适当实体可以用于智能地调度经过排列的信息,以便对状态消息划分优先次序,并在发射数据之前发射这些状态消息。例如,节点B的数据分析器和/或UE的数据分析器可以用于监控同与节点B和/或UE相对应的相应DRB或逻辑信道相关的信息。根据从数据分析器和/或获得的信息,划分优先次序模块可以了解状态消息(例如,PDCP状态消息、RLCACK等等)并对发射机和/或的传输划分优先次序,以使得在发射数据或满足与逻辑信道的至少一部分相关的PBR之前,从这些逻辑信道发射状态消息。因此,如上文所通常描述的,用于接收这些状态消息的实体可以避免数据的重复传输以及避免浪费上行链路和/或下行链路上的空中下载带宽。例如,划分优先次序模块可以确保在切换之后对PDCP状态报告给出足够高的优先级,以使得在PDCP状态报告请求所针对的任意逻辑信道上不进行数据传输或重传,直到基本上发射完全部的PDCP状态报告为止。再举一个例子,通过以下手段,划分优先次序模块可以针对具有有限PBR的DRB进行操作:在满足任意相关DRB的PBR之前促使传输相应DRB上的PDCP状态消息。或者,通过在对相应DRB上的任意数据进行传输之前促使传输相应DRB上的PDCP状态消息,划分优先次序模块可以针对根据严格优先级来工作的DRB(例如,与无限PBR相关的)进行操作。另举一个例子,划分优先次序模块有助于实现对任意其它适当逻辑信道(例如,信令无线承载(SRB)等等)上的状态消息划分优先次序。Node Bs, UEs, and/or any other appropriate entity in the system can be used to intelligently schedule the queued information to prioritize status messages and transmit them prior to transmitting data. For example, a Node B's data analyzer and/or a UE's data analyzer may be used to monitor information related to respective DRBs or logical channels corresponding to the Node B and/or UE. Based on information obtained from the data analyzer and/or, the prioritization module can understand status messages (e.g., PDCP status messages, RLCACK, etc.) Status messages are transmitted from at least some of the logical channels before the PBR associated with at least a portion of the logical channels is satisfied. Thus, entities receiving these status messages may avoid repeated transmissions of data and waste of over-the-air bandwidth on the uplink and/or downlink, as generally described above. For example, the prioritization module may ensure that PDCP status reports are given high enough priority after handover such that no data transmission or retransmission occurs on any logical channel for which the PDCP status report request is made until substantially the transmission is complete All PDCP status reports up to now. As another example, the prioritization module may operate on DRBs with limited PBRs by causing the transmission of PDCP status messages on the corresponding DRBs before satisfying the PBRs of any associated DRBs. Alternatively, the prioritization module may operate on DRBs (eg, associated with unlimited PBR) that operate according to strict priorities by causing transmission of PDCP status messages on the respective DRBs prior to transmission of any data on the respective DRBs. As another example, the prioritization module facilitates prioritization of status messages on any other suitable logical channel (eg, signaling radio bearer (SRB), etc.).

此外,划分优先次序模块可以用于对除PDCP状态消息之外的和/或代替PDCP状态消息的RLC状态消息(例如,包括一个或多个ACK和/或否定ACK(NACK)的RLCSTATUS消息)划分优先次序。因此,在节点B和UE之间的通信会话期间和/或任意其它适当时间,可以使数据分析器或划分优先次序模块了解到存在相应RLC状态消息和/或它们各自的类型(例如,不论这些消息是否包含NACK信息),以便相比其它逻辑信道上的新数据传输和/或数据重传而言,划分给RLC状态消息更高的优先级。因此,应当理解的是,可以使用于接收RLC状态消息的实体在通信会话过程期间尽可能了解否定确认,从而确保给定信道上数据的顺畅流动。此外,应当理解的是,通过以此方式对RLC状态消息划分优先次序,可以基本上避免所不需要数据(例如,最初发射的但接收实体由于状态禁止定时器而没有进行确认的数据)的重传、不充分的UL/DL授权和/或其它因素。Additionally, the prioritization module can be used to prioritize RLC status messages (e.g., RLCSTATUS messages including one or more ACKs and/or negative ACKs (NACKs)) in addition to and/or instead of PDCP status messages priority order. Thus, during a communication session between the Node B and the UE and/or at any other suitable time, the data analyzer or prioritization module can be made aware of the presence of corresponding RLC status messages and/or their respective types (e.g., regardless of these Whether the message contains NACK information), so as to assign higher priority to the RLC status message than new data transmission and/or data retransmission on other logical channels. Accordingly, it should be appreciated that the entity receiving the RLC status message may be made as aware of negative acknowledgments as possible during the course of a communication session, thereby ensuring a smooth flow of data on a given channel. Furthermore, it should be appreciated that by prioritizing RLC status messages in this manner, the duplication of unwanted data (e.g., data originally transmitted but not acknowledged by the receiving entity due to a status inhibit timer) can be substantially avoided. transmission, insufficient UL/DL authorization, and/or other factors.

节点B的数据分析器和划分优先次序模块和/或UE的数据分析器和划分优先次序模块可以用于对与应用的有限子组相关的状态消息划分优先次序。例如,可以对实时应用(例如,网络语音协议(VoIP)应用等等)和/或其它时间敏感的或其它应用不划分优先次序。例如,在建立针对给定应用的通信会话之后,节点B和/或UE可以判断该应用是否是时间敏感的,并且在得到肯定判断结果后,会使针对该应用的一些或全部如上文所述的优先次序划分失效。The Node B's data analyzer and prioritization module and/or the UE's data analyzer and prioritization module may be used to prioritize status messages related to a limited subset of applications. For example, real-time applications (eg, Voice over Internet Protocol (VoIP) applications, etc.) and/or other time-sensitive or other applications may not be prioritized. For example, after establishing a communication session for a given application, the Node B and/or UE may determine whether the application is time-sensitive, and upon obtaining a positive determination, make some or all of the applications for the application as described above The prioritization is invalid.

图3示出了根据本发明一实施方式的实际部署的跌倒检测系统中用户层数据的处理装置的结构示意图。如图3所示,本发明提供一种实际部署的跌倒检测系统中用户层数据的处理装置,包括:检测模块,用于检测IP数据流;判断模块,用于判断网络是否稳定或服务器端收包有无明显乱序丢包现象,并且当使用TCP协议传输IP数据流时,判断IP数据流是否为TCP协议的ACK数据包;处理模块,用于当网络稳定且服务器端收包无明显乱序丢包现象时,则使用UDP协议传输IP数据流,当网络不稳定或服务器端收包有明显乱序丢包现象时,则使用TCP协议传输IP数据流,并且当IP数据流是为TCP协议的ACK数据包时,则将IP数据流标记为高优先级并经分组数据汇聚(PDCP)处理和无线链路控制层(RLC)处理后发送到高优先级通道进行传输,当IP数据流不是为TCP协议的ACK数据包时,则将IP数据流标记为低优先级并经PDCP处理和RLC处理后发送到低优先级通道进行传输。Fig. 3 shows a schematic structural diagram of a device for processing user layer data in an actually deployed fall detection system according to an embodiment of the present invention. As shown in Figure 3, the present invention provides a user-level data processing device in an actually deployed fall detection system, including: a detection module for detecting IP data streams; a judging module for judging whether the network is stable or whether the server receives Whether there is obvious out-of-sequence packet loss phenomenon, and when using TCP protocol to transmit IP data stream, judge whether the IP data stream is an ACK data packet of TCP protocol; the processing module is used when the network is stable and the server receives packets without obvious disorder When the out-of-sequence packet loss occurs, the UDP protocol is used to transmit the IP data stream. When the network is unstable or the server receives packets with obvious out-of-order packet loss, the TCP protocol is used to transmit the IP data stream, and when the IP data stream is TCP When the ACK data packet of the protocol is received, the IP data flow is marked as high priority and sent to the high priority channel for transmission after being processed by Packet Data Convergence (PDCP) and Radio Link Control layer (RLC). When it is not an ACK data packet of the TCP protocol, the IP data stream is marked as low priority and sent to the low priority channel for transmission after being processed by PDCP and RLC.

进一步地,所述处理模块可以包括:PDCP处理单元,用于获取来自上层的IP数据分组,对IP数据分组进行头压缩和加密,将压缩和加密后的IP数据分组发送至RLC子层,提供按序提交和重复分组检测服务。Further, the processing module may include: a PDCP processing unit, configured to obtain an IP data packet from an upper layer, perform header compression and encryption on the IP data packet, and send the compressed and encrypted IP data packet to the RLC sublayer, providing Sequenced commit and duplicate packet detection services.

进一步地,所述PDCP处理单元块还可以用于:为上层RRC提供信令传输服务,并实现RRC信令的加密和一致性保护,并且在反方向上实现RRC信令的解密和一致性检查。Further, the PDCP processing unit block can also be used to: provide signaling transmission services for upper layer RRC, implement encryption and consistency protection of RRC signaling, and implement decryption and consistency check of RRC signaling in the reverse direction.

进一步地,所述处理模块可以包括:RLC处理单元,用于将长度不同的高层PDU分组进行分段重组为RLC负荷单元(LU),当一个RLC SDU的内容不能填满一个完整的RLC PDU时,将下一个RLC SDU的第一段也放在该LU中,与前一个RLC SDU的最后一段级联在一起,当RLCSDU的内容不能填满一个完整的RLC PDU且无法进行级联时,将剩余的空间用填充比特来填满,在RLC PDU被重组为RLC SDU时,通过检查RLC PDU的顺序号对RLC SDU状态进行检查,检测RLC协议的错误并进行恢复。Further, the processing module may include: an RLC processing unit, configured to segment and reassemble high-layer PDU packets of different lengths into RLC load units (LUs), when the content of an RLC SDU cannot fill a complete RLC PDU , put the first segment of the next RLC SDU in this LU, and concatenate with the last segment of the previous RLC SDU. When the content of the RLC SDU cannot fill a complete RLC PDU and cannot be concatenated, the The remaining space is filled with stuffing bits. When the RLC PDU is reassembled into an RLC SDU, the RLC SDU status is checked by checking the sequence number of the RLC PDU to detect and recover RLC protocol errors.

本发明提供的一种实际部署的跌倒检测系统中用户层数据的处理方法及装置,能够实现面向用户层面的跌倒检测系统的优化处理,该方法使用TCP协议,进行数据包的交互,并在此基础上使用UDP协议,从而更快的发送数据至服务器,保证实时数据能够快速到达服务设备,以解决现有的穿戴式医疗设备的通信系统因产生的数据量巨大而无法实时监控每个人员运动状态的技术问题。进一步地,本发明通过给TCP协议的数据包分定优先级,来达到稳定空口带宽功效,进而保证数据能稳定、即时的传送到服务器。The method and device for processing user layer data in a actually deployed fall detection system provided by the present invention can realize the optimization processing of the fall detection system facing the user layer. The method uses the TCP protocol to perform data packet interaction, and hereby Based on the use of the UDP protocol, the data can be sent to the server faster to ensure that the real-time data can reach the service device quickly, so as to solve the problem that the communication system of the existing wearable medical device cannot monitor the movement of each person in real time due to the huge amount of data generated State technical issues. Furthermore, the present invention achieves the effect of stabilizing the bandwidth of the air interface by prioritizing the data packets of the TCP protocol, thereby ensuring that the data can be transmitted to the server stably and instantly.

本技术领域技术人员可以理解的是,本发明可以涉及用于执行本申请中所述操作中的一项或多项操作的设备。所述设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备,所述通用计算机有存储在其内的程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、随机存储器(RAM)、只读存储器(ROM)、电可编程ROM、电可擦ROM(EPROM)、电可擦除可编程ROM(EEPROM)、闪存、磁性卡片或光线卡片。可读介质包括用于以由设备(例如,计算机)可读的形式存储或传输信息的任何机构。例如,可读介质包括随机存储器(RAM)、只读存储器(ROM)、磁盘存储介质、光学存储介质、闪存装置、以电的、光的、声的或其他的形式传播的信号(例如载波、红外信号、数字信号)等。Those skilled in the art will understand that the present invention may relate to an apparatus for performing one or more of the operations described in this application. Said apparatus may be specially designed and fabricated for the required purposes, or it may comprise known apparatus in a general purpose computer selectively activated or reconfigured by a program stored in it. Such a computer program can be stored in a device (e.g., computer) readable medium, including but not limited to any type of medium suitable for storing electronic instructions and respectively coupled to a bus. Types of disks (including floppy disks, hard disks, compact disks, CD-ROMs, and magneto-optical disks), random access memory (RAM), read-only memory (ROM), electrically programmable ROM, electrically erasable ROM (EPROM), electrically erasable Programmable ROM (EEPROM), flash memory, magnetic card or optical card. Readable media include any mechanism for storing or transmitting information in a form readable by a device (eg, a computer). Readable media include, for example, random access memory (RAM), read only memory (ROM), magnetic disk storage media, optical storage media, flash memory devices, signals propagated in electrical, optical, acoustic, or other forms (such as carrier waves, Infrared signal, digital signal), etc.

本技术领域技术人员可以理解的是,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来生成机器,从而通过计算机或其他可编程数据处理方法的处理器来执行的指令创建了用于实现结构图和/或框图和/或流图的框或多个框中指定的方法。It will be understood by those skilled in the art that computer program instructions can be used to implement each block in these structural diagrams and/or block diagrams and/or flow diagrams and the blocks in these structural diagrams and/or block diagrams and/or flow diagrams The combination. These computer program instructions may be provided to a general-purpose computer, specialized computer, or other programmable data-processing processor to create a machine, whereby the instructions executed by the computer or other programmable data-processing processor create a structure for implementing A method specified in a box or boxes of a diagram and/or a block diagram and/or a flow diagram.

本技术领域技术人员可以理解的是,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the processes discussed in the present invention can be replaced, changed, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes that have been discussed in the present invention may also be replaced, changed, rearranged, decomposed, combined, or deleted. Further, steps, measures, and schemes in the prior art that have operations, methods, and processes disclosed in the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.

以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.

Claims (4)

1. the processing method of client layer data in the fall detection system of an actual deployment, it is characterised in that including:
Detection IP traffic;
Judge that network is the most stable or server end packet receiving is with or without obvious out of order packet loss phenomenon,
If network stabilization and server end packet receiving are without obvious out of order packet loss phenomenon, then use udp protocol transmission of IP data stream,
If unstable networks or server end packet receiving have obvious out of order packet loss phenomenon, then use Transmission Control Protocol transmission of IP data stream;
When using Transmission Control Protocol transmission of IP data stream, it is judged that whether IP traffic is the ack msg bag of Transmission Control Protocol,
The most then IP traffic is labeled as high priority and grouped convergence PDCP processes and wireless chain control layer RLC is sent to high-priority channel after processing and is transmitted,
If it is not, then IP traffic is labeled as low priority and is sent to low-priority channel after PDCP processes and RLC processes It is transmitted;
Wherein, described RLC process farther includes:
High-rise power distribution unit PDU packets different for length is carried out segmentation and is reassembled as RLC load cell LU;
When the content of a RLC service data unit SDU can not fill up a complete RLC PDU, by next one RLC SDU First paragraph be also placed in this LU, be concatenated together with the final stage of previous RLC SDU;
When the content of RLC SDU can not be filled up a complete RLC PDU and cannot be carried out cascade, by remaining space with filling out Fill bit to fill up;
When RLC PDU is reassembled as RLC SDU, by checking that RLC SDU state is checked by the serial number of RLC PDU;
Detect the mistake of rlc protocol and recover;
Described PDCP process farther includes:
Obtain the IP packet from upper strata;
IP packet is carried out head compression and encryption;
IP packet after compression and encryption is sent to rlc sublayer;
There is provided and sequentially submit to and repeated packets detection service.
2. the processing method of client layer data in the fall detection system of actual deployment as claimed in claim 1, its feature exists In, described offer is sequentially submitted to and is farther included with repeated packets detection service:
There is provided Signaling Transport service for upper strata radio resource control RRC, and realize encryption and the concordance guarantor of RRC signaling Protect, and realize deciphering and the consistency check of RRC signaling in the reverse direction.
3. the processing means of client layer data in the fall detection system of an actual deployment, it is characterised in that including:
Detection module, is used for detecting IP traffic;
Judge module, is used for judging that network is the most stable or server end packet receiving is with or without obvious out of order packet loss phenomenon, and when making During with Transmission Control Protocol transmission of IP data stream, it is judged that whether IP traffic is the ack msg bag of Transmission Control Protocol;
Processing module, for when network stabilization and server end packet receiving are without obvious out of order packet loss phenomenon, then uses udp protocol to pass Defeated IP traffic, when unstable networks or server end packet receiving have obvious out of order packet loss phenomenon, then uses Transmission Control Protocol transmission IP Data stream, and, when the ack msg bag that IP traffic is for Transmission Control Protocol, then IP traffic is labeled as high priority warp Packet data convergence PDCP processes and is sent to high-priority channel after wireless chain control layer RLC process and is transmitted, and works as IP When data stream is not the ack msg bag for Transmission Control Protocol, then IP traffic is labeled as low priority and processes and RLC through PDCP It is sent to low-priority channel after process be transmitted;
Wherein, described processing module farther includes: RLC processing unit, for different for length high-rise PDU packets being carried out point Section is reassembled as RLC load cell LU, when the content of a RLC SDU can not fill up a complete RLC PDU, by the next one The first paragraph of RLC SDU is also placed in this LU, is concatenated together with the final stage of previous RLC SDU, when in RLC SDU When appearance can not be filled up a complete RLC PDU and cannot be carried out cascade, remaining space filling bit is filled up, When RLC PDU is reassembled as RLC SDU, by checking that RLC SDU state is checked by the serial number of RLC PDU, detect RLC The mistake of agreement is also recovered;
Described processing module farther includes:
PDCP processing unit, for obtaining the IP packet from upper strata, carries out head compression and encryption to IP packet, will IP packet after compression and encryption sends to rlc sublayer, it is provided that sequentially submit to and repeated packets detection service.
4. the processing means of client layer data in the fall detection system of actual deployment as claimed in claim 3, its feature exists In, described PDCP processing unit block is further used for:
There is provided Signaling Transport service for upper strata RRC, and realize encryption and the consistency protection of RRC signaling, and in the reverse direction Realize deciphering and the consistency check of RRC signaling.
CN201410004671.5A 2014-01-06 2014-01-06 Method and device for processing user layer data in practically deployed tumble detecting system Active CN103763314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410004671.5A CN103763314B (en) 2014-01-06 2014-01-06 Method and device for processing user layer data in practically deployed tumble detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410004671.5A CN103763314B (en) 2014-01-06 2014-01-06 Method and device for processing user layer data in practically deployed tumble detecting system

Publications (2)

Publication Number Publication Date
CN103763314A CN103763314A (en) 2014-04-30
CN103763314B true CN103763314B (en) 2017-01-11

Family

ID=50530474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410004671.5A Active CN103763314B (en) 2014-01-06 2014-01-06 Method and device for processing user layer data in practically deployed tumble detecting system

Country Status (1)

Country Link
CN (1) CN103763314B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016092700A (en) * 2014-11-07 2016-05-23 株式会社Nttドコモ User device and duplicate packet processing method
CN105391718A (en) * 2015-11-19 2016-03-09 小红象医疗科技有限公司 Method for realizing infrared medical image wireless transmission
US10499411B2 (en) * 2016-11-04 2019-12-03 Mediatek Inc. Method and apparatus for data transmission enhancements in mobile communications
CN107659558A (en) * 2017-08-22 2018-02-02 上海华为技术有限公司 A kind of data transmission method and base station
CN113037685B (en) * 2019-12-24 2022-08-30 中国移动通信集团四川有限公司 Data transmission method and electronic equipment
CN111629025B (en) * 2020-04-02 2023-08-25 深圳亿维锐创科技股份有限公司 Medical information is debugging system for butt joint
CN112615701B (en) * 2020-12-30 2023-02-14 展讯半导体(成都)有限公司 Data processing method and device
EP4284059A4 (en) * 2021-03-31 2024-01-24 Huawei Technologies Co., Ltd. Data processing apparatus and method
CN120092439A (en) * 2022-11-04 2025-06-03 华为技术有限公司 Communication method, device and system
CN118764361B (en) * 2024-09-09 2024-11-08 北京傲星科技有限公司 A server monitoring management system and method based on secure real-time bus SRB

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1771685A (en) * 2003-06-18 2006-05-10 Ut斯达康(中国)有限公司 Method and apparatus for discarding service data unit in radio link control protocol acknowledgement mode
CN101729525A (en) * 2008-10-31 2010-06-09 华为技术有限公司 Data packet sending and receiving method and device as well as processing method and system
CN102300259A (en) * 2011-09-16 2011-12-28 电信科学技术研究院 Data block concatenation and splitting processing method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100896484B1 (en) * 2002-04-08 2009-05-08 엘지전자 주식회사 Data transmission wireless communication method and wireless communication device in mobile communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1771685A (en) * 2003-06-18 2006-05-10 Ut斯达康(中国)有限公司 Method and apparatus for discarding service data unit in radio link control protocol acknowledgement mode
CN101729525A (en) * 2008-10-31 2010-06-09 华为技术有限公司 Data packet sending and receiving method and device as well as processing method and system
CN102300259A (en) * 2011-09-16 2011-12-28 电信科学技术研究院 Data block concatenation and splitting processing method, device and system

Also Published As

Publication number Publication date
CN103763314A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103763314B (en) Method and device for processing user layer data in practically deployed tumble detecting system
CN109716728B (en) Method and apparatus for sequencing protocol data unit delivery
EP2136501B1 (en) Method of delivering a PDCP data unit to an upper layer
US8437257B2 (en) Buffer status reporting based on radio bearer configuration
JP4906844B2 (en) Method for generating lower layer data block in wireless mobile communication system
CN101379734B (en) Operation method and system of WCDMA enhanced RLC entity and RNC entity
TWI425794B (en) Method of transmitting data in a mobile communication system
CN110249659B (en) Quality of Service Flow Relocation
JP5244260B2 (en) Method and apparatus for re-establishing PDCP layer
EP2168270B1 (en) A method for handling correctly received but header compression failed packets
US11129047B2 (en) Radio link control status reporting
US20060140154A1 (en) Method and apparatus for signaling user equipment status information for uplink data transmission in a mobile communication system
CN103797743B (en) Redundant data is handled in a communications system
WO2019149248A1 (en) Communication method and device
CN104967503A (en) Method for receiving packets via high speed downlink packet access and WTRU
CN102365834A (en) Method of receiving a point-to-multipoint service in a wireless communication system
CN111201808B (en) Method and device for data processing in wireless communication system
JP2006203265A (en) Reception device, transmission device, communication system, and communication method
TW200816700A (en) Method and apparatus of adaptive sequence numbering in a wireless communication system
KR100954925B1 (en) How to transfer the PDC data unit to the upper level
CN101652951A (en) Method for transmitting retransmission request and receiving side device
WO2013001838A1 (en) Reception device, transmission device, and feedback method
TWI416898B (en) System and method for data transmission
CN108463987A (en) Wireless communication device, wireless communication system and wireless communications method
GB2462699A (en) Delivering PDCP SDUs to an upper layer within a receiving side entity of an E-UMTS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190109

Address after: Room 3007, Xinpeng Building, 304 Changjiang West Road, Shushan District, Hefei City, Anhui Province

Patentee after: Hefei Tianchen Intellectual Property Service Co.,Ltd.

Address before: Unit 2301-D, Bike Science and Technology Building, No. 9 Scientific Research Road, Yuehai Street High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 518000

Patentee before: Shenzhen Gao Hang Intellectual Property Operation Co.,Ltd.

Effective date of registration: 20190109

Address after: Unit 2301-D, Bike Science and Technology Building, No. 9 Scientific Research Road, Yuehai Street High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Gao Hang Intellectual Property Operation Co.,Ltd.

Address before: 210044 Ning six road, Nanjing, Jiangsu Province, No. 219

Patentee before: Nanjing University of Information Science and Technology

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190118

Address after: 210001 South Building, No. 2 Yongshun Road, Qinhuai District, Nanjing City, Jiangsu Province

Patentee after: NANJING SOCOOL INFORMATION TECHNOLOGY CO.,LTD.

Address before: Room 3007, Xinpeng Building, 304 Changjiang West Road, Shushan District, Hefei City, Anhui Province

Patentee before: Hefei Tianchen Intellectual Property Service Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for processing user layer data in practically deployed tumble detecting system

Effective date of registration: 20190805

Granted publication date: 20170111

Pledgee: Bank of China Limited by Share Ltd. Nanjing City South Branch

Pledgor: NANJING SOCOOL INFORMATION TECHNOLOGY CO.,LTD.

Registration number: Y2019320000002

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20200821

Granted publication date: 20170111

Pledgee: Bank of China Limited by Share Ltd. Nanjing City South Branch

Pledgor: NANJING SOCOOL INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2019320000002

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: User layer data processing method and device in the actual deployment of fall detection system

Effective date of registration: 20200824

Granted publication date: 20170111

Pledgee: Bank of China Limited by Share Ltd. Nanjing City South Branch

Pledgor: NANJING SOCOOL INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2020980005313

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20210825

Granted publication date: 20170111

Pledgee: Bank of China Limited by Share Ltd. Nanjing City South Branch

Pledgor: NANJING SOCOOL INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2020980005313

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for processing user layer data in actually deployed fall detection system

Effective date of registration: 20210826

Granted publication date: 20170111

Pledgee: Bank of China Limited by Share Ltd. Nanjing City South Branch

Pledgor: NANJING SOCOOL INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2021980008361

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230922

Granted publication date: 20170111

Pledgee: Bank of China Limited by Share Ltd. Nanjing City South Branch

Pledgor: NANJING SOCOOL INFORMATION TECHNOLOGY CO.,LTD.

Registration number: Y2021980008361