WO2019076347A1 - Communication method and communication apparatus - Google Patents

Communication method and communication apparatus Download PDF

Info

Publication number
WO2019076347A1
WO2019076347A1 PCT/CN2018/110880 CN2018110880W WO2019076347A1 WO 2019076347 A1 WO2019076347 A1 WO 2019076347A1 CN 2018110880 W CN2018110880 W CN 2018110880W WO 2019076347 A1 WO2019076347 A1 WO 2019076347A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
terminal device
cache
indication information
network device
Prior art date
Application number
PCT/CN2018/110880
Other languages
French (fr)
Chinese (zh)
Inventor
于峰
高峰
蔺波
于光炜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019076347A1 publication Critical patent/WO2019076347A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present application relates to the field of communications, and more particularly to a communication method and a communication device.
  • a control technique is currently known in which a communication device needs to perform an action corresponding to the received data at a predetermined time. Therefore, it is necessary to ensure that the data arrives at the communication device before the specified time.
  • a timing communication technology that is, a terminal can be utilized.
  • the device may store data in the cache that needs to be sent to the network device before the specified time, and send data to the network device at the specified time.
  • the terminal device can store the data received from the network device in the cache and submit the data to the application layer at a specified time.
  • the size of the cache of the terminal device may not meet the data cache requirement, and the above control technology cannot be implemented.
  • the present application provides a communication method and communication apparatus capable of avoiding an influence on communication and control due to a buffer of a terminal device being too small.
  • a communication method including: receiving, by a terminal device, first indication information that is sent by a network device, where the first indication information is used to indicate that the terminal device deletes first data from a cache, where the first data is Data sent by the network device to the terminal device, the first data is stored in the first cache space in the cache, the first data has not been submitted to the application layer of the terminal device; and the terminal device is configured according to the first indication information.
  • the first data is deleted in the cache; the terminal device receives the second data sent by the network device, and stores part or all of the second data in the first cache space.
  • the network device before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
  • the method further includes: the terminal device sending the second indication information to the network device, where the second indication information is used to indicate the current The size of the available cache space, wherein the first data is determined by the network device according to the second indication information.
  • the communication method according to the present application can reliably satisfy the requirement of the second data to the cache space by causing the network device to determine the first cache space (ie, the cache space for storing the first data) according to the current available cache space of the terminal device. Thereby, the effect of the present application can be further improved.
  • the second indication information is further used to indicate the time that the cached data in the cache needs to be submitted to the application layer, and/or the second indication information is further used to indicate the priority of the data cached in the cache.
  • the communication method determines the first cache space (ie, for storing the first data) by causing the network device to submit the data to the application layer according to the data currently buffered by the terminal device and/or the priority of the data currently cached by the terminal device.
  • the cache space can avoid important data or data that is urgently required to be submitted to the application layer to be selected as the first data, thereby improving the practicability of the application.
  • the second indication information is further used to indicate a protocol layer to which the first cache space belongs, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the second indication information is further used to indicate a protocol layer that the first data is currently cached, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the second indication information shown is carried in a PDCP Protocol Data Unit PDU.
  • the second indication information shown is carried in the RLC PDU.
  • the second indication information shown is carried in the MAC control unit CE.
  • the second indication information is carried in the downlink control information DCI.
  • the terminal device sends the second indication information to the network device, where the terminal device periodically sends the second indication information to the network device.
  • the terminal device sends the second indication information to the network device, where the terminal device sends the second indication to the network device when the size of the current available buffer space is less than or equal to a preset first threshold. information.
  • the network device by enabling the terminal device to send the second indication information to the network device when determining that the currently available cache space is small, the network device can know in time that the currently available cache space of the terminal device cannot meet the cache requirement of the second data. In order to trigger the delivery process of the first indication information, the reliability and effect of the communication method of the present application can be further improved.
  • the terminal device after receiving the third indication information sent by the network device, the terminal device sends the second indication information to the network device, where the third indication information is used to indicate that the terminal device sends the second information to the network device. Instructions.
  • the first data is determined by the network device according to the related information of the second data, where the related information of the second data includes information about a size of the second data, and a buffer space currently available in the cache The size of the data that can be stored in the first cache space is greater than or equal to the size of the second data.
  • the related information of the second data includes information about a priority of the second data, and the priority of the second data is higher than a priority of the first data, or a priority of the second data
  • the first data has the same priority.
  • the priority of the data in the embodiment of the present application is determined according to at least one of the following parameters:
  • the transmission delay of the data The transmission delay of the data, the reliability of the transmission of the data, the jitter of the data, and the time the data needs to be delivered to the application layer.
  • the transmission delay of the data, the reliability of transmission of the data, or the transmission jitter of the data is determined according to the quality of service level indication QCI of the bearer to which the data belongs.
  • the first indication information is further used to indicate a location of the first data in the cache.
  • the first indication information is further used to indicate an index of the first data in the cached data.
  • the first indication information is further used to indicate a size of the first data.
  • the terminal device can be made to easily determine the first data.
  • the communication method further includes: the terminal device receiving the first data that is retransmitted by the network device.
  • the second aspect provides a communication method, including: the network device sends the first indication information to the terminal device, where the first indication information is used to indicate that the terminal device deletes the first data from the cache, where the first data is the network Data sent by the device to the terminal device, the first data is stored in the first cache space in the cache, the first data is not yet submitted to the application layer of the terminal device; the network device sends the second data to the terminal device, Part or all of the second data is stored in the first cache space by the terminal device.
  • the network device before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
  • the second indication information is further used to indicate a protocol layer to which the first cache space belongs, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the second indication information is further used to indicate a protocol layer that the first data is currently cached, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection.
  • the second indication information shown is carried in a PDCP Protocol Data Unit PDU.
  • the second indication information shown is carried in the RLC PDU.
  • the second indication information shown is carried in the MAC control unit CE.
  • the second indication information is carried in the downlink control information DCI.
  • the method further includes: receiving, by the network device, the second indication information, where the second indication information is used to indicate the current available cache in the cache. The size of the space; the network device determines the first data according to the second indication information.
  • the communication method according to the present application can reliably satisfy the requirement of the second data to the cache space by causing the network device to determine the first cache space (ie, the cache space for storing the first data) according to the current available cache space of the terminal device. Thereby, the effect of the present application can be further improved.
  • the second indication information is further used to indicate a time that the cached data in the cache needs to be submitted to the application layer, and/or the second indication information is further used to indicate a priority of the cached data in the cache. .
  • the communication method determines the first cache space (ie, for storing the first data) by causing the network device to submit the data to the application layer according to the data currently buffered by the terminal device and/or the priority of the data currently cached by the terminal device.
  • the cache space can avoid important data or data that is urgently required to be submitted to the application layer to be selected as the first data, thereby improving the practicability of the application.
  • the priority of the data in the embodiment of the present application is determined according to at least one of the following parameters:
  • the transmission delay of the data The transmission delay of the data, the reliability of the transmission of the data, the jitter of the data, and the time the data needs to be delivered to the application layer.
  • the transmission delay of the data, the reliability of transmission of the data, or the transmission jitter of the data is determined according to the quality of service level indication QCI of the bearer to which the data belongs.
  • the second means that the information is periodically sent by the terminal device.
  • the second indication information is sent by the terminal device when determining that the size of the current available cache space is less than or equal to a preset first threshold.
  • the network device by enabling the terminal device to send the second indication information to the network device when determining that the currently available cache space is small, the network device can know in time that the currently available cache space of the terminal device cannot meet the cache requirement of the second data. In order to trigger the delivery process of the first indication information, the reliability and effect of the communication method of the present application can be further improved.
  • the second indication information is sent by the terminal device according to the third indication information received from the network device, where the third indication information is used to indicate that the terminal device sends the second indication information to the network device.
  • the method before the sending, by the network device, the first indication information to the terminal device, the method further includes: determining, by the network device, the first data according to the related information of the second data, where the related information of the second data includes the first The information of the size of the data, and the currently available buffer space in the cache and the size of the data that the first buffer space can store are greater than or equal to the size of the second data.
  • the method before the sending, by the network device, the first indication information to the terminal device, the method further includes: determining, by the network device, the first data according to the related information of the second data, where the related information of the second data includes the first The priority information of the two data, and the priority of the second data is higher than the priority of the first data.
  • the communication method further includes: the network device resending the first data to the terminal device.
  • the first indication information is further used to indicate a location of the first data in the cache.
  • the first indication information is further used to indicate an index of the first data in the cached data.
  • the first indication information is further used to indicate a size of the first data.
  • the terminal device can be made to easily determine the first data.
  • the third aspect provides a communication method, including: when the terminal device needs to send the first data to the network device, deleting the second data from the cache of the terminal device, where the second data is the terminal device from the network device Received data, the second data is stored in a first cache space in the cache, the second data has not been submitted to an application layer of the terminal device; the terminal device stores the portion of the first data in the first cache space Or all, and sending the first data to the network device at a preset sending time; the terminal device sends retransmission indication information to the network device, where the retransmission indication information is used to instruct the network device to resend the second Data; the terminal device receives second data that is retransmitted by the network device according to the retransmission indication information.
  • the terminal device before the terminal device needs to send the first data to the network device at the preset time, the terminal device can delete the second data currently stored in the first cache space of the terminal device, so that the terminal can be enabled.
  • the device stores the first data in the first cache space, thereby ensuring that the first data can be sent at the preset time, so that the influence on the communication and the control caused by the buffer of the terminal device being too small can be avoided.
  • the method before deleting the second data from the cache of the terminal device, the method further includes: determining, by the terminal device, the second data according to the reference information, where the reference information is used to indicate at least one of the following parameters: The size of the first cache space, the size of the current available cache space in the cache, the priority of the first data, the priority of the data cached in the cache, the sending time, and the terminal device stored in the cache.
  • the data received by the network device needs to be submitted to the application layer of the terminal device.
  • the currently available cache space in the cache and the size of the data that the first cache space can store are greater than or equal to the size of the first data.
  • the priority of the first data is higher than the priority of the second data, or the priority of the first data is the same as the priority of the second data.
  • the moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
  • the communication method determines the first cache space (ie, for storage by causing the network device to submit to the application layer according to the data currently cached by the terminal device, the priority of the data currently cached by the terminal device, and the currently available cache space.
  • the buffer space of the second data can prevent important data or data that is urgently required to be submitted to the application layer from being selected as the second data, and can reliably satisfy the requirement of the first data to the cache space, thereby further improving the effect of the present application. Can improve the practicality of the application.
  • a fourth aspect provides a communication method, including: receiving, by a network device, first data that is sent by a terminal device at a preset sending time, where part or all of the first data is stored in the first buffer before the sending time In the space, the first cache space is used to store second data before storing the first data, where the second data is data received by the terminal device from the network device, and the second data has not been submitted to the terminal device.
  • the second data is that the terminal device is deleted from the first cache space by the terminal device when determining that the first data needs to be sent; the network device receives retransmission indication information, the retransmission indication information from the terminal device And configured to instruct the network device to resend the second data; the network device resends the second data to the terminal device according to the retransmission indication information.
  • the terminal device before the terminal device needs to send the first data to the network device at the preset time, the terminal device can delete the second data currently stored in the first cache space of the terminal device, so that the terminal can be enabled.
  • the device stores the first data in the first cache space, thereby ensuring that the first data can be sent at the preset time, so that the influence on the communication and the control caused by the buffer of the terminal device being too small can be avoided.
  • the second data is determined by the terminal device according to the reference information, where the reference information is used to indicate at least one of the following parameters: a size of the first cache space, and a size of a current available cache space in the cache.
  • the currently available cache space in the cache and the size of the data that the first cache space can store are greater than or equal to the size of the first data.
  • the priority of the first data is higher than the priority of the second data.
  • the moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
  • the communication method determines the first cache space (ie, for storage by causing the network device to submit to the application layer according to the data currently cached by the terminal device, the priority of the data currently cached by the terminal device, and the currently available cache space.
  • the buffer space of the second data can prevent important data or data that is urgently required to be submitted to the application layer from being selected as the second data, and can reliably satisfy the requirement of the first data to the cache space, thereby further improving the effect of the present application. Can improve the practicality of the application.
  • a communication apparatus comprising means for performing the steps of any of the first to fourth aspects described above and embodiments thereof.
  • the device comprises a chip or circuit, such as a chip or circuit that can be disposed within the communication device.
  • the device is a communication device, such as a terminal device or a network device.
  • a communication device comprising a memory and a processor for storing a computer program for calling and running the computer program from a memory, such that the communication device performs the first to fourth aspects described above
  • a communication method in any of the aspects and embodiments thereof.
  • a chip system comprising a memory and a processor for storing a computer program, the processor for calling and running the computer program from the memory, such that the communication device on which the chip system is installed performs the above The communication method of any of the first aspect or the second aspect and the embodiment thereof.
  • a computer program product comprising: computer program code, when the computer program code is processed by a communication unit, a processing unit or a transceiver of a communication device (eg, a terminal device or a network device) When the device is in operation, the communication device is caused to perform the communication method in any of the above first to fourth aspects and embodiments thereof.
  • a computer readable storage medium storing a program causing a communication device (eg, a terminal device or a network device) to perform any of the above first to fourth aspects On the one hand and the communication method in its embodiment.
  • a communication device eg, a terminal device or a network device
  • the communication method and the communication device of the embodiment of the present application it is possible to reduce the influence of the uncertainty of the transmission delay of the wireless transmission mode on the action execution of the receiving device.
  • FIG. 1 is a schematic diagram showing an example of a communication system according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an example of a communication method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another example of a communication method according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of an example of a communication device according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another example of a communication device according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of an example of a terminal device according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another example of an access network device according to an embodiment of the present application.
  • a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and a computing device can be a component.
  • One or more components can reside within a process and/or execution thread, and the components can be located on one computer and/or distributed between two or more computers.
  • these components can execute from various computer readable media having various data structures stored thereon.
  • a component may, for example, be based on signals having one or more data packets (eg, data from two components interacting with another component between the local system, the distributed system, and/or the network, such as the Internet interacting with other systems) Communicate through local and/or remote processes.
  • data packets eg, data from two components interacting with another component between the local system, the distributed system, and/or the network, such as the Internet interacting with other systems
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE-A Advanced Long Term Evolution
  • UMTS Universal Mobile Telecommunication System
  • WiFi Wireless Fidelity
  • next generation communication system may include, for example.
  • fifth-generation (5G) communication system fifth-generation
  • D2D Device to Device
  • M2M Machine to Machine
  • MTC Machine Type Communication
  • V2V Vehicle to Vehicle
  • the communication method of the present application can be applied to communication between a network device and a terminal device.
  • the terminal device may also be referred to as a user equipment (User Equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, Mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • the terminal device can be a station in the WLAN (STAION, ST), which can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, and a personal digital processing.
  • WLAN STAION, ST
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • handheld device with wireless communication capabilities computing device or other processing device connected to a wireless modem, in-vehicle device, wearable device, and next-generation communication system, for example, a terminal device in a 5G network or Terminal equipment in the future evolution of the Public Land Mobile Network (PLMN) network.
  • PLMN Public Land Mobile Network
  • the terminal device may also be a wearable device.
  • a wearable device which can also be called a wearable smart device, is a general term for applying wearable technology to intelligently design and wear wearable devices such as glasses, gloves, watches, clothing, and shoes.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are more than just a hardware device, but they also implement powerful functions through software support, data interaction, and cloud interaction.
  • Generalized wearable smart devices include full-featured, large-size, non-reliable smartphones for full or partial functions, such as smart watches or smart glasses, and focus on only one type of application, and need to work with other devices such as smartphones. Use, such as various smart bracelets for smart signs monitoring, smart jewelry, etc.
  • the terminal device may also be a terminal device in an Internet of Things (IoT) system, and the IoT is an important component of future information technology development, and its main technical feature is to pass the article through the communication technology. Connected to the network to realize an intelligent network of human-machine interconnection and physical interconnection.
  • IoT Internet of Things
  • the IOT technology can achieve massive connection, deep coverage, and terminal power saving through, for example, Narrow Band NB technology.
  • the NB includes only one Resource Block (RB), that is, the bandwidth of the NB is only 180 KB.
  • RB Resource Block
  • the terminal must be required to be discrete in access. According to the communication method of the embodiment of the present application, the congestion problem of the IOT technology massive terminal when accessing the network through the NB can be effectively solved.
  • the access network device may be a device for communicating with the mobile device, such as an access network device, and the access network device may be an access point (AP) in the WLAN, a base station in the GSM or CDMA (Base Transceiver Station, BTS), which may also be a base station (NodeB, NB) in WCDMA, or a gNB in a new radio system (NR) system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE. , or a relay station or an access point, or an in-vehicle device, a wearable device, and an access network device in a future 5G network or an access network device in a future evolved PLMN network.
  • AP access point
  • GSM Global System for Mobile communications
  • CDMA Base Transceiver Station
  • NodeB base station
  • gNB new radio system
  • NR new radio system
  • Evolutional Node B, eNB or eNodeB evolved base station
  • the access network device provides a service for the cell
  • the terminal device communicates with the access network device by using a transmission resource (for example, a frequency domain resource, or a spectrum resource) used by the cell
  • a transmission resource for example, a frequency domain resource, or a spectrum resource
  • the cell It may be a cell corresponding to an access network device (for example, a base station), and the cell may belong to a macro base station or a base station corresponding to a small cell, where the small cell may include: a metro cell and a micro cell ( Micro cell), Pico cell, Femto cell, etc.
  • Micro cell Micro cell
  • Pico cell Pico cell
  • Femto cell etc.
  • multiple carriers can work at the same frequency on the carrier in the LTE system or the 5G system.
  • the concept of the carrier and the cell can be considered to be equivalent.
  • CA carrier aggregation
  • the concept of the carrier and the cell can be considered to be equivalent, for example, the UE accessing one carrier and accessing one cell are equivalent.
  • the core network device can be connected to multiple access network devices for controlling the access network device, and can distribute data received from the network side (for example, the Internet) to the access network device.
  • the network side for example, the Internet
  • terminal device the access network device, and the core network device listed above are merely exemplary descriptions, and the application is not limited thereto.
  • the terminal device may be a receiving device of data
  • the network device may be a transmitting device of data
  • the network device may be a receiving end device of data
  • the terminal device may be a receiving end device of data
  • the receiving end device is capable of receiving data from the transmitting end device, and performing an action (or processing) corresponding to the data at the application layer.
  • the receiving end device may be a controlled device (eg, a Programmable Logic Controller (PLC) controlled device, such as an industrial robot, etc., specifically, the receiving end device
  • PLC Programmable Logic Controller
  • An operation command ie, an example of data
  • a controller eg, the PLC described above
  • the actions indicated by the operation command can be performed.
  • the receiving end device may include a transport layer (or a communication module) and an application layer (or a function execution module), where the transport layer is used for wireless communication. Or receiving or transmitting data in a wired communication manner, the application layer is configured to perform processing corresponding to the received data (eg, performing an action indicated by the received operation instruction).
  • the receiving end device may be a smart device such as an industrial robot.
  • the transport layer can have any existing communication protocol, or an air interface protocol can implement wireless communication, for example, the transport layer can include a communication protocol stack.
  • the application layer can run the application, and the application controls the action of the receiving device.
  • the transmitting device is also configured with a transport layer (for example, the above communication protocol stack), and wireless communication is implemented through the transport layer.
  • a transport layer for example, the above communication protocol stack
  • the communication protocol stack may also be referred to as a protocol stack, which refers to the sum of layers of protocols in the network, and its image reflects the process of file transfer in a network: from the upper layer protocol to the underlying protocol, and then by the underlying protocol. Go to the upper layer agreement.
  • a protocol stack refers to the sum of layers of protocols in the network, and its image reflects the process of file transfer in a network: from the upper layer protocol to the underlying protocol, and then by the underlying protocol. Go to the upper layer agreement.
  • the protocol stack used by the wireless communication may include at least one protocol layer or a combination of multiple protocol layers, and each layer protocol may have multiple protocol entities:
  • the PDCP layer is located above the RLC layer and is responsible for processing the service data of the packet service.
  • PDCP is mainly used to process packet data carrying network layers on the air interface, such as Internet Protocol (IP) data streams.
  • IP Internet Protocol
  • the PDCP layer is mainly used to compress and decompress/encrypt and decrypt information.
  • Radio Link Control (RLC) layer I2. Radio Link Control (RLC) layer
  • RLC is a protocol developed in the third generation mobile system to ensure reliable quality of service (QoS) for data transmission services. This is because the data transmission channel condition of the mobile communication in the radio propagation environment is very poor, and the error rate of the transmission data is extremely high, so ensuring the service quality of the data transmission service is an arduous task.
  • QoS quality of service
  • the RLC layer is located above the MAC layer and is mainly used to provide an abstraction of different data link types for the upper layer. The most important of these is to provide a reliable data transmission link, which is used to shield the impact of the wireless link and provide reliable data transmission for the upper layer.
  • the RLC layer implements these logical link abstractions by using different packet transceiving mechanisms such as segmentation and automatic repeat-reQuest (ARQ).
  • ARQ automatic repeat-reQuest
  • the RLC layer can segment and concatenate information or reassemble segmented and concatenated information.
  • the MAC layer is located above the physical layer and is mainly responsible for controlling and connecting the physical medium of the physical layer, for selecting a combination of transport formats, and implementing related functions of scheduling and hybrid automatic repeat request (HARQ).
  • HARQ hybrid automatic repeat request
  • the PDCP layer, the RLC layer, and the MAC layer may also be referred to as an L2 layer.
  • the PHY layer may also be referred to as an L1 layer, and is mainly used to provide information transmission services for the MAC layer and the upper layer, and performs code modulation processing or demodulation decoding processing according to the selected transmission format combination.
  • Radio Resource Control (RRC) layer I5. Radio Resource Control (RRC) layer
  • the RRC layer may also be referred to as an L3 layer and may include, but is not limited to, the following functions:
  • RRC connection control including:
  • RRC connection mobility including co-frequency and inter-frequency handover, related security processing, key/algorithm change, RRC context information specification for transmission between network nodes.
  • Radio resource configuration management including ARQ configuration, HARQ configuration, Discontinuous reception (DRX) configuration allocation and modification.
  • QoS control including uplink and downlink semi-persistent scheduling configuration information, configuration and modification of UE side uplink rate control parameters.
  • Measurement configuration and report may include the following process:
  • SDAP Service Data Adaptation Protocol
  • the SDAP layer may be located on the PDCP layer, and is responsible for mapping between data flows of various QoSs and data radio bearers, and marking data flow identifiers in uplink and downlink data packets.
  • each of the foregoing protocol layers may have a cache space, where a buffer space corresponding to each protocol layer may be used to cache data received from other layers, or corresponding to each protocol layer.
  • Cache space can be used to cache data that needs to be sent to other layers.
  • the terminal device or the network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory).
  • the operating system may be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
  • the application layer includes applications such as browsers, contacts, word processing software, and instant messaging software.
  • the specific structure of the execution body of the method provided by the embodiment of the present application is not particularly limited as long as the program of the code of the method provided by the embodiment of the present application can be run by using the program according to the present application.
  • the method can be communicated.
  • the execution body of the method provided by the embodiment of the present application may be a terminal device or a network device, or a function module that can call a program and execute a program in the terminal device or the network device.
  • the term "article of manufacture” as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or media.
  • the computer readable medium may include, but is not limited to, a magnetic storage device (eg, a hard disk, a floppy disk, or a magnetic tape, etc.), such as a compact disc (CD), a digital versatile disc (Digital Versatile Disc, DVD). Etc.), smart cards and flash memory devices (eg, Erasable Programmable Read-Only Memory (EPROM), cards, sticks or key drivers, etc.).
  • various storage media described herein can represent one or more devices and/or other machine-readable media for storing information.
  • the term "machine-readable medium” may include, without limitation, a wireless channel and various other mediums capable of storing, containing, and/or carrying instructions and/or data.
  • multiple applications may be run at the application layer.
  • the application that performs the communication method of the embodiment of the present application is used to control the receiving device to complete the received data.
  • the application of the corresponding action can be a different application.
  • the system 100 includes an access network device 102, which may include one antenna or multiple antennas, such as antennas 104, 106, 108, 110, 112, and 114.
  • access network device 102 may additionally include a transmitter chain and a receiver chain, as will be understood by those of ordinary skill in the art, which may include multiple components associated with signal transmission and reception (eg, processor, modulator, complex) Consumer, demodulator, demultiplexer or antenna, etc.).
  • Access network device 102 can communicate with a plurality of terminal devices, such as terminal device 116 and terminal device 122. However, it will be appreciated that the access network device 102 can communicate with any number of terminal devices similar to the terminal device 116 or the terminal device 122.
  • Terminal devices 116 and 122 may be, for example, cellular telephones, smart phones, portable computers, handheld communication devices, handheld computing devices, satellite radios, global positioning systems, PDAs, and/or any other suitable for communicating over wireless communication system 100. device.
  • terminal device 116 is in communication with antennas 112 and 114, wherein antennas 112 and 114 transmit information to terminal device 116 over a forward link (also referred to as downlink) 118 and through the reverse link (also Information referred to as uplink 120 receives information from terminal device 116.
  • terminal device 122 is in communication with antennas 104 and 106, wherein antennas 104 and 106 transmit information to terminal device 122 over forward link 124 and receive information from terminal device 122 over reverse link 126.
  • forward link 118 can use a different frequency band than reverse link 120, and forward link 124 can be used differently than reverse link 126. Frequency band.
  • FDD Frequency Division Duplex
  • the forward link 118 and the reverse link 120 can use a common frequency band, a forward link 124, and a reverse link.
  • Link 126 can use a common frequency band.
  • Each antenna (or set of antennas consisting of multiple antennas) and/or regions designed for communication is referred to as a sector of the access network device 102.
  • the antenna group can be designed to communicate with terminal devices in sectors of the coverage area of the access network device 102.
  • the access network device can transmit signals to all of the terminal devices in its corresponding sector by single antenna or multi-antenna transmit diversity.
  • the transmit antenna of the access network device 102 can also utilize beamforming to improve the forward links 118 and 124. Signal to noise ratio.
  • the access network device 102 utilizes beamforming to selectively distribute the terminal devices 116 and 122 in the associated coverage area as compared to the manner in which the access network device transmits signals to all of its terminal devices through single antenna or multi-antenna transmit diversity.
  • beamforming When transmitting a signal, mobile devices in neighboring cells are subject to less interference.
  • the access network device 102, the terminal device 116, or the terminal device 122 may be a wireless communication transmitting device and/or a wireless communication receiving device.
  • the wireless communication transmitting device can encode the data for transmission.
  • the wireless communication transmitting device may acquire (eg, generate, receive from other communication devices, or store in memory, etc.) a certain number of data bits to be transmitted over the channel to the wireless communication receiving device.
  • Such data bits may be included in a transport block (or multiple transport blocks) of data that may be segmented to produce multiple code blocks.
  • the communication system 100 can be a PLMN network, a D2D network, an M2M network, an IoT network, or other networks.
  • FIG. 1 is only a simplified schematic diagram of an example, and the network may also include other access network devices, which are not shown in FIG.
  • the communication system 100 also includes a core network device communicatively coupled to the access network device 102.
  • FIG. 2 shows a process of transmitting data #c (ie, an example of second data) between the network device #A (for example, an access network device) and the terminal device #A, that is, the communication method 200.
  • data #c ie, an example of second data
  • the data #c is the data that the network device #A transmits to the terminal device #A at the time #3.
  • a plurality of data transmitted by the network device #A before the time #3 are buffered in the buffer of the terminal device #A before the time #3.
  • the application layer #a can be installed in the application layer of the terminal device #A, and the application #a can perform the action corresponding to the data #a after inputting the data #a.
  • the terminal device #A can be an industrial robot.
  • the data #a may be an operation command for controlling the motion of the robot. Therefore, the application #a can control the robot to perform the operation indicated by the operation command after inputting the data #a, and it should be understood that the terminal device #A listed above
  • the specific example is merely an exemplary description, and the present application is not limited thereto.
  • the terminal device #A may also be a terminal having various communication functions, such as a mobile phone or a smart home appliance, and capable of installing an application and implementing a function through the application. device.
  • network device #A can acquire the data #a.
  • the server of the application #a can communicate with the network device #A (for example, a wired communication connection or a wireless communication connection).
  • the server can send data #a to network device #A.
  • the data #a may be input to the server by the designer of the operation instruction, or the server may generate the data #a based on a preset algorithm, which is not specifically limited.
  • the data #a may be input to the network device #A by a designer of the operation instruction.
  • the network device #A may also generate the data #a based on a preset algorithm.
  • the data #a may be data that the terminal device #A needs to submit to the application layer at time #1.
  • the network device #A can determine the time #1 in the following manner.
  • the server of the application #a can communicate with the network device #A (for example, a wired communication connection or a wireless communication connection).
  • the network device #A for example, a wired communication connection or a wireless communication connection.
  • the server can transmit the indication information of the time #1 to the network device #A, that is, the network device #A can determine the time #1 according to the instruction from the server.
  • the time #1 may be input to the server by a designer of the operation instruction, or the server may also calculate the time #1 based on a preset algorithm, and omitting the same or similar situation instruction of.
  • the manner in which the network device #A enumerated above determines the time #1 is merely an exemplary description, and the present application is not limited thereto.
  • the administrator or the designer of the operation instruction may input the information of the time #1 to The network device #A, and thus, the network device #A can determine the time #1 based on the input information.
  • the process of determining the data #a and the time #1 by the network device #A may be performed simultaneously or in different steps, and the present application is not particularly limited.
  • network device #A may transmit data #a to terminal device #A at time #2, wherein the time #2 may be before the time #1.
  • the terminal device #A can receive the data #a before the time #1, and can save the data #a to the buffer of the terminal device #A, hereinafter, for the sake of easy understanding and explanation, the terminal device#
  • the cache space for storing data #a in the cache of A is written as: cache space #a.
  • the terminal device #A may transmit the related information of the cache space #a (for example, the size and the start position of the cache space #a) to the network device #A.
  • the network device #A can record related information of the data #a.
  • the related information of the data #a may include at least one of the following information:
  • size of data #a may refer to the number of bits included in the data #a, or "the size of the data #a” may refer to the size of the buffer space required for the data #a.
  • the information of the mapping relationship between the data #a and the time #1 can be used to indicate that the data #a needs to be submitted to the application layer by the terminal device #A at the time #1.
  • the priority of the data may be used to indicate the urgency or importance of the data.
  • the priority of the data may be determined based on the service to which the data belongs, for example, if a certain data is used for immediate control of the terminal device, or If necessary, you can determine that the priority of the data is high priority.
  • the data only needs to be stored by the terminal device, it can be determined that the priority of the data is high priority
  • the network device #A can determine the priority of the data #a in the following manner.
  • the server of the application #a can communicate with the network device #A (for example, a wired communication connection or a wireless communication connection).
  • the network device #A for example, a wired communication connection or a wireless communication connection.
  • the server can transmit the indication information of the priority of the data #a to the network device #A, that is, the network device #A can determine the priority of the data #a according to the instruction from the server.
  • the priority of the data #a may be input to the server by the designer of the operation instruction, or the server may also calculate the priority of the data #a based on a preset algorithm. Explanations of the same or similar cases are omitted.
  • the manner in which the network device #A enumerated above determines the priority of the data #a is merely an exemplary description, and the present application is not limited thereto, for example, the administrator or the designer of the operation instruction may use the data #a
  • the priority information is input to the network device #A, whereby the network device #A can determine the priority of the data #a based on the input information.
  • the process of determining the priority of the data #a, the data #a, and the time #1 by the network device #A may be performed simultaneously or in different steps, and the present application is not particularly limited.
  • the priority of the data may be determined according to at least one of the following parameters.
  • the network device #A may determine the priority of the data according to the transmission delay of a certain data, for example, if the transmission delay of the data is smaller, the data is The higher the priority.
  • the “data transmission delay” may refer to a transmission delay in the actual transmission process of the data, or “the transmission delay of the data” may refer to a transmission delay required by the data (or the service to which the data belongs). This application is not specifically limited.
  • the transmission delay of the data may be determined according to a Quality of Service Class Identifier (QCI) of the bearer to which the data belongs.
  • QCI Quality of Service Class Identifier
  • the network device #A may determine the priority of the data according to the transmission reliability of a certain data, for example, if the transmission reliability of the data is higher, the The higher the priority of the data.
  • the “data transmission reliability” may refer to the transmission reliability during the actual transmission of the data, or “the data transmission delay” may refer to the transmission reliability required by the data (or the service to which the data belongs). This application is not specifically limited.
  • the transmission reliability of the data may be determined according to a Quality of Service Class Identifier (QCI) of the bearer to which the data belongs.
  • QCI Quality of Service Class Identifier
  • the transmission reliability of the data may also be determined according to the quality of the channel on which the data is carried.
  • the network device #A may determine the priority of the data according to the transmission jitter of a certain data, for example, if the transmission jitter of the data is smaller, the data is The higher the priority.
  • the “transmission jitter of the data” may refer to the transmission jitter during the actual transmission of the data, or “the transmission delay of the data” may refer to the transmission jitter required by the data (or the service to which the data belongs). It is not particularly limited.
  • the transmission jitter of the data may be determined according to a Quality of Service Class Identifier (QCI) of the bearer to which the data belongs.
  • QCI Quality of Service Class Identifier
  • network device #A may determine the priority of the data according to the time when a certain data needs to be submitted to the application layer, for example, if the data needs to be submitted to the application layer. The higher the priority, the higher the priority of the data.
  • data #n and data #m if data #n needs to be submitted to the application layer later than when data #m needs to be submitted to the application layer, it can be determined that data #n has a higher priority The priority of data #m.
  • the methods for determining the priority of the data listed above are merely exemplary descriptions, and the present application is not particularly limited thereto, and other methods capable of sorting data according to certain rules fall within the protection scope of the present application.
  • the priority of the data may also be determined according to the logical channel on which the data is carried.
  • the priority relationship between the two data may be determined based on the parameter 1. If the two data determined based on the parameter 1 have the same priority, that is, the transmission delays of the two are the same, the method may be further based on Parameter 4 determines the priority of the two data, that is, for the two data with the same transmission delay, it can be determined that the party that needs to submit to the application layer later has a lower priority.
  • the network device #A may determine the storage location of the data #a in the terminal device #A based on at least one of the following manners.
  • the terminal device #A can report the size of the buffer space of the terminal device #A to the network device #A after accessing the network device #A, so that the network device #A can be based on The number of data transmitted to the terminal device #A and the transmission time calculate the storage location of the data #a in the buffer of the terminal device #A.
  • the network device #A can report based on the terminal device #A.
  • the information determines the storage location of data #a in terminal device #A.
  • Data #a is indexed in multiple data sent by network device #A to terminal device #A
  • the plurality of data may be respectively carried in different data packets, and an index of data carried in the data packet may be carried in each data packet, so that network device #A can be assigned to The index of each data is sent to the terminal device #A.
  • the terminal device #A can receive a plurality of data including the data #a from the network device #A, and can cache a plurality of data including the data #a in the cache. .
  • the time at which the plurality of data cached by the terminal device #A needs to be submitted to the application layer may be located before the time #3, or may be located after the time #3. This application is not specifically limited.
  • the "alternative data” may refer to data that the terminal device #A receives from the network device #A and is cached in the cache space and has not yet submitted to the application layer.
  • the data #c is data that needs to be submitted to the application layer by the terminal device #A at the time #4, and the time #4 is located after the time #3. Therefore, the data #c needs to be cached in the cache space of the terminal device #A.
  • the candidate data is already cached in the cache space of the terminal device #A, there may be a case where the current available cache space of the terminal device #A (that is, the cache space where no data is stored) cannot satisfy the storage requirement of the data #c.
  • the network device #A may determine the data #b from the candidate data, or determine the cache space for storing the data #b (ie, an example of the first cache space) In the following, for ease of understanding and explanation, it is recorded as cache space #b). And, the network device #A can instruct the terminal device #A to delete the data stored in the cache space #b (i.e., data #b), whereby the terminal device #A can store the portion of the data #c in the cache space #b. Or all, below, the process will be described in detail.
  • the network device may determine data #b or cache space #b based on the following manner.
  • the network device #A can determine the size of the buffer space required for the data #c (hereinafter, referred to as a target cache space for ease of understanding and differentiation) according to the size of the data #c (for example, the number of bits included in the data #c).
  • the network device #A can determine the size of the data to be deleted (ie, the data #b) according to the size of the current available cache space of the terminal device #A and the target cache space, or determine the buffer space to be emptied (ie, The size of the cache space #b).
  • the sum of the size of the cache space #b determined by the network device #A and the size of the current available cache in the terminal device #A may be greater than or equal to the size of the target cache space.
  • the size of the cache space #b determined by the network device #A may be greater than or equal to the size of the target cache space.
  • the data #b may be any data in the candidate data, or the cache space #b may be any cache space in the cache space occupied by the candidate data, as long as the cache space can be made.
  • the size of #b can satisfy the above conditions.
  • the terminal device #A may send the indication information #2 (ie, an example of the second indication information) to the network device #A, and the indication information #2 may be used to indicate the current available cache of the terminal device #A.
  • the size of the space may be used to indicate the current available cache of the terminal device #A.
  • the terminal device #A may periodically transmit the indication information #2 to the network device #A.
  • the terminal device #A can detect the size of the currently available space in real time or periodically, and when the size of the currently available space is less than or equal to the preset threshold #1 (ie, an example of the first threshold), to the network device # A sends the indication information #2.
  • the preset threshold #1 ie, an example of the first threshold
  • the network device #A may transmit the indication information #1 (an example of the third indication information) to the terminal device #A before transmitting the data to the terminal device #A, the indication information #1 being used to indicate the terminal device # A transmits the indication information #2 to the network device #A, whereby the terminal device #A can transmit the instruction information #2 to the network device #A based on the instruction information #1.
  • the indication information #1 an example of the third indication information
  • the network device #A may also periodically transmit the indication information #1.
  • Network device #A can determine data #b based on the priority of data #c.
  • the network device #A may determine, in the candidate data, data having a lower priority than the data #c as the data #b.
  • Network device #A may determine data #b based on the priority of the candidate data.
  • the network device #A may determine the data with lower priority among the candidate data as the data #b.
  • the network device #A may determine the data #b based on the time at which each candidate data needs to be submitted to the application layer of the terminal device #A.
  • the network device #A may determine data that is relatively late in the candidate data that needs to be submitted to the application layer as data #b.
  • the data #b may be an alternative data that needs to be submitted to The latest data at the application layer.
  • the method and the process for the network device #A to determine the time at which each candidate data needs to be submitted to the application layer may be similar to the method and process for determining the time #2 of the network device.
  • detailed description thereof is omitted.
  • the network device #A may transmit the instruction information #3 to the terminal device #A (that is, an example of the first indication information).
  • the indication information #3 is used to instruct the terminal device #A to delete the data #b from the cache (specifically, the cache space #b).
  • the indication information #3 may include information of an index of the data #b.
  • the indication information #3 may include information on the starting position and size of the cache space #b.
  • the indication information #3 may include information of the size of the cache space #b.
  • the indication information #3 may include information of the size of the data #b.
  • the indication information #3 may include a protocol layer to which the cache space #b belongs, and, by way of example and not limitation, the protocol layer to which the cache space #b belongs may be a PDCP layer, an RLC layer, and a MAC layer. Or a layer in the SDAP layer.
  • the terminal device #A can easily determine the data #b and the cache space #b based on the instruction information #3.
  • the indication information #3 may be a PDCP Protocol Data Unit (PDU). That is, the indication information #3 may be information that is encapsulated or parsed at the PDCP layer. Moreover, as an example and not limitation, in this case, it is preferable that the buffer space #b belongs to the PDCP layer, so that the terminal device can further determine that the buffer space #b belongs to the PDCP layer when determining that the indication information #3 is a PDCP PDU, thereby The signaling overhead for indicating the protocol layer to which the cache space #b belongs can be saved.
  • PDU PDCP Protocol Data Unit
  • the indication information #3 may be an RLC PDU. That is, the indication information #3 may be information that is encapsulated or parsed at the RLC layer. Moreover, as an example and not limitation, in this case, it is preferable that the buffer space #b belongs to the RLC layer, so that the terminal device can further determine that the cache space #b belongs to the RLC layer when determining that the indication information #3 is the RLC PDU, thereby The signaling overhead for indicating the protocol layer to which the cache space #b belongs can be saved.
  • the indication information #3 may be a MAC Control Unit (CE). That is, the indication information #3 may be information that is encapsulated or parsed at the MAC layer. Moreover, as an example and not limitation, in this case, it is preferable that the cache space #b belongs to the MAC layer, so that the terminal device can further determine that the cache space #b belongs to the MAC layer when determining that the indication information #3 is the MAC CE, thereby The signaling overhead for indicating the protocol layer to which the cache space #b belongs can be saved.
  • CE MAC Control Unit
  • the terminal device #A may delete the data #b from the cache space #b based on the instruction information #3.
  • network device #A may transmit data #c to terminal device #A at time #3.
  • the terminal device #A may buffer the data #c in the cache space #b, and at time #4, submit the data #c to the application layer of the terminal device #A.
  • the network device #A may transmit the data #b again to the terminal device #A.
  • data #b and data #a may be the same data or different data, and the present application is not particularly limited.
  • the network device before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
  • FIG. 3 shows a process of transmitting data #z (ie, an example of the first data) between the network device #B (for example, the access network device) and the terminal device #B, that is, the communication method 300.
  • data #z ie, an example of the first data
  • the data #z is data that the terminal device #B transmits to the network device #B at the time #c.
  • a plurality of data transmitted by the network device #B before the time #c are buffered in the buffer of the terminal device #B before the time #c.
  • the application layer #x may be installed in the application layer of the terminal device #B, and the application #x can perform the action corresponding to the data #x after inputting the data #x.
  • the terminal device #B can be an industrial robot.
  • the data #x may be an operation instruction for controlling the motion of the robot, so that the application #x can control the robot to perform the operation indicated by the operation instruction after inputting the data #x, and it should be understood that the terminal device #B enumerated above
  • the specific example is merely an illustrative example, and the present application is not limited thereto.
  • the terminal device #B may also be a terminal having various communication functions, such as a mobile phone or a smart home appliance, and capable of installing an application and implementing a function through the application. device.
  • network device #B can acquire the data #x.
  • the server of the application #x can be in communication connection with the network device #B (for example, a wired communication connection or a wireless communication connection).
  • the server can send data #x to network device #B.
  • the data #x may be input to the server by the designer of the operation instruction, or the server may generate the data #x based on a preset algorithm, which is not specifically limited.
  • the data #x may be input to the network device #B by the designer of the operation instruction.
  • the network device #B may also generate the data #x based on a preset algorithm.
  • the data #x may be data that the terminal device #B needs to submit to the application layer at the time #a.
  • the network device #B can determine the time #a in the following manner.
  • the server of the application #x can communicate with the network device #B (for example, a wired communication connection or a wireless communication connection).
  • the network device #B for example, a wired communication connection or a wireless communication connection.
  • the server can transmit the indication information of the time #a to the network device #B, that is, the network device #B can determine the time #a according to the instruction from the server.
  • the time #a may be input to the server by a designer of the operation instruction, or the server may also calculate the time #a based on a preset algorithm, and omitting the same or similar situation instruction of.
  • the manner in which the network device #B enumerated above determines the time #a is merely an exemplary description, and the present application is not limited thereto.
  • the administrator or the designer of the operation instruction may input the information of the time #a to The network device #B, whereby the network device #B can determine the time #a based on the input information.
  • the process of determining the data #x and the time #a by the network device #B may be performed simultaneously or in different steps, and the present application is not particularly limited.
  • the network device #B can transmit the data #x to the terminal device #B at time #b, wherein the time #b can be before the time #a.
  • the terminal device #B can receive the data #x before the time #a, and can save the data #x to the cache of the terminal device #B, hereinafter, for the sake of easy understanding and explanation, the terminal device#
  • the cache space for storing data #x in the cache of B is written as: cache space #x.
  • the terminal device #B may transmit the related information of the cache space #x (for example, the size and the start position of the cache space #x) to the network device #B.
  • the network device #B can record related information of the data #x.
  • the information about the data #x may include at least one of the following information:
  • size of data #x may refer to the number of bits included in the data #x, or "the size of the data #x” may refer to the size of the buffer space required for the data #x.
  • the information of the mapping relationship between the data #x and the time #a can be used to indicate that the data #x needs to be submitted to the application layer by the terminal device #B at the time #a.
  • the priority of the data may be used to indicate the urgency or importance of the data.
  • the priority of the data may be determined based on the service to which the data belongs, for example, if a certain data is used for immediate control of the terminal device, or If necessary, you can determine that the priority of the data is high priority.
  • the data only needs to be stored by the terminal device, it can be determined that the priority of the data is high priority
  • the network device #B can determine the priority of the data #x in the following manner.
  • the server of the application #x can communicate with the network device #B (for example, a wired communication connection or a wireless communication connection).
  • the network device #B for example, a wired communication connection or a wireless communication connection.
  • the server can transmit the indication information of the priority of the data #x to the network device #B, that is, the network device #B can determine the priority of the data #x according to the instruction from the server.
  • the priority of the data #x may be input to the server by the designer of the operation instruction, or the server may also calculate the priority of the data #x based on a preset algorithm. Explanations of the same or similar cases are omitted.
  • the manner in which the network device #B enumerated above determines the priority of the data #x is merely an exemplary description, and the present application is not limited thereto, for example, the administrator or the designer of the operation instruction may use the data #x
  • the priority information is input to the network device #B, whereby the network device #B can determine the priority of the data #x based on the input information.
  • the process of determining the priority of the data #x, the data #x, and the time #a by the network device #B may be performed simultaneously or in different steps, and the present application is not particularly limited.
  • the network device #B may determine the storage location of the data #x in the terminal device #B based on at least one of the following manners.
  • the terminal device #B after accessing the network device #B, the terminal device #B can report the size of the buffer space of the terminal device #B to the network device #B, so that the network device #B can be based on The number of data transmitted to the terminal device #B and the transmission time calculate the storage location of the data #x in the cache of the terminal device #B.
  • the network device #B can report based on the terminal device #B.
  • the information determines the storage location of data #x in terminal device #B.
  • Data #x is indexed in multiple data sent by network device #B to terminal device #B
  • the plurality of data may be respectively carried in different data packets, and an index of data carried in the data packet may be carried in each data packet, so that network device #B can be assigned to The index of each data is sent to the terminal device #B.
  • the terminal device #B can receive a plurality of data including the data #x from the network device #B, and can cache a plurality of data including the data #x in the cache. .
  • the time at which the plurality of data cached by the terminal device #B needs to be submitted to the application layer may be located before the time #3, or may be located after the time #3. This application is not specifically limited.
  • a plurality of candidate data are stored in the terminal device #B before the time #c.
  • the "alternative data” may refer to data that the terminal device #B receives from the network device #B and is buffered in the cache space and has not yet submitted to the application layer.
  • the data #z is data that needs to be submitted to the application layer by the terminal device #B at the time #d, and the time #d is located after the time #c. Therefore, the data #z needs to be cached in the cache space of the terminal device #B.
  • the candidate data is already cached in the cache space of the terminal device #B, there may be a case where the current available cache space of the terminal device #B (that is, the cache space where no data is stored) cannot satisfy the storage requirement of the data #z.
  • the terminal device #B may determine the data #y from the candidate data, or determine the cache space for storing the data #y (ie, an example of the first cache space) In the following, for ease of understanding and explanation, it is noted that the cache space #y). And, the terminal device #B can delete the data (ie, data #y) stored in the cache space #y, so that the terminal device #B can store part or all of the data #z in the cache space #y, below, The process is described in detail.
  • the terminal device may determine data #y or cache space #y based on the following manner.
  • the terminal device #B can determine the size of the cache space required for the data #z (hereinafter, referred to as a target cache space for ease of understanding and differentiation) according to the size of the data #z (for example, the number of bits included in the data #z).
  • the terminal device #B can determine the size of the data to be deleted (ie, the data #y) according to the size of the current available cache space of the terminal device #B and the target cache space, or determine the buffer space that needs to be cleared (ie, The size of the cache space #y).
  • the sum of the size of the cache space #y determined by the terminal device #B and the current available cache size in the terminal device #B may be greater than or equal to the size of the target cache space.
  • the size of the cache space #y determined by the terminal device #B may be greater than or equal to the size of the target cache space.
  • the data #y may be any data in the candidate data, or the cache space #y may be any cache space in the cache space occupied by the candidate data, as long as the cache space can be made.
  • the size of #y can satisfy the above conditions.
  • the terminal device #B can determine the data #y based on the priority of the data #z.
  • the terminal device #B may determine, in the candidate data, data having a lower priority than the data #z as the data #y.
  • the terminal device #B can determine the data #y based on the time at which each candidate data needs to be submitted to the application layer of the terminal device #B.
  • the terminal device #B may determine data that is relatively late in the candidate data that needs to be submitted to the application layer as data #y.
  • the data #y may be an alternative data that needs to be submitted to The latest data at the application layer.
  • the terminal device #B may transmit the data #z stored in the cache space #y to the network device at time #c.
  • the terminal device #B may transmit the instruction information #4 to the network device #B (that is, an example of the retransmission instruction information).
  • the indication information #4 is used to instruct the network device #B to resend the data #y.
  • the indication information #4 may include information of an index of the data #y.
  • the indication information #4 may include information on the starting position and size of the cache space #y.
  • the indication information #4 may include information of the size of the cache space #y.
  • the indication information #4 may include information of the size of the data #y.
  • the network device #B can easily determine the data #y based on the indication information #4.
  • the network device #B may resend the data #y to the terminal device #B based on the indication information #4.
  • the network device before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
  • the terminal device before the terminal device needs to send the first data to the network device at the preset time, the terminal device can delete the second data currently stored in the first cache space of the terminal device, so that the terminal can be enabled.
  • the device stores the first data in the first cache space, thereby ensuring that the first data can be sent at the preset time, so that the influence on the communication and the control caused by the buffer of the terminal device being too small can be avoided.
  • FIG. 4 is a schematic diagram 1 of a communication device 10 according to an embodiment of the present disclosure.
  • the device 10 may be a terminal device, or may be a chip or a circuit, such as a chip that can be disposed on a terminal device or Circuit.
  • the apparatus 10 can include a processor 11 (i.e., an example of a processing unit) and a memory 12.
  • the memory 12 is configured to store instructions for executing the instructions stored in the memory 12 to enable the apparatus 20 to implement a terminal device (eg, the terminal device #A described above) in a corresponding method as in FIG. 2 or FIG. Or the steps performed by terminal device #B).
  • a terminal device eg, the terminal device #A described above
  • the device 10 may further include an input port 13 (ie, an example of a communication unit) and an output port 14 (ie, another example of a communication unit).
  • the processor 11, memory 12, input port 13 and output port 14 can communicate with one another via internal connection paths to communicate control and/or data signals.
  • the memory 12 is configured to store a computer program, and the processor 11 can be used to call and run the computer program from the memory 12 to control the input port 13 to receive signals, and control the output port 14 to send signals to complete the terminal device in the above method.
  • the memory 12 can be integrated in the processor 11 or can be provided separately from the processor 11.
  • the input port 13 may be a receiver
  • the output port 14 may be a transmitter.
  • the receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
  • the input port 13 is an input interface
  • the output port 14 is an output interface
  • the device 10 may not include the memory 12, and the processor 11 may read an instruction (program or code) in the memory external to the chip to implement the foregoing 2 or the function of the terminal device in the corresponding method in FIG.
  • the functions of the input port 13 and the output port 14 can be implemented by a dedicated chip through a transceiver circuit or a transceiver.
  • the processor 11 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
  • the terminal device provided by the embodiment of the present application may be implemented by using a general-purpose computer.
  • the program code that implements the functions of the processor 11, the input port 13, and the output port 14 is stored in the memory 12, and the general purpose processor implements the functions of the processor 11, the input port 13, and the output port 14 by executing the code in the memory 12.
  • the functions and actions of the modules or units in the communication device 10 listed above are merely exemplary.
  • the modules or units in the communication device 10 may be used to execute the terminal device in the above method 200 or 300 (for example, the above terminal device # Each operation or processing executed by A or terminal device #B) is omitted here for avoiding redundancy.
  • FIG. 5 is a schematic diagram of a device 30 for communication according to an embodiment of the present disclosure.
  • the device 30 may be a network device, or may be a chip or a circuit, such as a network device. Chip or circuit inside.
  • the apparatus 30 can include a processor 31 (ie, an example of a processing unit) and a memory 32.
  • the memory 32 is configured to store instructions for executing the instructions stored by the memory 32 to cause the apparatus 30 to implement the network device (eg, the network device #A described above) in the corresponding method of FIG. 2 or FIG. Or network device #B) steps performed.
  • the device 30 may further include an input port 33 (ie, an example of a communication unit) and an output port 33 (ie, another example of the processing unit).
  • the processor 31, memory 32, input port 33, and output port 34 can communicate with one another via internal connection paths to communicate control and/or data signals.
  • the memory 32 is used to store a computer program.
  • the processor 31 can be used to call and run the computer program from the memory 32 to control the input port 33 to receive signals, and control the output port 34 to send signals to complete the terminal in the method 200.
  • the memory 32 can be integrated in the processor 31 or can be provided separately from the processor 31.
  • the control input port 33 receives the signal, and the control output port 34 transmits a signal to complete the steps of the receiving end device in the above method.
  • the memory 32 can be integrated in the processor 31 or can be provided separately from the processor 31.
  • the input port 33 is a receiver
  • the output port 34 is a transmitter.
  • the receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
  • the input port 33 is an input interface
  • the output port 34 is an output interface
  • the device 30 may not include the memory 32, and the processor 31 may read an instruction (program or code) in the memory external to the chip to implement the foregoing 2 or the function of the network device in the corresponding method in FIG.
  • the functions of the input port 33 and the output port 34 can be implemented by a dedicated chip through a transceiver circuit or a transceiver.
  • the processor 31 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
  • the manner of using a general-purpose computer can be considered to implement the receiving end device provided by the embodiment of the present application.
  • the program code that implements the functions of the processor 31, the input port 33, and the output port 34 is stored in a memory, and the general purpose processor implements the functions of the processor 31, the input port 33, and the output port 34 by executing code in the memory.
  • modules or units in the communication device 30 listed above are merely exemplary. Each module or unit in the communication device 30 may be used to perform various actions or processes performed by the network device in the foregoing method 200 or 300. In the process, detailed descriptions are omitted here to avoid redundancy.
  • FIG. 6 is a schematic structural diagram of a terminal device 20 provided by the present application, which can be used to implement the functions of the terminal device in the method shown in FIG. 2 or FIG.
  • the terminal device 20 can be applied to the system shown in FIG.
  • FIG. 6 shows only the main components of the terminal device.
  • the terminal device 20 includes a processor, a memory, a control circuit, an antenna, and an input and output device.
  • the processor is mainly used for processing the communication protocol and the communication data, and controlling the entire terminal device, executing the software program, and processing the data of the software program, for example, in the embodiment of the indication method for supporting the terminal device to perform the foregoing transmission precoding matrix.
  • the memory is primarily used to store software programs and data, such as the codebooks described in the above embodiments.
  • the control circuit is mainly used for converting baseband signals and radio frequency signals and processing radio frequency signals.
  • the control circuit together with the antenna can also be called a transceiver, and is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, keyboards, etc., are primarily used to receive user input data and output data to the user.
  • the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal, and then sends the radio frequency signal to the outside through the antenna in the form of electromagnetic waves.
  • the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
  • FIG. 4 shows only one memory and processor for ease of illustration. In an actual terminal device, there may be multiple processors and memories.
  • the memory may also be referred to as a storage medium or a storage device, and the like.
  • the processor may include a baseband processor and a central processing unit, and the baseband processor is mainly used to process the communication protocol and the communication data, and the central processing unit is mainly used to control and execute the entire terminal device.
  • the processor in FIG. 4 integrates the functions of the baseband processor and the central processing unit.
  • the baseband processor and the central processing unit can also be independent processors and interconnected by technologies such as a bus.
  • the terminal device may include a plurality of baseband processors to accommodate different network standards, and the terminal device may include a plurality of central processors to enhance its processing capabilities, and various components of the terminal devices may be connected through various buses.
  • the baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip.
  • the central processing unit can also be expressed as a central processing circuit or a central processing chip.
  • the functions of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to implement the baseband processing function.
  • the antenna and control circuit having the transceiving function can be regarded as the transceiving unit 201 of the terminal device 20, and the processor having the processing function is regarded as the processing unit 202 of the terminal device 20.
  • the terminal device 20 includes a transceiver unit 201 and a processing unit 202.
  • the transceiver unit can also be referred to as a transceiver, a transceiver, a transceiver, and the like.
  • the device for implementing the receiving function in the transceiver unit 201 can be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 201 is regarded as a transmitting unit, that is, the transceiver unit 201 includes a receiving unit and a transmitting unit.
  • the receiving unit may also be referred to as a receiver, a receiver, a receiving circuit, etc.
  • the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit or the like.
  • FIG. 7 is a schematic structural diagram of a network device (for example, an access network device) according to an embodiment of the present disclosure, which may be used to implement the functions of the network device in the method shown in FIG. 2 or FIG.
  • a network device e.g., base station
  • the network device 40 includes one or more radio frequency units, such as a remote radio unit (RRU) 401 and one or more baseband units (BBUs) (also referred to as digital units, DUs). 402.
  • RRU remote radio unit
  • BBUs baseband units
  • the RRU 401 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., which may include at least one antenna 4011 and a radio frequency unit 4012.
  • the RRU 401 is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals and baseband signals, for example, for transmitting the signaling messages described in the foregoing embodiments to the terminal device.
  • the BBU 402 portion is mainly used for performing baseband processing, controlling a base station, and the like.
  • the RRU 401 and the BBU 402 may be physically disposed together or physically separated, that is, distributed base stations.
  • the BBU 402 is a control center of a base station, and may also be referred to as a processing unit, and is mainly used to perform baseband processing functions such as channel coding, multiplexing, modulation, spreading, and the like.
  • the BBU (processing unit) 402 can be used to control the base station 40 to perform the operation procedure of the network device in the foregoing method embodiment.
  • the BBU 402 may be composed of one or more boards, and multiple boards may jointly support a single access standard radio access network (such as an LTE system or a 5G system), or may support different ones. Access to the standard wireless access network.
  • the BBU 402 also includes a memory 4021 and a processor 4022.
  • the memory 4021 is used to store necessary instructions and data.
  • the memory 4021 stores the codebook or the like in the above embodiment.
  • the processor 4022 is configured to control the base station to perform necessary actions, for example, to control the base station to perform an operation procedure about the network device in the foregoing method embodiment.
  • the memory 4021 and the processor 4022 can serve one or more boards. That is, the memory and processor can be set separately on each board. It is also possible that multiple boards share the same memory and processor. In addition, the necessary circuits can be set on each board.
  • SoC System-on-chip
  • all or part of the functions of the 402 part and the 401 part may be implemented by the SoC technology, for example, by a base station function chip.
  • the base station function chip integrates a processor, a memory, an antenna interface and the like.
  • the program of the base station related function is stored in the memory, and the processor executes the program to implement the related functions of the base station.
  • the base station function chip is also capable of reading a memory external to the chip to implement related functions of the base station.
  • FIG. 7 It should be understood that the structure of the network device illustrated in FIG. 7 is only one possible form, and should not be construed as limiting the embodiments of the present application. This application does not preclude the possibility of other forms of base station architecture that may arise in the future.
  • the embodiment of the present application further provides a communication system, which includes the foregoing sending end device and receiving end device.
  • the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), and dedicated integration.
  • DSPs digital signal processors
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (ROMM), an erasable programmable read only memory (erasable PROM, EPROM), or an electrical Erase programmable EPROM (EEPROM) or flash memory.
  • the volatile memory can be a random access memory (RAM) that acts as an external cache.
  • RAM random access memory
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic randomness synchronous dynamic randomness.
  • Synchronous DRAM SDRAM
  • DDR SDRAM double data rate synchronous DRAM
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous connection dynamic random access memory Take memory
  • DR RAM direct memory bus random access memory
  • the above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination.
  • the above-described embodiments may be implemented in whole or in part in the form of a computer program product.
  • the computer program product comprises one or more computer instructions or computer programs.
  • the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that contains one or more sets of available media.
  • the usable medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium.
  • the semiconductor medium can be a solid state hard drive.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk.

Abstract

The present application provides a communication method and a communication apparatus. The communication method comprises: a terminal device receives first instruction information sent by a network device, the first instruction information being used for instructing the terminal device to delete first data from a cache, the first data being sent by the network device to the terminal device and stored in a first cache space in the cache, and the first data being not submitted to an application layer of the terminal device yet; the terminal device deletes the first data from the cache according to the first instruction information, and the terminal device receives second data sent by the network device and stores a part or all of the second data in the first cache space. Therefore, communication and control may not be affected when the cache of the terminal device is too small.

Description

通信方法和通信装置Communication method and communication device
本申请要求于2017年10月19日提交中国专利局、申请号为201710979453.7、申请名称为“通信方法和通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. PCT Application No. No. No. No. No. No. No. No. No. No. No. No.
技术领域Technical field
本申请涉及通信领域,更具体地,涉及通信方法和通信装置。The present application relates to the field of communications, and more particularly to a communication method and a communication device.
背景技术Background technique
目前已知一种控制技术,通信设备需要在规定时刻执行所接收到的数据对应的动作,因此,需要确保数据在该规定时刻之前到达通信设备,对此,可以利用定时通信技术,即,终端设备可以在缓存中存储需要在该规定时刻之前发送给网络设备的数据,并在该规定时刻向网络设备发送数据。并且,终端设备可以在缓存中存储从网络设备接收的数据,并在规定时刻将该数据提交至应用层。A control technique is currently known in which a communication device needs to perform an action corresponding to the received data at a predetermined time. Therefore, it is necessary to ensure that the data arrives at the communication device before the specified time. For this, a timing communication technology, that is, a terminal can be utilized. The device may store data in the cache that needs to be sent to the network device before the specified time, and send data to the network device at the specified time. And, the terminal device can store the data received from the network device in the cache and submit the data to the application layer at a specified time.
但是,受终端设备硬件配置的影响,终端设备的缓存的大小可能无法满足数据的缓存要求,导致上述控制技术无法实现。However, due to the hardware configuration of the terminal device, the size of the cache of the terminal device may not meet the data cache requirement, and the above control technology cannot be implemented.
发明内容Summary of the invention
本申请提供一种通信方法和通信装置,能够避免因终端设备的缓存过小而导致对通信和控制的影响。The present application provides a communication method and communication apparatus capable of avoiding an influence on communication and control due to a buffer of a terminal device being too small.
第一方面,提供了一种通信方法,包括:终端设备接收网络设备发送的第一指示信息,该第一指示信息用于指示该终端设备从缓存中删除第一数据,该第一数据是该网络设备发送给该终端设备的数据,该第一数据存储在该缓存中的第一缓存空间,该第一数据尚未提交至该终端设备的应用层;该终端设备根据该第一指示信息,从该缓存中删除该第一数据;该终端设备接收该网络设备发送的第二数据,并在该第一缓存空间中存储该第二数据的部分或全部。In a first aspect, a communication method is provided, including: receiving, by a terminal device, first indication information that is sent by a network device, where the first indication information is used to indicate that the terminal device deletes first data from a cache, where the first data is Data sent by the network device to the terminal device, the first data is stored in the first cache space in the cache, the first data has not been submitted to the application layer of the terminal device; and the terminal device is configured according to the first indication information. The first data is deleted in the cache; the terminal device receives the second data sent by the network device, and stores part or all of the second data in the first cache space.
根据本申请的通信方法,在网络设备需要向终端设备发送需要终端设备存储在缓存中的第二数据之前,通过使网络设备指示终端设备删除当前正存储在终端设备的第一缓存空间中的第一数据,能够使终端设备在该第一缓存空间中存储从网络设备接收的第二数据,从而,能够确保该第二数据能够被存储至终端设备的缓存中,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
可选地,在该终端设备接收网络设备发送的第一指示信息之前,该方法还包括:该终端设备向该网络设备发送第二指示信息,该第二指示信息用于指示该缓存中当前的可用缓存空间的大小,其中,该第一数据是该网络设备根据该第二指示信息确定的。Optionally, before the receiving, by the terminal device, the first indication information sent by the network device, the method further includes: the terminal device sending the second indication information to the network device, where the second indication information is used to indicate the current The size of the available cache space, wherein the first data is determined by the network device according to the second indication information.
根据本申请的通信方法通过使网络设备根据终端设备当前的可用缓存空间确定第一 缓存空间(即,用于存储第一数据的缓存空间),能够可靠地满足第二数据对缓存空间的需求,从而能够进一步提高本申请的效果。The communication method according to the present application can reliably satisfy the requirement of the second data to the cache space by causing the network device to determine the first cache space (ie, the cache space for storing the first data) according to the current available cache space of the terminal device. Thereby, the effect of the present application can be further improved.
可选地,该第二指示信息还用于指示该缓存中缓存的数据需要提交至该应用层的时间,和/或该第二指示信息还用于指示该缓存中缓存的数据的优先级。Optionally, the second indication information is further used to indicate the time that the cached data in the cache needs to be submitted to the application layer, and/or the second indication information is further used to indicate the priority of the data cached in the cache.
根据本申请的通信方法通过使网络设备根据终端设备当前缓存的数据需要提交至应用层的时间和/或终端设备当前缓存的数据的优先级确定第一缓存空间(即,用于存储第一数据的缓存空间),能够避免重要数据或急需提交至应用层的数据被选为第一数据,从而,能够提高申请的实用性。The communication method according to the present application determines the first cache space (ie, for storing the first data) by causing the network device to submit the data to the application layer according to the data currently buffered by the terminal device and/or the priority of the data currently cached by the terminal device. The cache space) can avoid important data or data that is urgently required to be submitted to the application layer to be selected as the first data, thereby improving the practicability of the application.
可选地,所示第二指示信息还用于指示所述第一缓存空间所属于的协议层,其中,所述协议层包括分组数据汇聚协议PDCP层、无线链路控制协议RLC层、媒体接入控制MAC层或业务数据自适应SDAP层。Optionally, the second indication information is further used to indicate a protocol layer to which the first cache space belongs, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection. Incoming control MAC layer or service data adaptive SDAP layer.
可选地,所示第二指示信息还用于指示所述第一数据当前缓存于的协议层,其中,所述协议层包括分组数据汇聚协议PDCP层、无线链路控制协议RLC层、媒体接入控制MAC层或业务数据自适应SDAP层。Optionally, the second indication information is further used to indicate a protocol layer that the first data is currently cached, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection. Incoming control MAC layer or service data adaptive SDAP layer.
可选地,所示第二指示信息承载于PDCP协议数据单元PDU。Optionally, the second indication information shown is carried in a PDCP Protocol Data Unit PDU.
可选地,所示第二指示信息承载于RLC PDU。Optionally, the second indication information shown is carried in the RLC PDU.
可选地,所示第二指示信息承载于MAC控制单元CE。Optionally, the second indication information shown is carried in the MAC control unit CE.
可选地,所示第二指示信息承载于下行控制信息DCI。Optionally, the second indication information is carried in the downlink control information DCI.
可选地,该终端设备向该网络设备发送第二指示信息,包括:该终端设备周期性向该网络设备发送该第二指示信息。Optionally, the terminal device sends the second indication information to the network device, where the terminal device periodically sends the second indication information to the network device.
可选地,该终端设备向该网络设备发送第二指示信息,包括:该终端设备在当前的可用缓存空间的大小小于或等于预设的第一阈值时,向该网络设备发送该第二指示信息。Optionally, the terminal device sends the second indication information to the network device, where the terminal device sends the second indication to the network device when the size of the current available buffer space is less than or equal to a preset first threshold. information.
根据本申请的通信方法,通过使终端设备在确定当前可用缓存空间较小时向网络设备发送该第二指示信息,能够使网络设备及时获知终端设备当前可用的缓存空间无法满足第二数据的缓存要求,从而触发第一指示信息的下发过程,能够进一步提高本申请的通信方法的可靠性和效果。According to the communication method of the present application, by enabling the terminal device to send the second indication information to the network device when determining that the currently available cache space is small, the network device can know in time that the currently available cache space of the terminal device cannot meet the cache requirement of the second data. In order to trigger the delivery process of the first indication information, the reliability and effect of the communication method of the present application can be further improved.
可选地,该终端设备在接收到该网络设备发送的第三指示信息后,向该网络设备发送该第二指示信息,该第三指示信息用于指示该终端设备向该网络设备发送第二指示信息。Optionally, after receiving the third indication information sent by the network device, the terminal device sends the second indication information to the network device, where the third indication information is used to indicate that the terminal device sends the second information to the network device. Instructions.
可选地,该第一数据是该网络设备根据该第二数据的相关信息确定的,其中该第二数据的相关信息包括该第二数据的大小的信息,且该缓存中当前可用缓存空间和该第一缓存空间能够存储的数据的大小大于或等于该第二数据的大小。Optionally, the first data is determined by the network device according to the related information of the second data, where the related information of the second data includes information about a size of the second data, and a buffer space currently available in the cache The size of the data that can be stored in the first cache space is greater than or equal to the size of the second data.
从而,能够进一步确保第二数据所需要的缓存空间得到满足。Thereby, it is possible to further ensure that the buffer space required for the second data is satisfied.
可选地,该第二数据的相关信息包括该第二数据的优先级的信息,且该第二数据的优先级高于该第一数据的优先级,或该第二数据的优先级与该第一数据的优先级相同。Optionally, the related information of the second data includes information about a priority of the second data, and the priority of the second data is higher than a priority of the first data, or a priority of the second data The first data has the same priority.
可选地,在本申请实施例中数据的优先级是根据以下至少一种参数确定的:Optionally, the priority of the data in the embodiment of the present application is determined according to at least one of the following parameters:
该数据的传输时延、该数据的传输可靠性、该数据的传输抖动、该数据需要递交至应用层的时间。The transmission delay of the data, the reliability of the transmission of the data, the jitter of the data, and the time the data needs to be delivered to the application layer.
可选地,该数据的传输时延、该数据的传输可靠性或该数据的传输抖动是根据该数据所属于的承载的服务质量等级指示QCI确定的。Optionally, the transmission delay of the data, the reliability of transmission of the data, or the transmission jitter of the data is determined according to the quality of service level indication QCI of the bearer to which the data belongs.
从而,能够避免重要数据被选为第一数据,能够提高申请的实用性。Thereby, it is possible to prevent the important data from being selected as the first data, and it is possible to improve the practicability of the application.
可选地,该第一指示信息还用于指示该第一数据在该缓存中的位置。Optionally, the first indication information is further used to indicate a location of the first data in the cache.
可选地,该第一指示信息还用于指示该第一数据在该缓存数据中的索引。Optionally, the first indication information is further used to indicate an index of the first data in the cached data.
可选地,该第一指示信息还用于指示该第一数据的大小。Optionally, the first indication information is further used to indicate a size of the first data.
从而能够使终端设备容易地确定该第一数据。Thereby, the terminal device can be made to easily determine the first data.
可选地,该通信方法还包括:该终端设备接收该网络设备重新发送的该第一数据。Optionally, the communication method further includes: the terminal device receiving the first data that is retransmitted by the network device.
第二方面,提供了一种通信方法,包括:网络设备向终端设备发送第一指示信息,该第一指示信息用于指示该终端设备从缓存中删除第一数据,该第一数据是该网络设备发送给该终端设备的数据,该第一数据存储在该缓存中的第一缓存空间,该第一数据尚未提交至该终端设备的应用层;该网络设备向该终端设备发送第二数据,该第二数据的部分或全部被该终端设备存储在该第一缓存空间中。The second aspect provides a communication method, including: the network device sends the first indication information to the terminal device, where the first indication information is used to indicate that the terminal device deletes the first data from the cache, where the first data is the network Data sent by the device to the terminal device, the first data is stored in the first cache space in the cache, the first data is not yet submitted to the application layer of the terminal device; the network device sends the second data to the terminal device, Part or all of the second data is stored in the first cache space by the terminal device.
根据本申请的通信方法,在网络设备需要向终端设备发送需要终端设备存储在缓存中的第二数据之前,通过使网络设备指示终端设备删除当前正存储在终端设备的第一缓存空间中的第一数据,能够使终端设备在该第一缓存空间中存储从网络设备接收的第二数据,从而,能够确保该第二数据能够被存储至终端设备的缓存中,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
可选地,所示第二指示信息还用于指示所述第一缓存空间所属于的协议层,其中,所述协议层包括分组数据汇聚协议PDCP层、无线链路控制协议RLC层、媒体接入控制MAC层或业务数据自适应SDAP层。Optionally, the second indication information is further used to indicate a protocol layer to which the first cache space belongs, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection. Incoming control MAC layer or service data adaptive SDAP layer.
可选地,所示第二指示信息还用于指示所述第一数据当前缓存于的协议层,其中,所述协议层包括分组数据汇聚协议PDCP层、无线链路控制协议RLC层、媒体接入控制MAC层或业务数据自适应SDAP层。Optionally, the second indication information is further used to indicate a protocol layer that the first data is currently cached, where the protocol layer includes a packet data convergence protocol PDCP layer, a radio link control protocol RLC layer, and a media connection. Incoming control MAC layer or service data adaptive SDAP layer.
可选地,所示第二指示信息承载于PDCP协议数据单元PDU。Optionally, the second indication information shown is carried in a PDCP Protocol Data Unit PDU.
可选地,所示第二指示信息承载于RLC PDU。Optionally, the second indication information shown is carried in the RLC PDU.
可选地,所示第二指示信息承载于MAC控制单元CE。Optionally, the second indication information shown is carried in the MAC control unit CE.
可选地,所示第二指示信息承载于下行控制信息DCI。Optionally, the second indication information is carried in the downlink control information DCI.
可选地,在网络设备向终端设备发送第一指示信息之前,该方法还包括:该网络设备从该终端设备接收第二指示信息,该第二指示信息用于指示该缓存中当前的可用缓存空间的大小;该网络设备根据该第二指示信息确定该第一数据。Optionally, before the sending, by the network device, the first indication information to the terminal device, the method further includes: receiving, by the network device, the second indication information, where the second indication information is used to indicate the current available cache in the cache. The size of the space; the network device determines the first data according to the second indication information.
根据本申请的通信方法通过使网络设备根据终端设备当前的可用缓存空间确定第一缓存空间(即,用于存储第一数据的缓存空间),能够可靠地满足第二数据对缓存空间的需求,从而能够进一步提高本申请的效果。The communication method according to the present application can reliably satisfy the requirement of the second data to the cache space by causing the network device to determine the first cache space (ie, the cache space for storing the first data) according to the current available cache space of the terminal device. Thereby, the effect of the present application can be further improved.
可选地,该第二指示信息还用于指示该缓存中缓存的数据需要提交至该应用层的时间,和/或,该第二指示信息还用于指示该缓存中缓存的数据的优先级。Optionally, the second indication information is further used to indicate a time that the cached data in the cache needs to be submitted to the application layer, and/or the second indication information is further used to indicate a priority of the cached data in the cache. .
根据本申请的通信方法通过使网络设备根据终端设备当前缓存的数据需要提交至应用层的时间和/或终端设备当前缓存的数据的优先级确定第一缓存空间(即,用于存储第一数据的缓存空间),能够避免重要数据或急需提交至应用层的数据被选为第一数据,从而,能够提高申请的实用性。The communication method according to the present application determines the first cache space (ie, for storing the first data) by causing the network device to submit the data to the application layer according to the data currently buffered by the terminal device and/or the priority of the data currently cached by the terminal device. The cache space) can avoid important data or data that is urgently required to be submitted to the application layer to be selected as the first data, thereby improving the practicability of the application.
可选地,在本申请实施例中数据的优先级是根据以下至少一种参数确定的:Optionally, the priority of the data in the embodiment of the present application is determined according to at least one of the following parameters:
该数据的传输时延、该数据的传输可靠性、该数据的传输抖动、该数据需要递交至应用层的时间。The transmission delay of the data, the reliability of the transmission of the data, the jitter of the data, and the time the data needs to be delivered to the application layer.
可选地,该数据的传输时延、该数据的传输可靠性或该数据的传输抖动是根据该数据所属于的承载的服务质量等级指示QCI确定的。Optionally, the transmission delay of the data, the reliability of transmission of the data, or the transmission jitter of the data is determined according to the quality of service level indication QCI of the bearer to which the data belongs.
可选地,该第二是指信息是该终端设备周期性发送的。Optionally, the second means that the information is periodically sent by the terminal device.
可选地,该第二指示信息是该终端设备在确定当前的可用缓存空间的大小小于或等于预设的第一阈值时发送的。Optionally, the second indication information is sent by the terminal device when determining that the size of the current available cache space is less than or equal to a preset first threshold.
根据本申请的通信方法,通过使终端设备在确定当前可用缓存空间较小时向网络设备发送该第二指示信息,能够使网络设备及时获知终端设备当前可用的缓存空间无法满足第二数据的缓存要求,从而触发第一指示信息的下发过程,能够进一步提高本申请的通信方法的可靠性和效果。According to the communication method of the present application, by enabling the terminal device to send the second indication information to the network device when determining that the currently available cache space is small, the network device can know in time that the currently available cache space of the terminal device cannot meet the cache requirement of the second data. In order to trigger the delivery process of the first indication information, the reliability and effect of the communication method of the present application can be further improved.
可选地,该第二指示信息是该终端设备根据从该网络设备接收到的第三指示信息发送的,该第三指示信息用于指示该终端设备向该网络设备发送第二指示信息。Optionally, the second indication information is sent by the terminal device according to the third indication information received from the network device, where the third indication information is used to indicate that the terminal device sends the second indication information to the network device.
可选地,在网络设备向终端设备发送第一指示信息之前,该方法还包括:该网络设备根据该第二数据的相关信息确定该第一数据,其中该第二数据的相关信息包括该第二数据的大小的信息,且该缓存中当前可用缓存空间和该第一缓存空间能够存储的数据的大小大于或等于该第二数据的大小。Optionally, before the sending, by the network device, the first indication information to the terminal device, the method further includes: determining, by the network device, the first data according to the related information of the second data, where the related information of the second data includes the first The information of the size of the data, and the currently available buffer space in the cache and the size of the data that the first buffer space can store are greater than or equal to the size of the second data.
从而,能够进一步确保第二数据所需要的缓存空间得到满足。Thereby, it is possible to further ensure that the buffer space required for the second data is satisfied.
可选地,在网络设备向终端设备发送第一指示信息之前,该方法还包括:该网络设备根据该第二数据的相关信息确定该第一数据,其中,第二数据的相关信息包括该第二数据的优先级的信息,且该第二数据的优先级高于该第一数据的优先级。Optionally, before the sending, by the network device, the first indication information to the terminal device, the method further includes: determining, by the network device, the first data according to the related information of the second data, where the related information of the second data includes the first The priority information of the two data, and the priority of the second data is higher than the priority of the first data.
从而,能够避免重要数据被选为第一数据,能够提高申请的实用性Thereby, it is possible to prevent important data from being selected as the first data, and it is possible to improve the practicability of the application.
可选地,该通信方法还包括:该网络设备重新向该终端设备发送该第一数据。Optionally, the communication method further includes: the network device resending the first data to the terminal device.
可选地,该第一指示信息还用于指示该第一数据在该缓存中的位置。Optionally, the first indication information is further used to indicate a location of the first data in the cache.
可选地,该第一指示信息还用于指示该第一数据在该缓存数据中的索引。Optionally, the first indication information is further used to indicate an index of the first data in the cached data.
可选地,该第一指示信息还用于指示该第一数据的大小。Optionally, the first indication information is further used to indicate a size of the first data.
从而能够使终端设备容易地确定该第一数据。Thereby, the terminal device can be made to easily determine the first data.
第三方面,提供了一种通信方法,包括:终端设备在需要向网络设备发送第一数据时,从该终端设备的缓存中删除第二数据,该第二数据是该终端设备从该网络设备接收的数据,该第二数据存储在该缓存中的第一缓存空间,该第二数据尚未提交至该终端设备的应用层;该终端设备在该第一缓存空间中存储该第一数据的部分或全部,并在预设的发送时刻,向该网络设备发送该第一数据;该终端设备向该网络设备发送重传指示信息,该重传指示信息用于指示该网络设备重新发送该第二数据;该终端设备接收该网络设备根据该重传指示信息重新发送的第二数据。The third aspect provides a communication method, including: when the terminal device needs to send the first data to the network device, deleting the second data from the cache of the terminal device, where the second data is the terminal device from the network device Received data, the second data is stored in a first cache space in the cache, the second data has not been submitted to an application layer of the terminal device; the terminal device stores the portion of the first data in the first cache space Or all, and sending the first data to the network device at a preset sending time; the terminal device sends retransmission indication information to the network device, where the retransmission indication information is used to instruct the network device to resend the second Data; the terminal device receives second data that is retransmitted by the network device according to the retransmission indication information.
根据本申请的通信方法,在终端设备需要向网络设备在预设时刻发送需要第一数据之前,通过使终端设备删除当前正存储在终端设备的第一缓存空间中的第二数据,能够使终端设备在该第一缓存空间中存储该第一数据,从而,能够确保该第一数据能够在该预设时刻被发送,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the terminal device needs to send the first data to the network device at the preset time, the terminal device can delete the second data currently stored in the first cache space of the terminal device, so that the terminal can be enabled. The device stores the first data in the first cache space, thereby ensuring that the first data can be sent at the preset time, so that the influence on the communication and the control caused by the buffer of the terminal device being too small can be avoided.
可选地,在从该终端设备的缓存中删除第二数据之前,该方法还包括:该终端设备根 据参考信息,确定该第二数据,其中,该参考信息用于指示以下至少一种参数:该第一缓存空间的大小、该缓存中当前的可用缓存空间的大小、该第一数据的优先级、该缓存中缓存的数据的优先级、该发送时刻、该缓存中存储的该终端设备从该网络设备接收的数据需要提交至该终端设备的应用层的时刻。Optionally, before deleting the second data from the cache of the terminal device, the method further includes: determining, by the terminal device, the second data according to the reference information, where the reference information is used to indicate at least one of the following parameters: The size of the first cache space, the size of the current available cache space in the cache, the priority of the first data, the priority of the data cached in the cache, the sending time, and the terminal device stored in the cache The data received by the network device needs to be submitted to the application layer of the terminal device.
可选地,该缓存中当前可用缓存空间和该第一缓存空间能够存储的数据的大小大于或等于该第一数据的大小。Optionally, the currently available cache space in the cache and the size of the data that the first cache space can store are greater than or equal to the size of the first data.
可选地,该第一数据的优先级高于该第二数据的优先级,或该第一数据的优先级与该第二数据的优先级相同。Optionally, the priority of the first data is higher than the priority of the second data, or the priority of the first data is the same as the priority of the second data.
可选地,该第二数据需要提交至该终端设备的应用层的时刻处于该发送时刻之后。Optionally, the moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
根据本申请的通信方法通过使网络设备根据终端设备当前缓存的数据需要提交至应用层的时间、终端设备当前缓存的数据的优先级和当前可用缓存空间确定第一缓存空间(即,用于存储第二数据的缓存空间),能够避免重要数据或急需提交至应用层的数据被选为第二数据,并且能够可靠地满足第一数据对缓存空间的需求,从而能够进一步提高本申请的效果,能够提高申请的实用性。The communication method according to the present application determines the first cache space (ie, for storage by causing the network device to submit to the application layer according to the data currently cached by the terminal device, the priority of the data currently cached by the terminal device, and the currently available cache space. The buffer space of the second data can prevent important data or data that is urgently required to be submitted to the application layer from being selected as the second data, and can reliably satisfy the requirement of the first data to the cache space, thereby further improving the effect of the present application. Can improve the practicality of the application.
第四方面,提供了一种通信方法,包括:网络设备接收终端设备在预设的发送时刻发送的第一数据,其中,该第一数据的部分或全部在该发送时刻之前被存在第一缓存空间中,该第一缓存空间在存储该第一数据之前用于存储第二数据,该第二数据是该终端设备从该网络设备接收的数据,该第二数据尚未提交至该终端设备的应用层,该第二数据是该终端设备在确定需要发送该第一数据时被该终端设备从该第一缓存空间删除的;该网络设备从该终端设备接收重传指示信息,该重传指示信息用于指示该网络设备重新发送该第二数据;该网络设备根据该重传指示信息重新向该终端设备发送第二数据。A fourth aspect provides a communication method, including: receiving, by a network device, first data that is sent by a terminal device at a preset sending time, where part or all of the first data is stored in the first buffer before the sending time In the space, the first cache space is used to store second data before storing the first data, where the second data is data received by the terminal device from the network device, and the second data has not been submitted to the terminal device. The second data is that the terminal device is deleted from the first cache space by the terminal device when determining that the first data needs to be sent; the network device receives retransmission indication information, the retransmission indication information from the terminal device And configured to instruct the network device to resend the second data; the network device resends the second data to the terminal device according to the retransmission indication information.
根据本申请的通信方法,在终端设备需要向网络设备在预设时刻发送需要第一数据之前,通过使终端设备删除当前正存储在终端设备的第一缓存空间中的第二数据,能够使终端设备在该第一缓存空间中存储该第一数据,从而,能够确保该第一数据能够在该预设时刻被发送,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the terminal device needs to send the first data to the network device at the preset time, the terminal device can delete the second data currently stored in the first cache space of the terminal device, so that the terminal can be enabled. The device stores the first data in the first cache space, thereby ensuring that the first data can be sent at the preset time, so that the influence on the communication and the control caused by the buffer of the terminal device being too small can be avoided.
可选地,该第二数据是该终端设备根据参考信息确定的,其中,该参考信息用于指示以下至少一种参数:该第一缓存空间的大小、该缓存中当前的可用缓存空间的大小、该第一数据的优先级、该缓存中缓存的数据的优先级、该发送时刻、该缓存中存储的该终端设备从该网络设备接收的数据需要提交至该终端设备的应用层的时刻。Optionally, the second data is determined by the terminal device according to the reference information, where the reference information is used to indicate at least one of the following parameters: a size of the first cache space, and a size of a current available cache space in the cache. The priority of the first data, the priority of the data cached in the cache, the time of the transmission, and the time at which the data received by the terminal device in the cache from the network device needs to be submitted to the application layer of the terminal device.
可选地,该缓存中当前可用缓存空间和该第一缓存空间能够存储的数据的大小大于或等于该第一数据的大小。Optionally, the currently available cache space in the cache and the size of the data that the first cache space can store are greater than or equal to the size of the first data.
可选地,该第一数据的优先级高于该第二数据的优先级。Optionally, the priority of the first data is higher than the priority of the second data.
可选地,该第二数据需要提交至该终端设备的应用层的时刻处于该发送时刻之后。Optionally, the moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
根据本申请的通信方法通过使网络设备根据终端设备当前缓存的数据需要提交至应用层的时间、终端设备当前缓存的数据的优先级和当前可用缓存空间确定第一缓存空间(即,用于存储第二数据的缓存空间),能够避免重要数据或急需提交至应用层的数据被选为第二数据,并且能够可靠地满足第一数据对缓存空间的需求,从而能够进一步提高本申请的效果,能够提高申请的实用性。The communication method according to the present application determines the first cache space (ie, for storage by causing the network device to submit to the application layer according to the data currently cached by the terminal device, the priority of the data currently cached by the terminal device, and the currently available cache space. The buffer space of the second data can prevent important data or data that is urgently required to be submitted to the application layer from being selected as the second data, and can reliably satisfy the requirement of the first data to the cache space, thereby further improving the effect of the present application. Can improve the practicality of the application.
第五方面,提供了一种通信装置,包括用于执行上述第一方面至第四方面中的任一方 面及其实施方式中的各步骤的单元。In a fifth aspect, there is provided a communication apparatus comprising means for performing the steps of any of the first to fourth aspects described above and embodiments thereof.
可选地,该装置包括芯片或电路,如可设置于通信设备内的芯片或电路。Optionally, the device comprises a chip or circuit, such as a chip or circuit that can be disposed within the communication device.
可选地,该装置为通信设备,例如,终端设备或网络设备。Optionally, the device is a communication device, such as a terminal device or a network device.
第六方面,提供了一种通信设备,包括存储器和处理器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得通信设备执行上述第一方面至第四方面中的任一方面及其实施方式中的通信方法。In a sixth aspect, a communication device is provided, comprising a memory and a processor for storing a computer program for calling and running the computer program from a memory, such that the communication device performs the first to fourth aspects described above A communication method in any of the aspects and embodiments thereof.
第七方面,提供了一种芯片系统,包括存储器和处理器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得安装有该芯片系统的通信设备执行上述第一方面或第二方面中的任一方面及其实施方式中的通信方法。In a seventh aspect, a chip system is provided, comprising a memory and a processor for storing a computer program, the processor for calling and running the computer program from the memory, such that the communication device on which the chip system is installed performs the above The communication method of any of the first aspect or the second aspect and the embodiment thereof.
第八方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码被通信设备(例如,终端设备或网络设备)的通信单元、处理单元或收发器、处理器运行时,使得通信设备执行上述第一方面至第四方面中的任一方面及其实施方式中的通信方法。In an eighth aspect, a computer program product is provided, the computer program product comprising: computer program code, when the computer program code is processed by a communication unit, a processing unit or a transceiver of a communication device (eg, a terminal device or a network device) When the device is in operation, the communication device is caused to perform the communication method in any of the above first to fourth aspects and embodiments thereof.
第九方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序,该程序使得通信设备(例如,终端设备或网络设备)执行上述第一方面至第四方面中的任一方面及其实施方式中的通信方法。According to a ninth aspect, there is provided a computer readable storage medium storing a program causing a communication device (eg, a terminal device or a network device) to perform any of the above first to fourth aspects On the one hand and the communication method in its embodiment.
根据本申请实施例的通信方法和通信装置,能够降低无线传输方式的传输时延的不确定性对接收端设备的动作执行的影响。According to the communication method and the communication device of the embodiment of the present application, it is possible to reduce the influence of the uncertainty of the transmission delay of the wireless transmission mode on the action execution of the receiving device.
附图说明DRAWINGS
图1是本申请实施例的传通信系统的一例的示意性图。1 is a schematic diagram showing an example of a communication system according to an embodiment of the present application.
图2是本申请实施例的通信方法的一例的示意性流程图。FIG. 2 is a schematic flowchart of an example of a communication method according to an embodiment of the present application.
图3是本申请实施例的通信方法的另一例的示意性流程图。FIG. 3 is a schematic flowchart of another example of a communication method according to an embodiment of the present application.
图4是本申请实施例的通信装置的一例的示意性流程图。FIG. 4 is a schematic flowchart of an example of a communication device according to an embodiment of the present application.
图5是本申请实施例的通信装置的另一例的示意性流程图。FIG. 5 is a schematic flowchart of another example of a communication device according to an embodiment of the present application.
图6是本申请实施例的终端设备的一例的示意性流程图。FIG. 6 is a schematic flowchart of an example of a terminal device according to an embodiment of the present application.
图7是本申请实施例的接入网设备的另一例的示意性流程图。FIG. 7 is a schematic flowchart of another example of an access network device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component," "module," "system," and the like, as used in this specification, are used to mean a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside within a process and/or execution thread, and the components can be located on one computer and/or distributed between two or more computers. Moreover, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on signals having one or more data packets (eg, data from two components interacting with another component between the local system, the distributed system, and/or the network, such as the Internet interacting with other systems) Communicate through local and/or remote processes.
应理解,本申请实施例可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)或下一代通信系统等,这里,下一代通信系统可以包括例如,第五代(fifth-generation,5G)通信系统。It should be understood that the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, and Wideband Code Division Multiple Access. (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system , Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (WiFi), or next-generation communication systems, etc., where the next generation communication system may include, for example. , fifth-generation (5G) communication system.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device to Device,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(Machine Type Communication,MTC),以及车辆间(Vehicle to Vehicle,V2V)通信。In general, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technologies, mobile communication systems will not only support traditional communication, but also support, for example, device to device (Device to Device, D2D) communication, Machine to Machine (M2M) communication, Machine Type Communication (MTC), and Vehicle to Vehicle (V2V) communication.
本申请的通信方法可以应用于网络设备和终端设备之间的通信。The communication method of the present application can be applied to communication between a network device and a terminal device.
作为示例而非限定,在本申请实施例中,终端设备也可以称为用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备可以是WLAN中的站点(STAION,ST),可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备以及下一代通信系统,例如,5G网络中的终端设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的终端设备等。By way of example and not limitation, in the embodiment of the present application, the terminal device may also be referred to as a user equipment (User Equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, Mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device can be a station in the WLAN (STAION, ST), which can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, and a personal digital processing. (Personal Digital Assistant, PDA) device, handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, in-vehicle device, wearable device, and next-generation communication system, for example, a terminal device in a 5G network or Terminal equipment in the future evolution of the Public Land Mobile Network (PLMN) network.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。By way of example and not limitation, in the embodiment of the present application, the terminal device may also be a wearable device. A wearable device, which can also be called a wearable smart device, is a general term for applying wearable technology to intelligently design and wear wearable devices such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are more than just a hardware device, but they also implement powerful functions through software support, data interaction, and cloud interaction. Generalized wearable smart devices include full-featured, large-size, non-reliable smartphones for full or partial functions, such as smart watches or smart glasses, and focus on only one type of application, and need to work with other devices such as smartphones. Use, such as various smart bracelets for smart signs monitoring, smart jewelry, etc.
此外,在本申请实施例中,终端设备还可以是物联网(Internet of Things,IoT)系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。In addition, in the embodiment of the present application, the terminal device may also be a terminal device in an Internet of Things (IoT) system, and the IoT is an important component of future information technology development, and its main technical feature is to pass the article through the communication technology. Connected to the network to realize an intelligent network of human-machine interconnection and physical interconnection.
在本申请实施例中,IOT技术可以通过例如窄带(Narrow Band)NB技术,做到海量连接,深度覆盖,终端省电。例如,NB只包括一个资源块(Resource Block,RB),即,NB的带宽只有180KB。要做到海量接入,必须要求终端在接入上是离散的,根据本申请实施例的通信方法,能够有效解决IOT技术海量终端在通过NB接入网络时的拥塞问题。In the embodiment of the present application, the IOT technology can achieve massive connection, deep coverage, and terminal power saving through, for example, Narrow Band NB technology. For example, the NB includes only one Resource Block (RB), that is, the bandwidth of the NB is only 180 KB. To achieve massive access, the terminal must be required to be discrete in access. According to the communication method of the embodiment of the present application, the congestion problem of the IOT technology massive terminal when accessing the network through the NB can be effectively solved.
接入网设备可以是接入网设备等用于与移动设备通信的设备,接入网设备可以是WLAN中的接入点(Access Point,AP),GSM或CDMA中的基站(Base Transceiver Station, BTS),也可以是WCDMA中的基站(NodeB,NB),或者是新型无线系统(New Radio,NR)系统中的gNB,还可以是LTE中的演进型基站(Evolutional Node B,eNB或eNodeB),或者中继站或接入点,或者车载设备、可穿戴设备以及未来5G网络中的接入网设备或者未来演进的PLMN网络中的接入网设备等。The access network device may be a device for communicating with the mobile device, such as an access network device, and the access network device may be an access point (AP) in the WLAN, a base station in the GSM or CDMA (Base Transceiver Station, BTS), which may also be a base station (NodeB, NB) in WCDMA, or a gNB in a new radio system (NR) system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE. , or a relay station or an access point, or an in-vehicle device, a wearable device, and an access network device in a future 5G network or an access network device in a future evolved PLMN network.
另外,在本申请实施例中,接入网设备为小区提供服务,终端设备通过该小区使用的传输资源(例如,频域资源,或者说,频谱资源)与接入网设备进行通信,该小区可以是接入网设备(例如基站)对应的小区,小区可以属于宏基站,也可以属于小小区(Small cell)对应的基站,这里的小小区可以包括:城市小区(Metro cell)、微小区(Micro cell)、微微小区(Pico cell)、毫微微小区(Femto cell)等,这些小小区具有覆盖范围小、发射功率低的特点,适用于提供高速率的数据传输服务。In addition, in the embodiment of the present application, the access network device provides a service for the cell, and the terminal device communicates with the access network device by using a transmission resource (for example, a frequency domain resource, or a spectrum resource) used by the cell, where the cell It may be a cell corresponding to an access network device (for example, a base station), and the cell may belong to a macro base station or a base station corresponding to a small cell, where the small cell may include: a metro cell and a micro cell ( Micro cell), Pico cell, Femto cell, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services.
此外,LTE系统或5G系统中的载波上可以同时有多个小区同频工作,在某些特殊场景下,也可以认为上述载波与小区的概念等同。例如在载波聚合(Carrier Aggregation,CA)场景下,当为UE配置辅载波时,会同时携带辅载波的载波索引和工作在该辅载波的辅小区的小区标识(Cell Indentify,Cell ID),在这种情况下,可以认为载波与小区的概念等同,比如UE接入一个载波和接入一个小区是等同的。In addition, multiple carriers can work at the same frequency on the carrier in the LTE system or the 5G system. In some special scenarios, the concept of the carrier and the cell can be considered to be equivalent. For example, in a carrier aggregation (CA) scenario, when a secondary carrier is configured for a UE, the carrier index of the secondary carrier and the cell identifier (Cell ID) of the secondary cell working in the secondary carrier are simultaneously carried. In this case, the concept of the carrier and the cell can be considered to be equivalent, for example, the UE accessing one carrier and accessing one cell are equivalent.
核心网设备可以与多个接入网设备连接,用于控制接入网设备,并且,可以将从网络侧(例如,互联网)接收到的数据分发至接入网设备。The core network device can be connected to multiple access network devices for controlling the access network device, and can distribute data received from the network side (for example, the Internet) to the access network device.
其中,以上列举的终端设备、接入网设备和核心网设备的功能和具体实现方式仅为示例性说明,本申请并未限定于此。The functions and specific implementation manners of the terminal device, the access network device, and the core network device listed above are merely exemplary descriptions, and the application is not limited thereto.
在本申请实施例中,终端设备可以是数据的接收端设备,网络设备可以是数据的发送端设备。In this embodiment, the terminal device may be a receiving device of data, and the network device may be a transmitting device of data.
或者,在本申请实施例中,网络设备可以是数据的接收端设备,终端设备可以是数据的接收端设备。Alternatively, in the embodiment of the present application, the network device may be a receiving end device of data, and the terminal device may be a receiving end device of data.
其中,接收端设备能够从发送端设备接收数据,并在应用层执行该数据对应的动作(或者说,处理)。作为示例而非限定,例如,该接收端设备可以是受控制设备(例如,可编程逻辑控制器(Programmable Logic Controller,PLC)控制的设备,例如,工业机器人等,具体地说,该接收端设备能够接收(例如,直接接收或通过中继设备接收)来自控制器(例如,上述PLC)的操作指令(即,数据的一例),并执行该操作指令指示的动作。应理解,以上列举的发送端设备或接收端设备的具体示例仅为示例性说明,本申请并未限定于此。The receiving end device is capable of receiving data from the transmitting end device, and performing an action (or processing) corresponding to the data at the application layer. By way of example and not limitation, for example, the receiving end device may be a controlled device (eg, a Programmable Logic Controller (PLC) controlled device, such as an industrial robot, etc., specifically, the receiving end device An operation command (ie, an example of data) from a controller (eg, the PLC described above) can be received (eg, received directly or received by a relay device) and the actions indicated by the operation command can be performed. It should be understood that the above enumerated transmissions Specific examples of the end device or the sink device are merely exemplary, and the present application is not limited thereto.
作为示例而非限定,在本申请实施例中,接收端设备可以包括传输层(或者说,通信模块)和应用层(或者说,功能执行模块),其中,该传输层用于基于无线通信方式或有线通信方式接收或发送数据,该应用层用于执行所接收到的数据对应的处理(例如,执行所接收到的操作指令指示的动作)。作为示例而非限定,接收端设备可以是工业机器人等智能设备。作为示例而非限定,该传输层可以具有现有的任意通信协议,或者说,空中接口(air interface)协议实现无线通信,例如,该传输层可以包括通信协议栈。并且,该应用层可以运行应用程序,并由应用程序控制该接收端设备的动作。By way of example and not limitation, in the embodiment of the present application, the receiving end device may include a transport layer (or a communication module) and an application layer (or a function execution module), where the transport layer is used for wireless communication. Or receiving or transmitting data in a wired communication manner, the application layer is configured to perform processing corresponding to the received data (eg, performing an action indicated by the received operation instruction). By way of example and not limitation, the receiving end device may be a smart device such as an industrial robot. By way of example and not limitation, the transport layer can have any existing communication protocol, or an air interface protocol can implement wireless communication, for example, the transport layer can include a communication protocol stack. And, the application layer can run the application, and the application controls the action of the receiving device.
类似地,发送端设备也配置有传输层(例如,上述通信协议栈),并通过该传输层实现无线通信。Similarly, the transmitting device is also configured with a transport layer (for example, the above communication protocol stack), and wireless communication is implemented through the transport layer.
这里,通信协议栈也可以称为协议栈(Protocol Stack),是指网络中各层协议的总和, 其形象的反映了一个网络中文件传输的过程:由上层协议到底层协议,再由底层协议到上层协议。Here, the communication protocol stack may also be referred to as a protocol stack, which refers to the sum of layers of protocols in the network, and its image reflects the process of file transfer in a network: from the upper layer protocol to the underlying protocol, and then by the underlying protocol. Go to the upper layer agreement.
作为实例而非限定,在本申请实施例中,无线通信所使用的协议栈可以包括以下至少一个协议层或多个协议层的组合,每层协议都可以存在多种协议实体:As an example and not limitation, in the embodiment of the present application, the protocol stack used by the wireless communication may include at least one protocol layer or a combination of multiple protocol layers, and each layer protocol may have multiple protocol entities:
I1.分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层I1. Packet Data Convergence Protocol (PDCP) layer
PDCP层位于RLC层之上,负责处理分组业务的业务数据。PDCP主要用于处理空中接口上承载网络层的分组数据,例如网际协议(Internet Protocol,IP)数据流。PDCP层主要用于对信息进行压缩和解压缩/加密和解密The PDCP layer is located above the RLC layer and is responsible for processing the service data of the packet service. PDCP is mainly used to process packet data carrying network layers on the air interface, such as Internet Protocol (IP) data streams. The PDCP layer is mainly used to compress and decompress/encrypt and decrypt information.
I2.无线链路控制(Radio Link Control,RLC)层I2. Radio Link Control (RLC) layer
RLC是第三代移动系统中为了保证数据传输业务可靠服务质量(QoS)而制定的协议。这是因为移动通信在无线电传播环境中的数据传输信道状况很差,传输数据的误码率极高,因此保证数据传输业务的服务质量是一项艰巨的任务。RLC is a protocol developed in the third generation mobile system to ensure reliable quality of service (QoS) for data transmission services. This is because the data transmission channel condition of the mobile communication in the radio propagation environment is very poor, and the error rate of the transmission data is extremely high, so ensuring the service quality of the data transmission service is an arduous task.
RLC层位于MAC层之上,主要用于为上层提供不同数据链路类型的抽象。其中最主要的是提供可靠的数据传输链路,该链路类型用于屏蔽掉无线链路带来的影响并为上层提供可靠的数据传输。RLC层通过使用不同的数据包收发处理机制(如分段和自动重传请求(Automatic Repeat-reQuest,ARQ)等)实现这些逻辑链路抽象。RLC层可以对信息进行分段和级联或对分段和级联的信息进行重组。The RLC layer is located above the MAC layer and is mainly used to provide an abstraction of different data link types for the upper layer. The most important of these is to provide a reliable data transmission link, which is used to shield the impact of the wireless link and provide reliable data transmission for the upper layer. The RLC layer implements these logical link abstractions by using different packet transceiving mechanisms such as segmentation and automatic repeat-reQuest (ARQ). The RLC layer can segment and concatenate information or reassemble segmented and concatenated information.
I3.媒体接入控制(Media Access Control,MAC)层I3. Media Access Control (MAC) layer
MAC层层位于物理层之上,主要负责控制与连接物理层的物理介质,用于对传输格式组合的选择,实现调度和混合自动重传请求(Hybrid Automatic Repeat Request,HARQ)的相关功能。The MAC layer is located above the physical layer and is mainly responsible for controlling and connecting the physical medium of the physical layer, for selecting a combination of transport formats, and implementing related functions of scheduling and hybrid automatic repeat request (HARQ).
其中,上述PDCP层、RLC层和MAC层也可以称为L2层The PDCP layer, the RLC layer, and the MAC layer may also be referred to as an L2 layer.
I4.物理(Physical)层I4. Physical layer
PHY层也可以称为L1层,主要用于为MAC层和高层提供信息传输的服务,根据选择的传输格式组合进行编码调制处理或解调解码处理。The PHY layer may also be referred to as an L1 layer, and is mainly used to provide information transmission services for the MAC layer and the upper layer, and performs code modulation processing or demodulation decoding processing according to the selected transmission format combination.
I5.无线资源管理(Radio Resource Control,RRC)层I5. Radio Resource Control (RRC) layer
RRC层也可以称为L3层,可以包括但不限于以下功能:The RRC layer may also be referred to as an L3 layer and may include, but is not limited to, the following functions:
(1)广播系统信息。(1) Broadcast system information.
(2)RRC连接控制,包括:(2) RRC connection control, including:
a.寻呼。a. Paging.
b.RRC连接建立、修改和释放。b. RRC connection establishment, modification and release.
c.初始安全激活。c. Initial security activation.
d.RRC连接移动性,包括同频和异频切换、相关的安全处理、密钥/算法改变、网络节点间传输的RRC上下文信息规范。d. RRC connection mobility, including co-frequency and inter-frequency handover, related security processing, key/algorithm change, RRC context information specification for transmission between network nodes.
e.用户数据资源块承载的建立、修改和释放。e. Establishment, modification, and release of user data resource block bearers.
f.无线资源配置管理,包括ARQ配置、HARQ配置、非连续接收(Discontinuous reception,DRX)配置的分配和修改等。f. Radio resource configuration management, including ARQ configuration, HARQ configuration, Discontinuous reception (DRX) configuration allocation and modification.
g.QoS控制,包括上下行半持续调度配置信息、UE侧上行速率控制参数的配置和修改。g. QoS control, including uplink and downlink semi-persistent scheduling configuration information, configuration and modification of UE side uplink rate control parameters.
h.无线链路失败恢复。h. Radio link failure recovery.
(3)无线接入技术(RadioAccessTechnology,RAT)间转移性。(3) Transferability between Radio Access Technology (RAT).
(4)测量配置与报告,具体地说,可以包括以下过程:(4) Measurement configuration and report, specifically, may include the following process:
a.测量的建立、修改和释放(例如同频、异频以及不同RAT的测量)。a. Establishment, modification, and release of measurements (eg, co-frequency, inter-frequency, and measurements of different RATs).
b.建立和释放测量间隔。b. Establish and release measurement intervals.
c.测量报告。c. Measurement report.
(5)其他的功能,例如非3GPP专用信息的传输、UE无线接入性能信息的传输等。(5) Other functions, such as transmission of non-3GPP specific information, transmission of UE radio access performance information, and the like.
(6)通用协议错误处理。(6) General protocol error handling.
(7)自配置和自优化。(7) Self-configuration and self-optimization.
I6.业务数据自适应(Service Data Adaptation Protocol,SDAP)层I6. Service Data Adaptation Protocol (SDAP) layer
其中,该SDAP层可以位于PDCP层之上,负责各类QoS的数据流与数据无线承载之间的映射,标记上下行数据包中的数据流标识。The SDAP layer may be located on the PDCP layer, and is responsible for mapping between data flows of various QoSs and data radio bearers, and marking data flow identifiers in uplink and downlink data packets.
应理解,以上列举的通信协议栈包括的各协议层及各协议层的功能仅为示例性说明,本申请并未限定于此,其他能够用于无线通信或有线通信的协议层及其功能均落入本申请实施例的保护范围内。It should be understood that the functions of the protocol layers and the protocol layers included in the communication protocol stack enumerated above are merely exemplary. The application is not limited thereto, and other protocol layers and functions that can be used for wireless communication or wired communication are It falls within the scope of protection of the embodiments of the present application.
另外,在本申请实施例中,在上述各协议层可以分别具有缓存空间,其中,每个协议层对应的缓存空间可以用于缓存从其他层接收到的数据,或者,每个协议层对应的缓存空间可以用于缓存需要发送至其他层的数据。In addition, in the embodiment of the present application, each of the foregoing protocol layers may have a cache space, where a buffer space corresponding to each protocol layer may be used to cache data received from other layers, or corresponding to each protocol layer. Cache space can be used to cache data that needs to be sent to other layers.
在本申请实施例中,终端设备或网络设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。该硬件层包括中央处理器(Central Processing Unit,CPU)、内存管理单元(Memory Management Unit,MMU)和内存(也称为主存)等硬件。该操作系统可以是任意一种或多种通过进程(Process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。该应用层包含浏览器、通讯录、文字处理软件、即时通信软件等应用。并且,本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是终端设备或网络设备,或者,是终端设备或网络设备中能够调用程序并执行程序的功能模块。In the embodiment of the present application, the terminal device or the network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory). The operating system may be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, contacts, word processing software, and instant messaging software. Moreover, the specific structure of the execution body of the method provided by the embodiment of the present application is not particularly limited as long as the program of the code of the method provided by the embodiment of the present application can be run by using the program according to the present application. The method can be communicated. For example, the execution body of the method provided by the embodiment of the present application may be a terminal device or a network device, or a function module that can call a program and execute a program in the terminal device or the network device.
此外,本申请实施例的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(Compact Disc,CD)、数字通用盘(Digital Versatile Disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Furthermore, various aspects or features of embodiments of the present application can be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or media. For example, the computer readable medium may include, but is not limited to, a magnetic storage device (eg, a hard disk, a floppy disk, or a magnetic tape, etc.), such as a compact disc (CD), a digital versatile disc (Digital Versatile Disc, DVD). Etc.), smart cards and flash memory devices (eg, Erasable Programmable Read-Only Memory (EPROM), cards, sticks or key drivers, etc.). Additionally, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, without limitation, a wireless channel and various other mediums capable of storing, containing, and/or carrying instructions and/or data.
需要说明的是,在本申请实施例中,在应用层可以运行多个应用程序,此情况下,执行本申请实施例的通信方法的应用程序与用于控制接收端设备完成所接收到的数据所对 应的动作的应用程序可以是不同的应用程序。It should be noted that, in the embodiment of the present application, multiple applications may be run at the application layer. In this case, the application that performs the communication method of the embodiment of the present application is used to control the receiving device to complete the received data. The application of the corresponding action can be a different application.
图1是能够适用本申请实施例通信方法的系统100的示意图。如图1所示,该系统100包括接入网设备102,接入网设备102可包括1个天线或多个天线例如,天线104、106、108、110、112和114。另外,接入网设备102可附加地包括发射机链和接收机链,本领域普通技术人员可以理解,它们均可包括与信号发送和接收相关的多个部件(例如处理器、调制器、复用器、解调器、解复用器或天线等)。1 is a schematic diagram of a system 100 in which a communication method of an embodiment of the present application can be applied. As shown in FIG. 1, the system 100 includes an access network device 102, which may include one antenna or multiple antennas, such as antennas 104, 106, 108, 110, 112, and 114. In addition, access network device 102 may additionally include a transmitter chain and a receiver chain, as will be understood by those of ordinary skill in the art, which may include multiple components associated with signal transmission and reception (eg, processor, modulator, complex) Consumer, demodulator, demultiplexer or antenna, etc.).
接入网设备102可以与多个终端设备(例如终端设备116和终端设备122)通信。然而,可以理解,接入网设备102可以与类似于终端设备116或终端设备122的任意数目的终端设备通信。终端设备116和122可以是例如蜂窝电话、智能电话、便携式电脑、手持通信设备、手持计算设备、卫星无线电装置、全球定位系统、PDA和/或用于在无线通信系统100上通信的任意其它适合设备。 Access network device 102 can communicate with a plurality of terminal devices, such as terminal device 116 and terminal device 122. However, it will be appreciated that the access network device 102 can communicate with any number of terminal devices similar to the terminal device 116 or the terminal device 122. Terminal devices 116 and 122 may be, for example, cellular telephones, smart phones, portable computers, handheld communication devices, handheld computing devices, satellite radios, global positioning systems, PDAs, and/or any other suitable for communicating over wireless communication system 100. device.
如图1所示,终端设备116与天线112和114通信,其中天线112和114通过前向链路(也称为下行链路)118向终端设备116发送信息,并通过反向链路(也称为上行链路)120从终端设备116接收信息。此外,终端设备122与天线104和106通信,其中天线104和106通过前向链路124向终端设备122发送信息,并通过反向链路126从终端设备122接收信息。As shown in FIG. 1, terminal device 116 is in communication with antennas 112 and 114, wherein antennas 112 and 114 transmit information to terminal device 116 over a forward link (also referred to as downlink) 118 and through the reverse link (also Information referred to as uplink 120 receives information from terminal device 116. In addition, terminal device 122 is in communication with antennas 104 and 106, wherein antennas 104 and 106 transmit information to terminal device 122 over forward link 124 and receive information from terminal device 122 over reverse link 126.
例如,在频分双工(Frequency Division Duplex,FDD)系统中,例如,前向链路118可与反向链路120使用不同的频带,前向链路124可与反向链路126使用不同的频带。For example, in a Frequency Division Duplex (FDD) system, for example, forward link 118 can use a different frequency band than reverse link 120, and forward link 124 can be used differently than reverse link 126. Frequency band.
再例如,在时分双工(Time Division Duplex,TDD)系统和全双工(Full Duplex)系统中,前向链路118和反向链路120可使用共同频带,前向链路124和反向链路126可使用共同频带。As another example, in a Time Division Duplex (TDD) system and a Full Duplex system, the forward link 118 and the reverse link 120 can use a common frequency band, a forward link 124, and a reverse link. Link 126 can use a common frequency band.
被设计用于通信的每个天线(或者由多个天线组成的天线组)和/或区域称为接入网设备102的扇区。例如,可将天线组设计为与接入网设备102覆盖区域的扇区中的终端设备通信。接入网设备可以通过单个天线或多天线发射分集向其对应的扇区内所有的终端设备发送信号。在接入网设备102通过前向链路118和124分别与终端设备116和122进行通信的过程中,接入网设备102的发射天线也可利用波束成形来改善前向链路118和124的信噪比。此外,与接入网设备通过单个天线或多天线发射分集向它所有的终端设备发送信号的方式相比,在接入网设备102利用波束成形向相关覆盖区域中随机分散的终端设备116和122发送信号时,相邻小区中的移动设备会受到较少的干扰。Each antenna (or set of antennas consisting of multiple antennas) and/or regions designed for communication is referred to as a sector of the access network device 102. For example, the antenna group can be designed to communicate with terminal devices in sectors of the coverage area of the access network device 102. The access network device can transmit signals to all of the terminal devices in its corresponding sector by single antenna or multi-antenna transmit diversity. In the process in which the access network device 102 communicates with the terminal devices 116 and 122 via the forward links 118 and 124, respectively, the transmit antenna of the access network device 102 can also utilize beamforming to improve the forward links 118 and 124. Signal to noise ratio. In addition, the access network device 102 utilizes beamforming to selectively distribute the terminal devices 116 and 122 in the associated coverage area as compared to the manner in which the access network device transmits signals to all of its terminal devices through single antenna or multi-antenna transmit diversity. When transmitting a signal, mobile devices in neighboring cells are subject to less interference.
在给定时间,接入网设备102、终端设备116或终端设备122可以是无线通信发送装置和/或无线通信接收装置。当发送数据时,无线通信发送装置可对数据进行编码以用于传输。具体地,无线通信发送装置可获取(例如生成、从其它通信装置接收、或在存储器中保存等)要通过信道发送至无线通信接收装置的一定数目的数据比特。这种数据比特可包含在数据的传输块(或多个传输块)中,传输块可被分段以产生多个码块。At a given time, the access network device 102, the terminal device 116, or the terminal device 122 may be a wireless communication transmitting device and/or a wireless communication receiving device. When transmitting data, the wireless communication transmitting device can encode the data for transmission. In particular, the wireless communication transmitting device may acquire (eg, generate, receive from other communication devices, or store in memory, etc.) a certain number of data bits to be transmitted over the channel to the wireless communication receiving device. Such data bits may be included in a transport block (or multiple transport blocks) of data that may be segmented to produce multiple code blocks.
此外,该通信系统100可以是PLMN网络、D2D网络、M2M网络、IoT网络或者其他网络,图1只是举例的简化示意图,网络中还可以包括其他接入网设备,图1中未予以画出。In addition, the communication system 100 can be a PLMN network, a D2D network, an M2M network, an IoT network, or other networks. FIG. 1 is only a simplified schematic diagram of an example, and the network may also include other access network devices, which are not shown in FIG.
并且,尽管未图示,但是通信系统100还包括与接入网设备102通信连接的核心网设备。Also, although not shown, the communication system 100 also includes a core network device communicatively coupled to the access network device 102.
下面,结合图2和图3,对本申请实施例的通信方法进行详细说明。The communication method of the embodiment of the present application will be described in detail below with reference to FIG. 2 and FIG. 3.
图2示出了网络设备#A(例如,接入网设备)和终端设备#A之间传输数据#c(即,第二数据的一例)的过程,即,通信方法200。2 shows a process of transmitting data #c (ie, an example of second data) between the network device #A (for example, an access network device) and the terminal device #A, that is, the communication method 200.
其中,数据#c是网络设备#A在时刻#3发送给终端设备#A的数据。Among them, the data #c is the data that the network device #A transmits to the terminal device #A at the time #3.
并且,在时刻#3之前在终端设备#A的缓存内缓存有网络设备#A在时刻#3之前发送的多个数据。Further, a plurality of data transmitted by the network device #A before the time #3 are buffered in the buffer of the terminal device #A before the time #3.
首先,以数据#a的传输过程为例,对该网络设备#A和终端设备#A在时刻#3之前的数据传输过程进行说明。First, the data transmission process of the network device #A and the terminal device #A before the time #3 will be described by taking the transmission process of the data #a as an example.
其中,终端设备#A的应用层中可以安装有应用程序#a,该应用程序#a能够在输入数据#a后,执行该数据#a对应的动作,例如,终端设备#A可以是工业机器人,该数据#a可以是控制机器人的动作的操作指令,从而,该应用程序#a能够在输入数据#a后,控制机器人执行操作指令指示的动作,应理解,以上列举的终端设备#A的具体实例仅为示例性说明,本申请并未限定于此,该终端设备#A也可以是手机或智能家电等各种具有通信功能、并且能够安装应用程序、并通过该应用程序实现功能的终端设备。The application layer #a can be installed in the application layer of the terminal device #A, and the application #a can perform the action corresponding to the data #a after inputting the data #a. For example, the terminal device #A can be an industrial robot. The data #a may be an operation command for controlling the motion of the robot. Therefore, the application #a can control the robot to perform the operation indicated by the operation command after inputting the data #a, and it should be understood that the terminal device #A listed above The specific example is merely an exemplary description, and the present application is not limited thereto. The terminal device #A may also be a terminal having various communication functions, such as a mobile phone or a smart home appliance, and capable of installing an application and implementing a function through the application. device.
在S210,网络设备#A可以获取该数据#a。At S210, network device #A can acquire the data #a.
例如,该应用程序#a的服务器可以与网络设备#A通信连接(例如,有线通信连接或无线通信连接)。从而,该服务器可以将数据#a发送给网络设备#A。并且,数据#a可以是由操作指令的设计人员输入至该服务器的,或者,该服务器也可以基于预设的算法生成该数据#a,本申请并未特别限定。For example, the server of the application #a can communicate with the network device #A (for example, a wired communication connection or a wireless communication connection). Thus, the server can send data #a to network device #A. Moreover, the data #a may be input to the server by the designer of the operation instruction, or the server may generate the data #a based on a preset algorithm, which is not specifically limited.
或者,该数据#a可以是由操作指令的设计人员输入至该网络设备#A。Alternatively, the data #a may be input to the network device #A by a designer of the operation instruction.
或者,该网络设备#A也可以基于预设的算法生成该数据#a。Alternatively, the network device #A may also generate the data #a based on a preset algorithm.
应理解,以上列举的网络设备#A获取数据#a方法和过程仅为示例性说明,本申请并未限定于此。It should be understood that the above-listed network device #A acquisition data #a method and process are merely exemplary, and the application is not limited thereto.
其中,该数据#a可以是终端设备#A需要在时刻#1提交至应用层的数据。The data #a may be data that the terminal device #A needs to submit to the application layer at time #1.
作为示例而非限定,在本申请实施例中,网络设备#A可以通过以下方式确定该时刻#1。By way of example and not limitation, in the embodiment of the present application, the network device #A can determine the time #1 in the following manner.
具体地说,该应用程序#a的服务器可以与网络设备#A通信连接(例如,有线通信连接或无线通信连接)。Specifically, the server of the application #a can communicate with the network device #A (for example, a wired communication connection or a wireless communication connection).
从而,该服务器可以将该时刻#1的指示信息发送给网络设备#A,即,网络设备#A可以根据来自服务器的指示,确定时刻#1。Thus, the server can transmit the indication information of the time #1 to the network device #A, that is, the network device #A can determine the time #1 according to the instruction from the server.
作为示例而非限定,该时刻#1可以是由操作指令的设计人员输入至该服务器的,或者,该服务器也可以基于预设的算法计算获得该时刻#1,以下,省略对相同或相似情况的说明。As an example and not by way of limitation, the time #1 may be input to the server by a designer of the operation instruction, or the server may also calculate the time #1 based on a preset algorithm, and omitting the same or similar situation instruction of.
应理解,以上列举的网络设备#A确定时刻#1的方式仅为示例性说明,本申请并未限定于此,例如,管理员或操作指令的设计员可以将该时刻#1的信息输入至该网络设备#A,从而,网络设备#A能够基于所输入的信息,确定该时刻#1。It should be understood that the manner in which the network device #A enumerated above determines the time #1 is merely an exemplary description, and the present application is not limited thereto. For example, the administrator or the designer of the operation instruction may input the information of the time #1 to The network device #A, and thus, the network device #A can determine the time #1 based on the input information.
需要说明的是,该网络设备#A确定数据#a和时刻#1的过程可以同时进行,也可以在不同步骤中进行,本申请并未特别限定。It should be noted that the process of determining the data #a and the time #1 by the network device #A may be performed simultaneously or in different steps, and the present application is not particularly limited.
在S210,网络设备#A可以在时刻#2向终端设备#A发送数据#a,其中,该时刻#2可 以处于该时刻#1之前。At S210, network device #A may transmit data #a to terminal device #A at time #2, wherein the time #2 may be before the time #1.
由此,终端设备#A能够在时刻#1之前接收到数据#a,并且,可以将该数据#a保存至该终端设备#A的缓存中,以下,为了便于理解和说明,将终端设备#A的缓存中用于存储数据#a的缓存空间记作:缓存空间#a。Thereby, the terminal device #A can receive the data #a before the time #1, and can save the data #a to the buffer of the terminal device #A, hereinafter, for the sake of easy understanding and explanation, the terminal device# The cache space for storing data #a in the cache of A is written as: cache space #a.
可选地,终端设备#A可以将缓存空间#a的相关信息(例如,缓存空间#a的大小和起始位置)发送给网络设备#A。Alternatively, the terminal device #A may transmit the related information of the cache space #a (for example, the size and the start position of the cache space #a) to the network device #A.
并且,在本申请实施例中,网络设备#A可以记录数据#a的相关信息。Moreover, in the embodiment of the present application, the network device #A can record related information of the data #a.
其中,数据#a的相关信息可以包括以下至少一种信息:The related information of the data #a may include at least one of the following information:
1.数据#a的大小的信息1. Information on the size of data #a
其中,“数据#a的大小”可以是指数据#a包括的比特的数量,或者,“数据#a的大小”可以是指数据#a所需要的缓存空间的大小。Here, the "size of data #a" may refer to the number of bits included in the data #a, or "the size of the data #a" may refer to the size of the buffer space required for the data #a.
2.数据#a与时刻#1的映射关系的信息2. Information on the mapping relationship between data #a and time #1
具体地说,该数据#a与时刻#1的映射关系的信息可以用于指示数据#a需要在时刻#1被终端设备#A提交至应用层。Specifically, the information of the mapping relationship between the data #a and the time #1 can be used to indicate that the data #a needs to be submitted to the application layer by the terminal device #A at the time #1.
3.数据#a的优先级的信息3. Data #a priority information
在本申请实施例中,数据的优先级可以用于指示数据的紧急程度或重要性。In the embodiment of the present application, the priority of the data may be used to indicate the urgency or importance of the data.
作为示例而非限定,在本申请实施例中,可以基于数据所属于的业务确定数据的优先级,例如,如果某一数据用于对终端设备进行即时控制,或者,该是终端执行紧急动作所必须的数据,则可以确定该数据的优先级为高优先级。As an example and not by way of limitation, in the embodiment of the present application, the priority of the data may be determined based on the service to which the data belongs, for example, if a certain data is used for immediate control of the terminal device, or If necessary, you can determine that the priority of the data is high priority.
相应地,如果数据仅需要被终端设备存储,则可以确定该数据的优先级为高优先级Accordingly, if the data only needs to be stored by the terminal device, it can be determined that the priority of the data is high priority
作为示例而非限定,在本申请实施例中,网络设备#A可以通过以下方式确定数据#a的优先级。By way of example and not limitation, in the embodiment of the present application, the network device #A can determine the priority of the data #a in the following manner.
具体地说,该应用程序#a的服务器可以与网络设备#A通信连接(例如,有线通信连接或无线通信连接)。Specifically, the server of the application #a can communicate with the network device #A (for example, a wired communication connection or a wireless communication connection).
从而,该服务器可以将数据#a的优先级的指示信息发送给网络设备#A,即,网络设备#A可以根据来自服务器的指示,确定数据#a的优先级。Thus, the server can transmit the indication information of the priority of the data #a to the network device #A, that is, the network device #A can determine the priority of the data #a according to the instruction from the server.
作为示例而非限定,该数据#a的优先级可以是由操作指令的设计人员输入至该服务器的,或者,该服务器也可以基于预设的算法计算获得该数据#a的优先级,以下,省略对相同或相似情况的说明。As an example and not by way of limitation, the priority of the data #a may be input to the server by the designer of the operation instruction, or the server may also calculate the priority of the data #a based on a preset algorithm. Explanations of the same or similar cases are omitted.
应理解,以上列举的网络设备#A确定数据#a的优先级的方式仅为示例性说明,本申请并未限定于此,例如,管理员或操作指令的设计员可以将该数据#a的优先级的信息输入至该网络设备#A,从而,网络设备#A能够基于所输入的信息,确定该数据#a的优先级。It should be understood that the manner in which the network device #A enumerated above determines the priority of the data #a is merely an exemplary description, and the present application is not limited thereto, for example, the administrator or the designer of the operation instruction may use the data #a The priority information is input to the network device #A, whereby the network device #A can determine the priority of the data #a based on the input information.
需要说明的是,该网络设备#A确定数据#a的优先级、数据#a和时刻#1的过程可以同时进行,也可以在不同步骤中进行,本申请并未特别限定。It should be noted that the process of determining the priority of the data #a, the data #a, and the time #1 by the network device #A may be performed simultaneously or in different steps, and the present application is not particularly limited.
另外,在本申请实施例中,数据的优先级可以根据以下至少一种参数确定。In addition, in the embodiment of the present application, the priority of the data may be determined according to at least one of the following parameters.
参数1.数据的传输时延Parameter 1. Data transmission delay
具体地说,在本申请实施例中,(例如,网络设备#A)可以根据某一数据的传输时延确定该数据的优先级,例如,如果该数据的传输时延越小,则该数据的优先级越高。Specifically, in the embodiment of the present application, (for example, the network device #A) may determine the priority of the data according to the transmission delay of a certain data, for example, if the transmission delay of the data is smaller, the data is The higher the priority.
作为示例而非限定,对于数据#n和数据#m,如果数据#n的传输时延小于数据#n的传 输时延,则可以确定数据#n的优先级高于数据#m的优先级。By way of example and not limitation, for data #n and data #m, if the transmission delay of data #n is smaller than the transmission delay of data #n, it can be determined that the priority of data #n is higher than the priority of data #m.
其中,“数据的传输时延”可以是指数据实际传输过程中的传输时延,或者,“数据的传输时延”可以是指数据(或者说,数据所属于的业务)要求的传输时延,本申请并未特别限定。The “data transmission delay” may refer to a transmission delay in the actual transmission process of the data, or “the transmission delay of the data” may refer to a transmission delay required by the data (or the service to which the data belongs). This application is not specifically limited.
并且,作为示例而非限定,在本申请实施例中,可以根据数据所属于的承载的服务质量等级指示(Quality of service Class Identifier,QCI),确定数据的传输时延。Moreover, by way of example and not limitation, in the embodiment of the present application, the transmission delay of the data may be determined according to a Quality of Service Class Identifier (QCI) of the bearer to which the data belongs.
参数2.数据的传输可靠性Parameter 2. Data transmission reliability
具体地说,在本申请实施例中,(例如,网络设备#A)可以根据某一数据的传输可靠性延确定该数据的优先级,例如,如果该数据的传输可靠性越高,则该数据的优先级越高。Specifically, in the embodiment of the present application, (for example, the network device #A) may determine the priority of the data according to the transmission reliability of a certain data, for example, if the transmission reliability of the data is higher, the The higher the priority of the data.
作为示例而非限定,对于数据#n和数据#m,如果数据#n的传输可靠性高于数据#n的传输可靠性,则可以确定数据#n的优先级高于数据#m的优先级。By way of example and not limitation, for data #n and data #m, if the transmission reliability of data #n is higher than the transmission reliability of data #n, it can be determined that the priority of data #n is higher than the priority of data #m .
其中,“数据的传输可靠性”可以是指数据实际传输过程中的传输可靠性,或者,“数据的传输时延”可以是指数据(或者说,数据所属于的业务)要求的传输可靠性,本申请并未特别限定。The “data transmission reliability” may refer to the transmission reliability during the actual transmission of the data, or “the data transmission delay” may refer to the transmission reliability required by the data (or the service to which the data belongs). This application is not specifically limited.
并且,作为示例而非限定,在本申请实施例中,可以根据数据所属于的承载的服务质量等级指示(Quality of service Class Identifier,QCI),确定数据的传输可靠性。Moreover, as an example and not limitation, in the embodiment of the present application, the transmission reliability of the data may be determined according to a Quality of Service Class Identifier (QCI) of the bearer to which the data belongs.
或者,在本申请实施例中,也可以根据数据所承载于的信道的质量,确定数据的传输可靠性。Alternatively, in the embodiment of the present application, the transmission reliability of the data may also be determined according to the quality of the channel on which the data is carried.
参数3.数据的传输抖动Parameter 3. Data transmission jitter
具体地说,在本申请实施例中,(例如,网络设备#A)可以根据某一数据的传输抖动延确定该数据的优先级,例如,如果该数据的传输抖动越小,则该数据的优先级越高。Specifically, in the embodiment of the present application, (for example, the network device #A) may determine the priority of the data according to the transmission jitter of a certain data, for example, if the transmission jitter of the data is smaller, the data is The higher the priority.
作为示例而非限定,对于数据#n和数据#m,如果数据#n的传输抖动低于数据#n的传输抖动,则可以确定数据#n的优先级高于数据#m的优先级。By way of example and not limitation, for data #n and data #m, if the transmission jitter of data #n is lower than the transmission jitter of data #n, it can be determined that the priority of data #n is higher than the priority of data #m.
其中,“数据的传输抖动”可以是指数据实际传输过程中的传输抖动,或者,“数据的传输时延”可以是指数据(或者说,数据所属于的业务)要求的传输抖动,本申请并未特别限定。The “transmission jitter of the data” may refer to the transmission jitter during the actual transmission of the data, or “the transmission delay of the data” may refer to the transmission jitter required by the data (or the service to which the data belongs). It is not particularly limited.
并且,作为示例而非限定,在本申请实施例中,可以根据数据所属于的承载的服务质量等级指示(Quality of service Class Identifier,QCI),确定数据的传输抖动。Moreover, as an example and not limitation, in the embodiment of the present application, the transmission jitter of the data may be determined according to a Quality of Service Class Identifier (QCI) of the bearer to which the data belongs.
参数4.数据需要提交至应用层的时间Parameter 4. Time when data needs to be submitted to the application layer
具体地说,在本申请实施例中,(例如,网络设备#A)可以根据某一数据需要提交至应用层的时间确定该数据的优先级,例如,如果该数据需要提交至应用层的时间越靠前,则该数据的优先级越高。Specifically, in the embodiment of the present application, (for example, network device #A) may determine the priority of the data according to the time when a certain data needs to be submitted to the application layer, for example, if the data needs to be submitted to the application layer. The higher the priority, the higher the priority of the data.
作为示例而非限定,对于数据#n和数据#m,如果数据#n需要提交至应用层的时间晚于数据#m需要提交至应用层的时间,则可以确定数据#n的优先级高于数据#m的优先级。By way of example and not limitation, for data #n and data #m, if data #n needs to be submitted to the application layer later than when data #m needs to be submitted to the application layer, it can be determined that data #n has a higher priority The priority of data #m.
应理解,以上列举的确定数据的优先级的方法仅为示例性说明,本申请并未特别限定于此,其他能够对数据的按照某种规则进行排序的方法均落入本申请的保护范围内,例如,在本申请实施例中,还可以根据数据所承载于的逻辑信道,确定数据的优先级。It should be understood that the methods for determining the priority of the data listed above are merely exemplary descriptions, and the present application is not particularly limited thereto, and other methods capable of sorting data according to certain rules fall within the protection scope of the present application. For example, in the embodiment of the present application, the priority of the data may also be determined according to the logical channel on which the data is carried.
并且,上述参数1至参数4可以单独使用也可以结合使用,本申请并未特别限定。Further, the above parameters 1 to 4 may be used singly or in combination, and the present application is not particularly limited.
例如,在本申请实施例中,可以先基于参数1确定两个数据的优先级关系,如果基于 参数1确定的两个数据的优先级相同,即,两个的传输时延相同,可以进一步基于参数4确定这两个数据的优先级,即,对于传输时延相同的两个数据,可以确定需要提交至应用层的时间晚的一方的优先级较低。For example, in the embodiment of the present application, the priority relationship between the two data may be determined based on the parameter 1. If the two data determined based on the parameter 1 have the same priority, that is, the transmission delays of the two are the same, the method may be further based on Parameter 4 determines the priority of the two data, that is, for the two data with the same transmission delay, it can be determined that the party that needs to submit to the application layer later has a lower priority.
4.数据#a在终端设备#A中的存储位置的信息4. Data #a information on the storage location in the terminal device #A
作为示例而非限定,在本申请实施例中,网络设备#A可以基于以下至少一种方式确定数据#a在终端设备#A中的存储位置。By way of example and not limitation, in the embodiment of the present application, the network device #A may determine the storage location of the data #a in the terminal device #A based on at least one of the following manners.
方式aWay a
具体地说,在本申请实施例中,终端设备#A在接入网络设备#A之后,可以向网络设备#A上报该终端设备#A的缓存空间的大小,从而,网络设备#A可以根据所发送至终端设备#A的数据的数量和发送时间,计算出数据#a在终端设备#A的缓存中的存储位置。Specifically, in the embodiment of the present application, the terminal device #A can report the size of the buffer space of the terminal device #A to the network device #A after accessing the network device #A, so that the network device #A can be based on The number of data transmitted to the terminal device #A and the transmission time calculate the storage location of the data #a in the buffer of the terminal device #A.
方式bMode b
具体地说,当终端设备#A向网络设备#A发送了缓存空间#a的相关信息(例如,缓存空间#a的大小和起始位置)时,网络设备#A可以基于终端设备#A上报的信息,确定数据#a在终端设备#A中的存储位置。Specifically, when the terminal device #A transmits the related information of the cache space #a to the network device #A (for example, the size and the start position of the cache space #a), the network device #A can report based on the terminal device #A. The information determines the storage location of data #a in terminal device #A.
5.数据#a在网络设备#A发送给终端设备#A的多个数据中的索引5. Data #a is indexed in multiple data sent by network device #A to terminal device #A
作为示例而非限定,该多个数据可以分别承载于不同的数据包,并且,在每个数据包中可以携带有该数据包中承载的数据的索引,从而,网络设备#A能够将分配给各数据的索引发送至终端设备#A。By way of example and not limitation, the plurality of data may be respectively carried in different data packets, and an index of data carried in the data packet may be carried in each data packet, so that network device #A can be assigned to The index of each data is sent to the terminal device #A.
从而,在时刻#3之前,终端设备#A能够从网络设备#A接收到包括该数据#a在内的多个数据,并且,可以在缓存中缓存包括该数据#a在内的多个数据。Thus, before time #3, the terminal device #A can receive a plurality of data including the data #a from the network device #A, and can cache a plurality of data including the data #a in the cache. .
需要说明的是,在本申请实施例中,终端设备#A缓存的多个数据需要提交至应用层的时刻(例如,上述时刻#1)可以位于时刻#3之前,也可以位于时刻#3之后,本申请并未特别限定。It should be noted that, in the embodiment of the present application, the time at which the plurality of data cached by the terminal device #A needs to be submitted to the application layer (for example, the time #1 described above) may be located before the time #3, or may be located after the time #3. This application is not specifically limited.
即,在时刻#3之前,在终端设备#A中存储有多个备选数据。That is, before time #3, a plurality of candidate data are stored in the terminal device #A.
这里,该“备选数据”可以是指终端设备#A从网络设备#A接收到、并缓存在缓存空间中、且尚未提交至应用层的数据。Here, the "alternative data" may refer to data that the terminal device #A receives from the network device #A and is cached in the cache space and has not yet submitted to the application layer.
下面,对网络设备#A在确定需要在时刻#3向终端设备#A发送数据#c时执行的动作进行详细说明。Next, the operation performed by the network device #A when determining that it is necessary to transmit the data #c to the terminal device #A at the time #3 will be described in detail.
其中,该数据#c是需要在时刻#4被终端设备#A提交至应用层的数据,该时刻#4位于时刻#3之后。因此,该数据#c需要被缓存在终端设备#A的缓存空间中。Here, the data #c is data that needs to be submitted to the application layer by the terminal device #A at the time #4, and the time #4 is located after the time #3. Therefore, the data #c needs to be cached in the cache space of the terminal device #A.
由于终端设备#A的缓存空间中已缓存有备选数据,因此,可能出现终端设备#A当前的可用缓存空间(即,未存储数据的缓存空间)无法满足数据#c的存储需求的情况。Since the candidate data is already cached in the cache space of the terminal device #A, there may be a case where the current available cache space of the terminal device #A (that is, the cache space where no data is stored) cannot satisfy the storage requirement of the data #c.
因此,在本申请实施例中,在S220,网络设备#A可以从备选数据中,确定数据#b,或者说,确定用于存储数据#b的缓存空间(即,第一缓存空间的一例,以下,为了便于理解和说明,记作,缓存空间#b)。并且,网络设备#A可以指示终端设备#A删除该缓存空间#b中存储的数据(即,数据#b),从而,终端设备#A可以在该缓存空间#b中存储数据#c的部分或全部,下面,对该过程进行详细说明。Therefore, in the embodiment of the present application, at S220, the network device #A may determine the data #b from the candidate data, or determine the cache space for storing the data #b (ie, an example of the first cache space) In the following, for ease of understanding and explanation, it is recorded as cache space #b). And, the network device #A can instruct the terminal device #A to delete the data stored in the cache space #b (i.e., data #b), whereby the terminal device #A can store the portion of the data #c in the cache space #b. Or all, below, the process will be described in detail.
作为示例而非限定,网络设备可以基于以下方式确定数据#b或缓存空间#b。By way of example and not limitation, the network device may determine data #b or cache space #b based on the following manner.
方式1Mode 1
网络设备#A可以根据数据#c的大小(例如,数据#c包括的比特数)确定该数据#c所需要的缓存空间(以下,为了便于理解和区分,称为目标缓存空间)的大小。The network device #A can determine the size of the buffer space required for the data #c (hereinafter, referred to as a target cache space for ease of understanding and differentiation) according to the size of the data #c (for example, the number of bits included in the data #c).
网络设备#A可以根据终端设备#A当前的可用缓存空间的大小和该目标缓存空间,确定需要删除的数据(即,数据#b)的大小,或者说,确定需要清空的缓冲空间(即,缓存空间#b)的大小。The network device #A can determine the size of the data to be deleted (ie, the data #b) according to the size of the current available cache space of the terminal device #A and the target cache space, or determine the buffer space to be emptied (ie, The size of the cache space #b).
作为示例而非限定,在本申请实施例中,网络设备#A所确定的该缓存空间#b的大小与终端设备#A中当前的可用缓存的大小之和可以大于或等于目标缓存空间的大小。By way of example and not limitation, in the embodiment of the present application, the sum of the size of the cache space #b determined by the network device #A and the size of the current available cache in the terminal device #A may be greater than or equal to the size of the target cache space. .
或者,在本申请实施例中,网络设备#A所确定的该缓存空间#b的大小可以大于或等于目标缓存空间的大小。Alternatively, in the embodiment of the present application, the size of the cache space #b determined by the network device #A may be greater than or equal to the size of the target cache space.
另外,需要说明的是,该数据#b可以是备选数据中的任意数据,或者说,该缓存空间#b可以是备选数据所占用的缓存空间中的任意缓存空间,只要能够使缓存空间#b的大小满足上述条件即可。In addition, it should be noted that the data #b may be any data in the candidate data, or the cache space #b may be any cache space in the cache space occupied by the candidate data, as long as the cache space can be made. The size of #b can satisfy the above conditions.
下面,对网络设备#A确定终端设备#A当前的可用缓存空间的大小的方法和过程进行详细说明。Next, a method and a procedure for determining the size of the current available cache space of the terminal device #A by the network device #A will be described in detail.
在本申请实施例中,终端设备#A可以向网络设备#A发送指示信息#2(即,第二指示信息的一例),该指示信息#2可以用于指示终端设备#A当前的可用缓存空间的大小。In the embodiment of the present application, the terminal device #A may send the indication information #2 (ie, an example of the second indication information) to the network device #A, and the indication information #2 may be used to indicate the current available cache of the terminal device #A. The size of the space.
作为示例而非限定,例如,终端设备#A可以周期性地向网络设备#A发送该指示信息#2。As an example and not by way of limitation, for example, the terminal device #A may periodically transmit the indication information #2 to the network device #A.
再例如,终端设备#A可以实时或周期性检测当前可用空间的大小,并在当前可用空间的大小小于或等于预设的阈值#1(即,第一阈值的一例)时,向网络设备#A发送该指示信息#2。For another example, the terminal device #A can detect the size of the currently available space in real time or periodically, and when the size of the currently available space is less than or equal to the preset threshold #1 (ie, an example of the first threshold), to the network device # A sends the indication information #2.
再例如,网络设备#A可以在需要向终端设备#A发送数据之前,可以向终端设备#A发送指示信息#1(第三指示信息的一例),该指示信息#1用于指示终端设备#A向网络设备#A发送该指示信息#2,从而,终端设备#A可以基于该指示信息#1,向网络设备#A发送该指示信息#2。For another example, the network device #A may transmit the indication information #1 (an example of the third indication information) to the terminal device #A before transmitting the data to the terminal device #A, the indication information #1 being used to indicate the terminal device # A transmits the indication information #2 to the network device #A, whereby the terminal device #A can transmit the instruction information #2 to the network device #A based on the instruction information #1.
或者,网络设备#A也可以周期性发送该指示信息#1。Alternatively, the network device #A may also periodically transmit the indication information #1.
方式2Mode 2
网络设备#A可以基于数据#c的优先级,确定数据#b。Network device #A can determine data #b based on the priority of data #c.
具体地说,在本申请实施例中,该网络设备#A可以将备选数据中,优先级低于数据#c的数据确定为数据#b。Specifically, in the embodiment of the present application, the network device #A may determine, in the candidate data, data having a lower priority than the data #c as the data #b.
方式3Mode 3
网络设备#A可以基于备选数据的优先级,确定数据#b。Network device #A may determine data #b based on the priority of the candidate data.
具体地说,在本申请实施例中,该网络设备#A可以将备选数据中,优先级较低的数据确定为数据#b。Specifically, in the embodiment of the present application, the network device #A may determine the data with lower priority among the candidate data as the data #b.
方式4Mode 4
网络设备#A可以基于各备选数据需要提交至终端设备#A的应用层的时刻,确定数据#b。The network device #A may determine the data #b based on the time at which each candidate data needs to be submitted to the application layer of the terminal device #A.
例如,网络设备#A可以将备选数据中需要提交至应用层的时刻相对较晚的数据,确定为数据#b,作为示例而非限定,该数据#b可以是备选数据中需要提交至应用层的时刻 最晚的数据。For example, the network device #A may determine data that is relatively late in the candidate data that needs to be submitted to the application layer as data #b. As an example and not a limitation, the data #b may be an alternative data that needs to be submitted to The latest data at the application layer.
其中,网络设备#A确定各备选数据需要提交至应用层的时刻的方法和过程可以与该网络设备确定时刻#2的方法和过程相似,这里,为了避免赘述,省略其详细说明。The method and the process for the network device #A to determine the time at which each candidate data needs to be submitted to the application layer may be similar to the method and process for determining the time #2 of the network device. Here, in order to avoid redundancy, detailed description thereof is omitted.
应理解,上述方式1、方式2和方式3可以单独使用也可以结合使用,本申请并未特别限定。It should be understood that the above modes 1, 2, and 3 may be used alone or in combination, and the present application is not particularly limited.
在S230,网络设备#A可以向终端设备#A发送指示信息#3(即,第一指示信息的一例)。At S230, the network device #A may transmit the instruction information #3 to the terminal device #A (that is, an example of the first indication information).
其中,该指示信息#3用于指示终端设备#A从缓存(具体地说,是缓存空间#b)中删除该数据#b。The indication information #3 is used to instruct the terminal device #A to delete the data #b from the cache (specifically, the cache space #b).
可选地,该指示信息#3可以包括数据#b的索引的信息。Alternatively, the indication information #3 may include information of an index of the data #b.
可选地,该指示信息#3可以包括缓存空间#b的起始位置和大小的信息。Alternatively, the indication information #3 may include information on the starting position and size of the cache space #b.
可选地,该指示信息#3可以包括缓存空间#b的大小的信息。Alternatively, the indication information #3 may include information of the size of the cache space #b.
可选地,该指示信息#3可以包括数据#b的大小的信息。Alternatively, the indication information #3 may include information of the size of the data #b.
可选地,该指示信息#3可以包括该缓存空间#b所属于的协议层,并且,作为示例而非限定,该缓存空间#b所属于的协议层可以是PDCP层、RLC层、MAC层或SDAP层中的某一层。从而,终端设备#A能够基于指示信息#3,容易地确定数据#b和缓存空间#b。Optionally, the indication information #3 may include a protocol layer to which the cache space #b belongs, and, by way of example and not limitation, the protocol layer to which the cache space #b belongs may be a PDCP layer, an RLC layer, and a MAC layer. Or a layer in the SDAP layer. Thereby, the terminal device #A can easily determine the data #b and the cache space #b based on the instruction information #3.
并且,作为示例而非限定,该指示信息#3可以是PDCP协议数据单元(Protocol Data Unit,PDU)。即,该指示信息#3可以是在PDCP层进行封装或解析的信息。并且,作为示例而非限定,此情况下,优选使该缓存空间#b属于PDCP层,从而,终端设备能够在确定指示信息#3为PDCP PDU时,进一步确定缓存空间#b属于PDCP层,从而能够节约用于指示该缓存空间#b所属于的协议层的信令开销。Also, by way of example and not limitation, the indication information #3 may be a PDCP Protocol Data Unit (PDU). That is, the indication information #3 may be information that is encapsulated or parsed at the PDCP layer. Moreover, as an example and not limitation, in this case, it is preferable that the buffer space #b belongs to the PDCP layer, so that the terminal device can further determine that the buffer space #b belongs to the PDCP layer when determining that the indication information #3 is a PDCP PDU, thereby The signaling overhead for indicating the protocol layer to which the cache space #b belongs can be saved.
或者,该指示信息#3可以是RLC PDU。即,该指示信息#3可以是在RLC层进行封装或解析的信息。并且,作为示例而非限定,此情况下,优选使该缓存空间#b属于RLC层,从而,终端设备能够在确定指示信息#3为RLC PDU时,进一步确定缓存空间#b属于RLC层,从而能够节约用于指示该缓存空间#b所属于的协议层的信令开销。Alternatively, the indication information #3 may be an RLC PDU. That is, the indication information #3 may be information that is encapsulated or parsed at the RLC layer. Moreover, as an example and not limitation, in this case, it is preferable that the buffer space #b belongs to the RLC layer, so that the terminal device can further determine that the cache space #b belongs to the RLC layer when determining that the indication information #3 is the RLC PDU, thereby The signaling overhead for indicating the protocol layer to which the cache space #b belongs can be saved.
或者,该指示信息#3可以是MAC控制单元(Control Element,CE)。即,该指示信息#3可以是在MAC层进行封装或解析的信息。并且,作为示例而非限定,此情况下,优选使该缓存空间#b属于MAC层,从而,终端设备能够在确定指示信息#3为MAC CE时,进一步确定缓存空间#b属于MAC层,从而能够节约用于指示该缓存空间#b所属于的协议层的信令开销。Alternatively, the indication information #3 may be a MAC Control Unit (CE). That is, the indication information #3 may be information that is encapsulated or parsed at the MAC layer. Moreover, as an example and not limitation, in this case, it is preferable that the cache space #b belongs to the MAC layer, so that the terminal device can further determine that the cache space #b belongs to the MAC layer when determining that the indication information #3 is the MAC CE, thereby The signaling overhead for indicating the protocol layer to which the cache space #b belongs can be saved.
在S240,终端设备#A可以基于该指示信息#3,从缓存空间#b中删除数据#b。At S240, the terminal device #A may delete the data #b from the cache space #b based on the instruction information #3.
在S250,网络设备#A可以在时刻#3,向终端设备#A发送数据#c。At S250, network device #A may transmit data #c to terminal device #A at time #3.
在S260,终端设备#A可以将数据#c缓存在该缓存空间#b中,并在时刻#4,将该数据#c提交至该终端设备#A的应用层。At S260, the terminal device #A may buffer the data #c in the cache space #b, and at time #4, submit the data #c to the application layer of the terminal device #A.
可选地,在S270,网络设备#A可以向终端设备#A再次发送数据#b。Alternatively, at S270, the network device #A may transmit the data #b again to the terminal device #A.
需要说明的是,上述数据#b与数据#a可以是同一数据也可以是不同数据,本申请并未特别限定。It should be noted that the above data #b and data #a may be the same data or different data, and the present application is not particularly limited.
根据本申请的通信方法,在网络设备需要向终端设备发送需要终端设备存储在缓存中的第二数据之前,通过使网络设备指示终端设备删除当前正存储在终端设备的第一缓存空 间中的第一数据,能够使终端设备在该第一缓存空间中存储从网络设备接收的第二数据,从而,能够确保该第二数据能够被存储至终端设备的缓存中,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
图3示出了网络设备#B(例如,接入网设备)和终端设备#B之间传输数据#z(即,第一数据的一例)的过程,即,通信方法300。FIG. 3 shows a process of transmitting data #z (ie, an example of the first data) between the network device #B (for example, the access network device) and the terminal device #B, that is, the communication method 300.
其中,数据#z是终端设备#B在时刻#c发送给网络设备#B的数据。Among them, the data #z is data that the terminal device #B transmits to the network device #B at the time #c.
并且,在时刻#c之前在终端设备#B的缓存内缓存有网络设备#B在时刻#c之前发送的多个数据。Further, a plurality of data transmitted by the network device #B before the time #c are buffered in the buffer of the terminal device #B before the time #c.
首先,以数据#x的传输过程为例,对该网络设备#B和终端设备#B在时刻#c之前的数据传输过程进行说明。First, the data transmission process of the network device #B and the terminal device #B before the time #c will be described by taking the transmission process of the data #x as an example.
其中,终端设备#B的应用层中可以安装有应用程序#x,该应用程序#x能够在输入数据#x后,执行该数据#x对应的动作,例如,终端设备#B可以是工业机器人,该数据#x可以是控制机器人的动作的操作指令,从而,该应用程序#x能够在输入数据#x后,控制机器人执行操作指令指示的动作,应理解,以上列举的终端设备#B的具体实例仅为示例性说明,本申请并未限定于此,该终端设备#B也可以是手机或智能家电等各种具有通信功能、并且能够安装应用程序、并通过该应用程序实现功能的终端设备。The application layer #x may be installed in the application layer of the terminal device #B, and the application #x can perform the action corresponding to the data #x after inputting the data #x. For example, the terminal device #B can be an industrial robot. The data #x may be an operation instruction for controlling the motion of the robot, so that the application #x can control the robot to perform the operation indicated by the operation instruction after inputting the data #x, and it should be understood that the terminal device #B enumerated above The specific example is merely an illustrative example, and the present application is not limited thereto. The terminal device #B may also be a terminal having various communication functions, such as a mobile phone or a smart home appliance, and capable of installing an application and implementing a function through the application. device.
在S310,网络设备#B可以获取该数据#x。At S310, network device #B can acquire the data #x.
例如,该应用程序#x的服务器可以与网络设备#B通信连接(例如,有线通信连接或无线通信连接)。从而,该服务器可以将数据#x发送给网络设备#B。并且,数据#x可以是由操作指令的设计人员输入至该服务器的,或者,该服务器也可以基于预设的算法生成该数据#x,本申请并未特别限定。For example, the server of the application #x can be in communication connection with the network device #B (for example, a wired communication connection or a wireless communication connection). Thus, the server can send data #x to network device #B. Moreover, the data #x may be input to the server by the designer of the operation instruction, or the server may generate the data #x based on a preset algorithm, which is not specifically limited.
或者,该数据#x可以是由操作指令的设计人员输入至该网络设备#B。Alternatively, the data #x may be input to the network device #B by the designer of the operation instruction.
或者,该网络设备#B也可以基于预设的算法生成该数据#x。Alternatively, the network device #B may also generate the data #x based on a preset algorithm.
应理解,以上列举的网络设备#B获取数据#x方法和过程仅为示例性说明,本申请并未限定于此。It should be understood that the above-listed network device #B acquisition data #x method and process are merely exemplary, and the application is not limited thereto.
其中,该数据#x可以是终端设备#B需要在时刻#a提交至应用层的数据。The data #x may be data that the terminal device #B needs to submit to the application layer at the time #a.
作为示例而非限定,在本申请实施例中,网络设备#B可以通过以下方式确定该时刻#a。By way of example and not limitation, in the embodiment of the present application, the network device #B can determine the time #a in the following manner.
具体地说,该应用程序#x的服务器可以与网络设备#B通信连接(例如,有线通信连接或无线通信连接)。Specifically, the server of the application #x can communicate with the network device #B (for example, a wired communication connection or a wireless communication connection).
从而,该服务器可以将该时刻#a的指示信息发送给网络设备#B,即,网络设备#B可以根据来自服务器的指示,确定时刻#a。Thus, the server can transmit the indication information of the time #a to the network device #B, that is, the network device #B can determine the time #a according to the instruction from the server.
作为示例而非限定,该时刻#a可以是由操作指令的设计人员输入至该服务器的,或者,该服务器也可以基于预设的算法计算获得该时刻#a,以下,省略对相同或相似情况的说明。As an example and not by way of limitation, the time #a may be input to the server by a designer of the operation instruction, or the server may also calculate the time #a based on a preset algorithm, and omitting the same or similar situation instruction of.
应理解,以上列举的网络设备#B确定时刻#a的方式仅为示例性说明,本申请并未限定于此,例如,管理员或操作指令的设计员可以将该时刻#a的信息输入至该网络设备#B,从而,网络设备#B能够基于所输入的信息,确定该时刻#a。It should be understood that the manner in which the network device #B enumerated above determines the time #a is merely an exemplary description, and the present application is not limited thereto. For example, the administrator or the designer of the operation instruction may input the information of the time #a to The network device #B, whereby the network device #B can determine the time #a based on the input information.
需要说明的是,该网络设备#B确定数据#x和时刻#a的过程可以同时进行,也可以在不同步骤中进行,本申请并未特别限定。It should be noted that the process of determining the data #x and the time #a by the network device #B may be performed simultaneously or in different steps, and the present application is not particularly limited.
并且,在S310,网络设备#B可以在时刻#b向终端设备#B发送数据#x,其中,该时刻#b可以处于该时刻#a之前。And, at S310, the network device #B can transmit the data #x to the terminal device #B at time #b, wherein the time #b can be before the time #a.
由此,终端设备#B能够在时刻#a之前接收到数据#x,并且,可以将该数据#x保存至该终端设备#B的缓存中,以下,为了便于理解和说明,将终端设备#B的缓存中用于存储数据#x的缓存空间记作:缓存空间#x。Thereby, the terminal device #B can receive the data #x before the time #a, and can save the data #x to the cache of the terminal device #B, hereinafter, for the sake of easy understanding and explanation, the terminal device# The cache space for storing data #x in the cache of B is written as: cache space #x.
可选地,终端设备#B可以将缓存空间#x的相关信息(例如,缓存空间#x的大小和起始位置)发送给网络设备#B。Alternatively, the terminal device #B may transmit the related information of the cache space #x (for example, the size and the start position of the cache space #x) to the network device #B.
并且,在本申请实施例中,网络设备#B可以记录数据#x的相关信息。Moreover, in the embodiment of the present application, the network device #B can record related information of the data #x.
其中,数据#x的相关信息可以包括以下至少一种信息:The information about the data #x may include at least one of the following information:
1.数据#x的大小的信息1. Information on the size of data #x
其中,“数据#x的大小”可以是指数据#x包括的比特的数量,或者,“数据#x的大小”可以是指数据#x所需要的缓存空间的大小。Here, the "size of data #x" may refer to the number of bits included in the data #x, or "the size of the data #x" may refer to the size of the buffer space required for the data #x.
2.数据#x与时刻#a的映射关系的信息2. Information on the mapping relationship between data #x and time #a
具体地说,该数据#x与时刻#a的映射关系的信息可以用于指示数据#x需要在时刻#a被终端设备#B提交至应用层。Specifically, the information of the mapping relationship between the data #x and the time #a can be used to indicate that the data #x needs to be submitted to the application layer by the terminal device #B at the time #a.
3.数据#x的优先级的信息3. Data #x priority information
在本申请实施例中,数据的优先级可以用于指示数据的紧急程度或重要性。In the embodiment of the present application, the priority of the data may be used to indicate the urgency or importance of the data.
作为示例而非限定,在本申请实施例中,可以基于数据所属于的业务确定数据的优先级,例如,如果某一数据用于对终端设备进行即时控制,或者,该是终端执行紧急动作所必须的数据,则可以确定该数据的优先级为高优先级。As an example and not by way of limitation, in the embodiment of the present application, the priority of the data may be determined based on the service to which the data belongs, for example, if a certain data is used for immediate control of the terminal device, or If necessary, you can determine that the priority of the data is high priority.
相应地,如果数据仅需要被终端设备存储,则可以确定该数据的优先级为高优先级Accordingly, if the data only needs to be stored by the terminal device, it can be determined that the priority of the data is high priority
作为示例而非限定,在本申请实施例中,网络设备#B可以通过以下方式确定数据#x的优先级。By way of example and not limitation, in the embodiment of the present application, the network device #B can determine the priority of the data #x in the following manner.
具体地说,该应用程序#x的服务器可以与网络设备#B通信连接(例如,有线通信连接或无线通信连接)。Specifically, the server of the application #x can communicate with the network device #B (for example, a wired communication connection or a wireless communication connection).
从而,该服务器可以将数据#x的优先级的指示信息发送给网络设备#B,即,网络设备#B可以根据来自服务器的指示,确定数据#x的优先级。Thus, the server can transmit the indication information of the priority of the data #x to the network device #B, that is, the network device #B can determine the priority of the data #x according to the instruction from the server.
作为示例而非限定,该数据#x的优先级可以是由操作指令的设计人员输入至该服务器的,或者,该服务器也可以基于预设的算法计算获得该数据#x的优先级,以下,省略对相同或相似情况的说明。As an example and not by way of limitation, the priority of the data #x may be input to the server by the designer of the operation instruction, or the server may also calculate the priority of the data #x based on a preset algorithm. Explanations of the same or similar cases are omitted.
应理解,以上列举的网络设备#B确定数据#x的优先级的方式仅为示例性说明,本申请并未限定于此,例如,管理员或操作指令的设计员可以将该数据#x的优先级的信息输入至该网络设备#B,从而,网络设备#B能够基于所输入的信息,确定该数据#x的优先级。It should be understood that the manner in which the network device #B enumerated above determines the priority of the data #x is merely an exemplary description, and the present application is not limited thereto, for example, the administrator or the designer of the operation instruction may use the data #x The priority information is input to the network device #B, whereby the network device #B can determine the priority of the data #x based on the input information.
需要说明的是,该网络设备#B确定数据#x的优先级、数据#x和时刻#a的过程可以同时进行,也可以在不同步骤中进行,本申请并未特别限定。It should be noted that the process of determining the priority of the data #x, the data #x, and the time #a by the network device #B may be performed simultaneously or in different steps, and the present application is not particularly limited.
4.数据#x在终端设备#B中的存储位置的信息4. Data #x information on the storage location in terminal device #B
作为示例而非限定,在本申请实施例中,网络设备#B可以基于以下至少一种方式确定数据#x在终端设备#B中的存储位置。By way of example and not limitation, in the embodiment of the present application, the network device #B may determine the storage location of the data #x in the terminal device #B based on at least one of the following manners.
方式aWay a
具体地说,在本申请实施例中,终端设备#B在接入网络设备#B之后,可以向网络设备#B上报该终端设备#B的缓存空间的大小,从而,网络设备#B可以根据所发送至终端设备#B的数据的数量和发送时间,计算出数据#x在终端设备#B的缓存中的存储位置。Specifically, in the embodiment of the present application, after accessing the network device #B, the terminal device #B can report the size of the buffer space of the terminal device #B to the network device #B, so that the network device #B can be based on The number of data transmitted to the terminal device #B and the transmission time calculate the storage location of the data #x in the cache of the terminal device #B.
方式bMode b
具体地说,当终端设备#B向网络设备#B发送了缓存空间#x的相关信息(例如,缓存空间#x的大小和起始位置)时,网络设备#B可以基于终端设备#B上报的信息,确定数据#x在终端设备#B中的存储位置。Specifically, when the terminal device #B transmits the related information of the cache space #x to the network device #B (for example, the size and the start position of the cache space #x), the network device #B can report based on the terminal device #B. The information determines the storage location of data #x in terminal device #B.
5.数据#x在网络设备#B发送给终端设备#B的多个数据中的索引5. Data #x is indexed in multiple data sent by network device #B to terminal device #B
作为示例而非限定,该多个数据可以分别承载于不同的数据包,并且,在每个数据包中可以携带有该数据包中承载的数据的索引,从而,网络设备#B能够将分配给各数据的索引发送至终端设备#B。By way of example and not limitation, the plurality of data may be respectively carried in different data packets, and an index of data carried in the data packet may be carried in each data packet, so that network device #B can be assigned to The index of each data is sent to the terminal device #B.
从而,在时刻#c之前,终端设备#B能够从网络设备#B接收到包括该数据#x在内的多个数据,并且,可以在缓存中缓存包括该数据#x在内的多个数据。Thus, before time #c, the terminal device #B can receive a plurality of data including the data #x from the network device #B, and can cache a plurality of data including the data #x in the cache. .
需要说明的是,在本申请实施例中,终端设备#B缓存的多个数据需要提交至应用层的时刻(例如,上述时刻#a)可以位于时刻#3之前,也可以位于时刻#3之后,本申请并未特别限定。It should be noted that, in the embodiment of the present application, the time at which the plurality of data cached by the terminal device #B needs to be submitted to the application layer (for example, the time #a described above) may be located before the time #3, or may be located after the time #3. This application is not specifically limited.
即,在时刻#c之前,在终端设备#B中存储有多个备选数据。That is, a plurality of candidate data are stored in the terminal device #B before the time #c.
这里,该“备选数据”可以是指终端设备#B从网络设备#B接收到、并缓存在缓存空间中、且尚未提交至应用层的数据。Here, the "alternative data" may refer to data that the terminal device #B receives from the network device #B and is buffered in the cache space and has not yet submitted to the application layer.
下面,对终端设备#B在确定需要在时刻#c向网络设备#B发送数据#z时的动作进行详细说明。Next, the operation of the terminal device #B when determining that it is necessary to transmit the data #z to the network device #B at the time #c will be described in detail.
其中,该数据#z是需要在时刻#d被终端设备#B提交至应用层的数据,该时刻#d位于时刻#c之后。因此,该数据#z需要被缓存在终端设备#B的缓存空间中。Here, the data #z is data that needs to be submitted to the application layer by the terminal device #B at the time #d, and the time #d is located after the time #c. Therefore, the data #z needs to be cached in the cache space of the terminal device #B.
由于终端设备#B的缓存空间中已缓存有备选数据,因此,可能出现终端设备#B当前的可用缓存空间(即,未存储数据的缓存空间)无法满足数据#z的存储需求的情况。Since the candidate data is already cached in the cache space of the terminal device #B, there may be a case where the current available cache space of the terminal device #B (that is, the cache space where no data is stored) cannot satisfy the storage requirement of the data #z.
因此,在本申请实施例中,在S320,终端设备#B可以从备选数据中,确定数据#y,或者说,确定用于存储数据#y的缓存空间(即,第一缓存空间的一例,以下,为了便于理解和说明,记作,缓存空间#y)。并且,终端设备#B可以删除该缓存空间#y中存储的数据(即,数据#y),从而,终端设备#B可以在该缓存空间#y中存储数据#z的部分或全部,下面,对该过程进行详细说明。Therefore, in the embodiment of the present application, at S320, the terminal device #B may determine the data #y from the candidate data, or determine the cache space for storing the data #y (ie, an example of the first cache space) In the following, for ease of understanding and explanation, it is noted that the cache space #y). And, the terminal device #B can delete the data (ie, data #y) stored in the cache space #y, so that the terminal device #B can store part or all of the data #z in the cache space #y, below, The process is described in detail.
作为示例而非限定,终端设备可以基于以下方式确定数据#y或缓存空间#y。As an example and not by way of limitation, the terminal device may determine data #y or cache space #y based on the following manner.
方式1Mode 1
终端设备#B可以根据数据#z的大小(例如,数据#z包括的比特数)确定该数据#z所需要的缓存空间(以下,为了便于理解和区分,称为目标缓存空间)的大小。The terminal device #B can determine the size of the cache space required for the data #z (hereinafter, referred to as a target cache space for ease of understanding and differentiation) according to the size of the data #z (for example, the number of bits included in the data #z).
终端设备#B可以根据终端设备#B当前的可用缓存空间的大小和该目标缓存空间,确定需要删除的数据(即,数据#y)的大小,或者说,确定需要清空的缓冲空间(即,缓存空间#y)的大小。The terminal device #B can determine the size of the data to be deleted (ie, the data #y) according to the size of the current available cache space of the terminal device #B and the target cache space, or determine the buffer space that needs to be cleared (ie, The size of the cache space #y).
作为示例而非限定,在本申请实施例中,终端设备#B所确定的该缓存空间#y的大小与终端设备#B中当前的可用缓存的大小之和可以大于或等于目标缓存空间的大小。By way of example and not limitation, in the embodiment of the present application, the sum of the size of the cache space #y determined by the terminal device #B and the current available cache size in the terminal device #B may be greater than or equal to the size of the target cache space. .
或者,在本申请实施例中,终端设备#B所确定的该缓存空间#y的大小可以大于或等于目标缓存空间的大小。Alternatively, in the embodiment of the present application, the size of the cache space #y determined by the terminal device #B may be greater than or equal to the size of the target cache space.
另外,需要说明的是,该数据#y可以是备选数据中的任意数据,或者说,该缓存空间#y可以是备选数据所占用的缓存空间中的任意缓存空间,只要能够使缓存空间#y的大小满足上述条件即可。In addition, it should be noted that the data #y may be any data in the candidate data, or the cache space #y may be any cache space in the cache space occupied by the candidate data, as long as the cache space can be made. The size of #y can satisfy the above conditions.
方式2Mode 2
终端设备#B可以基于数据#z的优先级,确定数据#y。The terminal device #B can determine the data #y based on the priority of the data #z.
具体地说,在本申请实施例中,该终端设备#B可以将备选数据中,优先级低于数据#z的数据确定为数据#y。Specifically, in the embodiment of the present application, the terminal device #B may determine, in the candidate data, data having a lower priority than the data #z as the data #y.
方式3Mode 3
终端设备#B可以基于各备选数据需要提交至终端设备#B的应用层的时刻,确定数据#y。The terminal device #B can determine the data #y based on the time at which each candidate data needs to be submitted to the application layer of the terminal device #B.
例如,终端设备#B可以将备选数据中需要提交至应用层的时刻相对较晚的数据,确定为数据#y,作为示例而非限定,该数据#y可以是备选数据中需要提交至应用层的时刻最晚的数据。For example, the terminal device #B may determine data that is relatively late in the candidate data that needs to be submitted to the application layer as data #y. As an example and not a limitation, the data #y may be an alternative data that needs to be submitted to The latest data at the application layer.
应理解,上述方式1、方式2和方式3可以单独使用也可以结合使用本申请并未特别限定。It should be understood that the above modes 1, 2, and 3 may be used alone or in combination. The present application is not particularly limited.
在S330,终端设备#B可以在时刻#c向网络设备发送被存储在缓存空间#y中的数据#z。At S330, the terminal device #B may transmit the data #z stored in the cache space #y to the network device at time #c.
在S340,终端设备#B可以向网络设备#B发送指示信息#4(即,重传指示信息的一例)。At S340, the terminal device #B may transmit the instruction information #4 to the network device #B (that is, an example of the retransmission instruction information).
其中,该指示信息#4用于指示网络设备#B重新发送数据#y。The indication information #4 is used to instruct the network device #B to resend the data #y.
可选地,该指示信息#4可以包括数据#y的索引的信息。Alternatively, the indication information #4 may include information of an index of the data #y.
可选地,该指示信息#4可以包括缓存空间#y的起始位置和大小的信息。Alternatively, the indication information #4 may include information on the starting position and size of the cache space #y.
可选地,该指示信息#4可以包括缓存空间#y的大小的信息。Alternatively, the indication information #4 may include information of the size of the cache space #y.
可选地,该指示信息#4可以包括数据#y的大小的信息。Alternatively, the indication information #4 may include information of the size of the data #y.
从而,网络设备#B能够基于指示信息#4,容易地确定数据#y。Thereby, the network device #B can easily determine the data #y based on the indication information #4.
在S350,网络设备#B可以基于该指示信息#4,向终端设备#B重新发送数据#y。At S350, the network device #B may resend the data #y to the terminal device #B based on the indication information #4.
根据本申请的通信方法,在网络设备需要向终端设备发送需要终端设备存储在缓存中的第二数据之前,通过使网络设备指示终端设备删除当前正存储在终端设备的第一缓存空间中的第一数据,能够使终端设备在该第一缓存空间中存储从网络设备接收的第二数据,从而,能够确保该第二数据能够被存储至终端设备的缓存中,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the network device needs to send the second data that needs to be stored in the cache by the terminal device, the network device is instructed to delete the first device that is currently stored in the first cache space of the terminal device. a data that enables the terminal device to store the second data received from the network device in the first cache space, thereby ensuring that the second data can be stored in the cache of the terminal device, thereby avoiding caching by the terminal device Too small to cause an impact on communication and control.
根据本申请的通信方法,在终端设备需要向网络设备在预设时刻发送需要第一数据之前,通过使终端设备删除当前正存储在终端设备的第一缓存空间中的第二数据,能够使终端设备在该第一缓存空间中存储该第一数据,从而,能够确保该第一数据能够在该预设时刻被发送,从而能够避免因终端设备的缓存过小而导致对通信和控制的影响。According to the communication method of the present application, before the terminal device needs to send the first data to the network device at the preset time, the terminal device can delete the second data currently stored in the first cache space of the terminal device, so that the terminal can be enabled. The device stores the first data in the first cache space, thereby ensuring that the first data can be sent at the preset time, so that the influence on the communication and the control caused by the buffer of the terminal device being too small can be avoided.
根据前述方法,图4为本申请实施例提供的通信装置10的示意图一,如图4所示,该装置10可以为终端设备,也可以为芯片或电路,比如可设置于终端设备的芯片或电路。FIG. 4 is a schematic diagram 1 of a communication device 10 according to an embodiment of the present disclosure. As shown in FIG. 4, the device 10 may be a terminal device, or may be a chip or a circuit, such as a chip that can be disposed on a terminal device or Circuit.
该装置10可以包括处理器11(即,处理单元的一例)和存储器12。该存储器12用于存储指令,该处理器11用于执行该存储器12存储的指令,以使该装置20实现如图2 或图3中对应的方法中终端端设备(例如,上述终端设备#A或终端设备#B)执行的步骤。The apparatus 10 can include a processor 11 (i.e., an example of a processing unit) and a memory 12. The memory 12 is configured to store instructions for executing the instructions stored in the memory 12 to enable the apparatus 20 to implement a terminal device (eg, the terminal device #A described above) in a corresponding method as in FIG. 2 or FIG. Or the steps performed by terminal device #B).
进一步的,该装置10还可以包括输入口13(即,通信单元的一例)和输出口14(即,通信单元的另一例)。进一步的,该处理器11、存储器12、输入口13和输出口14可以通过内部连接通路互相通信,传递控制和/或数据信号。该存储器12用于存储计算机程序,该处理器11可以用于从该存储器12中调用并运行该计算计程序,以控制输入口13接收信号,控制输出口14发送信号,完成上述方法中终端设备的步骤。该存储器12可以集成在处理器11中,也可以与处理器11分开设置。Further, the device 10 may further include an input port 13 (ie, an example of a communication unit) and an output port 14 (ie, another example of a communication unit). Further, the processor 11, memory 12, input port 13 and output port 14 can communicate with one another via internal connection paths to communicate control and/or data signals. The memory 12 is configured to store a computer program, and the processor 11 can be used to call and run the computer program from the memory 12 to control the input port 13 to receive signals, and control the output port 14 to send signals to complete the terminal device in the above method. A step of. The memory 12 can be integrated in the processor 11 or can be provided separately from the processor 11.
可选地,若该装置10为通信设备,则该输入口13可以为接收器,该输出口14可以为发送器。其中,接收器和发送器可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为收发器。Optionally, if the device 10 is a communication device, the input port 13 may be a receiver, and the output port 14 may be a transmitter. The receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
可选地,若该装置10为芯片或电路,则该输入口13为输入接口,该输出口14为输出接口。Optionally, if the device 10 is a chip or a circuit, the input port 13 is an input interface, and the output port 14 is an output interface.
可选地,若该装置10为芯片或电路,所述装置10也可以不包括存储器12,所述处理器11可以读取该芯片外部的存储器中的指令(程序或代码)以实现前述如图2或图3中对应的方法中终端设备的功能。Optionally, if the device 10 is a chip or a circuit, the device 10 may not include the memory 12, and the processor 11 may read an instruction (program or code) in the memory external to the chip to implement the foregoing 2 or the function of the terminal device in the corresponding method in FIG.
作为一种实现方式,输入口13和输出口14的功能可以考虑通过收发电路或者收发的专用芯片实现。处理器11可以考虑通过专用处理芯片、处理电路、处理器或者通用芯片实现。As an implementation manner, the functions of the input port 13 and the output port 14 can be implemented by a dedicated chip through a transceiver circuit or a transceiver. The processor 11 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的终端设备。即将实现处理器11、输入口13和输出口14功能的程序代码存储在存储器12中,通用处理器通过执行存储器12中的代码来实现处理器11、输入口13和输出口14的功能。As another implementation manner, the terminal device provided by the embodiment of the present application may be implemented by using a general-purpose computer. The program code that implements the functions of the processor 11, the input port 13, and the output port 14 is stored in the memory 12, and the general purpose processor implements the functions of the processor 11, the input port 13, and the output port 14 by executing the code in the memory 12.
其中,以上列举的通信装置10中各模块或单元的功能和动作仅为示例性说明,通信装置10中各模块或单元可以用于执行上述方法200或300中终端设备(例如,上述终端设备#A或终端设备#B)所执行的各动作或处理过程,这里,为了避免赘述,省略其详细说明。The functions and actions of the modules or units in the communication device 10 listed above are merely exemplary. The modules or units in the communication device 10 may be used to execute the terminal device in the above method 200 or 300 (for example, the above terminal device # Each operation or processing executed by A or terminal device #B) is omitted here for avoiding redundancy.
该装置10所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts, explanations, detailed descriptions and other steps of the device 10 related to the technical solutions provided by the embodiments of the present application, refer to the descriptions of the foregoing methods or other embodiments, and no further details are provided herein.
根据前述方法,图5为本申请实施例提供的用于通信的装置30的示意图二,如图5所示,该装置30可以为网络设备,也可以为芯片或电路,如可设置于网络设备内的芯片或电路。FIG. 5 is a schematic diagram of a device 30 for communication according to an embodiment of the present disclosure. As shown in FIG. 5, the device 30 may be a network device, or may be a chip or a circuit, such as a network device. Chip or circuit inside.
该装置30可以包括处理器31(即,处理单元的一例)和存储器32。该存储器32用于存储指令,该处理器31用于执行该存储器32存储的指令,以使该装置30实现前述如图2或图3中对应的方法中网络设备(例如,上述网络设备#A或网络设备#B)执行的步骤。The apparatus 30 can include a processor 31 (ie, an example of a processing unit) and a memory 32. The memory 32 is configured to store instructions for executing the instructions stored by the memory 32 to cause the apparatus 30 to implement the network device (eg, the network device #A described above) in the corresponding method of FIG. 2 or FIG. Or network device #B) steps performed.
进一步的,该装置30还可以包括输入口33(即,通信单元的一例)和输出口33(即,处理单元的另一例)。再进一步的,该处理器31、存储器32、输入口33和输出口34可以通过内部连接通路互相通信,传递控制和/或数据信号。该存储器32用于存储计算机程序,该处理器31可以用于从该存储器32中调用并运行该计算计程序,以控制输入口33接收信号,控制输出口34发送信号,完成上述方法200中终端设备的步骤。该存储器32 可以集成在处理器31中,也可以与处理器31分开设置。Further, the device 30 may further include an input port 33 (ie, an example of a communication unit) and an output port 33 (ie, another example of the processing unit). Still further, the processor 31, memory 32, input port 33, and output port 34 can communicate with one another via internal connection paths to communicate control and/or data signals. The memory 32 is used to store a computer program. The processor 31 can be used to call and run the computer program from the memory 32 to control the input port 33 to receive signals, and control the output port 34 to send signals to complete the terminal in the method 200. The steps of the device. The memory 32 can be integrated in the processor 31 or can be provided separately from the processor 31.
以控制输入口33接收信号,控制输出口34发送信号,完成上述方法中接收端设备的步骤。该存储器32可以集成在处理器31中,也可以与处理器31分开设置。The control input port 33 receives the signal, and the control output port 34 transmits a signal to complete the steps of the receiving end device in the above method. The memory 32 can be integrated in the processor 31 or can be provided separately from the processor 31.
可选地,若该装置30为通信设备,则该输入口33为接收器,该输出口34为发送器。其中,接收器和发送器可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为收发器。Optionally, if the device 30 is a communication device, the input port 33 is a receiver, and the output port 34 is a transmitter. The receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
可选地,若该装置30为芯片或电路,则该输入口33为输入接口,该输出口34为输出接口。Optionally, if the device 30 is a chip or a circuit, the input port 33 is an input interface, and the output port 34 is an output interface.
可选地,若该装置30为芯片或电路,所述装置30也可以不包括存储器32,所述处理器31可以读取该芯片外部的存储器中的指令(程序或代码)以实现前述如图2或图3中对应的方法中网络设备的功能。Optionally, if the device 30 is a chip or a circuit, the device 30 may not include the memory 32, and the processor 31 may read an instruction (program or code) in the memory external to the chip to implement the foregoing 2 or the function of the network device in the corresponding method in FIG.
作为一种实现方式,输入口33和输出口34的功能可以考虑通过收发电路或者收发的专用芯片实现。处理器31可以考虑通过专用处理芯片、处理电路、处理器或者通用芯片实现。As an implementation, the functions of the input port 33 and the output port 34 can be implemented by a dedicated chip through a transceiver circuit or a transceiver. The processor 31 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的接收端设备。即将实现处理器31、输入口33和输出口34功能的程序代码存储在存储器中,通用处理器通过执行存储器中的代码来实现处理器31、输入口33和输出口34的功能。As another implementation manner, the manner of using a general-purpose computer can be considered to implement the receiving end device provided by the embodiment of the present application. The program code that implements the functions of the processor 31, the input port 33, and the output port 34 is stored in a memory, and the general purpose processor implements the functions of the processor 31, the input port 33, and the output port 34 by executing code in the memory.
其中,以上列举的通信装置30中各模块或单元的功能和动作仅为示例性说明,通信装置30中各模块或单元可以用于执行上述方法200或300中网络设备所执行的各动作或处理过程,这里,为了避免赘述,省略其详细说明。The functions and operations of the modules or units in the communication device 30 listed above are merely exemplary. Each module or unit in the communication device 30 may be used to perform various actions or processes performed by the network device in the foregoing method 200 or 300. In the process, detailed descriptions are omitted here to avoid redundancy.
该装置30所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts, explanations, detailed descriptions and other steps of the device 30 related to the technical solutions provided by the embodiments of the present application, refer to the descriptions of the foregoing methods or other embodiments, and no further details are provided herein.
图6为本申请提供的一种终端设备20的结构示意图,可以用于实现上述图2或图3所示方法中的终端设备的功能。该终端设备20可应用于图1所示出的系统中。为了便于说明,图6仅示出了终端设备的主要部件。如图6所示,终端设备20包括处理器、存储器、控制电路、天线以及输入输出装置。FIG. 6 is a schematic structural diagram of a terminal device 20 provided by the present application, which can be used to implement the functions of the terminal device in the method shown in FIG. 2 or FIG. The terminal device 20 can be applied to the system shown in FIG. For the convenience of explanation, FIG. 6 shows only the main components of the terminal device. As shown in FIG. 6, the terminal device 20 includes a processor, a memory, a control circuit, an antenna, and an input and output device.
处理器主要用于对通信协议以及通信数据进行处理,以及对整个终端设备进行控制,执行软件程序,处理软件程序的数据,例如用于支持终端设备执行上述传输预编码矩阵的指示方法实施例中所描述的动作。存储器主要用于存储软件程序和数据,例如存储上述实施例中所描述的码本。控制电路主要用于基带信号与射频信号的转换以及对射频信号的处理。控制电路和天线一起也可以叫做收发器,主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。The processor is mainly used for processing the communication protocol and the communication data, and controlling the entire terminal device, executing the software program, and processing the data of the software program, for example, in the embodiment of the indication method for supporting the terminal device to perform the foregoing transmission precoding matrix. The action described. The memory is primarily used to store software programs and data, such as the codebooks described in the above embodiments. The control circuit is mainly used for converting baseband signals and radio frequency signals and processing radio frequency signals. The control circuit together with the antenna can also be called a transceiver, and is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are primarily used to receive user input data and output data to the user.
当终端设备开机后,处理器可以读取存储单元中的软件程序,解释并执行软件程序的指令,处理软件程序的数据。当需要通过无线发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端设备时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。After the terminal device is powered on, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When the data needs to be transmitted by wireless, the processor performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal, and then sends the radio frequency signal to the outside through the antenna in the form of electromagnetic waves. When data is transmitted to the terminal device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
本领域技术人员可以理解,为了便于说明,图4仅示出了一个存储器和处理器。在实际的终端设备中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本申请实施例对此不做限制。Those skilled in the art will appreciate that FIG. 4 shows only one memory and processor for ease of illustration. In an actual terminal device, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, and the like.
作为一种可选地实现方式,处理器可以包括基带处理器和中央处理器,基带处理器主要用于对通信协议以及通信数据进行处理,中央处理器主要用于对整个终端设备进行控制,执行软件程序,处理软件程序的数据。图4中的处理器集成了基带处理器和中央处理器的功能,本领域技术人员可以理解,基带处理器和中央处理器也可以是各自独立的处理器,通过总线等技术互联。本领域技术人员可以理解,终端设备可以包括多个基带处理器以适应不同的网络制式,终端设备可以包括多个中央处理器以增强其处理能力,终端设备的各个部件可以通过各种总线连接。所述基带处理器也可以表述为基带处理电路或者基带处理芯片。所述中央处理器也可以表述为中央处理电路或者中央处理芯片。对通信协议以及通信数据进行处理的功能可以内置在处理器中,也可以以软件程序的形式存储在存储单元中,由处理器执行软件程序以实现基带处理功能。As an alternative implementation manner, the processor may include a baseband processor and a central processing unit, and the baseband processor is mainly used to process the communication protocol and the communication data, and the central processing unit is mainly used to control and execute the entire terminal device. A software program that processes data from a software program. The processor in FIG. 4 integrates the functions of the baseband processor and the central processing unit. Those skilled in the art can understand that the baseband processor and the central processing unit can also be independent processors and interconnected by technologies such as a bus. Those skilled in the art will appreciate that the terminal device may include a plurality of baseband processors to accommodate different network standards, and the terminal device may include a plurality of central processors to enhance its processing capabilities, and various components of the terminal devices may be connected through various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The functions of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to implement the baseband processing function.
示例性的,在本申请实施例中,可以将具有收发功能的天线和控制电路视为终端设备20的收发单元201,将具有处理功能的处理器视为终端设备20的处理单元202。如图6所示,终端设备20包括收发单元201和处理单元202。收发单元也可以称为收发器、收发机、收发装置等。可选地,可以将收发单元201中用于实现接收功能的器件视为接收单元,将收发单元201中用于实现发送功能的器件视为发送单元,即收发单元201包括接收单元和发送单元。示例性的,接收单元也可以称为接收机、接收器、接收电路等,发送单元可以称为发射机、发射器或者发射电路等。Exemplarily, in the embodiment of the present application, the antenna and control circuit having the transceiving function can be regarded as the transceiving unit 201 of the terminal device 20, and the processor having the processing function is regarded as the processing unit 202 of the terminal device 20. As shown in FIG. 6, the terminal device 20 includes a transceiver unit 201 and a processing unit 202. The transceiver unit can also be referred to as a transceiver, a transceiver, a transceiver, and the like. Alternatively, the device for implementing the receiving function in the transceiver unit 201 can be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 201 is regarded as a transmitting unit, that is, the transceiver unit 201 includes a receiving unit and a transmitting unit. Illustratively, the receiving unit may also be referred to as a receiver, a receiver, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit or the like.
图7为本申请实施例提供的一种网络设备(例如,接入网设备)的结构示意图,可以用于实现上述图2或图3所示方法中的网络设备的功能。如可以为基站的结构示意图。如图7所示,该网络设备(例如,基站)可应用于如图1所示的系统中。网络设备40包括一个或多个射频单元,如远端射频单元(remote radio unit,RRU)401和一个或多个基带单元(baseband unit,BBU)(也可称为数字单元,digital unit,DU)402。所述RRU 401可以称为收发单元、收发机、收发电路、或者收发器等等,其可以包括至少一个天线4011和射频单元4012。所述RRU 401部分主要用于射频信号的收发以及射频信号与基带信号的转换,例如用于向终端设备发送上述实施例中所述的信令消息。所述BBU 402部分主要用于进行基带处理,对基站进行控制等。所述RRU 401与BBU 402可以是物理上设置在一起,也可以物理上分离设置的,即分布式基站。FIG. 7 is a schematic structural diagram of a network device (for example, an access network device) according to an embodiment of the present disclosure, which may be used to implement the functions of the network device in the method shown in FIG. 2 or FIG. For example, it can be a schematic diagram of a base station. As shown in FIG. 7, the network device (e.g., base station) can be applied to the system as shown in FIG. The network device 40 includes one or more radio frequency units, such as a remote radio unit (RRU) 401 and one or more baseband units (BBUs) (also referred to as digital units, DUs). 402. The RRU 401 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., which may include at least one antenna 4011 and a radio frequency unit 4012. The RRU 401 is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals and baseband signals, for example, for transmitting the signaling messages described in the foregoing embodiments to the terminal device. The BBU 402 portion is mainly used for performing baseband processing, controlling a base station, and the like. The RRU 401 and the BBU 402 may be physically disposed together or physically separated, that is, distributed base stations.
所述BBU 402为基站的控制中心,也可以称为处理单元,主要用于完成基带处理功能,如信道编码,复用,调制,扩频等等。例如该BBU(处理单元)402可以用于控制基站40执行上述方法实施例中关于网络设备的操作流程。The BBU 402 is a control center of a base station, and may also be referred to as a processing unit, and is mainly used to perform baseband processing functions such as channel coding, multiplexing, modulation, spreading, and the like. For example, the BBU (processing unit) 402 can be used to control the base station 40 to perform the operation procedure of the network device in the foregoing method embodiment.
在一个示例中,所述BBU 402可以由一个或多个单板构成,多个单板可以共同支持单一接入制式的无线接入网(如LTE系统,或5G系统),也可以分别支持不同接入制式的无线接入网。所述BBU 402还包括存储器4021和处理器4022。所述存储器4021用以存储必要的指令和数据。例如存储器4021存储上述实施例中的码本等。所述处理器4022用于控制基站进行必要的动作,例如用于控制基站执行上述方法实施例中关于网络设备的操作流程。所述存储器4021和处理器4022可以服务于一个或多个单板。也就是说,可以 每个单板上单独设置存储器和处理器。也可以是多个单板共用相同的存储器和处理器。此外每个单板上还可以设置有必要的电路。In an example, the BBU 402 may be composed of one or more boards, and multiple boards may jointly support a single access standard radio access network (such as an LTE system or a 5G system), or may support different ones. Access to the standard wireless access network. The BBU 402 also includes a memory 4021 and a processor 4022. The memory 4021 is used to store necessary instructions and data. For example, the memory 4021 stores the codebook or the like in the above embodiment. The processor 4022 is configured to control the base station to perform necessary actions, for example, to control the base station to perform an operation procedure about the network device in the foregoing method embodiment. The memory 4021 and the processor 4022 can serve one or more boards. That is, the memory and processor can be set separately on each board. It is also possible that multiple boards share the same memory and processor. In addition, the necessary circuits can be set on each board.
在一种可能的实施方式中,随着片上系统(System-on-chip,SoC)技术的发展,可以将402部分和401部分的全部或者部分功能由SoC技术实现,例如由一颗基站功能芯片实现,该基站功能芯片集成了处理器、存储器、天线接口等器件,基站相关功能的程序存储在存储器中,由处理器执行程序以实现基站的相关功能。可选地,该基站功能芯片也能够读取该芯片外部的存储器以实现基站的相关功能。In a possible implementation manner, with the development of System-on-chip (SoC) technology, all or part of the functions of the 402 part and the 401 part may be implemented by the SoC technology, for example, by a base station function chip. The base station function chip integrates a processor, a memory, an antenna interface and the like. The program of the base station related function is stored in the memory, and the processor executes the program to implement the related functions of the base station. Optionally, the base station function chip is also capable of reading a memory external to the chip to implement related functions of the base station.
应理解,图7示例的网络设备的结构仅为一种可能的形态,而不应对本申请实施例构成任何限定。本申请并不排除未来可能出现的其他形态的基站结构的可能。It should be understood that the structure of the network device illustrated in FIG. 7 is only one possible form, and should not be construed as limiting the embodiments of the present application. This application does not preclude the possibility of other forms of base station architecture that may arise in the future.
根据本申请实施例提供的方法,本申请实施例还提供一种通信系统,其包括前述的发送端设备和接收端设备。According to the method provided by the embodiment of the present application, the embodiment of the present application further provides a communication system, which includes the foregoing sending end device and receiving end device.
应理解,本申请实施例中,该处理器可以为中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), and dedicated integration. Application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read only memory (ROMM), an erasable programmable read only memory (erasable PROM, EPROM), or an electrical Erase programmable EPROM (EEPROM) or flash memory. The volatile memory can be a random access memory (RAM) that acts as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic randomness. Synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory Take memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (DR RAM).
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介 质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that contains one or more sets of available media. The usable medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid state hard drive.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application. A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again. In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (42)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    终端设备接收网络设备发送的第一指示信息,所述第一指示信息用于指示所述终端设备从缓存中删除第一数据,所述第一数据是所述网络设备发送给所述终端设备的数据,所述第一数据存储在所述缓存中的第一缓存空间,所述第一数据尚未提交至所述终端设备的应用层;Receiving, by the terminal device, the first indication information that is sent by the network device, where the first indication information is used to indicate that the terminal device deletes the first data from the cache, where the first data is sent by the network device to the terminal device Data, the first data is stored in a first cache space in the cache, and the first data has not been submitted to an application layer of the terminal device;
    所述终端设备根据所述第一指示信息,从所述缓存中删除所述第一数据;The terminal device deletes the first data from the cache according to the first indication information;
    所述终端设备接收所述网络设备发送的第二数据,并在所述第一缓存空间中存储所述第二数据的部分或全部。The terminal device receives second data sent by the network device, and stores part or all of the second data in the first cache space.
  2. 根据权利要求1所述的通信方法,其特征在于,在所述终端设备接收网络设备发送的第一指示信息之前,所述方法还包括:The communication method according to claim 1, wherein before the receiving, by the terminal device, the first indication information sent by the network device, the method further comprises:
    所述终端设备向所述网络设备发送第二指示信息,所述第二指示信息用于指示所述缓存中当前的可用缓存空间的大小,其中,所述第一数据是所述网络设备根据所述第二指示信息确定的。Transmitting, by the terminal device, the second indication information to the network device, where the second indication information is used to indicate a size of a current available cache space in the cache, where the first data is according to the network device The second indication information is determined.
  3. 根据权利要求2所述的通信方法,所述第二指示信息还用于指示所述缓存中缓存的数据需要提交至所述应用层的时间,和/或The communication method according to claim 2, wherein the second indication information is further used to indicate when the buffered data in the cache needs to be submitted to the application layer, and/or
    所述第二指示信息还用于指示所述缓存中缓存的数据的优先级。The second indication information is further used to indicate a priority of data cached in the cache.
  4. 根据权利要求2或3所述的通信方法,其特征在于,所述终端设备向所述网络设备发送第二指示信息,包括:The communication method according to claim 2 or 3, wherein the transmitting, by the terminal device, the second indication information to the network device comprises:
    所述终端设备周期性向所述网络设备发送所述第二指示信息;和/或The terminal device periodically sends the second indication information to the network device; and/or
    所述终端设备在当前的可用缓存空间的大小小于或等于预设的第一阈值时,向所述网络设备发送所述第二指示信息;和/或The terminal device sends the second indication information to the network device when the size of the current available buffer space is less than or equal to a preset first threshold; and/or
    所述终端设备在接收到所述网络设备发送的第三指示信息后,向所述网络设备发送所述第二指示信息,所述第三指示信息用于指示所述终端设备向所述网络设备发送第二指示信息。After receiving the third indication information sent by the network device, the terminal device sends the second indication information to the network device, where the third indication information is used to indicate that the terminal device is to the network device. Send the second indication message.
  5. 根据权利要求2至4中任一项所述的通信方法,其特征在于,所述第一数据是所述网络设备根据所述第二数据的相关信息确定的,其中The communication method according to any one of claims 2 to 4, wherein the first data is determined by the network device according to the related information of the second data, wherein
    所述第二数据的相关信息包括所述第二数据的大小的信息,且所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第二数据的大小,和/或The related information of the second data includes information about a size of the second data, and a size of data currently available in the cache and the first cache space is greater than or equal to a size of the second data. Size, and / or
    所述第二数据的相关信息包括所述第二数据的优先级的信息,且所述第二数据的优先级高于所述第一数据的优先级,或,所述第二数据的优先级与所述第一数据的优先级相同。The related information of the second data includes information of a priority of the second data, and the priority of the second data is higher than a priority of the first data, or a priority of the second data The priority is the same as the first data.
  6. 根据权利要求1至5中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 1 to 5, wherein the communication method further comprises:
    所述终端设备接收所述网络设备重新发送的所述第一数据。The terminal device receives the first data that is resent by the network device.
  7. 根据权利要求1至6中任一项所述的通信方法,其特征在于,所述第一指示信息还用于指示所述第一数据在所述缓存中的位置,和/或The communication method according to any one of claims 1 to 6, wherein the first indication information is further used to indicate a location of the first data in the cache, and/or
    所述第一指示信息还用于指示所述第一数据在所述缓存数据中的索引,和/或The first indication information is further used to indicate an index of the first data in the cached data, and/or
    所述第一指示信息还用于指示所述第一数据的大小。The first indication information is further used to indicate a size of the first data.
  8. 一种通信方法,其特征在于,包括:A communication method, comprising:
    网络设备向终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备从缓存中删除第一数据,所述第一数据是所述网络设备发送给所述终端设备的数据,所述第一数据存储在所述缓存中的第一缓存空间,所述第一数据尚未提交至所述终端设备的应用层;The network device sends the first indication information to the terminal device, where the first indication information is used to indicate that the terminal device deletes the first data from the cache, where the first data is data sent by the network device to the terminal device The first data is stored in a first cache space in the cache, and the first data is not yet submitted to an application layer of the terminal device;
    所述网络设备向所述终端设备发送第二数据,所述第二数据的部分或全部被所述终端设备存储在所述第一缓存空间中。The network device sends second data to the terminal device, and part or all of the second data is stored in the first cache space by the terminal device.
  9. 根据权利要求8所述的通信方法,其特征在于,在网络设备向终端设备发送第一指示信息之前,所述方法还包括:The communication method according to claim 8, wherein before the sending, by the network device, the first indication information to the terminal device, the method further includes:
    所述网络设备从所述终端设备接收第二指示信息,所述第二指示信息用于指示所述缓存中当前的可用缓存空间的大小;The network device receives second indication information from the terminal device, where the second indication information is used to indicate a size of a current available cache space in the cache;
    所述网络设备根据所述第二指示信息确定所述第一数据。The network device determines the first data according to the second indication information.
  10. 根据权利要求9所述的通信方法,所述第二指示信息还用于指示所述缓存中缓存的数据需要提交至所述应用层的时间,和/或,The communication method according to claim 9, wherein the second indication information is further used to indicate when the buffered data in the cache needs to be submitted to the application layer, and/or
    所述第二指示信息还用于指示所述缓存中缓存的数据的优先级。The second indication information is further used to indicate a priority of data cached in the cache.
  11. 根据权利要求9或10所述的通信方法,其特征在于,所述第二是指信息是所述终端设备周期性发送的;和/或The communication method according to claim 9 or 10, wherein the second means that the information is periodically sent by the terminal device; and/or
    所述第二指示信息是所述终端设备在确定当前的可用缓存空间的大小小于或等于预设的第一阈值时发送的;和/或The second indication information is sent by the terminal device when determining that the size of the current available cache space is less than or equal to a preset first threshold; and/or
    所述第二指示信息是所述终端设备根据从所述网络设备接收到的第三指示信息发送的,所述第三指示信息用于指示所述终端设备向所述网络设备发送第二指示信息。The second indication information is sent by the terminal device according to the third indication information received from the network device, where the third indication information is used to instruct the terminal device to send the second indication information to the network device. .
  12. 根据权利要求9至11中任一项所述的通信方法,其特征在于,在网络设备向终端设备发送第一指示信息之前,所述方法还包括:The communication method according to any one of claims 9 to 11, wherein before the network device sends the first indication information to the terminal device, the method further includes:
    所述网络设备根据所述第二数据的相关信息确定所述第一数据,其中Determining, by the network device, the first data according to the related information of the second data, where
    所述第二数据的相关信息包括所述第二数据的大小的信息,且所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第二数据的大小,和/或The related information of the second data includes information about a size of the second data, and a size of data currently available in the cache and the first cache space is greater than or equal to a size of the second data. Size, and / or
    所述第二数据的相关信息包括所述第二数据的优先级的信息,且所述第二数据的优先级高于所述第一数据的优先级,或,所述第二数据的优先级与所述第一数据的优先级相同。The related information of the second data includes information of a priority of the second data, and the priority of the second data is higher than a priority of the first data, or a priority of the second data The priority is the same as the first data.
  13. 根据权利要求8至12中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 8 to 12, wherein the communication method further comprises:
    所述网络设备重新向所述终端设备发送所述第一数据。The network device resends the first data to the terminal device.
  14. 根据权利要求8至13中任一项所述的通信方法,其特征在于,所述第一指示信息还用于指示所述第一数据在所述缓存中的位置,和/或The communication method according to any one of claims 8 to 13, wherein the first indication information is further used to indicate a location of the first data in the cache, and/or
    所述第一指示信息还用于指示所述第一数据在所述缓存数据中的索引,和/或The first indication information is further used to indicate an index of the first data in the cached data, and/or
    所述第一指示信息还用于指示所述第一数据的大小。The first indication information is further used to indicate a size of the first data.
  15. 一种通信方法,其特征在于,包括:A communication method, comprising:
    终端设备在需要向网络设备发送第一数据时,从所述终端设备的缓存中删除第二数据,所述第二数据是所述终端设备从所述网络设备接收的数据,所述第二数据存储在所述缓存中的第一缓存空间,所述第二数据尚未提交至所述终端设备的应用层;The terminal device deletes the second data from the cache of the terminal device when the first data needs to be sent to the network device, where the second data is data received by the terminal device from the network device, the second data Stored in the first cache space in the cache, the second data has not been submitted to the application layer of the terminal device;
    所述终端设备在所述第一缓存空间中存储所述第一数据的部分或全部,并在预设的发送时刻,向所述网络设备发送所述第一数据;The terminal device stores part or all of the first data in the first cache space, and sends the first data to the network device at a preset sending moment;
    所述终端设备向所述网络设备发送重传指示信息,所述重传指示信息用于指示所述网络设备重新发送所述第二数据;The terminal device sends retransmission indication information to the network device, where the retransmission indication information is used to instruct the network device to resend the second data;
    所述终端设备接收所述网络设备根据所述重传指示信息重新发送的第二数据。The terminal device receives second data that is retransmitted by the network device according to the retransmission indication information.
  16. 根据权利要求15所述的通信方法,其特征在于,在从所述终端设备的缓存中删除第二数据之前,所述方法还包括:The communication method according to claim 15, wherein the method further comprises: before deleting the second data from the cache of the terminal device, the method further comprising:
    所述终端设备根据参考信息,确定所述第二数据,其中,所述参考信息用于指示以下至少一种参数:The terminal device determines the second data according to the reference information, where the reference information is used to indicate at least one of the following parameters:
    所述第一缓存空间的大小、所述缓存中当前的可用缓存空间的大小、所述第一数据的优先级、所述缓存中缓存的数据的优先级、所述发送时刻、所述缓存中存储的所述终端设备从所述网络设备接收的数据需要提交至所述终端设备的应用层的时刻。a size of the first cache space, a size of a current available cache space in the cache, a priority of the first data, a priority of data cached in the cache, the sending time, and the cache The stored time that the terminal device receives data from the network device needs to be submitted to the application layer of the terminal device.
  17. 根据权利要求16所述的通信方法,其特征在于,所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第一数据的大小,和/或The communication method according to claim 16, wherein a size of data that can be stored in the currently available cache space and the first cache space in the cache is greater than or equal to a size of the first data, and/or
    所述第一数据的优先级高于所述第二数据的优先级,和/或The first data has a higher priority than the second data, and/or
    所述第二数据需要提交至所述终端设备的应用层的时刻处于所述发送时刻之后。The moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
  18. 一种通信方法,其特征在于,包括:A communication method, comprising:
    网络设备接收终端设备在预设的发送时刻发送的第一数据,其中,所述第一数据的部分或全部在所述发送时刻之前被存在第一缓存空间中,所述第一缓存空间在存储所述第一数据之前用于存储第二数据,所述第二数据是所述终端设备从所述网络设备接收的数据,所述第二数据尚未提交至所述终端设备的应用层,所述第二数据是所述终端设备在确定需要发送所述第一数据时被所述终端设备从所述第一缓存空间删除的;The network device receives the first data that is sent by the terminal device at a preset sending time, where part or all of the first data is stored in the first buffer space before the sending time, and the first buffer space is in the storage The first data is used to store second data, the second data is data received by the terminal device from the network device, and the second data has not been submitted to an application layer of the terminal device, The second data is that the terminal device is deleted by the terminal device from the first cache space when it is determined that the first data needs to be sent;
    所述网络设备从所述终端设备接收重传指示信息,所述重传指示信息用于指示所述网络设备重新发送所述第二数据;Receiving, by the network device, the retransmission indication information, where the retransmission indication information is used to instruct the network device to resend the second data;
    所述网络设备根据所述重传指示信息重新向所述终端设备发送第二数据。The network device resends the second data to the terminal device according to the retransmission indication information.
  19. 根据权利要求18所述的通信方法,其特征在于,所述第二数据是所述终端设备根据参考信息确定的,其中,所述参考信息用于指示以下至少一种参数:The communication method according to claim 18, wherein the second data is determined by the terminal device according to reference information, wherein the reference information is used to indicate at least one of the following parameters:
    所述第一缓存空间的大小、所述缓存中当前的可用缓存空间的大小、所述第一数据的优先级、所述缓存中缓存的数据的优先级、所述发送时刻、所述缓存中存储的所述终端设备从所述网络设备接收的数据需要提交至所述终端设备的应用层的时刻。a size of the first cache space, a size of a current available cache space in the cache, a priority of the first data, a priority of data cached in the cache, the sending time, and the cache The stored time that the terminal device receives data from the network device needs to be submitted to the application layer of the terminal device.
  20. 根据权利要求19所述的通信方法,其特征在于,所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第一数据的大小,和/或The communication method according to claim 19, wherein a size of data that can be stored in the currently available cache space and the first cache space in the cache is greater than or equal to a size of the first data, and/or
    所述第一数据的优先级高于所述第二数据的优先级,和/或The first data has a higher priority than the second data, and/or
    所述第二数据需要提交至所述终端设备的应用层的时刻处于所述发送时刻之后。The moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
  21. 一种通信装置,其特征在于,包括:A communication device, comprising:
    通信单元,用于接收网络设备发送的第一指示信息,所述第一指示信息用于指示所述 通信装置从缓存中删除第一数据,所述第一数据是所述网络设备发送给所述通信装置的数据,所述第一数据存储在所述缓存中的第一缓存空间,所述第一数据尚未提交至所述通信装置的应用层;a communication unit, configured to receive first indication information that is sent by the network device, where the first indication information is used to instruct the communication device to delete the first data from the cache, where the first data is sent by the network device to the Data of the communication device, the first data is stored in a first cache space in the cache, and the first data has not been submitted to an application layer of the communication device;
    处理单元,用于根据所述第一指示信息,从所述缓存中删除所述第一数据;a processing unit, configured to delete the first data from the cache according to the first indication information;
    所述通信单元还用于接收所述网络设备发送的第二数据,并在所述第一缓存空间中存储所述第二数据的部分或全部。The communication unit is further configured to receive second data sent by the network device, and store part or all of the second data in the first cache space.
  22. 根据权利要求21所述的通信装置,其特征在于,所述通信单元还用于向所述网络设备发送第二指示信息,所述第二指示信息用于指示所述缓存中当前的可用缓存空间的大小,其中,所述第一数据是所述网络设备根据所述第二指示信息确定的。The communication device according to claim 21, wherein the communication unit is further configured to send second indication information to the network device, where the second indication information is used to indicate a current available cache space in the cache. The size of the first data is determined by the network device according to the second indication information.
  23. 根据权利要求22所述的通信装置,所述第二指示信息还用于指示所述缓存中缓存的数据需要提交至所述应用层的时间,和/或The communication device according to claim 22, wherein the second indication information is further used to indicate when the buffered data in the cache needs to be submitted to the application layer, and/or
    所述第二指示信息还用于指示所述缓存中缓存的数据的优先级。The second indication information is further used to indicate a priority of data cached in the cache.
  24. 根据权利要求22或23所述的通信装置,其特征在于,A communication device according to claim 22 or 23, characterized in that
    所述通信单元具体用于周期性向所述网络设备发送所述第二指示信息;和/或The communication unit is specifically configured to periodically send the second indication information to the network device; and/or
    所述通信单元具体用于在当前的可用缓存空间的大小小于或等于预设的第一阈值时,向所述网络设备发送所述第二指示信息;和/或The communication unit is specifically configured to send the second indication information to the network device when a size of a current available buffer space is less than or equal to a preset first threshold; and/or
    所述通信单元具体用于在接收到所述网络设备发送的第三指示信息后,向所述网络设备发送所述第二指示信息,所述第三指示信息用于指示所述通信装置向所述网络设备发送第二指示信息。The communication unit is configured to: after receiving the third indication information sent by the network device, send the second indication information to the network device, where the third indication information is used to indicate that the communication device is located The network device sends the second indication information.
  25. 根据权利要求22至24中任一项所述的通信装置,其特征在于,所述第一数据是所述网络设备根据所述第二数据的相关信息确定的,其中The communication device according to any one of claims 22 to 24, wherein the first data is determined by the network device according to the related information of the second data, wherein
    所述第二数据的相关信息包括所述第二数据的大小的信息,且所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第二数据的大小,和/或The related information of the second data includes information about a size of the second data, and a size of data currently available in the cache and the first cache space is greater than or equal to a size of the second data. Size, and / or
    所述第二数据的相关信息包括所述第二数据的优先级的信息,且所述第二数据的优先级高于所述第一数据的优先级,或,所述第二数据的优先级与所述第一数据的优先级相同。The related information of the second data includes information of a priority of the second data, and the priority of the second data is higher than a priority of the first data, or a priority of the second data The priority is the same as the first data.
  26. 根据权利要求21至25中任一项所述的通信装置,其特征在于,所述通信单元还用于接收所述网络设备重新发送的所述第一数据。The communication device according to any one of claims 21 to 25, wherein the communication unit is further configured to receive the first data retransmitted by the network device.
  27. 根据权利要求21至26中任一项所述的通信装置,其特征在于,所述第一指示信息还用于指示所述第一数据在所述缓存中的位置,和/或The communication device according to any one of claims 21 to 26, wherein the first indication information is further used to indicate a location of the first data in the cache, and/or
    所述第一指示信息还用于指示所述第一数据在所述缓存数据中的索引,和/或The first indication information is further used to indicate an index of the first data in the cached data, and/or
    所述第一指示信息还用于指示所述第一数据的大小。The first indication information is further used to indicate a size of the first data.
  28. 一种通信装置,其特征在于,包括:A communication device, comprising:
    通信单元,用于向终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备从缓存中删除第一数据,所述第一数据是所述通信装置发送给所述终端设备的数据,所述第一数据存储在所述缓存中的第一缓存空间,所述第一数据尚未提交至所述终端设备的应用层;a communication unit, configured to send the first indication information to the terminal device, where the first indication information is used to instruct the terminal device to delete the first data from the cache, where the first data is sent by the communication device to the terminal Data of the device, the first data is stored in a first cache space in the cache, and the first data is not yet submitted to an application layer of the terminal device;
    所述通信单元还用于向所述终端设备发送第二数据,所述第二数据的部分或全部被所述终端设备存储在所述第一缓存空间中。The communication unit is further configured to send second data to the terminal device, and part or all of the second data is stored in the first cache space by the terminal device.
  29. 根据权利要求28所述的通信装置,其特征在于,在所述通信单元还用于从所述终端设备接收第二指示信息,所述第二指示信息用于指示所述缓存中当前的可用缓存空间的大小;The communication device according to claim 28, wherein the communication unit is further configured to receive second indication information from the terminal device, where the second indication information is used to indicate a current available cache in the cache. The size of the space;
    所述通信装置还包括:The communication device further includes:
    处理单元,用于根据所述第二指示信息确定所述第一数据。And a processing unit, configured to determine the first data according to the second indication information.
  30. 根据权利要求29所述的通信装置,所述第二指示信息还用于指示所述缓存中缓存的数据需要提交至所述应用层的时间,和/或,The communication device according to claim 29, wherein the second indication information is further used to indicate when the buffered data in the cache needs to be submitted to the application layer, and/or
    所述第二指示信息还用于指示所述缓存中缓存的数据的优先级。The second indication information is further used to indicate a priority of data cached in the cache.
  31. 根据权利要求29或30所述的通信装置,其特征在于,所述第二是指信息是所述终端设备周期性发送的;和/或The communication device according to claim 29 or 30, wherein said second means that the information is periodically transmitted by said terminal device; and/or
    所述第二指示信息是所述终端设备在确定当前的可用缓存空间的大小小于或等于预设的第一阈值时发送的;和/或The second indication information is sent by the terminal device when determining that the size of the current available cache space is less than or equal to a preset first threshold; and/or
    所述第二指示信息是所述终端设备根据从所述通信装置接收到的第三指示信息发送的,所述第三指示信息用于指示所述终端设备向所述通信装置发送第二指示信息。The second indication information is sent by the terminal device according to the third indication information received from the communication device, and the third indication information is used to instruct the terminal device to send the second indication information to the communication device. .
  32. 根据权利要求29至31中任一项所述的通信装置,其特征在于,所述处理单元具体用于根据所述第二数据的相关信息确定所述第一数据,其中The communication device according to any one of claims 29 to 31, wherein the processing unit is specifically configured to determine the first data according to related information of the second data, wherein
    所述第二数据的相关信息包括所述第二数据的大小的信息,且所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第二数据的大小,和/或The related information of the second data includes information about a size of the second data, and a size of data currently available in the cache and the first cache space is greater than or equal to a size of the second data. Size, and / or
    所述第二数据的相关信息包括所述第二数据的优先级的信息,且所述第二数据的优先级高于所述第一数据的优先级,或,所述第二数据的优先级与所述第一数据的优先级相同。The related information of the second data includes information of a priority of the second data, and the priority of the second data is higher than a priority of the first data, or a priority of the second data The priority is the same as the first data.
  33. 根据权利要求28至32中任一项所述的通信装置,其特征在于,所述通信单元还用于重新向所述终端设备发送所述第一数据。The communication device according to any one of claims 28 to 32, wherein the communication unit is further configured to resend the first data to the terminal device.
  34. 根据权利要求28至33中任一项所述的通信装置,其特征在于,所述第一指示信息还用于指示所述第一数据在所述缓存中的位置,和/或The communication device according to any one of claims 28 to 33, wherein the first indication information is further used to indicate a location of the first data in the cache, and/or
    所述第一指示信息还用于指示所述第一数据在所述缓存数据中的索引,和/或The first indication information is further used to indicate an index of the first data in the cached data, and/or
    所述第一指示信息还用于指示所述第一数据的大小。The first indication information is further used to indicate a size of the first data.
  35. 一种通信装置,其特征在于,包括:A communication device, comprising:
    处理单元,用于在需要向网络设备发送第一数据时,从所述通信装置的缓存中删除第二数据,所述第二数据是所述通信装置从所述网络设备接收的数据,所述第二数据存储在所述缓存中的第一缓存空间,所述第二数据尚未提交至所述通信装置的应用层;并在所述第一缓存空间中存储所述第一数据的部分或全部,并在预设的发送时刻,向所述网络设备发送所述第一数据;a processing unit, configured to delete second data from a cache of the communication device when the first data needs to be sent to the network device, where the second data is data received by the communication device from the network device, The second data is stored in a first cache space in the cache, the second data has not been submitted to an application layer of the communication device; and part or all of the first data is stored in the first cache space And transmitting the first data to the network device at a preset sending moment;
    通信单元,用于向所述网络设备发送重传指示信息,所述重传指示信息用于指示所述网络设备重新发送所述第二数据;并接收所述网络设备根据所述重传指示信息重新发送的第二数据。a communication unit, configured to send, to the network device, retransmission indication information, where the retransmission indication information is used to instruct the network device to resend the second data, and receive the network device according to the retransmission indication information Resend the second data.
  36. 根据权利要求35所述的通信装置,其特征在于,所述处理单元还用于根据参考信息,确定所述第二数据,其中,所述参考信息用于指示以下至少一种参数:The communication device according to claim 35, wherein the processing unit is further configured to determine the second data according to the reference information, wherein the reference information is used to indicate at least one of the following parameters:
    所述第一缓存空间的大小、所述缓存中当前的可用缓存空间的大小、所述第一数据的 优先级、所述缓存中缓存的数据的优先级、所述发送时刻、所述缓存中存储的所述通信装置从所述网络设备接收的数据需要提交至所述通信装置的应用层的时刻。a size of the first cache space, a size of a current available cache space in the cache, a priority of the first data, a priority of data cached in the cache, the sending time, and the cache The stored time at which the communication device receives data from the network device needs to be submitted to the application layer of the communication device.
  37. 根据权利要求36所述的通信装置,其特征在于,所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第一数据的大小,和/或The communication device according to claim 36, wherein a size of data currently available in the cache and the first cache space is greater than or equal to a size of the first data, and/or
    所述第一数据的优先级高于所述第二数据的优先级,和/或The first data has a higher priority than the second data, and/or
    所述第二数据需要提交至所述通信装置的应用层的时刻处于所述发送时刻之后。The time at which the second data needs to be submitted to the application layer of the communication device is after the transmission time.
  38. 一种通信装置,其特征在于,包括:A communication device, comprising:
    通信单元,接收终端设备在预设的发送时刻发送的第一数据,其中,所述第一数据的部分或全部在所述发送时刻之前被存在第一缓存空间中,所述第一缓存空间在存储所述第一数据之前用于存储第二数据,所述第二数据是所述终端设备从所述通信装置接收的数据,所述第二数据尚未提交至所述终端设备的应用层,所述第二数据是所述终端设备在确定需要发送所述第一数据时被所述终端设备从所述第一缓存空间删除的;a communication unit, configured to receive first data that is sent by the terminal device at a preset sending time, where part or all of the first data is stored in the first buffer space before the sending time, where the first buffer space is Preserving the first data before storing the second data, the second data is data received by the terminal device from the communication device, and the second data has not been submitted to an application layer of the terminal device, where The second data is that the terminal device is deleted by the terminal device from the first cache space when determining that the first data needs to be sent;
    所述通信单元还用于从所述终端设备接收重传指示信息,所述重传指示信息用于指示所述通信装置重新发送所述第二数据;The communication unit is further configured to receive, by the terminal device, retransmission indication information, where the retransmission indication information is used to instruct the communication device to resend the second data;
    所述通信单元还用于根据所述重传指示信息重新向所述终端设备发送第二数据。The communication unit is further configured to resend the second data to the terminal device according to the retransmission indication information.
  39. 根据权利要求38所述的通信装置,其特征在于,所述第二数据是所述终端设备根据参考信息确定的,其中,所述参考信息用于指示以下至少一种参数:The communication device according to claim 38, wherein the second data is determined by the terminal device according to the reference information, wherein the reference information is used to indicate at least one of the following parameters:
    所述第一缓存空间的大小、所述缓存中当前的可用缓存空间的大小、所述第一数据的优先级、所述缓存中缓存的数据的优先级、所述发送时刻、所述缓存中存储的所述终端设备从所述通信装置接收的数据需要提交至所述终端设备的应用层的时刻。a size of the first cache space, a size of a current available cache space in the cache, a priority of the first data, a priority of data cached in the cache, the sending time, and the cache The stored time at which the terminal device receives data from the communication device needs to be submitted to the application layer of the terminal device.
  40. 根据权利要求39所述的通信装置,其特征在于,所述缓存中当前可用缓存空间和所述第一缓存空间能够存储的数据的大小大于或等于所述第一数据的大小,和/或The communication device according to claim 39, wherein a size of data currently available in the cache and the first cache space in the cache is greater than or equal to a size of the first data, and/or
    所述第一数据的优先级高于所述第二数据的优先级,和/或The first data has a higher priority than the second data, and/or
    所述第二数据需要提交至所述终端设备的应用层的时刻处于所述发送时刻之后。The moment when the second data needs to be submitted to the application layer of the terminal device is after the sending moment.
  41. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得通信设备执行权利要求1至20中任一项所述的通信方法。A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, the computer program causing the communication device to perform the communication method according to any one of claims 1 to 20.
  42. 一种计算机程序产品,其特征在于,该计算机程序产品包括:计算机程序代码,当该计算机程序代码被通信设备运行时,使得所述通信设备执行权利要求1至20中任一项所述的通信方法。A computer program product, comprising: computer program code, when the computer program code is executed by a communication device, causing the communication device to perform the communication of any one of claims 1 to 20. method.
PCT/CN2018/110880 2017-10-19 2018-10-18 Communication method and communication apparatus WO2019076347A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710979453.7A CN109688179B (en) 2017-10-19 2017-10-19 Communication method and communication device
CN201710979453.7 2017-10-19

Publications (1)

Publication Number Publication Date
WO2019076347A1 true WO2019076347A1 (en) 2019-04-25

Family

ID=66173545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/110880 WO2019076347A1 (en) 2017-10-19 2018-10-18 Communication method and communication apparatus

Country Status (2)

Country Link
CN (1) CN109688179B (en)
WO (1) WO2019076347A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117042041A (en) * 2023-07-06 2023-11-10 佰路威科技(上海)有限公司 Data transmission method, device, electronic equipment, storage medium and program product

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590254A (en) * 2020-04-30 2021-11-02 深信服科技股份有限公司 Virtual machine communication method, device, system and medium
WO2022160318A1 (en) * 2021-01-30 2022-08-04 华为技术有限公司 Data processing apparatus and method
CN115397033B (en) * 2021-05-25 2024-04-09 成都鼎桥通信技术有限公司 Wireless communication method, wireless communication device, wireless communication module, medium, and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685669A (en) * 2013-12-06 2014-03-26 深圳酷派技术有限公司 Short message processing method and terminal
CN104123340A (en) * 2014-06-25 2014-10-29 世纪禾光科技发展(北京)有限公司 Table-by-table and page-by-page query method and system for database
CN104572105A (en) * 2015-01-07 2015-04-29 广东欧珀移动通信有限公司 Data updating method and device
WO2016067988A1 (en) * 2014-10-28 2016-05-06 ソニー株式会社 Reception device, transmission device, and data processing method
CN107222429A (en) * 2017-05-27 2017-09-29 努比亚技术有限公司 Data transmission system and method

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100451972C (en) * 2006-09-26 2009-01-14 杭州华三通信技术有限公司 Method and apparatus for improving speed of multi-core system accessing critical resources
CN101246020B (en) * 2008-03-14 2011-05-25 深圳市凯立德科技股份有限公司 Voice broadcasting device and navigation system using the same and its method
CN101277270A (en) * 2008-05-23 2008-10-01 北京中讯宏达科技有限公司 Transmission method and system for flow medium data
CN101425879B (en) * 2008-12-12 2012-08-08 北京邮电大学 TDM/PW space time diversity method based on T-MPLS packet transmission network
CN101510163B (en) * 2009-04-07 2011-11-30 金蝶软件(中国)有限公司 Processing method and system for planning task
CN101521955B (en) * 2009-04-08 2011-01-05 北京航空航天大学 Method for collecting data under opportunity network
CN101931875A (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Method and system for transmitting and receiving service control information
CN102195786B (en) * 2010-03-16 2014-07-23 中国电信股份有限公司 Intelligent data exchange platform and method
CN102164043A (en) * 2010-10-27 2011-08-24 青岛海信传媒网络技术有限公司 Log reporting method and terminal
CN102542379B (en) * 2010-12-20 2015-03-11 中国移动通信集团公司 Method, system and device for processing scheduled tasks
CN102170479B (en) * 2011-05-21 2013-12-18 华为数字技术(成都)有限公司 Updating method of Web buffer and updating device of Web buffer
US10356143B2 (en) * 2012-10-10 2019-07-16 Samsung Electronics Co., Ltd. Method and apparatus for media data delivery control
CN103236989B (en) * 2013-04-25 2015-12-02 青岛海信传媒网络技术有限公司 Buffer control method in a kind of content distributing network, equipment and system
CN103645909A (en) * 2013-12-30 2014-03-19 中国烟草总公司湖南省公司 Handling method and device for timed task
CN105163397A (en) * 2015-08-06 2015-12-16 大唐移动通信设备有限公司 Message sending method and device
CN105407134B (en) * 2015-10-20 2018-09-14 北京齐尔布莱特科技有限公司 A kind of list submits equipment, method and mobile terminal
CN105630967A (en) * 2015-12-23 2016-06-01 广东威创视讯科技股份有限公司 Caching method and device based on GIS display data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685669A (en) * 2013-12-06 2014-03-26 深圳酷派技术有限公司 Short message processing method and terminal
CN104123340A (en) * 2014-06-25 2014-10-29 世纪禾光科技发展(北京)有限公司 Table-by-table and page-by-page query method and system for database
WO2016067988A1 (en) * 2014-10-28 2016-05-06 ソニー株式会社 Reception device, transmission device, and data processing method
CN104572105A (en) * 2015-01-07 2015-04-29 广东欧珀移动通信有限公司 Data updating method and device
CN107222429A (en) * 2017-05-27 2017-09-29 努比亚技术有限公司 Data transmission system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117042041A (en) * 2023-07-06 2023-11-10 佰路威科技(上海)有限公司 Data transmission method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN109688179B (en) 2021-06-22
CN109688179A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
US11109263B2 (en) Data transmission method and data transmission apparatus
EP3606253A1 (en) Method and apparatus for repeated transmission
JP7168028B2 (en) Command instruction method and device, information exchange method and device
US20200112885A1 (en) Handover control method and apparatus
WO2017166141A1 (en) Data sending method and apparatus, and base station
CN109672510B (en) Communication method and communication device
US11838815B2 (en) Cell handover method, terminal device, and network device
WO2013075602A1 (en) Method, base station and user equipment for achieving carrier aggregation
US20230009565A1 (en) Communication method and apparatus applied to multi-link device in wireless local area network
JP2021533602A (en) Duplicate transmission settings and / or activation methods, duplicate transmission methods and equipment
US20160234713A1 (en) Information Transmission Method, Apparatus, and System
WO2019136678A1 (en) Uplink signal transmission method, uplink signal receiving method, device, and system
WO2019076347A1 (en) Communication method and communication apparatus
US20220060290A1 (en) Wireless communication method, receiving-end device, and sending-end device
WO2019214660A1 (en) Communication method and communication device
WO2018121227A1 (en) Method and apparatus for sending control information and method and apparatus for receiving control information
US20230012998A1 (en) Communication method, access network device, terminal device, and core network device
WO2020119615A1 (en) Communication method and apparatus and computer readable storage medium
WO2019023851A1 (en) Communication method, device, and system
WO2019192500A1 (en) Communication method and communication set
CN112399503B (en) Method and device for transmitting link failure report
WO2019210813A1 (en) Wireless network communication method and device
US11805565B2 (en) Wireless communication method and terminal device
CN113556792A (en) State report transmission method, terminal equipment and network equipment
WO2018227628A1 (en) Data transmission method, network device, and terminal device

Legal Events

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

Ref document number: 18868003

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

Country of ref document: EP

Kind code of ref document: A1