WO2015139305A1 - Method and device for data processing - Google Patents

Method and device for data processing Download PDF

Info

Publication number
WO2015139305A1
WO2015139305A1 PCT/CN2014/073868 CN2014073868W WO2015139305A1 WO 2015139305 A1 WO2015139305 A1 WO 2015139305A1 CN 2014073868 W CN2014073868 W CN 2014073868W WO 2015139305 A1 WO2015139305 A1 WO 2015139305A1
Authority
WO
WIPO (PCT)
Prior art keywords
processed
data stream
user plane
group
plane protocol
Prior art date
Application number
PCT/CN2014/073868
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 华为技术有限公司
Priority to CN201480000349.3A priority Critical patent/CN105265012B/en
Priority to PCT/CN2014/073868 priority patent/WO2015139305A1/en
Priority to CN201910527157.2A priority patent/CN110234174A/en
Publication of WO2015139305A1 publication Critical patent/WO2015139305A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a data processing method and apparatus. Background technique
  • the Long Term Evolution (LTE) system is a long-term evolution of the universal mobile communication system dominated by 3GPP (3rd Generation Partnership Project).
  • the network architecture includes an evolved packet core network composed of a mobility management entity and a service gateway, and an E-UTRAN (Evolved Universal Terrestrial Radio Access Network) composed of an eNB (evolved Node B). Access network) and UE (User Equipment) are three parts.
  • the air interface side user plane protocol stack between the eNB and the UE includes: a PDCP (Packet Data Convergence Protocol) layer, an RLC (Radio Link Control) layer, MAC (Medium Access Control) layer, PHY (Radio Resource Control) layer.
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • MAC Medium Access Control
  • PHY Radio Resource Control
  • the UE decapsulates the data packet in the PHY layer, the MAC layer, the RLC layer, and the PDCP layer in order to correctly submit the decapsulated service data to the application layer.
  • the order in which the data packet is encapsulated is just reversed.
  • RLC layer different RLC entities need to be established for data packets of different service types, that is, one RLC entity is responsible for processing data packets of one service type, and therefore, the number of RLC entities and the service type supported by the UE. The number is the same.
  • the PDCP layer it is also necessary to establish a PDCP entity with the same number of service types supported by the UE, so as to implement the PDCP layer to process data packets of various service types.
  • D2D Device-to-device
  • Direct communication between devices can realize direct transmission of data between UEs without forwarding through the base station. Therefore, D2D services can be improved. Transfer rate, reduced transfer time, and reduced energy consumption. For some near-field communication or public safety events, D2D services are more efficient.
  • the UE When a UE having D2D service capability performs direct communication using resources of the LTE system, the UE It can also be called a cellular pass-through terminal. Multiple cellular pass-through terminals can form a D2D user group. Direct communication can be implemented between each cellular through terminal in a D2D user group. In addition, in addition to enabling straight-through communication in D2D subscriber groups, cellular pass-through terminals are also capable of traditional cellular communications.
  • one UE can only communicate with one base station at the same time.
  • the UE is the transmitting end of one base station, and for downlink communication, the UE is the receiving end of one base station.
  • the cellular through terminal in the D2D user group can serve as a sending end to send data packets to other cellular through terminals in the D2D user group, or as a receiving end to receive data packets sent by other cellular through terminals in the D2D user group. Therefore, in the D2D user group, for a receiving end, it is sometimes necessary to establish an RLC entity and a PDCP entity corresponding to each sender, so that the data packets sent by each sender can be processed.
  • the number of internal RLC entities and PDCP entities is the product of the number of transmitting ends and the number of services supported by each transmitting end. . If the number of senders is too large, the receiver needs to establish a large number of RLC entities and PDCP entities. This situation will directly affect the processing capability of the receiver. Summary of the invention
  • an embodiment of the present invention provides a data processing method and apparatus, which are applied to any one of the D2D user groups, and are retained only when the data stream to be processed by the current user plane protocol layer is not received.
  • An entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and when receiving the data stream to be processed by the current user plane protocol layer, translating the service with the data stream to be processed The entity of the current user plane protocol layer corresponding to the type solves the problem that the entity of the current user plane protocol layer is stored in the cellular through terminal, thereby affecting the processing capability of the cellular through terminal.
  • the specific plan is as follows:
  • the application provides a data processing method, which is applied to any one of the inter-device direct communication D2D groups, the method includes:
  • the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released;
  • the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is reserved.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes: when the group header is any one of the D2D user groups, and the group header is capable of being connected to the base station
  • the preset time interval is that the group header is acquired from the base station by using radio resource control RRC signaling.
  • the method further includes: when the group header is any one of the D2D user groups, and the group header cannot be When the base station performs communication, the preset time interval is obtained by the group header from its internal configuration information.
  • the method further includes: when the group header is a base station, and the D2D user group is within a network coverage of the base station, The preset time interval is that the group header is obtained from a network element of an evolved packet core network.
  • the method further includes: the group announcement information further includes a mapping relationship between the service type and the logical channel identifier; Before the data stream to be processed by the protocol layer, the method further includes: establishing an entity group of the current user plane protocol layer, where the entities in the entity group have a one-to-one correspondence with the logical channel identifier.
  • the method further includes: acquiring a service type of the data stream to be processed;
  • a tenth implementation manner of implementing the implementation of any one of the nine implementation manners of the first aspect the method further includes:
  • the current user plane protocol layer is an RLC layer or a PDCP layer.
  • the application provides a data processing apparatus, which is applied to any one of the inter-device direct communication D2D user groups, the device includes:
  • a receiving unit configured to receive a data stream to be processed by a current user plane protocol layer, where the to-be-processed data stream is transmitted by an upper layer of a current user plane protocol layer;
  • a determining unit configured to determine whether the receiving unit receives the data stream to be processed
  • a decoding unit configured to: when the determining unit determines that the data stream to be processed is received, release and wait The entity of the current user plane protocol layer corresponding to the service type of the processed data stream;
  • a retaining unit configured to: when the determining unit determines that the to-be-processed data stream is not received, retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • the device further includes:
  • the determining unit is specifically configured to: Determining whether the receiving unit receives a service data unit in the to-be-processed data stream within a preset time interval, if a service in the to-be-processed data stream is received within the preset time interval a data unit, the data stream to be processed is not received; if the service data unit in the data stream to be processed is not received within the preset time interval, the data to be processed is indicated The stream is received.
  • the apparatus further includes:
  • a reporting unit configured to: after the determining unit determines that the data stream to be processed is received, after the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, Notifying the message that the entity of the current user plane protocol layer has been translated to the upper layer of the current user plane protocol layer.
  • the apparatus further includes:
  • a group announcement information receiving unit configured to receive, before the receiving unit receives the data stream to be processed by the current user plane protocol layer, the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, the group announcement
  • the preset time interval is included in the information.
  • the device further includes: the group announcement information receiving unit is specifically configured to:
  • the preset time interval is that the group header is controlled by radio resource control RRC signaling. Obtained by the base station.
  • the device further includes: the group announcement information receiving unit is specifically configured to:
  • the preset time interval is the internal configuration information of the group header from itself. Obtained.
  • the device further includes: the group announcement information receiving unit is specifically configured to:
  • the device further includes: the group announcement information further includes a mapping relationship between the service type and the logical channel identifier, where the apparatus further includes:
  • An entity group establishing unit configured to establish an entity group of the current user plane protocol layer, an entity in the entity group, and the logical channel identifier, before the receiving unit receives the data stream to be processed by the current user plane protocol layer --correspond.
  • the device further includes: a service type acquiring unit, configured to obtain, after the receiving unit receives the data stream to be processed by the current user plane protocol layer, The service type of the data stream to be processed;
  • a logical channel identifier determining unit configured to determine, according to a mapping relationship between the service type and the logical channel identifier, a logical channel identifier corresponding to a service type of the data stream to be processed acquired by the service type acquiring unit, and as the to-be-processed Logical channel identification of the data stream;
  • An entity selecting unit configured to select, from the entity group of the current user plane protocol layer, an entity corresponding to the logical channel identifier of the to-be-processed data stream determined by the logical channel identifier determining unit, and as the data to be processed The processing entity of the current user plane protocol layer corresponding to the traffic type of the stream.
  • the apparatus further includes:
  • the current user plane protocol layer is an RLC layer or a PDCP layer.
  • the application provides a cellular through terminal, including the data described in any one of the ten possible implementation manners of the second aspect of the present application.
  • Processing device It can be seen from the above technical solution that the data processing method and device provided by the embodiments of the present invention are applied to any one of the D2D user groups, and only the data stream to be processed by the current user plane protocol layer is not received.
  • the entity of the current user plane protocol layer corresponding to the service type of the data stream can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving The processing capability of the cellular pass-through terminal ultimately guarantees the accurate implementation of the D2D service.
  • Embodiment 1 is a flowchart of Embodiment 1 of a data processing method according to the present application;
  • Embodiment 2 is a flowchart of Embodiment 2 of a data processing method according to the present application;
  • Embodiment 3 is a flowchart of Embodiment 3 of a data processing method of the present application.
  • Embodiment 4 is a flowchart of Embodiment 4 of a data processing method of the present application.
  • Embodiment 1 of a data processing apparatus according to the present application.
  • Embodiment 2 is a schematic structural diagram of Embodiment 2 of a data processing apparatus according to the present application.
  • Embodiment 7 is a schematic structural diagram of Embodiment 3 of a data processing apparatus according to the present application.
  • Embodiment 8 is a schematic structural diagram of Embodiment 4 of a data processing apparatus according to the present application.
  • FIG. 9 is a schematic structural diagram of a communication device of the present application. detailed description
  • the cellular through terminal in the D2D user group can serve as a transmitting end to send data packets to other cellular through terminals in the D2D user group, or as a receiving end to receive data packets sent by other cellular through terminals in the D2D user group. Therefore, in the D2D user group, for a receiving end, it is sometimes necessary to establish an RLC entity and a PDCP entity corresponding to each transmitting end, so that the data packets sent by each transmitting end can be processed. After the receiving end receives the data packets sent by all other cellular through terminals in the D2D user group in which it is located, the number of internal RLC entities and PDCP entities is the product of the number of transmitting ends and the number of services supported by each transmitting end. .
  • the receiver needs to establish a large number of RLC entities and PDCP entities. Moreover, after the data transmission between the receiver and a sender ends, the previously established RLC entity and PDCP entity will still be established. Consuming a certain amount of resources, this situation will directly affect the ability of the receiving end to process data.
  • an embodiment of the present invention provides a data processing method, which is applied to any one of the D2D user groups, and only retains the data stream that is to be processed when the current user plane protocol layer is not received.
  • the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and when the data stream to be processed by the current user plane protocol layer is received, the translation is corresponding to the service type of the data stream to be processed.
  • the entity of the current user plane protocol layer can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. The following is a detailed description.
  • Embodiment 1 is a flowchart of Embodiment 1 of a data processing method according to the present application, which is applied to any one of the cellular through terminals in the D2D group of the inter-device communication.
  • the method may include: S101: Receive a data stream to be processed by a current user plane protocol layer, where the to-be-processed data stream is transmitted by a layer of a current user plane protocol layer.
  • the current user plane protocol layer is an RLC layer or a PDCP layer.
  • the to-be-processed data stream is sequentially in an application layer, a PDCP layer, an RLC layer, a MAC layer, and a PHY.
  • the upper layer of the current user plane protocol layer is the application layer. If the current user plane protocol layer is the RLC layer, the current user plane protocol layer is One layer is the PDCP layer. When the cellular through terminal is the receiving end, the data stream to be processed is processed in the PHY layer, the MAC layer, the RLC layer, the PDCP layer, and the application layer. If the current user plane protocol layer is the RLC layer, the current user plane The upper layer of the protocol layer is the MAC layer. If the current user plane protocol layer is the PDCP layer, the upper layer of the current user plane protocol layer is the RLC layer.
  • step S102 Determine whether the data stream to be processed is received. If the data stream to be processed is received, step S103 is performed. If the data stream to be processed is not received, step S104 is performed.
  • the translation release mentioned here includes two cases, one is to delete the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, in this case, the entity is directly reduced. The number to reduce the resource consumption of the terminal.
  • the other is to reset the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, that is, the current user plane protocol layer corresponding to the service type of the data stream to be processed.
  • the processed data stream in the entity is transmitted to the next layer of the current user plane protocol layer, the unprocessed data stream is deleted, and various state variables in the entity are set to initial values, in this case, The entity will no longer consume the resources of the terminal.
  • S104 Retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • the embodiment provides a data processing method, which is applied to any one of the D2D user groups, and only retains the data to be processed when the data stream to be processed by the current user plane protocol layer is not received.
  • the current user plane protocol layer entity corresponding to the service type of the data stream, and when the data stream to be processed by the current user plane protocol layer is received, the current user plane corresponding to the service type of the to-be-processed data stream is released.
  • the entity of the protocol layer can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service.
  • FIG. 2 is a flowchart of Embodiment 2 of a data processing method according to the present application, where the method is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 2, the method may include:
  • S201 Receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by a layer of a current user plane protocol layer.
  • step S201 is the same as the step S101 in the first embodiment, and is not described in detail in this embodiment. For details, refer to the related description in Embodiment 1.
  • step S202 Determine whether a service data unit in the to-be-processed data stream is received in a preset time interval, if the service data in the to-be-processed data stream is not received within the preset time interval.
  • the unit indicates that the data stream to be processed is received, and step S203 is performed. If the service data unit in the data stream to be processed is received within the preset time interval, it indicates that the data stream to be processed is not received, and step S204 is performed.
  • each data stream to be processed is composed of a plurality of consecutive data packets, and each data packet is composed of a data packet header and at least one service data unit.
  • the upper layer of the current user plane protocol layer sequentially transmits the service data unit in the data stream to the current user plane protocol layer to serve as the data stream to be processed of the current user plane protocol layer.
  • whether a service data unit in the to-be-processed data stream is received in a preset time interval may be determined by using a timer or a timer.
  • the timer value of the timer is a preset time interval.
  • the timer is started. If the timer timing value does not reach the preset time interval, the current user plane.
  • the protocol layer receives a service data unit, the timer is restarted, that is, the timer is re-timed, and the loop is repeated until the timer data value reaches the preset time interval, and the service data unit is not received again. Then, the data stream to be processed is received.
  • the preset time interval needs to be set according to the system requirements, so as to ensure that the current user plane protocol layer can process the received service data unit for the preset time interval
  • the preset time interval value is not limited in this embodiment.
  • S203 Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • steps S203 and S204 are similar to the steps S103 and S104 in the method embodiment 1, and are not described in detail in this embodiment. For details, refer to the related description in the method embodiment 1.
  • the message that the entity of the current user plane protocol layer has been translated may be notified to the upper layer of the current user plane protocol layer, so that the current user plane protocol The upper layer of the layer stops transmitting data streams.
  • the message of the current user plane protocol layer may also be notified to the upper layer of the current user plane protocol layer, so that the upper layer of the current user plane protocol layer continues to transmit data. flow.
  • the embodiment provides a data processing method, which is applied to any one of the D2D user groups, and determines whether a service data unit in the to-be-processed data stream is received in a preset time interval, and then Determining that the data stream to be processed is received, and retaining the current user plane protocol layer entity corresponding to the service type of the to-be-processed data stream only when the data stream to be processed by the current user plane protocol layer is not received.
  • the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed can be decrypted, thereby avoiding excessive storage in the cellular through terminal.
  • FIG. 3 is a flowchart of Embodiment 3 of the data processing method of the present application, and the method is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 3, the method may include:
  • S301 Receive group announcement information of a group head broadcast of the D2D user group where the cellular through terminal is located, where the group announcement information includes a preset time interval.
  • the group announcement information is sent to the cellular through terminal in the D2D user group in the form of broadcast, which avoids the prior art, when the receiver has more receivers, the radio resource control RRC signaling is notified one by one.
  • the consumption of large wireless resources caused by the sender saves radio resources and further ensures the processing capability of the cellular through terminal.
  • the preset time interval is that the group header passes the radio resource. Controlling RRC signaling obtained from the base station.
  • the preset time The interval is obtained by the group header from its own internal configuration information.
  • the preset time interval is obtained by the group header from the network element of the evolved packet core network.
  • S302 Receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
  • step S303 Determine whether a service data unit in the to-be-processed data stream is received in a preset time interval, if the service data in the to-be-processed data stream is not received within the preset time interval. The unit indicates that the data stream to be processed is received, and step S304 is performed. If the service data unit in the data stream to be processed is received within the preset time interval, it indicates that the data stream to be processed is not received, and step S305 is performed.
  • S304 Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • S305 Retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • steps S302 to S305 are similar to the steps S201 to S204 in the method embodiment 2, and are not described in detail in this embodiment. For details, refer to the related description in the method embodiment 2.
  • the message that the entity of the current user plane protocol layer has been translated may be notified to the upper layer of the current user plane protocol layer, so that the current user plane protocol The upper layer of the layer stops transmitting data streams.
  • the message of the current user plane protocol layer may also be notified to the upper layer of the current user plane protocol layer, so that the upper layer of the current user plane protocol layer continues to transmit data. flow.
  • the embodiment provides a data processing method, which is applied to any one of the D2D user groups, and determines whether a service data unit in the to-be-processed data stream is received in a preset time interval, and then Determining that the data stream to be processed is received, the preset time interval is obtained from the group announcement information broadcasted by the received group header, and only when the data stream to be processed by the current user plane protocol layer is not received.
  • FIG. 4 is a flowchart of Embodiment 4 of a data processing method according to the present application, where the method is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 4, the method may include:
  • S401 Receive group announcement information of a group head broadcast of the D2D user group where the cellular through terminal is located, where the group announcement information includes a preset time interval and a mapping relationship between the service type and the logical channel identifier.
  • the mapping relationship between the service type and the logical channel identifier does not distinguish the terminal, that is, for any one of the cellular through terminals, as long as it supports a certain service, the logic corresponding to the service
  • the channel identifiers are all the same.
  • the logical channel identifier mentioned here may specifically be a logical channel number.
  • S402 Establish an entity group of a current user plane protocol layer, where the entities in the entity group have a one-to-one correspondence with the logical channel identifier.
  • the cellular short-passing terminal After receiving the group announcement information of the group head broadcast and obtaining the mapping relationship between the service type and the logical channel identifier, the cellular short-passing terminal pre-establishes the RLC entity group of the RLC layer or the PDCP entity group of the PDCP layer, and the entity in the entity group
  • the logical channel identifier is - corresponding.
  • the mapping relationship obtained by the cellular pass-through terminal is as follows:
  • the entities in the RLC entity group that establish the current user plane protocol layer are RLC 1 and RLC2; and the entities in the corresponding PDCP entity group are PDCP1 and PDCP2.
  • S403 Receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by a layer of a current user plane protocol layer.
  • the data stream to be processed is the data stream to be sent. If the cellular through terminal is the receiving end, the data stream to be processed is the data stream to be received. Whether it is a data stream to be sent or a data stream to be received, its service type can be obtained from the data stream header.
  • S405 Determine, according to the mapping relationship between the service type and the logical channel identifier, the to-be-processed
  • the logical channel identifier corresponding to the service type of the data stream is used as the logical channel identifier of the data stream to be processed.
  • S406 Select an entity corresponding to the logical channel identifier of the to-be-processed data stream from the entity group of the current user plane protocol layer, and serve as a current user plane protocol layer corresponding to the service type of the to-be-processed data stream. Processing entity.
  • the service type of the data stream to be processed is service 1
  • the logical channel identifier is 1
  • the processing entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is RLC1.
  • the cellular through terminal takes the cellular through terminal as the receiving end as an example, it receives all the data streams sent by the transmitting end with the service type of service 1, and transmits them to RLC1 and/or PDCP1 for processing. That is to say, each cellular through terminal only needs to establish at most the same number of RLC entities as the service type and the same number of PDCP entities as the service type.
  • S407 Determine whether a service data unit in the to-be-processed data stream is received in a preset time interval, if no service data in the to-be-processed data stream is received in the preset time interval. The unit indicates that the data stream to be processed is received, and step S408 is performed. If the service data unit in the data stream to be processed is received within the preset time interval, it indicates that the data stream to be processed is not received, and step S409 is performed.
  • S408 Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • S409 Retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
  • the message that the entity of the current user plane protocol layer has been translated may be notified to the upper layer of the current user plane protocol layer, so that the current user plane protocol layer The upper layer stops transmitting data streams.
  • the message of the current user plane protocol layer may also be notified to the upper layer of the current user plane protocol layer, so that the upper layer of the current user plane protocol layer continues to transmit data. flow.
  • the present embodiment provides a data processing method, which is applied to any one of the D2D user groups, and obtains a mapping relationship between the service type and the logical channel identifier to establish a service type.
  • the same number of RLC entities and the same number of PDCP entities as the service type, and the current user corresponding to the service type of the to-be-processed data stream is retained only when the data stream to be processed by the current user plane protocol layer is not received. Entity of the protocol layer, and when receiving the data stream to be processed by the current user plane protocol layer, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed can be further avoided.
  • the through terminal stores too many entities of the current user plane protocol layer, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service.
  • the embodiment of the present invention further provides a data processing apparatus, which is applied to any one of the D2D user groups, and only retains the data flow when the data stream to be processed by the current user plane protocol layer is not received.
  • the entity of the current user plane protocol layer corresponding to the service type of the processed data stream, and when the data stream to be processed by the current user plane protocol layer is received, the current corresponding to the service type of the data stream to be processed is released.
  • the entity of the user plane protocol layer can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. The details are described below separately.
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a data processing apparatus according to the present application, and the data processing apparatus can implement the method provided by the corresponding embodiment of FIG. 1 .
  • the device is applied to any of the cellular through terminals in the D2D group.
  • the apparatus may include:
  • the receiving unit 11 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
  • the determining unit 12 is configured to determine whether the receiving unit 11 receives the noon for the data stream to be processed.
  • the decoding unit 13 is configured to: when the determining unit 12 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
  • the retaining unit 14 is configured to reserve an entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream when the determining unit 12 determines that the to-be-processed data stream is not received.
  • the function of the receiving unit 11 described above can be implemented by a receiver in the cellular through terminal, and the above judgment
  • the functions of the disconnect unit 12, the decipher unit 13, and the reservation unit 14 can be implemented by a processor in the cellular through terminal. See Figure 9 for details.
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of a data processing apparatus according to the present application.
  • the data processing apparatus can implement the method provided by the corresponding embodiment of FIG. 2, and the apparatus is applied to any one of the D2D groups.
  • the device can include:
  • the receiving unit 21 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
  • the current user plane protocol layer is an RLC layer or a PDCP layer.
  • the determining unit 22 is specifically configured to determine whether the receiving unit 21 receives a service data unit in the data stream to be processed within a preset time interval, if one of the received time intervals is received The service data unit in the data stream to be processed indicates that the data stream to be processed is not received; if a service data unit in the data stream to be processed is received within the preset time interval, The receiving of the data stream to be processed is completed.
  • the decoding unit 23 is configured to: when the determining unit 22 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
  • the retaining unit 24 is configured to, when the determining unit 22 determines that the to-be-processed data stream is not received, retain an entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream.
  • the reporting unit 25 is configured to: when the determining unit 22 determines that the data stream to be processed is received, the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed Then, the message that the entity of the current user plane protocol layer has been translated is notified to the upper layer of the current user plane protocol layer.
  • FIG. 7 is a schematic structural diagram of Embodiment 3 of a data processing apparatus according to the present application, and the data processing apparatus can implement the method provided by the embodiment corresponding to FIG. 3 above.
  • the device is applied to any one of the cellular through terminals in the D2D group. As shown in FIG.
  • the apparatus may include:
  • the group announcement information receiving unit 31 is configured to receive, before the receiving unit 32 receives the data stream to be processed by the current user plane protocol layer, the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, where The preset time interval is included in the group announcement information.
  • the group announcement information receiving unit is specifically configured to:
  • the preset time interval is that the group header is controlled by radio resource control RRC signaling. Obtained by the base station.
  • the preset time interval is an internal configuration of the group header from itself. Obtained in the information.
  • the preset time interval is obtained by the group header from a network element of an evolved packet core network.
  • the receiving unit 32 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
  • the determining unit 33 is specifically configured to determine whether the receiving unit 32 receives a service data unit in the data stream to be processed within a preset time interval, if one of the received time intervals is received The service data unit in the data stream to be processed indicates that the data stream to be processed is not received; if a service data unit in the data stream to be processed is not received within the preset time interval, Then, the data stream to be processed is received.
  • the decoding unit 34 is configured to: when the determining unit 33 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
  • the retaining unit 35 is configured to reserve, when the determining unit 33 determines that the to-be-processed data stream is not received, the entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream.
  • the reporting unit 36 is configured to: when the determining unit 33 determines that the data stream to be processed is received, the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed Then, the message that the entity of the current user plane protocol layer has been translated is notified to the upper layer of the current user plane protocol layer.
  • FIG. 8 is a schematic structural diagram of Embodiment 4 of a data processing apparatus according to the present application, and the data processing apparatus can implement the method provided by the embodiment corresponding to FIG. 4 above.
  • the device is applied to any one of the cellular through terminals in the D2D group.
  • the apparatus may include:
  • the group announcement information receiving unit 41 is configured to receive, before the receiving unit 43 receives the data stream to be processed by the current user plane protocol layer, the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, where The group announcement information includes the preset time interval, and a mapping relationship between the service type and the logical channel identifier.
  • the group announcement information receiving unit is specifically configured to:
  • the group header is any one of the D2D user groups, and the group header is capable of communicating with the base station, the preset time interval and the mapping relationship between the service type and the logical channel identifier are The group header is obtained from the base station by radio resource control RRC signaling.
  • the group header is any one of the D2D user groups, and the group header is not capable of communicating with the base station, the preset time interval and the mapping relationship between the service type and the logical channel identifier
  • the group header is obtained from its own internal configuration information.
  • the preset time interval and a mapping relationship between the service type and the logical channel identifier are the group header evolution Obtained in the network element of the packet core network.
  • the entity group establishing unit 42 is configured to establish, before the receiving unit 43 receives the data stream to be processed by the current user plane protocol layer, the entity group of the current user plane protocol layer, the entity in the entity group and the logic Channel identification - corresponding.
  • the receiving unit 43 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
  • the service type obtaining unit 44 is specifically configured to acquire, after the receiving unit 43 receives the data stream to be processed by the current user plane protocol layer, the service type of the data stream to be processed;
  • the logical channel identifier determining unit 45 is configured to determine, according to the mapping relationship between the service type and the logical channel identifier, a service type pair of the data stream to be processed acquired by the service type acquiring unit 44.
  • the logical channel identifier is identified and used as the logical channel identifier of the data stream to be processed;
  • the entity selecting unit 46 is configured to select, from the entity group of the current user plane protocol layer, an entity corresponding to the logical channel identifier of the data stream to be processed determined by the logical channel identifier determining unit 45, and as the to-be-processed
  • the business type of the data stream corresponds to the processing entity of the current user plane protocol layer.
  • the determining unit 47 is specifically configured to determine whether the receiving unit 43 receives a service data unit in the to-be-processed data stream within a preset time interval, if the one received in the preset time interval The service data unit in the data stream to be processed indicates that the data stream to be processed is not received; if a service data unit in the data stream to be processed is not received within the preset time interval, Then, the data stream to be processed is received.
  • the decoding unit 48 is configured to: when the determining unit 47 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
  • the retaining unit 49 is configured to reserve an entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream when the determining unit 47 determines that the to-be-processed data stream is not received.
  • the reporting unit 50 is configured to: when the determining unit 47 determines that the data stream to be processed is received, the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed Then, the message that the entity of the current user plane protocol layer has been translated is notified to the upper layer of the current user plane protocol layer.
  • the function of the above-mentioned group announcement information receiving unit 41 and the receiving unit 43 can be implemented by a receiver in the cellular through terminal, the entity group establishing unit 42, the service type obtaining unit 44, the logical channel identifier determining unit 45, the entity selecting unit 46,
  • the functions of the determining unit 47, the deciphering unit 48, the retaining unit 49, and the reporting unit 50 can be implemented by a processor in the cellular through terminal. See Figure 9 for details. It should be noted that the function implementation of each unit of the foregoing apparatus has been described in detail in the method embodiment, and the device embodiment will not be described in detail. For details, refer to the related description in the method embodiment.
  • the embodiment of the present application further provides a cellular through terminal, including The data processing apparatus described in any one of Embodiments 1 to 4 of the data processing apparatus.
  • the embodiment of the present application further provides a communication device, which may be a host server including a computing capability, or a personal computer PC, or a portable computer or terminal, etc., and the specific embodiment of the present application is not correct.
  • the specific implementation of the compute node is limited.
  • FIG. 9 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
  • the communication device can be a cellular through terminal, and the method provided by the embodiment corresponding to the above Figures 1 to 4 can be implemented.
  • the communication device 700 includes:
  • a processor 710 a Communications Interface 720, a memory 730, a bus 740, a receiver 750, and a transmitter 760.
  • the processor 710, the communication interface 720, the memory 730, the receiver 750, and the transmitter 760 complete communication with each other via the bus 740.
  • the processor 710 is configured to execute the program 732.
  • program 732 can include program code, the program code including computer operating instructions.
  • Processor 710 may be a central processing unit CPU or a specific integrated circuit ASIC
  • the memory 730 is configured to store the program 732.
  • the memory 730 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 710 calls the program 732 in the memory 730 via the communication bus 740 to implement the above method in conjunction with the receiver 750, the transmitter 760, and the like.
  • the embodiment of the present application discloses a data processing method and apparatus, which are applied to any one of the D2D user groups, and only when the data stream to be processed by the current user plane protocol layer is not received.
  • the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service.
  • the various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method part.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a method and device for data processing, applicable in any one cellular direct communication terminal in a D2D user group. Only when reception of user plane protocol layer to-be-processed data stream is incomplete, is an entity of a current user plane protocol layer corresponding to a service type of the to-be processed data stream reserved, when reception of the user plane protocol layer to-be-processed data stream is complete, then the entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream is released. This prevents an excessive number of entities of a current user plane protocol layer to be stored in a memory of a cellular direct communication terminal, thus improving the processing capabilities of the cellular direct communication terminal, and ultimately ensuring accurate implementation of a D2D service.

Description

一种数据处理方法及装置  Data processing method and device
技术领域 Technical field
本发明涉及网络通信技术领域, 尤其涉及一种数据处理方法及装置。 背景技术  The present invention relates to the field of network communication technologies, and in particular, to a data processing method and apparatus. Background technique
LTE ( Long Term Evolution, 长期演进 ) 系统是 3GPP (第三代合作伙伴计 划, the 3rd Generation Partnership Project )主导的通用移动通信系统的长期演 进。 其网络架构包括由移动性管理实体和服务网关组成的演进型分组核心网 络、由 eNB( evolved Node B,演进型基站)组成的 E-UTRAN( Evolved Universal Terrestrial Radio Access Network, 演进的通用陆基无线接入网 ) 以及 UE (用 户设备 , User Equipment )三部分。  The Long Term Evolution (LTE) system is a long-term evolution of the universal mobile communication system dominated by 3GPP (3rd Generation Partnership Project). The network architecture includes an evolved packet core network composed of a mobility management entity and a service gateway, and an E-UTRAN (Evolved Universal Terrestrial Radio Access Network) composed of an eNB (evolved Node B). Access network) and UE (User Equipment) are three parts.
在 LTE系统中, eNB与 UE之间的空口侧用户面协议栈包括: PDCP( Packet Data Convergence Protocol, 包';匚聚十办议 )层、 RLC ( Radio Link control, 无线 链路控制 )层、 MAC ( Medium Access Control ,媒体接入控制 )层、 PHY ( Radio Resource Control, 无线资源控制)层。 例如, 当 UE接收到 eNB转发的数据 包之后, 会依次在 PHY层、 MAC层、 RLC层、 PDCP层对该数据包进行解封 装处理, 以便将解封装得到的业务数据正确地提交给应用层。 当然, 当 UE发 送数据包时, 对该数据包进行封装处理的顺序刚好是逆向的。  In the LTE system, the air interface side user plane protocol stack between the eNB and the UE includes: a PDCP (Packet Data Convergence Protocol) layer, an RLC (Radio Link Control) layer, MAC (Medium Access Control) layer, PHY (Radio Resource Control) layer. For example, after receiving the data packet forwarded by the eNB, the UE decapsulates the data packet in the PHY layer, the MAC layer, the RLC layer, and the PDCP layer in order to correctly submit the decapsulated service data to the application layer. . Of course, when the UE sends a data packet, the order in which the data packet is encapsulated is just reversed.
其中, 在 RLC层, 由于需要针对不同业务类型的数据包建立不同的 RLC 实体, 即, 一个 RLC实体负责处理一种业务类型的数据包, 因此, RLC实体 的个数与 UE所支持的业务类型的个数是相同的。 同样, 在 PDCP层, 也需要 建立与 UE所支持的业务类型的数量相同的 PDCP实体, 以便于实现 PDCP层 对各种业务类型的数据包进行处理。  In the RLC layer, different RLC entities need to be established for data packets of different service types, that is, one RLC entity is responsible for processing data packets of one service type, and therefore, the number of RLC entities and the service type supported by the UE. The number is the same. Similarly, at the PDCP layer, it is also necessary to establish a PDCP entity with the same number of service types supported by the UE, so as to implement the PDCP layer to process data packets of various service types.
设备间直通通信(Device-to-Device, D2D )是一种短距离通信业务, 由于 设备间直通通信可以实现数据在 UE间的直接传输, 而不需要经过基站进行转 发, 因此, D2D 业务能够提高传输速率、 缩短传输时间以及减少能量消耗。 对于一些近距离通信或公共安全事件来说, D2D业务更具有高效性。  Device-to-device (D2D) is a short-distance communication service. Direct communication between devices can realize direct transmission of data between UEs without forwarding through the base station. Therefore, D2D services can be improved. Transfer rate, reduced transfer time, and reduced energy consumption. For some near-field communication or public safety events, D2D services are more efficient.
当具有 D2D业务能力的 UE使用 LTE系统的资源进行直通通信时,该 UE 也可以称为蜂窝直通终端。 多个蜂窝直通终端可以组成一个 D2D用户组。, 位 于一个 D2D用户组中的各个蜂窝直通终端之间可以实现直通通信。 另外, 除 了可以在 D2D用户组中实现直通通信之外, 蜂窝直通终端还能够进行传统的 蜂窝通信。 When a UE having D2D service capability performs direct communication using resources of the LTE system, the UE It can also be called a cellular pass-through terminal. Multiple cellular pass-through terminals can form a D2D user group. Direct communication can be implemented between each cellular through terminal in a D2D user group. In addition, in addition to enabling straight-through communication in D2D subscriber groups, cellular pass-through terminals are also capable of traditional cellular communications.
在 LTE系统中, 在同一时刻, 一个 UE只能与一个基站之间进行通信, 对 于上行通信来说, 该 UE是一个基站的发送端, 对于下行通信来说, 该 UE是 一个基站的接收端。 而 D2D用户组中的蜂窝直通终端既可以作为发送端向该 D2D 用户组中的其它蜂窝直通终端发送数据包, 也可以作为接收端接收该 D2D用户组中的其它蜂窝直通终端发送的数据包。 因此, 在 D2D用户组中, 对一个接收端来说, 有时就需要建立与每个发送端对应的 RLC实体和 PDCP 实体, 以便对每个发送端发送的数据包都能处理。 当接收端接收过其所在的 D2D用户组中的其它所有蜂窝直通终端发送的数据包之后, 其内部的 RLC实 体以及 PDCP 实体的数量分别是发送端的数量与每个发送端支持的业务数量 的乘积。如果发送端的数量过多,接收端就需要建立大量的 RLC实体和 PDCP 实体, 这一情况将直接影响到接收端对数据的处理能力。 发明内容  In the LTE system, one UE can only communicate with one base station at the same time. For uplink communication, the UE is the transmitting end of one base station, and for downlink communication, the UE is the receiving end of one base station. . The cellular through terminal in the D2D user group can serve as a sending end to send data packets to other cellular through terminals in the D2D user group, or as a receiving end to receive data packets sent by other cellular through terminals in the D2D user group. Therefore, in the D2D user group, for a receiving end, it is sometimes necessary to establish an RLC entity and a PDCP entity corresponding to each sender, so that the data packets sent by each sender can be processed. After the receiving end receives the data packets sent by all other cellular through terminals in the D2D user group in which it is located, the number of internal RLC entities and PDCP entities is the product of the number of transmitting ends and the number of services supported by each transmitting end. . If the number of senders is too large, the receiver needs to establish a large number of RLC entities and PDCP entities. This situation will directly affect the processing capability of the receiver. Summary of the invention
有鉴于此, 本发明实施例提供一种数据处理方法及装置, 应用于 D2D用 户组中的任意一个蜂窝直通终端,通过只有当未接收完当前用户面协议层待处 理的数据流时,才保留与所述待处理的数据流的业务类型对应的当前用户面协 议层的实体, 而当接收完当前用户面协议层待处理的数据流时, 则译放与所述 待处理的数据流的业务类型对应的当前用户面协议层的实体,解决了蜂窝直通 终端内存储过多的当前用户面协议层的实体,从而影响蜂窝直通终端的处理能 力的问题。 其具体方案如下:  In view of this, an embodiment of the present invention provides a data processing method and apparatus, which are applied to any one of the D2D user groups, and are retained only when the data stream to be processed by the current user plane protocol layer is not received. An entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and when receiving the data stream to be processed by the current user plane protocol layer, translating the service with the data stream to be processed The entity of the current user plane protocol layer corresponding to the type solves the problem that the entity of the current user plane protocol layer is stored in the cellular through terminal, thereby affecting the processing capability of the cellular through terminal. The specific plan is as follows:
根据本申请的第一方面的第一种可能的实现方式,本申请提供一种数据处 理方法, 应用于设备间直通通信 D2D组中的任意一个蜂窝直通终端, 所述方 法包括:  According to the first possible implementation manner of the first aspect of the present application, the application provides a data processing method, which is applied to any one of the inter-device direct communication D2D groups, the method includes:
接收当前用户面协议层待处理的数据流,所述待处理的数据流为当前用户 面协议层的上一层传输的; 判断所述待处理的数据流是否接收完毕; Receiving a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer; Determining whether the data stream to be processed is received;
如果所述待处理的数据流接收完毕,译放与所述待处理的数据流的业务类 型对应的当前用户面协议层的实体;  If the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released;
如果所述待处理的数据流未接收完毕,保留与所述待处理的数据流的业务 类型对应的当前用户面协议层的实体。  If the data stream to be processed is not received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is reserved.
结合第一方面的第二种可能的实现方式, 所述方法还包括:  With reference to the second possible implementation of the first aspect, the method further includes:
判断在预设时间间隔内是否接收到一个所述待处理的数据流中的业务数 据单元,如果在所述预设时间间隔内接收到一个所述待处理的数据流中的业务 数据单元, 则说明所述待处理的数据流未接收完毕; 如果在所述预设时间间隔 内未接收到一个所述待处理的数据流中的业务数据单元,则说明所述待处理的 数据流接收完毕。  Determining whether a service data unit in the data stream to be processed is received within a preset time interval, and if a service data unit in the data stream to be processed is received within the preset time interval, The data stream to be processed is not received; if the service data unit in the data stream to be processed is not received within the preset time interval, the data stream to be processed is received.
结合第一方面的前两种实现方式中的任意一种的第三种可能的实现方式, 所述方法还包括:  With reference to the third possible implementation manner of any one of the first two implementation manners of the first aspect, the method further includes:
将所述当前用户面协议层的实体已经译放的消息通知给所述当前用户面 协议层的上一层。  Notifying the message that the entity of the current user plane protocol layer has been translated to the upper layer of the current user plane protocol layer.
结合第一方面的第二种或第三种实现方式的第四种可能的实现方式,所述 方法还包括:  In conjunction with the fourth possible implementation of the second or third implementation of the first aspect, the method further includes:
接收所述蜂窝直通终端所在的 D2D用户组的组头广播的组宣告信息, 所 述组宣告信息中包含所述预设时间间隔。  And receiving the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, where the group announcement information includes the preset time interval.
结合第一方面的第四种实现方式的第五种实现方式, 所述方法还包括: 当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 能够与基站进行通信时, 所述预设时间间隔是所述组头通过无线资源控制 RRC信令从所述基站获取的。  With reference to the fifth implementation manner of the fourth implementation manner of the first aspect, the method further includes: when the group header is any one of the D2D user groups, and the group header is capable of being connected to the base station When the communication is performed, the preset time interval is that the group header is acquired from the base station by using radio resource control RRC signaling.
结合第一方面的第四种实现方式的第六种实现方式, 所述方法还包括: 当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 不能够与基站进行通信时,所述预设时间间隔是所述组头从自身的内部配置信 息中获取的。  With reference to the sixth implementation manner of the fourth implementation manner of the first aspect, the method further includes: when the group header is any one of the D2D user groups, and the group header cannot be When the base station performs communication, the preset time interval is obtained by the group header from its internal configuration information.
结合第一方面的第四种实现方式的第七种实现方式, 所述方法还包括: 当所述组头为基站,且所述 D2D用户组在所述基站的网络覆盖范围内时, 所述预设时间间隔是所述组头从演进型分组核心网的网元中获取的。 结合第一方面的第四种实现方式的第八种实现方式, 所述方法还包括: 所述组宣告信息中还包含有业务类型与逻辑信道标识的映射关系; 则,在所述接收当前用户面协议层待处理的数据流之前,所述方法还包括; 建立所述当前用户面协议层的实体组,所述实体组中的实体与所述逻辑信 道标识一一对应。 With reference to the seventh implementation manner of the fourth implementation manner of the foregoing aspect, the method further includes: when the group header is a base station, and the D2D user group is within a network coverage of the base station, The preset time interval is that the group header is obtained from a network element of an evolved packet core network. With reference to the eighth implementation manner of the fourth implementation manner of the first aspect, the method further includes: the group announcement information further includes a mapping relationship between the service type and the logical channel identifier; Before the data stream to be processed by the protocol layer, the method further includes: establishing an entity group of the current user plane protocol layer, where the entities in the entity group have a one-to-one correspondence with the logical channel identifier.
结合第一方面的第八种实现方式的第九种实现方式, 所述方法还包括: 获取所述待处理的数据流的业务类型;  With reference to the ninth implementation manner of the eighth implementation manner of the first aspect, the method further includes: acquiring a service type of the data stream to be processed;
根据所述业务类型与逻辑信道标识的映射关系确定与所述待处理的数据 流的业务类型对应的逻辑信道标识并作为所述待处理的数据流的逻辑信道标 识;  Determining, according to the mapping relationship between the service type and the logical channel identifier, a logical channel identifier corresponding to the service type of the to-be-processed data stream, and serving as a logical channel identifier of the to-be-processed data stream;
从所述当前用户面协议层的实体组中选取与所述待处理的数据流的逻辑 信道标识对应的实体并作为与所述待处理的数据流的业务类型对应的当前用 户面协议层的处理实体。  And selecting, from the entity group of the current user plane protocol layer, an entity corresponding to the logical channel identifier of the to-be-processed data stream, and processing the current user plane protocol layer corresponding to the service type of the to-be-processed data stream entity.
结合第一方面的九种实现方式中的任意一种的实现方式的第十种实现方 式, 所述方法还包括:  A tenth implementation manner of implementing the implementation of any one of the nine implementation manners of the first aspect, the method further includes:
所述当前用户面协议层为 RLC层或 PDCP层。  The current user plane protocol layer is an RLC layer or a PDCP layer.
根据本申请的第二方面的第一种可能的实现方式,本申请提供一种数据处 理装置, 应用于设备间直通通信 D2D用户组中的任意一个蜂窝直通终端, 所 述装置包括:  According to a first possible implementation manner of the second aspect of the present application, the application provides a data processing apparatus, which is applied to any one of the inter-device direct communication D2D user groups, the device includes:
接收单元, 用于接收当前用户面协议层待处理的数据流, 所述待处理的数 据流为当前用户面协议层的上一层传输的;  a receiving unit, configured to receive a data stream to be processed by a current user plane protocol layer, where the to-be-processed data stream is transmitted by an upper layer of a current user plane protocol layer;
判断单元, 用于判断所述接收单元对所述待处理的数据流是否接收完毕; 译放单元, 用于当所述判断单元确定所述待处理的数据流接收完毕时,释 放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体;  a determining unit, configured to determine whether the receiving unit receives the data stream to be processed, and a decoding unit, configured to: when the determining unit determines that the data stream to be processed is received, release and wait The entity of the current user plane protocol layer corresponding to the service type of the processed data stream;
保留单元, 用于当所述判断单元确定所述待处理的数据流未接收完毕时 , 保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实体。  a retaining unit, configured to: when the determining unit determines that the to-be-processed data stream is not received, retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
结合第二方面的第二种可能的实现方式, 所述装置还包括:  In conjunction with the second possible implementation of the second aspect, the device further includes:
所述判断单元具体用于: 判断在预设时间间隔内所述接收单元是否接收到一个所述待处理的数据 流中的业务数据单元,如果在所述预设时间间隔内接收到一个所述待处理的数 据流中的业务数据单元, 则说明所述待处理的数据流未接收完毕; 如果在所述 预设时间间隔内未接收到一个所述待处理的数据流中的业务数据单元,则说明 所述待处理的数据流接收完毕。 The determining unit is specifically configured to: Determining whether the receiving unit receives a service data unit in the to-be-processed data stream within a preset time interval, if a service in the to-be-processed data stream is received within the preset time interval a data unit, the data stream to be processed is not received; if the service data unit in the data stream to be processed is not received within the preset time interval, the data to be processed is indicated The stream is received.
结合第二方面的前两种实现方式中的任意一种的第三种可能的实现方式, 所述装置还包括:  In conjunction with the third possible implementation of any one of the first two implementations of the second aspect, the apparatus further includes:
上报单元, 用于当所述判断单元确定所述待处理的数据流接收完毕, 所述 译放单元译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体之后,将所述当前用户面协议层的实体已经译放的消息通知给所述当前用 户面协议层的上一层。  a reporting unit, configured to: after the determining unit determines that the data stream to be processed is received, after the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, Notifying the message that the entity of the current user plane protocol layer has been translated to the upper layer of the current user plane protocol layer.
结合第二方面的第二种或第三种实现方式的第四种可能的实现方式,所述 装置还包括:  In conjunction with the fourth possible implementation of the second or third implementation of the second aspect, the apparatus further includes:
组宣告信息接收单元,用于在所述接收单元接收当前用户面协议层待处理 的数据流之前, 接收所述蜂窝直通终端所在的 D2D用户组的组头广播的组宣 告信息, 所述组宣告信息中包含所述预设时间间隔。  a group announcement information receiving unit, configured to receive, before the receiving unit receives the data stream to be processed by the current user plane protocol layer, the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, the group announcement The preset time interval is included in the information.
结合第二方面的第四种实现方式的第五种实现方式, 所述装置还包括: 所述组宣告信息接收单元具体用于:  With reference to the fifth implementation manner of the fourth implementation manner of the second aspect, the device further includes: the group announcement information receiving unit is specifically configured to:
当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 能够与基站进行通信时, 所述预设时间间隔是所述组头通过无线资源控制 RRC信令从所述基站获取的。  When the group header is any one of the D2D user groups, and the group header is capable of communicating with the base station, the preset time interval is that the group header is controlled by radio resource control RRC signaling. Obtained by the base station.
结合第二方面的第四种实现方式的第六种实现方式, 所述装置还包括: 所述组宣告信息接收单元具体用于:  With reference to the sixth implementation manner of the fourth implementation manner of the second aspect, the device further includes: the group announcement information receiving unit is specifically configured to:
当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 不能够与基站进行通信时,所述预设时间间隔是所述组头从自身的内部配置信 息中获取的。  When the group header is any one of the D2D user groups, and the group header is not capable of communicating with the base station, the preset time interval is the internal configuration information of the group header from itself. Obtained.
结合第二方面的第四种实现方式的第七种实现方式, 所述装置还包括: 所述组宣告信息接收单元具体用于:  With reference to the seventh implementation manner of the fourth implementation manner of the second aspect, the device further includes: the group announcement information receiving unit is specifically configured to:
当所述组头为基站,且所述 D2D用户组在所述基站的网络覆盖范围内时, 所述预设时间间隔是所述组头从演进型分组核心网的网元中获取的。 结合第二方面的第四种实现方式的第八种实现方式, 所述装置还包括: 所述组宣告信息中还包含有业务类型与逻辑信道标识的映射关系,则所述 装置还包括: When the group header is a base station, and the D2D user group is within the network coverage of the base station, The preset time interval is that the group header is obtained from a network element of an evolved packet core network. With reference to the eighth implementation manner of the fourth implementation manner of the second aspect, the device further includes: the group announcement information further includes a mapping relationship between the service type and the logical channel identifier, where the apparatus further includes:
实体组建立单元,用于在所述接收单元接收当前用户面协议层待处理的数 据流之前, 建立所述当前用户面协议层的实体组, 所述实体组中的实体与所述 逻辑信道标识——对应。  An entity group establishing unit, configured to establish an entity group of the current user plane protocol layer, an entity in the entity group, and the logical channel identifier, before the receiving unit receives the data stream to be processed by the current user plane protocol layer --correspond.
结合第二方面的第八种实现方式的第九种实现方式, 所述装置还包括: 业务类型获取单元,具体用于在所述接收单元接收当前用户面协议层待处 理的数据流之后, 获取所述待处理的数据流的业务类型;  With reference to the ninth implementation manner of the eighth implementation manner of the second aspect, the device further includes: a service type acquiring unit, configured to obtain, after the receiving unit receives the data stream to be processed by the current user plane protocol layer, The service type of the data stream to be processed;
逻辑信道标识确定单元,用于根据所述业务类型与逻辑信道标识的映射关 系确定与所述业务类型获取单元获取的待处理的数据流的业务类型对应的逻 辑信道标识并作为所述待处理的数据流的逻辑信道标识;  a logical channel identifier determining unit, configured to determine, according to a mapping relationship between the service type and the logical channel identifier, a logical channel identifier corresponding to a service type of the data stream to be processed acquired by the service type acquiring unit, and as the to-be-processed Logical channel identification of the data stream;
实体选取单元,用于从所述当前用户面协议层的实体组中选取与所述逻辑 信道标识确定单元确定的待处理的数据流的逻辑信道标识对应的实体并作为 与所述待处理的数据流的业务类型对应的当前用户面协议层的处理实体。  An entity selecting unit, configured to select, from the entity group of the current user plane protocol layer, an entity corresponding to the logical channel identifier of the to-be-processed data stream determined by the logical channel identifier determining unit, and as the data to be processed The processing entity of the current user plane protocol layer corresponding to the traffic type of the stream.
结合第二方面的九种实现方式中的任意一种的实现方式的第十种实现方 式, 所述装置还包括:  In conjunction with the tenth implementation of the implementation of any one of the nine implementations of the second aspect, the apparatus further includes:
所述当前用户面协议层为 RLC层或 PDCP层。  The current user plane protocol layer is an RLC layer or a PDCP layer.
根据本申请的第三方面的第一种可能的实现方式,本申请提供一种蜂窝直 通终端,包括本申请的第二方面的十种可能的实现方式中的任意一种实现方式 所述的数据处理装置。 从上述的技术方案可以看出, 本发明实施例提供的数据处理方法及装置, 应用于 D2D用户组中的任意一个蜂窝直通终端, 通过只有当未接收完当前用 户面协议层待处理的数据流时,才保留与所述待处理的数据流的业务类型对应 的当前用户面协议层的实体, 而当接收完当前用户面协议层待处理的数据流 时, 则译放与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体, 能够避免蜂窝直通终端内存储过多的当前用户面协议层的实体,从而改善 蜂窝直通终端的处理能力, 最终保证 D2D业务的准确实现。 附图说明 According to the first possible implementation manner of the third aspect of the present application, the application provides a cellular through terminal, including the data described in any one of the ten possible implementation manners of the second aspect of the present application. Processing device. It can be seen from the above technical solution that the data processing method and device provided by the embodiments of the present invention are applied to any one of the D2D user groups, and only the data stream to be processed by the current user plane protocol layer is not received. And retaining the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and when receiving the data stream to be processed by the current user plane protocol layer, the translation and the pending The entity of the current user plane protocol layer corresponding to the service type of the data stream can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving The processing capability of the cellular pass-through terminal ultimately guarantees the accurate implementation of the D2D service. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本申请的数据处理方法实施例 1的流程图;  1 is a flowchart of Embodiment 1 of a data processing method according to the present application;
图 2为本申请的数据处理方法实施例 2的流程图;  2 is a flowchart of Embodiment 2 of a data processing method according to the present application;
图 3为本申请的数据处理方法实施例 3的流程图;  3 is a flowchart of Embodiment 3 of a data processing method of the present application;
图 4为本申请的数据处理方法实施例 4的流程图;  4 is a flowchart of Embodiment 4 of a data processing method of the present application;
图 5为本申请的数据处理装置实施例 1的结构示意图;  5 is a schematic structural diagram of Embodiment 1 of a data processing apparatus according to the present application;
图 6为本申请的数据处理装置实施例 2的结构示意图;  6 is a schematic structural diagram of Embodiment 2 of a data processing apparatus according to the present application;
图 7为本申请的数据处理装置实施例 3的结构示意图;  7 is a schematic structural diagram of Embodiment 3 of a data processing apparatus according to the present application;
图 8为本申请的数据处理装置实施例 4的结构示意图;  8 is a schematic structural diagram of Embodiment 4 of a data processing apparatus according to the present application;
图 9为本申请的通讯装置的结构示意图。 具体实施方式  FIG. 9 is a schematic structural diagram of a communication device of the present application. detailed description
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 下面所描述的实施例仅仅是本发明一部分实施例, 而非全部的实施 例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其它实施例, 都属于本发明保护的范围。  In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语 "第一"、 "第二"、 "第 三" "第四" 等(如果存在)是用于区别类似的对象, 而不必用于描述特定的 顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换, 以便这里 描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序 实施。 此外, 术语 "包括" 和 "具有" 以及他们的任何变形, 意图在于覆盖不 排他的包含, 例如, 包含了一系列步骤或单元的过程、 方法、 系统、 产品或设 备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对 于这些过程、 方法、 产品或设备固有的其它步骤或单元。 由背景技术可知, 在 LTE系统中, 在同一时刻, 一个 UE只能与一个基站 之间进行通信, 对于上行通信来说, 该 UE是一个基站的发送端, 对于下行通 信来说, 该 UE是一个基站的接收端。 而 D2D用户组中的蜂窝直通终端既可 以作为发送端向该 D2D用户组中的其它蜂窝直通终端发送数据包, 也可以作 为接收端接收该 D2D用户组中的其它蜂窝直通终端发送的数据包。 因此, 在 D2D用户组中,对一个接收端来说,有时就需要建立与每个发送端对应的 RLC 实体和 PDCP实体, 以便对每个发送端发送的数据包都能处理。 当接收端接收 过其所在的 D2D用户组中的其它所有蜂窝直通终端发送的数据包之后, 其内 部的 RLC实体以及 PDCP实体的数量分别是发送端的数量与每个发送端支持 的业务数量的乘积。 如果发送端的数量过多, 接收端就需要建立大量的 RLC 实体和 PDCP实体, 而且, 在接收端与某一发送端的数据传输结束后, 之前建 立的与这一发送端 RLC实体和 PDCP实体依然会消耗一定的资源, 这一情况 将直接影响到接收端对数据的处理能力。 The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without being used for Describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "comprises" and "includes" or "includes" or "includes" or "includes" or "includes" or "includes," It is not necessary to be limited to those steps or units that are clearly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices. It can be seen from the background that in an LTE system, one UE can communicate with only one base station at the same time. For uplink communication, the UE is a transmitting end of a base station, and for downlink communication, the UE is The receiving end of a base station. The cellular through terminal in the D2D user group can serve as a transmitting end to send data packets to other cellular through terminals in the D2D user group, or as a receiving end to receive data packets sent by other cellular through terminals in the D2D user group. Therefore, in the D2D user group, for a receiving end, it is sometimes necessary to establish an RLC entity and a PDCP entity corresponding to each transmitting end, so that the data packets sent by each transmitting end can be processed. After the receiving end receives the data packets sent by all other cellular through terminals in the D2D user group in which it is located, the number of internal RLC entities and PDCP entities is the product of the number of transmitting ends and the number of services supported by each transmitting end. . If the number of senders is too large, the receiver needs to establish a large number of RLC entities and PDCP entities. Moreover, after the data transmission between the receiver and a sender ends, the previously established RLC entity and PDCP entity will still be established. Consuming a certain amount of resources, this situation will directly affect the ability of the receiving end to process data.
为此, 本发明实施例提供了一种数据处理方法, 应用于 D2D用户组中的 任意一个蜂窝直通终端,通过只有当未接收完当前用户面协议层待处理的数据 流时,才保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体, 而当接收完当前用户面协议层待处理的数据流时, 则译放与所述待处理的 数据流的业务类型对应的当前用户面协议层的实体,能够避免蜂窝直通终端内 存储过多的当前用户面协议层的实体,从而改善蜂窝直通终端的处理能力, 最 终保证 D2D业务的准确实现。 以下分别进行详细说明,  To this end, an embodiment of the present invention provides a data processing method, which is applied to any one of the D2D user groups, and only retains the data stream that is to be processed when the current user plane protocol layer is not received. The entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and when the data stream to be processed by the current user plane protocol layer is received, the translation is corresponding to the service type of the data stream to be processed. The entity of the current user plane protocol layer can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. The following is a detailed description.
图 1为本申请的数据处理方法实施例 1的流程图,该方法应用于设备间直 通通信 D2D组中的任意一个蜂窝直通终端。 如图 1所示, 该方法可以包括: S101 :接收当前用户面协议层待处理的数据流, 所述待处理的数据流为当 前用户面协议层的上一层传输的。 在本实施例中, 所述当前用户面协议层为 RLC层或 PDCP层, 当该蜂窝 直通终端为发送端时, 待处理数据流是依次在应用层、 PDCP 层、 RLC 层、 MAC层、 PHY层处理的, 若当前用户面协议层为 PDCP层, 则所述当前用户 面协议层的上一层为应用层, 若当前用户面协议层为 RLC层, 则所述当前用 户面协议层的上一层为 PDCP层。 当该蜂窝直通终端为接收端时,待处理数据 流是依次在 PHY层、 MAC层、 RLC层、 PDCP层、 应用层处理的, 若当前用 户面协议层为 RLC层, 则所述当前用户面协议层的上一层为 MAC层, 若当 前用户面协议层为 PDCP层, 则所述当前用户面协议层的上一层为 RLC层。 1 is a flowchart of Embodiment 1 of a data processing method according to the present application, which is applied to any one of the cellular through terminals in the D2D group of the inter-device communication. As shown in FIG. 1, the method may include: S101: Receive a data stream to be processed by a current user plane protocol layer, where the to-be-processed data stream is transmitted by a layer of a current user plane protocol layer. In this embodiment, the current user plane protocol layer is an RLC layer or a PDCP layer. When the cellular through terminal is a transmitting end, the to-be-processed data stream is sequentially in an application layer, a PDCP layer, an RLC layer, a MAC layer, and a PHY. If the current user plane protocol layer is the PDCP layer, the upper layer of the current user plane protocol layer is the application layer. If the current user plane protocol layer is the RLC layer, the current user plane protocol layer is One layer is the PDCP layer. When the cellular through terminal is the receiving end, the data stream to be processed is processed in the PHY layer, the MAC layer, the RLC layer, the PDCP layer, and the application layer. If the current user plane protocol layer is the RLC layer, the current user plane The upper layer of the protocol layer is the MAC layer. If the current user plane protocol layer is the PDCP layer, the upper layer of the current user plane protocol layer is the RLC layer.
S102: 判断所述待处理的数据流是否接收完毕,如果所述待处理的数据流 接收完毕, 则执行步骤 S103 , 如果所述待处理的数据流未接收完毕, 则执行 步骤 S104。  S102: Determine whether the data stream to be processed is received. If the data stream to be processed is received, step S103 is performed. If the data stream to be processed is not received, step S104 is performed.
S103:译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S103: Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
需要说明的是, 这里所说的译放包含两种情况, 一种是删除与所述待处理 的数据流的业务类型对应的当前用户面协议层的实体, 这种情况下,将直接减 少实体的数量以降低终端的资源消耗。还有一种是对与所述待处理的数据流的 业务类型对应的当前用户面协议层的实体进行复位,即将所述与所述待处理的 数据流的业务类型对应的当前用户面协议层的实体中处理好的数据流传输给 所述当前用户面协议层的下一层,将未处理好的数据流删除, 并将该实体中的 各种状态变量置为初值, 这种情况下, 实体将不再消耗终端的资源。  It should be noted that the translation release mentioned here includes two cases, one is to delete the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, in this case, the entity is directly reduced. The number to reduce the resource consumption of the terminal. The other is to reset the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, that is, the current user plane protocol layer corresponding to the service type of the data stream to be processed. The processed data stream in the entity is transmitted to the next layer of the current user plane protocol layer, the unprocessed data stream is deleted, and various state variables in the entity are set to initial values, in this case, The entity will no longer consume the resources of the terminal.
S104:保留与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S104: Retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
本实施例提供了一种数据处理方法, 应用于 D2D用户组中的任意一个蜂 窝直通终端,通过只有当未接收完当前用户面协议层待处理的数据流时, 才保 留与所述待处理的数据流的业务类型对应的当前用户面协议层的实体,而当接 收完当前用户面协议层待处理的数据流时,则译放与所述待处理的数据流的业 务类型对应的当前用户面协议层的实体,能够避免蜂窝直通终端内存储过多的 当前用户面协议层的实体,从而改善蜂窝直通终端的处理能力,最终保证 D2D 业务的准确实现。 图 2为本申请的数据处理方法实施例 2的流程图, 该方法应用于 D2D组 中的任意一个蜂窝直通终端。 如图 2所示, 该方法可以包括: The embodiment provides a data processing method, which is applied to any one of the D2D user groups, and only retains the data to be processed when the data stream to be processed by the current user plane protocol layer is not received. The current user plane protocol layer entity corresponding to the service type of the data stream, and when the data stream to be processed by the current user plane protocol layer is received, the current user plane corresponding to the service type of the to-be-processed data stream is released. The entity of the protocol layer can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. FIG. 2 is a flowchart of Embodiment 2 of a data processing method according to the present application, where the method is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 2, the method may include:
S201 :接收当前用户面协议层待处理的数据流, 所述待处理的数据流为当 前用户面协议层的上一层传输的。  S201: Receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by a layer of a current user plane protocol layer.
需要说明的是,该步骤 S201与实施例 1中的步骤 S101为相同步骤,本实 施例不再详细说明, 具体请参见实施例 1中的相关描述。  It should be noted that the step S201 is the same as the step S101 in the first embodiment, and is not described in detail in this embodiment. For details, refer to the related description in Embodiment 1.
S202:判断在预设时间间隔内是否接收到一个所述待处理的数据流中的业 务数据单元,如果在所述预设时间间隔内未接收到一个所述待处理的数据流中 的业务数据单元, 则说明所述待处理的数据流接收完毕, 执行步骤 S203。 如 果在所述预设时间间隔内接收到一个所述待处理的数据流中的业务数据单元, 则说明所述待处理的数据流未接收完毕, 执行步骤 S204。  S202: Determine whether a service data unit in the to-be-processed data stream is received in a preset time interval, if the service data in the to-be-processed data stream is not received within the preset time interval. The unit indicates that the data stream to be processed is received, and step S203 is performed. If the service data unit in the data stream to be processed is received within the preset time interval, it indicates that the data stream to be processed is not received, and step S204 is performed.
需要说明的是,每一个待处理的数据流都是由多个连续的数据包组成,每 个数据包又由数据包头及至少一个业务数据单元组成的。当前用户面协议层的 上一层依次把数据流中的业务数据单元传输给当前用户面协议层,以作为当前 用户面协议层的待处理的数据流。  It should be noted that each data stream to be processed is composed of a plurality of consecutive data packets, and each data packet is composed of a data packet header and at least one service data unit. The upper layer of the current user plane protocol layer sequentially transmits the service data unit in the data stream to the current user plane protocol layer to serve as the data stream to be processed of the current user plane protocol layer.
在本实施例中,可以通过釆用计时器或定时器的方式判断在预设时间间隔 内是否接收到一个所述待处理的数据流中的业务数据单元, 以定时器为例,预 先设定该定时器的定时值为预设时间间隔,当前用户面协议层接收到第一个业 务数据单元时,启动定时器,如果在定时器定时值未到达所述预设时间间隔时, 当前用户面协议层又接收到一个业务数据单元, 则重新启动定时器, 即, 定时 器重新定时, 依此循环, 直到在定时器定时值到达所述预设时间间隔后, 没有 再次收到业务数据单元, 则说明所述待处理的数据流接收完毕。  In this embodiment, whether a service data unit in the to-be-processed data stream is received in a preset time interval may be determined by using a timer or a timer. The timer value of the timer is a preset time interval. When the current user plane protocol layer receives the first service data unit, the timer is started. If the timer timing value does not reach the preset time interval, the current user plane. When the protocol layer receives a service data unit, the timer is restarted, that is, the timer is re-timed, and the loop is repeated until the timer data value reaches the preset time interval, and the service data unit is not received again. Then, the data stream to be processed is received.
需要说明的是, 所述预设时间间隔需要根据系统需要进行设置, 以能够保 证在该预设时间间隔内,当前用户面协议层能够对接收到的业务数据单元处理 完毕为目的, 关于具体的预设时间间隔值, 本实施例不做任何限制。  It should be noted that the preset time interval needs to be set according to the system requirements, so as to ensure that the current user plane protocol layer can process the received service data unit for the preset time interval, The preset time interval value is not limited in this embodiment.
S203:译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S203: Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
S204:保留与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。 S204: Retain the current user plane protocol layer corresponding to the service type of the data stream to be processed. Entity.
需要说明的是,上述步骤 S203、 S204与方法实施例 1中的步骤 S103、 S104 为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 1中的相关描述。  It should be noted that the foregoing steps S203 and S204 are similar to the steps S103 and S104 in the method embodiment 1, and are not described in detail in this embodiment. For details, refer to the related description in the method embodiment 1.
进一步需要说明的是, 在执行步骤 S203之后, 还可以将所述当前用户面 协议层的实体已经译放的消息通知给所述当前用户面协议层的上一层,以便所 述当前用户面协议层的上一层停止传输数据流。 在执行步骤 S204之后, 还可 以将所述当前用户面协议层的实体保留的消息通知给所述当前用户面协议层 的上一层, 以便所述当前用户面协议层的上一层继续传输数据流。  It should be further noted that, after performing step S203, the message that the entity of the current user plane protocol layer has been translated may be notified to the upper layer of the current user plane protocol layer, so that the current user plane protocol The upper layer of the layer stops transmitting data streams. After performing step S204, the message of the current user plane protocol layer may also be notified to the upper layer of the current user plane protocol layer, so that the upper layer of the current user plane protocol layer continues to transmit data. flow.
本实施例提供了一种数据处理方法, 应用于 D2D用户组中的任意一个蜂 窝直通终端,通过判断在预设时间间隔内是否接收到一个所述待处理的数据流 中的业务数据单元, 进而判断所述待处理的数据流接收完毕, 只有当未接收完 当前用户面协议层待处理的数据流时,才保留与所述待处理的数据流的业务类 型对应的当前用户面协议层的实体,而当接收完当前用户面协议层待处理的数 据流时,则译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体, 能够避免蜂窝直通终端内存储过多的当前用户面协议层的实体,从而改 善蜂窝直通终端的处理能力, 最终保证 D2D业务的准确实现。 图 3为本申请的数据处理方法实施例 3的流程图, 该方法应用于 D2D组 中的任意一个蜂窝直通终端。 如图 3所示, 该方法可以包括:  The embodiment provides a data processing method, which is applied to any one of the D2D user groups, and determines whether a service data unit in the to-be-processed data stream is received in a preset time interval, and then Determining that the data stream to be processed is received, and retaining the current user plane protocol layer entity corresponding to the service type of the to-be-processed data stream only when the data stream to be processed by the current user plane protocol layer is not received. When the data stream to be processed by the current user plane protocol layer is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed can be decrypted, thereby avoiding excessive storage in the cellular through terminal. The current user plane protocol layer entity, thereby improving the processing capability of the cellular pass-through terminal, and ultimately ensuring accurate implementation of the D2D service. FIG. 3 is a flowchart of Embodiment 3 of the data processing method of the present application, and the method is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 3, the method may include:
S301 : 接收所述蜂窝直通终端所在的 D2D用户组的组头广播的组宣告信 息, 所述组宣告信息中包含预设时间间隔。  S301: Receive group announcement information of a group head broadcast of the D2D user group where the cellular through terminal is located, where the group announcement information includes a preset time interval.
需要说明的是, 组宣告信息是组头釆用广播的形式发送给 D2D用户组中 的蜂窝直通终端的, 避免了现有技术中, 接收方较多时, 釆用无线资源控制 RRC信令逐一通知发送方而造成的较大无线资源的消耗, 节省了无线资源, 进一步保证了蜂窝直通终端的处理能力。  It should be noted that the group announcement information is sent to the cellular through terminal in the D2D user group in the form of broadcast, which avoids the prior art, when the receiver has more receivers, the radio resource control RRC signaling is notified one by one. The consumption of large wireless resources caused by the sender saves radio resources and further ensures the processing capability of the cellular through terminal.
需要说明的是, 当所述组头为所述 D2D用户组中的任意一个蜂窝直通终 端,且所述组头能够与基站进行通信时, 所述预设时间间隔是所述组头通过无 线资源控制 RRC信令从所述基站获取的。当所述组头为所述 D2D用户组中的 任意一个蜂窝直通终端,且所述组头不能够与基站进行通信时, 所述预设时间 间隔是所述组头从自身的内部配置信息中获取的。 当所述组头为基站,且所述It should be noted that, when the group header is any one of the D2D user groups, and the group header is capable of communicating with the base station, the preset time interval is that the group header passes the radio resource. Controlling RRC signaling obtained from the base station. When the group header is any one of the D2D user groups, and the group header cannot communicate with the base station, the preset time The interval is obtained by the group header from its own internal configuration information. When the group header is a base station, and the
D2D 用户组在所述基站的网络覆盖范围内时, 所述预设时间间隔是所述组头 从演进型分组核心网的网元中获取的。 When the D2D user group is in the network coverage of the base station, the preset time interval is obtained by the group header from the network element of the evolved packet core network.
S302:接收当前用户面协议层待处理的数据流, 所述待处理的数据流为当 前用户面协议层的上一层传输的。  S302: Receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
S303 :判断在预设时间间隔内是否接收到一个所述待处理的数据流中的业 务数据单元,如果在所述预设时间间隔内未接收到一个所述待处理的数据流中 的业务数据单元, 则说明所述待处理的数据流接收完毕, 执行步骤 S304。 如 果在所述预设时间间隔内接收到一个所述待处理的数据流中的业务数据单元, 则说明所述待处理的数据流未接收完毕, 执行步骤 S305。  S303: Determine whether a service data unit in the to-be-processed data stream is received in a preset time interval, if the service data in the to-be-processed data stream is not received within the preset time interval. The unit indicates that the data stream to be processed is received, and step S304 is performed. If the service data unit in the data stream to be processed is received within the preset time interval, it indicates that the data stream to be processed is not received, and step S305 is performed.
S304:译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S304: Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
S305:保留与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S305: Retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
需要说明的是,上述步骤 S302〜S305与方法实施例 2中的步骤 S201〜S204 为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 2中的相关描述。  It should be noted that the foregoing steps S302 to S305 are similar to the steps S201 to S204 in the method embodiment 2, and are not described in detail in this embodiment. For details, refer to the related description in the method embodiment 2.
进一步需要说明的是, 在执行步骤 S304之后, 还可以将所述当前用户面 协议层的实体已经译放的消息通知给所述当前用户面协议层的上一层,以便所 述当前用户面协议层的上一层停止传输数据流。 在执行步骤 S305之后, 还可 以将所述当前用户面协议层的实体保留的消息通知给所述当前用户面协议层 的上一层, 以便所述当前用户面协议层的上一层继续传输数据流。  It should be further noted that, after performing step S304, the message that the entity of the current user plane protocol layer has been translated may be notified to the upper layer of the current user plane protocol layer, so that the current user plane protocol The upper layer of the layer stops transmitting data streams. After performing step S305, the message of the current user plane protocol layer may also be notified to the upper layer of the current user plane protocol layer, so that the upper layer of the current user plane protocol layer continues to transmit data. flow.
本实施例提供了一种数据处理方法, 应用于 D2D用户组中的任意一个蜂 窝直通终端,通过判断在预设时间间隔内是否接收到一个所述待处理的数据流 中的业务数据单元, 进而判断所述待处理的数据流接收完毕, 所述预设时间间 隔是从接收的组头广播的组宣告信息中获取的,只有当未接收完当前用户面协 议层待处理的数据流时,才保留与所述待处理的数据流的业务类型对应的当前 用户面协议层的实体, 而当接收完当前用户面协议层待处理的数据流时, 则释 放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体,能够避 免蜂窝直通终端内存储过多的当前用户面协议层的实体,从而改善蜂窝直通终 端的处理能力, 最终保证 D2D业务的准确实现。 图 4为本申请的数据处理方法实施例 4的流程图, 该方法应用于 D2D组 中的任意一个蜂窝直通终端。 如图 4所示, 该方法可以包括: The embodiment provides a data processing method, which is applied to any one of the D2D user groups, and determines whether a service data unit in the to-be-processed data stream is received in a preset time interval, and then Determining that the data stream to be processed is received, the preset time interval is obtained from the group announcement information broadcasted by the received group header, and only when the data stream to be processed by the current user plane protocol layer is not received. Retaining an entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and releasing the service of the data stream to be processed when receiving the data stream to be processed by the current user plane protocol layer The entity of the current user plane protocol layer corresponding to the type can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the cellular through terminal The processing capability of the terminal finally guarantees the accurate implementation of the D2D service. FIG. 4 is a flowchart of Embodiment 4 of a data processing method according to the present application, where the method is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 4, the method may include:
S401 : 接收所述蜂窝直通终端所在的 D2D用户组的组头广播的组宣告信 息,所述组宣告信息中包含预设时间间隔以及业务类型与逻辑信道标识的映射 关系。  S401: Receive group announcement information of a group head broadcast of the D2D user group where the cellular through terminal is located, where the group announcement information includes a preset time interval and a mapping relationship between the service type and the logical channel identifier.
需要说明的是,本实施例中业务类型与逻辑信道标识的映射关系是不区分 终端的, 也就是说, 对任何一个蜂窝直通终端来说, 只要其支持某种业务, 那 么该业务对应的逻辑信道标识都是相同的,这里所说的逻辑信道标识具体可以 为逻辑信道号。  It should be noted that, in this embodiment, the mapping relationship between the service type and the logical channel identifier does not distinguish the terminal, that is, for any one of the cellular through terminals, as long as it supports a certain service, the logic corresponding to the service The channel identifiers are all the same. The logical channel identifier mentioned here may specifically be a logical channel number.
S402: 建立当前用户面协议层的实体组,所述实体组中的实体与所述逻辑 信道标识一一对应。  S402: Establish an entity group of a current user plane protocol layer, where the entities in the entity group have a one-to-one correspondence with the logical channel identifier.
在蜂窝直通终端接收到组头广播的组宣告信息,获取业务类型与逻辑信道 标识的映射关系之后, 会预先建立 RLC层的 RLC实体组或 PDCP层的 PDCP 实体组, 且实体组中的实体与逻辑信道标识是——对应的。假如, 蜂窝直通终 端获取的映射关系如下表所示:  After receiving the group announcement information of the group head broadcast and obtaining the mapping relationship between the service type and the logical channel identifier, the cellular short-passing terminal pre-establishes the RLC entity group of the RLC layer or the PDCP entity group of the PDCP layer, and the entity in the entity group The logical channel identifier is - corresponding. For example, the mapping relationship obtained by the cellular pass-through terminal is as follows:
Figure imgf000015_0001
Figure imgf000015_0001
则建立当前用户面协议层的 RLC实体组中的实体则为 RLC 1、 RLC2; 相 应的 PDCP实体组中的实体则为 PDCP1、 PDCP2。  Then, the entities in the RLC entity group that establish the current user plane protocol layer are RLC 1 and RLC2; and the entities in the corresponding PDCP entity group are PDCP1 and PDCP2.
S403 :接收当前用户面协议层待处理的数据流, 所述待处理的数据流为当 前用户面协议层的上一层传输的。  S403: Receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by a layer of a current user plane protocol layer.
S404: 获取所述待处理的数据流的业务类型。  S404: Obtain a service type of the data stream to be processed.
如果蜂窝直通终端为发送端, 则待处理的数据流则为待发送的数据流, 如 果蜂窝直通终端为接收端, 则待处理的数据流则为待接收的数据流。 不管是待 发送的数据流还是待接收的数据流, 都可以从数据流包头中获取其业务类型。  If the cellular through terminal is the transmitting end, the data stream to be processed is the data stream to be sent. If the cellular through terminal is the receiving end, the data stream to be processed is the data stream to be received. Whether it is a data stream to be sent or a data stream to be received, its service type can be obtained from the data stream header.
S405:根据所述业务类型与逻辑信道标识的映射关系确定与所述待处理的 数据流的业务类型对应的逻辑信道标识并作为所述待处理的数据流的逻辑信 道标识。 S405: Determine, according to the mapping relationship between the service type and the logical channel identifier, the to-be-processed The logical channel identifier corresponding to the service type of the data stream is used as the logical channel identifier of the data stream to be processed.
参考上表, 比如, 如果待处理的数据流的业务类型为业务 1 , 则其逻辑信 道标识为 1。  Refer to the above table. For example, if the service type of the data stream to be processed is service 1, its logical channel identifier is 1.
S406:从所述当前用户面协议层的实体组中选取与所述待处理的数据流的 逻辑信道标识对应的实体并作为与所述待处理的数据流的业务类型对应的当 前用户面协议层的处理实体。  S406: Select an entity corresponding to the logical channel identifier of the to-be-processed data stream from the entity group of the current user plane protocol layer, and serve as a current user plane protocol layer corresponding to the service type of the to-be-processed data stream. Processing entity.
参考上表, 比如, 如果待处理的数据流的业务类型为业务 1 , 则其逻辑信 道标识为 1 , 则所述待处理的数据流的业务类型对应的当前用户面协议层的处 理实体为 RLC1和 /或 PDCP1。 这种情况下, 以蜂窝直通终端为接收端为例, 其接收到所有发送端发送的业务类型为业务 1的数据流,都将传输至 RLC1和 /或 PDCP1中进行处理。 也就是说, 每个蜂窝直通终端最多只需建立与业务类 型数量相同的 RLC实体和与业务类型数量相同的 PDCP实体。  Referring to the above table, for example, if the service type of the data stream to be processed is service 1, the logical channel identifier is 1, and the processing entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is RLC1. And / or PDCP1. In this case, taking the cellular through terminal as the receiving end as an example, it receives all the data streams sent by the transmitting end with the service type of service 1, and transmits them to RLC1 and/or PDCP1 for processing. That is to say, each cellular through terminal only needs to establish at most the same number of RLC entities as the service type and the same number of PDCP entities as the service type.
S407:判断在预设时间间隔内是否接收到一个所述待处理的数据流中的业 务数据单元,如果在所述预设时间间隔内未接收到一个所述待处理的数据流中 的业务数据单元, 则说明所述待处理的数据流接收完毕, 执行步骤 S408。 如 果在所述预设时间间隔内接收到一个所述待处理的数据流中的业务数据单元, 则说明所述待处理的数据流未接收完毕, 执行步骤 S409。  S407: Determine whether a service data unit in the to-be-processed data stream is received in a preset time interval, if no service data in the to-be-processed data stream is received in the preset time interval. The unit indicates that the data stream to be processed is received, and step S408 is performed. If the service data unit in the data stream to be processed is received within the preset time interval, it indicates that the data stream to be processed is not received, and step S409 is performed.
S408:译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S408: Translate an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
S409:保留与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体。  S409: Retain an entity of a current user plane protocol layer corresponding to a service type of the to-be-processed data stream.
需要说明的是, 在执行步骤 S408之后, 还可以将所述当前用户面协议层 的实体已经译放的消息通知给所述当前用户面协议层的上一层,以便所述当前 用户面协议层的上一层停止传输数据流。 在执行步骤 S409之后, 还可以将所 述当前用户面协议层的实体保留的消息通知给所述当前用户面协议层的上一 层, 以便所述当前用户面协议层的上一层继续传输数据流。  It should be noted that, after performing step S408, the message that the entity of the current user plane protocol layer has been translated may be notified to the upper layer of the current user plane protocol layer, so that the current user plane protocol layer The upper layer stops transmitting data streams. After performing step S409, the message of the current user plane protocol layer may also be notified to the upper layer of the current user plane protocol layer, so that the upper layer of the current user plane protocol layer continues to transmit data. flow.
本实施例提供了一种数据处理方法, 应用于 D2D用户组中的任意一个蜂 窝直通终端,通过获取业务类型与逻辑信道标识的映射关系, 建立与业务类型 数量相同的 RLC实体和与业务类型数量相同的 PDCP实体, 并且只有当未接 收完当前用户面协议层待处理的数据流时,才保留与所述待处理的数据流的业 务类型对应的当前用户面协议层的实体,而当接收完当前用户面协议层待处理 的数据流时,则译放与所述待处理的数据流的业务类型对应的当前用户面协议 层的实体,能够进一步避免蜂窝直通终端内存储过多的当前用户面协议层的实 体, 从而改善蜂窝直通终端的处理能力, 最终保证 D2D业务的准确实现。 本发明实施例还提供了一种数据处理装置, 应用于 D2D用户组中的任意 一个蜂窝直通终端, 通过只有当未接收完当前用户面协议层待处理的数据流 时, 才保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体, 而当接收完当前用户面协议层待处理的数据流时, 则译放与所述待处理的 数据流的业务类型对应的当前用户面协议层的实体,能够避免蜂窝直通终端内 存储过多的当前用户面协议层的实体,从而改善蜂窝直通终端的处理能力, 最 终保证 D2D业务的准确实现。 以下分别进行详细说明。 The present embodiment provides a data processing method, which is applied to any one of the D2D user groups, and obtains a mapping relationship between the service type and the logical channel identifier to establish a service type. The same number of RLC entities and the same number of PDCP entities as the service type, and the current user corresponding to the service type of the to-be-processed data stream is retained only when the data stream to be processed by the current user plane protocol layer is not received. Entity of the protocol layer, and when receiving the data stream to be processed by the current user plane protocol layer, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed can be further avoided. The through terminal stores too many entities of the current user plane protocol layer, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. The embodiment of the present invention further provides a data processing apparatus, which is applied to any one of the D2D user groups, and only retains the data flow when the data stream to be processed by the current user plane protocol layer is not received. The entity of the current user plane protocol layer corresponding to the service type of the processed data stream, and when the data stream to be processed by the current user plane protocol layer is received, the current corresponding to the service type of the data stream to be processed is released. The entity of the user plane protocol layer can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. The details are described below separately.
图 5为本申请的数据处理装置实施例 1的结构示意图,该数据处理装置能 够实现上述图 1对应实施例所提供的方法。 该装置应用于 D2D组中的任意一 个蜂窝直通终端。 如图 5所示, 该装置可以包括:  FIG. 5 is a schematic structural diagram of Embodiment 1 of a data processing apparatus according to the present application, and the data processing apparatus can implement the method provided by the corresponding embodiment of FIG. 1 . The device is applied to any of the cellular through terminals in the D2D group. As shown in FIG. 5, the apparatus may include:
接收单元 11 , 用于接收当前用户面协议层待处理的数据流, 所述待处理 的数据流为当前用户面协议层的上一层传输的。  The receiving unit 11 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
判断单元 12, 用于判断所述接收单元 11对所述待处理的数据流是否接收 午。  The determining unit 12 is configured to determine whether the receiving unit 11 receives the noon for the data stream to be processed.
译放单元 13 , 用于当所述判断单元 12确定所述待处理的数据流接收完毕 时, 译放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体。  The decoding unit 13 is configured to: when the determining unit 12 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
保留单元 14, 用于当所述判断单元 12确定所述待处理的数据流未接收完 毕时, 保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体。  The retaining unit 14 is configured to reserve an entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream when the determining unit 12 determines that the to-be-processed data stream is not received.
上述接收单元 11的功能可以由蜂窝直通终端中的接收器来实现, 上述判 断单元 12、译放单元 13、保留单元 14的功能可以由蜂窝直通终端中的处理器 来实现。 具体可参见图 9所示。 The function of the receiving unit 11 described above can be implemented by a receiver in the cellular through terminal, and the above judgment The functions of the disconnect unit 12, the decipher unit 13, and the reservation unit 14 can be implemented by a processor in the cellular through terminal. See Figure 9 for details.
图 6为本申请的数据处理装置实施例 2的结构示意图,该数据处理装置能 够实现上述图 2对应实施例所提供的方法, 该装置应用于 D2D组中的任意一 个蜂窝直通终端。 如图 6所示, 该装置可以包括:  FIG. 6 is a schematic structural diagram of Embodiment 2 of a data processing apparatus according to the present application. The data processing apparatus can implement the method provided by the corresponding embodiment of FIG. 2, and the apparatus is applied to any one of the D2D groups. As shown in Figure 6, the device can include:
接收单元 21 , 用于接收当前用户面协议层待处理的数据流, 所述待处理 的数据流为当前用户面协议层的上一层传输的。所述当前用户面协议层为 RLC 层或 PDCP层。  The receiving unit 21 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer. The current user plane protocol layer is an RLC layer or a PDCP layer.
判断单元 22, 具体用于判断所述接收单元 21在预设时间间隔内是否接收 到一个所述待处理的数据流中的业务数据单元,如果在所述预设时间间隔内接 收到一个所述待处理的数据流中的业务数据单元,则说明所述待处理的数据流 未接收完毕;如果在所述预设时间间隔内接收到一个所述待处理的数据流中的 业务数据单元, 则说明所述待处理的数据流接收完毕。  The determining unit 22 is specifically configured to determine whether the receiving unit 21 receives a service data unit in the data stream to be processed within a preset time interval, if one of the received time intervals is received The service data unit in the data stream to be processed indicates that the data stream to be processed is not received; if a service data unit in the data stream to be processed is received within the preset time interval, The receiving of the data stream to be processed is completed.
译放单元 23 , 用于当所述判断单元 22确定所述待处理的数据流接收完毕 时, 译放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体。  The decoding unit 23 is configured to: when the determining unit 22 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
保留单元 24, 用于当所述判断单元 22确定所述待处理的数据流未接收完 毕时, 保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体。  The retaining unit 24 is configured to, when the determining unit 22 determines that the to-be-processed data stream is not received, retain an entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream.
上报单元 25 ,用于当所述判断单元 22确定所述待处理的数据流接收完毕, 所述译放单元译放与所述待处理的数据流的业务类型对应的当前用户面协议 层的实体之后,将所述当前用户面协议层的实体已经译放的消息通知给所述当 前用户面协议层的上一层。  The reporting unit 25 is configured to: when the determining unit 22 determines that the data stream to be processed is received, the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed Then, the message that the entity of the current user plane protocol layer has been translated is notified to the upper layer of the current user plane protocol layer.
上述接收单元 21的功能可以由蜂窝直通终端中的接收器来实现, 上述判 断单元 22、 译放单元 23、 保留单元 24、 上报单元 25的功能可以由蜂窝直通 终端中的处理器来实现。 具体可参见图 9所示。 图 7为本申请的数据处理装置实施例 3的结构示意图,该数据处理装置能 够实现上述图 3对应的实施例所提供的方法。 该装置应用于 D2D组中的任意 一个蜂窝直通终端。 如图 7所示, 该装置可以包括: 组宣告信息接收单元 31 , 用于在所述接收单元 32接收当前用户面协议层 待处理的数据流之前, 接收所述蜂窝直通终端所在的 D2D用户组的组头广播 的组宣告信息, 所述组宣告信息中包含所述预设时间间隔。 The function of the receiving unit 21 can be implemented by a receiver in the cellular through terminal. The functions of the determining unit 22, the releasing unit 23, the retaining unit 24, and the reporting unit 25 can be implemented by a processor in the cellular through terminal. See Figure 9 for details. FIG. 7 is a schematic structural diagram of Embodiment 3 of a data processing apparatus according to the present application, and the data processing apparatus can implement the method provided by the embodiment corresponding to FIG. 3 above. The device is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 7, the apparatus may include: The group announcement information receiving unit 31 is configured to receive, before the receiving unit 32 receives the data stream to be processed by the current user plane protocol layer, the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, where The preset time interval is included in the group announcement information.
所述组宣告信息接收单元具体用于:  The group announcement information receiving unit is specifically configured to:
当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 能够与基站进行通信时, 所述预设时间间隔是所述组头通过无线资源控制 RRC信令从所述基站获取的。  When the group header is any one of the D2D user groups, and the group header is capable of communicating with the base station, the preset time interval is that the group header is controlled by radio resource control RRC signaling. Obtained by the base station.
或, 当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述 组头不能够与基站进行通信时,所述预设时间间隔是所述组头从自身的内部配 置信息中获取的。  Or, when the group header is any one of the D2D user groups, and the group header is not capable of communicating with the base station, the preset time interval is an internal configuration of the group header from itself. Obtained in the information.
或, 当所述组头为基站, 且所述 D2D用户组在所述基站的网络覆盖范围 内时, 所述预设时间间隔是所述组头从演进型分组核心网的网元中获取的。  Or, when the group header is a base station, and the D2D user group is within the network coverage of the base station, the preset time interval is obtained by the group header from a network element of an evolved packet core network. .
接收单元 32, 用于接收当前用户面协议层待处理的数据流, 所述待处理 的数据流为当前用户面协议层的上一层传输的。  The receiving unit 32 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
判断单元 33 , 具体用于判断所述接收单元 32在预设时间间隔内是否接收 到一个所述待处理的数据流中的业务数据单元,如果在所述预设时间间隔内接 收到一个所述待处理的数据流中的业务数据单元,则说明所述待处理的数据流 未接收完毕;如果在所述预设时间间隔内未接收到一个所述待处理的数据流中 的业务数据单元, 则说明所述待处理的数据流接收完毕。  The determining unit 33 is specifically configured to determine whether the receiving unit 32 receives a service data unit in the data stream to be processed within a preset time interval, if one of the received time intervals is received The service data unit in the data stream to be processed indicates that the data stream to be processed is not received; if a service data unit in the data stream to be processed is not received within the preset time interval, Then, the data stream to be processed is received.
译放单元 34, 用于当所述判断单元 33确定所述待处理的数据流接收完毕 时, 译放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体。  The decoding unit 34 is configured to: when the determining unit 33 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
保留单元 35 , 用于当所述判断单元 33确定所述待处理的数据流未接收完 毕时, 保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体。  The retaining unit 35 is configured to reserve, when the determining unit 33 determines that the to-be-processed data stream is not received, the entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream.
上报单元 36,用于当所述判断单元 33确定所述待处理的数据流接收完毕, 所述译放单元译放与所述待处理的数据流的业务类型对应的当前用户面协议 层的实体之后,将所述当前用户面协议层的实体已经译放的消息通知给所述当 前用户面协议层的上一层。  The reporting unit 36 is configured to: when the determining unit 33 determines that the data stream to be processed is received, the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed Then, the message that the entity of the current user plane protocol layer has been translated is notified to the upper layer of the current user plane protocol layer.
上述组宣告信息接收单元 31、接收单元 32的功能可以由蜂窝直通终端中 的接收器来实现, 上述判断单元 33、 译放单元 34、 保留单元 35、 上报单元 36 的功能可以由蜂窝直通终端中的处理器来实现。 具体可参见图 9所示。 图 8为本申请的数据处理装置实施例 4的结构示意图,该数据处理装置能 够实现上述图 4对应的实施例所提供的方法。 该装置应用于 D2D组中的任意 一个蜂窝直通终端。 如图 8所示, 该装置可以包括: The functions of the group announcement information receiving unit 31 and the receiving unit 32 may be performed by the cellular through terminal. The function of the above-mentioned judging unit 33, the deciphering unit 34, the retaining unit 35, and the reporting unit 36 can be implemented by a processor in the cellular through terminal. See Figure 9 for details. FIG. 8 is a schematic structural diagram of Embodiment 4 of a data processing apparatus according to the present application, and the data processing apparatus can implement the method provided by the embodiment corresponding to FIG. 4 above. The device is applied to any one of the cellular through terminals in the D2D group. As shown in FIG. 8, the apparatus may include:
组宣告信息接收单元 41 , 用于在所述接收单元 43接收当前用户面协议层 待处理的数据流之前, 接收所述蜂窝直通终端所在的 D2D用户组的组头广播 的组宣告信息, 所述组宣告信息中包含所述预设时间间隔, 以及业务类型与逻 辑信道标识的映射关系。  The group announcement information receiving unit 41 is configured to receive, before the receiving unit 43 receives the data stream to be processed by the current user plane protocol layer, the group announcement information of the group head broadcast of the D2D user group where the cellular through terminal is located, where The group announcement information includes the preset time interval, and a mapping relationship between the service type and the logical channel identifier.
所述组宣告信息接收单元具体用于:  The group announcement information receiving unit is specifically configured to:
当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 能够与基站进行通信时,所述预设时间间隔以及业务类型与逻辑信道标识的映 射关系是所述组头通过无线资源控制 RRC信令从所述基站获取的。  When the group header is any one of the D2D user groups, and the group header is capable of communicating with the base station, the preset time interval and the mapping relationship between the service type and the logical channel identifier are The group header is obtained from the base station by radio resource control RRC signaling.
或, 当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述 组头不能够与基站进行通信时,所述预设时间间隔以及业务类型与逻辑信道标 识的映射关系是所述组头从自身的内部配置信息中获取的。  Or, when the group header is any one of the D2D user groups, and the group header is not capable of communicating with the base station, the preset time interval and the mapping relationship between the service type and the logical channel identifier The group header is obtained from its own internal configuration information.
或, 当所述组头为基站, 且所述 D2D用户组在所述基站的网络覆盖范围 内时,所述预设时间间隔以及业务类型与逻辑信道标识的映射关系是所述组头 从演进型分组核心网的网元中获取的。  Or, when the group header is a base station, and the D2D user group is within the network coverage of the base station, the preset time interval and a mapping relationship between the service type and the logical channel identifier are the group header evolution Obtained in the network element of the packet core network.
实体组建立单元 42, 用于在所述接收单元 43接收当前用户面协议层待处 理的数据流之前, 建立所述当前用户面协议层的实体组, 所述实体组中的实体 与所述逻辑信道标识——对应。  The entity group establishing unit 42 is configured to establish, before the receiving unit 43 receives the data stream to be processed by the current user plane protocol layer, the entity group of the current user plane protocol layer, the entity in the entity group and the logic Channel identification - corresponding.
接收单元 43 , 用于接收当前用户面协议层待处理的数据流, 所述待处理 的数据流为当前用户面协议层的上一层传输的。  The receiving unit 43 is configured to receive a data stream to be processed by the current user plane protocol layer, where the to-be-processed data stream is transmitted by the upper layer of the current user plane protocol layer.
业务类型获取单元 44, 具体用于在所述接收单元 43接收当前用户面协议 层待处理的数据流之后, 获取所述待处理的数据流的业务类型;  The service type obtaining unit 44 is specifically configured to acquire, after the receiving unit 43 receives the data stream to be processed by the current user plane protocol layer, the service type of the data stream to be processed;
逻辑信道标识确定单元 45 , 用于根据所述业务类型与逻辑信道标识的映 射关系确定与所述业务类型获取单元 44获取的待处理的数据流的业务类型对 应的逻辑信道标识并作为所述待处理的数据流的逻辑信道标识; The logical channel identifier determining unit 45 is configured to determine, according to the mapping relationship between the service type and the logical channel identifier, a service type pair of the data stream to be processed acquired by the service type acquiring unit 44. The logical channel identifier is identified and used as the logical channel identifier of the data stream to be processed;
实体选取单元 46, 用于从所述当前用户面协议层的实体组中选取与所述 逻辑信道标识确定单元 45确定的待处理的数据流的逻辑信道标识对应的实体 并作为与所述待处理的数据流的业务类型对应的当前用户面协议层的处理实 体。  The entity selecting unit 46 is configured to select, from the entity group of the current user plane protocol layer, an entity corresponding to the logical channel identifier of the data stream to be processed determined by the logical channel identifier determining unit 45, and as the to-be-processed The business type of the data stream corresponds to the processing entity of the current user plane protocol layer.
判断单元 47, 具体用于判断所述接收单元 43在预设时间间隔内是否接收 到一个所述待处理的数据流中的业务数据单元,如果在所述预设时间间隔内接 收到一个所述待处理的数据流中的业务数据单元,则说明所述待处理的数据流 未接收完毕;如果在所述预设时间间隔内未接收到一个所述待处理的数据流中 的业务数据单元, 则说明所述待处理的数据流接收完毕。  The determining unit 47 is specifically configured to determine whether the receiving unit 43 receives a service data unit in the to-be-processed data stream within a preset time interval, if the one received in the preset time interval The service data unit in the data stream to be processed indicates that the data stream to be processed is not received; if a service data unit in the data stream to be processed is not received within the preset time interval, Then, the data stream to be processed is received.
译放单元 48 , 用于当所述判断单元 47确定所述待处理的数据流接收完毕 时, 译放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体。  The decoding unit 48 is configured to: when the determining unit 47 determines that the data stream to be processed is received, the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed is released.
保留单元 49, 用于当所述判断单元 47确定所述待处理的数据流未接收完 毕时, 保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实 体。  The retaining unit 49 is configured to reserve an entity of the current user plane protocol layer corresponding to the service type of the to-be-processed data stream when the determining unit 47 determines that the to-be-processed data stream is not received.
上报单元 50,用于当所述判断单元 47确定所述待处理的数据流接收完毕, 所述译放单元译放与所述待处理的数据流的业务类型对应的当前用户面协议 层的实体之后,将所述当前用户面协议层的实体已经译放的消息通知给所述当 前用户面协议层的上一层。  The reporting unit 50 is configured to: when the determining unit 47 determines that the data stream to be processed is received, the decoding unit releases the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed Then, the message that the entity of the current user plane protocol layer has been translated is notified to the upper layer of the current user plane protocol layer.
上述组宣告信息接收单元 41、接收单元 43的功能可以由蜂窝直通终端中 的接收器来实现, 上述实体组建立单元 42、 业务类型获取单元 44、 逻辑信道 标识确定单元 45、 实体选取单元 46、 判断单元 47、 译放单元 48、 保留单元 49、 上报单元 50的功能可以由蜂窝直通终端中的处理器来实现。 具体可参见 图 9所示。 需要说明的是,有关上述装置的各个单元的功能实现已经在方法实施例中 进行详细说明, 装置实施例部分将不再赘述, 具体请参见方法实施例中的相关 描述。  The function of the above-mentioned group announcement information receiving unit 41 and the receiving unit 43 can be implemented by a receiver in the cellular through terminal, the entity group establishing unit 42, the service type obtaining unit 44, the logical channel identifier determining unit 45, the entity selecting unit 46, The functions of the determining unit 47, the deciphering unit 48, the retaining unit 49, and the reporting unit 50 can be implemented by a processor in the cellular through terminal. See Figure 9 for details. It should be noted that the function implementation of each unit of the foregoing apparatus has been described in detail in the method embodiment, and the device embodiment will not be described in detail. For details, refer to the related description in the method embodiment.
进一步需要说明的是, 本申请实施例还提供了一种蜂窝直通终端, 包括上 述数据处理装置实施例 1〜4中任意一个实施例中描述的数据处理装置。 另外, 本申请实施例还提供了一种通讯装置,通讯装置可能是包含计算能 力的主机服务器, 或者是个人计算机 PC, 或者是可携带的便携式计算机或终 端等等, 本申请具体实施例并不对计算节点的具体实现做限定。 It should be further noted that the embodiment of the present application further provides a cellular through terminal, including The data processing apparatus described in any one of Embodiments 1 to 4 of the data processing apparatus. In addition, the embodiment of the present application further provides a communication device, which may be a host server including a computing capability, or a personal computer PC, or a portable computer or terminal, etc., and the specific embodiment of the present application is not correct. The specific implementation of the compute node is limited.
图 9为本发明实施例提供的一种通讯装置的结构示意图。该通讯装置可以 为蜂窝直通终端, 能够实现上述图 1-图 4对应的实施例所提供的方法。 如图 9 所示, 通讯装置 700包括:  FIG. 9 is a schematic structural diagram of a communication device according to an embodiment of the present invention. The communication device can be a cellular through terminal, and the method provided by the embodiment corresponding to the above Figures 1 to 4 can be implemented. As shown in FIG. 9, the communication device 700 includes:
处理器(processor ) 710, 通信接口 ( Communications Interface ) 720, 存 储器(memory ) 730, 总线 740, 接收器 750, 发送器 760。  A processor 710, a Communications Interface 720, a memory 730, a bus 740, a receiver 750, and a transmitter 760.
处理器 710, 通信接口 720, 存储器 730, 接收器 750, 发送器 760通过总 线 740完成相互间的通信。  The processor 710, the communication interface 720, the memory 730, the receiver 750, and the transmitter 760 complete communication with each other via the bus 740.
处理器 710, 用于执行程序 732。  The processor 710 is configured to execute the program 732.
具体地,程序 732可以包括程序代码,所述程序代码包括计算机操作指令。 处理器 710 可能是一个中央处理器 CPU , 或者是特定集成电路 ASIC In particular, program 732 can include program code, the program code including computer operating instructions. Processor 710 may be a central processing unit CPU or a specific integrated circuit ASIC
( Application Specific Integrated Circuit ),或者是被配置成实施本申请实施例的 一个或多个集成电路。 (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
存储器 730, 用于存放程序 732。 存储器 730可能包含高速 RAM存储器, 也可能还包括非易失性存储器(non-volatile memory ), 例如至少一个磁盘存储 器。处理器 710通过通信总线 740调用存储器 730中的程序 732以配合接收器 750、 发送器 760等实现上述方法。 综上所述, 本申请实施例公开了一种数据处理方法及装置, 应用于 D2D 用户组中的任意一个蜂窝直通终端,通过只有当未接收完当前用户面协议层待 处理的数据流时,才保留与所述待处理的数据流的业务类型对应的当前用户面 协议层的实体, 而当接收完当前用户面协议层待处理的数据流时, 则译放与所 述待处理的数据流的业务类型对应的当前用户面协议层的实体,能够避免蜂窝 直通终端内存储过多的当前用户面协议层的实体,从而改善蜂窝直通终端的处 理能力, 最终保证 D2D业务的准确实现。 本说明书中各个实施例釆用递进的方式描述,每个实施例重点说明的都是 与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于 实施例公开的装置而言, 由于其与实施例公开的方法相对应, 所以描述的比较 简单, 相关之处参见方法部分说明即可。 The memory 730 is configured to store the program 732. The memory 730 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory. The processor 710 calls the program 732 in the memory 730 via the communication bus 740 to implement the above method in conjunction with the receiver 750, the transmitter 760, and the like. In summary, the embodiment of the present application discloses a data processing method and apparatus, which are applied to any one of the D2D user groups, and only when the data stream to be processed by the current user plane protocol layer is not received. Retaining the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed, and when receiving the data stream to be processed by the current user plane protocol layer, then releasing the data stream to be processed The entity of the current user plane protocol layer corresponding to the service type can avoid storing too many entities of the current user plane protocol layer in the cellular through terminal, thereby improving the processing capability of the cellular through terminal, and finally ensuring accurate implementation of the D2D service. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例 的单元及算法步骤,能够以电子硬件或者电子硬件与计算机软件相结合的方式 来实现。 为了清楚地说明部分硬件和软件的可互换性,在上述说明中已经按照 功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软硬件结 合的方式来执行,取决于技术方案的特定应用和设计约束条件。 专业技术人员 可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不 应认为超出本发明的范围。  A person skilled in the art will further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of electronic hardware or electronic hardware and computer software. In order to clearly illustrate the interchangeability of some of the hardware and software, the components and steps of the various examples have been generally described in terms of functions in the above description. Whether these functions are performed in hardware or a combination of hardware and software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处 理器执行的软件模块, 或者二者的结合来实施。软件模块可以置于随机存储器 ( RAM )、内存、只读存储器( ROM )、电可编程 ROM、电可擦除可编程 ROM, 寄存器、 硬盘、 可移动磁盘、 CD-ROM, 或技术领域内所公知的任意其它形式 的存储介质中。  The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本 发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见 的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下, 在 其它实施例中实现。 因此, 本发明将不会被限制于本文所示的这些实施例, 而 是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。  The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded to the broadest scope of the principles and novel features disclosed herein.

Claims

权 利 要 求 Rights request
1、 一种数据处理方法, 其特征在于, 应用于设备间直通通信 D2D组中的 任意一个蜂窝直通终端, 所述方法包括: 1. A data processing method, characterized in that it is applied to any cellular direct terminal in the inter-device direct communication D2D group, and the method includes:
接收当前用户面协议层待处理的数据流,所述待处理的数据流为当前用户 面协议层的上一层传输的; Receive the data stream to be processed by the current user plane protocol layer, which is transmitted by the upper layer of the current user plane protocol layer;
判断所述待处理的数据流是否接收完毕; Determine whether the data stream to be processed has been received;
如果所述待处理的数据流接收完毕,译放与所述待处理的数据流的业务类 型对应的当前用户面协议层的实体; If the reception of the data flow to be processed is completed, interpret and release the entity of the current user plane protocol layer corresponding to the service type of the data flow to be processed;
如果所述待处理的数据流未接收完毕,保留与所述待处理的数据流的业务 类型对应的当前用户面协议层的实体。 If the data flow to be processed has not been completely received, the entity of the current user plane protocol layer corresponding to the service type of the data flow to be processed is retained.
2、 根据权利要求 1所述的方法, 其特征在于, 所述判断所述待处理的数 据流包是否接收完毕具体包括: 2. The method according to claim 1, wherein the determining whether the data flow packet to be processed has been received specifically includes:
判断在预设时间间隔内是否接收到一个所述待处理的数据流中的业务数 据单元,如果在所述预设时间间隔内接收到一个所述待处理的数据流中的业务 数据单元, 则说明所述待处理的数据流未接收完毕; 如果在所述预设时间间隔 内未接收到一个所述待处理的数据流中的业务数据单元,则说明所述待处理的 数据流接收完毕。 Determine whether a service data unit in the data stream to be processed is received within a preset time interval. If a service data unit in the data stream to be processed is received within the preset time interval, then It means that the data stream to be processed has not been received completely; if a service data unit in the data stream to be processed is not received within the preset time interval, it means that the data stream to be processed has been received.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述如果所述待处理 的数据流接收完毕,译放与所述待处理的数据流的业务类型对应的当前用户面 协议层的实体之后, 所述方法还包括: 3. The method according to claim 1 or 2, characterized in that: if the data stream to be processed is received, the current user plane protocol layer corresponding to the service type of the data stream to be processed is translated and released. After the entity, the method also includes:
将所述当前用户面协议层的实体已经译放的消息通知给所述当前用户面 协议层的上一层。 Notify the upper layer of the current user plane protocol layer that the entity of the current user plane protocol layer has been translated.
4、 根据权利要求 2或 3所述的方法, 其特征在于, 在所述接收当前用户 面协议层待处理的数据流之前, 所述方法还包括: 4. The method according to claim 2 or 3, characterized in that, before receiving the data stream to be processed by the current user plane protocol layer, the method further includes:
接收所述蜂窝直通终端所在的 D2D用户组的组头广播的组宣告信息, 所 述组宣告信息中包含所述预设时间间隔。 Receive group announcement information broadcast by a group leader of the D2D user group where the cellular direct terminal is located, where the group announcement information includes the preset time interval.
5、 根据权利要求 4所述的方法, 其特征在于, 当所述组头为所述 D2D用 户组中的任意一个蜂窝直通终端,且所述组头能够与基站进行通信时, 所述预 设时间间隔是所述组头通过无线资源控制 RRC信令从所述基站获取的。 5. The method according to claim 4, characterized in that, when the group leader is any cellular direct-connect terminal in the D2D user group, and the group leader can communicate with the base station, the preset The time interval is obtained by the group head from the base station through radio resource control RRC signaling.
6、 根据权利要求 4所述的方法, 其特征在于, 当所述组头为所述 D2D用 户组中的任意一个蜂窝直通终端,且所述组头不能够与基站进行通信时, 所述 预设时间间隔是所述组头从自身的内部配置信息中获取的。 6. The method according to claim 4, characterized in that when the group leader is any cellular direct terminal in the D2D user group and the group leader is unable to communicate with the base station, the predetermined It is assumed that the time interval is obtained by the group head from its own internal configuration information.
7、 根据权利要求 4所述的方法, 其特征在于, 当所述组头为基站, 且所 述 D2D用户组在所述基站的网络覆盖范围内时, 所述预设时间间隔是所述组 头从演进型分组核心网的网元中获取的。 7. The method according to claim 4, characterized in that when the group head is a base station and the D2D user group is within the network coverage of the base station, the preset time interval is The header is obtained from the network element of the evolved packet core network.
8、 根据权利要求 4所述的方法, 其特征在于, 所述组宣告信息中还包含 有业务类型与逻辑信道标识的映射关系; 8. The method according to claim 4, characterized in that the group announcement information also includes a mapping relationship between service types and logical channel identifiers;
则,在所述接收当前用户面协议层待处理的数据流之前,所述方法还包括; 建立所述当前用户面协议层的实体组,所述实体组中的实体与所述逻辑信 道标识一一对应。 Then, before receiving the data stream to be processed by the current user plane protocol layer, the method further includes: establishing an entity group of the current user plane protocol layer, and the entities in the entity group are consistent with the logical channel identifier. One correspondence.
9、 根据权利要求 8所述的方法, 其特征在于, 在所述接收当前用户面协 议层待处理的数据流之后, 所述方法还包括: 9. The method according to claim 8, characterized in that, after receiving the data stream to be processed by the current user plane protocol layer, the method further includes:
获取所述待处理的数据流的业务类型; Obtain the service type of the data flow to be processed;
根据所述业务类型与逻辑信道标识的映射关系确定与所述待处理的数据 流的业务类型对应的逻辑信道标识并作为所述待处理的数据流的逻辑信道标 识; Determine the logical channel identifier corresponding to the service type of the data flow to be processed according to the mapping relationship between the service type and the logical channel identifier and use it as the logical channel identifier of the data flow to be processed;
从所述当前用户面协议层的实体组中选取与所述待处理的数据流的逻辑 信道标识对应的实体并作为与所述待处理的数据流的业务类型对应的当前用 户面协议层的处理实体。 Select the entity corresponding to the logical channel identifier of the data flow to be processed from the entity group of the current user plane protocol layer and use it as the processing of the current user plane protocol layer corresponding to the service type of the data flow to be processed. entity.
10、根据权利要求 1〜9中任意一项所述的方法, 其特征在于, 所述当前用 户面协议层为 RLC层或 PDCP层。 10. The method according to any one of claims 1 to 9, characterized in that the current user plane protocol layer is an RLC layer or a PDCP layer.
11、 一种数据处理装置, 其特征在于, 应用于设备间直通通信 D2D用户 组中的任意一个蜂窝直通终端, 所述装置包括: 11. A data processing device, characterized in that it is applied to any cellular direct communication terminal in the D2D user group for inter-device communication, and the device includes:
接收单元, 用于接收当前用户面协议层待处理的数据流, 所述待处理的数 据流为当前用户面协议层的上一层传输的; The receiving unit is used to receive the data stream to be processed by the current user plane protocol layer, and the data stream to be processed is transmitted by the upper layer of the current user plane protocol layer;
判断单元, 用于判断所述接收单元对所述待处理的数据流是否接收完毕; 译放单元, 用于当所述判断单元确定所述待处理的数据流接收完毕时,释 放与所述待处理的数据流的业务类型对应的当前用户面协议层的实体; 保留单元, 用于当所述判断单元确定所述待处理的数据流未接收完毕时 , 保留与所述待处理的数据流的业务类型对应的当前用户面协议层的实体。 The judgment unit is used to judge whether the receiving unit has completed receiving the data stream to be processed; the interpretation unit is used to release the data stream with the data stream to be processed when the judgment unit determines that the data stream to be processed is received. The entity of the current user plane protocol layer corresponding to the service type of the data flow being processed; A retaining unit, configured to retain the entity of the current user plane protocol layer corresponding to the service type of the data stream to be processed when the judgment unit determines that the data stream to be processed has not been received.
12、 根据权利要求 11所述的装置, 其特征在于, 所述判断单元具体用于: 判断在预设时间间隔内所述接收单元是否接收到一个所述待处理的数据 流中的业务数据单元,如果在所述预设时间间隔内接收到一个所述待处理的数 据流中的业务数据单元, 则说明所述待处理的数据流未接收完毕; 如果在所述 预设时间间隔内未接收到一个所述待处理的数据流中的业务数据单元,则说明 所述待处理的数据流接收完毕。 12. The device according to claim 11, wherein the judging unit is specifically configured to: judge whether the receiving unit receives a service data unit in the data stream to be processed within a preset time interval. , if a service data unit in the data stream to be processed is received within the preset time interval, it means that the data stream to be processed has not been received; if it is not received within the preset time interval to a service data unit in the data stream to be processed, it means that the data stream to be processed has been received.
13、 根据权利要求 11或 12所述的装置, 其特征在于, 所述装置还包括: 上报单元, 用于当所述判断单元确定所述待处理的数据流接收完毕, 所述 译放单元译放与所述待处理的数据流的业务类型对应的当前用户面协议层的 实体之后,将所述当前用户面协议层的实体已经译放的消息通知给所述当前用 户面协议层的上一层。 13. The device according to claim 11 or 12, characterized in that, the device further includes: a reporting unit, configured to: when the judgment unit determines that the data stream to be processed has been received, the interpretation and release unit interprets After placing the entity of the current user plane protocol layer corresponding to the service type of the data flow to be processed, notify the previous entity of the current user plane protocol layer that the entity of the current user plane protocol layer has been translated. layer.
14、 根据权利要求 12或 13所述的装置, 其特征在于, 所述装置还包括: 组宣告信息接收单元,用于在所述接收单元接收当前用户面协议层待处理 的数据流之前, 接收所述蜂窝直通终端所在的 D2D用户组的组头广播的组宣 告信息, 所述组宣告信息中包含所述预设时间间隔。 14. The device according to claim 12 or 13, characterized in that, the device further includes: a group announcement information receiving unit, configured to receive the data stream to be processed by the current user plane protocol layer before the receiving unit receives it. Group announcement information broadcast by the group leader of the D2D user group where the cellular direct terminal is located, and the group announcement information includes the preset time interval.
15、 根据权利要求 14所述的装置, 其特征在于, 所述组宣告信息接收单 元具体用于: 15. The device according to claim 14, characterized in that the group announcement information receiving unit is specifically used to:
当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 能够与基站进行通信时, 所述预设时间间隔是所述组头通过无线资源控制 RRC信令从所述基站获取的。 When the group head is any direct-to-cell terminal in the D2D user group, and the group head is able to communicate with the base station, the preset time interval is when the group head controls RRC signaling from obtained by the base station.
16、 根据权利要求 14所述的装置, 其特征在于, 所述组宣告信息接收单 元具体用于: 16. The device according to claim 14, characterized in that the group announcement information receiving unit is specifically used to:
当所述组头为所述 D2D用户组中的任意一个蜂窝直通终端, 且所述组头 不能够与基站进行通信时,所述预设时间间隔是所述组头从自身的内部配置信 息中获取的。 When the group head is any direct-to-cell terminal in the D2D user group and the group head is unable to communicate with the base station, the preset time interval is obtained by the group head from its own internal configuration information. Obtained.
17、 根据权利要求 14所述的装置, 其特征在于, 所述组宣告信息接收单 元具体用于: 当所述组头为基站,且所述 D2D用户组在所述基站的网络覆盖范围内时, 所述预设时间间隔是所述组头从演进型分组核心网的网元中获取的。 17. The device according to claim 14, characterized in that the group announcement information receiving unit is specifically used to: When the group head is a base station and the D2D user group is within the network coverage of the base station, the preset time interval is obtained by the group head from a network element of the evolved packet core network.
18、 根据权利要求 14所述的装置, 其特征在于, 所述组宣告信息中还包 含有业务类型与逻辑信道标识的映射关系, 则所述装置还包括: 18. The device according to claim 14, wherein the group announcement information also includes a mapping relationship between service types and logical channel identifiers, then the device further includes:
实体组建立单元,用于在所述接收单元接收当前用户面协议层待处理的数 据流之前, 建立所述当前用户面协议层的实体组, 所述实体组中的实体与所述 逻辑信道标识——对应。 An entity group establishment unit, configured to establish an entity group of the current user plane protocol layer before the receiving unit receives the data stream to be processed by the current user plane protocol layer, and the entities in the entity group are identified by the logical channel --correspond.
19、 根据权利要求 18所述的装置, 其特征在于, 所述装置还包括: 业务类型获取单元,具体用于在所述接收单元接收当前用户面协议层待处 理的数据流之后, 获取所述待处理的数据流的业务类型; 19. The device according to claim 18, characterized in that, the device further includes: a service type acquisition unit, specifically configured to acquire the data stream to be processed by the current user plane protocol layer after the receiving unit receives it. The business type of the data flow to be processed;
逻辑信道标识确定单元,用于根据所述业务类型与逻辑信道标识的映射关 系确定与所述业务类型获取单元获取的待处理的数据流的业务类型对应的逻 辑信道标识并作为所述待处理的数据流的逻辑信道标识; A logical channel identification determining unit, configured to determine a logical channel identification corresponding to the service type of the data flow to be processed obtained by the service type obtaining unit according to the mapping relationship between the service type and the logical channel identification and use it as the to-be-processed The logical channel identification of the data stream;
实体选取单元,用于从所述当前用户面协议层的实体组中选取与所述逻辑 信道标识确定单元确定的待处理的数据流的逻辑信道标识对应的实体并作为 与所述待处理的数据流的业务类型对应的当前用户面协议层的处理实体。 An entity selection unit, configured to select an entity corresponding to the logical channel identifier of the data flow to be processed determined by the logical channel identifier determination unit from the entity group of the current user plane protocol layer and use it as the data to be processed. The processing entity of the current user plane protocol layer corresponding to the service type of the flow.
20、 根据权利要求 11〜19中任意一项所述的装置, 其特征在于, 所述当前 用户面协议层为 RLC层或 PDCP层。 20. The device according to any one of claims 11 to 19, characterized in that the current user plane protocol layer is an RLC layer or a PDCP layer.
21、 一种蜂窝直通终端, 其特征在于, 包括权利要求 11〜20中任意一项所 述的数据处理装置。 21. A cellular direct-through terminal, characterized by comprising the data processing device according to any one of claims 11 to 20.
PCT/CN2014/073868 2014-03-21 2014-03-21 Method and device for data processing WO2015139305A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201480000349.3A CN105265012B (en) 2014-03-21 2014-03-21 A kind of data processing method and device
PCT/CN2014/073868 WO2015139305A1 (en) 2014-03-21 2014-03-21 Method and device for data processing
CN201910527157.2A CN110234174A (en) 2014-03-21 2014-03-21 A kind of data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/073868 WO2015139305A1 (en) 2014-03-21 2014-03-21 Method and device for data processing

Publications (1)

Publication Number Publication Date
WO2015139305A1 true WO2015139305A1 (en) 2015-09-24

Family

ID=54143717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/073868 WO2015139305A1 (en) 2014-03-21 2014-03-21 Method and device for data processing

Country Status (2)

Country Link
CN (2) CN110234174A (en)
WO (1) WO2015139305A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234174A (en) * 2014-03-21 2019-09-13 华为技术有限公司 A kind of data processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933608A (en) * 2005-11-14 2007-03-21 华为技术有限公司 Method for realizing to play stream media data
CN101854735A (en) * 2010-04-30 2010-10-06 中兴通讯股份有限公司 Method for processing data of RLC layer and PDCP layer when RRC connection is released under LTE system
CN102883440A (en) * 2011-07-15 2013-01-16 华为技术有限公司 wireless broadband communication method, device and system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277426C (en) * 2003-05-30 2006-09-27 华为技术有限公司 Realizing method for housing estate broadcasting service
CN1859386B (en) * 2005-12-31 2010-05-12 华为技术有限公司 Method and its device for improving user unloading speed
CN101572928B (en) * 2008-04-30 2011-05-04 华为技术有限公司 Switching method, communication system and associated equipment
KR20150074216A (en) * 2009-06-17 2015-07-01 인터디지탈 패튼 홀딩스, 인크 Method and apparatus for performing handover with a relay node
CN102238757B (en) * 2010-04-30 2014-07-23 电信科学技术研究院 Method and equipment for transmitting forwarding data by utilizing dedicated data radio bearer
KR101973462B1 (en) * 2011-07-08 2019-08-26 엘지전자 주식회사 Method for performing detach procedure and terminal thereof
CN103354666B (en) * 2011-12-07 2017-09-26 华为技术有限公司 Communication means, base station and terminal
US20130250771A1 (en) * 2012-03-20 2013-09-26 Nokia Siemens Networks Oy Device to device enhanced voice group call
CN103491572B (en) * 2012-06-14 2017-04-12 华为技术有限公司 Data transmission method, device and system
EP2868007B1 (en) * 2012-07-02 2019-03-06 LG Electronics Inc. Method for switching connection in wireless communication system
CN103634778B (en) * 2012-08-22 2017-05-03 普天信息技术研究院有限公司 Method and device for transmitting data in LTE system
CN110234174A (en) * 2014-03-21 2019-09-13 华为技术有限公司 A kind of data processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933608A (en) * 2005-11-14 2007-03-21 华为技术有限公司 Method for realizing to play stream media data
CN101854735A (en) * 2010-04-30 2010-10-06 中兴通讯股份有限公司 Method for processing data of RLC layer and PDCP layer when RRC connection is released under LTE system
CN102883440A (en) * 2011-07-15 2013-01-16 华为技术有限公司 wireless broadband communication method, device and system

Also Published As

Publication number Publication date
CN105265012A (en) 2016-01-20
CN110234174A (en) 2019-09-13
CN105265012B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
JP6772281B2 (en) Methods and equipment for establishing wireless resource control connections
US20200396652A1 (en) Method, apparatus, computer program product and computer program for conditional handover
US8837400B2 (en) Method of transmitting small amount of uplink data and method of receiving small amount of uplink data
CN110958688B (en) User equipment and execution method thereof, base station and execution method thereof
TWI664864B (en) Device and method for handling a new radio connection in inter-system mobility
WO2019157752A1 (en) Random access method and device
WO2013040962A1 (en) Data sending and receiving method and device
JP2014511168A (en) Mobile communication network and method
TW200840295A (en) Use of dedicated RACH signatures
TWI657679B (en) Device and method for handling a packet flow in inter-system mobility
WO2019140663A1 (en) Timer-based bandwidth part switching method, terminal device, and network device
TW202008839A (en) Base station and user equipment for early-data transmission in a random access procedure
WO2014048224A1 (en) Method, device and system for transmitting data through control plane signaling
WO2017166139A1 (en) Relay transmission method and device
KR20160021262A (en) Conversion method for transmission mechanism, user equipment and base station
WO2017211166A1 (en) Method and apparatus for configuring radio bearer of wearable device
WO2015058379A1 (en) Method, device and system for transmitting information
TWI619402B (en) Device and method of aggregating wlan and lte system
WO2018166338A1 (en) Key update method and apparatus
WO2022062846A1 (en) Method and apparatus for path switch
WO2016172887A1 (en) Data transmission method, device, and system
WO2016061735A1 (en) Method for accessing network, and related apparatus
WO2015039308A1 (en) Method and apparatus for device-to-device communication
WO2017177975A1 (en) Service provider identity indication method and apparatus, user equipment and access device
WO2017211123A1 (en) Communication method, first station, second station, and access point

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480000349.3

Country of ref document: CN

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

Ref document number: 14885932

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: 14885932

Country of ref document: EP

Kind code of ref document: A1