Communication method and device

By allocating communication resources to the second device with low priority in the smart cockpit environment, the problem of resource conflicts between multiple communication domains is solved, communication performance is improved and interference is reduced.

CN119815407APending Publication Date: 2025-04-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411751398.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-04-29
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In a smart cockpit environment, there may be conflicts between communication resources between multiple different communication domains, resulting in serious interference problems and affecting the communication performance and service performance of each node.

Method used

Through a communication method, after receiving the priority information, the first device allocates communication resources to the second device with a priority lower than itself, and notifies the allocated communication resources and its own priority through the second information to avoid resource conflicts.

Benefits of technology

It effectively reduces communication interference between different communication domains, improves the communication performance of devices, and ensures the allocation of communication resources for devices with higher priority.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119815407A_ABST
    Figure CN119815407A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and device, relates to the field of intelligent cabins, and is used for reducing communication interference of equipment. In the application, if the priority of one or more pieces of second equipment is lower than that of first equipment, the first equipment sends second information to the one or more pieces of second equipment, and the second information comprises communication resources allocated to the one or more pieces of second equipment by the first equipment and the priority of the first equipment. The priority of the one or more second devices is lower than the priority of the first device, and the first device can allocate communication resources to the one or more second devices, so that communication interference caused by communication resource conflicts among different communication domains can be avoided, and the communication performance of the devices is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202080100277.5, and the original application date is April 29, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of smart cockpits, and in particular to a communication method and device. Background Art

[0003] Vehicles are playing an increasingly important role in people's daily lives. With the continuous development of smart cockpit technology, vehicles are not only a means of transportation, but also a space for people to live in. People expect smart cockpits to provide people with richer entertainment, audio, video and office experiences.

[0004] At present, the equipment involved in the smart cockpit may include a cockpit domain controller (CDC), in-car audio and video equipment (such as in-car microphones, in-car speakers, in-car screens, etc.), smart terminals, wearable devices, etc. Therefore, in a smart cockpit environment, there may be multiple different communication domains. For example, CDC can be used as a master node to schedule in-car audio and video equipment. At this time, CDC is the master node and the in-car audio and video equipment is a slave node. CDC and at least one in-car audio and video device can form a communication domain, which can be called a CDC domain. In addition, mobile phones and smart wearable devices (such as headphones, etc.) can form a communication domain, which can be called a mobile phone domain. At this time, the mobile phone can be used as a master node, the smart wearable device can be used as a slave node, and the mobile phone can schedule the smart wearable device.

[0005] When different master and slave nodes in multiple communication domains in a smart cockpit communicate simultaneously, the communication resources of the multiple master and slave nodes may conflict, resulting in serious interference problems, thereby affecting the communication performance and service performance of each node. Summary of the invention

[0006] The present application provides a communication method and device to allocate communication resources in different communication domains to reduce communication interference.

[0007] In the first aspect, an embodiment of the present application provides a communication method. The communication method can be performed by a first device provided by the present application. The first device can be a terminal device, a chip applied to a terminal device, or a cockpit domain controller (CDC), which can also be a module in the terminal device. In this method, the first device can receive a first message sent by one or more second devices. The first information may include the priority of the one or more second devices. If the priority of the one or more second devices is lower than that of the first device, the first device may send a second message to the one or more second devices, and the second message includes the communication resources allocated by the first device to the one or more second devices and the priority of the first device.

[0008] Based on this solution, the first device can allocate communication resources to one or more second devices with a lower priority than the first device, thereby avoiding communication interference caused by communication resource conflicts between different communication domains and improving the communication performance of the device.

[0009] In a possible implementation, before the first device sends the second information to the one or more second devices, the first device may allocate communication resources to the one or more second devices, and the communication resources are used for the one or more second devices to schedule one or more third devices. The second device and the one or more third devices may constitute a communication domain.

[0010] Exemplarily, the communication resources allocated by the first device to one or more second devices may be shared by the one or more second devices. Alternatively, the first device allocates shared communication resources to second devices with the same priority. Alternatively, the first device may allocate communication resources to each second device.

[0011] Based on this scheme, communication resources are allocated to one or more second devices whose priority is lower than that of the first device, so that the second device can schedule one or more third devices respectively according to the allocated communication resources, thereby avoiding communication resource conflicts between different communication domains, thereby avoiding communication interference and improving the communication performance of the device.

[0012] In one possible implementation, the priority of the one or more second devices may be the identity information of the one or more second devices. The identity information here may be represented by a device identification code or a media access control address (MAC). It should be understood that different fields of the identity information may have different meanings. Alternatively, the priority may also be priority information. For example, the priority information may be priority indication information, such as a priority identifier, and the priority may be indicated by a correspondence between a priority identifier and a priority. The correspondence may be pre-stored by the first device, or may be predetermined by the first device and the second device, or may be defined by a protocol.

[0013] In a possible implementation, the communication resource is a communication resource shared by the multiple second devices. For example, the first device may allocate the same communication resource to all of the one or more second devices. The first device may carry the allocated communication resource in the second information and send the second information to the one or more second devices.

[0014] In another possible implementation manner, if the first device sends a message to allocate shared communication resources to one or more second devices using the above method, the first device may notify the one or more second devices through broadcast information.

[0015] Based on this solution, the first device can allocate shared communication resources to multiple second devices with lower priority than itself. In this case, the first device does not need to frequently detect whether there are second devices and the number of second devices, which can improve communication performance while reducing the operation of the first device.

[0016] In a possible implementation, after receiving the first information sent by one or more second devices, the first device may determine the second devices with the same priority, and the first device may allocate shared communication resources to the determined second devices with the same priority.

[0017] Based on this solution, the first device can allocate shared communication resources to multiple second devices with the same priority, and the first device can allocate different communication resources to second devices with different priorities. In this way, the first device can give priority to the communication resources of the second device with higher priority, and can guarantee the communication resources of the second device with higher priority.

[0018] In a possible implementation manner, the first device sends the second information to the one or more second devices when the first condition is met.

[0019] Exemplarily, the first condition includes: the signal strength of the first information is greater than or equal to a first signal strength threshold; or the quantity of the first information is greater than or equal to a first quantity threshold; or the first duration for which the first device continuously receives the first information sent by the same second device is greater than or equal to a first duration threshold; or the total number of times the first device receives the first information sent by the same second device is greater than or equal to a first number threshold.

[0020] Based on this scheme, the first device can send second information to one or more second devices when the first condition is met, which can indicate that there is communication interference in the environment. When the first device determines that there is communication interference in the environment, it allocates communication resources to one or more second devices, thereby avoiding wasting communication resources and improving the utilization rate of communication resources.

[0021] In a possible implementation, the first device determines that the first information sent by the one or more second devices is not received within a predetermined time, or the signal strength of the first information is lower than a second signal strength threshold, and then sends third information, wherein the third information includes the priority of the first device.

[0022] Based on this solution, the first device can reclaim the allocated communication resources by sending the third information, and can allocate the communication resources to other second devices. When the first device meets the above conditions, reclaiming the allocated communication resources can improve the utilization rate of the communication resources.

[0023] In the second aspect, the embodiment of the present application also provides another communication method. The method can be performed by a second device in the embodiment of the present application. The second device can be a terminal device or a chip used in a terminal device. The priority of the second device is lower than that of the first device. In this method, the second device can send a first message to the first device, and the first message can include the priority of the second device. If the priority of the second device is lower than that of the first device, the second device can receive a second message sent by the first device, and the second message includes the communication resources allocated by the first device to the second device and the priority of the first device. Then, the second device schedules one or more third devices according to the communication resources. The one or more third devices here can be devices belonging to the same communication domain as the first device.

[0024] Based on this solution, the second device can schedule one or more third devices according to the communication resources allocated by the first device, which can avoid resource conflicts between the communication domain to which the second device belongs and other communication domains, reduce communication interference, and improve communication performance.

[0025] In a possible implementation, the priority information is the identity information of the second device. The identity information here can be represented by a device identification code or a media access control address (MAC). It should be understood that different fields of the identity information can have different meanings.

[0026] Based on this solution, the second device may indicate its own priority to the first device through the identity information, so that the first device may allocate communication resources to itself according to the identity information.

[0027] In a possible implementation, the communication resource is a communication resource shared by the second device and one or more other second devices. For example, the communication resource may be a communication resource shared by the second device and other second devices of the first priority.

[0028] Based on this solution, the second device with a lower priority than the first device can respectively schedule one or more third devices according to the shared communication resources, thereby avoiding communication resource conflicts between different communication domains.

[0029] In a possible implementation manner, the communication resource is a communication resource shared by the second device and one or more second devices with the same priority among the other one or more second devices.

[0030] Based on this solution, second devices with the same priority can share the allocated communication resources, so second devices with the same priority can respectively schedule one or more third devices according to the shared communication resources, thereby avoiding communication resource conflicts between different communication domains.

[0031] In a possible implementation, the second device receives the third information sent by the first device; the third information includes the priority information of the first device; the second device sends the first information to the first device. The third information here is used by the first device to recover the information of the allocated communication resources, so when the second device receives the third information, it needs to send the first information to the first device to request the communication resources.

[0032] Based on this solution, the first device can reclaim the allocated communication resources through the third information, thereby improving the utilization rate of the communication resources.

[0033] In a third aspect, a communication device is provided, and the beneficial effects can be found in the description of the first aspect and will not be repeated here. The communication device has the function of implementing the behavior in the method example of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a receiving module for receiving first information sent by one or more second devices, the first information including the priority of the one or more second devices; a sending module for sending second information to the one or more second devices when the priority of the one or more second devices is lower than that of the device, and the second information includes the communication resources allocated by the device to the one or more second devices and the priority of the device. These modules can perform the corresponding functions in the method example of the first aspect, and refer to the detailed description in the method example for details, which will not be repeated here.

[0034] In a fourth aspect, a communication device is provided, and the beneficial effects can be found in the description of the second aspect and will not be repeated here. The communication device has the function of implementing the behavior in the method example of the second aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a sending module for sending first information to a first device, the first information including the priority of the device; a receiving module for receiving second information sent by the first device if the priority of the device is lower than that of the first device, the second information including the communication resources allocated by the first device to the device and the priority of the first device; a processing module for scheduling one or more third devices according to the communication resources. These modules can perform the corresponding functions in the method example of the second aspect, and refer to the detailed description in the method example for details, which will not be repeated here.

[0035] In a fifth aspect, a communication device is provided, which may be the first device in the above method embodiment, or a chip set in the first device. The communication device includes a communication interface and a processor, and optionally, a memory. The memory is used to store computer programs or instructions, and the processor is coupled to the memory and the communication interface. When the processor executes the computer program or instruction, the communication device executes the method executed by the first device in the above method embodiment.

[0036] In a sixth aspect, a communication device is provided, which may be the second device in the above method embodiment, or a chip set in the second device. The communication device includes a communication interface and a processor, and optionally, also includes a memory. The memory is used to store computer programs or instructions, and the processor is coupled to the memory and the communication interface. When the processor executes the computer program or instruction, the communication device executes the method executed by the second device in the above method embodiment.

[0037] In a seventh aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run, the method performed by the first device in the above aspects is executed.

[0038] In an eighth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed, the method performed by the second device in the above aspects is executed.

[0039] In a ninth aspect, the present application provides a chip system, which includes a processor for implementing the function of the first device in the above-mentioned methods. In one possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0040] In a tenth aspect, the present application provides a chip system, which includes a processor for implementing the function of the second device in the above-mentioned methods. In a possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0041] In an eleventh aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed, implements the method performed by the first device in the above aspects.

[0042] In a twelfth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method performed by the second device in the above aspects is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of a communication system in the prior art;

[0044] Figure 2 One of the flow charts of the communication method provided in the embodiment of the present application;

[0045] Figure 3 A schematic diagram of physical signals provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a communication system provided in an embodiment of the present application;

[0047] Figure 5 One of the flow charts of the communication method provided in the embodiment of the present application;

[0048] Figure 6 One of the structural schematic diagrams of the communication device provided in the embodiment of the present application;

[0049] Figure 7 This is one of the structural schematic diagrams of the communication device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0051] Below, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0052] 1) Master node and slave node refer to two types of nodes distinguished by logical functions. Among them, the master node has the ability to schedule resources. The master node can schedule time and frequency resources for the slave node, and the slave node obeys the scheduling of the master node. The slave node can use the time and frequency resources scheduled by the master node to communicate. It should be noted that the attribute characteristics of the master node and the slave node may change. For example, when the smart terminal communicates with the headset, the smart terminal is the master node and the headset is the slave node; however, when the smart terminal accesses a higher priority device, such as a cockpit domain controller (CDC), the smart terminal needs to obey the scheduling of the CDC, and the attribute characteristics of the smart terminal are changed to a slave node.

[0053] 2) A communication domain, including a master node and at least one slave node. The at least one slave node establishes a communication connection with the master node. The master node can schedule time-frequency resources for the at least one slave node. Each slave node can use the scheduled time-frequency resources to communicate with the master node.

[0054] 3) Communication domain type. In the same environment, there may be multiple different communication domains. Different communication domains may contain different node types, node capabilities, node attributes, and carried services. For example, CDC can be used as a master node to dispatch car audio equipment. In this case, CDC is the master node and the car audio equipment is the slave node. CDC and the car audio equipment can form a communication domain, called a CDC domain or a car domain. Mobile phones can be used as master nodes to dispatch smart wearable devices. In this case, smart wearable devices are slave nodes. Mobile phones and smart wearable devices can form a communication domain, called a mobile phone domain. The CDC domain and the mobile phone domain correspond to two different communication domain types.

[0055] 4) Priority refers to the master node priority, which can also be called device priority. It reflects the priority of master nodes in different communication domains for resource scheduling or resource management. Different master nodes may have different priorities, and low-priority master nodes are subject to the resource management of high-priority master nodes.

[0056] 5) The first device refers to a master node device with a higher priority in the smart cockpit environment, such as a CDC, which has the ability to allocate communication resources to other low-priority master nodes.

[0057] 6) The second device, which may be other master node devices with a lower priority than the first device, includes a device that provides voice and / or data connectivity to the user, specifically, includes a device that provides voice to the user, or includes a device that provides data connectivity to the user, or includes a device that provides voice and data connectivity to the user. For example, it may include a handheld device with a wireless connection function, or a processing device connected to a wireless modem. The device may include user equipment (UE), a wireless terminal, a mobile terminal, a device-to-device (D2D) terminal, a user terminal, a user agent, or a user device, etc. For example, it may include a mobile phone (or a "cellular" phone), a computer with a mobile terminal, a portable, pocket-sized, handheld, or a computer-built-in mobile device, etc.

[0058] 7) A third device, a slave node device that communicates with the second device, such as headphones. As an example and not a limitation, in the embodiments of the present application, the third device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices or smart wearable devices, etc., which are a general term for the intelligent design of daily wearables and the development of wearable devices using wearable technology, such as glasses, gloves, watches, bracelets, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-size, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0059] To facilitate understanding of the embodiments of the present application, first Figure 1 The communication system shown in the figure is used as an example to describe in detail the communication system applicable to the embodiments of the present application. Figure 1 A communication system schematic diagram of a communication method applicable to an embodiment of the present application is shown. Figure 1 As shown, the communication system 100 includes a first device 101, a second device 102, a third device 103 and a third device 105. Optionally, the communication system may further include a second device 104 and a third device 107.

[0060] In the communication system 100, the first device 101 and the third device 103 may form a communication domain, and the first device 101 is the master node of the communication domain. The second device 102 and the third device 105 may form a communication domain, and the second device 104 and the third device 107 may form a communication domain. Among them, the second device 102 and the second device 104 are respectively the master nodes of the communication domain.

[0061] It should be understood that Figure 1 This is a simplified schematic diagram for ease of understanding only. The communication system may further include other second devices or other third devices. Figure 1 Not drawn in.

[0062] At present, the equipment in the smart cockpit can include CDC, vehicle microphones, vehicle speakers, vehicle screens and other vehicle equipment, smart terminals, wearable devices, etc. Figure 1 As shown, there are multiple different communication domains in the smart cockpit. The master node of each communication domain is responsible for scheduling the communication resources of the slave nodes. The slave nodes can use the scheduled communication resources to communicate with the master node.

[0063] However, the communication resources of multiple different communication domains may conflict, so there will be serious interference during communication, which will also affect the communication performance of each device.

[0064] In view of this, the present application provides a communication method that can be applied in a smart cockpit environment and can also be applied to various communication systems, such as: long term evolution (LTE) system, short-range communication system (for example, Bluetooth, WIFI, etc.), world-wide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system and future mobile communication systems, etc.

[0065] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0066] Some nouns or terms used in this application are explained below, and these nouns or terms are also considered as part of the invention content.

[0067] 1. Terminal equipment

[0068] The terminal device can be referred to as a terminal, also known as user equipment (UE), which is a device with wireless transceiver function. The terminal device can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (for example, on airplanes, drones, balloons and satellites, etc.). The terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality terminal device, an augmented reality terminal device, a wireless terminal device in industrial control, a wireless terminal device in unmanned driving, a wireless terminal device in telemedicine, a wireless terminal device in smart grids, a wireless terminal device in transportation safety, a wireless terminal device in smart cities, and a wireless terminal device in smart homes. The terminal device can also be fixed or mobile. The embodiments of the present application are not limited to this.

[0069] In the embodiment of the present application, the device for realizing the function of the terminal may be a terminal device; or it may be a device capable of supporting the terminal device to realize the function, such as a chip system, which may be installed in the terminal device. In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices. In the technical solution provided in the embodiment of the present application, the technical solution provided in the embodiment of the present application is described by taking the device for realizing the function of the terminal device as an example that the terminal device is an example.

[0070] 2. Network equipment

[0071] The network device may be an access network device, which may also be referred to as a radio access network (RAN) device, and is a device that provides wireless communication functions for terminal devices. Access network devices include, for example, but are not limited to: next generation base stations (generation nodeB, gNB) in 5G, evolved node B (evolved node B, eNB), baseband units (baseband units, BBU), transmitting and receiving points (transmitting and receiving points, TRP), transmitting points (transmitting points, TP), base stations in future mobile communication systems or access points in WiFi systems, etc. The access network device may also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario, or the network device may be a relay station, an on-board device, and a network device in a future evolved PLMN network, etc.

[0072] The terminal device can communicate with multiple access network devices of different technologies. For example, the terminal device can communicate with an access network device supporting long term evolution (LTE), can communicate with an access network device supporting 5G, and can also communicate with an access network device supporting LTE and an access network device supporting 5G at the same time. The embodiments of the present application are not limited.

[0073] In the embodiment of the present application, the device for realizing the function of the network device may be a network device; or it may be a device capable of supporting the network device to realize the function, such as a chip system, which may be installed in the network device. In the technical solution provided in the embodiment of the present application, the technical solution provided in the embodiment of the present application is described by taking the device for realizing the function of the network device as an example that the network device is used as the network device.

[0074] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0075] Figure 2 This is an exemplary flow chart of the communication method provided by the embodiment of the present application from the perspective of device interaction. Figure 2 As shown, the method may include:

[0076] Step 201: One or more second devices send first information to a first device, and the first device receives the first information accordingly.

[0077] The first information may include the priority of one or more second devices. The priority may indicate that the second device sending the first information is the master node of the communication domain in which it is located, and there is at least one third device in the communication domain that communicates with it. For example, the first information A includes the priority of the second device a, and the first information B includes the priority of the second device b. Then, the priority may also indicate that the second device a and at least one third device form a communication domain, and the second device a is the master node; the second device b and at least one third device form a communication domain, and the second device b is the master node. The following describes the implementation method of the priority.

[0078] Mode 1: The priority may be priority information.

[0079] In one example, the priority information may be priority indication information, such as a priority identifier. For example, the priority information may be priority indication information, such as a priority identifier, and the priority may be indicated by a correspondence between the priority identifier and the priority. The correspondence may be pre-stored by the first device, or may be pre-determined by the first device and the second device, or may be defined by a protocol.

[0080] In another example, the priority information may be an index of a priority. The first device may maintain in advance a correspondence between a priority index and a priority. After receiving the first information sent by one or more second devices, the first device may determine the priority of the second device in the correspondence between the priority index and the priority according to the priority index contained in the first information. The correspondence may also be pre-stored or specified by the protocol.

[0081] Method 2: The priority can be identity information.

[0082] The identity information may be represented by a device identification code or a media access control address (MAC). It should be understood that different fields of the identity information may have different meanings.

[0083] In one embodiment, the first device may parse part or all of the fields of the device identification code or MAC address to obtain the priority information of the second device. For example, the device identification code may have 2 bits to indicate the device type, such as 00 for CDC, 01 for mobile phone, 10 for wearable device, etc. The first device may maintain a correspondence between device type and priority in advance. After receiving the first information sent by the second device, the first device may parse the device identification code to determine the device type of the second device, and determine the priority of the second device according to the correspondence between the device type and priority.

[0084] In another embodiment, the device identification code or a partial field of the MAC address may also include information identifying the priority of the second device, for example, 2 bits may be used to indicate the priority at the head or tail of the device identification code. After receiving the first information sent by the second device, the first device may parse the head or tail of the device identification code to obtain the priority of the second device.

[0085] In an embodiment of the present application, the first information may be a system information, such as a master information block (MIB) or a system information block (SIB). The second device may periodically send the first information through a system message. The MIB or SIB here may be sent in a broadcast or multicast form and may be carried on a physical broadcast channel (PBCH). Alternatively, the first information may also be a dedicated radio resource control (RRC) signaling, and the dedicated RRC signaling may be a signaling used to send the first information.

[0086] In another embodiment, the first information may be carried in a physical signal sent by the second device. For example, the physical signal here may be composed of a primary synchronization signal (PSS) and a secondary synchronization signal (SSS). Different priorities may correspond to different synchronization signal patterns. The pattern may refer to the interval between PSS and SSS, and physical signals with different intervals between PSS and SSS may be used to indicate different priorities. For example, Figure 3 As shown, Figure 3 The interval between PSS and SSS in a is 1, which can be used to indicate the highest priority. Figure 3 The interval between PSS and SSS in b is 2, which can be used to indicate that the priority is lower than Figure 3 The priority of a in .

[0087] Step 202: The first device sends second information to the one or more second devices.

[0088] Exemplarily, the one or more second devices have a lower priority than the first device.

[0089] The second information here may include the communication resources allocated by the first device to one or more second devices, and the priority of the first device. The communication resources are resources used by one or more second devices to schedule one or more third devices. Each second device can form a communication domain with one or more third devices, and the second device is the master node of the communication domain.

[0090] The second information may be a system information, such as a master information block (MIB) or a system information block (SIB). The MIB or SIB here may be sent in a broadcast or multicast form and may be carried on a physical broadcast channel (PBCH). Alternatively, the first information may also be a radio resource control (RRC) signaling, and the RRC signaling may be a signaling used to send the first information.

[0091] In the embodiment of the present application, the first device may further allocate communication resources to the one or more second devices before executing step 202. The following describes a method for the first device to allocate communication resources to one or more second devices.

[0092] Method 1: A first device allocates shared communication resources to multiple second devices.

[0093] For example, the first device may allocate one or more communication resources to all or part of the second devices in the plurality of second devices. The first device may carry the one or more communication resources in the second information and send the second information to the second device. Figure 1 As shown, the first device 101 can allocate a shared communication resource to the second device 102 and the second device 104.

[0094] Among them, the communication resources allocated by the first device may include one or more resource blocks (RBs) or the communication resources may include one or more sub-channels. The second device 102 and the second device 104 may also select one or more communication resources by listening. For example, the second information sent by the first device includes RB10-RB25. The second device 102 listens to RB10-RB25, determines RB10-RB15 with a smaller load, and calls the third device according to the RB10-RB15; the second device 104 listens to RB10-RB25, determines RB16-RB25 with a smaller load, and calls the third device according to the RB16-RB25. Alternatively, the second information sent by the first device includes communication resource A. The second device 102 and the second device 104 listen to multiple sub-channels of communication resource A, the second device 102 selects the first sub-channel to call the third device, and the second device 104 selects the second sub-channel to call the third device. The first sub-channel and the second sub-channel here may be different sub-channels.

[0095] It should also be noted that if the first device uses the above method 1 to allocate communication resources to multiple second devices, that is, the communication resources contained in the second information are communication resources shared by multiple second devices, the multiple second devices may not perform the above step 201. In other words, the first device can broadcast the first information and carry the shared communication resources in the first information, without sending the second information after the first device first information.

[0096] Method 2: The first device allocates shared communication resources to the second device with the same priority.

[0097] After receiving the first information sent by one or more second devices, the first device can determine the second devices with the same priority. The first device can allocate shared communication resources to the second devices with the same priority. For example, the first device receives the first information sent by the second device 1, the second device 2, the second device 3 and the second device 4 respectively. The first device can determine the priority of each second device according to the first information of each second device. For example, the first device determines that the second device 1 and the second device 2 have the same priority, and the second device 3 and the second device 4 have the same priority. Then, the first device can allocate one or more shared communication resources to the second device 1 and the second device 2, and the first device can also allocate one or more shared communication resources to the second device 3 and the second device 4. The first device can carry the priority and the communication resources allocated for the priority in the second information. The shared communication resources here can be the communication resources used jointly by the second devices with the same priority.

[0098] The communication resources allocated by the first device may include one or more resource blocks (RBs) or the communication resources may include one or more sub-channels. The second device of the same priority may select the communication resources allocated by the first device by listening. For example, the second device 1 and the second device 2 may monitor the shared communication resources and select a RB with a smaller load or a sub-channel with a smaller load to call the third device respectively. The RBs or sub-channels selected by the second device 1 and the second device 2 may be different.

[0099] Method 3: The first device may allocate communication resources to each second device.

[0100] After receiving the first information sent by one or more second devices, the first device can allocate non-conflicting second resources to each second device. Exemplarily, the first device can allocate communication resources to one or more second devices in descending order of priority according to the priority of the second device. The first device can carry the identity information of the second device and the communication resources allocated to the second device in the second information.

[0101] In an embodiment of the present application, the first device may determine to allocate communication resources to one or more second devices when the first condition is met. Since the communication resources allocated by the first device are dedicated to one or more second devices for scheduling the third device, other devices cannot use the communication resources for communication. Therefore, if the first device allocates communication resources to one or more second devices only when it is determined that the first condition is met, the utilization rate of resources can be improved. The implementation method of the first condition is described in detail below.

[0102] First condition 1: The signal strength of the first information is greater than or equal to the first signal strength threshold.

[0103] In one embodiment, when the first device receives the first information sent by one or more second devices, it can determine the signal strength of the first information sent by each second device. The first device can compare the signal strength of the first information sent by each determined second device with the first signal strength threshold, thereby determining the second device whose signal strength of the first information is greater than or equal to the first signal strength threshold. The first device can allocate communication resources to the determined second device. When sending the second information, the first device can carry the identity information of the determined second device in the second information to indicate which second devices the first device has allocated communication resources to.

[0104] In another embodiment, when the first device receives the first information sent by one or more second devices, it can determine the signal strength of the first information sent by each second device. When it is determined that the signal strength of at least one first information is greater than or equal to the first signal strength threshold, the first device sends the second information, which includes the shared communication resources allocated to one or more second devices whose priority is lower than that of the first device.

[0105] In another embodiment, when the first device receives the first information sent by one or more second devices, it can determine the signal strength of the first information sent by the second device and the priority of each second device. If the signal strength of the first information is greater than or equal to the first signal strength threshold, and the priority of the second device is a specified priority, then the first device can send the second information, which includes the shared communication resources allocated to the one or more second devices of the specified priority.

[0106] First condition 2: the quantity of the first information is greater than or equal to the first quantity threshold.

[0107] In one embodiment, when the first device receives the first information, it can record the number of the received first information. Exemplarily, the first device can maintain a counter in advance, and the counter can be used to record the number of the received first information. For example, the initial value of the counter is 0, and it can be added by 1 when a first information is received. The first device can send the second information when the value of the counter is greater than or equal to the first quantity threshold.

[0108] It should be noted that the number of first information here may refer to the number of first information sent by different second devices, or the total number of first information, wherein the total number of first information may include the number of multiple first information sent by the same second device.

[0109] In another embodiment, the first device may determine the priority of one or more second devices based on the received first information. If the first device determines that the number of second devices of the specified priority is greater than the first quantity threshold, the second information is sent. The second information may include the shared communication resources allocated by the first device to one or more second devices of the specified priority. The specified priority here may be predetermined based on an empirical value or defined by a protocol, for example, it may be the first priority, or it may be a priority lower than the priority of the first device, which is not specifically limited in this application.

[0110] First condition 3: a first duration for which the first device continuously receives the first information sent by the same second device is greater than or equal to a first duration threshold.

[0111] The first information here may be periodic information. Therefore, continuous reception may mean that for a second device, timing starts from the first receipt of the first information. If the first device receives the first information sent by the same second device in each period, timing may continue. When the timing duration reaches the first duration threshold, the first device may allocate communication resources to the second device. If the first device does not receive the first information sent by the same second device in a period, timing may be stopped.

[0112] For example, Figure 4 As shown, the driver's smart terminal 1 and earphone 1 in vehicle A form a communication domain, and CDC and the vehicle-mounted device form a communication domain. At this time, a pedestrian is passing by vehicle A, and the pedestrian's smart terminal 2 is communicating with earphone 2, forming a communication domain. Then, smart terminal 1 and smart terminal 2 will periodically broadcast the first information. CDC can start timing separately when receiving the first information. For example, when CDC receives the first information broadcast by smart terminal 1, it starts the first timer, and when it receives the first information broadcast by smart terminal 2, it starts the second timer. At a certain moment, the pedestrian will pass by vehicle A and will be farther and farther away from vehicle A, so CDC will no longer be able to receive the first information broadcast by smart terminal 2. Therefore, the second timer will stop timing. The first timer will continue to count, and when the timing duration reaches the first duration threshold, it will stop timing and send the second information. The second information includes the first device allocating communication resources to smart terminal 1. It should be understood that the communication resource can also be a communication resource shared by smart terminal 1 and other second devices with the same priority.

[0113] First condition 4: the total number of times the first device receives the first information sent by the same second device is greater than or equal to the first number threshold.

[0114] The first information here may be periodic information. For a second device, if the first device receives the first information broadcast by the second device, the first device may add 1 to the number of times corresponding to the second device. The initial number of times corresponding to each second device may be 0. If the number of times recorded is greater than or equal to the first number threshold, the first device may allocate communication resources to the corresponding second device. When sending the second information, the first device may carry the identity information of the second device in the second information to indicate which second devices have been allocated communication resources.

[0115] For example, Figure 4 As shown, the driver's smart terminal 1 and earphone 1 in vehicle A form a communication domain, and CDC and the vehicle-mounted device form a communication domain. At this time, a pedestrian is passing by vehicle A, and the pedestrian's smart terminal 2 is communicating with earphone 2, forming a communication domain. Then, smart terminal 1 and smart terminal 2 will periodically broadcast the first information. CDC can start the first counter when receiving the first information broadcast by smart terminal 1, and start the second counter when receiving the first information broadcast by smart terminal 2. At a certain moment, the pedestrian will pass by vehicle A and will be farther and farther away from vehicle A, so CDC will no longer be able to receive the first information broadcast by smart terminal 2. Therefore, the second counter will stop counting. The first counter can also continue to count. The first device can send the second information when the value of the first counter is greater than or equal to the first counting threshold. The second information includes the first device allocating communication resources to smart terminal 1. It should be understood that the communication resource can also be a communication resource shared by smart terminal 1 and other second devices with the same priority.

[0116] First condition 5: There is a conflict between the communication resources of the communication domain to which the first device belongs and the communication resources of the communication domain to which one or more second devices respectively belong.

[0117] In one embodiment, when there is a communication resource conflict between two communication domains, there is often a higher channel load on the conflicting resource block. Therefore, the first device determines whether there is a first resource whose channel load is greater than or equal to the first channel load threshold by measuring the channel load on the communication resource. If the first device determines that the first resource exists, the second information can be sent. The second information may include communication resources allocated to one or more second devices with a lower priority than the first device. The first channel load threshold here can be predetermined based on an empirical value or defined by a protocol, and this application does not make specific limitations.

[0118] In another embodiment, the first device may determine whether there is a communication resource conflict based on the communication resources used by the communication domain to which the second device belongs, which are broadcast by the second device. For example, if the second device 1 broadcasts communication resources RB15-RB30, but the communication resources used by the communication domain to which the first device belongs also include RB15-RB30, then the first device may determine that there is a communication resource conflict. Therefore, the first device may send the second information.

[0119] It should also be noted that, in the embodiment of the present application, any multiple of the first conditions 1 to the first conditions 5 can be appropriately combined. For example, the first condition 1 and the first condition 3 can be combined, and when the first device continuously receives the first information sent by the same second device with a signal strength greater than or equal to the first signal strength threshold for a first duration greater than or equal to the first duration threshold, the first device can send the second information.

[0120] Step 203: The second device schedules one or more third devices according to the communication resources.

[0121] The second device can communicate with one or more third devices through the communication resource. Figure 1 As shown, the second device 102 can communicate with the third device 103 according to the communication resources allocated by the first device 101.

[0122] Based on the above solution, the first device can allocate communication resources to one or more second devices, which can avoid conflicts in communication resources between different communication domains, thereby reducing interference between communication domains and improving communication performance of the devices.

[0123] In an embodiment of the present application, the first device may also recycle the allocated communication resources, and the first device may allocate the reclaimed communication resources to one or more other second devices. The first device may send third information to recycle the communication resources when the second condition is met. The third information here may be a system message, such as MIB or SIB. The third information may include the priority of the first device. The implementation method of the second condition is described below.

[0124] Second condition 1: the first information sent by the one or more second devices is not received within a predetermined time.

[0125] When the first device does not receive the first information within the predetermined time, it may be that there are no other communication domains in the environment, so the first device does not need to allocate communication resources to other communication domain master nodes, that is, the second device, and the first device can send the third information. Optionally, if the number of first information received by the first device is less than the second threshold value, the first device can also send the third information. Among them, when the number of first information is less than the second threshold value, it may be that the number of other communication domains in the environment is small, so the first device does not need to allocate communication resources to other communication domain master nodes, that is, the second device, and the first device can send the third information.

[0126] Among them, the scheduled time can be predetermined based on an empirical value or defined by a protocol, such as 10 seconds, etc. The scheduled time can be related to the period for the second device to send the first information, and this application does not make any specific limitation.

[0127] Second condition 2: There is no second device with a specified priority in the first information received by the first device.

[0128] If the first information received by the first device does not contain a second device of a specified priority, it may be that there is no master node with the specified priority in the environment, so the first device may not need to allocate communication resources to the master node of the specified priority, that is, the second device. When the total number of second devices of a specified priority in the first information received by the first device is less than the second number threshold, the first device may send a third information.

[0129] The second quantity threshold may be predetermined based on empirical values ​​or defined by a protocol, and is not specifically limited in this application.

[0130] Second condition 3: the signal strength of the first information is lower than the second strength threshold.

[0131] If the signal strength of the first information is lower than the second strength threshold, it may be that the distance between the second device sending the first information and the first device is relatively far, so the first device may not allocate communication resources to the second device. The first device may send third information to reclaim the allocated communication resources.

[0132] Based on the above solution, the first device can send the third information to reclaim the communication resources that have been allocated to one or more second devices, and can reallocate the reclaimed communication resources, thereby improving the utilization rate of the communication resources.

[0133] It should be understood that any multiple of the second conditions 1 to the second conditions 3 can be combined. For example, the second conditions 2 and the second conditions 3 can be combined. When the signal strength of the first information received by the first device is lower than the second strength threshold value and there is no second device of the specified priority in the first information, the first device can send the third information.

[0134] In the embodiments of the present application, another passage method is also provided. Figure 5 This is an exemplary flow chart of the communication method provided by the embodiment of the present application from the perspective of device interaction, which may include the following steps:

[0135] Step 501: The second device sends a first request to the first device.

[0136] The first request here may be a request to the first device to establish a connection, and the first request may include the priority of the second device. The description of the priority can refer to the above Figure 2 It should be understood that the second device may send the first request via RRC signaling, and the RRC signaling may be a newly added signaling for sending the first request.

[0137] Step 502: The first device receives the first request and establishes a communication connection with the second device.

[0138] In one embodiment, the priority in the first request may be identity information, and the first device may authenticate the second device based on the identity information. For example, the first device may pre-store an identity information table, and if the first device can find the identity information in the first request in the identity information table, the first device allows the second device to access and establishes a communication connection with the second device.

[0139] Step 503: The first device sends fourth information to the second device.

[0140] The fourth message here includes one or more communication resources allocated by the first device to the second device. The first device can send the fourth information including one or more communication resources to the second device. The first device can send the fourth information to the second device via RRC signaling. The RRC signaling here can be a newly added RRC signaling for sending the fourth information.

[0141] The first device may allocate one or more communication resources to the second device according to the priority included in the first request. For example, the first device may allocate communication resources to the second device in descending order of priority. Alternatively, the first device may also allocate shared communication resources to one or more second devices. For specific implementation methods, see the above Figure 2Related description of the method embodiment.

[0142] Step 504: The second device schedules one or more third devices according to the communication resources carried in the fourth message.

[0143] The relevant description of the third device can be found in the above Figure 2 In addition, it should be noted that after receiving the fourth information sent by the first device, the second device can disconnect the communication connection with the first device and schedule one or more third devices according to the one or more communication resources mentioned above.

[0144] Based on the above scheme, the first device can establish a communication connection with the second device and send the communication resources allocated to the second device to the second device. Therefore, the second device can schedule one or more third devices through the communication resources, which can reduce interference caused by communication resource conflicts and improve the communication performance of the device.

[0145] In the embodiments provided by the present application, the method provided by the embodiments of the present application is introduced from the perspective of the first device, the second device, and the interaction between the first device and the second device. In order to implement the functions in the methods provided by the embodiments of the present application, the network device and the terminal device may include a hardware structure and / or a software module to implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function in the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0146] Same as above idea, Figure 6 As shown, the embodiment of the present application also provides a communication device 600, which can implement the functions of the first device or the second device in the above method embodiment, and thus can also achieve the beneficial effects of the above method embodiment. The communication device 600 includes a sending module 601 and a receiving module 602, and can optionally also include a processing module 603.

[0147] In one example, the device 600 is used to implement the function of the first device in the above method. For example, the device may be a CDC device, or a device in a CDC device, such as a chip system.

[0148] Among them, the receiving module 602 is used to receive the first information sent by one or more second devices, and the first information includes the priority of the one or more second devices; the sending module 601 is used to send the second information to the one or more second devices when the priority of the one or more second devices is lower than that of the device, and the second information includes the communication resources allocated by the device to the one or more second devices and the priority of the device. Optionally, the processing module 603 is used to allocate communication resources to the one or more second devices, and the communication resources are used by the one or more second devices to schedule one or more third devices. Among them, the relevant description of priority and communication resources can be found in the description of the above method embodiment, which will not be repeated here.

[0149] In one example, the device 600 is used to implement the function of the second device in the above method. The device may be a terminal device, or a device in the terminal device, such as a chip system.

[0150] The sending module 601 is used to send the first information to the first device; the receiving module 602 is used to receive the second information sent by the first device if the priority of the device is lower than that of the first device; the processing module 603 is used to schedule one or more third devices according to the communication resources. The description of the priority and the communication resources can be found in the description of the above method embodiment, which will not be repeated here.

[0151] For the specific execution process of the processing module 603, the sending module 601 and the receiving module 602, please refer to the record in the above method embodiment. The division of modules in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application can be integrated in a processor, or it can exist physically separately, or two or more modules can be integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.

[0152] As another optional variation, the device may be a chip system. In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices. Exemplarily, the device includes a processor and an interface, which may be an input / output interface. The processor performs the functions of the above-mentioned processing module 603, and the interface performs the functions of the above-mentioned sending module 601 and receiving module 602. The device may also include a memory, which is used to store a program that can be run on the processor, and the processor implements the methods of the above-mentioned embodiments when executing the program.

[0153] Same as above idea, Figure 7As shown, the embodiment of the present application also provides a communication device 700. The device 700 includes: a communication interface 701, at least one processor 702, and at least one memory 703. The communication interface 701 is used to communicate with other devices through a transmission medium, so that the device in the device 700 can communicate with other devices. The memory 703 is used to store computer programs. The processor 702 calls the computer program stored in the memory 703, and sends and receives data through the communication interface 701 to implement the method in the above embodiment.

[0154] Exemplarily, when the apparatus 700 is a first device, the memory 703 is used to store a computer program; the processor 702 calls the computer program stored in the memory 703 to execute the method executed by the first device in the above embodiment. When the apparatus 700 is a second device, the memory 703 is used to store a computer program; the processor 702 calls the computer program stored in the memory 703 to execute the method executed by the second device in the above embodiment.

[0155] In the embodiment of the present application, the communication interface 701 can be a transceiver, a circuit, a bus, a module or other types of communication interfaces. The processor 702 can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the disclosed methods, steps and logic block diagrams in the embodiment of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware processor to perform, or the hardware and software modules in the processor are combined and performed. The memory 703 can be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., and can also be a volatile memory (volatile memory), such as a random access memory (RAM). The memory is any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application can also be a circuit or any other device that can realize the storage function. The memory 703 is coupled to the processor 702. The coupling in the embodiment of the present application is an interval coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. As another implementation, the memory 703 can also be located outside the device 700. The processor 702 can operate in conjunction with the memory 703. The processor 702 can execute program instructions stored in the memory 703. At least one of the at least one memory 703 can also be included in the processor 702. The connection medium between the above-mentioned communication interface 701, the processor 702 and the memory 703 is not limited in the embodiment of the present application. For example, in the embodiment of the present application, Figure 7 The memory 703, the processor 702 and the communication interface 701 may be connected via a bus, which may be divided into an address bus, a data bus, a control bus and the like.

[0156] Understandably, the above Figure 6 The device 600 in the illustrated embodiment may be Figure 7 Specifically, the processing module 603 may be implemented by the processor 702 , and the sending module 601 and the receiving module 602 may be implemented by the communication interface 701 .

[0157] In the method provided in the embodiment of the present application, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk SSD), etc.

[0158] As described above, the above embodiments are only used to introduce the technical solution of the present application in detail, but the description of the above embodiments is only used to help understand the method of the embodiments of the present invention and should not be understood as limiting the embodiments of the present invention. Changes or substitutions that can be easily thought of by technicians in this technical field should be included in the protection scope of the embodiments of the present invention.

Claims

1. A communication method, characterized in that: include: A first device receives first information from one or more second devices; wherein the first information includes priorities of the one or more second devices, and the priorities indicate that the second device sending the first information is a master node; The first device sends second information to the one or more second devices, where the second information includes communication resources allocated by the first device to the one or more second devices and a priority of the first device.

2. The method according to claim 1, characterized in that The first device sending the second information to one or more second devices includes: If the priority of the one or more second devices is lower than that of the first device, the first device sends the second information to the one or more second devices.

3. The method according to claim 2, characterized in that The first information is carried in a physical signal sent by the one or more second devices.

4. The method according to claim 3, characterized in that The physical signal includes a synchronization signal.

5. The method according to any one of claims 1 to 4, characterized in that: The priority of the first device is carried in a synchronization signal sent by the first device.

6. The method according to any one of claims 1 to 4, characterized in that: The priority of the first device is higher than the priority of the second device.

7. The method according to any one of claims 1 to 4, characterized in that: Before the first device sends the second information to one or more second devices, the method further includes: The first device allocates communication resources to the one or more second devices, where the communication resources are used by the one or more second devices to schedule one or more third devices.

8. The method according to claim 2, characterized in that: The priority of the one or more second devices is the identity information of the one or more second devices.

9. The method according to any one of claims 1 to 4 and 8, characterized in that: The communication resource is a communication resource shared by the multiple second devices.

10. The method according to claim 7, characterized in that The first device allocating communication resources to the plurality of second devices comprises: The first device allocates shared communication resources to the plurality of second devices having the same priority.

11. The method according to any one of claims 1-4, 8, and 10, characterized in that: The communication resource is a communication resource shared by the second device and one or more other second devices.

12. The method according to claim 11, characterized in that The communication resource is a communication resource shared by the second device and one or more second devices with the same priority among the other one or more second devices.

13. A communication method, characterized in that: include: The second device sends first information to the first device, where the first information includes a priority of the second device, and the priority indicates that the second device is a master node; The second device receives second information sent by the first device, where the second information includes communication resources allocated by the first device to one or more second devices and a priority of the first device.

14. The method according to claim 13, characterized in that The second device receives the second information sent by the first device, including: If the priority of the second device is lower than that of the first device, the second device receives the second information sent by the first device.

15. The method according to claim 14, characterized in that The first information is carried in a physical signal sent by the second device.

16. The method according to claim 15, characterized in that The physical signal includes a synchronization signal.

17. The method according to any one of claims 13 to 16, characterized in that: The priority of the first device is carried in a synchronization signal sent by the first device.

18. The method according to any one of claims 13 to 16, characterized in that: The priority of the first device is higher than the priority of the second device.

19. The method according to claim 14, characterized in that The priority of the second device is the identity information of the second device.

20. The method according to any one of claims 13-16 and 19, characterized in that: The communication resource is a communication resource shared by the second device and one or more other second devices.

21. The method according to claim 20, characterized in that The communication resource is a communication resource shared by the second device and one or more second devices with the same priority among the other one or more second devices.

22. A communication device, characterized in that: include: A receiving module, configured to receive first information sent by one or more second devices, wherein the first information includes priorities of the one or more second devices, and the priorities indicate that the second device sending the first information is a master node; The sending module is used to send the second information to the one or more second devices, where the second information includes the communication resources allocated by the device to the one or more second devices and the priority of the device.

23. The device according to claim 22, characterized in that The sending module is specifically used for: If the priority of the one or more second devices is lower than that of the apparatus, the second information is sent to the one or more second devices.

24. The device according to claim 23, characterized in that The first information is carried in a physical signal sent by the one or more second devices.

25. The device according to claim 24, characterized in that The physical signal includes a synchronization signal.

26. The device according to any one of claims 22 to 25, characterized in that: The priority of the device is carried in a synchronization signal sent by the device.

27. The device according to any one of claims 22 to 25, characterized in that: The priority of the apparatus is higher than the priority of the second device.

28. The device according to any one of claims 22 to 25, characterized in that: Before the sending module sends the second information to one or more second devices, the processing module is further configured to: Communication resources are allocated to the one or more second devices, where the communication resources are used by the one or more second devices to schedule one or more third devices.

29. The device according to claim 23, characterized in that The priority of the one or more second devices is the identity information of the one or more second devices.

30. The device according to any one of claims 22-25 and 29, characterized in that: The communication resource is a communication resource shared by the multiple second devices.

31. The device according to claim 30, characterized in that The processing module is specifically used for: Shared communication resources are allocated to the plurality of second devices having the same priority.

32. A communication device, characterized in that: include: A sending module, configured to send first information to a first device, wherein the first information includes a priority of the device, and the priority indicates that the device is a master node; The receiving module is used to receive second information sent by the first device, where the second information includes communication resources allocated by the first device to the apparatus and a priority of the first device.

33. The device according to claim 32, characterized in that The receiving module is specifically configured to: if the priority of the apparatus is lower than that of the first device, the apparatus receiving the second information sent by the first device.

34. The device according to claim 33, characterized in that The first information is carried in a physical signal sent by the second device.

35. The device according to claim 34, characterized in that The physical signal includes a synchronization signal.

36. The device according to any one of claims 32 to 35, characterized in that: The priority of the first device is carried in a synchronization signal sent by the first device.

37. The device according to any one of claims 32 to 35, characterized in that: The priority of the first device is higher than the priority of the apparatus.

38. The device according to claim 33, characterized in that The priority of the device is the identity information of the device.

39. The device according to any one of claims 33-35 and 38, characterized in that: The communication resource is a communication resource shared by the device and one or more other communication devices.

40. The device according to claim 39, characterized in that The communication resources are communication resources shared by the device and one or more devices with the same priority among the other one or more communication devices.

41. A communication device, characterized in that: including a processor and a memory; The memory is used to store computer programs or instructions; The processor is used to execute a computer program or instruction stored in the memory, so that the method of any one of claims 1 to 12 is executed or the method of any one of claims 13 to 21 is executed.

42. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 12 or the method according to any one of claims 13 to 21 is implemented.

43. A computer program product, characterized in that The method comprises computer execution instructions, and when the computer execution instructions are executed on a computer, the computer executes the method according to any one of claims 1 to 12 or the method according to any one of claims 13 to 21.