Channel configuration method and apparatus

The channel configuration method and apparatus address the challenge of configuring channels for broadcast services in next-generation wireless communication systems by determining compatible broadcast and logical channels, enhancing service transmission flexibility.

JP7699296B2Active Publication Date: 2025-06-26HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024516569
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-09-15
Filing Date
2022-08-22
Publication Date
2025-06-26
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

Existing communication systems face challenges in configuring channels for broadcast services that are compatible with multiple access technologies, particularly in next-generation wireless short-distance communication technologies.

Method used

A channel configuration method and apparatus that configures a channel for the transmission of broadcast services, allowing for compatibility with multiple access technologies, by determining a broadcast service channel and logical channel type based on service requirements and access technologies supported by the access layer.

Benefits of technology

Enables the transmission of broadcast services through configured channels, achieving compatibility with multiple access technologies and improving the flexibility of broadcast service transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007699296000002
    Figure 0007699296000002
  • Figure 0007699296000003
    Figure 0007699296000003
  • Figure 0007699296000004
    Figure 0007699296000004
Patent Text Reader

Abstract

An embodiment of this application provides a channel configuration method and device for configuring a channel for transmission of a broadcast service, and relates to the field of communication technology. The method includes: a basic application layer sends first information including a first service requirement and a first port to a basic service layer. The basic service layer sends second information including the first service requirement, a first broadcast service channel, and a logical channel type to an access layer. The first broadcast service channel is determined based on the first information. The access layer supports a first access technology determined based on the first service requirement from among a plurality of access technologies supported by the access layer. The access layer sends a first mapping relationship indicating the first broadcast service channel and a first logical channel to the basic service layer. The first logical channel is a logical channel that supports the first access technology and is determined based on the second information. The basic service layer stores a second mapping relationship indicating the first broadcast service channel and a first port. In this manner, the channel configuration is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims the priority of Chinese Patent Application No. 202111081711.2, titled "CHANNEL CONFIGURATION METHOD, AND APPARATUS", filed with the State Intellectual Property Office of China on September 15, 2021, the entire content of which is incorporated herein by reference.

[0002] This application relates to the field of communication technologies, and in particular, to a channel configuration method and apparatus.

Background Art

[0003] In a conventional communication system, communication devices can communicate with each other using wireless short-distance communication technologies to implement information sharing and wireless transmission of business. With the proposal of new requirements and the development of new technologies, wireless short-distance communication technologies are also continuously evolving. To meet the requirements of the industry-wide Internet scenario, the SparkLink Alliance has been established to promote the innovation and industrial ecosystem of next-generation wireless short-distance communication technologies, support applications in scenarios such as intelligent cockpits, smart homes, smartphones, and intelligent manufacturing, and is committed to meeting the corresponding performance requirements.

[0004] To support next-generation wireless short-distance communication technologies and implement the complete procedure of wireless short-distance services, it is necessary to design channels for broadcast services under a brand-new protocol framework. Therefore, how to configure channels for the transmission of broadcast services to achieve compatibility with multiple access technologies becomes an urgent technical issue to be solved.

Summary of the Invention

[0005] In this perspective, embodiments of this application provide a channel configuration method and apparatus for configuring a channel for the transmission of broadcast services, whereby broadcast services can be transmitted through the configured channel and service requirements can be met. In addition, compatibility with multiple access technologies can be realized, improving the flexibility of broadcast service transmission.

[0006] According to a first aspect, embodiments of this application provide a channel configuration method. The method may be applied to a first device, which may include a basic application layer, a basic service layer, and an access layer, and the access layer may support multiple access technologies. The method may include the following. The basic service layer includes a first service requirement and identification information of a first port, and receives first information from the basic application layer. The basic service layer transmits second information to the access layer. The second information includes the first service requirement, identification information of a first broadcast service channel, and a logical channel type. The first broadcast service channel is a transmission channel determined based on the first information. The logical channel type indicates the type of the logical channel. The access layer supports a first access technology determined from among multiple access technologies based on the first service requirement. The basic service layer receives a first mapping relationship that includes the identification information of the first broadcast service channel and the identification information of the first logical channel and is from the access layer. The first logical channel supports the first access technology and is a logical channel determined based on the second information. The basic service layer stores a second mapping relationship that includes the identification information of the first broadcast service channel and the identification information of the first port.

[0007] Based on the first aspect, the first device may be utilized to transmit broadcast services and may constitute a channel including a first port, a first broadcast service channel, and a first logical channel, whereby the broadcast services are transmitted through the constituted channel, and a one-to-many broadcast service is realized to meet the service requirements. In addition, the access layer of the first device may support multiple access technologies, whereby the flexibility of the transmission of broadcast services can be improved.

[0008] In a possible design, the first information further includes one or more of the following, namely, the transmission channel type and the first indication information. The transmission channel type indicates that the type of the transmission channel is a broadcast service channel, and the first indication information indicates whether the transmission channel is dedicated to the transmission of the first service data.

[0009] Based on a possible design, the basic service layer may determine a first broadcast service channel whose type is a broadcast service channel based on the transmission channel type to facilitate the transmission of broadcast services. When the first indication information indicates that the transmission channel is dedicated to the transmission of the first service data, the basic service layer may establish the first broadcast service channel, whereby the first broadcast service channel can be dedicated to the transmission of the first service data. When the first indication information indicates that the transmission channel is not dedicated to the transmission of the first service data, the basic service layer may establish or reuse the first broadcast service channel. When the basic service layer reuses the first broadcast service channel, to meet the first service requirements and facilitate the transmission of the first service data, the basic service layer may directly reuse the first broadcast service channel or reuse the first broadcast service channel in a reconfiguration manner.

[0010] In a possible design, before the basic service layer sends the second information to the access layer, the method further includes the basic service layer establishing a first broadcast service channel based on the first information, the basic service layer reconfiguring the first broadcast service channel based on the first information, or the basic service layer reusing the first broadcast service channel based on the first information.

[0011] Based on a possible design, the basic service layer may establish or reuse a first broadcast service channel. When the basic service layer reuses the first broadcast service channel, the basic service layer may directly reuse the first broadcast service channel or reuse the first broadcast service channel in a reconfigured manner. A plurality of executable solutions are provided to the basic service layer to determine the first broadcast service channel.

[0012] In a possible design, the second information further includes one or more of the following, namely, second indication information and third indication information. The second indication information indicates the first access technology, and the third indication information indicates whether the logical channel is dedicated to the transmission of the first service data.

[0013] Based on a possible design, by indicating a first access technology, the basic service layer may enable the access layer to transmit broadcast services based on the first access technology. The basic service layer may further indicate third indication information to the access layer. When the third indication information indicates that a logical channel is dedicated to the transmission of first service data, the access layer may establish a first logical channel, thereby making the first logical channel dedicated to the transmission of first service data. When the third indication information indicates that the logical channel is not dedicated to the transmission of first service data, the access layer may establish or reuse the first logical channel. When the access layer reuses the first logical channel, in order to meet the first service requirements and facilitate the transmission of first service data, the access layer may indicate that it reuses the first logical channel or reuse the first logical channel in a reconfiguration manner.

[0014] In a possible design, the basic service layer receives third information from the basic application layer. The third information may include first service information, identification information of a first port, and identification information of a first broadcast service channel. The basic service layer transmits fourth information to the access layer. The fourth information may include first service information, identification information of a first port, identification information of a first broadcast service channel, and identification information of a first logical channel. The basic service layer receives fourth indication information from the access layer. The fourth indication information may indicate that the access layer has completed the broadcast of the fourth information. The basic service layer transmits the fourth indication information to the basic application layer.

[0015] Based on a possible design, the basic service layer may send fourth information including service information and information about the configured channels to the access layer based on the third information sent by the basic application layer, whereby the access layer broadcasts the fourth information. After broadcasting the fourth information, the access layer may further send fourth indication information to the basic service layer to indicate that the broadcast of the fourth information is completed. The basic service layer then reports the fourth indication information to the basic application layer. After obtaining the fourth indication information, the basic application layer may sequentially broadcast the first service data through the basic application layer, the basic service layer, and the access layer based on the configured channels to complete the transmission of the broadcast service.

[0016] In a possible design, the first service information includes one or more of the following, namely, service type, service name, and service description.

[0017] Based on a possible design, the first service information is broadcast, whereby the scanning party communication device can determine whether to configure a channel for the service and receive the service data based on the service information. When the scanning party communication device determines that it is necessary to obtain the service data based on the service information, a corresponding channel may be configured for the service to receive the service data.

[0018] In a possible design, the basic service layer receives the first service data from the basic application layer through the first port. The basic service layer sends the first service data to the access layer through the first broadcast service channel to enable the access layer to broadcast the first service data through the first logical channel.

[0019] Based on a possible design, the basic application layer, the basic service layer, and the access layer can sequentially complete the broadcast of the first service data through the configured channels, including the first port, the first broadcast service channel, and the first logical channel.

[0020] In a possible design, the basic service layer receives the fifth indication information from the basic application layer and sends the fifth indication information to the access layer. The fifth indication information indicates to stop broadcasting the identification information of the first broadcast service channel.

[0021] Based on a possible design, the basic service layer may further send the fifth indication information sent by the basic application layer to the access layer, whereby the access layer stops broadcasting the identification information of the first broadcast service channel. After that, a new scan party communication device will not configure a channel based on the first broadcast service channel and receive the first service data. It should be noted that after the access layer stops broadcasting the identification information of the first broadcast service channel, a scan party communication device with a configured channel may still receive the first service data broadcast by the first device through the channel configured by the first device on the configured channel.

[0022] In a possible design, the basic service layer receives sixth indication information from the basic application layer. The sixth indication information indicates releasing a transmission channel corresponding to a first port. The basic service layer releases a first broadcast service channel based on the sixth indication information and a second mapping relationship. The basic service layer transmits seventh indication information to the access layer. The seventh indication information indicates releasing a logical channel corresponding to the first broadcast service channel, whereby the access layer releases a first logical channel based on the seventh indication information and a first mapping relationship.

[0023] Based on a possible design, when the first device determines that it is necessary to stop the transmission of broadcast services, the basic service layer may release a first broadcast service channel corresponding to the first port based on the sixth indication information transmitted by the basic application layer and a second mapping relationship. The basic service layer may further transmit seventh indication information to the access layer, whereby the access layer releases a first logical channel based on the seventh indication information and a first mapping relationship.

[0024] According to a second aspect, an embodiment of this application provides a communication device. The communication device can implement functions realized by the basic service layer of the first device in the first aspect or a possible design of the first aspect, and the functions may be implemented by hardware that executes corresponding software. The hardware or software includes one or more modules corresponding to the above functions, for example, a transceiver module and a processing module. The transceiver module includes the first service requirement and the identification information of the first port, and is configured to receive the first information from the basic application layer. The transceiver module is further configured to transmit the second information to the access layer. The second information includes the first service requirement, the identification information of the first broadcast service channel, and the logical channel type. The first broadcast service channel is a transmission channel determined based on the first information. The logical channel type indicates the type of the logical channel. The access layer supports a first access technology determined from among a plurality of access technologies based on the first service requirement. The transceiver module is further configured to receive a first mapping relationship from the access layer, the first mapping relationship including the identification information of the first broadcast service channel and the identification information of the first logical channel. The first logical channel supports the first access technology and is a logical channel determined based on the second information. The processing module is configured to store a second mapping relationship including the identification information of the first broadcast service channel and the identification information of the first port.

[0025] In a possible design, the first information further includes one or more of the following, that is, a transmission channel type and the first indication information. The transmission channel type indicates that the type of the transmission channel is a broadcast service channel, and the first indication information indicates whether the transmission channel is dedicated to the transmission of the first service data.

[0026] In a possible design, the communication device further includes a processing module. The processing module is configured to establish a first broadcast service channel based on the first information. Alternatively, the processing module is configured to reconfigure the first broadcast service channel based on the first information. Alternatively, the processing module is configured to reuse the first broadcast service channel based on the first information.

[0027] In a possible design, the second information further includes one or more of the following, namely, the second indication information and the third indication information. The second indication information indicates the first access technology, and the third indication information indicates whether the logical channel is dedicated to the transmission of the first service data.

[0028] In a possible design, the transceiver module is further configured to receive third information from the basic application layer. The third information may include the first service information, the identification information of the first port, and the identification information of the first broadcast service channel. The transceiver module is further configured to transmit fourth information to the access layer. The fourth information may include the first service information, the identification information of the first port, the identification information of the first broadcast service channel, and the identification information of the first logical channel. The transceiver module is further configured to receive fourth indication information from the access layer. The fourth indication information may indicate that the access layer has completed the broadcast of the fourth information. The transceiver module is further configured to transmit the fourth indication information to the basic application layer.

[0029] In a possible design, the first service information includes one or more of the following, namely, the service type, the service name, and the description of the service.

[0030] In a possible design, the transceiver module is further configured to receive first service data from the basic application layer through a first port. The transceiver module is further configured to send the first service data to the access layer through a first broadcast service channel, enabling the access layer to broadcast the first service data through a first logical channel.

[0031] In a possible design, the transceiver module is further configured to receive fifth indication information from the basic application layer and send the fifth indication information to the access layer. The fifth indication information indicates stopping broadcasting identification information of the first broadcast service channel.

[0032] In a possible design, the transceiver module is further configured to receive sixth indication information from the basic application layer. The sixth indication information indicates releasing a transmission channel corresponding to the first port. The processing module is further configured to release the first broadcast service channel based on the sixth indication information and a second mapping relationship. The transceiver module is further configured to send seventh indication information to the access layer. The seventh indication information indicates releasing a logical channel corresponding to the first broadcast service channel, whereby the access layer releases the first logical channel based on the seventh indication information and a first mapping relationship.

[0033] Regarding the specific implementation of the communication device, please refer to the behavior function of the basic service layer of the first device in the channel configuration method according to any one of the first aspect or the possible designs of the first aspect. Regarding the technical effects brought about by the communication device, please refer to the technical effects brought about by any one of the possible designs of the first aspect. Details will not be explained again.

[0034] According to a third aspect, an embodiment of this application provides a communication device. The communication device may be the basic service layer of a first device, or a chip or system-on-chip of the basic service layer of a first device. The communication device may implement functions executed by the basic service layer of the first device in the above aspect or possible designs, and the functions may be implemented by hardware. In a possible design, the communication device may include a transceiver and a processor. The transceiver and the processor may be configured to support the communication device in implementing functions in any one of the first aspect or possible designs of the first aspect. For example, the transceiver may include first service requirements and identification information of a first port, and may be configured to receive first information from the basic application layer. The transceiver may further be configured to transmit second information to the access layer. The second information includes the first service requirements, identification information of a first broadcast service channel, and a logical channel type. The first broadcast service channel is a transmission channel determined based on the first information. The logical channel type indicates the type of the logical channel. The access layer supports a first access technology determined from among a plurality of access technologies based on the first service requirements. The transceiver may further be configured to receive a first mapping relationship that includes identification information of the first broadcast service channel and identification information of a first logical channel and is from the access layer. The first logical channel supports the first access technology and is a logical channel determined based on the second information. The processor may be configured to transmit a second mapping relationship that includes identification information of the first broadcast service channel and identification information of the first port to the basic application layer. In another possible design, the communication device may further include a memory. The memory is configured to store computer-executable instructions and data required by the communication device.When the communication device operates, the transceiver and the processor execute computer-executable instructions stored in the memory, whereby the communication device executes a channel configuration method according to any one of the first aspect or a possible design of the first aspect.

[0035] For the specific implementation of the communication device according to the third aspect, refer to the behavior function of the basic service layer of the first device in the channel configuration method according to any one of the first aspect or a possible design of the first aspect.

[0036] According to a fourth aspect, an embodiment of this application constitutes a channel configuration method. The method may be applied to a second device, which may include a basic application layer, a basic service layer, and an access layer, and the access layer may support a plurality of access technologies. The method may include the following. The basic service layer receives fourth information from the access layer and reports the fourth information to the basic application layer. The fourth information includes first service information, identification information of a first port, identification information of a first broadcast service channel, and identification information of a first logical channel. The basic service layer receives fifth information from the basic application layer. The fifth information includes first service requirements, identification information of a second port, identification information of a first broadcast service channel, and identification information of a first logical channel. There is a mapping relationship between the second port and the first port. The basic service layer transmits sixth information to the access layer. The sixth information includes first service requirements, identification information of a second broadcast service channel, identification information of a first logical channel, and a logical channel type. The second broadcast service channel is a transmission channel determined based on the fifth information, and there is a mapping relationship between the second broadcast service channel and the first broadcast service channel. The logical channel type indicates the type of the logical channel. The access layer supports a first access technology, and the first access technology is determined from among a plurality of access technologies based on the first service requirements. The basic service layer receives a third mapping relationship that includes identification information of a second broadcast service channel, identification information of a second logical channel, and is from the access layer. The second logical channel is a logical channel that supports the first access technology and is determined based on the sixth information, and there is a mapping relationship between the second logical channel and the first logical channel. The basic service layer stores a fourth mapping relationship that includes identification information of the second port and identification information of the second broadcast service channel.

[0037] Based on the fourth aspect, the second device may be used to receive broadcast services and may constitute a channel including a second port, a second broadcast service channel, and a second logical channel, whereby the broadcast service is received through the configured channel, and a one-to-many broadcast service is realized to meet the service requirements. In addition, the access layer of the second device may support multiple access technologies, whereby the flexibility of the transmission of broadcast services can be improved.

[0038] In a possible design, the fifth information further includes one or more of the following, namely, the transmission channel type and the first indication information. The transmission channel type indicates that the type of the transmission channel is a broadcast service channel, and the first indication information indicates whether the transmission channel is dedicated to the transmission of the first service data.

[0039] Based on a possible design, the basic service layer may determine a second broadcast service channel whose type is a broadcast service channel based on the transmission channel type to facilitate the reception of broadcast services. When the first indication information indicates that the transmission channel is dedicated to the transmission of the first service data, the basic service layer may establish a second broadcast service channel, whereby the second broadcast service channel can be dedicated to the reception of the first service data. When the first indication information indicates that the transmission channel is not dedicated to the transmission of the first service data, the basic service layer may establish or reuse the second broadcast service channel. When the basic service layer reuses the second broadcast service channel, to meet the first service requirements and facilitate the reception of the first service data, the basic service layer may directly reuse the second broadcast service channel or reuse the second broadcast service channel in a reconfiguration manner.

[0040] In a possible design, before the basic service layer sends the sixth piece of information to the access layer, the method further includes the basic service layer establishing a second broadcast service channel based on the fifth piece of information, the basic service layer reconfiguring the second broadcast service channel based on the fifth piece of information, or the basic service layer reusing the second broadcast service channel based on the fifth piece of information.

[0041] Based on a possible design, the basic service layer may establish or reuse a second broadcast service channel. When the basic service layer reuses the second broadcast service channel, the basic service layer may directly reuse the second broadcast service channel or reuse the second broadcast service channel in a reconfigured manner. A plurality of executable solutions are provided to the basic service layer to determine the second broadcast service channel.

[0042] In a possible design, the sixth piece of information further includes one or more of the following, namely, the second indication information and the third indication information. The second indication information indicates the first access technology, and the third indication information indicates whether the logical channel is dedicated to the transmission of the first service data.

[0043] Based on a possible design, by indicating a first access technology, the basic service layer may enable the access layer to receive broadcast services based on the first access technology. The basic service layer may further indicate third indication information to the access layer. When the third indication information indicates that a logical channel is dedicated to the transmission of first service data, the access layer may establish a second logical channel, whereby the second logical channel can be dedicated to the reception of the first service data. When the third indication information indicates that the logical channel is not dedicated to the transmission of the first service data, the access layer may establish or reuse a second logical channel. When the access layer reuses the second logical channel, to meet the first service requirements and facilitate the reception of the first service data, the access layer may directly reuse the second logical channel or reuse the second logical channel in a reconfiguration manner.

[0044] In a possible design, the basic service layer receives the first service data transmitted by the access layer through a second logical channel through a second broadcast service channel. The basic service layer transmits the first service data to the basic application layer through a second port.

[0045] Based on a possible design, the access layer, the basic service layer, and the basic application layer may sequentially complete the reception of the first service data through a configured channel including a second logical channel, a second broadcast service channel, and a second port.

[0046] In a possible design, the basic service layer receives the eighth indication information from the basic application layer. The eighth indication information indicates releasing the transmission channel corresponding to the second port. Based on the eighth indication information and the fourth mapping relationship, the basic service layer releases the second broadcast service channel. The basic service layer sends the ninth indication information to the access layer. The ninth indication information indicates releasing the logical channel corresponding to the second broadcast service channel, so that the access layer releases the second logical channel based on the ninth indication information and the third mapping relationship.

[0047] Based on a possible design, when the second device determines that it is necessary to stop the transmission of broadcast services, the basic service layer may release the second broadcast service channel corresponding to the second port based on the eighth indication information sent by the basic application layer and the fourth mapping relationship. The basic service layer may further send the ninth indication information to the access layer, so that the access layer releases the second logical channel based on the ninth indication information and the third mapping relationship.

[0048] According to a fifth aspect, an embodiment of this application provides a communication device. The communication device can implement functions executed by the basic service layer of the second device in the fourth aspect or a possible design of the fourth aspect, and the functions may be implemented by hardware that executes corresponding software. The hardware or software includes one or more modules corresponding to the above functions, for example, a transceiver module and a processing module. The transceiver module is configured to receive fourth information from the access layer and report the fourth information to the basic application layer. The fourth information includes first service information, identification information of the first port, identification information of the first broadcast service channel, and identification information of the first logical channel. The transceiver module is further configured to receive fifth information from the basic application layer. The fifth information includes first service requirements, identification information of the second port, identification information of the first broadcast service channel, and identification information of the first logical channel. There is a mapping relationship between the second port and the first port. The transceiver module is further configured to transmit sixth information to the access layer. The sixth information includes first service requirements, identification information of the second broadcast service channel, identification information of the first logical channel, and logical channel type. The second broadcast service channel is a transmission channel determined based on the fifth information, and there is a mapping relationship between the second broadcast service channel and the first broadcast service channel. The logical channel type indicates the type of the logical channel. The access layer supports a first access technology, and the first access technology is determined from a plurality of access technologies based on the first service requirements. The transceiver module is further configured to receive a third mapping relationship that includes identification information of the second broadcast service channel and identification information of the second logical channel and is from the access layer. The second logical channel is a logical channel that supports the first access technology and is determined based on the sixth information, and there is a mapping relationship between the second logical channel and the first logical channel.The processing module is configured to store a fourth mapping relationship including the identification information of the second port and the identification information of the second broadcast service channel.

[0049] In a possible design, the fifth information further includes one or more of the following, namely, the transmission channel type and the first indication information. The transmission channel type indicates that the type of the transmission channel is a broadcast service channel, and the first indication information indicates whether the transmission channel is dedicated to the transmission of the first service data.

[0050] In a possible design, the communication device further includes a processing module. The processing module is configured to establish a second broadcast service channel based on the fifth information. Alternatively, the processing module is configured to reconfigure the second broadcast service channel based on the fifth information. Alternatively, the processing module is configured to reuse the second broadcast service channel based on the fifth information.

[0051] In a possible design, the sixth information further includes one or more of the following, namely, the second indication information and the third indication information. The second indication information indicates the first access technology, and the third indication information indicates whether the logical channel is dedicated to the transmission of the first service data.

[0052] In a possible design, the transceiver module is further configured to receive the first service data transmitted by the access layer through the second logical channel through the second broadcast service channel. The transceiver module is further configured to transmit the first service data to the basic application layer through the second port.

[0053] In a possible design, the transceiver module is further configured to receive eighth indication information from the basic application layer. The eighth indication information indicates releasing a transmission channel corresponding to the second port. The processing module is further configured to release a second broadcast service channel based on the eighth indication information and the fourth mapping relationship. The transceiver module is further configured to send ninth indication information to the access layer. The ninth indication information indicates releasing a logical channel corresponding to the second broadcast service channel, whereby the access layer releases a second logical channel based on the ninth indication information and the third mapping relationship.

[0054] Regarding the specific implementation of the communication device, please refer to the behavior function of the basic service layer of the second device in the channel configuration method according to any one of the fourth aspect or the possible designs of the fourth aspect. Regarding the technical effects brought about by the communication device, please refer to the technical effects brought about by any one of the possible designs of the second aspect. Details will not be described again.

[0055] According to the sixth aspect, an embodiment of this application provides a communication device. The communication device may be the basic service layer of a second device, or a chip or system-on-chip of the basic service layer of the second device. The communication device may implement functions executed by the basic service layer of the second device in the above aspect or possible designs, and the functions may be implemented by hardware. In a possible design, the communication device may include a transceiver and a processor. The transceiver and the processor may be configured to support the communication device in implementing functions in any one of the first aspect or possible designs of the first aspect. For example, the transceiver may be configured to receive fourth information from the access layer and report the fourth information to the basic application layer. The fourth information includes first service information, identification information of a first port, identification information of a first broadcast service channel, and identification information of a first logical channel. The transceiver may further be configured to receive fifth information from the basic application layer. The fifth information includes first service requirements, identification information of a second port, identification information of a first broadcast service channel, and identification information of a first logical channel. There is a mapping relationship between the second port and the first port. The transceiver may further be configured to transmit sixth information to the access layer. The sixth information includes first service requirements, identification information of a second broadcast service channel, identification information of a first logical channel, and a logical channel type. The second broadcast service channel is a transmission channel determined based on the fifth information, and there is a mapping relationship between the second broadcast service channel and the first broadcast service channel. The logical channel type indicates the type of the logical channel. The access layer supports a first access technology, and the first access technology is determined from a plurality of access technologies based on the first service requirements. The transceiver may further be configured to receive a third mapping relationship that includes identification information of a second broadcast service channel and identification information of a second logical channel and is from the access layer.The second logical channel is a logical channel that supports the first access technology and is determined based on the sixth piece of information, and there is a mapping relationship between the second logical channel and the first logical channel. The processor may be configured to store a fourth mapping relationship including the identification information of the second port and the identification information of the second broadcast service channel. In other possible designs, the communication device may further include a memory. The memory is configured to store computer-executable instructions and data required by the communication device. When the communication device operates, the transceiver and the processor execute the computer-executable instructions stored in the memory, whereby the communication device executes the channel configuration method according to any one of the first aspect or the possible designs of the first aspect.

[0056] For the specific implementation of the communication device according to the sixth aspect, refer to the behavior function of the basic service layer of the second device in the channel configuration method according to any one of the fourth aspect or the possible designs of the fourth aspect.

[0057] According to the seventh aspect, an embodiment of this application provides a communication device. The communication device includes one or more processors. The one or more processors are configured to execute a computer program or computer instructions. When the one or more processors execute a computer Program or computer instructions, the communication device executes the channel configuration method according to any one of the first aspect or the possible designs of the first aspect, or executes the channel configuration method according to any one of the fourth aspect or the possible designs of the fourth aspect.

[0058] In a possible design, the communication device further includes one or more communication interfaces. The one or more communication interfaces are connected to the one or more processors, and the one or more communication interfaces are configured to communicate with modules other than the communication device.

[0059] In a possible design, the communication device further includes one or more memories, the one or more memories are connected to one or more processors, and the one or more memories are configured to store a computer program or computer instructions. In a possible implementation, the memory is disposed outside the communication device. In another possible implementation, the memory is disposed inside the communication device. In this embodiment of this application, the processor and the memory may alternatively be integrated into one component. In other words, the processor and the memory may alternatively be integrated together.

[0060] According to an eighth aspect, a communication device is provided. The communication device includes an interface circuit and a logic circuit. The interface circuit is connected to the logic circuit. The logic circuit is configured to execute a channel configuration method according to any one of the first aspect or the possible designs of the first aspect, or execute a channel configuration method according to any one of the fourth aspect or the possible designs of the fourth aspect. The interface circuit is configured to communicate with modules other than the communication device.

[0061] According to a ninth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer instruction or a computer program, and when the computer instruction or the computer program is executed on a computer, the computer can execute a channel configuration method according to any one of the first aspect or the possible designs of the first aspect, or execute a channel configuration method according to any one of the fourth aspect or the possible designs of the fourth aspect.

[0062] According to a tenth aspect, a computer program product including computer instructions is provided. When the computer program product operates on a computer, the computer can execute a channel configuration method according to any one of the first aspect or the possible designs of the first aspect, or execute a channel configuration method according to any one of the fourth aspect or the possible designs of the fourth aspect.

[0063] According to the 11th aspect, an embodiment of this application provides a computer program. When the computer program runs on a computer, the computer can execute the channel configuration method according to any one of the 1st aspect or the possible designs of the 1st aspect, or execute the channel configuration method according to any one of the 4th aspect or the possible designs of the 4th aspect.

[0064] Regarding the technical effects brought about by any design method from the 7th aspect to the 8th aspect, it is desired to refer to the technical effects brought about by any one of the possible designs of the 1st aspect, or to refer to the technical effects brought about by any one of the possible designs of the 4th aspect. Details will not be described again.

Brief Description of the Drawings

[0065]

Figure 1

Figure 2A

Figure 2B

Figure 2C

Figure 2D

Figure 3A

Figure 3B

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13

Figure 14

Figure 15

Figure 16

Embodiments for Carrying Out the Invention

[0066] Hereinafter, in this specification, with reference to the accompanying drawings, the implementation of the embodiments of this application will be described in detail.

[0067] The channel configuration method provided in the embodiments of this application may be applied to any communication system. The communication system may include a short-range communication system, a cellular communication system (e.g., a long term evolution (LTE) system or a new radio access technology (NR) system), a worldwide interoperability for microwave access (WiMAX) communication system, or various types of next-generation communication systems (e.g., a sixth generation (6G) mobile communication system), etc. There is no limitation in this regard. The short-range communication system may be a Bluetooth communication system, a low-energy Bluetooth communication system, a wireless fidelity (Wi-Fi) communication system, or various types of next-generation short-range communication systems, etc. There is no limitation in this regard.

[0068] The communication system may include a plurality of communication devices, realize information sharing and wireless transmission of services, support applications in scenarios such as the intelligent vehicle, smart home, smart terminal, and intelligent manufacturing shown in FIGS. 2A to 2D, and in order to meet the performance requirements of the scenario, each communication device may utilize the new short-range protocol SparkLink shown in FIG. 1 and perform communication using wireless short-range communication technology.

[0069] A communication device may be any device having a transmission and reception function, including, but not limited to, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a smartphone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device having a wireless communication function, a computing device, an in-vehicle device, a wearable device, an uncrewed aerial vehicle (UAV) device, a communication device in the Internet of Things or the Internet of Vehicles, and other devices connected to a wireless modem.

[0070] Alternatively, the communication device may be a communication device in virtual reality (VR), a communication device in augmented reality (AR), a communication device in industrial control (e.g., intelligent manufacturing), a communication device in self-driving, a communication device in remote medical, a communication device in smart grid, a communication device in smart city, and a communication device in smart home, etc.

[0071] The communication device may alternatively be a personal portable communication device, a computer peripheral device, and various types of household or industrial electronic devices, including but not limited to smartphones, smart screens, smart speakers (e.g., artificial intelligence (AI) speakers), high fidelity (HiFi) speakers, smart sensors, television wireless headsets, VR head-mounted displays, tablet computers, displays, cameras, laptop computers, in-vehicle computers, in-vehicle terminals (e.g., microphones and loudspeakers), projectors, printers, smart wristbands, smart watches, smart glasses, intelligent vehicles, intelligent lathes, and intelligent monitoring devices.

[0072] The specific form of the communication device is not particularly limited in the embodiments of this application. The types of communication devices in the communication system may be partially the same, the same, or completely different. In addition, in the embodiments of this application, the communication system may include at least two communication devices, and the at least two communication devices may include a first device and a second device in the following embodiments.

[0073] As shown in FIG. 1, the architecture of the new short-range protocol SparkLink may include an access layer, a host, and an application (APP). The access layer may support multiple access technologies simultaneously. A unified host protocol is used on top of the access layer. The host may dynamically schedule the access technologies supported by the access layer based on the corresponding requirements of the application.

[0074] Specifically, as shown in FIG. 3A, the host may include a basic application layer and a basic service layer.

[0075] As shown in FIG. 3A, the basic application layer may be responsible for undertaking different business requirements (e.g., business requirement 1, business requirement 2, …, business requirement 5) of the application at the upper layer, and complete the routing of data to the basic service layer based on one or more of inter-layer primitive, port, application identifier (AID), and internet protocol (IP) address.

[0076] The port may be a channel of the basic application layer. The basic application layer may register a port for the business of the application and transmit business data to the basic service layer through the port.

[0077] The application identifier may be a mapping identifier of the business function set in the application layer and the quality of service (QoS) flow. Different business function sets may be distinguished based on business identifiers (BIDs). According to different classifications of the business, the basic application layer may include a plurality of different business function sets (or described as business modules or business frameworks), and different business function sets may include classification data processing for the business.

[0078] For example, as shown in FIG. 3A, the basic application layer may include a basic communication framework, a general sensing framework, a general video framework, a general audio framework, a general data framework, and an in-vehicle control framework, etc. The general sensing framework may include the processing of sensor data. The general video framework may include the processing of video, for example, encoding and decoding. The general audio framework may include the processing of audio, for example, encoding and decoding. The general data framework may include the processing of file data, for example, encryption and compression. The in-vehicle control framework may include the processing of in-vehicle control data.

[0079] As shown in FIG. 3A, the basic service layer includes, but is not limited to, a plurality of modules or functional units including a device discovery module, a service discovery module, a connection management module, a QoS management module, a security management module, a measurement management module, a multi-domain coordination module, and a fifth generation mobile communication technology (5G) convergence module, implements functions such as the generation, addition, deletion, and release of a transmission channel (TC), and the control of a logical channel (LC) (for example, the selection of an access technology), and may undertake the service requirements (for example, traffic, rate, audio quality, and resolution) of the basic application layer. The basic service layer may be compatible with a plurality of access layer technologies supported by the access layer. For example, the basic service layer may be compatible with a plurality of access technologies such as SLB access technology and SLE access technology. In addition, the basic service layer may be compatible with more access technologies in the future.

[0080] Specifically, the device discovery module may be configured to discover a device when the device discovery module fails to connect to the device. The device discovery module may be configured to discover and operate services on the device. The connection management module may be configured to manage the transmission channel, including generation, addition, deletion, and release. The QoS management module may be configured to manage and negotiate the QoS of the transmission. The security management module may be responsible for the secure connection of the basic service layer. The measurement management module may be configured to configure measurements and scheduling at the lower layer to perform power control and the like. In a scenario where there are multiple domains (subnets), the multi-domain coordination module may perform information exchange between domains, perform interference avoidance between domains, and balance the load. The 5G convergence module may establish a channel with the cellular 5G remote management capability, utilize the authentication and authorization mechanism, and implement the cellular 5G remote control function on the device.

[0081] The transmission channel may be a channel of the basic service layer, and the logical channel (or described as a logical link) may be a channel of the access layer. One logical channel corresponds to one access technology. When the communication device needs to transmit or broadcast data, the basic service layer of the communication device may transmit the data to the basic service layer through the port. The basic service layer may transmit the data to the access layer through the transmission channel. The access layer may transmit or broadcast the data through the logical channel. When the communication device needs to receive or scan data, the access layer of the communication device may transmit the data received or obtained through scanning through the logical channel to the basic service layer. The basic service layer may transmit the data to the basic application layer through the transmission channel and the port.

[0082] For example, as shown in FIG. 3A, the basic application layer may transmit non-IP data carrying the AID to the basic service layer through a port, or may transmit IP data carrying IP quintuplets to the basic service layer through a port. The basic service layer may transmit the data sent by the basic application layer to the access layer through a transmission channel according to a transmission and control adaptation protocol, or may transmit the data sent by the basic application layer to the access layer through a transmission channel according to the IP protocol, or may transmit the data sent by the basic application layer to the access layer through a transmission channel in a transparent data transmission mode. Whether data transmission is performed according to the transmission and control adaptation protocol, whether data transmission is performed according to the IP protocol, or whether data transmission is performed in a transparent data transmission mode can be determined through an ultra path interconnect (UPI).

[0083] In addition, the transmission in the basic service layer may be classified into control plane transmission and traffic plane transmission. Correspondingly, the transmission channels in the basic service layer may include a control channel and a traffic channel. The control channel is for transmitting control plane data, and the traffic channel is for transmitting traffic plane data. The establishment of the traffic channel between communication devices is based on the establishment of the control channel. Therefore, the procedures regarding the traffic channel in the embodiments of this application are executed based on the establishment of the control channel. The procedures for establishing the control channel are not described in the embodiments of this application.

[0084] The service channel may include a unicast service channel, a multicast service channel, and a broadcast service channel. The unicast service channel is a service channel used to transmit unicast services and can implement peer-to-peer transmission. The multicast service channel is a service channel used to transmit multicast services and can implement peer-to-group transmission. The multicast service channel has feedback (positive response) at the lower layer and has reliability at the lower layer. The broadcast service channel is a service channel used to transmit broadcast services and can implement connectionless transmission. The broadcast service channel has no feedback (positive response) at the lower layer, and reliability needs to be guaranteed through multiple transmissions. Embodiments of this application mainly describe procedures related to the broadcast service channel.

[0085] It should be noted that one or more ports of the basic application layer may correspond to the same transmission channel of the basic service layer, and one or more transmission channels of the basic service layer may correspond to the same logical channel of the access layer. In addition, the logical channel is the basis for establishing a transmission channel in the basic service layer, and the transmission channel of the basic service layer is available only after the logical channel is successfully established.

[0086] As shown in FIG. 3B, the access layer may be responsible for processing logical channels at a lower layer, for example, establishing, reconfiguring, or deleting logical channels, in order to undertake the service requirements of the basic service layer (e.g., reliable data and real-time data). The logical channels may be used to transmit services between two communication devices. The access layer may include multiple access technologies, including but not limited to the access technology of the sparklink basic (SLB) short-range wireless communication system, the access technology of the sparklink low energy (SLE) short-range wireless communication system, and other access technologies, such as Bluetooth low energy (BLE) technology, and other future SparkLink Alliance access technologies. In the embodiments of this application, the SLB access technology and the SLE access technology are mainly used as examples for briefly explaining the architecture of the access layer.

[0087] For example, as shown in FIG. 3B, the access layer may include a data link layer and a physical layer. The data link layer can perform functions such as resource management, access control, and data segmentation, data cascading, and data reordering to ensure reliable data transmission. The physical layer may use a transmission medium to provide a physical connection to the data link layer to achieve transparent transmission of the bit stream. In some embodiments, the data link layer may further include a link control layer and a media access layer. The link control layer mainly exchanges a link control protocol (LCP) on the control link based on the links established between nodes to implement functions such as physical / logical link management and device behavior control. The media access layer is responsible for allocating wireless resources and providing a data transmission service for the link control layer. In the embodiments of this application, the SLB access technology is mainly responsible for the transmission of high-bandwidth, high-rate, and high-power services (such as video playback services), and the SLE access technology is mainly responsible for the transmission of low-bandwidth, low-rate, and low-power services (such as audio playback services).

[0088] Optionally, for a communication device that supports both access technologies (e.g., both SLB access technology and SLE access technology), the access layer of the communication device can implement SLB access and SLE access through different modules. In the embodiments of this application, services at the upper layer may be dynamically transmitted using multiple access technologies to improve the flexibility of service transmission.

[0089] It can be understood that the names of the two access technologies described above are merely examples and should not be construed as limitations on the embodiments of this application. In other embodiments or in future architectures, the SLB access technology and the SLE access technology may alternatively use other names.

[0090] Based on the above description, the host protocol (or described as the protocol of the upper layer) including the basic application layer and the basic service layer may adapt to the access layer of the lower layer to meet the requirements of different services. Specifically, the host protocol may provide requests for a set of service functions to start a service and may be used for the transmission and control of service data. In addition, in the embodiments of this application, each communication device may support at least one access technology, for example, it may support either the SLB access technology or the SLE access technology. Regardless of the access technology supported by the access layer, the upper layer can use a unified host protocol. In other words, the host protocol is compatible with multiple access technologies.

[0091] In a specific implementation, for a communication device using the protocol architecture shown in FIG. 1 or FIGS. 3A and 3B, the layer architecture, for example, the basic application layer, the basic service layer, and the access layer, may all use the configuration structure shown in FIG. 4 or may include the components shown in FIG. 4. FIG. 4 is a schematic diagram of the configuration of a communication device 400 according to an embodiment of this application. The communication device 400 may be the basic application layer, or a chip or system-on-chip of the basic application layer, or the basic service layer, or a chip or system-on-chip of the basic service layer, or the access layer, or a chip or system-on-chip of the access layer. As shown in FIG. 4, the communication device 400 includes a processor 401, a transceiver 402, and a communication line 403.

[0092] Furthermore, the communication device 400 may include a memory 404. The processor 401, the memory 404, and the transceiver 402 may be connected through the communication line 403.

[0093] Processor 401 is a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. Processor 401 may alternatively be other devices having processing capabilities, such as circuits, components, or software modules. This is not limited thereto.

[0094] Transceiver 402 is configured to communicate with other devices or other communication networks. The other communication networks may be, for example, Ethernet, a radio access network (RAN), or a wireless local area network (WLAN). Transceiver 402 may be a module, a circuit, a transceiver, or any device capable of performing communication.

[0095] Communication line 403 is configured to transmit information among components included in communication device 400.

[0096] Memory 404 is configured to store instructions. The instructions may be a computer program.

[0097] Memory 404 may be a read-only memory (ROM), or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM), or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other compact disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, or Blu-ray optical discs, etc.), or a magnetic disc storage medium or other magnetic storage device, etc. There is no limitation in this regard.

[0098] It should be noted that memory 404 may be independent of processor 401 or integrated with processor 401. Memory 404 may be configured to store instructions, program codes, or some data, etc. Memory 404 may be disposed inside communication device 400 or outside communication device 400. There is no limitation in this regard. Processor 401 is configured to execute the instructions stored in memory 404 to implement the channel configuration method provided in the following embodiments of this application.

[0099] In an example, processor 401 may include one or more CPUs, for example, CPU0 and CPU1 in FIG. 4.

[0100] In an optional implementation, communication device 400 includes a plurality of processors. For example, in addition to processor 401 in FIG. 4, communication device 400 may further include processor 407.

[0101] In an optional implementation, the communication device 400 further includes an output device 405 and an input device 406. For example, the input device 406 can be a device such as a keyboard, a mouse, a microphone, or a joystick, and the output device 405 can be a device such as a display or a loudspeaker (speaker).

[0102] It should be noted that the communication device 400 can be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a structure similar to that shown in FIG. 4. Additionally, the configuration structure shown in FIG. 4 does not constitute a limitation on the communication device. In addition to the components shown in FIG. 4, the communication device can include more or fewer components than those shown in the figure, some components can be combined, or different component arrangements can be utilized.

[0103] In an embodiment of this application, the chip system can include a chip or can include a chip and other separate components.

[0104] In addition, actions and terms in the embodiments of this application can be cross-referenced to each other. This is not limited thereto. In the embodiments of this application, the names of messages exchanged between devices, or the names of parameters within the messages, etc. are merely examples. Other names can alternatively be used in specific implementations. This is not limited thereto.

[0105] Referring to the protocol architecture shown in FIG. 1, or FIGS. 3A and 3B, the channel configuration method provided in the embodiments of this application will be described below. The first device needs to perform broadcasting and can be any communication device in the communication system that utilizes the protocol architecture shown in FIG. 1, or FIGS. 3A and 3B. The first device may also be referred to as a broadcast party communication device. The second device needs to perform scanning and can be any communication device in the communication system that utilizes the protocol architecture shown in FIG. 1, or FIGS. 3A and 3B. The second device may also be referred to as a scan party communication device. The layer architectures of the first device and the second device described in the following embodiments may have the components shown in FIG. 4.

[0106] FIG. 5 is a flowchart of a channel configuration method applied to a first device according to an embodiment of this application. As shown in FIG. 5, the method may include the following steps.

[0107] Step 501: The basic service layer determines a first port based on the first service requirement.

[0108] When the basic application layer needs to perform a broadcast service, the basic application layer may determine a port based on the service requirement of the broadcast service, and the service requirement may be regarded as the attribute of the port.

[0109] That the service requirement is the first service requirement is used as an example. The basic application layer may determine a first port based on the first service requirement.

[0110] The first service requirement may include a quality of service identifier (QI), and the QI may indicate service requirements for the transmission channel, such as transmission rate, latency, packet loss rate, communication periodicity, or maximum packet size.

[0111] Optionally, the basic application layer further determines the transmission channel type based on the first service requirement.

[0112] The transmission channel type may include a unicast service channel, a multicast service channel, and a broadcast service channel. In this embodiment of the present application, when the basic application layer needs to execute broadcast services, the basic application layer may determine that the transmission channel type is a broadcast service channel.

[0113] Optionally, the basic application layer further determines the first indication information based on the first service requirement.

[0114] The first indication information may indicate whether the transmission channel is dedicated to the transmission of the first service data.

[0115] Specifically, when the basic application layer determines based on the first service requirement that a transmission channel dedicated to the transmission of the first service data needs to be used, the first indication information may indicate that the transmission channel is dedicated to the transmission of the first service data, and in order to indicate to the basic service layer to configure a transmission channel dedicated to the transmission of the first service data and transmit the first service data through the configured transmission channel, the basic application layer may send the first indication information to the basic service layer.

[0116] When the basic application layer determines, based on the first service requirement, that there is no need to use a transmission channel dedicated to the transmission of the first service data, the first indication information may indicate that the transmission channel is not dedicated to the transmission of the first service data, and the basic application layer may transmit the first indication information to the basic service layer in order to configure a transmission channel that can meet the first service requirement and indicate to the basic service layer to transmit the first service data through the configured transmission channel.

[0117] Step 502: The basic application layer transmits the first information to the basic service layer. Correspondingly, the basic service layer receives the first information.

[0118] The first information may include the first service requirement and the identification information of the first port. The first information may be used to request the basic service layer to configure a transmission channel for the first port.

[0119] Specifically, the first information may be used to request the basic service layer to configure a transmission channel that can meet the first service requirement for the first port.

[0120] Optionally, the first information further includes a transmission channel type in order to request the basic service layer to configure a transmission channel that conforms to the transmission channel type for the first port.

[0121] Optionally, the first information further includes the first indication information, whereby the basic service layer determines, based on the first indication information, whether to configure a transmission channel dedicated to the transmission of the first service data for the first port.

[0122] Optionally, the basic application layer transmits the first information to the channel management module of the basic service layer, whereby the channel management module of the basic service layer configures a transmission channel for the first port based on the first information.

[0123] Step 503: The basic service layer determines a first broadcast service channel based on the first information.

[0124] The basic service layer may configure a transmission channel for the first port based on the first service requirement in the first information, and the transmission channel may be the first broadcast service channel.

[0125] In the first example, the basic service layer may establish a first broadcast service channel based on the first information.

[0126] When the basic service layer determines that the relevant parameters of the existing transmission channel cannot meet the first service requirement, the basic service layer may generate a transmission channel that can meet the first service requirement, and determine the generated transmission channel as the first broadcast service channel corresponding to the first port.

[0127] Optionally, when the first information includes a transmission channel type, the basic service layer may generate a transmission channel that conforms to the transmission channel type based on the transmission channel type. In this embodiment of this application, for the broadcast service, the transmission channel type may indicate that the type of the transmission channel is a broadcast service channel. When generating the transmission channel, the basic service layer may generate a first broadcast service channel whose type is a broadcast service channel based on the transmission channel type.

[0128] In the second example, the basic service layer may reuse the first broadcast service channel based on the first information.

[0129] When the basic service layer determines that the relevant parameters of the existing transmission channel can meet the first service requirement, the basic service layer may directly reuse the existing transmission channel, that is, determine the existing transmission channel as the first broadcast service channel corresponding to the first port. Alternatively, the first broadcast service channel may be reused in the reconstruction manner shown in the following third example. In the second example, an example where the first broadcast service channel is directly reused is used for illustration.

[0130] Optionally, when the first information includes a transmission channel type, the basic service layer determines whether there is a transmission channel in the existing transmission channels that meets the first service requirement and is compatible with the transmission channel type. If a transmission channel exists, that transmission channel may be determined as the transmission channel corresponding to the first port. In this embodiment of this application, for the broadcast service, the transmission channel type may indicate that the type of the transmission channel is a broadcast service channel, and the basic service layer determines whether there is a broadcast service channel in the existing transmission channels that can meet the first service requirement. If a broadcast service channel exists, that broadcast service channel may be determined as the first broadcast service channel corresponding to the first port.

[0131] In the third example, the basic service layer may reconstruct the first broadcast service channel based on the first information.

[0132] When the basic service layer determines that the relevant parameters of the existing transmission channel cannot meet the first service requirement, the basic service layer may reconfigure the relevant parameters of the existing transmission channel so as to meet the first service requirement, and determine the reconfigured transmission channel as the first broadcast service channel corresponding to the first port.

[0133] Optionally, when the first information includes a transmission channel type, the basic service layer may reconfigure the transmission channel corresponding to the transmission channel type based on the transmission channel type. In this embodiment of this application, for the broadcast service, the transmission channel type may indicate that the type of the transmission channel is a broadcast service channel, and the basic service layer may reconfigure the relevant parameters of the existing broadcast service channel to obtain the first broadcast service channel.

[0134] Based on the above three examples, optionally, the first information further includes first indication information.

[0135] When the first indication information indicates that the transmission channel is dedicated to the transmission of the first service data, the basic service layer may generate the first broadcast service channel by using the method shown in the first example, so that the first broadcast service channel becomes dedicated to the transmission of the first service data. In addition, the first broadcast service channel is not reused in other subsequent procedures. When the first indication information indicates that the transmission channel is not dedicated to the transmission of the first service data, the basic service layer may generate the first broadcast service channel by using the method shown in the first example, or may reuse the first broadcast service channel by using the method shown in the second example, or may reuse the first broadcast service channel in a reconfiguration manner by using the method shown in the third example. This is not limited thereto.

[0136] When the first indication information indicates that the transmission channel is dedicated to the transmission of the first service data, the basic service layer may determine to determine the first broadcast service channel using the method shown in the first example by itself, or determine to determine the first broadcast service channel using the method shown in the first example based on a preset rule or a preset in the communication protocol. It should be noted that this is not limited.

[0137] When the first indication information indicates that the transmission channel is not dedicated to the transmission of the first service data, or when the first information does not include the first indication information, the basic service layer may determine to determine the first broadcast service channel using the first example, the second example, or the third example by itself, or determine to determine the first broadcast service channel using the first example, the second example, or the third example based on a preset rule or a preset in the communication protocol. It should be noted that this is not limited.

[0138] After configuring the first broadcast service channel for the first port, the basic service layer may store the second mapping relationship.

[0139] The second mapping relationship may include the identification information of the first port and the identification information of the transmission channel corresponding to the first port, that is, the second mapping relationship includes the identification information of the first port and the identification information of the first broadcast service channel.

[0140] The identification information of the transmission channel may be a transmission channel identifier (TCID) that uniquely identifies the transmission channel.

[0141] As an example, it is used that the identification information of the first port is port1 and the identification information of the first broadcast service channel is TCID1. The second mapping relationship may include port1 and TCID1.

[0142] Optionally, the basic service layer determines a first access technology based on the first service requirement.

[0143] The basic service layer may determine a first access technology that can meet the first service requirement from among a plurality of access technologies supported by the access layer based on the first service requirement, whereby the access layer executes a broadcast service using the first access technology.

[0144] The basic service layer may further determine a logical channel type based on the first service requirement.

[0145] The logical channel type may be divided in different ways based on different access technologies.

[0146] For example, for the SLE access technology, the logical channel type may include an asynchronous logical channel, a synchronous logical channel, and a unidirectional logical channel, etc.

[0147] For example, for the SLB access technology, the logical channel type may include an unacknowledged mode (UM) logical channel, an acknowledged mode (AM) logical channel, and a transparent mode (TM) logical channel, etc.

[0148] When an AM mode logical channel is used for transmission, it is necessary to add the header information of the link control layer, and the link control layer reports the status. When a UM mode logical channel is used for transmission, it is necessary to add the header information of the link control layer, and the link control layer does not report the status. When a TM mode logical channel is used for transmission, the header information of the link control layer is not added, and the link control layer does not report the status. The basic service layer of the first device may select a logical channel type based on the first service requirement and / or the first access technology, and indicate the logical channel type to the access layer.

[0149] For example, for the service of a payment application, the basic service layer may select a logical channel type with high reliability and confidentiality. For the service of a video application, the channel management module may select a logical channel type with low latency.

[0150] Since one logical channel corresponds to one access technology, the process of selecting a logical channel type by the basic service layer may here be regarded as the process of selecting an access technology by the basic service layer, and it should be noted that the basic application layer does not sense the access technology used by the lower layer. When the basic service layer sends the logical channel type to the access layer, the basic service layer may send second indication information indicating the first access technology to the access layer, or it may not be necessary to send the second indication information indicating the first access technology to the access layer. When the basic service layer does not send the second indication information to the access layer, the access layer may determine the first access technology based on the logical channel type.

[0151] Alternatively, when the access layer implements different access technologies using different modules, the basic service layer may further send the following second indication information to a module within the access layer that supports the first access technology, whereby the access layer transmits broadcast services via the module that supports the first access technology. In this case, the basic service layer may not need to send the second indication information indicating the first access technology to the access layer.

[0152] Optionally, the basic service layer further determines third indication information based on the first service requirement.

[0153] The third indication information may indicate whether the logical channel is dedicated to the transmission of the first service data.

[0154] Specifically, when the basic service layer determines that a logical channel dedicated to the transmission of the first service data needs to be used based on the first service requirement, the third indication information may indicate that the logical channel is dedicated to the transmission of the first service data. To configure a logical channel dedicated to the transmission of the first service data and indicate to the access layer to transmit the first service data through the configured logical channel, the basic service layer may send the third indication information to the access layer.

[0155] When the basic service layer determines that a logical channel dedicated to the transmission of the first service data does not need to be used based on the first service requirement, the third indication information may indicate that the logical channel is not dedicated to the transmission of the first service data. To configure a logical channel that can meet the first service requirement and indicate to the access layer to transmit the first service data through the configured logical channel, the basic service layer may send the third indication information to the access layer.

[0156] Optionally, the channel management module of the basic service layer executes the actions or functions performed by the basic service layer in step 503 above.

[0157] Step 504: The basic service layer sends second indication information to the access layer. Correspondingly, the access layer receives the second information.

[0158] The second information may include the first service requirement, the identification information of the first broadcast service channel, and the logical channel type. The logical channel type indicates the type of the logical channel.

[0159] The second information may be used to request the access layer to configure a logical channel that conforms to the first service requirement and the logical channel type for the first broadcast service channel.

[0160] Specifically, after receiving the first service requirement carried by the basic application layer, the basic service layer extracts and processes the first service requirement to generate a first service requirement that can be parsed by the access layer, and may carry second information including the first service requirement that can be parsed by the access layer to the access layer.

[0161] Optionally, the second information further includes second indication information for requesting the access layer to configure a logical channel that conforms to the first access technology for the first broadcast service channel.

[0162] Optionally, the second information further includes third indication information, whereby the access layer determines whether to configure a logical channel dedicated to the transmission of the first service data for the first broadcast service channel based on the third indication information.

[0163] Optionally, the channel management module of the basic service layer transmits the second information to the access layer, whereby the access layer configures a logical channel of the first broadcast service channel based on the second information.

[0164] Step 505: The access layer determines a first logical channel based on the second information.

[0165] The access layer may configure a logical channel that conforms to the first service requirement and the logical channel type for the first broadcast service channel based on the first service requirement and the logical channel type within the second information. The logical channel may be the first logical channel.

[0166] In a first example, the access layer may establish a first logical channel based on the second information.

[0167] When the access layer determines that the relevant parameters of the existing logical channel cannot conform to the first service requirement and / or the logical channel type, the access layer generates a logical channel that can conform to the first service requirement and the logical channel type, and may determine the generated logical channel as the first logical channel corresponding to the first broadcast service channel.

[0168] Optionally, when the second information includes second indication information, the access layer may generate a first logical channel that conforms to the first access technology based on the second indication information.

[0169] In a second example, the access layer may reuse the first logical channel based on the second information.

[0170] When the access layer determines that the relevant parameters of the existing logical channel can meet the first service requirement and the logical channel type, the access layer may directly reuse the existing logical channel, that is, determine the existing logical channel as the first logical channel corresponding to the first broadcast service channel. Alternatively, the first logical channel may be reused in the reconstruction method described in the following third example. In the second example, an example where the first logical channel is directly reused is used for illustration.

[0171] Optionally, when the second information includes the second indication information, the access layer determines whether there is a logical channel that meets the first service requirement and is compatible with the logical channel type among the existing logical channels in the first access technology. If a logical channel exists, the access layer may determine that logical channel as the first logical channel corresponding to the first broadcast service channel.

[0172] In the third example, the access layer may reconstruct the first logical channel based on the second information.

[0173] When the access layer determines that the relevant parameters of the existing logical channel cannot meet the first service requirement and / or the logical channel type, the access layer reconstructs the relevant parameters of the existing logical channel so that they meet the first service requirement and the logical channel type, and may determine the reconstructed logical channel type as the first logical channel corresponding to the first broadcast service channel.

[0174] Optionally, when the second information includes the second indication information, the access layer may reconstruct the logical channel corresponding to the first access technology based on the second indication information to obtain the first logical channel.

[0175] Based on the above three examples, optionally, the second information further includes the third indication information.

[0176] When the third indication information indicates that the logical channel is dedicated to the transmission of the first service data, the access layer may generate the first logical channel by using the method shown in the first example, whereby the first logical channel becomes dedicated to the transmission of the first service data. In addition, the first logical channel is not reused in other subsequent procedures. When the third indication information indicates that the logical channel is not dedicated to the transmission of the first service data, the access layer may generate the first logical channel by using the method shown in the first example, or may directly reuse the first logical channel by using the method shown in the second example, or may reuse the first logical channel in a reconfiguration manner by using the method shown in the third example. There is no limitation on this.

[0177] It should be noted that when the third indication information indicates that the logical channel is dedicated to the transmission of the first service data, the access layer may determine to determine the first logical channel by using the method shown in the first example by itself, or may determine to determine the first logical channel by using the method shown in the first example based on a preset rule or a preset in the communication protocol. There is no limitation on this.

[0178] When the third indication information indicates that the logical channel is not dedicated to the transmission of the first service data, or when the second information does not include the third indication information, the access layer may determine to determine the first logical channel by using the first example, the second example, or the third example by itself, or may determine to determine the first logical channel by using the first example, the second example, or the third example based on a preset rule or a preset in the communication protocol. There is no limitation on this.

[0179] Optionally, after configuring the first logical channel for the first broadcast service channel, the access layer stores the first mapping relationship.

[0180] The first mapping relationship may include the identification information of the first broadcast service channel and the identification information of the logical channel corresponding to the first broadcast service channel. That is, the first mapping relationship includes the identification information of the first broadcast service channel and the identification information of the first logical channel.

[0181] The identification information of the logical channel may be a logical channel identifier (LCID) that uniquely identifies the logical channel.

[0182] As an example, it is assumed that the identification information of the first broadcast service channel is TCID1 and the identification information of the first logical channel is LCID1. The first mapping relationship may include TCID1 and LCID1.

[0183] Optionally, as shown in FIG. 5, after determining the first logical channel, the access layer may broadcast service broadcast packets on the service channel periodically. In this case, the content of the service broadcast packet may be null.

[0184] Step 506: The access layer sends the first mapping relationship to the basic service layer. Correspondingly, the basic service layer receives the first mapping relationship.

[0185] The first mapping relationship may include the identification information of the first broadcast service channel and the identification information of the first logical channel.

[0186] After receiving the first mapping relationship, the basic service layer may determine that the access layer has configured the corresponding logical channel for the first broadcast service channel, and the logical channel is the first logical channel.

[0187] Optionally, the access layer sends the first mapping relationship to the channel management module of the basic service layer.

[0188] Optionally, the method shown in FIG. 5 further includes the following step 507.

[0189] Step 507: The basic service layer sends the second mapping relationship to the basic application layer. Correspondingly, the basic application layer receives the second mapping relationship.

[0190] The second mapping relationship may include the identification information of the first port and the identification information of the first broadcast service channel.

[0191] After receiving the second mapping relationship, the basic application layer may determine that the basic service layer has configured a corresponding transmission channel for the first port, and the transmission channel is the first broadcast service channel.

[0192] Optionally, the channel management module of the basic service layer sends the second mapping relationship to the basic application layer.

[0193] Based on the method shown in FIG. 5, the first device may be used to transmit broadcast services and configure a channel including the first port, the first broadcast service channel, and the first logical channel, so that the broadcast services are transmitted through the configured channel, and one-to-many broadcast services are realized to meet the service requirements. In addition, the access layer of the first device may support multiple access technologies, thereby improving the flexibility of the transmission of broadcast services.

[0194] Furthermore, after completing the channel configuration using the method shown in FIG. 5, the first device may further broadcast information about the configured channels using the method shown in FIG. 6.

[0195] FIG. 6 shows a method for broadcasting information about the configured channels according to an embodiment of this application. As shown in FIG. 6, the method may be applied to the first device, and the method may include the following steps.

[0196] Step 601: The basic application layer sends the third information to the basic service layer. Correspondingly, the basic service layer receives the third information.

[0197] The third information may include the first service information, the identification information of the first port, and the identification information of the first broadcast service channel.

[0198] The first service information may include one or more of the following, namely, service type, service name, and service description.

[0199] For example, the service type may be an audio service, a video service, or a call service. This is not limited thereto. Further, the audio service may be further classified into a standard audio playback service and a lossless audio playback service, etc., and the video service may be further classified into a high-definition video playback service and a standard video playback service, etc.

[0200] The service name may be the name of the broadcast service, and the service description may be a further description of the service name by the user.

[0201] For example, the service description may be a user-defined service name.

[0202] The basic application layer may send third information to the basic service layer through the first port, whereupon the basic service layer then sends data from the first port through a transmission channel corresponding to the first port based on the mapping relationship between the first port and the transmission channel.

[0203] The basic application layer carries the first service information, whereby the access layer can broadcast the first service information, and then a scan party communication device that receives the first service information determines whether to configure a channel for the service and receive service data based on the first service information. If the scan party communication device determines, based on the first service information, that service data needs to be acquired, the scan party communication device may configure a corresponding channel for the service and then receive service data through the configured channel.

[0204] Optionally, the basic application layer sends the third information to the device discovery module of the basic service layer.

[0205] Step 602: The basic service layer sends fourth information to the access layer. Correspondingly, the access layer receives the fourth information.

[0206] The fourth information may include the first service information, the identification information of the first port, the identification information of the first broadcast service channel, and the identification information of the first logical channel.

[0207] The basic service layer may send the fourth information to the access layer through the first broadcast service channel, whereupon the access layer then sends data from the first broadcast service channel through a logical link corresponding to the first broadcast service channel based on the correspondence between the first broadcast service channel and the logical link.

[0208] Optionally, the device discovery module of the basic service layer transmits fourth information to the access layer.

[0209] Step 603: The access layer broadcasts the fourth information.

[0210] The access layer may transmit the fourth information through the first logical channel and broadcast the fourth information through a broadcast channel or a fixed time-frequency resource based on the first access technology.

[0211] The access layer may broadcast a broadcast message including the fourth information. For example, using the SLE access technology, the access layer broadcasts a broadcast message including the fourth information. As shown in Table 1, the broadcast message may include a broadcast header, broadcast data, and logical channel information. The logical channel information may include identification information of the logical channel. The logical channel information exists after the broadcast data and is independent of the broadcast data. The broadcast header may include indication information indicating whether the logical channel information exists after the broadcast data.

[0212]

Table 1

[0213] Optionally, the access layer may alternatively broadcast service broadcast packets periodically through a service channel. In this case, the content of the service broadcast packet is null. The service broadcast packet with null content may alternatively be described as a data packet that is periodically transmitted before the first service data is transmitted.

[0214] Step 604: The access layer sends the fourth indication information to the basic service layer. Correspondingly, the basic service layer receives the fourth indication information.

[0215] The fourth indication information may indicate that the access layer has completed the broadcast of the fourth information.

[0216] The access layer may send the fourth indication information to the basic service layer through the first logical channel.

[0217] Optionally, the access layer sends the fourth indication information to the device discovery module of the basic service layer.

[0218] Step 605: The basic service layer sends the fourth indication information to the basic application layer. Correspondingly, the basic application layer receives the fourth indication information.

[0219] The basic service layer may transmit the fourth indication information through the first broadcast service channel and send the fourth indication information to the basic application layer through the first port.

[0220] Optionally, the device discovery module of the basic service layer sends the fourth indication information to the basic application layer.

[0221] Based on the method shown in FIG. 6, the basic service layer of the first device may send fourth information including service information and information about the configured channel to the access layer based on the third information sent by the basic application layer, whereby the access layer broadcasts the fourth information. After broadcasting the fourth information, in order to indicate that the broadcast of the fourth information is completed, the access layer may further send fourth indication information to the basic service layer. The basic service layer then reports the fourth indication information to the basic application layer, and the basic application layer obtains the fourth indication information. Thus, the channel configuration is completed. Further, based on the configured channel, the basic application layer sequentially utilizes steps 606 and 607 shown in FIG. 7 to broadcast the first service data through the basic application layer, the basic service layer, and the access layer, and the transmission of the broadcast service can be completed.

[0222] FIG. 7 shows a service data transmission method according to an embodiment of this application. As shown in FIG. 7, the transmission method may be applied to a first device, and the transmission method may include the above steps 601 to 605 and the following steps 606 to 608.

[0223] Step 606: The basic application layer sends the first service data to the basic service layer.

[0224] The basic application layer may send the first service data to the basic service layer through the first port.

[0225] Step 607: The basic service layer sends the first service data to the access layer.

[0226] The basic service layer may transmit the first service data to the access layer through the first broadcast service channel.

[0227] Step 608: The access layer broadcasts the first service data.

[0228] The access layer may transmit the first service data through the first logical channel and broadcast the first service data through the service channel.

[0229] Optionally, the access layer broadcasts a service broadcast packet including the first service data through the service channel.

[0230] Specifically, the access layer may broadcast the first service data using the first access technology.

[0231] In the first example, it is used as an example that the first access technology is the SLE access technology. The SLE access technology is an access technology that can achieve fast discovery and connection and has the advantage of low power consumption. According to the SLE access technology, in the non-connected state, a broadcast party communication device (for example, the first device) usually selects one or more broadcast channels from three fixed broadcast channels to Sequentially send a broadcast message, and a scan party communication device (for example, the second device) may scan the received broadcast message on the broadcast channel on which the broadcast party communication device sends the broadcast message, thereby discovering the broadcast party communication device. In addition, the SLE access technology may support the scan party communication device in continuously sending a scan request to the broadcast party communication device after the broadcast message is received in order to request the broadcast party communication device to send more device information.

[0232] For example, as shown in FIG. 8, according to the SLE access technology, in the disconnected state, the broadcast party communication device may send a broadcast message (i.e., ADV_EXT_IND) on broadcast channel A, broadcast channel B, and broadcast channel C. ADV_EXT_IND is the basic broadcast type of the SLE access technology, and the host protocol of the broadcast party communication device may configure the access layer to send basic broadcasts on the above three broadcast channels based on the SLE access technology. ADV_EXT_IND may also carry time-frequency pointer information used to indicate a broadcast packet (i.e., AUX_ADV_IND) carried on the service channel. The scan party communication device may select a broadcast channel within the scan window for scanning. After receiving the broadcast message, the scan party communication device continues to receive the broadcast packet on the service channel based on the time-frequency pointer information, and may send a scan request to request the broadcast party communication device to continue sending more device information. The broadcast party communication device may receive the scan request based on the reception window. The maximum length of the reception window may be the length of 15 scan requests, and the length may be reconfigured. After receiving the scan request, the broadcast party communication device may return a scan response to the scan party communication device.

[0233] Referring to the SLE access technology shown in FIG. 8 based on the method shown in FIGS. 6 and 7, when broadcasting the fourth information based on step 603 above, the access layer of the first device may broadcast a broadcast message including the fourth information through the broadcast channel. The broadcast message may further carry first time-frequency pointer information, and the first time-frequency pointer information may indicate the time-frequency resource for the broadcast packet. The access layer of the first device may further transmit the broadcast packet through the service channel on the time-frequency resource indicated by the first time-frequency pointer information. The broadcast packet may carry second time-frequency pointer information, and the second time-frequency pointer information may indicate the time-frequency resource for the first service data. When broadcasting the first service data based on step 608 above, the access layer of the first device may broadcast a service broadcast packet including the first service data on the time-frequency resource indicated by the second time-frequency pointer information through the service channel.

[0234] In the SLE access technology, it should be noted that before the broadcast party communication device establishes a connection with the scan party communication device, the broadcast party communication device may send a broadcast message. The broadcast message may include indication information indicating that the broadcast party communication device expects to become a resource scheduling (grant, G) device, or may include indication information indicating that the broadcast party communication device expects to become a terminal (T) device. After obtaining the broadcast message through scanning, the scan party communication device may send a connection request to the broadcast party communication device. The connection request may include indication information indicating that the scan party communication device expects to become a G device, or may include indication information indicating that the scan party communication device expects to become a T device. After receiving the connection request, the broadcast party communication device negotiates with the scan party communication device based on the connection request to determine that the broadcast party communication device becomes a T device and the scan party communication device becomes a G device, thereby establishing a connection. Alternatively, it is determined through negotiation that the broadcast party communication device becomes a G device and the scan party communication device becomes a T device, thereby establishing a connection. Alternatively, the negotiation fails and the connection fails. When the broadcast party communication device successfully establishes a connection with the scan party communication device, the device that becomes a G device can act as a resource scheduling device for resource scheduling.

[0235] As an example, it is utilized that a broadcast message transmitted by a broadcast party communication device includes indication information indicating that the broadcast party communication device expects to become a T device. After acquiring a broadcast message through scanning, the scan party communication device may transmit a connection request to the broadcast party communication device. The connection request includes indication information indicating that the scan party communication device expects to become a G device, and it is assumed that based on the connection request, the broadcast party communication device can determine that the broadcast party communication device is a T device and the scan party communication device is a G device, and successfully establish a connection with the scan party communication device. The scan party communication device acts as a resource scheduling device for resource scheduling. Since both the broadcast party communication device and the scan party communication device expect to become T devices, the connection request includes indication information indicating that the scan party communication device expects to become a T device, and it is assumed that based on the connection request, the broadcast party communication device can determine that the broadcast party communication device is a G device and the scan party communication device becomes a T device, and successfully establish a connection with the scan party communication device. The broadcast party communication device acts as a resource scheduling device for resource scheduling. Alternatively, the broadcast party communication device may reject becoming a G device, that is, the broadcast party communication device rejects establishing a connection with the scan party communication device.

[0236] As another example, a broadcast message transmitted by a broadcast party communication device may include indication information indicating that the broadcast party communication device expects to become a G device. After acquiring the broadcast message through scanning, the scan party communication device may send a connection request to the broadcast party communication device. The connection request includes indication information indicating that the scan party communication device expects to become a T device, and it is assumed that the broadcast party communication device can determine based on the connection request that the broadcast party communication device is a G device and the scan party communication device is a T device, and successfully establish a connection with the scan party communication device. The broadcast party communication device acts as a resource scheduling device for resource scheduling. Since both the broadcast party communication device and the scan party communication device expect to become G devices, the connection request includes indication information indicating that the scan party communication device expects to become a G device, and it is assumed that the broadcast party communication device can determine based on the connection request that the broadcast party communication device is a T device and the scan party communication device becomes a G device, and successfully establish a connection with the scan party communication device. The scan party communication device acts as a resource scheduling device for resource scheduling. Alternatively, the broadcast party communication device may refuse to become a T device, that is, the broadcast party communication device refuses to establish a connection with the scan party communication device.

[0237] In the second example, it is used as an example that the access technology is the SLB access technology. The SLB access technology is an access technology with high bandwidth performance. In the SLB access technology, devices can be classified into G devices and T devices. The G device may be a resource scheduling center. In the SLB access technology, the G device generally sends broadcast messages, and the T device scans and receives the broadcast messages from the G device, and the G device does not scan and discover the T device. In other words, in the SLB access technology, before connection, the device discovery process is unidirectional, and only the T device can discover the G device.

[0238] For example, as shown in FIG. 9, the G device may periodically send a first sync signal (FTS), a second sync signal (STS), a master information block (MIB) message, and a system information block (SIB) message on fixed time-frequency domain resources. After receiving and synchronizing the FTS and STS, the T device completes downlink synchronization, synchronously receives the MIB message, and then receives the SIB message to complete the synchronization procedure between the G device and the T device.

[0239] Referring to the SLB access technology shown in FIG. 9 based on the method shown in FIGS. 6 and 7, when broadcasting the fourth information based on step 603 above, the access layer of the first device may broadcast an SIB message including the fourth information through a broadcast channel. The SIB message may further include a search space. The search space may indicate time-frequency resources where downlink dynamic scheduling information may be located. The downlink dynamic scheduling information may be used to schedule downlink data (e.g., the first traffic data). A scan party communication device (e.g., the second device) may blindly detect the downlink dynamic scheduling information through the search space, obtain the physical resources where the downlink data of the scan party communication device is located, and then parse the downlink data on the corresponding physical resources. When broadcasting the first traffic data based on step 608 above, the access layer of the first device may broadcast a traffic broadcast packet including the first traffic data on the physical resources indicated by the downlink dynamic scheduling information, whereby the scan party communication device can obtain the first traffic data on the corresponding physical resources.

[0240] Based on the methods shown in FIGS. 5 to 9, the first device may configure a channel using the method shown in FIG. 5 and transmit traffic data based on the channel configured using the methods shown in FIGS. 6 to 9. The methods shown in FIGS. 5 to 9 may be applicable to a communication scenario where, when the first device executes a broadcast service in a broadcast manner, the first device does not need to pay attention to who the scan party communication device is, and the scan party communication device does not need to know whether it can completely receive the data broadcast by the first device. For example, the communication scenario may be a broadcast of audio data such as flight information, music, and advertisements within an airport.

[0241] In an embodiment of this application, the channel constituted by the first device may be used to transmit broadcast services, and the entire service does not have to be completed based on the establishment of a connection between the broadcast party communication device and the scan party communication device. As shown in FIG. 10, the first device may perform one-to-many broadcast service transmission based on the configured channel, that is, the first device may broadcast service data based on the configured channel, and there is no need to pay attention to who the scan party communication device is, and the scan party communication device does not need to know whether it can completely receive the service data broadcast by the first device.

[0242] Correspondingly, based on the methods shown in FIGS. 5 to 10, the first device configures a channel, broadcasts first service data, and it is used as an example that the scan party communication device is the second device, and the second device may configure a channel using the method shown in FIG. 11 and receive the first service data using the method shown in FIG. 12.

[0243] FIG. 11 shows a channel configuration method according to an embodiment of this application. As shown in FIG. 11, the method may be applied to a second device, and the method may include the following steps.

[0244] Step 1101: The access layer acquires fourth information.

[0245] The fourth information may include first service data, identification information of a first port, identification information of a first broadcast service channel, and identification information of a first logical channel.

[0246] Specifically, the second device may acquire the fourth information by executing the following steps 1101a to 1101c.

[0247] Step 1101a: The basic application layer sends a scan request to the basic service layer. Correspondingly, the basic service layer receives the scan request.

[0248] When the basic application layer needs to receive broadcast services, the basic application layer may send a scan request to the basic service layer, thereby configuring the access layer through the basic service layer to execute the scan procedure.

[0249] Optionally, the basic application layer further determines a port for the broadcast service based on the service requirements of the broadcast service.

[0250] It is used as an example that the service requirement is the first service requirement. The basic application layer may determine a second port based on the first service requirement.

[0251] Optionally, the basic application layer sends the scan request to the device discovery module of the basic service layer.

[0252] Step 1101b: The basic service layer sends the scan request to the access layer. Correspondingly, the access layer receives the scan request.

[0253] The basic service layer may convert the scan request into a scan request that can be parsed by the access layer, so that the access layer executes the scan procedure based on the scan request.

[0254] Optionally, Access layer is Basic service layer when receiving a plurality of scan requests sent by Access layerIt may arbitrate and merge multiple scan requests to reduce the number of times the second device executes the scan procedure and reduce the power consumption of the second device. In particular, reducing the number of times the access layer in the second device executes the above scan procedure may alternatively be described as reducing duplicate commands executed by the access layer to reduce the power consumption of the second device.

[0255] Optionally, the scan request may include a service type to filter broadcast messages obtained through the scan by the access layer based on the service type.

[0256] Optionally, the device transmission module of the basic service layer transmits the scan request to the access layer.

[0257] Step 1101c: The access layer executes a scan based on the scan request.

[0258] The access layer may execute a scan procedure based on the scan request to obtain a broadcast message.

[0259] In this embodiment of this application, the access layer of the first device may broadcast the fourth information through a broadcast channel, and the access layer of the second device may obtain the fourth information through the scan when executing the scan procedure.

[0260] Step 1102: The access layer transmits the fourth information to the basic service layer. Correspondingly, the basic service layer receives the fourth information.

[0261] After obtaining a broadcast message (e.g., the fourth piece of information) through scanning, the access layer may directly send the broadcast message obtained through scanning to the basic service layer. If the access layer has a filtering function, the access layer may filter the broadcast message obtained through scanning and send the broadcast message obtained through filtering to the basic service layer.

[0262] In this embodiment of this application, the access layer may directly send the fourth piece of information obtained through scanning to the basic service layer, or parse the fourth piece of information to determine whether the service type conforms to the first piece of service information in the scan request and the fourth piece of information. If the service type conforms to the first piece of service information, the fourth piece of information is sent to the basic service layer; if the service type does not conform to the first piece of service information, the fourth piece of information may be discarded.

[0263] Optionally, the access layer sends the fourth piece of information to the device discovery module of the basic service layer.

[0264] Step 1103: The basic service layer sends the fourth piece of information to the basic application layer. Correspondingly, the basic application layer receives the fourth piece of information.

[0265] The basic service layer may filter the broadcast message obtained through scanning by the access layer based on the service type in the scan request and send the filtered broadcast message to the basic application layer.

[0266] In this embodiment of the present application, the basic service layer parses the fourth information and determines whether the service type in the scan request matches the first service information in the fourth information based on the service type and the first service information. If the service type matches the first service information, the fourth information is sent to the basic application layer, and if the service type does not match the first service information, the fourth information may be discarded.

[0267] Optionally, the device discovery module of the basic service layer sends the fourth information to the basic application layer.

[0268] Step 1104: The basic application layer performs port mapping based on the fourth information.

[0269] After receiving the fourth information, the basic application layer may parse the fourth information to obtain the first port and map the second port to the first port, so that the basic application layer of the second device receives the first service data sent by the basic application layer of the first device through the first port through the second port.

[0270] Optionally, the basic application layer further determines the transmission channel type based on the first service requirement.

[0271] The transmission channel type may include a unicast service channel, a multicast service channel, and a broadcast service channel. In this embodiment of the present application, when the basic application layer needs to perform a broadcast service, the basic application layer may determine that the transmission channel type is a broadcast service channel.

[0272] Optionally, the basic application layer further determines first indication information based on the first service requirement.

[0273] The first indication information may indicate whether the transmission channel is dedicated to the transmission of the first service data.

[0274] Regarding the description of determining the transmission channel type and / or the first indication information by the basic application layer of the second device based on the first service requirement, please refer to the relevant description of determining the transmission channel type and / or the first indication information by the basic application layer of the first device based on the first service requirement in step 501 above. Details will not be described again.

[0275] Step 1105: The basic application layer sends the fifth information to the basic service layer. Correspondingly, the basic service layer receives the fifth information.

[0276] The fifth information may include the first service requirement, the identification information of the second port, the identification information of the first broadcast service channel, and the identification information of the first logical channel.

[0277] The fifth information may be used to request the basic service layer to configure a transmission channel for the second port.

[0278] Specifically, the fifth information may be used to request the basic service layer to configure a transmission channel that can meet the first service requirement for the second port.

[0279] Optionally, SecondFor the port of , in order to request the basic service layer to configure a transmission channel that conforms to the transmission channel type, the fifth information further includes the transmission channel type.

[0280] Optionally, the fifth information further includes the first indication information, whereby the basic service layer determines whether to configure a transmission channel dedicated to the transmission of the first service data for the second port based on the first indication information.

[0281] Optionally, the basic application layer sends the fifth information to the channel management module of the basic service layer, whereby the channel management module of the basic service layer configures a transmission channel for the second port based on the fifth information.

[0282] Step 1106: The basic service layer determines the second broadcast service channel based on the fifth information.

[0283] The basic service layer may configure a transmission channel for the second port based on the first service requirement in the fifth information, and the transmission channel may be the second broadcast service channel.

[0284] Specifically, the basic service layer may generate, reconstruct, or reuse the second broadcast service channel based on the fifth information. For the description of determining the second broadcast service channel by the basic service layer of the second device based on the fifth information, refer to the relevant description in step 502 above regarding determining the first broadcast service channel by the basic service layer of the first device based on the first information. Details will not be described again.

[0285] After configuring the second broadcast service channel for the second port, the basic service layer may store the fourth mapping relationship.

[0286] The fourth mapping relationship may include the identification information of the second port and the identification information of the transmission channel corresponding to the second port. That is, the fourth mapping relationship includes the identification information of the second port and the identification information of the second broadcast service channel.

[0287] As an example, it is used that the identification information of the second port is port2 and the identification information of the second broadcast service channel is TCID2. The fourth mapping relationship may include port2 and TCID2.

[0288] Optionally, after configuring the second broadcast service channel for the second port, the basic service layer may further store the mapping relationship between the first broadcast service channel and the second broadcast service channel, whereby the basic service layer of the second device transmits the first service data transmitted by the first device through the first broadcast service channel through the second broadcast service channel.

[0289] Optionally, the basic service layer determines the first access technology based on the first service requirement.

[0290] The basic service layer may further determine the logical channel type based on the first service requirement.

[0291] Optionally, the basic service layer may further determine the third indication information based on the first service requirement.

[0292] For an explanation of determining one or more of the first access technology, logical channel type, and third indication information by the basic service layer of the second device based on the first service requirement, refer to the relevant explanation in step 503 above regarding determining the first access technology, logical channel type, and third indication information by the basic service layer of the first device based on the first service requirement. This is not limited thereto.

[0293] Optionally, the channel management module of the basic service layer executes the actions or functions executed by the basic service layer in step 1106 above.

[0294] Step 1107: The basic service layer transmits the sixth information to the access layer. Correspondingly, the access layer receives the sixth information.

[0295] The sixth information may include the first service requirement, identification information of the second broadcast service channel, identification information of the first logical channel, and the logical channel type. The logical channel type indicates the type of the logical channel.

[0296] The sixth information may be used to request the second broadcast service channel to configure a logical channel that conforms to the first service requirement and the logical channel type.

[0297] Specifically, after receiving the first service requirement carried by the basic application layer, the basic service layer extracts and processes the first service requirement to generate a first service requirement that can be parsed by the access layer, and may carry the sixth information including the first service requirement that can be parsed by the access layer to the access layer.

[0298] Optionally, the sixth information further includes second indication information for requesting the access layer to configure a logical channel conforming to the first access technology for the second broadcast service channel.

[0299] Optionally, the sixth information further includes third indication information, whereby the access layer determines whether to configure a logical channel dedicated to the transmission of the first service data for the second broadcast service channel based on the third indication information.

[0300] Optionally, the channel management module of the basic service layer transmits the sixth information to the access layer, whereby the access layer configures the logical channel of the second broadcast service channel based on the sixth information.

[0301] Step 1108: The access layer determines the second logical channel based on the sixth information.

[0302] The access layer may configure a logical channel conforming to the first service requirement and the logical channel type for the second broadcast service channel based on the first service requirement and the logical channel type in the sixth information. The logical channel may be the second logical channel.

[0303] Specifically, the access layer may generate, reconstruct, or reuse the second logical channel based on the sixth information. For the description of determining the second logical channel by the access layer of the second device based on the sixth information, refer to the relevant description of determining the first logical channel by the access layer of the first device based on the second information in step 505 above. Details will not be described again.

[0304] Optionally, after configuring a second logical channel for the second broadcast service channel, the access layer stores a third mapping relationship.

[0305] The third mapping relationship may include the identification information of the second broadcast service channel and the identification information of the logical channel corresponding to the second broadcast service channel. That is, the third mapping relationship includes the identification information of the second broadcast service channel and the identification information of the second logical channel.

[0306] As an example, it is used that the identification information of the second broadcast service channel is TCID2 and the identification information of the second logical channel is LCID2. The third mapping relationship may include TCID2 and LCID2.

[0307] It should be noted that when the access layer of the second device configures the second logical channel, the identification information of the second logical channel may be the same as the identification information of the first logical channel or different from the identification information of the first logical channel. This is not limited.

[0308] Optionally, after configuring a second logical channel for the second broadcast service channel, the access layer further stores the mapping relationship between the first logical channel and the second logical channel, whereby the access layer of the second device transmits the first service data transmitted by the first device through the first logical channel through the second logical channel.

[0309] Step 1109: The access layer sends the third mapping relationship to the basic service layer. Correspondingly, the basic service layer receives the third mapping relationship.

[0310] The third mapping relationship may include the identification information of the second broadcast service channel and the identification information of the second logical channel.

[0311] After receiving the third mapping relationship, the basic service layer may determine that the access layer has configured a corresponding logical channel for the second broadcast service channel, and the logical channel is the second logical channel.

[0312] Optionally, the access layer sends the third mapping relationship to the channel management module of the basic service layer.

[0313] Optionally, the method shown in FIG. 11 further includes the following step 11010.

[0314] Step 11010: The basic service layer sends the fourth mapping relationship to the basic application layer.

[0315] The fourth mapping relationship may include the identification information of the second port and the identification information of the second broadcast service channel.

[0316] After receiving the fourth mapping relationship, the basic application layer may determine that the basic service layer has configured a corresponding transmission channel for the second port, and the transmission channel is the second broadcast service channel.

[0317] Optionally, the channel management module of the basic service layer sends the fourth mapping relationship to the basic application layer.

[0318] Based on the method shown in FIG. 11, the second device is utilized to receive broadcast services and may configure a channel including a second port, a second broadcast service channel, and a second logical channel, whereby the broadcast services are received through the configured channel, and one-to-many broadcast services are realized to meet service requirements. In addition, the access layer of the second device may support multiple access technologies, thereby improving the flexibility of the transmission of broadcast services.

[0319] Furthermore, after completing channel configuration using the method shown in FIG. 11, the second device may further receive the first service data broadcast by the first device using the method shown in FIG. 12.

[0320] FIG. 12 shows a service data transmission method according to an embodiment of this application. As shown in FIG. 12, the method may be applied to a second device, and the method may include the following steps.

[0321] Step 1201: The access layer acquires the first service data.

[0322] The access layer may receive the first service data using the first access technology.

[0323] In the first example, it is used as an example that the first access technology is the SLE access technology. Refer to the description of the SLE access technology in FIG. 8. The access layer of the second device may obtain a broadcast message that is broadcast by the access layer of the first device and includes fourth information by scanning a broadcast channel. Therefore, the time-frequency resources for the broadcast packet are determined based on the first time-frequency pointer information in the broadcast message, and the broadcast packet is received through a traffic channel on the time-frequency resources indicated by the first time-frequency pointer information. Next, the time-frequency resources for the first traffic data are determined based on the second time-frequency pointer information in the broadcast packet, and a traffic broadcast packet including the first traffic data is received through a traffic channel on the time-frequency resources indicated by the second time-frequency pointer information, thereby determining the first traffic data.

[0324] In the second example, it is used as an example that the first access technology is the SLB access technology. Refer to the description of the SLB access technology in FIG. 9. The access layer of the second device may receive the SIB information transmitted by the access layer of the first device on fixed time-frequency resources, and determine the time-frequency resources on which downlink dynamic scheduling information can be arranged based on the search space in the SIB information. The downlink dynamic scheduling information may be used to schedule downlink data (e.g., the first traffic data). Thereafter, the second device may blindly detect the downlink dynamic scheduling information through the search space to obtain the physical resources on which the first traffic data is arranged, and then parse the first traffic data on the corresponding physical resources.

[0325] It should be noted that the second device can complete synchronization with the first device based on the fourth information. After the synchronization is completed, the access layer of the second device may not need to receive the fourth information, that is, after completing synchronization with the first device, the second device can directly receive the first service data.

[0326] Step 1202: The access layer transmits the first service data to the basic service layer.

[0327] The access layer may transmit the first service data through the second logical link to send the first service data to the basic service layer.

[0328] Step 1203: The basic service layer transmits the first service data to the basic application layer.

[0329] The basic service layer may transmit the first service data through the second broadcast service channel and send the first service data to the basic application layer through the second port.

[0330] Based on the method shown in FIG. 12, the access layer, basic service layer, and basic application layer of the second device can sequentially complete receiving the first service data through the configured channels including the second logical channel, the second broadcast service channel, and the second port.

[0331] In an embodiment of this application, the channels configured by the second device may be used to receive broadcast services, and the entire service is not necessarily completed based on the establishment of a connection between the broadcast party communication device and the scan party communication device. As shown in FIG. 10, the second device can receive broadcast services based on the configured channels.

[0332] Furthermore, based on the channel configuration method and service data transmission method shown in FIGS. 5 to 12, the first device may further stop broadcasting the identification information of the first broadcast service channel at any point in time of the broadcast service by using the method shown in FIG. 13. Thereafter, a new scan party communication device (second device) does not configure a channel based on the first broadcast service channel and receive the first service data.

[0333] FIG. 13 is according to an embodiment of this application Broadcast The shown stop method. As shown in FIG. 13, the method may be applied to the first device, and the method may include the following steps.

[0334] Step 1301: The basic application layer sends the fifth indication information to the basic service layer.

[0335] The fifth indication information may indicate to stop broadcasting the identification information of the first broadcast service channel.

[0336] Step 1302: The basic service layer sends the fifth indication information to the access layer.

[0337] Step 1303: The access layer stops broadcasting the fourth information.

[0338] The access layer may stop broadcasting the fourth information including the identification information of the first broadcast service channel based on the fifth indication information.

[0339] Optionally, the method shown in FIG. 13 further includes the following steps 1304 and 1305.

[0340] Step 1304: The access layer transmits indication information to the basic service layer indicating that the broadcast of the identification information of the first broadcast service channel has stopped.

[0341] Step 1305: The basic service layer transmits indication information to the basic application layer indicating that the broadcast of the identification information of the first broadcast service channel has stopped.

[0342] Based on the method shown in FIG. 13, the basic service layer may transmit the fifth indication information transmitted by the basic application layer to the access layer, whereby the access layer stops broadcasting the identification information of the first broadcast service channel. Thereafter, no new scan party communication device will configure a channel based on the first broadcast service channel and receive the first service data. It should be noted that after the access layer stops broadcasting the identification information of the first broadcast service channel, a scan party communication device with a configured channel may still receive the first service data broadcast by the first device on the configured channel through the channel configured by the first device.

[0343] Furthermore, based on the channel configuration method and service data transmission method shown in FIGS. 5 to 12, the first device may further release the channel configured by the first device using the method shown in FIG. 14.

[0344] FIG. 14 shows a channel release method according to an embodiment of this application. As shown in FIG. 14, the method may be applied to the first device, and the method may include the following steps.

[0345] Step 1401: The basic application layer sends the sixth indication information to the basic service layer.

[0346] The sixth indication information may indicate to release the transmission channel corresponding to the first port, and the sixth indication information may include the identification information of the first port.

[0347] Optionally, after the basic service layer sends the second mapping relationship to the basic application layer based on step 507 above, when the basic application layer sends the sixth indication information to the basic service layer, the basic application layer deletes the second mapping relationship.

[0348] Step 1402: The basic service layer releases the first broadcast service channel based on the sixth indication information and the second mapping relationship.

[0349] Since one or more ports of the basic application layer may correspond to the same transmission channel of the basic service layer, when the port corresponding to the first broadcast service channel includes only the first port, the basic service layer may delete the first broadcast service channel and the second mapping relationship, or the basic service layer may delete the second mapping relationship, thereby completing the release of the first broadcast service channel. When the port corresponding to the first broadcast service channel further includes other ports in addition to the first port, the basic service layer may delete the second mapping relationship, thereby completing the release of the first broadcast service channel.

[0350] Step 1403: The basic service layer sends the seventh indication information to the access layer.

[0351] The seventh indication information may indicate releasing the logical channel corresponding to the first broadcast service channel, and the seventh indication information may include the identification information of the first broadcast service channel.

[0352] Step 1404: The access layer releases the first logical channel based on the seventh indication information and the first mapping relationship.

[0353] Since one or more transmission channels of the basic service layer may correspond to the same logical channel of the access layer, when the transmission channel corresponding to the first logical channel includes only the first broadcast service channel, the access layer may delete the first logical channel and the first mapping relationship, or the access layer may delete the first mapping relationship, thereby completing the release of the first logical channel. When the transmission channel corresponding to the first logical channel further includes other transmission channels in addition to the first broadcast service channel, the access layer may delete the first mapping relationship, thereby completing the release of the first logical channel.

[0354] Optionally, the method shown in FIG. 14 further includes the following steps 1405 and 1406.

[0355] Step 1405: The access layer sends indication information to the basic service layer indicating that the release of the logical channel is completed.

[0356] Step 1406: The basic service layer sends indication information to the basic application layer indicating that the release of the transmission channel is completed.

[0357] When the first device determines that it is necessary to stop the transmission of the broadcast service based on the method shown in FIG. 14, the basic service layer may release the first broadcast service channel corresponding to the first port based on the sixth indication information transmitted by the basic application layer and the second mapping relationship. The basic service layer may further transmit the seventh indication information to the access layer, whereby the access layer releases the first logical channel based on the seventh indication information and the first mapping relationship.

[0358] It should be noted that the method shown in FIG. 13 and the method shown in FIG. 14 may be used independently or in combination. There is no limitation in this regard.

[0359] Corresponding to the release of the channel by the first device in FIG. 14, when the second device no longer needs to receive the broadcast service, the second device may use the method shown in FIG. 15 to release the configured channel.

[0360] FIG. 15 shows a channel release method according to an embodiment of this application. As shown in FIG. 15, the method may be applied to the second device, and the method may include the following steps.

[0361] Step 1501: The basic application layer transmits the eighth indication information to the basic service layer.

[0362] The eighth indication information may indicate to release the transmission channel corresponding to the second port, and the eighth indication information may include the identification information of the second port.

[0363] Optionally, after the basic service layer sends the fourth mapping relationship to the basic application layer, when the basic application layer sends the eighth indication information to the basic service layer, the basic application layer may delete the fourth mapping relationship.

[0364] Step 1502: The basic service layer releases the second broadcast service channel based on the eighth indication information and the fourth mapping relationship.

[0365] Since one or more ports of the basic application layer may correspond to the same transmission channel of the basic service layer, when the port corresponding to the second broadcast service channel includes only the second port, the basic service layer may delete the second broadcast service channel and the fourth mapping relationship, or the basic service layer may delete the fourth mapping relationship, thereby completing the release of the second broadcast service channel. When the port corresponding to the second broadcast service channel further includes other ports in addition to the second port, the basic service layer may delete the fourth mapping relationship, thereby completing the release of the second broadcast service channel.

[0366] Step 1503: The basic service layer sends the ninth indication information to the access layer.

[0367] The ninth indication information may indicate to release the logical channel corresponding to the second broadcast service channel, and the ninth indication information may include the identification information of the second broadcast service channel.

[0368] Step 1504: The access layer releases the second logical channel based on the ninth indication information and the third mapping relationship.

[0369] Since one or more transmission channels of the basic service layer may correspond to the same logical channel of the access layer, when the transmission channel corresponding to the second logical channel includes only the second broadcast service channel, the access layer may delete the second logical channel and the third mapping relationship, or the access layer may delete the third mapping relationship, thereby completing the release of the second logical channel. When the transmission channel corresponding to the second logical channel further includes other transmission channels in addition to the second broadcast service channel, the access layer may delete the third mapping relationship, thereby completing the release of the second logical channel.

[0370] Optionally, the method shown in FIG. 15 further includes the following steps 1505 and 1506.

[0371] Step 1505: The access layer transmits indication information to the basic service layer indicating that the release of the logical channel is completed.

[0372] Step 1506: The basic service layer transmits indication information to the basic application layer indicating that the release of the transmission channel is completed.

[0373] Based on the method shown in FIG. 15, when the second device determines that the reception of the broadcast service needs to be stopped, the basic service layer may release the second broadcast service channel corresponding to the second port based on the eighth indication information transmitted by the basic application layer and the fourth mapping relationship. The basic service layer may further transmit the ninth indication information to the access layer, whereby the access layer releases the second logical channel based on the ninth indication information and the third mapping relationship.

[0374] Above, mainly from the perspective of interaction between devices, the solutions provided in the embodiments of this application have been described. It can be understood that in order to implement the above functions, the device includes a corresponding hardware structure and / or a software module for executing functions. Those skilled in the art should easily notice that this application can be implemented by hardware or a combination of hardware and computer software in combination with the algorithms and steps in the examples described in the embodiments disclosed in this specification. Whether the function is implemented by hardware or by hardware driven by computer software depends on the design constraints of specific applications and technical solutions. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered as departing from the scope of this application.

[0375] In the embodiments of this application, the device may be divided into functional modules based on the above method examples. For example, each functional module may be obtained through division based on each corresponding function, or two or more functions may be integrated into one processing module. The above integrated module may be implemented in the form of hardware or in the form of a software functional module. It should be noted that in the embodiments of this application, the module division is an example and is merely a logical function division. In actual implementation, other division methods may be used.

[0376] When each functional module is obtained through division based on each corresponding function, FIG. 16 shows a communication device 160. When the communication device 160 is disposed within a broadcast party communication device, the communication device 160 may perform actions executed by the basic service layer of the first device in FIGS. 6-15. When the communication device 160 is utilized as a scan party communication device, the communication device 160 may perform actions executed by the basic service layer of the second device in FIGS. 5-15.

[0377] The communication device 160 may include a transceiver module 1601 and a processing module 1602. For example, the communication device 160 may be a communication device, or a chip utilized in a communication device or other coupled devices, or a component having the functions of the above communication device, etc. When the communication device 160 is a communication device, the transceiver module 1601 may be a transceiver, and the transceiver may include an antenna, a radio frequency circuit, etc. The processing module 1602 may be a processor (or a processing circuit), for example, a baseband processor. The baseband processor may include one or more CPUs. When the communication device 160 is a component having the functions of the above communication device, the transceiver module 1601 may be a radio frequency unit. The processing module 1602 may be a processor (or a processing circuit), for example, a baseband processor. When the communication device 160 is a chip system, the transceiver module 1601 may be an input / output interface of the chip (for example, a baseband chip). The processing module 1602 may be a processor (or a processing circuit) of the chip system, and may include one or more central processing units. In this embodiment of this application, it should be understood that the transceiver module 1601 may be implemented by a transceiver or a transceiver-related circuit component, and the processing module 1602 may be implemented by a processor or a processor-related circuit component (or referred to as a processing circuit).

[0378] For example, transceiver module 1601 may be configured to perform all receive and transmit operations executed by the communication device in the embodiments shown in FIGS. 5 to 15, and / or may be configured to support other processes of the technologies described in this specification. Processing module 1602 may be configured to perform all operations executed by the communication device in the embodiments shown in FIGS. 5 to 15 other than receive and transmit operations, and / or may be configured to support other processes of the technologies described in this specification.

[0379] In other possible implementations, in FIG. 16, transceiver module 1601 may be replaced by a transceiver, the transceiver may integrate the functions of transceiver module 1601, and further, processing module 1602 may be replaced by a processor, the processor may integrate the functions of processing module 1602. Further, the communication device 160 shown in FIG. 16 may further include a memory. When transceiver module 1601 is replaced by a transceiver and processing module 1602 is replaced by a processor, the communication device 160 in this embodiment of this application may be the communication device shown in FIG. 4.

[0380] Embodiments of this application further provide a computer-readable storage medium. All or part of the procedures in the above method embodiments may be implemented by a computer program that instructs related hardware. The program may be stored in a computer-readable storage medium. When the program is executed, the procedures of the above method embodiments can be implemented. The computer-readable storage medium may be an internal storage unit of a terminal (including the data transmission end and / or the data reception end) in any one of the above embodiments, for example, the hard disk or memory of the terminal. Alternatively, the computer-readable storage medium may be an external storage device of the terminal, for example, a plug-in hard disk provided on the terminal, a smart media card (SMC), a secure digital (SD) card, or a flash card. Further, the computer-readable storage medium may alternatively include both the internal storage unit and the external storage device of the terminal. The computer-readable storage medium is configured to store a computer program, other programs, and data required by the terminal. The computer-readable storage medium may further be configured to store temporarily output or output-target data.

[0381] It should be noted that in the specification, claims, and accompanying drawings of this application, terms such as "first" and "second" are intended to distinguish different objects, but do not indicate a specific order. In addition, the terms "comprising" and "having" and any other variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device including a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or optionally further include other specific steps or units of the process, method, product, or device.

[0382] In this application, "at least one (item)" means one or more, "a plurality of" means two or more, "at least two (items)" means two, three, or more, and "and / or" is used to describe the association relationship between related objects, and it should be understood that three relationships can exist. For example, "A and / or B" can indicate that only A exists, only B exists, or both A and B exist, and A and B can be singular or plural. The symbol " / " generally indicates an "or" relationship between related objects. "At least one of the following items (parts)" or a similar expression refers to any combination of these items, including any combination of a single item (part) or a plurality of items (parts). For example, at least one of a, b, or c can indicate a, b, c, "a and b", "a and c", "b and c", or "a, b, and c", and a, b, and c can be singular or plural.

[0383] Based on the above description of the implementation, for the purpose of facilitating and simplifying the description, it can be clearly understood by those skilled in the art that the above division of functional modules is merely used as an example for description. In an actual application, the above functions may be assigned to different functional modules for implementation according to requirements, that is, the internal structure of the device is divided into different functional modules to implement all or part of the functions described above.

[0384] In some embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the described device embodiments are merely examples. For example, the division into modules or units is merely a logical function division and may be other divisions in actual implementation. For example, a plurality of units or components may be coupled or integrated with other devices, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be implemented through some interfaces. The indirect coupling or communication connection between devices or units may be implemented in electrical, mechanical, or other forms.

[0385] The units described as separate parts may or may not be physically separate, and the parts shown as units may be one or more physical units, may be located in one place, or may be distributed in different places. Some or all of the units may be selected based on the actual requirements for achieving the objectives of the embodiment solution.

[0386] In addition, the functional units in the embodiments of this application may be integrated into one processing unit, each unit may physically exist alone, or two or more units may be integrated into one unit. The above integrated units may be implemented in the form of hardware or in the form of software functional units.

[0387] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of this application is essentially, or the part that contributes to the current technology, or all or part of the technical solution may be implemented in the form of a software product. The software product is stored in a storage medium and includes several instructions for instructing a device (which may be a single-chip microcomputer or a chip, etc.) or a processor to execute all or part of the steps of the method in the embodiments of this application. The above storage medium includes any medium that can store program codes, such as a USB flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0388] The above description is only a specific implementation of this application and is not intended to limit the protection scope of this application. Any deformation or substitution within the technical scope disclosed in this application should fall within the protection scope of this application. Therefore, the protection scope of this application should be targeted at the protection scope of the claims.

Claims

Claim 1 A method applied to a first device, wherein the first device includes a basic application layer, a basic service layer, and an access layer, the access layer supports a plurality of access technologies, and the method includes: receiving, by the basic service layer, first information from the basic application layer, the first information including a first service requirement and identification information of a first port; transmitting, by the basic service layer, second information to the access layer, the second information including the first service requirement, identification information of a first broadcast service channel, and a logical channel type, the first broadcast service channel being a transmission channel determined based on the first information, the logical channel type indicating a type of a logical channel, the access layer supporting a first access technology, and the first access technology being determined from the plurality of access technologies based on the first service requirement; receiving, by the basic service layer, a first mapping relationship from the access layer, the first mapping relationship including the identification information of the first broadcast service channel and identification information of a first logical channel, the first logical channel supporting the first access technology and being determined based on the second information; storing, by the basic service layer, a second mapping relationship, the second mapping relationship including the identification information of the first broadcast service channel and the identification information of the first port; The method comprising the steps above. Claim 2 The first information further includes one or more of the following: a transmission channel type and first indication information, the transmission channel type indicating that the type of the transmission channel is a broadcast service channel, and the first indication information indicating whether the transmission channel is dedicated to the transmission of first service data. The method according to claim 1. Claim 3 Before the step of transmitting the second information to the access layer by the basic service layer, the method comprises: establishing, by the basic service layer, the first broadcast service channel based on the first information; reconfiguring, by the basic service layer, the first broadcast service channel based on the first information; or reusing, by the basic service layer, the first broadcast service channel based on the first information further comprising: The method according to claim 1. **Claim 4** The second information further includes one or more of the following, namely, second indication information and third indication information. The second indication information indicates the first access technology, and the third indication information indicates whether the logical channel is dedicated to the transmission of first service data. The method according to claim 1. **Claim 5** The method comprises: receiving, by the basic service layer, third information from the basic application layer, the third information including first service information, the identification information of the first port, and the identification information of the first broadcast service channel; transmitting, by the basic service layer, fourth information to the access layer, the fourth information including the first service information, the identification information of the first port, the identification information of the first broadcast service channel, and the identification information of the first logical channel; receiving, by the basic service layer, fourth indication information from the access layer, the fourth indication information indicating that the access layer has completed the broadcast of the fourth information; transmitting, by the basic service layer, the fourth indication information to the basic application layer further comprising: The method according to claim 1. **Claim 6** The first service information includes one or more of the following, namely, service type, service name, and service description. The method according to claim 5. **Claim 7** The method comprises: The step of receiving, by the basic service layer, first service data from the basic application layer through the first port; The step of transmitting, by the basic service layer, the first service data to the access layer through the first broadcast service channel, enabling the access layer to broadcast the first service data through the first logical channel; Further comprising; The method according to claim 5.

8. The method includes: The step of receiving, by the basic service layer, fifth indication information from the basic application layer, wherein the fifth indication information indicates stopping broadcasting the identification information of the first broadcast service channel; The step of transmitting, by the basic service layer, the fifth indication information to the access layer; Further comprising; The method according to claim 5.

9. The method includes: The step of receiving, by the basic service layer, sixth indication information from the basic application layer, wherein the sixth indication information indicates releasing the transmission channel corresponding to the first port; The step of releasing, by the basic service layer, the first broadcast service channel based on the sixth indication information and the second mapping relationship; The step of transmitting, by the basic service layer, seventh indication information to the access layer, wherein the seventh indication information indicates releasing the logical channel corresponding to the first broadcast service channel, whereby the access layer releases the first logical channel based on the seventh indication information and the first mapping relationship; Further comprising; The method according to claim 1.

10. A method applied to a second device, the second device including a basic application layer, a basic service layer, and an access layer, the access layer supporting a plurality of access technologies, the method including: A step of receiving fourth information from the access layer by the basic service layer, where the fourth information includes first service information, identification information of a first port, identification information of a first broadcast service channel, and identification information of a first logical channel. A step of reporting the fourth information to the basic application layer by the basic service layer. A step of receiving fifth information from the basic application layer by the basic service layer, where the fifth information includes first service requirements, identification information of a second port, the identification information of the first broadcast service channel, and the identification information of the first logical channel, and there is a mapping relationship between the second port and the first port. A step of transmitting sixth information to the access layer by the basic service layer, where the sixth information includes the first service requirements, identification information of a second broadcast service channel, the identification information of the first logical channel, and a logical channel type. The second broadcast service channel is a transmission channel determined based on the fifth information, there is a mapping relationship between the second broadcast service channel and the first broadcast service channel, the logical channel type indicates the type of the logical channel, the access layer supports a first access technology, and the first access technology is determined from the plurality of access technologies based on the first service requirements. A step of receiving a third mapping relationship from the access layer by the basic service layer, where the third mapping relationship includes the identification information of the second broadcast service channel and identification information of a second logical channel. The second logical channel supports the first access technology and is a logical channel determined based on the sixth information, and there is a mapping relationship between the second logical channel and the first logical channel. A step of storing a fourth mapping relationship by the basic service layer, wherein the fourth mapping relationship includes the identification information of the second port and the identification information of the second broadcast service channel, and the step A method including the above.

11. The fifth information further includes one or more of the following, namely, a transmission channel type and first indication information. The transmission channel type indicates that the type of the transmission channel is a broadcast service channel, and the first indication information indicates whether the transmission channel is dedicated to the transmission of first service data. The method according to claim 10.

12. Before the step of transmitting the sixth information to the access layer by the basic service layer, the method A step of establishing the second broadcast service channel by the basic service layer based on the fifth information, A step of reconfiguring the second broadcast service channel by the basic service layer based on the fifth information, or A step of reusing the second broadcast service channel by the basic service layer based on the fifth information further includes. The method according to claim 10.

13. The sixth information further includes one or more of the following, namely, second indication information and third indication information. The second indication information indicates the first access technology, and the third indication information indicates whether the logical channel is dedicated to the transmission of first service data. The method according to claim 10.

14. The method A step of receiving, by the basic service layer, first service data transmitted by the access layer through the second logical channel through the second broadcast service channel, and A step of transmitting, by the basic service layer, the first service data to the basic application layer through the second port further includes. The method according to claim 10.

15. The method A step of receiving, by the basic service layer, eighth indication information from the basic application layer, wherein the eighth indication information indicates releasing a transmission channel corresponding to the second port. A step of releasing, by the basic service layer, the second broadcast service channel based on the eighth indication information and the fourth mapping relationship. A step of transmitting, by the basic service layer, ninth indication information to the access layer, wherein the ninth indication information indicates releasing a logical channel corresponding to the second broadcast service channel, whereby the access layer releases the second logical channel based on the ninth indication information and the third mapping relationship. Further including The method according to claim 10.

16. A communication device, comprising a processor and a communication interface, the communication interface being connected to the processor, the processor being configured to execute a computer program or computer instructions, whereby the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 15 is executed, and the communication interface is configured to communicate with modules other than the communication device.

17. A computer-readable storage medium, storing a computer instruction or a computer program, wherein when the computer instruction or the computer program is executed on a computer, the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 15 is executed.

18. A computer program, including computer instructions, wherein when some or all of the computer instructions are executed on a computer, the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 15 is executed.

Citation Information

Patent Citations

  • Communication method and terminal equipment

    CN113259970A

  • METHOD AND APPARATUS FOR CARRIER AGGREGATION IN SIDELINK COMMUNICATIONS - Patent application

    JP2021503727A

  • Bluetooth scanning method and electronic device

    JP2022529032A

  • Method for establishing an SLB connection, electronic device, and communication system - Patents.com

    JP2024539122A

  • Vehicle reception apparatus for receiving broadcast signal and vehicle reception method for receiving broadcast signal

    US20200389196A1