CN117597968A - Communication methods and devices - Google Patents

Communication methods and devices Download PDF

Info

Publication number
CN117597968A
CN117597968A CN202180100071.7A CN202180100071A CN117597968A CN 117597968 A CN117597968 A CN 117597968A CN 202180100071 A CN202180100071 A CN 202180100071A CN 117597968 A CN117597968 A CN 117597968A
Authority
CN
China
Prior art keywords
node
transmission
information
indication information
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202180100071.7A
Other languages
Chinese (zh)
Inventor
刘航
王键
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN117597968A publication Critical patent/CN117597968A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/46Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for vehicle-to-vehicle communication [V2V]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application provides a communication method which is applied to intelligent driving or auxiliary driving. Comprising the following steps: the second node receives first indication information and second indication information from the first node respectively, wherein the first indication information is used for determining first transmission resources, the second indication information is used for determining a plurality of second transmission resources, the plurality of second transmission resources are contained in the first transmission resources, each second transmission resource comprises transmission resources in a first direction and transmission resources in a second direction, and then the second indication information is communicated with the first node through at least one second transmission resource. The communication method can realize the repeated transmission of the burst information between the master node and the slave node on the limited transmission resource, and improves the service transmission efficiency. The method can be applied to the Internet of vehicles, such as vehicle external connection V2X, workshop communication long-term evolution technology LTE-V, vehicle-vehicle V2V and the like.

Description

通信方法和装置Communication methods and devices 技术领域Technical field

本申请实施例涉及通信技术领域,并且更具体地,涉及一种通信方法和装置。The embodiments of the present application relate to the field of communication technology, and more specifically, to a communication method and device.

背景技术Background technique

短距通信在人们的日常生活中具有重要的作用,例如在智能终端、智能家居、智能制造、智能汽车等领域都有短距通信的需求。例如蓝牙是最常见的一种短距通信方式,尤其是蓝牙的低功耗(bluetooth low energy,BLE)版本由于其低功耗、低成本的特点,在鼠标、键盘、可穿戴设备、真无线立体声(true wireless stereo,TWS)耳机等连接方面有广泛应用。Short-range communications play an important role in people's daily lives. For example, there are demands for short-range communications in smart terminals, smart homes, smart manufacturing, smart cars and other fields. For example, Bluetooth is the most common short-range communication method, especially the low-power (bluetooth low energy, BLE) version of Bluetooth. Due to its low power consumption and low cost, it is widely used in mice, keyboards, wearable devices, and true wireless devices. It is widely used in connection aspects such as stereo (true wireless stereo, TWS) headsets.

然而短距通信并发能力弱,例如当有新任务到达或业务特征(例如业务的到达周期)发生变化时,会产生突发信息(包括较多的控制信息)的传输需求。一般来说,控制信息优先级较高,突发信息的传输可能占用为业务传输配置的传输资源,影响业务正常传输。因此亟需一种方法实现突发信息传输的同时,提高业务传输的效率。However, the concurrency capability of short-distance communication is weak. For example, when new tasks arrive or service characteristics (such as service arrival cycles) change, there will be a need to transmit burst information (including more control information). Generally speaking, control information has a higher priority, and the transmission of burst information may occupy the transmission resources configured for service transmission, affecting normal service transmission. Therefore, there is an urgent need for a method to realize burst information transmission while improving the efficiency of business transmission.

发明内容Contents of the invention

本申请实施例提供一种通信方法和装置,可以实现突发信息传输的同时,提高业务传输的效率。Embodiments of the present application provide a communication method and device, which can realize burst information transmission and improve the efficiency of service transmission.

第一方面,提供了一种通信方法,包括:第二节点从第一节点分别接收第一指示信息和第二指示信息,其中第一指示信息用于确定第一传输资源,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源;第二节点通过至少一个第二传输资源与第一节点进行通信。In a first aspect, a communication method is provided, including: a second node receiving first indication information and second indication information respectively from the first node, wherein the first indication information is used to determine the first transmission resource, and the second indication information is used to determine the first transmission resource. In determining a plurality of second transmission resources, the plurality of second transmission resources are included in the first transmission resource, and each second transmission resource includes a transmission resource in the first direction and a transmission resource in the second direction; the second node passes at least one first The second transmission resource communicates with the first node.

本申请实施例的通信方法,通过将初始配置的有限传输资源裂变为多个第一方向的和第二方向的传输资源,虽然裂变后的每个传输资源在时域上的宽度减小,但依然可以满足单次传输数据量较小的突发信息的传输,同时,裂变后的多个传输资源也可以满足突发信息的多次传输需求。这里的突发信息包括由于业务特征变化或者新业务的到来而产生的大量控制信息。The communication method of the embodiment of the present application splits the initially configured limited transmission resources into multiple transmission resources in the first direction and the second direction. Although the width of each transmission resource after the fission is reduced in the time domain, It can still meet the transmission of burst information with a small amount of data in a single transmission. At the same time, multiple transmission resources after fission can also meet the multiple transmission requirements of burst information. The burst information here includes a large amount of control information generated due to changes in service characteristics or the arrival of new services.

结合第一方面,在第一方面的某些实现方式中,第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。In conjunction with the first aspect, in some implementations of the first aspect, the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time.

本申请实施例的通信方法,传输资源的裂变是可控的,裂变后的传输资源由传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间等参数中的一个或多个决定,可以根据实际需求设置。In the communication method of the embodiment of the present application, the fission of transmission resources is controllable. The fissioned transmission resources are determined by one or more parameters such as transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time. Decision can be set according to actual needs.

结合第一方面,在第一方面的某些实现方式中,第二指示信息用于激活多个第二传输 资源;第二节点根据第二指示信息和多个第二传输资源在第一传输资源内的图案确定多个第二传输资源,其中图案为预定义的。With reference to the first aspect, in some implementations of the first aspect, the second indication information is used to activate multiple second transmission resources; the second node activates the first transmission resource according to the second indication information and the multiple second transmission resources. A pattern within determines a plurality of second transmission resources, where the pattern is predefined.

本申请实施例的通信方法,第二指示信息可以用于激活多个第二传输资源,即第二指示信息用于指示第二传输资源在第一传输资源内的图案,例如第二指示信息可以包括图案的标签(或索引),对应具体的预设图案,指示将第一传输资源裂变为预设图案的多个第二传输资源,而第二指示信息无需再包含传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间等具体信息。In the communication method according to the embodiment of the present application, the second indication information can be used to activate multiple second transmission resources, that is, the second indication information is used to indicate the pattern of the second transmission resources within the first transmission resource. For example, the second indication information can be A tag (or index) including a pattern, corresponding to a specific preset pattern, instructing the first transmission resource to be split into multiple second transmission resources of the preset pattern, and the second instruction information no longer needs to include the transmission start time and time granularity , preset time interval, number of transmissions, transmission end time and other specific information.

结合第一方面,在第一方面的某些实现方式中,第一传输资源为一个连接事件或连接子事件中的传输资源。In conjunction with the first aspect, in some implementations of the first aspect, the first transmission resource is a transmission resource in a connection event or a connection sub-event.

结合第一方面,在第一方面的某些实现方式中,第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。In conjunction with the first aspect, in some implementations of the first aspect, the first transmission resource includes a transmission resource in the first direction, or a transmission resource in the second direction, or a transmission resource in the first direction and a transmission resource in the second direction. .

用于裂变的第一传输资源可以包括第一方向的传输资源和第二方向的传输资源,也可以只包括第一方向的传输资源或只包括第二方向的传输资源,可以视具体情况和需求设置。The first transmission resources used for fission may include transmission resources in the first direction and transmission resources in the second direction, or may include only transmission resources in the first direction or only transmission resources in the second direction, depending on the specific circumstances and needs. set up.

由于控制信息一般来说单次传输数据量小,但需要多次传输交互,因此本申请实施例的通信方法可以极大的提高对控制信息的传输效率,从而更加高效的完成新业务或业务特性变更的所需的控制信息的交互,提高了业务传输效率。Since the amount of data transmitted in a single transmission of control information is generally small, but multiple transmissions and interactions are required, the communication method of the embodiment of the present application can greatly improve the transmission efficiency of control information, thereby completing new services or service features more efficiently. The exchange of control information required for changes improves business transmission efficiency.

第二方面,提供了一种通信方法,该方法由第二节点执行,包括:第二节点接收第一节点发送的第一数据包;第二节点基于第一数据包的接收,向第一节点发送第二数据包,其中第二数据包包括指示信息,指示信息用于指示第二节点是否具有待传输信息和待传输信息的类型。In a second aspect, a communication method is provided. The method is executed by a second node, including: the second node receives a first data packet sent by the first node; and the second node sends a message to the first node based on the reception of the first data packet. A second data packet is sent, where the second data packet includes indication information, and the indication information is used to indicate whether the second node has information to be transmitted and the type of information to be transmitted.

一个通信域包括一个主通信节点(可以简称为主节点)和至少一个从通信节点(可以简称为从节点)。其中,主节点管理通信域的时频资源,并具有为通信域中的通信节点间的通信链路调度资源的功能。上述第二方面的方法可以由从节点执行,以第一节点作为主节点,在从节点向主节点发送的数据包中添加指示信息,指示信息指示待传输信息的类型,不同的类型的重要程度不同,主节点知道待传输信息的类型后即可根据其类型的重要程度确定是否与从节点进行该待传输信息的传输,传输信息的类型的重要程度为预先设定的,如果待传输信息的类型的重要程度为重要,例如待传输信息的类型为突发信息,则主节点需要继续与该从节点进行信息传输的交互,避免从节点由于没有主动权而无法进行重要的突发信息的传输。A communication domain includes a master communication node (which may be referred to as a master node) and at least one slave communication node (which may be referred to as a slave node). Among them, the master node manages the time-frequency resources of the communication domain and has the function of scheduling resources for communication links between communication nodes in the communication domain. The method of the second aspect above can be executed by a slave node, with the first node serving as the master node, adding indication information in the data packet sent from the slave node to the master node, where the indication information indicates the type of information to be transmitted and the importance of different types. Different, after the master node knows the type of information to be transmitted, it can determine whether to transmit the information to be transmitted with the slave node according to the importance of the type. The importance of the type of information to be transmitted is preset. If the information to be transmitted is The importance of the type is important. For example, if the type of information to be transmitted is burst information, the master node needs to continue to interact with the slave node for information transmission to avoid the slave node being unable to transmit important burst information because it has no initiative. .

结合第二方面,在第二方面的某些实现方式中,待传输信息的类型为控制信息或数据信息。Combined with the second aspect, in some implementations of the second aspect, the type of information to be transmitted is control information or data information.

上述待传输信息的类型的重要程度可以预先约定,例如控制信息等突发信息或者某些数据信息可以约定为重要,而其他的数据信息可以约定为不重要。The importance of the above types of information to be transmitted can be agreed in advance. For example, burst information such as control information or some data information can be agreed to be important, while other data information can be agreed to be unimportant.

结合第二方面,在第二方面的某些实现方式中,指示信息指示具有待传输信息,方法还包括:在一个连接事件内接收第一节点发送的第三数据包,第一数据包、第二数据包和第三数据包在一个连接事件内;向第一节点发送待传输信息。Combined with the second aspect, in some implementations of the second aspect, the indication information indicates that there is information to be transmitted, and the method further includes: receiving a third data packet sent by the first node within a connection event, the first data packet, the The second data packet and the third data packet are within a connection event; information to be transmitted is sent to the first node.

当第二节点指示有待传输信息且待传输信息的类型表示其为重要信息时,则在一个连接事件内第一节点继续与第二节点进行交互,从而保障第二节点可以在一个连接事件内将待传输信息传输完成,无需等到下一个连接间隔,保障通信质量。When the second node indicates that there is information to be transmitted and the type of the information to be transmitted indicates that it is important information, the first node continues to interact with the second node within a connection event, thereby ensuring that the second node can transmit the information within a connection event. When the transmission of information is completed, there is no need to wait for the next connection interval to ensure communication quality.

结合第二方面,在第二方面的某些实现方式中,指示信息包括第一字段和第二字段,其中第一字段用于指示是否具有待传输信息,第二字段用于指示待传输信息的类型,或,指示信息包括一个字段。In conjunction with the second aspect, in some implementations of the second aspect, the indication information includes a first field and a second field, where the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate whether there is information to be transmitted. Type, or, indicates that the information includes a field.

本申请实施例的通信方法中,指示信息可以只包括一个字段,该一个字段具有2个比特,分别用于描述是否具有待传输信息和该待传输信息的类型;或者指示信息可以包括第一字段和第二字段,第一字段和第二字段分别具有1个比特,其中第一字段用于指示是否具有待传输信息,第二字段用于指示该待传输信息的类型。因此指示信息只占用2个比特,不会占用过多资源,不影响原有数据的传输。In the communication method of the embodiment of the present application, the indication information may include only one field, and the field has 2 bits, respectively used to describe whether there is information to be transmitted and the type of the information to be transmitted; or the indication information may include the first field and a second field. The first field and the second field each have 1 bit, where the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate the type of the information to be transmitted. Therefore, the indication information only occupies 2 bits, does not occupy too many resources, and does not affect the transmission of original data.

第三方面,提供了一种通信方法,包括:第二节点从第一节点接收指示信息,该指示信息用于指示传输资源,传输资源为预留资源或共享资源;第二节点根据指示信息确定传输资源。In a third aspect, a communication method is provided, including: the second node receives indication information from the first node, the indication information is used to indicate transmission resources, and the transmission resources are reserved resources or shared resources; the second node determines according to the indication information Transport resources.

第三方面的通信方法,以第一节点作为主节点,以第二节点作为从节点,主节点为从节点配置额外的传输资源,当该额外的传输资源为预留资源时,可以保障该从节点数据传输,避免由于其他从节点的占用而导致传输质量下降。当该额外的传输资源为共享资源时,一方面可以保障有重要信息待传输的从节点的传输质量,另一方面可以避免该从节点为了预设信息类型的信息的传输而占用其他从节点的传输资源,从而保障整体的通信质量。信息的类型的重要程度可以预先约定,例如控制信息等突发信息或者某些数据信息可以约定为重要,而其他的数据信息可以约定为不重要。The communication method of the third aspect uses the first node as the master node and the second node as the slave node. The master node configures additional transmission resources for the slave node. When the additional transmission resources are reserved resources, it can ensure that the slave node Node data transmission avoids the degradation of transmission quality due to the occupation of other slave nodes. When the additional transmission resources are shared resources, on the one hand, the transmission quality of the slave node that has important information to be transmitted can be guaranteed, and on the other hand, the slave node can be prevented from occupying the space of other slave nodes for the transmission of information of a preset information type. transmission resources to ensure overall communication quality. The importance of the type of information can be agreed in advance. For example, burst information such as control information or some data information can be agreed to be important, while other data information can be agreed to be unimportant.

结合第三方面,在第三方面的某些实现方式中,指示信息指示传输资源为目标节点的预留资源,当第二节点为目标节点时,第一节点与第二节点在该预留传输资源上通信。Combined with the third aspect, in some implementations of the third aspect, the indication information indicates that the transmission resources are reserved resources of the target node. When the second node is the target node, the first node and the second node transmit in the reserved resources. Communicate on resources.

如上所述,第二节点为目标节点,传输资源为预留资源,即第二节点的专用资源,第二节点与第一节点在传输资源上通信,其他从节点不可占用该传输资源,可以保证第二节点的信息传输质量。As mentioned above, the second node is the target node, and the transmission resources are reserved resources, that is, the dedicated resources of the second node. The second node communicates with the first node on the transmission resources, and other slave nodes cannot occupy the transmission resources, which can be guaranteed Information transmission quality of the second node.

结合第三方面,在第三方面的某些实现方式中,指示信息还包括预设数值,该方法还包括:第二节点生成第一随机数;当第一随机数与预设数值满足第一关系时,第二节点与第二节点在第三传输资源上通信。Combined with the third aspect, in some implementations of the third aspect, the indication information also includes a preset value, and the method further includes: the second node generates a first random number; when the first random number and the preset value satisfy the first During the relationship, the second node communicates with the second node on the third transmission resource.

对于从节点来说,当主节点为其分配的专用传输资源使用完后,如果还有待发送的数据,可以使用共享资源进行发送,但由于共享资源是有限的,无法满足所有的从节点同时使用,因此本申请实施例的通信方法还为从节点使用共享资源设置了上述条件。For slave nodes, when the dedicated transmission resources allocated by the master node are used up, if there is still data to be sent, shared resources can be used to send it. However, because shared resources are limited, they cannot be used by all slave nodes at the same time. Therefore, the communication method in the embodiment of the present application also sets the above conditions for the slave node to use the shared resources.

结合第三方面,在第三方面的某些实现方式中,指示信息还包括预设的传输资源被连续占用的最多次数N,N为大于0的整数;第二节点可最多连续N次在第三传输资源上与第一节点通信。Combined with the third aspect, in some implementations of the third aspect, the indication information also includes a preset maximum number of times that the transmission resource is continuously occupied N, where N is an integer greater than 0; the second node can be used in the first N times at most. Communicate with the first node on three transmission resources.

共享资源可以是半静态资源,意味着,在一个连接事件内可以配置多个共享资源,第二节点如果满足使用共享资源的条件,则可以连续多次占用共享资源。Shared resources can be semi-static resources, which means that multiple shared resources can be configured within one connection event. If the second node meets the conditions for using shared resources, it can occupy the shared resources multiple times in a row.

第四方面,提供了一种通信方法,包括:第一节点向第二节点分别发送第一指示信息和第二指示信息,其中第一指示信息用于确定第一传输资源,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源;第一节点通过至少一个第二传输资源与第二节点进行通信。In a fourth aspect, a communication method is provided, including: a first node sending first indication information and second indication information respectively to a second node, where the first indication information is used to determine the first transmission resource, and the second indication information is used to determine the first transmission resource. In determining a plurality of second transmission resources, the plurality of second transmission resources are included in the first transmission resources, and each second transmission resource includes a transmission resource in the first direction and a transmission resource in the second direction; the first node passes at least one first The second transmission resource communicates with the second node.

结合第四方面,在第四方面的某些实现方式中,第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。In conjunction with the fourth aspect, in some implementations of the fourth aspect, the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time.

结合第四方面,在第四方面的某些实现方式中,第二指示信息用于确定多个第二传输资源,包括:第一节点根据第二指示信息和多个第二传输资源在第一传输资源内的多个预设图案确定多个第二传输资源,图案为预定义的。In conjunction with the fourth aspect, in some implementations of the fourth aspect, the second indication information is used to determine a plurality of second transmission resources, including: the first node determines a plurality of second transmission resources in the first place according to the second indication information and the plurality of second transmission resources. A plurality of preset patterns within the transmission resources determine a plurality of second transmission resources, and the patterns are predefined.

结合第四方面,在第四方面的某些实现方式中,第一传输资源为一个连接事件或连接子事件中的传输资源。Combined with the fourth aspect, in some implementations of the fourth aspect, the first transmission resource is a transmission resource in a connection event or a connection sub-event.

结合第四方面,在第四方面的某些实现方式中,第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。In conjunction with the fourth aspect, in some implementations of the fourth aspect, the first transmission resource includes transmission resources in the first direction, or transmission resources in the second direction, or transmission resources in the first direction and transmission resources in the second direction. .

第五方面,提供了一种通信方法,由第一节点执行,包括:第一节点向第二节点发送第一数据包;第一节点接收第二节点发送的第二数据包,第二数据包包括指示信息,第一指示信息用于指示第二节点是否具有待传输信息和待传输信息的类型。In a fifth aspect, a communication method is provided, executed by a first node, including: the first node sends a first data packet to a second node; the first node receives a second data packet sent by the second node, and the second data packet Including indication information, the first indication information is used to indicate whether the second node has information to be transmitted and the type of information to be transmitted.

结合第五方面,在第五方面的某些实现方式中,待传输信息的类型为控制信息或数据信息。Combined with the fifth aspect, in some implementations of the fifth aspect, the type of information to be transmitted is control information or data information.

结合第五方面,在第五方面的某些实现方式中,指示信息指示具有待传输信息,方法还包括:在一个连接事件内向第二节点发送第三数据包,第一数据包、第二数据包和第三数据包在一个连接事件内;接收第二节点发送的待传输信息。Combined with the fifth aspect, in some implementations of the fifth aspect, the indication information indicates that there is information to be transmitted, and the method further includes: sending a third data packet to the second node within a connection event, the first data packet, the second data The packet and the third data packet are within a connection event; receiving the information to be transmitted sent by the second node.

结合第五方面,在第五方面的某些实现方式中,指示信息包括第一字段和第二字段,第一字段用于指示是否具有待传输信息,第二字段用于指示待传输信息的类型,或,指示信息包括一个字段。In conjunction with the fifth aspect, in some implementations of the fifth aspect, the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate the type of information to be transmitted. , or, indicates that the information includes a field.

第六方面,提供了一种通信方法,包括:第一节点向第二节点发送指示信息,指示信息用于指示传输资源,传输资源为预留资源或共享资源。In a sixth aspect, a communication method is provided, including: a first node sending indication information to a second node, the indication information being used to indicate transmission resources, and the transmission resources are reserved resources or shared resources.

结合第六方面,在第六方面的某些实现方式中,指示信息指示传输资源为目标节点的预留资源,第一节点与第二节点在该预留传输资源上通信。In conjunction with the sixth aspect, in some implementations of the sixth aspect, the indication information indicates that the transmission resource is a reserved resource of the target node, and the first node and the second node communicate on the reserved transmission resource.

结合第六方面,在第六方面的某些实现方式中,指示信息还包括预设数值。Combined with the sixth aspect, in some implementations of the sixth aspect, the indication information also includes a preset value.

结合第六方面,在第六方面的某些实现方式中,指示信息还包括预设的传输资源被连续占用的最多次数N,N为大于0的整数。Combined with the sixth aspect, in some implementations of the sixth aspect, the indication information also includes a preset maximum number of times N that the transmission resource is continuously occupied, where N is an integer greater than 0.

第七方面,提供了一种通信装置,包括:收发单元和处理单元,其中收发单元,用于接收第一节点发送的第一指示信息,第一指示信息用于确定第一传输资源;收发单元还用于接收第一节点发送的第二指示信息,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源;处理单元,用于通过收发单元,在根据第二指示信息得到的多个第二传输资源中的至少一个第二传输资源与第一节点进行通信。In a seventh aspect, a communication device is provided, including: a transceiver unit and a processing unit, wherein the transceiver unit is used to receive the first indication information sent by the first node, and the first indication information is used to determine the first transmission resource; the transceiver unit It is also used to receive second indication information sent by the first node. The second indication information is used to determine a plurality of second transmission resources. The plurality of second transmission resources are included in the first transmission resource. Each second transmission resource includes a first transmission resource. transmission resources in one direction and transmission resources in a second direction; a processing unit configured to communicate with the first node through at least one second transmission resource among a plurality of second transmission resources obtained according to the second indication information through the transceiver unit.

结合第七方面,在第七方面的某些实现方式中,第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。In conjunction with the seventh aspect, in some implementations of the seventh aspect, the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time.

结合第七方面,在第七方面的某些实现方式中,第二指示信息用于确定多个第二传输资源,处理单元还用于:根据第二指示信息和多个第二传输资源在第一传输资源内的多个预设图案确定多个第二传输资源,图案为预定义的。In conjunction with the seventh aspect, in some implementations of the seventh aspect, the second indication information is used to determine a plurality of second transmission resources, and the processing unit is further configured to: based on the second indication information and the plurality of second transmission resources, A plurality of preset patterns within a transmission resource determine a plurality of second transmission resources, and the patterns are predefined.

结合第七方面,在第七方面的某些实现方式中,第一传输资源为一个连接事件或连接 子事件中的传输资源。Combined with the seventh aspect, in some implementations of the seventh aspect, the first transmission resource is a transmission resource in a connection event or a connection sub-event.

结合第七方面,在第七方面的某些实现方式中,第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。In conjunction with the seventh aspect, in some implementations of the seventh aspect, the first transmission resource includes a transmission resource in the first direction, or a transmission resource in the second direction, or a transmission resource in the first direction and a transmission resource in the second direction. .

第八方面,提供了一种通信装置,设置在第二节点侧,包括:收发单元和处理单元,收发单元,用于接收第一节点发送的第一数据包;处理单元用于基于第一数据包的接收,通过收发单元向第一节点发送第二数据包,第二数据包包括指示信息,指示信息用于指示第二节点是否具有待传输信息和待传输信息的类型。In an eighth aspect, a communication device is provided, which is provided on the second node side and includes: a transceiver unit and a processing unit. The transceiver unit is used to receive the first data packet sent by the first node; the processing unit is used to generate data based on the first data. To receive the packet, the transceiver unit sends a second data packet to the first node. The second data packet includes indication information, and the indication information is used to indicate whether the second node has information to be transmitted and the type of information to be transmitted.

结合第八方面,在第八方面的某些实现方式中,待传输信息的类型为控制信息或数据信息。Combined with the eighth aspect, in some implementations of the eighth aspect, the type of information to be transmitted is control information or data information.

结合第八方面,在第八方面的某些实现方式中,指示信息指示具有待传输信息,处理单元还用于通过收发单元接收第一节点发送的第三数据包,第一数据包、第二数据包和第三数据包在一个连接事件内;处理单元还用于基于第三数据包的接收,通过收发单元向第一节点发送待传输信息。Combined with the eighth aspect, in some implementations of the eighth aspect, the indication information indicates that there is information to be transmitted, and the processing unit is further configured to receive the third data packet sent by the first node through the transceiver unit, the first data packet, the second The data packet and the third data packet are in one connection event; the processing unit is also used to send the information to be transmitted to the first node through the transceiver unit based on the reception of the third data packet.

结合第八方面,在第八方面的某些实现方式中,指示信息包括第一字段和第二字段,第一字段用于指示是否具有待传输信息,第二字段用于指示待传输信息的类型,或,指示信息包括一个字段。In conjunction with the eighth aspect, in some implementations of the eighth aspect, the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate the type of information to be transmitted. , or, indicates that the information includes a field.

第九方面,提供了一种通信装置,位于第一节点侧,包括:收发单元和处理单元,收发单元用于接收指示信息,指示信息用于指示传输资源,传输资源为预留资源或共享资源;处理单元,用于根据第一指示信息确定传输资源。In a ninth aspect, a communication device is provided, located on the first node side, including: a transceiver unit and a processing unit. The transceiver unit is used to receive indication information. The indication information is used to indicate transmission resources. The transmission resources are reserved resources or shared resources. ;A processing unit, configured to determine transmission resources according to the first indication information.

结合第九方面,在第九方面的某些实现方式中,第二节点为目标节点,第一节点与第二节点在传输资源上通信。Combined with the ninth aspect, in some implementations of the ninth aspect, the second node is the target node, and the first node communicates with the second node on the transmission resource.

结合第九方面,在第九方面的某些实现方式中,指示信息还包括预设数值,该方法还包括:生成第一随机数;当第一随机数与预设数值满足第一关系时,第二节点与第二节点在传输资源上通信。In conjunction with the ninth aspect, in some implementations of the ninth aspect, the indication information also includes a preset value, and the method further includes: generating a first random number; when the first random number and the preset value satisfy a first relationship, The second node communicates with the second node on the transmission resource.

结合第九方面,在第九方面的某些实现方式中,指示信息还包括预设的传输资源被连续占用的最多次数N,N为大于0的整数;第二节点可最多连续N次在传输资源上与第一节点通信。Combined with the ninth aspect, in some implementations of the ninth aspect, the indication information also includes a preset maximum number of times that the transmission resource is continuously occupied N, where N is an integer greater than 0; the second node can transmit at most N times continuously. Communicate with the first node on the resource.

第十方面,提供了一种通信装置,包括:收发单元和处理单元,处理单元用于通过收发单元向第二节点发送第一指示信息,第一指示信息用于确定第一传输资源;处理单元还用于通过收发单元向第二节点发送第二指示信息,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源;处理单元还用于通过收发单元在至少一个第二传输资源与第二节点进行通信。In a tenth aspect, a communication device is provided, including: a transceiver unit and a processing unit, the processing unit is configured to send first indication information to the second node through the transceiver unit, and the first indication information is used to determine the first transmission resource; the processing unit It is also used to send second indication information to the second node through the transceiver unit. The second indication information is used to determine a plurality of second transmission resources. The plurality of second transmission resources are included in the first transmission resource. Each second transmission resource includes Transmission resources in the first direction and transmission resources in the second direction; the processing unit is also configured to communicate with the second node on at least one second transmission resource through the transceiver unit.

结合第十方面,在第十方面的某些实现方式中,第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time.

结合第十方面,在第十方面的某些实现方式中,第二指示信息用于确定多个第二传输资源,处理单元还用于:根据第二指示信息和多个第二传输资源在第一传输资源内的多个预设图案确定多个第二传输资源,图案为预定义的。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the second indication information is used to determine a plurality of second transmission resources, and the processing unit is further configured to: based on the second indication information and the plurality of second transmission resources, A plurality of preset patterns within a transmission resource determine a plurality of second transmission resources, and the patterns are predefined.

结合第十方面,在第十方面的某些实现方式中,第一传输资源为一个连接事件或连接 子事件中的传输资源。Combined with the tenth aspect, in some implementations of the tenth aspect, the first transmission resource is a transmission resource in a connection event or a connection sub-event.

结合第十方面,在第十方面的某些实现方式中,第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the first transmission resource includes a transmission resource in the first direction, or a transmission resource in the second direction, or a transmission resource in the first direction and a transmission resource in the second direction. .

第十一方面,提供了一种通信装置,设置在第一节点侧,其特征在于,包括:处理单元和收发单元,处理单元,用于通过收发单元向第二节点发送第一数据包;收发单元还用于接收第二节点发送的第二数据包,第二数据包包括指示信息,第一指示信息用于指示第二节点是否具有待传输信息和待传输信息的类型。In an eleventh aspect, a communication device is provided, which is provided on the first node side, and is characterized in that it includes: a processing unit and a transceiver unit, the processing unit is used to send the first data packet to the second node through the transceiver unit; the transceiver unit The unit is also configured to receive a second data packet sent by the second node. The second data packet includes indication information. The first indication information is used to indicate whether the second node has information to be transmitted and the type of information to be transmitted.

结合第十一方面,在第十一方面的某些实现方式中,待传输信息的类型为控制信息或数据信息。Combined with the eleventh aspect, in some implementations of the eleventh aspect, the type of information to be transmitted is control information or data information.

结合第十一方面,在第十一方面的某些实现方式中,指示信息指示具有待传输信息,处理单元还用于通过收发单元向第二节点发送第三数据包,第一数据包、第二数据包和第三数据包在一个连接事件内;收发单元还用于接收第二节点发送的待传输信息。In conjunction with the eleventh aspect, in some implementations of the eleventh aspect, the indication information indicates that there is information to be transmitted, and the processing unit is further configured to send a third data packet to the second node through the transceiver unit, and the first data packet, the The second data packet and the third data packet are within a connection event; the transceiver unit is also used to receive the information to be transmitted sent by the second node.

结合第十一方面,在第十一方面的某些实现方式中,指示信息包括第一字段和第二字段,第一字段用于指示是否具有待传输信息,第二字段用于指示待传输信息的类型,或,指示信息包括一个字段。In conjunction with the eleventh aspect, in some implementations of the eleventh aspect, the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate the information to be transmitted. The type, or , indicates that the information includes a field.

第十二方面,提供一种通信装置,该装置包括:存储器,用于存储程序;处理器,用于执行存储器存储的程序,当存储器存储的程序被执行时,处理器用于执行上述第一方面至第六方面中任一种实现方式提供的方法。A twelfth aspect, a communication device is provided. The device includes: a memory for storing a program; a processor for executing the program stored in the memory. When the program stored in the memory is executed, the processor is configured to execute the first aspect. to the method provided by any implementation method in the sixth aspect.

第十三方面,提供了一种计算机可读存储介质,其特征在于,包括:计算机可读介质存储有计算机程序;计算机程序由一个或多个处理器执行时,使得包括处理器的装置执行上述第一方面至第六中任一种实现方式方面的方法。In a thirteenth aspect, a computer-readable storage medium is provided, which is characterized in that: the computer-readable medium stores a computer program; when the computer program is executed by one or more processors, it causes a device including the processor to execute the above Any one of the implementation methods from the first aspect to the sixth aspect.

第十四方面,提供了一种芯片,其特征在于,芯片包括处理器与数据接口,处理器通过数据接口读取存储器上存储的指令,以执行上述第一方面至第六方面中任一种实现方式的方法。A fourteenth aspect provides a chip, characterized in that the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute any one of the above-mentioned first to sixth aspects. Ways to implement it.

第十五方面,提供了一种终端,该终端包括上述第七方面至第十一方面中任一种实现方式的装置。该终端可以为车辆。A fifteenth aspect provides a terminal, which includes the device of any one of the above-mentioned seventh to eleventh aspects. The terminal can be a vehicle.

附图说明Description of drawings

图1是本申请实施例提供的一种可能的无线通信场景的示意图;Figure 1 is a schematic diagram of a possible wireless communication scenario provided by an embodiment of the present application;

图2是本申请实施例提供的在进行数据传输时资源被抢占的示意图;Figure 2 is a schematic diagram of resources being preempted during data transmission provided by the embodiment of the present application;

图3是本申请实施例提供的一种短距通信的信令的示意图;Figure 3 is a schematic diagram of short-distance communication signaling provided by an embodiment of the present application;

图4是本申请实施例提供的一种短距通信的时间轴的示意图;Figure 4 is a schematic diagram of a timeline of short-distance communication provided by an embodiment of the present application;

图5是本申请实施例提供的另一种短距通信的时间轴的示意图;Figure 5 is a schematic diagram of the timeline of another short-distance communication provided by an embodiment of the present application;

图6是本申请实施例提供的一种CIS连接事件的示意图;Figure 6 is a schematic diagram of a CIS connection event provided by an embodiment of the present application;

图7是本申请实施例提供的一种通信方法的示意性流程图;Figure 7 is a schematic flow chart of a communication method provided by an embodiment of the present application;

图8是本申请实施例提供的根据第二指示信息将第一传输资源确定为第二传输资源的示意图;Figure 8 is a schematic diagram of determining the first transmission resource as the second transmission resource according to the second indication information according to the embodiment of the present application;

图9是本申请实施例提供的在一个连接间隔内进行数据传输的示意图;Figure 9 is a schematic diagram of data transmission within a connection interval provided by the embodiment of the present application;

图10是本申请实施例提供的另一种通信方法的示意性流程图;Figure 10 is a schematic flow chart of another communication method provided by an embodiment of the present application;

图11是本申请实施例提供的又一种通信方法的示意性流程图;Figure 11 is a schematic flow chart of yet another communication method provided by an embodiment of the present application;

图12是本申请实施例提供的又一种通信方法的示意性流程图;Figure 12 is a schematic flow chart of yet another communication method provided by an embodiment of the present application;

图13是本申请实施例提供的又一种通信方法的示意性流程图;Figure 13 is a schematic flow chart of yet another communication method provided by an embodiment of the present application;

图14是本申请实施例提供的一种通信装置的示意性框图;Figure 14 is a schematic block diagram of a communication device provided by an embodiment of the present application;

图15是本申请实施例提供的一种通信装置的示意性结构图。Figure 15 is a schematic structural diagram of a communication device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

本申请实施例提供的通信方法可以应用于存在信号传输的场景中,该场景中信号在通信两端之间进行传输,发送信号的一端为信号发送端,接收信号的一端为信号接收端,信号发送端和信号接收端可以动态的变化。例如,在第一时刻,通信端A发送信号,作为信号发送端,在第二时刻,通信端A接收信号,作为信号接收端。且通信端可以同时为信号发送端和信号接收端,与不同的通信端进行通信。The communication method provided by the embodiment of the present application can be applied to scenarios where signal transmission occurs. In this scenario, signals are transmitted between two communication ends. The end that sends the signal is the signal sending end, and the end that receives the signal is the signal receiving end. The sending end and signal receiving end can change dynamically. For example, at the first moment, the communication terminal A sends a signal and serves as the signal sending terminal. At the second moment, the communication terminal A receives the signal and serves as the signal receiving terminal. And the communication terminal can be a signal sending terminal and a signal receiving terminal at the same time, communicating with different communication terminals.

示例性的,本申请实施例提供的通信方法可以应用于无线通信场景,例如短距无线通信场景、广域无线通信场景或者局域无线通信场景等等。在无线通信场景中,一定通信区域或范围内可以包括多个通信域。该通信域可以指一组具有通信关系的通信节点,以及通信节点之间的通信连接关系(即通信链路)组成的系统。一个通信域可以包括一个主通信节点(可以简称为主节点)和至少一个从通信节点(可以简称为从节点)。其中,主节点管理通信域的时频资源,并具有为通信域中的通信节点间的通信链路调度资源的功能。示例性的,图1示出了本申请实施例提供的一种无线通信场景的示意图。在该无线通信场景中,可以包括至少一个主节点和每个主节点对应的至少一个从节点。例如,如图1所示,在该无线通信场景中包括主节点1和主节点2。主节点1与从节点1和从节点2构成通信域1,主节点1与从节点1和从节点2进行通信。主节点2与从节点3和从节点4构成通信域2,主节点2与从节点3和从节点4进行通信。Illustratively, the communication method provided by the embodiments of the present application can be applied to wireless communication scenarios, such as short-range wireless communication scenarios, wide-area wireless communication scenarios, or local area wireless communication scenarios, etc. In a wireless communication scenario, a certain communication area or range may include multiple communication domains. The communication domain may refer to a system composed of a group of communication nodes with communication relationships and communication connection relationships (i.e., communication links) between communication nodes. A communication domain may include a master communication node (which may be referred to as a master node) and at least one slave communication node (which may be referred to as a slave node). Among them, the master node manages the time-frequency resources of the communication domain and has the function of scheduling resources for communication links between communication nodes in the communication domain. For example, FIG. 1 shows a schematic diagram of a wireless communication scenario provided by an embodiment of the present application. In this wireless communication scenario, at least one master node and at least one slave node corresponding to each master node may be included. For example, as shown in Figure 1, the wireless communication scenario includes master node 1 and master node 2. Master node 1, slave node 1 and slave node 2 constitute communication domain 1, and master node 1 communicates with slave node 1 and slave node 2. The master node 2 forms a communication domain 2 with the slave nodes 3 and 4, and the master node 2 communicates with the slave nodes 3 and 4.

一种示例的情况,当图1所示的无线通信场景为广域无线通信场景时,主节点1和主节点2可以是网络设备,从节点1~从节点4可以是终端设备。所述网络设备可以为具有无线收发功能的设备或可设置于该网络设备的芯片,该网络设备例如可以为某一通信制式的无线网络中的无线接入网(radio access,RAN)设备,或称为基站,包括但不限于:下一代节点B(generation node B,gNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),无线保真(wireless fidelity,Wi-Fi)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission and reception point,TRP或者transmission point,TP)等。In an example case, when the wireless communication scenario shown in Figure 1 is a wide-area wireless communication scenario, master node 1 and master node 2 may be network devices, and slave nodes 1 to 4 may be terminal devices. The network device may be a device with a wireless transceiver function or a chip that may be disposed on the network device. The network device may be, for example, a radio access network (RAN) device in a wireless network of a certain communication standard, or It is called a base station, including but not limited to: next generation node B (gNB), radio network controller (RNC), node B (Node B, NB), base station controller, BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), baseband unit (BBU), wireless fidelity (Wi-Fi ), access point (AP), wireless relay node, wireless backhaul node, transmission point (transmission and reception point, TRP or transmission point, TP), etc. in the system.

在一些部署中,RAN设备可以包括集中式单元(centralized unit,CU)和分布式单元(distributed unit,DU)。此外,该RAN设备还可以包括射频单元(radio unit,RU)。CU实现RAN设备的部分功能,DU实现RAN设备的部分功能,比如,CU实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能,DU实现无线链路控制(radio link control,RLC)、媒体接入控制(media access control,MAC)和物理(physical,PHY)层的功能。由于RRC层的信息最终会变成PHY层的信息,或者,由PHY层的信息转变而来,因而,在这种架构下,高层信令,如RRC层信令或PDCP层信令,也可以认为是由DU发送的,或者,由DU+RU发送的。可以理解的是,网络设备可以为CU节点、或DU节点、或包括CU节点和DU节点的设备。此外,CU可以划分为RAN中的网络设备,也可以将CU划分为核心网(CN)中的网络设备,对此不作限定。In some deployments, RAN equipment may include centralized units (CU) and distributed units (DU). In addition, the RAN device may also include a radio unit (radio unit, RU). CU implements some functions of RAN equipment, and DU implements some functions of RAN equipment. For example, CU implements radio resource control (RRC) and packet data convergence protocol (PDCP) layer functions. DU implements Wireless link control (radio link control, RLC), media access control (media access control, MAC) and physical (physical, PHY) layer functions. Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, under this architecture, high-level signaling, such as RRC layer signaling or PDCP layer signaling, can also It is considered to be sent by DU, or sent by DU+RU. It can be understood that the network device may be a CU node, a DU node, or a device including a CU node and a DU node. In addition, the CU can be divided into network equipment in the RAN, or the CU can be divided into network equipment in the core network (CN), without limitation.

终端设备也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请的实施例中的终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智能穿戴设备(智能眼镜、智能手表、智能耳机等)、智慧家庭(smart home)中的无线终端等等,也可以是能够设置于以上设备的芯片或芯片模组(或芯片系统)等。本申请的实施例对应用场景不做限定。本申请实施例中将具有无线收发功能的终端设备及可设置于前述终端设备的芯片统称为终端设备。Terminal equipment may also be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user Agent or user device. The terminal device in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, or an augmented reality (AR) terminal. Equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation safety ( Wireless terminals in transportation safety, wireless terminals in smart cities, smart wearable devices (smart glasses, smart watches, smart headphones, etc.), wireless terminals in smart homes, etc., can also be Chips or chip modules (or chip systems) that can be installed on the above devices. The embodiments of this application do not limit application scenarios. In the embodiments of this application, terminal equipment with wireless transceiver functions and chips that can be disposed on the aforementioned terminal equipment are collectively referred to as terminal equipment.

另一种示例的情况,当图1所示的无线通信场景为局域无线通信场景时,主节点1和主节点2可以是接入点(access point,AP),从节点1~从节点4可以是站点(station)。In another example, when the wireless communication scenario shown in Figure 1 is a local area wireless communication scenario, the master node 1 and the master node 2 can be access points (AP), and the slave nodes 1 to 4 Can be a station.

又一种示例的情况,当图1所示的无线通信场景为短距无线通信场景时,不同的短距无线通信场景主节点和从节点的示例不同。例如,短距无线通信场景为车内无线通信场景时,主节点1和主节点2可以是座舱域控制器(cockpit domain controller,CDC),从节点1~从节点4可以是车载音乐喇叭、车载氛围灯等。又例如,短距无线通信场景为智能穿戴类无线通信场景时,主节点1和主节点2可以是手机,从节点1~从节点4可以是耳机、手表等。又例如,短距无线通信场景为家居类无线通信场景时,主节点1和主节点2可以是家用无线网关,从节点1~从节点4可以是家用电器等。又例如,短距无线通信场景为工业短距无线通信场景时,主节点1和主节点2可以是工业无线网关,从节点1~从节点4可以是无人搬运车(automatic guided vehicle,AGV)、机床、机器手等。In another example, when the wireless communication scenario shown in Figure 1 is a short-range wireless communication scenario, the examples of the master node and the slave node are different in different short-range wireless communication scenarios. For example, when the short-range wireless communication scenario is an in-vehicle wireless communication scenario, master node 1 and master node 2 can be cockpit domain controllers (CDC), and slave nodes 1 to 4 can be car music speakers, car Ambient lighting, etc. For another example, when the short-range wireless communication scenario is a smart wearable wireless communication scenario, master node 1 and master node 2 can be mobile phones, and slave nodes 1 to 4 can be headphones, watches, etc. For another example, when the short-range wireless communication scenario is a home wireless communication scenario, master node 1 and master node 2 can be home wireless gateways, and slave nodes 1 to 4 can be home appliances, etc. For another example, when the short-range wireless communication scenario is an industrial short-range wireless communication scenario, master node 1 and master node 2 can be industrial wireless gateways, and slave nodes 1 to 4 can be automated guided vehicles (AGVs). , machine tools, robots, etc.

当然,上述列举的主节点和从节点的示例仅仅为举例,本申请对此不作限定。需要说明的是,当图1所示的无线通信场景为其他无线通信场景时,主节点和从节点还可以为其他可能,本申请此处不再一一列举。此外,主节点和从节点角色可以动态变化,例如主节点和从节点互换,或者主节点变为其它设备的从节点,从节点变成其它设备的主节点。Of course, the above-mentioned examples of master nodes and slave nodes are only examples, and this application does not limit them. It should be noted that when the wireless communication scenario shown in Figure 1 is other wireless communication scenarios, the master node and the slave node can also be other possibilities, and this application will not list them one by one here. In addition, the roles of the master node and the slave node can be changed dynamically, for example, the master node and the slave node are interchanged, or the master node becomes the slave node of other devices, and the slave node becomes the master node of other devices.

需要说明的是,图1所示的主节点和从节点的个数仅仅为示例,在无线通信场景中还可以包括更多或者更少的节点,本申请对此不作限定。It should be noted that the number of master nodes and slave nodes shown in Figure 1 is only an example. In a wireless communication scenario, more or fewer nodes may be included, and this application does not limit this.

本申请实施例中节点也可以称为通信节点、设备(装置)或通信设备(装置)等。In the embodiment of this application, the node may also be called a communication node, a device (device), a communication device (device), etc.

目前,无线通信场景中存在多业务并发能力较弱的问题。例如,图2示出了一种在进行数据传输时资源被抢占的示意图。如图2所示,当业务特征不发生变化或者没有新业务到来时,原来的业务(记为业务1)在配置的传输资源上传输正常,当新业务(记为业务2)到来时或者业务1的特征发生变化时,需要为业务2分配资源或者调整原来为业务1 分配的资源,此时从节点与主节点之间会频繁地进行控制信息交互,即产生突发信息的传输需求,例如从节点将业务2的特征信息上报给主节点,主节点根据业务2的特征信息进行业务逻辑信道的建立等。Currently, there is a problem of weak multi-service concurrency capabilities in wireless communication scenarios. For example, Figure 2 shows a schematic diagram of resources being preempted during data transmission. As shown in Figure 2, when the service characteristics do not change or no new services arrive, the original service (denoted as service 1) is transmitted normally on the configured transmission resources. When the new service (denoted as service 2) arrives or the service When the characteristics of 1 change, it is necessary to allocate resources to business 2 or adjust the resources originally allocated to business 1. At this time, control information will be exchanged frequently between the slave node and the master node, that is, sudden information transmission requirements will occur, such as The slave node reports the characteristic information of service 2 to the master node, and the master node establishes a service logical channel based on the characteristic information of service 2.

由于一般来说,主节点为一个从节点分配的传输资源是有限的,而突发信息往往需要从节点与主节点之间进行多次交互,如上所述,突发信息包括新业务到来或者原业务特征发生变化时而产生的待传输的控制信息,控制信息传输的优先级高于业务数据传输的优先级,因此原来用于业务1的数据的传输资源会被控制信息抢占,业务1的数据的传输效率大大降低。尽管单次传输的控制信息数据量较小,但是如果要为业务2建立传输通道,节点之间的信令交互次数较多,这就导致连续多个用于业务1的数据传输的机会被控制信息抢占,使得业务1的数据长时间得不到传输,从而导致业务1的服务质量下降甚至中断。Generally speaking, the transmission resources allocated by the master node to a slave node are limited, and burst information often requires multiple interactions between the slave node and the master node. As mentioned above, burst information includes the arrival of new services or the original The control information to be transmitted is generated when the business characteristics change. The priority of control information transmission is higher than the priority of business data transmission. Therefore, the transmission resources originally used for the data of business 1 will be preempted by the control information, and the data of business 1 will be preempted. Transmission efficiency is greatly reduced. Although the amount of control information data transmitted in a single transmission is small, if a transmission channel is to be established for service 2, the number of signaling interactions between nodes is large, which results in multiple consecutive data transmission opportunities for service 1 being controlled. Information preemption prevents the data of business 1 from being transmitted for a long time, resulting in the service quality of business 1 being reduced or even interrupted.

此外,如果一个主节点同时连接了多个从节点,在传输资源不充裕的情况下,如果主节点与其中一个从节点进行多次信息传输交互,也可能会导致其他从节点的暂时无法获得传输资源,使得其他从节点的信息无法正常传输,信息传输效率降低,服务质量下降。In addition, if a master node is connected to multiple slave nodes at the same time, if the transmission resources are not sufficient, if the master node interacts with one of the slave nodes for multiple information transmissions, it may also cause other slave nodes to be temporarily unable to obtain transmission. resources, so that information from other slave nodes cannot be transmitted normally, information transmission efficiency is reduced, and service quality is reduced.

可见,无线通信场景中,当有新业务到达或原业务特征发生变化时,可能存在当前业务传输效率较低或业务传输中断的问题。It can be seen that in wireless communication scenarios, when new services arrive or original service characteristics change, there may be problems such as low current service transmission efficiency or service transmission interruption.

因此本申请实施例提供一种通信方法,通过将传输资源裂变为多个第一方向的资源和第二方向的资源,从而增加了通信节点之间在该传输资源内第二方向的传输的机会,进而增加了通信节点之间的交互次数,使得由新业务传输需求或业务特征变化需求等带来的控制信息的传输可以更高效的被调度,而减少当前业务数据传输等待的时间,提升传输效率。此外,由于控制信息相对于业务数据的内容较少,对资源需求相对较低,因此裂变后的资源也可以满足控制信息的传输要求,且可以让通信节点之间更快的响应对方的控制信息,因此在提升当前业务数据传输效率的同时,可以提升控制信息的传输效率,提升新业务或特征发生变化的业务的传输效率。可见,本申请实施例提供的通信方法可以提升业务服务的质量和信息传输的效率,从而解决无线通信场景中并发能力弱的问题。Therefore, embodiments of the present application provide a communication method by splitting transmission resources into multiple resources in the first direction and resources in the second direction, thereby increasing the opportunities for transmission in the second direction between communication nodes within the transmission resources. , thereby increasing the number of interactions between communication nodes, so that the transmission of control information brought about by new business transmission requirements or business feature change requirements can be scheduled more efficiently, thereby reducing the waiting time for current business data transmission and improving transmission efficiency. In addition, since control information has less content than business data and has relatively low resource requirements, the fissioned resources can also meet the transmission requirements of control information and allow communication nodes to respond to each other's control information faster. , so while improving the transmission efficiency of current business data, the transmission efficiency of control information can be improved, and the transmission efficiency of new services or services with changed characteristics can be improved. It can be seen that the communication method provided by the embodiments of the present application can improve the quality of business services and the efficiency of information transmission, thereby solving the problem of weak concurrency capabilities in wireless communication scenarios.

以短距通信为例,请参考图3和图4,其分别为本申请实施例提供的一种短距通信的信令示意图和时间轴示意图。图4中,t代表时间轴,M表示主节点,S表示从节点;M→S,表示主节点发送给从节点的数据包,S→M表示从节点发送给主节点的数据包。如图3和图4所示,第一节点和第二节点初始可以处于待机(standby)状态,此时第一节点和第二节点没有与其他设备建立连接,也没有传输和接收数据。第一节点可以进入扫描(scanning)状态,此时可以称扫描者(scanner)或观测者(observer);第二节点可以进入广播(advertising)状态,此时可以称为广播者(advertiser);广播状态的第二节点可以周期性发送广播信号,该广播信号可以称为广播包,在一次广播事件(advertising event)中,第二节点可以在不同的通道上发送相同的广播包(例如在三个通道上发送相同的广播包),从而增加第一节点扫描到第二节点的概率。第一节点在扫描到第二节点后,即接收到第二节点发送的广播包之后,可以向第二节点发送连接请求(connection request),此时第一节点处于发起连接(initiating)状态,可以称为发起者(initiator)。连接请求包括传输窗口(transmit window)参数,用于通知第二节点将在传输窗口期间向第二节点发送数据包P1。第二节点在发送广播包之后,开启射频窗口(Rx窗口),以期接收来自第一节点的信息;当第二节点在Rx窗口内接收到连接请求后,在传输窗口内接收数据包P1, 并回复数据包P2。Taking short-range communication as an example, please refer to Figures 3 and 4, which are respectively a signaling schematic diagram and a timeline schematic diagram of a short-range communication provided by an embodiment of the present application. In Figure 4, t represents the time axis, M represents the master node, and S represents the slave node; M→S represents the data packet sent by the master node to the slave node, and S→M represents the data packet sent from the slave node to the master node. As shown in Figures 3 and 4, the first node and the second node may initially be in a standby state. At this time, the first node and the second node do not establish connections with other devices, and do not transmit or receive data. The first node can enter the scanning state, in which case it can be called a scanner or observer; the second node can enter the advertising state, in which case it can be called an advertiser; broadcast The second node in the state can periodically send broadcast signals, which can be called broadcast packets. In one advertising event, the second node can send the same broadcast packet on different channels (for example, in three The same broadcast packet is sent on the channel), thereby increasing the probability of the first node scanning to the second node. After scanning the second node, that is, after receiving the broadcast packet sent by the second node, the first node can send a connection request to the second node. At this time, the first node is in the initiating state. Called the initiator. The connection request includes a transmit window parameter, which is used to notify the second node that the data packet P1 will be sent to the second node during the transmit window. After sending the broadcast packet, the second node opens the radio frequency window (Rx window) in order to receive information from the first node; when the second node receives the connection request in the Rx window, it receives the data packet P1 in the transmission window, and Reply packet P2.

以上广播包,连接请求,数据包P1,数据包P2等可以为不同类型的协议数据单元(protocol data unit),例如广播包为广播PDU(advertising PDU);连接请求为发起PDU(initiating PDU),数据包P1和数据包P2为数据物理信道PDU(data physical channel PDU)。The above broadcast packets, connection requests, data packets P1, data packets P2, etc. can be different types of protocol data units. For example, the broadcast packet is advertising PDU (advertising PDU); the connection request is initiating PDU (initiating PDU). Data packet P1 and data packet P2 are data physical channel PDU (data physical channel PDU).

第一节点作为发起者可以在主广播物理信道(primary advertising physical channel)发送连接请求,且当发起者发送连接请求之后,发起者的链路层(link layer)进入连接态,此时发起者(第一节点)作为主节点(master/central)。当第二节点作为广播者接收到连接请求之后,广播者的链路层(link layer)进入连接态,此时,广播者(第二节点)作为从节点(slave/peripheral)。As the initiator, the first node can send a connection request on the primary advertising physical channel, and after the initiator sends the connection request, the initiator's link layer enters the connected state. At this time, the initiator ( The first node) serves as the master node (master/central). After the second node receives the connection request as the broadcaster, the link layer of the broadcaster enters the connection state. At this time, the broadcaster (second node) serves as the slave node (slave/peripheral).

请参考图5所示,其为本申请实施例提供的另一种短距通信的时间轴示意图。其与图4的区别在于,发起者在辅广播物理信道(secondary adverting physical channel)发送连接请求,广播者收到该连接请求回复连接响应。且当发起者收到连接响应之后,发起者的链路层(link layer)进入连接态,此时发起者作为主节点(master/central)。当广播者发送连接响应之后,广播者的链路层(link layer)进入连接态,此时,广播者作为从节点(slave/peripheral)。Please refer to FIG. 5 , which is a schematic timeline diagram of another short-distance communication provided by an embodiment of the present application. The difference from Figure 4 is that the initiator sends a connection request on the secondary advertising physical channel, and the broadcaster receives the connection request and replies with a connection response. And when the initiator receives the connection response, the initiator's link layer (link layer) enters the connection state, and at this time the initiator serves as the master node (master/central). After the broadcaster sends a connection response, the broadcaster's link layer enters the connected state. At this time, the broadcaster acts as a slave node (slave/peripheral).

如图4和图5所示,广播者发送广播包之后,在时间T1之后开启射频窗口(Rx窗口),以接收来自扫描节点的连接请求。连接请求中包括传输窗口(transmit window)参数确定,传输窗口参数可以包括传输窗口偏移(transmit window offset)和传输窗口大小(transmit window size),分别用于确定传输窗口的位置(确定T3)和大小(T4)。此外传输窗口的位置还可以考虑传输窗口延迟T2,即根据传输窗口延迟T2和传输窗口偏移确定。而后,主节点可以在传输窗口期间发送数据包P1,且数据包P1可以完全位于传输窗口内,也可以超出传输窗口。连接请求中还可以包括其它参数,例如包括连接间隔(connection interval,CI)参数,连接间隔参数指示了连接间隔的大小。进入连接态之后,主节点和从节点在每一个连接间隔开始的时候,可以交互一次,即主节点给从节点发送一个数据包,从节点再给主节点发送一个数据包,该连接态又可以称为连接事件(event);连接间隔也可以称为传输间隔,连接事件也成可以称为传输事件。连接事件内可以进行主节点到从节点之间的交互,一轮交互内M→S数据包与S→M数据包的间隔为时间间隔T5,时间间隔T5主要用来进行收发转换。主节点或从节点在完成数据发送之后,经过该时间间隔T5之后,开始进行收据接收;或者,主节点或从节点在完成数据接收之后,经过该时间间隔T5之后,开始进行数据发送。其中,该时间间隔T5可以是协议约定的,也可以是收发两端协商确定的。本申请对此不作限定。该时间间隔T5也可以被称为帧间间隔(inter frame space,IFS)时间,或者包间间隔(inter packet space,IPS)时间,或者转换时间间隔。其他名称不同但作为接收与发送之间的时间间隔都在本申请保护范围之内。此外,时间T1与时间间隔T5类似,其值可以相同,也可以不同,在此不再赘述。As shown in Figures 4 and 5, after the broadcaster sends the broadcast packet, the radio frequency window (Rx window) is opened after time T1 to receive connection requests from scanning nodes. The connection request includes the transmission window (transmit window) parameter determination. The transmission window parameters may include the transmission window offset (transmit window offset) and the transmission window size (transmit window size), which are used to determine the position of the transmission window (determine T3) and Size(T4). In addition, the position of the transmission window can also consider the transmission window delay T2, that is, it is determined based on the transmission window delay T2 and the transmission window offset. Then, the master node can send data packet P1 during the transmission window, and data packet P1 can be completely within the transmission window or outside the transmission window. The connection request may also include other parameters, such as a connection interval (connection interval, CI) parameter, which indicates the size of the connection interval. After entering the connection state, the master node and the slave node can interact once at the beginning of each connection interval, that is, the master node sends a data packet to the slave node, and the slave node sends a data packet to the master node. The connection state can It is called a connection event (event); the connection interval can also be called the transmission interval, and the connection event can also be called a transmission event. Interaction between the master node and the slave node can be carried out within the connection event. The interval between the M→S data packet and the S→M data packet within a round of interaction is the time interval T5. The time interval T5 is mainly used for transceiver conversion. After the master node or the slave node completes the data transmission, it starts receiving the receipt after the time interval T5 elapses; or, after the master node or the slave node completes the data reception, it starts data sending after the time interval T5 elapses. The time interval T5 may be stipulated in the protocol, or may be determined through negotiation between the sending and receiving ends. This application does not limit this. The time interval T5 may also be called inter frame space (IFS) time, or inter packet space (IPS) time, or conversion time interval. Other names that are different but serve as the time interval between receiving and sending are all within the protection scope of this application. In addition, time T1 is similar to time interval T5, and its values may be the same or different, which will not be described again here.

后续,主节点将以开始接收数据包P1的时间点作为锚点(或原点),连接间隔为周期,周期性地给从节点发送数据包。当主节点与从节点都不存在待发送的数据时,主节点与从节点停止交互,直到下个连接间隔。主节点与从节点完成一轮交互后,是否要继续交互,可以由主节点确定。当主节点确定要继续交互时,主节点可以继续向从节点发送数据包,从节点接收到主节点发送的数据包,经过收发转换之后,可以向主节点发送数据包。 主节点与从节点发送数据占据的时间长度是不固定的,取决于数据包的大小,但是受最大传输时间的约束。Subsequently, the master node will use the time point when it starts receiving data packet P1 as the anchor point (or origin), and the connection interval is the period, and periodically sends data packets to the slave node. When neither the master node nor the slave node has data to be sent, the master node and the slave node stop interacting until the next connection interval. After the master node and the slave node complete a round of interaction, whether to continue the interaction can be determined by the master node. When the master node determines to continue the interaction, the master node can continue to send data packets to the slave node. The slave node receives the data packets sent by the master node. After receiving and sending conversion, the slave node can send the data packets to the master node. The length of time it takes for the master node and the slave node to send data is not fixed and depends on the size of the data packet, but is subject to the maximum transmission time.

通信节点(例如主节点或从节点)可能没有业务数据需要发送或接收,但通信节点之间依然会交互数据包来维持连接,此时交互的数据包为空包,本申请不限制数据包的类型,可以是空包,也可以是承载了业务数据的数据包。Communication nodes (such as master nodes or slave nodes) may not have business data to send or receive, but communication nodes will still exchange data packets to maintain the connection. At this time, the exchanged data packets are empty packets. This application does not limit the number of data packets. Type, which can be an empty packet or a data packet carrying business data.

连接请求中还可以包括延时(latency)参数,该延时参数用于指示从节点可以跳过多少个连接事件,即从设备可以跳过(或不监听主节点)的连续的连接事件(或连接间隔)的数量。例如,设置该延时参数的取值为N,则从节点可以每N个连接间隔才回复一次主节点,也就是说从节点可以在前面N-1个连接间隔期间一直睡眠,直到第N个连接间隔到来时,才回复一个数据包给节点,如此,可以大大节省从节点的功耗。期间,如果从节点有数据需要上报给主节点,也可以不等到第N个连接间隔才上报,这样既节省了功耗,又提高了数据传输的实时性。The connection request can also include a latency parameter, which is used to indicate how many connection events the slave node can skip, that is, the slave device can skip (or not listen to the master node) consecutive connection events (or number of connection intervals). For example, if the value of this delay parameter is set to N, the slave node can reply to the master node only once every N connection intervals. That is to say, the slave node can sleep during the previous N-1 connection intervals until the Nth When the connection interval arrives, a data packet is replied to the node. In this way, the power consumption of the slave node can be greatly saved. During this period, if the slave node has data that needs to be reported to the master node, it does not need to wait until the Nth connection interval before reporting, which not only saves power consumption, but also improves the real-time nature of data transmission.

此外,连接请求中还可以包括以下参数中的至少一个:发起者和广播者的地址,例如MAC地址,接入地址(链路层可以根据该地址来区分数据包的类型),循环冗余校验(cyclic redundancy error check,CRC)初始值,超时(timeout)值(主节点和辅节点可以维护监控定时器,其当接收到有效数据包时,该定时器重置,当定时器达到该超时值所指示的时间时,则认为链路连接丢失),信道图(用于指示可以使用和不可以使用的数据信道),跳频(hop),用于指示数据信道选择时跳频算法中的hop增量,休眠时钟精度(sleep clock accuracy)。In addition, the connection request may also include at least one of the following parameters: addresses of the initiator and broadcaster, such as MAC addresses, access addresses (the link layer can distinguish the type of data packets based on this address), cyclic redundancy check Cyclic redundancy error check (CRC) initial value, timeout value (the primary node and the secondary node can maintain a monitoring timer. When a valid data packet is received, the timer is reset. When the timer reaches the timeout value indicates that the link connection is lost), channel map (used to indicate the data channels that can and cannot be used), frequency hopping (hop), used to indicate the data channel selection in the frequency hopping algorithm hop increment, sleep clock accuracy.

在日常中,可能存在多个用户通过蓝牙的方式连接同一个设备的需求,例如几个朋友想要通过蓝牙耳机同时欣赏同一部智能手机上的音乐。为了更好的支持这种需求,短距通信中引入了等时连接数据流(connected isochronous stream,CIS)的概念。CIS是一种逻辑传输,其可以使得连接的设备在任一方向(either direction)上传输等时数据。CIS支持可变大小的数据包以及在每个等时事件(isochronous event)中传输一个或多个数据包。In daily life, there may be multiple users' needs to connect to the same device through Bluetooth. For example, several friends want to listen to music on the same smartphone through Bluetooth headsets at the same time. In order to better support this requirement, the concept of connected isochronous stream (CIS) is introduced in short-distance communications. CIS is a logical transport that enables connected devices to transmit isochronous data in either direction. CIS supports variable-sized packets and the transmission of one or more packets per isochronous event.

请参考图6,其为一种CIS连接事件的示意图。CIS事件是主节点和从节点交互数据包的机会,每个CIS事件的起始时刻称为CIS锚点,CIS锚点间的间隔为CIS事件间隔,可以根据间隔(interval)参数确定。Please refer to Figure 6, which is a schematic diagram of a CIS connection event. A CIS event is an opportunity for the master node and the slave node to exchange data packets. The starting moment of each CIS event is called a CIS anchor point. The interval between CIS anchor points is the CIS event interval, which can be determined according to the interval parameter.

每个CIS事件可以包括一个或多个连接子事件(又可以称为传输子事件,简称子事件),每个子事件用于主节点向从节点传输数据包,该数据包可以跟随于从节点对主节点的响应,本申请不限定一个事件中的所有子事件都需要被使用,也可以不使用。CIS事件的第一个子事件(如图中子事件1)开始于CIS锚点,结束于从节点的数据包,例如图中子事件1中的S→M数据包,如果从节点没有发送数据包,则结束于主节点的数据包。CIS事件中的子事件的数量不超过子事件最大数量,该最大数量由参数配置。子事件间的间隔(简称为子间隔)可以由参数配置,该参数可以称为子间隔参数,且指示了连续或相邻两个子事件之间的时间。可见,子事件间的间隔大于或等于子事件的长度。Each CIS event can include one or more connection sub-events (also called transmission sub-events, referred to as sub-events). Each sub-event is used to transmit a data packet from the master node to the slave node. The data packet can follow the pair of slave nodes. For the response of the master node, this application does not limit that all sub-events in an event need to be used, or they may not be used. The first sub-event of the CIS event (sub-event 1 in the figure) starts from the CIS anchor point and ends in the data packet of the slave node, such as the S→M packet in sub-event 1 in the figure, if the slave node does not send data packet, then the data packet ends at the master node. The number of sub-events in a CIS event does not exceed the maximum number of sub-events, which is configured by parameters. The interval between sub-events (referred to as sub-interval for short) can be configured by a parameter, which can be called a sub-interval parameter and indicates the time between two consecutive or adjacent sub-events. It can be seen that the interval between sub-events is greater than or equal to the length of the sub-events.

由于用户对业务需求的变化,主节点和从节点在连接状态交互一段时间之后,连接参数可能不再适用当前业务的需求,因此为了提升业务服务质量,可以利用连接参数更新流程对连接参数进行更新,该流程涉及在主节点和从节点之间大量的控制信令交互,导致业务传输效率低下或业务中断的问题。因此,将以上事件或子事件中可以用于传输的时间裂 变为多个传输机会,从而增加了通信节点之间在该事件或子事件内的传输机会,进而增加了通信节点之间的交互次数,使得由新业务传输需求或业务特征变化需求等带来的控制信息的传输可以更高效的被调度,而减少当前业务数据传输等待的时间,提升传输效率。Due to changes in users' business needs, after the master node and slave nodes interact in the connection state for a period of time, the connection parameters may no longer meet the needs of the current business. Therefore, in order to improve the business service quality, the connection parameters can be updated using the connection parameter update process. , this process involves a large number of control signaling interactions between the master node and the slave node, resulting in low service transmission efficiency or service interruption. Therefore, the time that can be used for transmission in the above event or sub-event is split into multiple transmission opportunities, thereby increasing the transmission opportunities between communication nodes within the event or sub-event, thereby increasing the number of interactions between communication nodes , so that the transmission of control information brought about by new service transmission requirements or service characteristic change requirements can be scheduled more efficiently, thereby reducing the waiting time for current service data transmission and improving transmission efficiency.

图7示出了本申请实施例提供的一种通信方法的示意性流程图。图7所示的方法可以应用于智能终端、智能家居、智能制造和智能汽车等领域的短距通信场景中,例如包括鼠标、键盘、可穿戴设备和TWS耳机等场景。图7所示的方法包括步骤701至步骤703,以下分别进行介绍。Figure 7 shows a schematic flow chart of a communication method provided by an embodiment of the present application. The method shown in Figure 7 can be applied to short-distance communication scenarios in the fields of smart terminals, smart homes, smart manufacturing, and smart cars, including scenarios such as mice, keyboards, wearable devices, and TWS headsets. The method shown in Figure 7 includes steps 701 to 703, which are introduced respectively below.

S701,第一节点向第二节点发送第一指示信息,相应的,第二节点接收第一节点发送的第一指示信息,第一指示信息用于确定第一传输资源。S701. The first node sends first indication information to the second node. Correspondingly, the second node receives the first indication information sent by the first node. The first indication information is used to determine the first transmission resource.

本申请实施例在时域上对传输资源进行裂变,以在时域上得到更多的传输机会。因此可以将第一传输资源理解为时域上的传输资源,或者从时域的角度看该第一传输资源。The embodiment of the present application splits transmission resources in the time domain to obtain more transmission opportunities in the time domain. Therefore, the first transmission resource can be understood as a transmission resource in the time domain, or the first transmission resource can be viewed from the perspective of the time domain.

关于频域上资源的确定,本申请实施例不做限定,可以由主节点配置频域资源(动态配置或半静态配置),或者可以采用跳频技术实现频域资源的分配。例如在短距通信场景中,频带被划分成多个跳频信道(hop channel),而后利用跳频序列实现跳频信道的转换,以降低干扰。本申请不限制跳频信道的确定方法,且对跳频信道数量和跳频的频率也不做限制。Regarding the determination of frequency domain resources, the embodiments of this application are not limited. Frequency domain resources can be configured by the master node (dynamic configuration or semi-static configuration), or frequency hopping technology can be used to realize frequency domain resource allocation. For example, in short-distance communication scenarios, the frequency band is divided into multiple hop channels, and then frequency hopping sequences are used to convert the hop channels to reduce interference. This application does not limit the method of determining frequency hopping channels, nor does it limit the number of frequency hopping channels and the frequency of frequency hopping.

在一种实现中,第一节点可以是主节点,第二节点可以是从节点。第一传输资源可以是第一方向的传输资源,或者可以是第二方向的传输资源,或者包括第一方向的传输资源和第二方向的传输资源。第一方向的传输资源是指用于主节点向从节点传输数据包的资源,第二方向的传输资源为用于从节点向主节点传输数据包的资源,即本申请实施例可以对每个方向的可用传输资源进行裂变,也可以仅对一个方向的传输资源进行裂变。第一节点向第二节点发送第一指示信息,第二节点接收第一节点发送的第一指示信息,第一指示信息可以直接指示第一传输资源,或者可以间接指示第一传输资源。In one implementation, the first node may be a master node and the second node may be a slave node. The first transmission resource may be a transmission resource in the first direction, or may be a transmission resource in the second direction, or include a transmission resource in the first direction and a transmission resource in the second direction. The transmission resources in the first direction refer to the resources used for the master node to transmit data packets to the slave node, and the transmission resources in the second direction refer to the resources used for the slave node to transmit data packets to the master node. That is, the embodiment of the present application can transmit data packets from the slave node to the master node. The available transmission resources in one direction can be fissured, or the transmission resources in one direction can only be fissured. The first node sends first indication information to the second node, and the second node receives the first indication information sent by the first node. The first indication information may directly indicate the first transmission resource, or may indirectly indicate the first transmission resource.

例如,在短距通信中,第一指示信息可以包括至少一个参数,该至少一个参数用于确定一个连接事件或连接子事件中的传输资源,即确定该传输资源的起始位置和大小,该传输资源是传输节点可以使用的传输资源,并非最终采用的传输资源,最终是否采用该传输资源或采用该传输资源中的哪些资源可以根据实际业务情况确定。For example, in short-distance communications, the first indication information may include at least one parameter, which is used to determine the transmission resource in a connection event or a connection sub-event, that is, to determine the starting position and size of the transmission resource. Transmission resources are transmission resources that can be used by transmission nodes, not the transmission resources that are ultimately used. Whether or not the transmission resources are ultimately used or which resources in the transmission resources are used can be determined based on actual business conditions.

在一种实现中,第一指示信息包括连接间隔(connection interval)参数,该连接间隔参数用于指示连续或相邻两个连接事件之间的时间,两个连接事件的参考点可以为锚点。第二节点根据该连接间隔参数,确定连接间隔,并将连接间隔内的时域资源的整体或一部分作为第一传输资源,以进行裂变,且裂变时可以根据预设时间间隔确定裂变后不同方向资源之间的收发转换时间,从而确定裂变后的资源在时域上的分布,其中,裂变前后的收发转换时间可能不同。In one implementation, the first indication information includes a connection interval parameter. The connection interval parameter is used to indicate the time between two consecutive or adjacent connection events. The reference points of the two connection events can be anchor points. . The second node determines the connection interval according to the connection interval parameter, and uses all or part of the time domain resources within the connection interval as the first transmission resource for fission, and during fission, different directions after fission can be determined according to the preset time interval. The transceiver conversion time between resources is used to determine the distribution of resources in the time domain after fission. The transceiver conversion time before and after fission may be different.

在又一种实现中,第一指示信息包括连接间隔参数,且连接间隔内的用于第一方向传输的资源R11和第二方向传输的资源R12的大小是预设的,例如协议约定好的,此时,第二节点可以根据连接间隔参数和连接事件的锚点,可以确定事件的起始时间,该起始时间作为资源R11的起点;根据资源R11的大小,确定资源R11;进而根据裂变前的收发转换时间,确定资源R12的位置,且进一步根据资源R12的大小,确定资源R12。第二节点以资源R11,资源R12,或者资源R11和资源R12作为第一传输资源,或者将R11、 裂变前的收发转换时间和R12作为第一传输资源,进行裂变,裂变时根据预设时间间隔确定裂变后的不同方向资源之间的收发转换时间,其中,裂变前后的收发转换时间可能不同。或者,资源R11和资源R12的大小是通过参数确定的,分别称为参数PR11和参数PR12,则第一指示信息还可以包括参数PR11和参数PR12。资源R11和资源R12的大小可以相同,可以不同。In yet another implementation, the first indication information includes a connection interval parameter, and the sizes of the resource R11 for transmission in the first direction and the resource R12 for transmission in the second direction within the connection interval are preset, for example, agreed upon by the protocol. , at this time, the second node can determine the start time of the event based on the connection interval parameter and the anchor point of the connection event, and the start time is used as the starting point of resource R11; determine resource R11 based on the size of resource R11; and then determine the resource R11 according to the fission The location of the resource R12 is determined based on the previous transceiver conversion time, and further, the resource R12 is determined based on the size of the resource R12. The second node uses resource R11, resource R12, or resource R11 and resource R12 as the first transmission resource, or uses R11, the transceiver conversion time before fission, and R12 as the first transmission resource to perform fission. During fission, the preset time interval is used. Determine the transceiver conversion time between resources in different directions after fission, where the transceiver conversion time before and after fission may be different. Alternatively, the sizes of resource R11 and resource R12 are determined by parameters, which are respectively called parameter PR11 and parameter PR12. Then the first indication information may also include parameter PR11 and parameter PR12. The sizes of resource R11 and resource R12 can be the same or different.

在又一种实现中,第一指示信息包括连接间隔参数,且连接间隔内的用于第一方向传输的资源R11和第二方向传输的资源R12的大小是动态变化的。第一节点通过最大数据包参数来配置可以传输的最大的数据包大小,该参数可以为一个,用于配置M→S数据包的最大值与S→M数据包的最大值,该参数可以包括两个子参数,分别用于配置M→S数据包的最大值与S→M数据包的最大值。第二节点可以根据该参数分别确定主节点传输最大M→S数据包给从节点所用的时间T11以及从节点传输最大S→M数据包给主节点所用的时间T12。第二节点以时间T11和T12对应的时域资源作为第一传输资源,进行裂变。In yet another implementation, the first indication information includes a connection interval parameter, and the sizes of the resource R11 for transmission in the first direction and the resource R12 for transmission in the second direction within the connection interval are dynamically changed. The first node configures the maximum data packet size that can be transmitted through the maximum data packet parameter. This parameter can be one, which is used to configure the maximum value of M→S data packets and the maximum value of S→M data packets. This parameter can include Two sub-parameters are used to configure the maximum value of M→S data packets and the maximum value of S→M data packets. The second node can respectively determine the time T11 for the master node to transmit the maximum M→S data packet to the slave node and the time T12 for the slave node to transmit the maximum S→M data packet to the master node based on this parameter. The second node uses the time domain resources corresponding to times T11 and T12 as the first transmission resources to perform fission.

在另一种实现中,该第一指示信息包括子间隔(sub interval)参数,该子间隔参数用于指示子间隔,该子间隔为两个连续或相邻子事件之间的时间。第二节点根据子间隔参数和连接事件的锚点,可以确定一个子事件的起始时间,并将一个子间隔内的时域资源的整体或一部分作为第一传输资源,以进行裂变,且裂变时可以根据预设时间间隔确定裂变后的收发转换时间,确定裂变后的资源在时域上的分布其中,裂变前后的收发转换时间可能不同。In another implementation, the first indication information includes a sub-interval (sub-interval) parameter, the sub-interval parameter is used to indicate a sub-interval, and the sub-interval is a time between two consecutive or adjacent sub-events. The second node can determine the starting time of a sub-event based on the sub-interval parameters and the anchor point of the connection event, and use all or part of the time domain resources in a sub-interval as the first transmission resource for fission, and the fission At this time, the transceiver conversion time after fission can be determined according to the preset time interval, and the distribution of resources after fission in the time domain can be determined. The transceiver conversion time before and after fission may be different.

在又一种实现中,第一指示信息包括子间隔参数,且每个子间隔内的用于第一方向传输的资源R21和第二方向传输的资源R22的大小是预设的,例如协议约定好的,此时,第二节点可以根据子间隔参数和连接事件的锚点,可以确定一个子事件的起始时间,该起始时间作为资源R21的起点;根据资源R21的大小,确定资源R21;进而根据裂变前的收发转换时间,确定资源R22的位置,且进一步根据资源R22的大小,确定资源R22。第二节点以资源R21,资源R22,或者资源R21和资源R22作为第一传输资源,进行裂变,裂变时根据预设时间间隔确定裂变后的不同方向资源之间的收发转换时间,其中,裂变前后的收发转换时间可能不同。或者,资源R21和资源R22的大小是通过参数确定的,分别称为参数PR21和参数PR22,则第一指示信息还可以包括参数PR21和参数PR22。资源R21和资源R22的大小可以相同,可以不同。In another implementation, the first indication information includes sub-interval parameters, and the sizes of the resource R21 for the first direction transmission and the resource R22 for the second direction transmission in each sub-interval are preset, for example, agreed upon by the protocol. , at this time, the second node can determine the starting time of a sub-event based on the sub-interval parameter and the anchor point of the connection event, and the starting time is used as the starting point of resource R21; determine resource R21 based on the size of resource R21; Then, the location of the resource R22 is determined based on the transceiver conversion time before fission, and further, the resource R22 is determined based on the size of the resource R22. The second node uses resource R21, resource R22, or resource R21 and resource R22 as the first transmission resource to perform fission. During fission, the transceiver conversion time between resources in different directions after fission is determined according to the preset time interval. Among them, before and after fission The transceiver conversion time may be different. Alternatively, the sizes of resource R21 and resource R22 are determined by parameters, which are respectively called parameter PR21 and parameter PR22. Then the first indication information may also include parameter PR21 and parameter PR22. The sizes of resource R21 and resource R22 can be the same or different.

在又一种实现中,第一指示信息包括子间隔参数,且每个子间隔内的用于第一方向传输的资源R21和第二方向传输的资源R22的大小是动态变化的。第一节点通过最大数据包参数来配置可以传输的最大的数据包大小,该参数可以为一个,用于配置M→S数据包的最大值与S→M数据包的最大值,该参数可以包括两个子参数,分别用于配置M→S数据包的最大值与S→M数据包的最大值。第二节点可以根据该参数分别确定主节点传输最大M→S数据包给从节点所用的时间T21以及从节点传输最大S→M数据包给主节点所用的时间T22。第二节点以时间T21和T22对应的时域资源作为第一传输资源,进行裂变。In yet another implementation, the first indication information includes sub-interval parameters, and the sizes of resources R21 for transmission in the first direction and resources R22 for transmission in the second direction within each sub-interval are dynamically changed. The first node configures the maximum data packet size that can be transmitted through the maximum data packet parameter. This parameter can be one, which is used to configure the maximum value of M→S data packets and the maximum value of S→M data packets. This parameter can include Two sub-parameters are used to configure the maximum value of M→S data packets and the maximum value of S→M data packets. The second node can respectively determine the time T21 for the master node to transmit the maximum M→S data packet to the slave node and the time T22 for the slave node to transmit the maximum S→M data packet to the master node based on this parameter. The second node uses the time domain resources corresponding to times T21 and T22 as the first transmission resources to perform fission.

S702,第一节点向第二节点发送第二指示信息,相应的,第二节点接收第一节点发送的第二指示信息,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源。S702: The first node sends second indication information to the second node. Correspondingly, the second node receives the second indication information sent by the first node. The second indication information is used to determine a plurality of second transmission resources, and the plurality of second transmission resources. The transmission resources are included in the first transmission resources, and each second transmission resource includes transmission resources in the first direction and transmission resources in the second direction.

其中第一方向的传输资源是指用于主节点向从节点传输数据包的资源,第二方向的传 输资源为用于从节点向主节点传输数据包的资源,且对于两个方向的传输资源的先后顺序不做限定。The transmission resources in the first direction refer to the resources used to transmit data packets from the master node to the slave node, and the transmission resources in the second direction refer to the resources used to transmit data packets from the slave node to the master node, and for the transmission resources in both directions The order is not limited.

第二指示信息直接指示多个第二传输资源,也可以间接指示多个第二传输资源,且第二指示信息可以包括一个或多个参数,将在后面进一步描述。第二传输资源中第一方向的传输资源和第二方向的传输资源可以是连续的时域资源或不连续的传输资源,第一方向的传输资源和第二方向的传输资源的大小可以相同或不同。The second indication information directly indicates multiple second transmission resources, or may indirectly indicate multiple second transmission resources, and the second indication information may include one or more parameters, which will be further described later. In the second transmission resources, the transmission resources in the first direction and the transmission resources in the second direction may be continuous time domain resources or discontinuous transmission resources. The sizes of the transmission resources in the first direction and the transmission resources in the second direction may be the same or different.

本申请实施例中,将原始可用的传输资源裂变为多个不同方向的传输资源,由于控制信息单次传输的数据量较小,因此裂变后的第二传输资源可以满足控制信息的单次传输需求,而多个第二传输资源可以满足第一节点和第二节点之间对于控制信息的多次第一方向的、第二方向的传输需求。In the embodiment of the present application, the original available transmission resources are split into multiple transmission resources in different directions. Since the amount of data transmitted in a single transmission of control information is small, the second transmission resource after fission can satisfy the single transmission of control information. needs, and multiple second transmission resources can meet multiple first-direction and second-direction transmission requirements for control information between the first node and the second node.

S703,第一节点与第二节点通过至少一个第二传输资源进行通信。S703. The first node and the second node communicate through at least one second transmission resource.

第一节点和第二节点在第二传输资源上进行通信,这里的通信可以包括第一节点通过第一方向的传输资源向第二节点发送数据包,以及第二节点通过第二方向的传输资源向第一节点发送数据包,且数据包承载控制信息,或者业务数据,或者可以是空包,相应的,第一节点和第二节点之间传输的信息可以是协议数据单元(protocol data unit,PDU),例如,链路层(Link layer)控制(control)协议数据单元(protocol data unit,PDU),或者链路层数据PDU,或者包括链路层控制PDU和链路层数据PDU。The first node and the second node communicate on the second transmission resource. The communication here may include the first node sending a data packet to the second node through the transmission resource in the first direction, and the second node sending a data packet through the transmission resource in the second direction. Send a data packet to the first node, and the data packet carries control information, or business data, or may be an empty packet. Correspondingly, the information transmitted between the first node and the second node may be a protocol data unit (protocol data unit, PDU), for example, a link layer (Link layer) control (protocol data unit, PDU), or a link layer data PDU, or includes a link layer control PDU and a link layer data PDU.

第一节点和第二节点之间通信的次数不做限制,即第一节点和第二节点可以使用部分数量的第二传输资源传输信息,例如,当第一节点和第二节点之间没有过多的传输次数需求时,可以只在一个第二传输资源上进行信息传输,即只进行一次第一方向(例如,M→S)的传输和第二方向(例如,S→M)的传输;当第一节点和第二节点之间有更多的传输次数需求时,可以在多个第二传输资源甚至是所有的第二传输资源上进行信息传输,由此可以解决第一节点和第二节点之间对于控制信息的多次交互需求无法满足的问题。The number of communications between the first node and the second node is not limited, that is, the first node and the second node can use part of the second transmission resource to transmit information, for example, when there is no communication between the first node and the second node. When a large number of transmissions is required, information can be transmitted only on a second transmission resource, that is, only one transmission in the first direction (for example, M→S) and one transmission in the second direction (for example, S→M); When there is a need for more transmission times between the first node and the second node, information can be transmitted on multiple second transmission resources or even all second transmission resources, thereby solving the problem between the first node and the second node. The problem of unsatisfied multiple interaction requirements for control information between nodes.

多个第二传输资源由第二指示信息确定。第二指示信息可以包括以下参数中的一个或多个:传输起始时间(或位置)、时间粒度、预设时间间隔、传输次数、传输结束时间(或位置)。传输起始时间(或位置)用于指示第二传输资源在时域上的起始时间(或位置),可以仅指示其中一个第二传输资源的起始时间,也可以指示多个第二传输资源的起始时间;此外,对于第二传输资源中的第一方向的传输资源和第二方向的传输资源可以分别指示其起始时间,或者可以仅指示一个方向的传输资源的起始时间。传输结束时间(或位置)用于指示第二传输资源在时域上的结束时间(或位置),可以仅指示其中一个第二传输资源的结束时间,也可以指示多个第二传输资源的结束时间;此外,对于第二传输资源中的第一方向的传输资源和第二方向的传输资源可以分别指示其结束时间,或者可以仅指示一个方向的传输资源的结束时间。时间粒度用于指示第二传输资源在时域上的宽度,或者时间粒度为第二传输资源的第一方向的传输资源和第二方向的传输资源在时域上的宽度;可以仅利用一个时间粒度参数指示多个第二传输资源在时域上的宽度,此时多个第二传输资源在时域上的宽度是均匀的(相同的),或者多个第二传输资源在时域上的宽度是按预设规则(预设线性关系)变化的;或者,可以利用多个时间粒度参数指示每个第二传输资源在时域上的宽度。预设时间间隔为第二传输资源的第一方向的传输资源和第二方向的传输资源之间在时域上的间隔,类似以上转换时间间隔。传输次数用于指示多个第二传输资源第 一方向传输次数,第二方向传输次数,或者第一方向和第二方向传输次数,该传输次数用于指示裂变,并非是真实传输次数,真实传输次数可以与之相同或不同,因此传输次数又可以称为资源数量或裂变数量等。The plurality of second transmission resources are determined by the second indication information. The second indication information may include one or more of the following parameters: transmission start time (or location), time granularity, preset time interval, number of transmissions, transmission end time (or location). The transmission start time (or position) is used to indicate the start time (or position) of the second transmission resource in the time domain. It may indicate only the start time of one second transmission resource, or may indicate multiple second transmissions. The start time of the resource; in addition, the start time of the transmission resource in the first direction and the transmission resource in the second direction in the second transmission resource may be indicated respectively, or the start time of only one direction of the transmission resource may be indicated. The transmission end time (or position) is used to indicate the end time (or position) of the second transmission resource in the time domain. It may indicate the end time of only one of the second transmission resources, or may indicate the end of multiple second transmission resources. time; in addition, the end time of the transmission resource in the first direction and the transmission resource in the second direction in the second transmission resource may be indicated respectively, or the end time of only the transmission resource in one direction may be indicated. The time granularity is used to indicate the width of the second transmission resource in the time domain, or the time granularity is the width of the transmission resource in the first direction and the transmission resource in the second direction of the second transmission resource in the time domain; only one time can be used The granularity parameter indicates the width of the multiple second transmission resources in the time domain. At this time, the width of the multiple second transmission resources in the time domain is uniform (the same), or the width of the multiple second transmission resources in the time domain is The width changes according to a preset rule (preset linear relationship); or, multiple time granularity parameters can be used to indicate the width of each second transmission resource in the time domain. The preset time interval is the interval in the time domain between the transmission resources in the first direction and the transmission resources in the second direction of the second transmission resource, similar to the above conversion time interval. The number of transmissions is used to indicate the number of transmissions in the first direction, the number of transmissions in the second direction, or the number of transmissions in the first and second directions of multiple second transmission resources. The number of transmissions is used to indicate fission, not the actual number of transmissions. Real transmissions The number of times can be the same or different, so the number of transmissions can also be called the number of resources or the number of fissions, etc.

第二指示信息可以包括以下参数中的一个:传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间。例如,第二指示信息包括传输次数或时间粒度,由于传输起始时间和传输结束时间可以与第一传输资源的传输起始时间和传输结束时间相同,预设时间间隔可以根据硬件条件确定,或者是预设好的(例如协议约定好的),而当第一传输资源被均分为多个第二传输资源时,即时间粒度是均匀的,而时间粒度和传输次数可以相互决定。图8中的(a)图示出了只由传输次数确定第二传输资源的情况,当传输起始时间、预设时间间隔、传输结束时间都确定时,如果再确定了传输次数,由于时间粒度均匀,每个第一方向的传输资源和第二方向的传输资源在时域上的宽度相同,则可以确定初始的第一传输资源被裂变为多少个第一方向的传输资源和第二方向的传输资源,而每个第一方向的传输资源和第二方向的传输资源在时域上的宽度可以确定,即时间粒度可以确定,因此这种情况下第二指示信息只需要包括传输次数即可。如图8中的(a)图,第一传输资源中第一方向的传输资源和第二方向的传输资源在时域上的长度均为14毫秒(ms),第二传输资源的传输起始时间、传输结束时间与第一传输资源的传输起始时间、传输结束时间相同,预设时间间隔为固定的2ms,且预设时间粒度为均匀的,则此时第二指示信息可以只包括传输次数为8次,则可以将图8中的(a)图的第一传输资源转换为第二传输资源,第二传输资源中每个第一方向的传输资源和每个第二方向的传输资源均为2ms。The second indication information may include one of the following parameters: transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time. For example, the second indication information includes the number of transmissions or time granularity. Since the transmission start time and transmission end time may be the same as the transmission start time and transmission end time of the first transmission resource, the preset time interval may be determined according to hardware conditions, or It is preset (for example, agreed upon by the protocol), and when the first transmission resource is equally divided into multiple second transmission resources, that is, the time granularity is uniform, and the time granularity and the number of transmissions can determine each other. (a) in Figure 8 shows the situation where the second transmission resource is determined only by the number of transmissions. When the transmission start time, preset time interval, and transmission end time are all determined, if the number of transmissions is determined again, due to the time The granularity is uniform, and the width of each transmission resource in the first direction and the transmission resource in the second direction is the same in the time domain. Then it can be determined how many transmission resources in the first direction and second direction the initial first transmission resource is split into. The transmission resources, and the width of each first direction transmission resource and the second direction transmission resource in the time domain can be determined, that is, the time granularity can be determined, so in this case the second indication information only needs to include the number of transmissions, that is, Can. As shown in (a) of Figure 8, the lengths of the transmission resources in the first direction and the transmission resources in the second direction in the first transmission resource are both 14 milliseconds (ms) in the time domain. The transmission start of the second transmission resource The time and transmission end time are the same as the transmission start time and transmission end time of the first transmission resource, the preset time interval is a fixed 2ms, and the preset time granularity is uniform, then the second indication information can only include transmission at this time The number of times is 8 times, then the first transmission resource in Figure 8(a) can be converted into a second transmission resource, and each transmission resource in the first direction and each transmission resource in the second direction in the second transmission resource can be converted into a second transmission resource. Both are 2ms.

再如,在预设时间间隔未确定,或者多个第二传输资源不与初始第一传输资源的传输起始时间和传输结束时间相同,或者时间粒度不均匀,第一传输资源不是被均分为多个第二传输资源,即每个第一方向的传输资源和第二方向的传输资源在时域上的宽度可能不同,此时时间粒度和传输次数不能相互决定,则第二指示信息可以包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间等参数中的多个。如图8中的(b)图,第一传输资源中第一方向的传输资源和第二方向的传输资源均为14毫秒(ms),预设时间间隔依然为固定的2ms,则此时第二指示信息包括:传输起始时间、时间粒度、传输次数。例如第一个第二传输资源的传输起始时间为比第一传输资源的传输起始时间晚1ms,例如,假设第一传输资源的开始为第0ms,则此时确定第二传输资源的传输起始时间为第1ms,时间粒度为第一方向的传输资源为2ms,第二方向的传输资源为1ms,传输次数为8次。根据该第二指示信息,可以将图8中的(b)图的第一传输资源转换为第二传输资源。For another example, the preset time interval is not determined, or the multiple second transmission resources are not the same as the transmission start time and transmission end time of the initial first transmission resource, or the time granularity is uneven, and the first transmission resources are not evenly divided. There are multiple second transmission resources, that is, the width of each transmission resource in the first direction and the transmission resource in the second direction may be different in the time domain. In this case, the time granularity and the number of transmissions cannot determine each other, then the second indication information can Including transmission start time, time granularity, preset time interval, number of transmissions, transmission end time and other parameters. As shown in (b) of Figure 8, the transmission resources in the first direction and the transmission resources in the second direction in the first transmission resource are both 14 milliseconds (ms), and the preset time interval is still a fixed 2ms, then at this time, the The second indication information includes: transmission start time, time granularity, and number of transmissions. For example, the transmission start time of the first second transmission resource is 1 ms later than the transmission start time of the first transmission resource. For example, assuming that the start of the first transmission resource is the 0th ms, then the transmission of the second transmission resource is determined at this time. The starting time is 1ms, the time granularity is 2ms for transmission resources in the first direction, 1ms for transmission resources in the second direction, and 8 transmission times. According to the second indication information, the first transmission resource in (b) of FIG. 8 can be converted into a second transmission resource.

第二指示信息还可以包括其它组合,只要可以将第一传输资源的裂变方式确定出来即可,例如可以依据第一传输资源确定起始时间,而无需指示传输起始时间,或者预设第一个第二传输资源的起始时间与第一传输资源的起始时间的关系等。此外,第二传输资源的数量不做指示,以根据待发送信息的情况动态变化,第一节点和第二节点根据待发送信息的传输情况,动态的以时间粒度为依据确定每次业务发送的起始时间,而后在业务发送完成后,停止发送,即裂变是一个动态的过程,第二传输资源的数量根据实际发送情况而变化,第二指示信息可以指示该时间粒度。此时,也无需指示传输结束时间。The second indication information may also include other combinations, as long as the fission mode of the first transmission resource can be determined. For example, the start time can be determined based on the first transmission resource without indicating the transmission start time, or the first transmission time can be preset. The relationship between the starting time of the second transmission resource and the starting time of the first transmission resource, etc. In addition, the number of the second transmission resources is not indicated and can change dynamically according to the information to be sent. The first node and the second node dynamically determine the number of each service to be sent based on the time granularity based on the transmission situation of the information to be sent. The starting time, and then stops sending after the service is sent, that is, fission is a dynamic process. The number of second transmission resources changes according to the actual sending situation, and the second indication information can indicate the time granularity. At this time, there is no need to indicate the transmission end time.

可选的,第二指示信息可以用于激活多个第二传输资源,即第二指示信息用于指示第二传输资源在第一传输资源内的图案(pattern)。例如,第二传输资源在第一传输资源内 的图案是指第一传输资源在第一传输资源内的分布。在一种实现中,可以预先约定好第二传输资源在第一传输资源内的资源分布情况,该分布情况可以为一种,则第二指示信息可以仅通过一个比特就实现对第一传输资源的裂变,即该第二指示信息为第一值时,即激活对第一传输资源的裂变,此时实现简单,对信息的开销需求较少;或者分布情况可以包括多种,即第二传输资源在第一传输资源内的图案包括多种,第二指示信息可以用于指示图案的标识或索引,则根据该第二指示信息指示的图案进行资源裂变。例如第二指示信息用于指示图案1,则根据第二指示信息将第一传输资源裂变为预设的图案1所对应的多个第二传输资源,从而达到激活多个第二传输资源的目的,而第二指示信息无需再包含传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间等具体信息,节省了信令开销,且可以灵活适用于不同业务或场景的需求。Optionally, the second indication information may be used to activate multiple second transmission resources, that is, the second indication information is used to indicate a pattern of the second transmission resources within the first transmission resource. For example, the pattern of the second transmission resource within the first transmission resource refers to the distribution of the first transmission resource within the first transmission resource. In an implementation, the resource distribution situation of the second transmission resource within the first transmission resource can be pre-agreed. The distribution situation can be one, and then the second indication information can realize the control of the first transmission resource through only one bit. Fission, that is, when the second indication information is the first value, fission of the first transmission resource is activated. At this time, the implementation is simple and requires less information overhead; or the distribution situation can include multiple types, that is, the second transmission The resources include multiple patterns in the first transmission resource. The second indication information can be used to indicate the identification or index of the pattern, and resource fission is performed according to the pattern indicated by the second indication information. For example, the second indication information is used to indicate pattern 1, and the first transmission resource is split into multiple second transmission resources corresponding to the preset pattern 1 according to the second indication information, thereby achieving the purpose of activating multiple second transmission resources. , and the second indication information no longer needs to include specific information such as transmission start time, time granularity, preset time interval, number of transmissions, transmission end time, etc., which saves signaling overhead and can be flexibly adapted to the needs of different services or scenarios.

可选的,所述图案的配置可以是通过连接事件或连接子事件的配置来实现。例如,第一节点可以在以上图4或图5所示的连接建立的过程中,在连接请求中配置图案的参数;再如可以在连接态的情况下,通过参数更新流程中传输的数据包来配置图案的参数,本申请实施例不限制图案的配置在哪个流程进行。Optionally, the configuration of the pattern may be implemented through the configuration of connection events or connection sub-events. For example, the first node can configure the parameters of the pattern in the connection request during the connection establishment process shown in Figure 4 or Figure 5 above; another example can be in the connection state, through the data packet transmitted in the parameter update process. To configure the parameters of the pattern, the embodiment of the present application does not limit the process in which the pattern configuration is performed.

可选的,用于裂变的第一传输资源可以包括第一方向的传输资源和第二方向的传输资源,也可以只包括第一方向的传输资源或只包括第二方向的传输资源,可以视具体情况和需求设置。Optionally, the first transmission resources used for fission may include transmission resources in the first direction and transmission resources in the second direction, or may include only transmission resources in the first direction or only transmission resources in the second direction, depending on the Specific situations and requirements set.

以上实施例中提到的数据包可以是PDU,具体可以是数据物理信道PDU,例如链路层数据PDU或链路层控制PDU。The data packet mentioned in the above embodiment may be a PDU, specifically a data physical channel PDU, such as a link layer data PDU or a link layer control PDU.

图7所示的通信方法,通过将初始的有限传输资源裂变为多个传输资源,虽然裂变后的每个传输资源在时域上的宽度减小,但依然可以满足单次传输数据量较小的控制信息的传输要求,同时,裂变后的多个传输资源也可以满足控制信息的多次传输需求。因此,提升了业务传输效率。此外,传输资源的裂变是可控的,裂变后的传输资源的传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间可以根据实际需求设置,或提供多种裂变图案适用不同业务需求,进一步提升了业务传输效率。The communication method shown in Figure 7 splits the initial limited transmission resources into multiple transmission resources. Although the width of each transmission resource after the fission is reduced in the time domain, it can still meet the requirement of small single transmission data volume. At the same time, the multiple transmission resources after fission can also meet the multiple transmission requirements of control information. Therefore, service transmission efficiency is improved. In addition, the fission of transmission resources is controllable. The transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time of the fissioned transmission resources can be set according to actual needs, or multiple fission patterns can be provided to suit different needs. business needs, further improving business transmission efficiency.

以上结合图4和图5描述了连接事件的建立过程,在主节点和从节点进入连接态之后,当数据发送完成之后,可以关闭连接事件。例如,在数据物理信道PDU中包括字段(more data,MD),通信节点通过字段MD告知通信对端是否还有更多数据需要发送。The above describes the establishment process of the connection event in conjunction with Figure 4 and Figure 5. After the master node and the slave node enter the connection state, when the data transmission is completed, the connection event can be closed. For example, the data physical channel PDU includes a field (more data, MD), and the communication node uses the MD field to inform the communication peer whether there is more data to be sent.

现有的MD字段机制如表1所示。The existing MD field mechanism is shown in Table 1.

表1Table 1

MD为0表示没有数据需要传输,MD为1表示还有数据需要传输。由表1可知,只有当主节点和从节点发送的数据包的MD都为0时,主节点和从节点之间不再继续进行交互,而当主节点或从节点中任一方有MD为1时,主节点和从节点之间可能继续进行交互。由于通信由主节点发起,因此是否继续进行交互由主节点决定。例如,从节点在本次传输之后,需要继续与主节点进行信息传输的情况下,从节点将向主节点发送的数据包的包头中的字段MD设置为值“1”,该值用于向主节点指示从节点还有更多数据包要传输。主节点根据该MD字段的取值,确定是否结束当前连接事件(connection event,CE),当主节点和从节点的发送的数据包的MD都为0时,主节点关闭当前连接事件,即停止向从节点发送数据包。An MD of 0 indicates that there is no data to be transmitted, and an MD of 1 indicates that there is still data to be transmitted. As can be seen from Table 1, only when the MD of the data packets sent by the master node and the slave node is 0, the master node and the slave node will no longer continue to interact, and when either the master node or the slave node has an MD of 1, Interaction between master and slave nodes may continue. Since the communication is initiated by the master node, it is up to the master node to decide whether to continue the interaction. For example, if the slave node needs to continue transmitting information with the master node after this transmission, the slave node will set the field MD in the header of the data packet sent to the master node to the value "1", which is used to send the message to the master node. The master node indicates to the slave node that there are more packets to transmit. The master node determines whether to end the current connection event (CE) based on the value of the MD field. When the MD of the data packets sent by the master node and the slave node are both 0, the master node closes the current connection event, that is, stops sending messages to Send packets from node.

图9示出了在一个连接间隔内进行数据传输的示意图,如图9所示,在一个连接间隔内,主节点与从节点之间可以存在一个连接事件,连接事件内允许进行多次数据交互。例如从节点在第一次发送数据包时,发送MD字段,用于指示主节点该从节点数据未发送完,还有数据需要继续发送,则主节点收到该MD字段后可以继续与该从节点进行数据交互。但是这种交互方式灵活性不高,可能不适应业务需求,导致传输效率低下。例如在图9中,从节点发送数据包时,发送MD字段,用于指示主节点该从节点数据未发送完,还有数据需要继续发送,而主节点收到该MD字段后,因为资源冲突或不足等原因,仍然可能不再与该从节点继续交互,则该从节点只能等到下一个连接间隔才能继续与该主节点进行数据交互,导致从节点的业务需求无法得到满足,尤其对于高优先级的业务,会导致用户体验下降。Figure 9 shows a schematic diagram of data transmission within a connection interval. As shown in Figure 9, within a connection interval, there can be a connection event between the master node and the slave node, and multiple data interactions are allowed within the connection event. . For example, when a slave node sends a data packet for the first time, it sends an MD field to indicate to the master node that the data from the slave node has not been sent completely and there is still data that needs to be sent. After receiving the MD field, the master node can continue to communicate with the slave node. Nodes interact with data. However, this interaction method is not very flexible and may not meet business needs, resulting in low transmission efficiency. For example, in Figure 9, when the slave node sends a data packet, it sends the MD field to indicate to the master node that the data from the slave node has not been sent completely, and there is still data that needs to continue to be sent. After the master node receives the MD field, due to resource conflicts, Or insufficient or other reasons, it may still no longer continue to interact with the slave node, then the slave node can only wait until the next connection interval to continue data interaction with the master node, resulting in the business needs of the slave node being unable to be met, especially for high-speed Prioritized services will lead to degraded user experience.

因此本申请实施例提供一种通信方法,当从节点有预设类型的信息需要传输时,可以指示主节点继续进行信息传输的交互,以保证重要信息的及时、完整的传输。图10示出了本申请实施例提供的一种通信方法的示意性流程图,图10所示的方法可以应用于智能终端、智能家居、智能制造和智能汽车等领域的短距通信场景中,例如包括鼠标、键盘、可穿戴设备和TWS耳机等场景中。图10所示的方法包括步骤1001和步骤1002,以下分别进行介绍。Therefore, embodiments of the present application provide a communication method. When the slave node has a preset type of information that needs to be transmitted, it can instruct the master node to continue the interaction of information transmission to ensure timely and complete transmission of important information. Figure 10 shows a schematic flow chart of a communication method provided by an embodiment of the present application. The method shown in Figure 10 can be applied to short-distance communication scenarios in fields such as smart terminals, smart homes, smart manufacturing, and smart cars. For example, it includes mouse, keyboard, wearable devices and TWS headsets. The method shown in Figure 10 includes step 1001 and step 1002, which are introduced respectively below.

S1001,第一节点向第二节点发送第一数据包,相应的,第二节点接收第一节点发送的第一数据包。S1001. The first node sends a first data packet to a second node. Correspondingly, the second node receives the first data packet sent by the first node.

本申请实施例的通信方法用于第一节点和第二节点之间的交互,其中在连接态下,第一节点可以是主节点,第二节点可以是从节点。The communication method in the embodiment of the present application is used for interaction between a first node and a second node, where in a connected state, the first node may be a master node and the second node may be a slave node.

以短距通信场景为例,第一节点向第二节点发送第一数据包,第二节点接收第一节点发送的第一数据包,此时,通信由第一节点发起,第二节点基于第一节点发送的数据包的接收,向第一节点发送信息。可选的,这里的第一数据包可以为空数据包,第二节点只要接收了该第一数据包,无论第一数据包是否为空,第二节点都可以基于第一节点发送的数据包的接收,向第一节点发送信息。Taking the short-distance communication scenario as an example, the first node sends the first data packet to the second node, and the second node receives the first data packet sent by the first node. At this time, the communication is initiated by the first node, and the second node is based on the first node. Reception of data packets sent by one node, sending information to the first node. Optionally, the first data packet here can be an empty data packet. As long as the second node receives the first data packet, regardless of whether the first data packet is empty, the second node can based on the data packet sent by the first node. Receive and send information to the first node.

S1002,第二节点基于所述第一数据包的接收,向第一节点发送第二数据包,相应的,第一节点接收第二节点发送的第二数据包,第二数据包包括指示信息,指示信息用于指示第二节点是否具有待传输信息和待传输信息的类型。S1002, the second node sends a second data packet to the first node based on the reception of the first data packet. Correspondingly, the first node receives the second data packet sent by the second node, and the second data packet includes indication information, The indication information is used to indicate whether the second node has information to be transmitted and the type of information to be transmitted.

第二节点向第一节点发送数据包的同时发送指示信息,该指示信息用于指示第二节点是否还有待传输信息,如果有待传输信息,同时指示待传输信息的类型。该指示信息可以 复用MD字段,即MD字段用于指示第二节点是否还有待传输的信息以及待传输信息的类型;或者可以在MD字段的基础上新增一个字段,MD字段用于指示第二节点是否还有待传输的信息,该新增的字段用于指示待传输信息的类型。When sending a data packet to the first node, the second node also sends indication information. The indication information is used to indicate whether the second node still has information to be transmitted. If there is information to be transmitted, it also indicates the type of information to be transmitted. The indication information can reuse the MD field, that is, the MD field is used to indicate whether the second node still has information to be transmitted and the type of information to be transmitted; or a new field can be added based on the MD field, and the MD field is used to indicate the second node. Whether the second node still has information to be transmitted, this new field is used to indicate the type of information to be transmitted.

如果第二节点指示还有待传输信息,且该待传输信息的类型表示其为重要信息,例如控制信息或者特定业务的数据信息,则第一节点继续向第二节点发送第三数据包,以维持连接事件,因此第一数据包、第二数据包和第三数据包位于一个连接事件内,其中第三数据包可以包括控制信息或数据信息,也可以是空包,第一节点向第二节点发送第三数据包的主要目的是使第二节点基于第一节点发送的第三数据包可以继续向第一节点发送待传输信息。因此当第二节点接收第一节点基于指示信息发送的第三数据包后,第二节点可以基于第三数据包的接收向第一节点发送待传输信息,相应的,该待传输信息的数据包中也可以包括指示信息,用于指示第二节点接下来是否还有待传输信息,如果有,同时指示该待传输信息的类型。由此第二节点的待传输信息都可以在一个连接事件中传输完毕,而无需等到下一个连接间隔才能继续与第一节点进行数据交互,以保障第二节点的业务需求得到满足,尤其对于高优先级的业务,图10中的方法可以保障高优先级的业务的实时性,从而提升用户的使用体验。特定业务例如为高优先级业务或预设业务,其中,优先级达到或高于预设优先级的业务则可以认为为高优先级业务。If the second node indicates that there is still information to be transmitted, and the type of the information to be transmitted indicates that it is important information, such as control information or data information of a specific service, the first node continues to send the third data packet to the second node to maintain Connection event, so the first data packet, the second data packet and the third data packet are located within a connection event, where the third data packet can include control information or data information, or it can be an empty packet, the first node sends a message to the second node The main purpose of sending the third data packet is to enable the second node to continue sending information to be transmitted to the first node based on the third data packet sent by the first node. Therefore, after the second node receives the third data packet sent by the first node based on the indication information, the second node can send the information to be transmitted to the first node based on the reception of the third data packet. Correspondingly, the data packet of the information to be transmitted may also include indication information used to indicate whether the second node has any information to be transmitted next, and if so, indicate the type of information to be transmitted. Therefore, all the information to be transmitted by the second node can be transmitted in one connection event, without having to wait for the next connection interval to continue data interaction with the first node, so as to ensure that the business needs of the second node are met, especially for high-end users. For priority services, the method in Figure 10 can ensure the real-time performance of high-priority services, thereby improving the user experience. Specific services are, for example, high-priority services or preset services. Services whose priority reaches or is higher than the preset priority can be considered as high-priority services.

可选的,指示信息可以只包括一个字段,通过一个字段指示是否具有待传输信息和待传输信息的类型,或者,指示信息包括第一字段和第二字段,分别用于指示是否具有待传输信息和待传输信息的类型。每个字段的大小不作限制,可选的,为了节省信令开销,该一个字段具有2个比特,分别用于描述是否具有待传输信息和该待传输信息的类型。或者第一字段具有1个比特,用于指示是否具有待传输信息,第二字段具有N个比特,用于指示该待传输信息的类型,根据需要指示的传输信息的类型的量确定该N的取值,例如如果指示控制信息和业务数据信息(简称数据信息)两种类型,则N可以取值为1;如果指示更多的业务数据类型,可以设置更多的比特。Optionally, the indication information may include only one field to indicate whether there is information to be transmitted and the type of information to be transmitted, or the indication information may include a first field and a second field, respectively used to indicate whether there is information to be transmitted. and the type of information to be transmitted. The size of each field is not limited. Optionally, in order to save signaling overhead, this field has 2 bits, which are used to describe whether there is information to be transmitted and the type of the information to be transmitted. Or the first field has 1 bit, used to indicate whether there is information to be transmitted, and the second field has N bits, used to indicate the type of information to be transmitted, and the N is determined according to the amount of the type of transmission information that needs to be indicated. Value, for example, if two types of control information and service data information (referred to as data information) are indicated, N can take a value of 1; if more service data types are indicated, more bits can be set.

图10所示的通信方法,在从节点向主节点发送的数据包中添加指示信息,指示信息用于指示待传输信息的类型,不同的类型可以预先约定其重要程度不同,通过预先的约定,如果待传输信息的类型表示其为预先约定的重要信息,则主节点继续与该从节点进行信息传输的交互,减少从节点由于没有主动权而无法进行重要信息的传输的情况,提升重要信息被调度的可能性,例如主节点同时需要与多个从节点交互时,根据从该多个从节点接收到的指示信息,确定其中从节点A的优先级更高,因此优先与从节点A进行交互,即优先使得从节点A的数据得以传输,提升重要信息的传输效率。The communication method shown in Figure 10 adds indication information to the data packet sent from the slave node to the master node. The indication information is used to indicate the type of information to be transmitted. Different types can be pre-agreed to have different degrees of importance. Through pre-agreement, If the type of information to be transmitted indicates that it is pre-agreed important information, the master node will continue to interact with the slave node for information transmission, reducing the situation where the slave node is unable to transmit important information because it has no initiative, and improving the transmission of important information. Possibility of scheduling. For example, when the master node needs to interact with multiple slave nodes at the same time, it determines that slave node A has a higher priority based on the instruction information received from the multiple slave nodes, so it preferentially interacts with slave node A. , that is, the data from node A is transmitted first, improving the transmission efficiency of important information.

图11示出了本申请实施例提供的另一种通信方法的示意性流程图,图11所示的方法可以应用于智能终端、智能家居、智能制造和智能汽车等领域的短距通信场景中,例如包括鼠标、键盘、可穿戴设备和TWS耳机等场景中。图11所示的方法包括S1101至S1102,以下分别进行介绍。Figure 11 shows a schematic flow chart of another communication method provided by an embodiment of the present application. The method shown in Figure 11 can be applied to short-distance communication scenarios in fields such as smart terminals, smart homes, smart manufacturing, and smart cars. , including in scenarios such as mice, keyboards, wearable devices, and TWS headsets. The method shown in Figure 11 includes S1101 to S1102, which are introduced respectively below.

S1101,第一节点向第二节点发送指示信息,相应的,第二节点接收第一节点发送的指示信息,该指示信息由于指示传输资源,该传输资源为预留资源或共享资源。S1101. The first node sends indication information to the second node. Correspondingly, the second node receives the indication information sent by the first node. The indication information indicates transmission resources, and the transmission resources are reserved resources or shared resources.

本申请实施例的通信方法用于第一节点和第二节点之间的交互,其中在连接态下,第一节点可以是主节点,第二节点可以是从节点。The communication method in the embodiment of the present application is used for interaction between a first node and a second node, where in a connected state, the first node may be a master node and the second node may be a slave node.

此外,对于传输资源的指示本申请实施例不做限制,可以为直接指示,也可以为间接指示,可选的,指示方式可以类似以上第一传输资源的指示,且可以通过标识来标识该传输资源为预留资源或共享资源。In addition, there is no limit to the indication of transmission resources in this embodiment of the application. It can be a direct indication or an indirect indication. Optionally, the indication method can be similar to the above indication of the first transmission resource, and the transmission can be identified by an identifier. Resources are reserved resources or shared resources.

在某些情况下,例如图10所示的通信方法中,如果一个从节点具有较多信息需要传输,且主节点同意与该从节点进行较多信息的传输时,可能超出主节点预先为该从节点配置的传输资源,从而占用其他从节点的传输资源,使得其他从节点的信息传输无法保障,可能导致通信质量下降,影响用户使用感受。因此,图11所示的通信方法,主节点通过配置传输资源,在某些从节点所要传输的信息超出其预先配置的传输资源时,提高整体的通信质量。In some cases, such as the communication method shown in Figure 10, if a slave node has more information to transmit, and the master node agrees to transmit more information with the slave node, it may exceed the amount of information that the master node has predetermined. The transmission resources configured by the slave node occupy the transmission resources of other slave nodes, making the information transmission of other slave nodes unable to be guaranteed, which may lead to a decrease in communication quality and affect the user experience. Therefore, in the communication method shown in Figure 11, the master node configures transmission resources to improve the overall communication quality when the information to be transmitted by some slave nodes exceeds its pre-configured transmission resources.

当以上传输资源为预留资源时,指示信息指示传输资源为目标节点的预留资源。目标节点可以为具有预设信息(或重要信息)待传输的节点,该预设信息例如为控制信息或预设类型的数据信息;或者目标节点为预先设定的节点集(列表)中的节点,该节点具有更高的优先级,可以被优先保证信息传输。例如,如果预先约定目标节点为可能传输重要信息的节点,则如果第二节点具有重要信息待传输,则将第二节点作为目标节点,其中传输信息的重要程度可以由其类型决定,可以预先约定控制信息或某种数据信息为重要的信息,第一节点为第二节点配置预留资源,该预留资源为不可被其他从节点(非目标从节点)占用的资源。主节点和其他从节点在进行信息传输的过程中,先确定待发送的信息所占用的传输资源是否会与为目标节点的预留资源冲突,如果冲突,则主节点和其他从节点不进行该待发送的信息的传输。When the above transmission resources are reserved resources, the indication information indicates that the transmission resources are reserved resources of the target node. The target node may be a node with preset information (or important information) to be transmitted, such as control information or preset type of data information; or the target node may be a node in a preset node set (list) , this node has a higher priority and can be prioritized to ensure information transmission. For example, if it is pre-agreed that the target node is a node that may transmit important information, then if the second node has important information to be transmitted, the second node will be used as the target node. The importance of the transmitted information may be determined by its type. It may be pre-agreed. Control information or certain data information is important information. The first node configures reserved resources for the second node. The reserved resources are resources that cannot be occupied by other slave nodes (non-target slave nodes). During the information transmission process, the master node and other slave nodes first determine whether the transmission resources occupied by the information to be sent will conflict with the resources reserved for the target node. If there is a conflict, the master node and other slave nodes will not perform the process. Transmission of information to be sent.

当以上传输资源为共享资源时,指示信息指示传输资源为共享资源,该共享资源为多个(或所有)从节点均可占用的资源,指示信息可以为广播信息。对于从节点来说,当主节点为其分配的专用传输资源使用完后,如果还有待发送的数据,可以使用共享资源进行发送,但由于共享资源是有限的,无法满足多个从节点同时使用,因此图11所示的通信方法还为从节点使用共享资源设置了条件。具体的,指示信息还包括预设数值,预设数值为系统预先配置,或者,该预设数值可以与以上指示传输资源的信息独立;在另一种实现中,该预设数值为预先约定的数值,不需要通过指示信息进行指示。图11所示的第二节点在需要使用共享资源时,先生成一个随机数,如果随机数与预设数值之间满足第一关系,则第二节点可以使用共享资源与第一节点进行信息传输交互,如果不满足第一关系,则第二节点不能使用共享资源与第一节点进行信息传输交互。该第一关系可以是随机数大于等于预设数值,或者第一关系可以是随机数小于预设数值,第一关系可以预先设定,本申请实施例在此不作限定。可选的,共享资源可以是半静态资源,意味着,在一个连接事件内可以配置多个共享资源,第二节点如果满足使用共享资源的条件,则可以连续多次占用共享资源。其中,连续占用的具体次数可以预先约定或者由第二节点在[1,N]中生成一个随机整数决定,其中N为连续占用的最大次数。When the above transmission resources are shared resources, the indication information indicates that the transmission resources are shared resources. The shared resources are resources that can be occupied by multiple (or all) slave nodes, and the indication information can be broadcast information. For the slave node, when the dedicated transmission resources allocated by the master node are used up, if there is still data to be sent, the shared resources can be used to send it. However, since the shared resources are limited, it cannot be used by multiple slave nodes at the same time. Therefore, the communication method shown in Figure 11 also sets conditions for slave nodes to use shared resources. Specifically, the indication information also includes a preset value, which is pre-configured by the system, or the preset value can be independent of the above information indicating transmission resources; in another implementation, the preset value is a pre-agreed value. Numeric value does not need to be indicated by indication information. When the second node shown in Figure 11 needs to use shared resources, it first generates a random number. If the random number and the preset value satisfy the first relationship, the second node can use the shared resources to transmit information with the first node. Interaction, if the first relationship is not satisfied, the second node cannot use the shared resource to interact with the first node for information transmission. The first relationship may be that the random number is greater than or equal to the preset value, or the first relationship may be that the random number is less than the preset value. The first relationship may be preset, and the embodiments of the present application are not limited here. Optionally, the shared resource can be a semi-static resource, which means that multiple shared resources can be configured within one connection event. If the second node meets the conditions for using the shared resource, it can occupy the shared resource multiple times in a row. Among them, the specific number of consecutive occupancies can be pre-agreed or determined by the second node generating a random integer in [1, N], where N is the maximum number of consecutive occupancies.

S1102,第二节点根据指示信息确定传输资源。S1102. The second node determines transmission resources according to the indication information.

具体的,当传输资源为预留资源时,第二节点根据指示信息确定该预留传输资源,该预留资源是为目标从节点预留的资源,不可被非目标从节点占用,目标从节点使用该预留资源与第一节点进行信息传输,若第二节点为目标从节点,则第二节点使用该预留资源与第一节点进行信息传输;当传输资源为共享资源时,第二节点根据指示信息确定该共享资 源,在第二节点还有待传输的信息且满足占用条件时,第二节点可以占用该共享传输资源与第一节点进行该信息的传输,其中,待传输的信息可以是控制信息或预设业务的数据。Specifically, when the transmission resource is a reserved resource, the second node determines the reserved transmission resource according to the indication information. The reserved resource is a resource reserved for the target slave node and cannot be occupied by non-target slave nodes. The target slave node Use the reserved resources to transmit information with the first node. If the second node is the target slave node, the second node uses the reserved resources to transmit information with the first node; when the transmission resources are shared resources, the second node The shared resource is determined according to the indication information. When the second node still has information to be transmitted and the occupancy conditions are met, the second node can occupy the shared transmission resource to transmit the information with the first node, where the information to be transmitted can be Control information or data for preset services.

图11所示的通信方法,主节点为从节点配置额外的传输资源,当该额外的传输资源为预留资源时,可以提供该从节点数据传输,减少由于其他从节点的占用而导致传输质量下降。当该额外的传输资源为共享资源时,一方面可以保障有重要信息待传输的从节点的传输质量,另一方面可以减少该从节点为了重要信息的传输而占用其他从节点的传输资源,从而保障整体的通信质量。In the communication method shown in Figure 11, the master node configures additional transmission resources for the slave node. When the additional transmission resources are reserved resources, the slave node can be provided with data transmission, reducing the transmission quality caused by the occupation of other slave nodes. decline. When the additional transmission resources are shared resources, on the one hand, the transmission quality of slave nodes with important information to be transmitted can be guaranteed, and on the other hand, the slave nodes can be reduced from occupying the transmission resources of other slave nodes for the transmission of important information, thus Ensure overall communication quality.

以下结合附图和示例对本申请实施例提供的另一种通信方法进行介绍。Another communication method provided by the embodiment of the present application is introduced below with reference to the drawings and examples.

图12示出了本申请实施例的另一种通信方法的示意图,将单次交互的传输资源在时域上裂变为多次交互的传输资源,增加交互次数。图12所示的方法为图7所示的方法的一种具体的实现方式,具体的,第一节点向第二节点发送的指示信息包括连接间隔参数或子间隔参数,以确定资源R11、R12或资源R21、R22,第二节点根据确定的资源R11、R12、裂变前的收发转换时间或确定的资源R21、R22、裂变前的收发转换时间进行裂变。在图12中,第一节点作为主节点,第二节点作为从节点。Figure 12 shows a schematic diagram of another communication method according to the embodiment of the present application, which splits the transmission resources of a single interaction into transmission resources of multiple interactions in the time domain, increasing the number of interactions. The method shown in Figure 12 is a specific implementation of the method shown in Figure 7. Specifically, the instruction information sent by the first node to the second node includes the connection interval parameter or sub-interval parameter to determine the resources R11 and R12. Or resources R21 and R22, the second node performs fission according to the determined resources R11 and R12 and the transceiver conversion time before fission or the determined resources R21 and R22 and the transceiver conversion time before fission. In Figure 12, the first node serves as the master node and the second node serves as the slave node.

如图12所示,主节点向从节点发送包括连接间隔参数或子间隔参数的第一指示信息用于确定初始的传输资源,该初始的传输资源包括第一方向的初始传输资源、第二方向的初始传输资源,主节点使用第一方向的初始传输资源与从节点进行通信,从节点使用第二方向的初始传输资源与主节点进行通信,第一方向的初始传输资源是指用于主节点向从节点传输数据包的资源,第二方向的初始传输资源为用于从节点向主节点传输数据包的资源。当有新业务到来时,需要进行频繁的控制信息的交互,如果采用初始的传输资源进行交互,则每次第一方向的初始传输资源中只能传输一条第一方向的的控制信息,如果控制信息交互过程比较冗长,则需要多个交互周期才能完成交互,时间跨度长,可能会影响其他业务的传输。As shown in Figure 12, the master node sends the first indication information including the connection interval parameter or sub-interval parameter to the slave node to determine the initial transmission resources. The initial transmission resources include the initial transmission resources in the first direction, the second direction Initial transmission resources. The master node uses the initial transmission resources in the first direction to communicate with the slave node. The slave node uses the initial transmission resources in the second direction to communicate with the master node. The initial transmission resources in the first direction refer to the initial transmission resources for the master node. Resources for transmitting data packets to the slave node. The initial transmission resources in the second direction are resources for transmitting data packets from the slave node to the master node. When new services arrive, frequent control information exchanges are required. If initial transmission resources are used for interaction, only one piece of control information in the first direction can be transmitted in the initial transmission resources in the first direction each time. If the control The information interaction process is lengthy and requires multiple interaction cycles to complete the interaction. The time span is long and may affect the transmission of other services.

因此本申请实施例的传输数据的方法将初始的单次传输资源裂变为多个传输资源对,对于有的重要数据(例如控制信息)其数据量并不大,因此只需较小时间粒度的传输资源,在原来的单次传输资源对应的时间域上即可完成数据的传输。Therefore, the data transmission method in the embodiment of the present application splits the initial single transmission resource into multiple transmission resource pairs. For some important data (such as control information), the data volume is not large, so only a small time granularity is required. Transmission resources can complete data transmission in the time domain corresponding to the original single transmission resource.

具体的,主节点向从节点发送第二指示信息,用于指示将第一方向的初始传输资源、第二方向的初始传输资源和两者之间的收发转换时间裂变为多个传输资源对,如图12所示。指示信息可以包括传输起始时间、时间粒度、传输次数、预设时间间隔、传输结束时间等参数中的一项或多项。可选的,一般来说预设时间间隔由设备等硬件条件确定,而传输起始时间、传输结束时间可以由原传输资源的起始时间、结束时间确定,而时间粒度与传输次数相互影响,因此指示信息可以只包括时间粒度或传输次数。可选的,协议可以预先约定好固定的裂变方式,每个裂变方式对应一个索引,通过索引可以指示不同的裂变方式,不同的裂变方式可以包括不同的时间粒度、传输次数、预设时间间隔等。具体可以参照上述对于图8的描述,本申请实施例在此不再赘述。Specifically, the master node sends second instruction information to the slave node, which is used to instruct the initial transmission resources in the first direction, the initial transmission resources in the second direction, and the transceiver conversion time between the two to be split into multiple transmission resource pairs, As shown in Figure 12. The indication information may include one or more parameters including transmission start time, time granularity, number of transmissions, preset time interval, transmission end time, and other parameters. Optional, generally speaking, the preset time interval is determined by hardware conditions such as equipment, and the transmission start time and transmission end time can be determined by the start time and end time of the original transmission resource, and the time granularity and the number of transmissions affect each other. Therefore, the indication information may only include the time granularity or the number of transmissions. Optionally, the protocol can pre-agree on a fixed fission method. Each fission method corresponds to an index. The index can indicate different fission methods. Different fission methods can include different time granularity, number of transmissions, preset time intervals, etc. . For details, reference may be made to the above description of FIG. 8 , and the embodiments of the present application will not be described again here.

在图12中,第一方向的初始传输资源、第二方向的初始传输资源之间的收发转换时间也可以用于裂变,预设时间间隔用于确定裂变后的第一方向的传输资源和裂变后的第二方向的传输资源之间的收发转换时间,裂变前的收发转换时间与裂变后的收发转换时间可以不同。例如裂变前的收发转换时间为4ms,预设时间间隔为1ms,则裂变后的收发转换 时间为1ms。In Figure 12, the transceiver conversion time between the initial transmission resources in the first direction and the initial transmission resources in the second direction can also be used for fission, and the preset time interval is used to determine the transmission resources in the first direction and the fission after fission. The transceiver conversion time between the transmission resources in the second direction may be different. The transceiver conversion time before fission may be different from the transceiver conversion time after fission. For example, the transceiver conversion time before fission is 4ms, and the preset time interval is 1ms, then the transceiver conversion time after fission is 1ms.

本申请实施例的另一种通信方法在现有的MD字段指示方案上做出改进,不仅使用MD机制指示是否还有数据需要传输,同时指示待传输的数据的类型。表2示出了通信方法的机制。Another communication method in the embodiment of the present application improves on the existing MD field indication scheme, not only using the MD mechanism to indicate whether there is still data that needs to be transmitted, but also indicating the type of data to be transmitted. Table 2 shows the mechanism of the communication method.

表2Table 2

如表2所示,指示信息可以为一个字段,包括2个比特,其中第一个比特指示是否有待传输信息,有为1,没有为0,第二个比特指示待传输信息的类型,其中,为预设的类型为1,不是预设的类型为0,其中可以将控制信息或者某些业务数据作为预设的类型。或者指示信息可以为两个字段,每个字段为1个比特,其中第一字段指示是否有待传输信息,有为1,没有为0,第二字段指示待传输信息的类型,其中,为预设的类型为1,不是预设的类型为0,其中可以将控制信息或者某些业务数据作为预设的类型。特别的,当没有待传输信息时,待传输信息的类型为空,也用0表示。因此,表2中的00表示无待传输信息;10表示有待传输信息,待传输信息的类型不是预设的类型;11表示有待传输信息,待传输信息的类型是预设的类型。因此,当主节点和从节点两方的指示信息均为00时,主节点关闭连接事件,从节点不再继续监听;当主节点和从节点任一方的指示信息为11时,主节点需要继续连接事件,从节点需要继续监听;其他情况下,主节点可能继续连接事件,由主节点决定,例如此时传输资源充裕,即便待传输信息不是预设的类型,主节点也可以与从节点继续信息传输交互,从节点需要继续监听。As shown in Table 2, the indication information can be a field, including 2 bits, where the first bit indicates whether there is information to be transmitted, and is 1 if there is, and 0 if there is not, and the second bit indicates the type of information to be transmitted, where, The preset type is 1, and the non-preset type is 0. Control information or certain business data can be used as the preset type. Or the indication information can be two fields, each field is 1 bit, where the first field indicates whether there is information to be transmitted, 1 if there is, and 0 if there is not, and the second field indicates the type of information to be transmitted, where , is the preset The type is 1, and the type that is not the default is 0. Control information or certain business data can be used as the default type. In particular, when there is no information to be transmitted, the type of information to be transmitted is empty, also represented by 0. Therefore, 00 in Table 2 indicates that there is no information to be transmitted; 10 indicates that there is information to be transmitted, and the type of the information to be transmitted is not a preset type; 11 indicates that there is information to be transmitted, and the type of the information to be transmitted is a preset type. Therefore, when the indication information of both the master node and the slave node is 00, the master node closes the connection event and the slave node no longer continues to listen; when the indication information of either the master node and the slave node is 11, the master node needs to continue the connection event , the slave node needs to continue to listen; in other cases, the master node may continue to connect events, which is decided by the master node. For example, if the transmission resources are sufficient at this time, even if the information to be transmitted is not of the preset type, the master node can continue to transmit information with the slave node. Interaction, the slave node needs to continue listening.

本申请实施例的通信方法,主节点与从节点交互的数据包头中携带指示信息,用于指示将要传输的数据的类型,例如是控制信息还是业务数据。由此在有重要数据传输时,从节点只需指示有待传输信息,且指示待传输信息的类型是否为预设的类型,即可以保证从节点能与主节点进行完整的重要信息传输,从而保证通信质量。In the communication method of the embodiment of the present application, the data packet header exchanged between the master node and the slave node carries indication information, which is used to indicate the type of data to be transmitted, such as control information or service data. Therefore, when there is important data transmission, the slave node only needs to indicate the information to be transmitted, and indicate whether the type of information to be transmitted is a preset type. This can ensure that the slave node can complete the transmission of important information with the master node, thereby ensuring Communication quality.

图13示出了本申请实施例提供的又一种通信方法的示意图,通过广播消息配置相应的资源,从而保护重要的数据传输不被中断。图13中的方法为图11中的方法的一种具体实现方式,在图13中,第一节点作为主节点,第二节点作为从节点。Figure 13 shows a schematic diagram of yet another communication method provided by an embodiment of the present application. Corresponding resources are configured through broadcast messages, thereby protecting important data transmission from being interrupted. The method in Figure 13 is a specific implementation of the method in Figure 11. In Figure 13, the first node serves as the master node and the second node serves as the slave node.

如图13所示,第一方面,主节点可以通过广播消息配置预留资源,该预留资源为不可被占用的资源,该不可被占用的资源用于传输预设类型的数据,包括控制信息或重要的业务数据,该重要的业务数据可以为预设类型的业务的数据。当从节点基于预设时间间隔 确定待发送的普通数据(即非预设类型的数据)的时间资源会与不可被占用的资源冲突时,则该从节点不进行该普通数据的发送;当主节点基于预设时间间隔确定待发送的普通数据的时间资源会与不可被占用的资源冲突时,则该主节点不进行该普通数据的发送。As shown in Figure 13, in the first aspect, the master node can configure reserved resources through broadcast messages. The reserved resources are unoccupied resources. The unoccupied resources are used to transmit preset types of data, including control information. Or important business data, and the important business data may be data of a preset type of business. When the slave node determines based on the preset time interval that the time resources of the ordinary data (that is, non-preset type data) to be sent will conflict with resources that cannot be occupied, the slave node will not send the ordinary data; when the master node When it is determined based on the preset time interval that the time resources of the ordinary data to be sent conflict with resources that cannot be occupied, the master node will not send the ordinary data.

如图13所示,第二方面,主节点可以通过广播消息配置突发(burst)资源,该突发资源为共享资源,允许从节点使用突发资源进行预设类型的数据的传输,该预设类型的数据包括控制信息或重要的业务数据,该重要的业务数据可以为预设类型的业务的数据。As shown in Figure 13, in the second aspect, the master node can configure burst resources through broadcast messages. The burst resources are shared resources and allow the slave nodes to use the burst resources to transmit preset types of data. The data of the preset type includes control information or important business data, and the important business data may be data of a preset type of business.

具体的,对于一个从节点,当主节点为该从节点分配的专用传输资源使用完后,如果该从节点还有待发送的数据(例如控制信息或重要的业务数据),则该从节点可以使用突发资源与主节点进行数据传输。为了减少突发资源被长时间占用,可以通过设定概率来判定从节点是否可以占用突发资源。例如从节点在预设范围内生成一个随机数,例如在0到1之间生成一个随机数,然后将该随机数与系统预设的数值P1进行比较,如果该随机数与P1之间满足一定的关系,例如该随机数小于P1,则该从节点可以占用突发资源,如果该随机数大于或等于P1,则该从节点不可以占用突发资源。或者,从节点每占用一次突发资源,则对计数值加1,当计数值未达到阈值时,从节点可以使用突发资源,当计数值达到阈值时,从节点不可以使用突发资源。Specifically, for a slave node, after the dedicated transmission resources allocated by the master node to the slave node are used up, if the slave node still has data to be sent (such as control information or important business data), the slave node can use burst Send resources to transmit data to the master node. In order to reduce the long-term occupation of burst resources, you can determine whether the slave node can occupy the burst resources by setting a probability. For example, the slave node generates a random number within a preset range, such as a random number between 0 and 1, and then compares the random number with the system's preset value P1. If the random number and P1 meet a certain For example, if the random number is less than P1, the slave node can occupy burst resources. If the random number is greater than or equal to P1, the slave node cannot occupy burst resources. Or, each time the slave node occupies a burst resource, the count value is increased by 1. When the count value does not reach the threshold, the slave node can use the burst resource. When the count value reaches the threshold, the slave node cannot use the burst resource.

如图13所示,突发资源可以是半静态资源,即在某一段时间内具有周期性。因此当从节点被判定为可以占用突发资源时,还可以进一步判定该从节点可以连续占用的次数。例如,协议约定或者主节点配置的允许连续占用的最大次数。以最大次数为5为例,则从节点可以在[1,5]之间生成随机数3,即该从节点可以连续占用突发资源的次数为3次。As shown in Figure 13, burst resources can be semi-static resources, that is, they are periodic within a certain period of time. Therefore, when a slave node is determined to be able to occupy burst resources, the number of times the slave node can be continuously occupied can be further determined. For example, the protocol agreement or the maximum number of consecutive occupations allowed by the master node configuration. Taking the maximum number of times as 5 as an example, the slave node can generate a random number 3 between [1,5], that is, the number of times the slave node can continuously occupy burst resources is 3 times.

本申请以上或以下实施例中的信息可以包括数据信息或控制信息,其可以以数据PDU或控制PDU的方式进行传输,本申请实施例中的数据包例如为PDU,且可以为数据包PDU或控制PDU。The information in the above or following embodiments of the present application may include data information or control information, which may be transmitted in the form of data PDU or control PDU. The data packet in the embodiment of the present application is, for example, a PDU, and may be a data packet PDU or a control PDU. Control PDU.

应理解,本申请实施例中描述的各个实施例可以为独立的方案,也可以根据内在逻辑进行组合,这些方案都落入本申请的保护范围中。It should be understood that the various embodiments described in the embodiments of this application can be independent solutions or can be combined according to internal logic, and these solutions all fall within the protection scope of this application.

以上,结合图6至图13详细说明了本申请实施例提供通信方法。以下,结合图14至图15详细说明本申请实施例提供的通信装置。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,这里不再赘述。Above, the communication method provided by the embodiment of the present application has been described in detail with reference to FIGS. 6 to 13 . Hereinafter, the communication device provided by the embodiment of the present application will be described in detail with reference to FIGS. 14 and 15 . It should be understood that the description of the device embodiments corresponds to the description of the method embodiments. Therefore, for content that is not described in detail, please refer to the above method embodiments. For the sake of brevity, they will not be described again here.

图14是本申请实施例提供的通信装置的示意性框图。该装置1400包括收发单元1410和处理单元1420。收发单元1410可以实现相应的通信功能,处理单元1420用于进行数据处理。收发单元1410还可以称为通信接口或通信单元。Figure 14 is a schematic block diagram of a communication device provided by an embodiment of the present application. The device 1400 includes a transceiver unit 1410 and a processing unit 1420. The transceiver unit 1410 can implement corresponding communication functions, and the processing unit 1420 is used for data processing. The transceiver unit 1410 may also be called a communication interface or communication unit.

可选地,该装置1400还可以包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元1420可以读取存储单元中的指令和/或数据,以使得装置实现前述方法实施例。Optionally, the device 1400 may also include a storage unit, which may be used to store instructions and/or data, and the processing unit 1420 may read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments. .

该装置1400可以用于执行上文方法实施例中第二节点所执行的动作,具体的,收发单元1410用于执行上文方法实施例中第二节点侧的收发相关的操作,处理单元1420用于执行上文方法实施例中第二节点侧的处理相关的操作。The device 1400 can be used to perform the actions performed by the second node in the above method embodiment. Specifically, the transceiver unit 1410 is used to perform transceiver-related operations on the second node side in the above method embodiment. The processing unit 1420 uses Perform operations related to processing on the second node side in the above method embodiment.

该装置1400可实现对应于根据本申请实施例的方法实施例中的第二节点侧执行的步骤或者流程,该装置1400可以包括用于执行图7、图10和图11中的第二节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图7、 图10和图11中的第二节点侧中的方法实施例的相应流程。The device 1400 can implement steps or processes corresponding to the second node side execution in the method embodiments according to the embodiments of the present application. The device 1400 can include a method for executing the second node side in Figures 7, 10 and 11. The unit of execution of the method. Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiments on the second node side in FIG. 7, FIG. 10, and FIG. 11.

其中,当该装置1400用于执行图7中的方法700时,收发单元1410可用于执行方法700中的步骤701和步骤702;处理单元1420可用于执行方法700中的处理步骤,如步骤703。When the device 1400 is used to execute the method 700 in Figure 7, the transceiver unit 1410 can be used to execute step 701 and step 702 in the method 700; the processing unit 1420 can be used to execute the processing steps in the method 700, such as step 703.

具体的,收发单元1410,用于接收第一节点发送的第一指示信息,第一指示信息用于确定第一传输资源;收发单元1410还用于接收第一节点发送的第二指示信息,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源;处理单元1420,用于通过收发单元1410在根据第二指示信息得到的多个第二传输资源中的至少一个第二传输资源上与第一节点进行通信。Specifically, the transceiver unit 1410 is configured to receive the first indication information sent by the first node, and the first indication information is used to determine the first transmission resource; the transceiver unit 1410 is also configured to receive the second indication information sent by the first node, and the first indication information is used to determine the first transmission resource. The two indication information is used to determine a plurality of second transmission resources, the plurality of second transmission resources are included in the first transmission resource, and each second transmission resource includes a transmission resource in the first direction and a transmission resource in the second direction; the processing unit 1420 , used to communicate with the first node through the transceiver unit 1410 on at least one second transmission resource among the plurality of second transmission resources obtained according to the second indication information.

一种可能的实现方式,第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。In a possible implementation, the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time.

一种可能的实现方式,第二指示信息用于确定多个第二传输资源,包括:根据第二指示信息和多个第二传输资源在第一传输资源内的多个预设图案确定多个第二传输资源,图案为预定义的。In a possible implementation, the second indication information is used to determine multiple second transmission resources, including: determining multiple second transmission resources according to the second indication information and multiple preset patterns of the multiple second transmission resources within the first transmission resource. The second transmission resource, the pattern is predefined.

一种可能的实现方式,第一传输资源为一个连接事件或连接子事件中的传输资源。In one possible implementation manner, the first transmission resource is a transmission resource in a connection event or a connection sub-event.

一种可能的实现方式,第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。In a possible implementation manner, the first transmission resource includes transmission resources in the first direction, transmission resources in the second direction, or transmission resources in the first direction and transmission resources in the second direction.

该装置1400可以包括用于执行图10中的第二节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图10中的第二节点侧中的方法实施例的相应流程。The apparatus 1400 may include a unit for performing the method performed on the second node side in FIG. 10 . Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiment on the second node side in Figure 10 .

其中,当该装置1400用于执行图10中的方法1000时,收发单元1410可用于执行方法1000中的步骤1001,处理单元1420可以用于执行方法1000中的步骤1002。When the device 1400 is used to execute the method 1000 in Figure 10, the transceiver unit 1410 can be used to execute step 1001 in the method 1000, and the processing unit 1420 can be used to execute step 1002 in the method 1000.

具体的,收发单元1410,用于接收第一节点发送的第一数据包;处理单元1420用于基于第一数据包的接收,通过收发单元1420向第一节点发送第二数据包,第二数据包包括指示信息,指示信息用于指示第二节点是否具有待传输信息和待传输信息的类型。Specifically, the transceiver unit 1410 is configured to receive the first data packet sent by the first node; the processing unit 1420 is configured to send the second data packet to the first node through the transceiver unit 1420 based on the reception of the first data packet. The packet includes indication information, and the indication information is used to indicate whether the second node has information to be transmitted and the type of information to be transmitted.

一种可能的实现方式,待传输信息的类型为控制信息或数据信息。In one possible implementation, the type of information to be transmitted is control information or data information.

一种可能的实现方式,指示信息指示具有待传输信息,收发单元1410还用于:接收第一节点发送的第三数据包,第一数据包、第二数据包和第三数据包在一个连接事件内;处理单元1420还用于,基于第三数据包的接收,通过收发单元向第一节点发送待传输信息。In one possible implementation, the indication information indicates that there is information to be transmitted, and the transceiver unit 1410 is further configured to: receive the third data packet sent by the first node, and the first data packet, the second data packet and the third data packet are connected in one connection. Within the event; the processing unit 1420 is also configured to, based on the reception of the third data packet, send the information to be transmitted to the first node through the transceiver unit.

一种可能的实现方式,指示信息包括第一字段和第二字段,第一字段用于指示是否具有待传输信息,第二字段用于指示待传输信息的类型,或,指示信息包括一个字段。装置1400还可以包括用于执行图11中的第二节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图11中的第二节点侧中的方法实施例的相应流程。In a possible implementation, the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate the type of information to be transmitted, or the indication information includes one field. The apparatus 1400 may further include a unit for performing the method performed on the second node side in FIG. 11 . Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiment on the second node side in Figure 11.

其中,当该装置1400用于执行图11中的方法1100时,收发单元1410可用于执行方法1100中的步骤1101;处理单元1420可用于执行方法1100中的步骤1102。Wherein, when the device 1400 is used to execute the method 1100 in Figure 11, the transceiver unit 1410 can be used to execute step 1101 in the method 1100; the processing unit 1420 can be used to execute step 1102 in the method 1100.

具体的,收发单元1410,用于接收指示信息,指示信息用于指示传输资源,传输资 源为预留资源或共享资源;处理单元1420,用于根据指示信息确定传输资源。Specifically, the transceiver unit 1410 is used to receive indication information, and the indication information is used to indicate transmission resources, and the transmission resources are reserved resources or shared resources; the processing unit 1420 is used to determine transmission resources according to the indication information.

一种可能的实现方式,第二节点为目标节点,传输资源为预留资源,第一节点与第二节点在预留资源上通信。In one possible implementation manner, the second node is the target node, the transmission resources are reserved resources, and the first node and the second node communicate on the reserved resources.

一种可能的实现方式,指示信息还包括预设数值,该方法还包括:传输资源为共享资源,第二节点生成第一随机数;当第一随机数与预设数值满足第一关系时,第二节点与第二节点在共享资源上通信。In a possible implementation, the indication information also includes a preset value, and the method further includes: the transmission resource is a shared resource, and the second node generates a first random number; when the first random number and the preset value satisfy the first relationship, The second node communicates with the second node on the shared resource.

一种可能的实现方式,传输资源为共享资源,指示信息还包括预设的传输资源被连续占用的最多次数N,N为大于0的整数;第二节点连续N次在共享资源上与第一节点通信。In one possible implementation, the transmission resource is a shared resource, and the indication information also includes a preset maximum number of times N that the transmission resource is continuously occupied, where N is an integer greater than 0; the second node communicates with the first node on the shared resource N times consecutively. Node communication.

该装置1400可以用于执行上文方法实施例中第一节点所执行的动作,具体的,收发单元1410用于执行上文方法实施例中第一节点侧的收发相关的操作,处理单元1420用于执行上文方法实施例中第一节点侧的处理相关的操作。The device 1400 can be used to perform the actions performed by the first node in the above method embodiment. Specifically, the transceiver unit 1410 is used to perform transceiver-related operations on the first node side in the above method embodiment. The processing unit 1420 uses Perform operations related to processing on the first node side in the above method embodiment.

该装置1400可实现对应于根据本申请实施例的方法实施例中的第一节点侧执行的步骤或者流程,该装置1400可以包括用于执行图7、图10和图11中的第一节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图7、图10和图11中的第一节点侧中的方法实施例的相应流程。The device 1400 can implement steps or processes corresponding to the first node side execution in the method embodiments according to the embodiments of the present application. The device 1400 can include steps for executing the first node side in Figures 7, 10 and 11. The unit of execution of the method. Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiments on the first node side in FIG. 7, FIG. 10, and FIG. 11.

该装置1400可以包括用于执行图7中的第一节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图7中的第一节点侧中的方法实施例的相应流程。The apparatus 1400 may include a unit for performing the method performed on the first node side in FIG. 7 . Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiment on the first node side in Figure 7 .

具体的,处理单元1410用于通过收发单元1410向第二节点发送第一指示信息,第一指示信息用于确定第一传输资源;处理单元1410还用于通过收发单元1410向第二节点发送第二指示信息,第二指示信息用于确定多个第二传输资源,多个第二传输资源包含于第一传输资源,每个第二传输资源包括第一方向的传输资源和第二方向的传输资源;处理单元1420还用于通过收发单元1410在至少一个第二传输资源与第二节点进行通信。Specifically, the processing unit 1410 is configured to send the first indication information to the second node through the transceiver unit 1410, and the first indication information is used to determine the first transmission resource; the processing unit 1410 is also configured to send the first indication information to the second node through the transceiver unit 1410. Two indication information. The second indication information is used to determine a plurality of second transmission resources. The plurality of second transmission resources are included in the first transmission resource. Each second transmission resource includes transmission resources in the first direction and transmission in the second direction. Resource; the processing unit 1420 is also configured to communicate with the second node on at least one second transmission resource through the transceiver unit 1410.

一种可能的实现方式,第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。In a possible implementation, the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time.

一种可能的实现方式,第二指示信息用于确定多个第二传输资源,包括:根据第二指示信息和多个第二传输资源在第一传输资源内的多个预设图案确定多个第二传输资源,图案为预定义的。In a possible implementation, the second indication information is used to determine multiple second transmission resources, including: determining multiple second transmission resources according to the second indication information and multiple preset patterns of the multiple second transmission resources within the first transmission resource. The second transmission resource, the pattern is predefined.

一种可能的实现方式,第一传输资源为一个连接事件或连接子事件中的传输资源。In one possible implementation manner, the first transmission resource is a transmission resource in a connection event or a connection sub-event.

一种可能的实现方式,第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。In a possible implementation manner, the first transmission resource includes transmission resources in the first direction, transmission resources in the second direction, or transmission resources in the first direction and transmission resources in the second direction.

该装置1400可以包括用于执行图10中的第一节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图10中的第一节点侧中的方法实施例的相应流程。The apparatus 1400 may include a unit for performing the method performed on the first node side in FIG. 10 . Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiment on the first node side in Figure 10 .

其中,处理单元1420,用于通过收发单元1410向第二节点发送第一数据包;收发单元1410还用于接收第二节点发送的第二数据包,第二数据包包括指示信息,第一指示信息用于指示是否具有待传输信息和待传输信息的类型。Among them, the processing unit 1420 is used to send the first data packet to the second node through the transceiver unit 1410; the transceiver unit 1410 is also used to receive the second data packet sent by the second node, the second data packet includes indication information, and the first indication The information is used to indicate whether there is information to be transmitted and the type of information to be transmitted.

一种可能的实现方式,待传输信息的类型为控制信息或数据信息。In one possible implementation, the type of information to be transmitted is control information or data information.

一种可能的实现方式,指示信息指示具有待传输信息,处理单元1420还用于:通过 收发单元1410向第二节点发送第三数据包,第一数据包、第二数据包和第三数据包位于一个连接事件内;通过收发单元1410接收第二节点发送的待传输信息。In one possible implementation, the indication information indicates that there is information to be transmitted, and the processing unit 1420 is further configured to: send the third data packet, the first data packet, the second data packet, and the third data packet to the second node through the transceiver unit 1410. Located within a connection event; receiving information to be transmitted sent by the second node through the transceiver unit 1410.

一种可能的实现方式,指示信息包括第一字段和第二字段,第一字段用于指示是否具有待传输信息,第二字段用于指示待传输信息的类型,或,指示信息包括一个字段。In a possible implementation, the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field is used to indicate the type of information to be transmitted, or the indication information includes one field.

该装置1400可以包括用于执行图11中的第一节点侧执行的方法的单元。并且,该装置1400中的各单元和上述其他操作和/或功能分别为了实现图11中的第一节点侧中的方法实施例的相应流程。The apparatus 1400 may include a unit for performing the method performed on the first node side in FIG. 11 . Moreover, each unit in the device 1400 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding processes of the method embodiment on the first node side in Figure 11.

具体的,收发单元1410用于向第二节点发送指示信息,指示信息用于指示传输资源,传输资源为预留资源或共享资源。处理单元1420用于通过收发单元1410与第二节点在预留资源或共享资源上进行通信。Specifically, the transceiver unit 1410 is configured to send indication information to the second node. The indication information is used to indicate transmission resources, and the transmission resources are reserved resources or shared resources. The processing unit 1420 is configured to communicate with the second node on reserved resources or shared resources through the transceiver unit 1410.

一种可能的实现方式,指示信息指示传输资源为目标节点的预留资源,处理单元1420用于通过收发单元1410与第二节点在该预留传输资源上通信。In one possible implementation, the indication information indicates that the transmission resources are reserved resources of the target node, and the processing unit 1420 is configured to communicate with the second node on the reserved transmission resources through the transceiver unit 1410.

一种可能的实现方式,指示信息还包括预设数值。In a possible implementation, the indication information also includes a preset value.

一种可能的实现方式,指示信息还包括预设的传输资源被连续占用的最多次数N,N为大于0的整数。In a possible implementation manner, the indication information also includes a preset maximum number of times that the transmission resource is continuously occupied N, where N is an integer greater than 0.

应理解,上述收发单元可以集成设计,即同时包括接收和发送功能,也可以分离设计,即由具有接收功能的接收单元和具有发送功能的发送单元代替。It should be understood that the above-mentioned transceiver unit can be designed in an integrated manner, that is, it includes both receiving and transmitting functions, or it can be designed separately, that is, it can be replaced by a receiving unit with a receiving function and a transmitting unit with a transmitting function.

应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。It should be understood that the specific process of each unit performing the above corresponding steps has been described in detail in the above method embodiments, and will not be described again for the sake of brevity.

图14中的处理单元可以由至少一个处理器或处理器相关电路实现。收发单元可以由收发器或收发器相关电路实现。存储单元可以通过至少一个存储器实现。The processing unit in Figure 14 may be implemented by at least one processor or processor-related circuitry. The transceiver unit can be implemented by a transceiver or a transceiver-related circuit. The storage unit may be implemented by at least one memory.

如图15所示,本申请实施例还提供一种通信装置1500。该装置1500包括收发器1510,还可以包括处理器1520与存储器1530耦合。收发器1530用于信号的接收和/或发送。例如,处理器1520用于控制收发器1510进行信号的接收和/或发送。存储器1530用于存储计算机程序或指令和/或数据,处理器1520用于执行存储器1530存储的计算机程序或指令和/或数据,使得上文方法实施例中的方法被执行。具体地,所述处理器1520可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。所述处理器1520还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。As shown in Figure 15, an embodiment of the present application also provides a communication device 1500. The apparatus 1500 includes a transceiver 1510 and may also include a processor 1520 coupled to a memory 1530 . Transceiver 1530 is used for reception and/or transmission of signals. For example, the processor 1520 is used to control the transceiver 1510 to receive and/or transmit signals. The memory 1530 is used to store computer programs or instructions and/or data, and the processor 1520 is used to execute the computer programs or instructions and/or data stored in the memory 1530, so that the methods in the above method embodiments are executed. Specifically, the processor 1520 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP. The processor 1520 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL) or any combination thereof.

可选地,该装置1500包括的处理器1520为一个或多个。Optionally, the device 1500 includes one or more processors 1520 .

可选地,如图15所示,该装置1500还可以包括存储器1530。Optionally, as shown in Figure 15, the device 1500 may also include a memory 1530.

可选地,该装置1500包括的存储器1530可以为一个或多个。Optionally, the device 1500 may include one or more memories 1530 .

可选地,该存储器1530可以与该处理器1520集成在一起,或者分离设置。Optionally, the memory 1530 can be integrated with the processor 1520 or provided separately.

作为一种方案,该装置1500用于实现上文方法实施例中由第二节点执行的操作。As a solution, the device 1500 is used to implement the operations performed by the second node in the above method embodiment.

作为一种方案,该装置1500用于实现上文方法实施例中由第一节点执行的操作。本申请实施例还提供一种通信装置,该装置包括:存储器,用于存储程序;处理器,用于执 行存储器存储的程序,当存储器存储的程序被执行时,处理器用于执行上述方法实施例中由第一节点或第二节点执行的方法。As a solution, the device 1500 is used to implement the operations performed by the first node in the above method embodiment. Embodiments of the present application also provide a communication device. The device includes: a memory for storing programs; a processor for executing the program stored in the memory. When the program stored in the memory is executed, the processor is configured to execute the above method embodiments. Method executed by the first node or the second node.

本申请实施例还提供一种计算机可读存储介质,包括:计算机可读介质存储有计算机程序;计算机程序由一个或多个处理器执行时,使得包括处理器的装置执行上述方法实施例中由第一节点或第二节点执行的方法。Embodiments of the present application also provide a computer-readable storage medium, which includes: the computer-readable medium stores a computer program; when the computer program is executed by one or more processors, it causes a device including the processor to execute the method described in the above embodiment. The method executed by the first node or the second node.

本申请实施例还提供一种芯片,该芯片包括处理器与数据接口,处理器通过数据接口读取存储器上存储的指令,以执行上述方法实施例中由第一节点或第二节点执行的方法。An embodiment of the present application also provides a chip. The chip includes a processor and a data interface. The processor reads instructions stored in the memory through the data interface to execute the method executed by the first node or the second node in the above method embodiment. .

本申请实施例还提供一种终端,该终端包括上述图14和图15中的任一种装置,该终端可以为车辆,包括具有智能驾驶和辅助驾驶技术的车辆。An embodiment of the present application also provides a terminal, which includes any of the devices in FIG. 14 and FIG. 15 . The terminal may be a vehicle, including a vehicle with intelligent driving and assisted driving technologies.

在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component", "module", "system", etc. used in this specification are used to refer to computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process, a processor, an object, an executable file, a thread of execution, a program and/or a computer running on a processor. Through the illustrations, both applications running on the computing device and the computing device may be components. One or more components can reside in a process and/or thread of execution and a component can be localized on one computer and/or distributed between 2 or more computers. Additionally, these components can execute from various computer-readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more data packets (eg, data from two components interacting with another component, a local system, a distributed system, and/or a network, such as the Internet, which interacts with other systems via signals) Communicate through local and/or remote processes.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence or in part that contribute to the technical solutions. The computer software products are stored in a storage medium and include several The instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (39)

一种通信方法,其特征在于,包括:A communication method, characterized by including: 从第一节点接收第一指示信息,所述第一指示信息用于确定第一传输资源;Receive first indication information from the first node, the first indication information being used to determine the first transmission resource; 从第一节点接收第二指示信息,所述第二指示信息用于确定多个第二传输资源,所述多个第二传输资源包含于所述第一传输资源,每个所述第二传输资源包括第一方向的传输资源和第二方向的传输资源;Receive second indication information from the first node, the second indication information is used to determine a plurality of second transmission resources, the plurality of second transmission resources are included in the first transmission resource, each of the second transmission resources The resources include transmission resources in the first direction and transmission resources in the second direction; 通过所述至少一个第二传输资源与所述第一节点进行通信。Communicating with the first node via the at least one second transmission resource. 如权利要求1所述的方法,其特征在于,所述第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。The method of claim 1, wherein the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time. 如权利要求1或2所述的方法,其特征在于,所述第二指示信息用于激活所述多个第二传输资源;The method according to claim 1 or 2, characterized in that the second indication information is used to activate the plurality of second transmission resources; 根据所述第二指示信息和所述多个第二传输资源在所述第一传输资源内的图案确定所述多个第二传输资源,所述图案为预定义的。The plurality of second transmission resources are determined according to the second indication information and a pattern of the plurality of second transmission resources within the first transmission resource, where the pattern is predefined. 如权利要求1至3中任一项所述的方法,其特征在于,所述第一传输资源为一个连接事件或一个连接子事件中的传输资源。The method according to any one of claims 1 to 3, characterized in that the first transmission resource is a transmission resource in a connection event or a connection sub-event. 如权利要求1至4中任一项所述的方法,其特征在于,所述第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。The method according to any one of claims 1 to 4, characterized in that the first transmission resource includes a transmission resource in a first direction, a transmission resource in a second direction, or a transmission resource in the first direction and a second direction. Two-way transmission resources. 一种通信方法,由第二节点执行,其特征在于,包括:A communication method, executed by the second node, is characterized by including: 接收第一节点发送的第一数据包;Receive the first data packet sent by the first node; 基于所述第一数据包的接收,向所述第一节点发送第二数据包,所述第二数据包包括指示信息,所述指示信息用于指示所述第二节点是否具有待传输信息和所述待传输信息的类型。Based on the reception of the first data packet, a second data packet is sent to the first node, the second data packet includes indication information, the indication information is used to indicate whether the second node has information to be transmitted and The type of information to be transmitted. 如权利要求6所述的方法,其特征在于,所述待传输信息的类型为控制信息或数据信息。The method of claim 6, wherein the type of information to be transmitted is control information or data information. 如权利要求6或7所述的方法,其特征在于,所述指示信息指示具有待传输信息,所述方法还包括:The method of claim 6 or 7, wherein the indication information indicates that there is information to be transmitted, and the method further includes: 接收所述第一节点发送的第三数据包,所述第一数据包、所述第二数据包和所述第三数据包位于一个连接事件内;Receive a third data packet sent by the first node, where the first data packet, the second data packet and the third data packet are located within a connection event; 基于所述第三数据包的接收,向所述第一节点发送所述待传输信息。Based on the reception of the third data packet, the information to be transmitted is sent to the first node. 如权利要求6至8中任一项所述的方法,其特征在于,所述指示信息包括第一字段和第二字段,所述第一字段用于指示是否具有待传输信息,所述第二字段用于指示所述待传输信息的类型,或,The method according to any one of claims 6 to 8, characterized in that the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field The field is used to indicate the type of information to be transmitted, or, 所述指示信息包括一个字段。The indication information includes one field. 一种通信方法,由第一节点执行,其特征在于,包括:A communication method, executed by the first node, is characterized by including: 向第二节点发送第一指示信息,所述第一指示信息用于确定第一传输资源;Send first indication information to the second node, where the first indication information is used to determine the first transmission resource; 向所述第二节点发送第二指示信息,所述第二指示信息用于确定多个第二传输资源,所述多个第二传输资源包含于所述第一传输资源,每个所述第二传输资源包括第一方向的传输资源和第二方向的传输资源;Send second indication information to the second node, the second indication information is used to determine a plurality of second transmission resources, the plurality of second transmission resources are included in the first transmission resource, each of the first transmission resources The second transmission resource includes transmission resources in the first direction and transmission resources in the second direction; 通过所述至少一个第二传输资源与所述第二节点进行通信。Communicating with the second node via the at least one second transmission resource. 如权利要求10所述的方法,其特征在于,所述第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。The method of claim 10, wherein the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time. 如权利要求10或11所述的方法,其特征在于,所述第二指示信息用于激活所述多个第二传输资源;The method according to claim 10 or 11, characterized in that the second indication information is used to activate the plurality of second transmission resources; 根据所述第二指示信息和所述多个第二传输资源在所述第一传输资源内的图案确定所述多个第二传输资源,所述图案为预定义的。The plurality of second transmission resources are determined according to the second indication information and a pattern of the plurality of second transmission resources within the first transmission resource, where the pattern is predefined. 如权利要求10至12中任一项所述的方法,其特征在于,所述第一传输资源为一个连接事件或连接子事件中的传输资源。The method according to any one of claims 10 to 12, characterized in that the first transmission resource is a transmission resource in a connection event or a connection sub-event. 如权利要求10至13中任一项所述的方法,其特征在于,所述第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。The method according to any one of claims 10 to 13, characterized in that the first transmission resource includes a transmission resource in a first direction, a transmission resource in a second direction, or a transmission resource in the first direction and a second direction. Two-way transmission resources. 一种通信方法,由第一节点执行,其特征在于,包括:A communication method, executed by the first node, is characterized by including: 向第二节点发送第一数据包;Send the first data packet to the second node; 接收所述第二节点发送的第二数据包,所述第二数据包包括指示信息,所述指示信息用于指示所述第二节点是否具有待传输信息和所述待传输信息的类型。Receive a second data packet sent by the second node, where the second data packet includes indication information, and the indication information is used to indicate whether the second node has information to be transmitted and the type of the information to be transmitted. 如权利要求15所述的方法,其特征在于,所述待传输信息的类型为控制信息或数据信息。The method of claim 15, wherein the type of information to be transmitted is control information or data information. 如权利要求15或16所述的方法,其特征在于,所述指示信息指示具有待传输信息,所述方法还包括:The method of claim 15 or 16, wherein the indication information indicates that there is information to be transmitted, and the method further includes: 向所述第二节点发送第三数据包,所述第一数据包、所述第二数据包和所述第三数据包位于一个连接事件内;Send a third data packet to the second node, where the first data packet, the second data packet and the third data packet are located within a connection event; 接收所述第二节点发送的所述待传输信息。Receive the information to be transmitted sent by the second node. 如权利要求15至17中任一项所述的方法,其特征在于,所述指示信息包括第一字段和第二字段,所述第一字段用于指示是否具有待传输信息,所述第二字段用于指示所述待传输信息的类型,或,The method according to any one of claims 15 to 17, characterized in that the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field The field is used to indicate the type of information to be transmitted, or, 所述指示信息包括一个字段。The indication information includes one field. 一种通信装置,其特征在于,包括:收发单元和处理单元,其中A communication device, characterized by comprising: a transceiver unit and a processing unit, wherein 所述收发单元,用于从第一节点接收第一指示信息,所述第一指示信息用于确定第一传输资源;The transceiver unit is configured to receive first indication information from the first node, and the first indication information is used to determine the first transmission resource; 所述收发单元还用于从第一节点接收第二指示信息,所述第二指示信息用于确定多个第二传输资源,所述多个第二传输资源包含于所述第一传输资源,每个所述第二传输资源包括第一方向的传输资源和第二方向的传输资源;The transceiver unit is further configured to receive second indication information from the first node, the second indication information is used to determine a plurality of second transmission resources, and the plurality of second transmission resources are included in the first transmission resource, Each of the second transmission resources includes transmission resources in the first direction and transmission resources in the second direction; 所述处理单元,用于通过所述收发单元,在根据所述第二指示信息得到的多个第二传输资源中的所述至少一个第二传输资源上与所述第一节点进行通信。The processing unit is configured to communicate with the first node on the at least one second transmission resource among the plurality of second transmission resources obtained according to the second indication information through the transceiver unit. 如权利要求19所述的装置,其特征在于,所述第二指示信息包括传输起始时间、 时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。The device of claim 19, wherein the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time. 如权利要求19或20所述的装置,其特征在于,所述第二指示信息用于确定所述多个第二传输资源,所述处理单元还用于:The device according to claim 19 or 20, wherein the second indication information is used to determine the plurality of second transmission resources, and the processing unit is further used to: 根据所述第二指示信息和所述多个第二传输资源在所述第一传输资源内的多个预设图案确定所述多个第二传输资源,所述图案为预定义的。The plurality of second transmission resources are determined according to the second indication information and a plurality of preset patterns of the plurality of second transmission resources within the first transmission resource, and the patterns are predefined. 如权利要求19至21中任一项所述的装置,其特征在于,所述第一传输资源为一个连接事件或连接子事件中的传输资源。The apparatus according to any one of claims 19 to 21, wherein the first transmission resource is a transmission resource in a connection event or a connection sub-event. 如权利要求19至22中任一项所述的装置,其特征在于,所述第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。The device according to any one of claims 19 to 22, wherein the first transmission resource includes a transmission resource in a first direction, a transmission resource in a second direction, or a transmission resource in the first direction and a second direction. Two-way transmission resources. 一种通信装置,设置在第二节点侧,其特征在于,包括:收发单元和处理单元,收发单元,用于接收第一节点发送的第一数据包;A communication device, arranged on the second node side, characterized in that it includes: a transceiver unit and a processing unit, the transceiver unit being used to receive the first data packet sent by the first node; 所述处理单元,用于基于所述第一数据包的接收,通过所述收发单元向所述第一节点发送第二数据包,所述第二数据包包括指示信息,所述指示信息用于指示所述第二节点是否具有待传输信息和所述待传输信息的类型。The processing unit is configured to send a second data packet to the first node through the transceiver unit based on the reception of the first data packet. The second data packet includes indication information, and the indication information is used to Indicates whether the second node has information to be transmitted and the type of the information to be transmitted. 如权利要求24所述的装置,其特征在于,所述待传输信息的类型为控制信息或数据信息。The device of claim 24, wherein the type of information to be transmitted is control information or data information. 如权利要求24或25所述的装置,其特征在于,所述指示信息指示具有待传输信息,所述收发单元还用于:The device according to claim 24 or 25, characterized in that the indication information indicates that there is information to be transmitted, and the transceiver unit is also used to: 接收所述第一节点发送的第三数据包,所述第一数据包、所述第二数据包和所述第三数据包位于一个连接事件内;Receive a third data packet sent by the first node, where the first data packet, the second data packet and the third data packet are located within a connection event; 所述处理单元还用于,基于所述第三数据包的接收,通过所述收发单元向所述第一节点发送所述待传输信息。The processing unit is further configured to, based on the reception of the third data packet, send the information to be transmitted to the first node through the transceiver unit. 如权利要求24至26中任一项所述的装置,其特征在于,所述第三指示信息包括第一字段和第二字段,所述第一字段用于指示是否具有待传输信息,所述第二字段用于指示所述待传输信息的类型,或,The device according to any one of claims 24 to 26, wherein the third indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the The second field is used to indicate the type of information to be transmitted, or, 所述指示信息包括一个字段。The indication information includes one field. 一种通信装置,位于第一节点侧,其特征在于,包括:收发单元和处理单元;A communication device, located on the first node side, characterized in that it includes: a transceiver unit and a processing unit; 所述处理单元,用于通过所述收发单元向第二节点发送第一指示信息,所述第一指示信息用于确定第一传输资源;The processing unit is configured to send first indication information to the second node through the transceiver unit, where the first indication information is used to determine the first transmission resource; 所述处理单元,还用于通过所述收发单元向所述第二节点发送第二指示信息,所述第二指示信息用于确定多个第二传输资源,所述多个第二传输资源包含于所述第一传输资源,每个所述第二传输资源包括第一方向的传输资源和第二方向的传输资源;The processing unit is further configured to send second indication information to the second node through the transceiver unit, where the second indication information is used to determine a plurality of second transmission resources, where the plurality of second transmission resources include For the first transmission resources, each of the second transmission resources includes transmission resources in the first direction and transmission resources in the second direction; 所述处理单元,还用于通过所述收发单元在所述至少一个第二传输资源与所述第二节点进行通信。The processing unit is also configured to communicate with the second node on the at least one second transmission resource through the transceiver unit. 如权利要求28所述的装置,其特征在于,所述第二指示信息包括传输起始时间、时间粒度、预设时间间隔、传输次数、传输结束时间中的一个或多个。The device of claim 28, wherein the second indication information includes one or more of transmission start time, time granularity, preset time interval, number of transmissions, and transmission end time. 如权利要求28或29所述的装置,其特征在于,所述第二指示信息用于确定所述多个第二传输资源,所述处理单元还用于:The device of claim 28 or 29, wherein the second indication information is used to determine the plurality of second transmission resources, and the processing unit is further used to: 根据所述第二指示信息和所述多个第二传输资源在所述第一传输资源内的多个预设图案确定所述多个第二传输资源,所述图案为预定义的。The plurality of second transmission resources are determined according to the second indication information and a plurality of preset patterns of the plurality of second transmission resources within the first transmission resource, and the patterns are predefined. 如权利要求29至30中任一项所述的装置,其特征在于,所述第一传输资源为一个连接事件或连接子事件中的传输资源。The apparatus according to any one of claims 29 to 30, wherein the first transmission resource is a transmission resource in a connection event or a connection sub-event. 如权利要求29至31中任一项所述的装置,其特征在于,所述第一传输资源包括第一方向的传输资源,或第二方向的传输资源,或第一方向的传输资源和第二方向的传输资源。The device according to any one of claims 29 to 31, wherein the first transmission resource includes a transmission resource in a first direction, a transmission resource in a second direction, or a transmission resource in the first direction and a second direction. Two-way transmission resources. 一种通信装置,位于第一节点侧,其特征在于,包括:处理单元和收发单元,A communication device, located on the first node side, characterized in that it includes: a processing unit and a transceiver unit, 所述处理单元,用于通过所述收发单元向第二节点发送第一数据包;The processing unit is configured to send the first data packet to the second node through the transceiver unit; 所述收发单元还用于接收所述第二节点发送的第二数据包,所述第二数据包包括指示信息,所述指示信息用于指示所述第二节点是否具有待传输信息和所述待传输信息的类型。The transceiver unit is also configured to receive a second data packet sent by the second node. The second data packet includes indication information, and the indication information is used to indicate whether the second node has information to be transmitted and the The type of information to be transferred. 如权利要求33所述的装置,其特征在于,所述待传输信息的类型为控制信息或数据信息。The device of claim 33, wherein the type of information to be transmitted is control information or data information. 如权利要求33或34所述的装置,其特征在于,所述第三指示信息指示具有待传输信息,所述处理单元还用于:The device of claim 33 or 34, wherein the third indication information indicates that there is information to be transmitted, and the processing unit is further configured to: 通过所述收发单元向所述第二节点发送第三数据包,所述第一数据包、所述第二数据包和所述第三数据包位于一个连接事件内;Send a third data packet to the second node through the transceiver unit, where the first data packet, the second data packet and the third data packet are located within a connection event; 所述收发单元还用于接收所述第二节点发送的所述待传输信息。The transceiver unit is also configured to receive the information to be transmitted sent by the second node. 如权利要求33至35中任一项所述的装置,其特征在于,所述指示信息包括第一字段和第二字段,所述第一字段用于指示是否具有待传输信息,所述第二字段用于指示所述待传输信息的类型,或,The device according to any one of claims 33 to 35, wherein the indication information includes a first field and a second field, the first field is used to indicate whether there is information to be transmitted, and the second field The field is used to indicate the type of information to be transmitted, or, 所述指示信息包括一个字段。The indication information includes one field. 一种计算机可读存储介质,其特征在于,包括:所述计算机可读介质存储有计算机程序;所述计算机程序由一个或多个处理器执行时,使得包括所述处理器的装置执行如权利要求1至5、6至9、10至14或15至18中任一项所述的方法。A computer-readable storage medium, characterized in that it includes: the computer-readable medium stores a computer program; when the computer program is executed by one or more processors, it causes a device including the processor to execute the following steps: The method according to any one of claims 1 to 5, 6 to 9, 10 to 14 or 15 to 18. 一种芯片,其特征在于,所述芯片包括处理器与通信接口,所述处理器通过所述通信接口读取指令,以执行如权利要求1至5、6至9、10至14或15至18中任一项所述的方法。A chip, characterized in that the chip includes a processor and a communication interface, and the processor reads instructions through the communication interface to execute claims 1 to 5, 6 to 9, 10 to 14 or 15 to The method described in any one of 18. 一种终端,所述终端包括如权利要求19至23、24至27、28至32或33至36中任一项所述的通信装置。A terminal including the communication device according to any one of claims 19 to 23, 24 to 27, 28 to 32, or 33 to 36.
CN202180100071.7A 2021-07-09 2021-07-09 Communication methods and devices Pending CN117597968A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/105430 WO2023279359A1 (en) 2021-07-09 2021-07-09 Communication method and apparatus

Publications (1)

Publication Number Publication Date
CN117597968A true CN117597968A (en) 2024-02-23

Family

ID=84800191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202180100071.7A Pending CN117597968A (en) 2021-07-09 2021-07-09 Communication methods and devices

Country Status (2)

Country Link
CN (1) CN117597968A (en)
WO (1) WO2023279359A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117241367A (en) * 2023-09-21 2023-12-15 深圳市汇顶科技股份有限公司 A synchronization method, device and system for data communication
CN117241345A (en) * 2023-09-21 2023-12-15 深圳市汇顶科技股份有限公司 A data communication monitoring method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095364B (en) * 2011-11-01 2016-01-27 华为技术有限公司 Data transferring method and device
JP6665298B2 (en) * 2016-02-05 2020-03-13 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for service transmission, mobile station and network device
CN111132329B (en) * 2018-11-02 2022-09-16 维沃移动通信有限公司 A resource indication method, device and system
CN111224740B (en) * 2018-11-23 2022-03-29 华为技术有限公司 Control information sending and receiving method and terminal equipment

Also Published As

Publication number Publication date
WO2023279359A1 (en) 2023-01-12

Similar Documents

Publication Publication Date Title
CN112291743B (en) Resource selection method and device and terminal equipment
JP5658260B2 (en) Method and system for idle timeout notification time for power saving operation of wireless network
JP7278417B2 (en) Pending SR cancellation method and apparatus
CN113366869B (en) Communication method and related device
CN111818493B (en) Data transmission method, wireless network system, node, and readable storage medium
US10194374B2 (en) Network join method and network device using the network join method
WO2021036834A1 (en) Resource indication method and apparatus
CN113455044A (en) Apparatus, method and computer program for communication using configuration authorization
WO2023279359A1 (en) Communication method and apparatus
WO2021072659A1 (en) Resource allocation method and device
WO2022082530A1 (en) Communication method and apparatus
JP2023535508A (en) Communication method and device
WO2021228163A1 (en) Method, apparatus and system for determining resource
WO2021227076A1 (en) Communication method, device and system
WO2023028863A1 (en) Communication method and apparatus
WO2023272444A1 (en) Communication method and communication apparatus therefor
CN113841459B (en) A resource indication method, device and system
CN112153737B (en) Communication method and device
WO2021217534A1 (en) Communication method and apparatus
CN116508377A (en) Resource allocation method and device in a multi-connection scenario
WO2020107412A1 (en) Wireless communication method and terminal device
CN113993220B (en) Data transmission method and communication device
CN113260071B (en) BSR reporting method, network device and computer-readable storage medium
WO2023030052A1 (en) Communication method and device
WO2023142976A1 (en) Communication method and apparatus, readable storage medium, and chip system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination