WO2023011231A1 - 配置用于传输业务的通道的方法及装置 - Google Patents

配置用于传输业务的通道的方法及装置 Download PDF

Info

Publication number
WO2023011231A1
WO2023011231A1 PCT/CN2022/107612 CN2022107612W WO2023011231A1 WO 2023011231 A1 WO2023011231 A1 WO 2023011231A1 CN 2022107612 W CN2022107612 W CN 2022107612W WO 2023011231 A1 WO2023011231 A1 WO 2023011231A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
channel
service channel
information
layer
Prior art date
Application number
PCT/CN2022/107612
Other languages
English (en)
French (fr)
Inventor
金猛
赵曜
孙东哲
张景云
朱旭东
张晓风
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023011231A1 publication Critical patent/WO2023011231A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present application relates to the communication field, and more specifically, to a method and device for configuring a channel for transmitting services.
  • Electronic devices can communicate through wireless short-distance communication technology to realize information sharing and wireless transmission of services.
  • wireless short-distance communication technology is also developing continuously.
  • the Sparklink Alliance was established and is committed to promoting the innovation of a new generation of wireless short-distance communication technology and industrial ecology to carry scenarios such as smart cars, smart homes, smart terminals, and smart manufacturing. And meet the ultimate performance requirements.
  • the present application provides a method and device for configuring a channel for transmitting services, which can enable upper layer services to be dynamically transmitted through multiple access technologies and improve the flexibility of service transmission.
  • a method for configuring a channel for transmitting services is provided, which is applied to a first electronic device, and the first electronic device includes a basic application layer, a basic service layer, and an access layer, wherein the basic application layer For issuing service requirements, the access layer supports multiple access technologies, and the method includes: the basic service layer determines to establish a first service channel according to the service requirements; The inbound layer sends first information, the first information is used to apply for a logical channel supporting a first access technology, and the first access technology is selected from the multiple access technologies by the basic service layer ; The basic service layer receives second information from the access layer, the second information is used to indicate that the first service channel establishes a mapping relationship with the first logical channel; the basic service layer sends the second electronic The device sends third information, where the third information is used to instruct the second electronic device to establish a second service channel; the basic service layer receives fourth information from the second electronic device, where the fourth information uses Instructing the second service channel to establish a mapping relationship with the
  • the access layer of the first electronic device may support multiple access technologies.
  • the user does not need to select or specify which access technology to use for service transmission, and the basic service layer selects the underlying access technology according to business requirements, and establishes business channel for transmission.
  • the compatibility of multiple access technologies and the unification of the upper layer can be achieved, that is, the basic application layer does not need to perceive the access technology, and the basic service layer completes functions such as channel creation and distribution.
  • upper-layer services can be dynamically transmitted through multiple access technologies, and the flexibility of service transmission can be improved.
  • the first service channel belongs to a first service channel group, the first service channel group includes at least one service channel, and the first service channel group and the The first port of the first electronic device has a mapping relationship, the first service channel group is used to transmit the data delivered by the first port; the second service channel belongs to the second service channel group, and the second service channel group
  • the channel group includes at least one service channel, the second service channel group has a mapping relationship with the second port of the second electronic device, and the second service channel group is used to transmit data issued by the second port;
  • the first port, the first service channel, the first logical channel, the second service channel, and the second port are used to communicate between the first electronic device and the second electronic device transfer business between them.
  • the basic service layer can select one or more business channels from the business channel group for transmission, and the basic application layer is not aware of how the business channels are transmitted , which can shield the transmission of the bottom layer to the upper layer.
  • the basic service layer determines to establish the first service channel according to the service requirement, including: when the transmission status of the first service channel group does not meet the service requirement , the basic service layer determines to create the first service channel in the first service channel group.
  • the basic service layer can create a new first service channel in the first service channel group for service offloading, so as to improve service transmission efficiency.
  • the method further includes: the basic service layer receives the The service requirement indicates that the basic service layer creates the first service channel group; the basic service layer determines to establish the first service channel, wherein the first service channel is the first service channel The first service channel in the channel group.
  • the basic application layer can initiate the process to instruct the basic service layer to create.
  • the basic service layer before the basic service layer receives the service requirement sent by the basic application layer, it further includes: the basic application layer communicates with the second electronic device Port negotiation, determining that the first electronic device uses the first port, and the second electronic device uses the second port; the basic service layer receives the service requirements sent by the basic application layer, including: The basic service layer receives fifth information sent by the basic application layer, the fifth information is used to indicate to apply for a service channel for the first port; the basic service layer determines the After the mapping relationship between the first service channel and the second service channel, it also includes: the basic service layer sends sixth information to the basic application layer, and the sixth information is used to indicate the relationship between the first port and the Establish a mapping relationship with the first service channel group.
  • the first service channel is a bidirectional transmission channel;
  • the fifth information includes an identifier of the first port and an identifier of the second port;
  • the first Sixth the information includes an identifier of the first port and a first mapping identifier, where the first mapping identifier is used to indicate the first service channel group.
  • the first service channel may be a bidirectional transmission channel, which facilitates mutual service transmission between the first electronic device and the second electronic device.
  • the first service channel is a one-way transmission channel;
  • the fifth information includes the identifier of the first port;
  • the sixth information includes the first A port identifier and a first mapping identifier, wherein the first mapping identifier is used to indicate the first service channel group.
  • the fifth information further includes service channel type information and service quality indication information.
  • the service channel type information can indicate the service channel type, so that the basic service layer can establish a corresponding type of service channel.
  • the method further includes: the basic service layer exchanges channel parameters with the second electronic device negotiate.
  • the basic service layer negotiates channel parameters with the second electronic device, and can use the negotiated parameters to establish a channel to prevent subsequent process establishment failures.
  • the basic service layer determining to establish the first service channel according to the service requirement includes: the basic service layer generating an identifier of the first service channel.
  • the first information includes the identifier of the first service channel; the second information includes the identifier of the first service channel and the first logical channel the identification of the first service channel; the third information includes the identification of the first service channel and the identification of the first logical channel; the fourth information includes the identification of the second service channel and the identification of the first logical channel .
  • the first information includes logical channel type information and service quality information.
  • the first logical channel is an established logical channel, a reconfigured logical channel, or a newly established logical channel.
  • the method further includes: when a preset condition is met, the basic service layer determines to release the first service channel;
  • the entry layer sends seventh information, the seventh information is used to apply for releasing the first logical channel;
  • the basic service layer receives eighth information from the access layer, the eighth information is used to indicate the The mapping relationship between the first service channel and the first logical channel is released;
  • the basic service layer sends ninth information to the second electronic device, and the ninth information is used to instruct the second electronic device to release the first logical channel.
  • the basic service layer receives tenth information from the second electronic device, and the tenth information is used to indicate that the second service channel and the first logical channel are unmapped; the basic The service layer determines the unmapping relationship between the first service channel and the second service channel according to the tenth information, and completes the release of the first service channel.
  • the first service channel can be released, thereby releasing transmission resources and improving resource utilization.
  • the preset condition includes: the first service channel does not transmit data within a preset time period; or, the basic service layer receives the basic application layer Instruction information sent, where the instruction information is used to indicate the release of the first service channel group to which the first service channel belongs, where the first service channel group has a one-to-one relationship with the first port of the first electronic device Mapping relationship, the first service channel group is used to transmit the data issued by the first port.
  • the first service channel When the first service channel does not transmit services for a long time, the first service channel may be released.
  • the first service channel may be released.
  • the method further includes: the basic service layer receives the eleventh information sent by the basic application layer , the eleventh information is used to indicate to release a service channel for the first port of the first electronic device, wherein the first port has a mapping relationship with a first service channel group, and the first service channel group includes the The first service channel; after the basic service layer determines the unmapping relationship between the first service channel and the second service channel according to the tenth information, it also includes: the basic service layer receives the basic application The twelfth information sent by the layer, where the twelfth information is used to indicate that the first port is demapped from the first service channel group.
  • the eleventh information includes the identifier of the first port; the twelfth information includes the identifier of the first port.
  • the seventh information includes the identifier of the first service channel; the eighth information includes the identifier of the first service channel; the ninth information includes The identifier of the first service channel; the tenth information includes the identifier of the second service channel.
  • the method further includes: the parameters of the first logical channel remain unchanged or are reconfigured; or the first logical channel is deleted.
  • the multiple access technologies include Starlight basic SLB access technology and Starlight low-power SLE access technology.
  • an apparatus for configuring a channel for transmitting services including a module or unit for performing the method in the first aspect or any possible implementation manner of the first aspect.
  • the module or unit may be a hardware circuit, or software, or a combination of hardware circuit and software.
  • the device may be an electronic device, or a chip in the electronic device.
  • the device includes a processing unit and a transceiver unit.
  • the processing unit may be a processor
  • the transceiving unit may be a transceiver.
  • the processing unit may be a processor
  • the transceiver unit may be an input/output interface, a pin, or a circuit.
  • the transceiver unit may be called a communication interface.
  • the device further includes a storage unit for storing instructions, and the processing unit executes the instructions stored in the storage unit, so that the device performs the first aspect or the second aspect.
  • the storage unit may be a memory.
  • the storage unit may be a storage unit (such as a register, a cache, etc.) in the chip, or a storage unit located outside the chip in the electronic device. unit (eg, read-only memory, random-access memory, etc.).
  • an apparatus for configuring channels for transmitting services including: a memory for storing computer programs; a processor for executing the computer programs stored in the memory, so that the apparatus executes the above-mentioned The first aspect or the method in any possible implementation manner of the first aspect.
  • the device further includes a transceiver.
  • a device for configuring a channel for transmitting services including: at least one processor and a communication interface, and the communication interface is used to provide the at least one processor with instructions and/or data input or Outputting, the at least one processor executes code instructions, so that the apparatus executes the method in the first aspect or any possible implementation manner of the first aspect.
  • a system on a chip including at least one processor, and when program instructions are executed in the at least one processor, the at least one processor executes any one of the above-mentioned first aspect or the first aspect Methods in Possible Implementations.
  • the chip system further includes a memory, configured to store program instructions and/or data.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • the chip system further includes a transceiver, configured to provide the at least one processor with input or output of instructions and/or data.
  • a computer program product comprising: computer program code, when the computer program code is run on a computer, the computer is made to execute any one of the first aspect or the first aspect Methods in Possible Implementations.
  • a computer-readable medium which stores computer-executable instructions, and when the computer-executable instructions are run on a computer, the computer executes any one of the above-mentioned first aspect or the first aspect.
  • a communication system including the first electronic device and the second electronic device above.
  • the first electronic device may be the device described in any one of the above-mentioned second aspect to the fourth aspect.
  • FIG. 1 is a schematic diagram of a communication system applicable to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a protocol framework provided by an embodiment of the present application.
  • Fig. 3 is a schematic flowchart of creating a non-default service channel provided by an embodiment of the present application.
  • Fig. 4 is a schematic flowchart of creating a non-default service channel provided by another embodiment of the present application.
  • Fig. 5 is a schematic diagram of a conflict occurring during the process of creating a non-default service channel provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of conflict resolution in the process of creating a non-default service channel provided by the embodiment of the present application.
  • Fig. 7 is a schematic flowchart of adding a non-default sub-service channel provided by the embodiment of the present application.
  • Fig. 8 is a schematic flowchart of deleting a non-default sub-service channel provided by the embodiment of the present application.
  • Fig. 9 is a schematic flowchart of releasing a non-default service channel provided by the embodiment of the present application.
  • Fig. 10 is a schematic flowchart of a method for configuring a channel for transmitting services provided by an embodiment of the present application.
  • Fig. 11 is a schematic flowchart of a method for configuring a channel for transmitting services provided by another embodiment of the present application.
  • Fig. 12 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of a device provided by another embodiment of the present application.
  • Fig. 1 shows a schematic diagram of a communication system to which the embodiment of the present application is applicable.
  • the communication system 100 includes multiple electronic devices, and any two electronic devices in the multiple electronic devices can communicate with each other.
  • the electronic device may be any device with wireless transceiver function, including but not limited to cellular phone (cellular phone), cordless phone, session initiation protocol (session initiation protocol) , SIP) phone, smart phone (smart phone), wireless local loop (wireless local loop, WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device, vehicle-mounted device, Wearable devices, drone devices, electronic devices in the Internet of Things or Internet of Vehicles, other devices connected to wireless modems, etc.
  • cellular phone cellular phone
  • cordless phone session initiation protocol (session initiation protocol)
  • SIP session initiation protocol
  • smart phone smart phone
  • wireless local loop wireless local loop
  • WLL wireless local loop
  • PDA personal digital assistant
  • Electronic devices can also be electronic devices in virtual reality (virtual reality, VR), electronic devices in augmented reality (augmented reality, AR), electronic devices in industrial control (such as smart manufacturing), unmanned driving Electronic devices in (self driving), electronic devices in remote medical, electronic devices in smart grid, electronic devices in smart city, smart home electronic equipment, etc.
  • VR virtual reality
  • AR augmented reality
  • AR augmented reality
  • industrial control such as smart manufacturing
  • electronic devices in remote medical electronic devices in smart grid, electronic devices in smart city, smart home electronic equipment, etc.
  • Electronic equipment can also be personal portable electronic equipment, computer peripheral equipment and various household or industrial electrical equipment, including but not limited to smart phones (smart phone), smart screens, smart speakers (such as artificial intelligence (AI) speakers , high fidelity (high fidelity, HiFi) speaker), smart sensor, TV (television) wireless headset, VR headset, tablet computer, monitor, camera, laptop computer, laptop computer (laptop computer), car computer, car Terminals (such as microphones, speakers, etc.), projectors, printers, smart wristbands, smart watches, smart glasses, smart cars, smart lathes, smart monitoring equipment, etc.
  • smart phones smart screens
  • smart speakers such as artificial intelligence (AI) speakers , high fidelity (high fidelity, HiFi) speaker
  • smart sensor TV (television) wireless headset, VR headset, tablet computer, monitor, camera, laptop computer, laptop computer (laptop computer), car computer, car Terminals (such as microphones, speakers, etc.), projectors, printers, smart wristbands, smart watches, smart glasses, smart cars, smart lathes, smart monitoring equipment,
  • the embodiment of the present application does not specifically limit the specific form of the electronic device.
  • the types of multiple electronic devices in the communication system 100 may be partly the same, may be completely the same, or may be completely different.
  • the communication system 100 shown in the figure includes electronic devices 101 , 102 , 103 , 104 , 105 , 106 , 107 . Any one of the electronic devices 101 to 107 may be any electronic device mentioned above. It can be understood that the number of electronic devices included in the communication system 100 may be more or less, which is not limited in this embodiment of the present application, but at least two electronic devices are included. It should be noted that the communication system 100 shown in FIG. 1 is only for schematic illustration, and the communication system may also include other devices, such as routers or base stations, which are not limited in this embodiment of the present application.
  • Electronic devices can communicate through wireless short-distance communication technology to realize information sharing and wireless transmission of services. With the introduction of new requirements and the development of new technologies, wireless short-distance communication technology is also developing continuously. In order to meet the needs of Internet scenarios in the whole industry, the Sparklink Alliance was established and is committed to promoting the innovation of a new generation of wireless short-distance communication technology and industrial ecology to carry scenarios such as smart cars, smart homes, smart terminals, and smart manufacturing. And meet the ultimate performance requirements. The electronic devices involved in the embodiments of this application can communicate based on the new generation of wireless short-distance communication technology designed by the Star Alliance.
  • FIG. 2 shows a schematic diagram of a protocol framework provided by an embodiment of the present application.
  • This protocol framework can be applied to any electronic device that can realize short-distance communication, such as any electronic device in the communication system 100 shown in FIG. 1 .
  • the protocol framework 200 includes an access layer 210 , a basic service layer 220 and a basic application layer 230 from bottom to top.
  • the access layer 210 is mainly responsible for the processing of the underlying logical links, such as the establishment, reconfiguration, and deletion of logical links, in order to undertake the business requirements of the basic service layer 220 (such as reliable data, real-time data, etc.), where the logical link Used to transfer traffic between two electronic devices.
  • the access layer 210 includes a variety of access technologies, including but not limited to the access technology of the sparklink basic (sparklink basic, SLB) short-range wireless communication system, the sparklink low energy (SLE) short-range wireless communication system System access technology and other access technologies, such as Bluetooth low energy (bluetooh low energy, BLE) technology, other Starlight Alliance access technologies in the future, etc., in the embodiment of this application, only SLB and SLE are used to access The technology is taken as an example to briefly introduce the architecture of the access layer 210 .
  • SLB sparklink basic
  • SLE sparklink low energy
  • the access layer 210 may further include a data link layer and a physical layer.
  • the data link layer is used to implement functions such as resource management, access control, data segmentation, cascading, and reordering to ensure reliable data transmission.
  • the physical layer uses the transmission medium to provide a physical connection for the data link layer to realize the transparent transmission of bit streams.
  • the data link layer may include a link control layer and a media access layer.
  • the link control layer is mainly based on the links established between nodes, and interacts with the link control protocol (LCP) on the control link to perform functions such as physical/logical link management and device behavior control.
  • the media access layer is responsible for allocating wireless resources and providing data transmission services for the link control layer.
  • the SLB access technology is mainly responsible for the transmission of large broadband, high speed, and high power consumption services (such as video playback services), and the SLE access technology is mainly responsible for the transmission of small bandwidth, low speed, and low power consumption services (such as audio broadcast business) transmission.
  • a service of the upper layer can be dynamically transmitted through multiple access technologies, so as to improve the flexibility of service transmission.
  • the basic service layer 220 is mainly responsible for the creation, addition, deletion, release, etc. of transmission channels, as well as the control of logical links (such as the selection of access technology), so as to undertake the business requirements of the basic application layer 230 (such as traffic, rate, sound quality, etc.) , resolution). Its design goal is to be compatible with multiple access layer technologies, such as the SLB and SLE access technologies introduced above, and retain the ability to be compatible with more access technologies in the future.
  • the basic service layer 220 may include multiple modules or functional units to achieve the above-mentioned design goals, including but not limited to a device discovery module, a service management module, a channel management module, a quality of service (quality of service, QoS) management module, a security management module, Measurement management module, multi-domain coordination module, 5G fusion module, etc.
  • the device discovery module is used for discovering the device when the device is not connected.
  • the service management module is used to discover and operate services on the device.
  • the channel management module is used to manage transmission channels, including creation/addition/deletion/release. The functions of this module will be introduced in detail later, and will not be described in detail here.
  • the QoS management module is used to manage and negotiate the QoS of transmission.
  • the security management module is responsible for the security connection of the basic service layer.
  • the measurement management module is used to configure the measurement and scheduling of the bottom layer for power control and the like.
  • the multi-domain coordination module realizes information exchange between domains in a scenario where multiple domains (subnets) exist, and realizes interference avoidance and load balancing between multiple domains.
  • the 5G fusion module is used to establish a channel with cellular 5G remote management capabilities, and realize devices with cellular 5G remote control functions through authentication and authentication mechanisms.
  • the transmission of the basic service layer 220 can be divided into the transmission of the control plane and the transmission of the service plane.
  • the transmission channel of the basic service layer 220 can include a control channel and a service channel, wherein the control channel is used to transmit the data of the control plane, and the service channel Used to transmit data on the service plane.
  • the basic application layer 230 is mainly responsible for undertaking different business requirements of upper-layer applications (applications, APPs), and completing routing of data to the basic service layer 220 .
  • the basic application layer 230 may include a plurality of different service function sets (also referred to as service modules or service frameworks), such as audio and video frameworks, data frameworks, and so on.
  • service modules or service frameworks such as audio and video frameworks, data frameworks, and so on.
  • the application layer 230 may include a general perception framework, a general device management framework, a general audio and video framework, a general data framework, and the like.
  • the general perception framework includes the processing of perception data
  • the general device management framework includes the processing of device management data
  • the general audio and video framework includes the processing of audio and video verses, such as codec processing
  • File data processing such as encryption and compression.
  • BID business identification
  • the basic service layer 220 and the basic application layer 230 may be collectively referred to as an upper layer protocol or a Host protocol.
  • the Host protocol can adapt to the underlying access layer 210 to support the needs of different services. Specifically, the Host protocol can provide service modules with requests to initiate services, and transmit and control service data.
  • the electronic device shown in FIG. 1 may support at least one access technology, for example, support at least one of the SLB access technology and the SLE access technology shown in FIG. 2 .
  • the upper layer can adopt a unified Host protocol, that is, the upper layer can be compatible with multiple access technologies.
  • a port is a channel of the basic application layer, and multiple ports can be mapped to the same transmission channel.
  • Transmission channel is the channel of the basic service layer, which can undertake multiple port (port) mapping on the upper side, and can realize the mapping of multiple transmission channels to the same logical channel on the lower side.
  • Logical channel (logical channel, LC) is the channel of the access layer, which can undertake multiple transmission channel mappings. In some embodiments, it may also be referred to as a logical link.
  • One logical channel corresponds to one access technology.
  • the basic application layer 230 has a concept of a port
  • the basic service layer 220 has a concept of a transmission channel
  • the access layer 210 has a concept of a logical channel.
  • a port is a channel of the basic application layer 230
  • a transport channel is a channel of the basic service layer 220
  • a logical channel is a channel of the access layer 210 .
  • Multiple ports can be mapped to the same transmission channel, that is, the port and the transmission channel have a mapping relationship; multiple transmission channels can be mapped to the same logical channel, that is, the transmission channel and the logical channel have a mapping relationship.
  • the logical channel is the basis for the establishment of the transmission channel in the upper basic service layer. After the logical channel is successfully established, the transmission channel of the basic service layer is available. When two electronic devices communicate, business data can be sent to another electronic device through the port-transmission channel-logical channel path of one electronic device.
  • a logical channel identification (logical channel identification, LCID) is defined, which is used to uniquely identify the logical channel.
  • Transmission channel group (transmission channel group), including multiple transmission channels.
  • the multiple transmission channels can be jointly used to transmit data sent from the same port. That is to say, the data delivered by one port (such as a data stream, which may include multiple data packets) is only transmitted through one transmission channel group.
  • the basic application layer transmits the data of a certain port to the basic service layer
  • the basic service layer selects one or more transmission channels in the corresponding transmission channel group to transmit these data packets. Different transmission channels may transmit the same data, or may transmit different data respectively.
  • the transmission channels in the transmission channel group can transmit the same data packets, that is, data packets are transmitted redundantly in the transmission channel group; when transmitting large-traffic services, the transmission channels in the transmission channel group can be separately Different packets are transmitted.
  • a transmission channel may be regarded as a subchannel in a transmission channel group.
  • a transmission channel identification is defined, which is used to uniquely identify a transmission channel.
  • the transmission channel identification may include multiple bits (bits), wherein some bits are used to identify the number of the transmission channel group to which the transmission channel belongs, that is, a group number (group identification, GroupID), and some bits are used to identify The number of the transmission channel in the transmission channel group, that is, the group number (local identification, LocalID).
  • the transmission channel identifier may include 16 bits, wherein the high 13 bits are used to identify the group number GoupID, and the low 3 bits are used to identify the group number LocalID.
  • ports and transmission channels have a mapping relationship.
  • the upper layer only cares about transmission channel groups, not sub-channels. Therefore, for the basic application layer, what it acquires and maintains is the relationship between ports and transmission channel groups. Mapping relations.
  • the basic application layer transmits data to the basic service layer
  • the basic service layer can select one or more transmission channels in the transmission channel group for transmission according to the mapping relationship between ports and transmission channel groups. That is to say, for a subchannel, what the basic service layer generates is the transmission channel identifier TCID.
  • the transmission channel is displayed to the upper layer, it is sufficient to display the transmission channel group.
  • the basic service layer transmits the information of the transmission channel group to the basic application layer, as long as the basic application layer can obtain the mapping relationship between the port and the transmission channel group.
  • the basic service layer when the basic service layer presents the transmission channel to the basic application layer, it can pass the complete transmission channel ID, or the ID of the group number GroupID unchanged but the local ID of the group is 0, or the ID of the transmission channel group (i.e. group number).
  • the transmission channel identifier includes 16 bits for illustration. That is to say, when the relevant information of the transmission channel is transmitted to the upper layer, there may be the following situations:
  • the basic service layer transmits the transmission channel identifier TCID to the upper layer, as follows:
  • the upper layer that is, the basic application layer
  • the basic application layer can only parse the upper 13 bits, so as to obtain the information of the transmission channel group.
  • the basic application layer parses the 16-bit transmission channel identifier and extracts the upper 13-bit information to obtain the transmission channel group information.
  • the basic service layer transmits to the upper layer the group number GroupID unchanged and the group number LocalID is 0.
  • the embodiment of the present application is called the transmission channel mapping identification (maptransmission channel identification, MapTCID).
  • MapTCID transmission channel identification
  • the basic service layer can select the transmission channel for transmission from the transmission channel group identified by the GroupID.
  • the basic application layer cares about which transmission channel group to transmit data, and does not care which transmission channel in the transmission channel group is used for transmission.
  • the basic service layer transmits the transmission channel group identifier to the upper layer, for example as follows:
  • the basic application layer can only use 13 bits to transmit the identification GroupID of the transmission channel group, so that the basic application layer can obtain the information of the transmission channel group.
  • the above-mentioned number of bits used to represent the identification of the transmission channel and the manner in which the transmission channel is presented to the upper layer are only exemplary. In other embodiments, other methods can also be used, for example, the The transmission channel identifier is mapped to another identifier, and then the basic service layer transfers the other identifier to the upper layer, which is not limited in this application.
  • each layer for routing data is introduced above, and the transmission path of data is briefly described below in conjunction with Figure 2 .
  • the basic application layer 230 transmits the data from the port to the basic service layer 220 through a data flow, and the basic service layer 220 selects one or more transmission channels for transmission. Since the transmission channel has a mapping relationship with the logical channel, correspondingly, after receiving the data, the access layer uses the corresponding logical channel to continue the transmission.
  • the basic service layer 220 may include transmission channels TCID1-TCIDx, and the basic service layer 220 may select TCID1 to transmit the Qos flow 1 sent by the general perception framework, select TCID2 to transmit the Qos flow 2 sent by the general equipment management framework, and select TCID3 to transmit the general The Qos flow 3 sent by the audio and video frame, the Qos flow 4 sent by the TCIDx transmission general data frame, and so on.
  • the data transmitted by TCID1 is transmitted through a logical channel supporting SLB
  • the data transmitted by TCID2 is transmitted through a logical channel supporting SLB
  • the data transmitted by TCID3 is transmitted through a logical channel supporting SLE
  • the data transmitted by TCIDx Transported over a logical channel supporting SLE is only exemplary, and should not be understood as limiting the present application.
  • Any one of the transmission channels TCID1-TCIDx can belong to a certain transmission channel group, and when any transmission channel is displayed to the upper layer, it can be displayed as TCID, MapTCID or GroupID.
  • the transmission channel may include a service channel and a control channel, wherein the service channel is used to transmit data on the service plane, and the control channel is used to transmit data on the control plane.
  • the establishment of a control channel is the basis for establishing a service channel between electronic devices. Therefore, the relevant processes of the service channel involved in the embodiment of the present application are performed on the basis of the establishment of the control channel. Regarding the establishment process of the control channel, the embodiment of the present application No more description.
  • Service channels may include unicast service channels, multicast service channels and broadcast service channels.
  • the unicast service channel is a service channel used to transmit unicast services, and can realize point-to-point transmission.
  • the multicast service channel is a service channel for transmitting multicast services, which can realize point-to-group transmission, and has feedback (ack) at the bottom layer, which has a certain bottom layer reliability.
  • the broadcast service channel is a service channel used to transmit broadcast services, which can realize connectionless transmission, and has no feedback (ack) at the bottom layer, and needs to be sent multiple times to ensure reliability.
  • the unicast service channel includes default service channel and non-default service channel, wherein the default service channel is established automatically when the control channel is established, and the non-default service channel is established according to the demand when there is a service demand.
  • the embodiment of the present application mainly introduces the relevant processes of the non-default service channel in detail.
  • the relevant processes of the non-default service channel mainly include: the process of creating a non-default service channel, the process of adding a non-default service sub-channel, the process of deleting a non-default service sub-channel, and the process of releasing a non-default service sub-channel.
  • the flow of the business channel mainly include: the process of creating a non-default service channel, the process of adding a non-default service sub-channel, the process of deleting a non-default service sub-channel, and the process of releasing a non-default service sub-channel.
  • the embodiments of this application mainly describe the non-default service channels among the service channels. Therefore, when the description of "transmission channel” is involved in the following embodiments, it can be understood as a service channel in a narrow sense. When describing the "transmission channel group”, it can be understood as a service channel group in a narrow sense.
  • the service channel can still be identified by using the TCID described above, that is, the description of "TCID” in the following embodiments can be narrowly understood as the identification of the service channel.
  • the TCID used to identify the service channel may also be called “service channel identifier" or other names, which is not limited in this embodiment of the present application.
  • the process of creating a non-default service channel can be regarded as the process of creating a new transmission channel group.
  • the process of adding a non-default service sub-channel can be regarded as the process of adding a new transmission channel in the transmission channel group on the basis of the existing transmission channel group.
  • the process of deleting a non-default service sub-channel can be regarded as the process of deleting a transmission channel in an existing transmission channel group.
  • the process of releasing non-default service channels can be regarded as the process of releasing the existing transmission channel group, that is, the process of deleting all transmission channels in the existing transmission channel group.
  • Fig. 3 shows a schematic flowchart of creating a non-default service channel provided by an embodiment of the present application.
  • the first electronic device and the second electronic device are involved, and both electronic devices may have the basic application layer 230 , the basic service layer 220 and the access layer 210 as shown in FIG. 2 .
  • the process 300 for creating a non-default service channel shown in FIG. 3 includes step S301 to step S313 , and each step will be described in detail below in conjunction with FIG. 3 .
  • the first electronic device and the second electronic device need to perform wireless services, for example, when the user uses the first electronic device (such as a mobile phone) and the second electronic device (such as a wireless earphone) to transfer music for playback, the first electronic device and the second electronic device
  • the first electronic device and the second electronic device need to perform wireless services
  • the user uses the first electronic device (such as a mobile phone) and the second electronic device (such as a wireless earphone) to transfer music for playback
  • the first electronic device and the second electronic device The following processes can be performed between electronic devices.
  • step S301 the basic application layer of the first electronic device and the basic application layer of the second electronic device perform port negotiation.
  • the data involved in the negotiation process can be transmitted through the established default service channel.
  • the default service channel is automatically established after the control channel is established, and is used to transmit service management data. Therefore, before the non-default service channel is created successfully, the service management data that needs to be exchanged between the first electronic device and the second electronic device can be transmitted through the default service channel.
  • the basic application layer of the first electronic device and the basic application layer of the second electronic device may also perform service negotiation and application quality of service (quality of service, QoS) negotiation and the like.
  • service negotiation, QoS negotiation and port negotiation between the first electronic device and the second electronic device can be uniformly transmitted on the default service channel through the service framework in the basic application layer using the data template provided by the service management module .
  • the embodiment of the present application mainly focuses on the result of port negotiation between the first electronic device and the second electronic device, so other negotiation processes, such as service negotiation, QoS negotiation, etc., are not described here.
  • the result of the negotiation between the first electronic device and the second electronic device may be that the first electronic device uses the first port (port1) mapping, and the second electronic device uses the second port (port2) mapping.
  • the first port port1 and the second port port2 have a mapping relationship, and the basic application layer of the first electronic device and the basic application layer of the second electronic device need to maintain the mapping relationship between the first port and the second port.
  • the first electronic device is the end that initiates the service request, and may also be referred to as the local end in some embodiments.
  • the second electronic device is an end receiving data, and may also be referred to as a peer end in some embodiments.
  • step S302 the basic application layer of the first electronic device applies for a service channel from the basic service layer (specifically, a channel management module).
  • a service channel from the basic service layer (specifically, a channel management module).
  • the basic application layer of the first electronic device applies for a service channel to the channel management module for the first port and the second port.
  • the basic application layer of the first electronic device may send information #31 to the channel management module, and the information #31 is used to apply for a service channel for the first port and the second port.
  • the information #31 may include service channel type indication information, port information, quality of service identifier (QI) and the like.
  • the service channel type indication information is used to indicate the applied service channel type, where the service channel type may include a unicast service channel, a multicast service channel and a broadcast service channel. If the service channel type indication information indicates that the applied service channel is a unicast service channel, the unicast service channel refers to a non-default service channel.
  • the port information is used to indicate the port mapped to the service channel, that is, the port negotiated in step S301.
  • the port information includes the first port and the second port, wherein the first port is used for mapping with the service channel on the first electronic device side (it can be understood that it is actually the service channel to which the service channel belongs) group mapping), the second port is used for mapping with the service channel on the second electronic device side (it can be understood that it is actually mapped with the service channel group to which the service channel belongs).
  • QI is used to indicate the requirements of the service on the service channel, such as transmission rate, delay, packet loss rate, communication cycle, maximum packet size, etc.
  • information #31 may also include additional parameters, such as transmission mode indication information, whether to carry exclusively indication information, and the like.
  • the transmission mode indication information is used to indicate a data transmission mode, where the transmission mode may include basic mode, transparent transmission mode, common mode, flow control mode, stream mode, retransmission mode, and the like.
  • Basic mode is the default transport mode. When using the basic mode of transmission, there is no packet division, no packet aggregation, no retransmission, and no flow control.
  • Transparent transmission mode refers to the one-to-one mapping between service channels and logical links. When using the transparent mode of transmission, no packets are divided, no packets are aggregated, and no transmission and control module headers are added. When transmitting in normal mode, packets can be divided, packets can be aggregated, no retransmission, and no flow control. When the flow control mode is used for transmission, the data packets are numbered, and the sent data needs to have the peer ack, and the window can be slid in advance, and the data will not be retransmitted.
  • the whether dedicated indication information in the additional parameter is used to indicate whether the service channel is dedicated to transmitting data of a certain service.
  • the channel management module if it receives the dedicated loading instruction, it will allocate a new service channel to the first port without reusing the existing service channel, and the newly allocated service channel will be used in other subsequent processes. will not be reused.
  • the channel management module can set related parameters according to the additional parameters in the information #31. If the information #31 does not include additional parameters, the channel management module can set relevant parameters by itself, or set relevant parameters according to preset rules, which is not limited in this embodiment of the present application.
  • step S303 the basic service layer (specifically, the channel management module) of the first electronic device determines whether to create a non-default service channel.
  • the basic service layer of the first electronic device judges whether to create a new service channel group.
  • the channel management module of the first electronic device judges whether to map the first port to an existing service channel group, or to map the first port to a new service channel group after creating a new service channel group .
  • the channel management module judges whether to create a non-default service channel, there are many ways to implement it.
  • the channel management module may determine whether to create a non-default service channel according to the QI in information #31. For example, the same QI can reuse the same service channel, that is, if the QI included in information #31 is the same as the QI of a service already transmitted, the existing service channel can be reused without creating a new non-default service aisle.
  • the channel management module may determine whether to create a non-default service channel according to the transmission mode indication information in information #31. For example, if the upper layer indicates that the transmission mode of service data is transparent transmission, a new non-default service channel is created instead of reusing the existing service channel.
  • the channel management module may determine whether to create a non-default service channel according to the dedicated whether to load indication information in information #31. For example, whether the dedicated indication information indicates that the service channel is dedicated to the transmission of new service data, a non-default service channel is created.
  • the channel management module can determine whether to create a non-default service channel according to information #31.
  • the channel management module may make a judgment according to its own algorithm (such as a preset rule). For example, if the preset upper layer does not indicate whether to create, it will not create or create a non-default service channel by default.
  • the channel management module may also determine whether to create a non-default service channel according to other information, such as service type, underlying channel capability, and service transmission requirements.
  • step S303 may be performed according to different algorithms of different manufacturers, which will not be further described here.
  • step S303 if the channel management module determines not to create a non-default service channel, the first port may be mapped to an existing service channel (i.e., the created service channel) to use the existing service channel to transmit New business data. Then the channel management module executes step S313, notifying the basic application layer of the first electronic device that the service channel application is successful, and sends the first port port1 and the first mapping identifier to the basic application layer.
  • an existing service channel i.e., the created service channel
  • the first mapping identifier here is the identifier passed by the basic service layer to the upper layer for indicating the group to which the service channel belongs.
  • the first mapping identifier may be the identifier TCID of the multiplexed service channel, may be the identifier GroupID of the service channel group to which the multiplexed service channel belongs, or may be the transmission channel mapping corresponding to the multiplexed service channel Identify the Map TCID, which is not limited in the embodiment of this application.
  • the basic application layer of the first electronic device needs to maintain the mapping relationship between the first port and the first mapping identifier, that is, the mapping relationship between the first port and the service channel group indicated by the first mapping identifier.
  • step S303 if the channel management module determines to create a non-default service channel, it generates a new service channel identifier TCID-s.
  • the identifier TCID-s here is the identifier of the newly created service channel.
  • the service channels used to transmit data may have different identifications on the first electronic device side and the second electronic device side.
  • the The identifier of the service channel on the second electronic device side (that is, the opposite end) is expressed as TCID-d.
  • step S304 the basic service layer of the first electronic device (specifically, the channel management module) negotiates channel parameters with the basic service layer of the second electronic device (specifically, the channel management module).
  • the channel management module of the first electronic device may send a channel parameter negotiation request to the channel management module of the second electronic device.
  • the channel management module of the second electronic device may send a channel parameter negotiation response to the channel management module of the first electronic device.
  • Negotiation of channel parameters is performed through the interaction process.
  • the channel parameters negotiated by the channel management modules of the two electronic devices may include the sliding window size of the transmission window (such as represented by TxWindow), the refresh timer (such as represented by Flushtimer), the maximum number of transmissions (such as represented by maxRetxThreshold Represented), retransmission timer (such as represented by RetransmissionTimer), etc.
  • the channel parameters negotiated in this step are related to the transmission mode of the service.
  • the sliding window size of the transmission window is a parameter that needs to be negotiated between the flow control mode and the retransmission mode
  • the refresh timer is a parameter that needs to be negotiated in the streaming mode.
  • the maximum number of transmissions is a parameter that needs to be negotiated in the retransmission mode
  • the retransmission timer is a parameter that needs to be negotiated between the flow control mode and the retransmission mode.
  • information that needs to be exchanged between the first electronic device and the second electronic device may be transmitted through the control channel.
  • Step S304 is an optional step.
  • the first electronic device and the second electronic device may not negotiate channel parameters, and the channel management module may set channel parameters by itself, or set channel parameters according to preset rules, which will not be described here.
  • step S305 the basic service layer of the first electronic device applies for a logical channel from the access layer.
  • the basic service layer of the first electronic device may send information #32 to the access layer, where the information #32 is used to apply for a logical channel to the access layer.
  • This information #31 may include business requirements for creating TCID-s.
  • the information #32 may include the identifier TCID-s of the service channel at the local end, logical channel type indication information, quality of service QoS, and the like.
  • the identifier TCID-s of the service channel at the local end is used for the access layer to establish a mapping relationship between the service channel and the logical channel.
  • the logical channel type indication information is used to indicate the type of the logical channel.
  • QoS is used in the access layer to select logical channels or configure related parameters of logical channels.
  • logical channel types can be divided according to different access technologies.
  • logical channel types can include asynchronous logical channels, synchronous logical channels, and unidirectional logical channels;
  • the logical channel type may include an unacknowledged mode (unacknowledged mode, UM) logical channel, an acknowledged mode (acknowledged mode, AM) logical channel, a transparent mode (transparent mode, TM) logical channel, and the like.
  • UM unacknowledged mode
  • AM acknowledged mode
  • TM transparent mode
  • the basic service layer (specifically, the channel management module) of the first electronic device may select a logical channel type according to business requirements and/or underlying capabilities, and indicate to the access layer through logical channel type indication information. For example, for payment application services, the channel management module can select a reliable and high-security logical channel type; for video application services, the channel management module can select a low-latency logical channel type.
  • the process of selecting the logical channel type at the basic service layer here can be considered as the process of selecting the access technology at the basic service layer, and the basic application layer does not perceive the access technology used by the underlying layer. which access technology.
  • both the QoS in information #32 and the QI in information #31 are used to indicate the quality of service, but the formats and included information of the two may be different. Specifically, after the basic service layer receives the business requirements delivered by the basic application layer, it will abstract and process the information, generate business requirements that the access layer can parse, and send them to the access layer.
  • the information #32 may also include additional parameters, such as whether to specifically carry indication information. Whether the dedicated indication information is used to indicate whether the service channel is dedicated to transmitting corresponding service data.
  • the access layer may select a logical channel or configure related parameters of the logical channel according to whether it is exclusively loaded or not.
  • step S306 the access layer of the first electronic device maps the service channel TCID-s to the logical channel LCID. That is, the mapping relationship between the service channel TCID-s and the logical channel LCID is established.
  • the access layer of the first electronic device can choose one of the following schemes according to the transmission situation to establish the underlying logical link:
  • Scheme 1 (case#1): Map TCID-s to an existing logical channel LCID. That is, a mapping relationship between TCID-s and an established logical channel is established.
  • a new service channel TCID-s may be mapped to the existing logical channel, thereby establishing a mapping relationship between TCID-s and LCID.
  • Solution 2 (case#2): reconfigure the existing logical channel, and map the TCID-s to the reconfigured logical channel LCID.
  • the access layer determines that the relevant parameters of an existing logical channel cannot meet the business requirements issued by the basic service layer according to the transmission situation, then the relevant parameters of the existing logical channel can be reconfigured, and then the newly created The service channel TCID-s is mapped to the reconfigured logical channel, so as to establish the mapping relationship between TCID-s and LCID.
  • Scheme 3 (case#3): establish a new logical channel, and map TCID-s to the new logical channel LCID.
  • the access layer can create a new logical channel for transmitting synchronous data. Then map the newly created service channel TCID-s to the newly created logical channel, so as to establish the mapping relationship between TCID-s and LCID.
  • the access layer may choose other methods when establishing the underlying logical link.
  • the above-mentioned several solutions There are other applicable scenarios, which will not be described one by one here.
  • step S306 the mapping relationship between the service channel and the logical channel is established.
  • step S307 the access layer of the first electronic device feeds back the successful application of the logical channel to the basic service layer (specifically, the channel management module).
  • the basic service layer specifically, the channel management module
  • the access layer of the first electronic device may send information #33 to the channel management module, and the information #33 is used to indicate that the application for the logical channel is successful, that is, to indicate that the mapping relationship between the service channel and the logical channel is established .
  • information #33 may include the identifier TCID-s of the created service channel and the identifier LCID of the logical channel.
  • the access layer returns the mapping relationship between TCID-s and LCID to the basic service layer through information #33.
  • the channel management module of the first electronic device After receiving the mapping relationship between the service channel and the logical channel, the channel management module of the first electronic device considers that the underlying logical link is ready for transmission.
  • step S308 the basic service layer of the first electronic device sends a request for creating a transmission channel to the basic service layer of the second electronic device, and the request for creating a transmission channel is used to notify the second electronic device of the service channel and logic on the side of the first electronic device The channel mapping relationship is established.
  • the basic service layer of the first electronic device may send information #34 to the basic service layer of the second electronic device, and the information #34 is used to indicate that the first electronic device has established a local service channel and logic
  • the channel mapping relationship is also used to instruct the second electronic device to establish the mapping relationship between the peer service channel and the logical channel.
  • the information #34 may include the second port port2, the identifier TCID-s of the service channel at the local end, and the identifier LCID of the logical channel.
  • step S309 the basic service layer of the second electronic device generates the identifier TCID-d of the peer service channel.
  • the second electronic device may consider that the basic service layer of the two electronic devices has established a connection between TCID-s and TCID-d, that is, the mapping relationship between TCID-s and TCID-d can be determined.
  • the second electronic device can save the local service channel identifier TCID-s and the logical channel identifier LCID, and maintain the mapping relationship between TCID-s and LCID and the corresponding relationship between TCID-s and TCID-d.
  • the second electronic device may initialize the number of channels in the service channel group to which the peer service channel belongs to be 1.
  • the identification of the logical channel is the same on the first electronic device and the second electronic device, so after the second electronic device receives the LCID sent by the first electronic device, it can establish the service channel TCID-d and LCID Mapping relations.
  • step S310 the basic service layer of the second electronic device (specifically, the channel management module) sends the mapping information of the peer port information and the service channel to the basic application layer of the second electronic device for port mapping.
  • the channel management module of the second electronic device may send information #35 to the basic application layer, and the information #35 is used to indicate the mapping relationship between the service channel group and the port, that is, the channel to which the service channel TCID-d belongs The mapping relationship between the service channel group and the second port.
  • the information #35 may include the second port port2 and the second mapping identifier, so as to establish a mapping relationship between the second port and the service channel group at the opposite end.
  • the second mapping identifier here is the identifier passed to the upper layer by the basic service layer of the second electronic device to indicate the group to which the service channel belongs.
  • the second mapping identifier may be the identifier TCID-d of the peer service channel, may be the identifier GroupID of the service channel group to which the peer service channel belongs, or may be a transmission channel mapping identifier corresponding to the peer service channel TCID-d Map TCID, which is not limited in the embodiment of this application.
  • the basic application layer of the second electronic device needs to maintain the mapping relationship between the second port and the second mapping identifier, that is, the mapping relationship between the second port and the service channel group indicated by the second mapping identifier.
  • step S311 the basic application layer of the second electronic device feeds back the successful port mapping to the basic service layer.
  • step S312 the basic service layer of the second electronic device sends a create transmission channel response to the basic service layer of the first electronic device, and the create transmission channel response is used to notify the first electronic device of the service channel and logic on the side of the second electronic device Channel mapping relationship.
  • the basic service layer of the second electronic device may send information #36 to the basic service layer of the first electronic device, and the information #36 is used to indicate that the second electronic device has established the peer service channel and logic Channel mapping relationship.
  • the information #36 may include the identifier TCID-d of the peer service channel and the identifier LCID of the logical channel.
  • step S308 and step S312 data for interaction between the basic service layer of the first electronic device and the basic service layer of the second electronic device may be transmitted through the control channel.
  • the first electronic device may consider that the basic service layers of the two electronic devices have established a connection between TCID-s and TCID-d, that is, the mapping relationship between TCID-s and TCID-d can be determined.
  • the first electronic device may store the peer service channel identifier TCID-d and the logical channel identifier LCID, and maintain the mapping relationship between TCID-d and LCID, the correspondence relationship between TCID-s and TCID-d, and the like.
  • the first electronic device may initialize the number of channels in the service channel group to which the local service channel belongs to be 1.
  • step S313 the basic service layer (specifically, the channel management module) of the first electronic device notifies the basic application layer that the service channel application is successful.
  • the channel management module of the first electronic device may send information #37 to the basic application layer, and the information #37 is used to indicate the mapping relationship between the service channel group and the port to which the local service channel TCID-s belongs .
  • the information #37 may include the first port port1 and the first mapping identifier, which are used to establish a mapping relationship between the first port and the service channel group at the local end.
  • the first mapping identifier is the identifier passed to the upper layer by the basic service layer of the first electronic device to indicate the group to which the service channel belongs.
  • the first mapping identifier may be the identifier TCID-s of the local service channel, may be the identifier GroupID of the service channel group to which the local service channel belongs, or may be the transmission channel mapping identifier corresponding to the local service channel TCID-s Map TCID, which is not limited in the embodiment of this application.
  • the basic application layer of the first electronic device needs to maintain the mapping relationship between the first port and the first mapping identifier, that is, the mapping relationship between the first port and the service channel group indicated by the first mapping identifier.
  • the number of channels in the service channel group is initialized to 1, but the actual service data may not be transmitted on the created non-default service channel. transmitted on any channel. This involves the process of adding a non-default service sub-channel, which will be described in detail below in conjunction with other drawings, and will not be described in detail here.
  • the access layers of the first electronic device and the second electronic device may both support multiple access technologies, for example, an SLB access technology and an SLE access technology.
  • the first electronic device and the second electronic device need to perform wireless services, the user does not need to select or designate which access technology to perform service transmission on, but after the basic application layer delivers the service requirements, the basic service layer choose the underlying access technology by yourself, and establish a business channel for transmission.
  • the first electronic device determines the mapping relationship between the first port port1 and the service channel group to which the local service channel TCID-s belongs, and the mapping relationship between the local service channel TCID-s and the logical channel LCID
  • the second The electronic device determines the mapping relationship between the second port port2 and the service channel group to which the peer service channel TCID-d belongs, and the mapping relationship between the peer service channel TCID-d and the logical channel LCID, and notifies each other.
  • the non-default service channel created through the process shown in Figure 3 is a two-way service channel, that is, the first electronic device can use the created non-default service channel to transmit services to the second electronic device, and the second electronic device can also use the The created non-default service channel transmits services to the first electronic device, where the service data transmission path can be the first port The second port port2.
  • the bidirectional service channel created through the process 300 shown in FIG. 3 supports bidirectional transmission, and can also be compatible with unidirectional transmission.
  • Fig. 4 shows a schematic flowchart of creating a non-default service channel provided by another embodiment of the present application.
  • the first electronic device and the second electronic device are involved, and both electronic devices may have the basic application layer 230 , the basic service layer 220 and the access layer 210 as shown in FIG. 2 .
  • the process 400 of creating a non-default service channel shown in Figure 4 is similar to the process 300 of creating a non-default service channel shown in Figure 3, the difference is that the non-default service channel created in process 400 is a one-way service channel , the parameters carried in the interaction process are different from the data routing.
  • the following mainly describes the differences between the process 400 and the process 300 in detail, and other parts that are not described in detail can refer to the corresponding description in the process 300 .
  • the process 400 of creating a non-default service channel includes steps S401 to S411.
  • step S401 the basic application layer of the first electronic device and the basic application layer of the second electronic device perform port negotiation.
  • the data involved in the negotiation process can be transmitted through the established default service channel.
  • the basic application layer of the first electronic device and the basic application layer of the second electronic device may also perform business negotiation and application quality of service (quality of service, QoS) negotiation, etc., which will not be discussed here. Too descriptive.
  • the result of the negotiation between the first electronic device and the second electronic device may be that the first electronic device uses the first port (port1) mapping, and the second electronic device uses the second port (port2) mapping.
  • step S402 the basic application layer of the first electronic device applies for a service channel from the basic service layer (specifically, a channel management module).
  • a service channel from the basic service layer (specifically, a channel management module).
  • the basic application layer of the first electronic device may send information #41 to the channel management module, where the information #41 is used to apply for a transmission service channel for the first port.
  • the information #41 may include service channel type indication information, first port, QI and so on.
  • the service channel type indication information is used to indicate the applied service channel type.
  • the first port is used for mapping with the service channel on the first electronic device side.
  • QI is used to indicate the requirements of the service on the service channel, such as transmission rate, delay, packet loss rate, communication cycle, maximum packet size, etc.
  • information #41 may also include additional parameters, such as indication information of transmission mode, indication information of whether to carry exclusively, and so on.
  • the transmission mode indication information is used to indicate the transmission mode of the data. Whether the dedicated indication information is used to indicate whether the service channel is dedicated to transmitting data of a certain service.
  • the port information that may be carried in information #41 may include the first port instead of the second port. This is because when establishing a unidirectional service channel, the basic service layer of the first electronic device needs to perceive the mapping relationship between the local port (that is, the first port) and the local service channel group.
  • step S403 the basic service layer (specifically, the channel management module) of the first electronic device determines whether to create a non-default service channel. That is, the basic service layer of the first electronic device judges whether to create a new service channel group.
  • the channel management module does not create a non-default service channel, but maps the first port to an existing service channel, so as to use the existing service channel to transmit new service data. Then the channel management module executes step S411, notifying the basic application layer of the first electronic device that the service channel application is successful, and sends the first port and the first mapping identifier to the basic application layer.
  • step S411 notifying the basic application layer of the first electronic device that the service channel application is successful, and sends the first port and the first mapping identifier to the basic application layer.
  • the channel management module determines to create a non-default service channel, and generates a new service channel identifier TCID-s.
  • step S404 the basic service layer of the first electronic device (specifically, the channel management module) negotiates channel parameters with the basic service layer of the second electronic device (specifically, the channel management module).
  • the channel management module of the first electronic device may send a channel parameter negotiation request to the channel management module of the second electronic device.
  • the channel management module of the second electronic device may send a channel parameter negotiation response to the channel management module of the first electronic device.
  • Negotiation of channel parameters is performed through the interaction process.
  • the first electronic device and the second electronic device may not negotiate channel parameters, and the channel management module may set channel parameters by itself, or set channel parameters according to preset rules.
  • the first electronic device and the second electronic device may negotiate channel parameters according to the service transmission mode.
  • the service transmission mode For specific content, please refer to the related description of step S404 in FIG. 3 , which is not repeated here for brevity.
  • step S405 the basic service layer of the first electronic device applies for a logical channel from the access layer.
  • the basic service layer of the first electronic device may send information #42 to the access layer, where the information #42 is used to apply for a logical channel to the access layer.
  • This information #42 may include business requirements for creating TCID-s.
  • the information #42 may include the identifier TCID-s of the service channel at the local end, logical channel type indication information, quality of service QoS, and the like.
  • the identifier TCID-s of the service channel at the local end is used for the access layer to establish a mapping relationship between the service channel and the logical channel.
  • the logical channel type indication information is used to indicate the type of the logical channel.
  • QoS is used in the access layer to select logical channels or configure related parameters of logical channels.
  • the information #42 may also include additional parameters, such as whether to specifically carry indication information. Whether the dedicated indication information is used to indicate whether the service channel is dedicated to transmitting corresponding service data.
  • step S406 the access layer of the first electronic device maps the service channel TCID-s to the logical channel LCID. That is, the mapping relationship between the service channel TCID-s and the logical channel LCID is established.
  • the access layer of the first electronic device can choose one of the following schemes according to the transmission situation to establish the underlying logical link:
  • case#1 Map TCID-s to an existing logical channel LCID, that is, establish a mapping relationship between TCID-s and an established logical channel.
  • case#2 Reconfigure the existing logical channel and map TCID-s to the reconfigured logical channel LCID.
  • case#3 Create a new logical channel and map TCID-s to the new logical channel LCID.
  • step S407 the access layer of the first electronic device feeds back the successful application of the logical channel to the basic service layer (specifically, the channel management module).
  • the basic service layer specifically, the channel management module
  • the access layer of the first electronic device may send information #43 to the channel management module, and the information #43 is used to indicate that the application for the logical channel is successful, that is, to indicate that the mapping relationship between the service channel and the logical channel is established .
  • information #43 may include the identifier TCID-s of the created service channel and the identifier LCID of the logical channel.
  • the access layer returns the mapping relationship between TCID-s and LCID to the basic service layer through information #43.
  • the channel management module of the first electronic device After receiving the mapping relationship between the service channel and the logical channel, the channel management module of the first electronic device considers that the underlying logical link is ready for transmission.
  • step S408 the basic service layer of the first electronic device sends a request for creating a transmission channel to the basic service layer of the second electronic device.
  • the request for creating a transmission channel is used to notify the second electronic device of the establishment of the mapping relationship between the service channel and the logical channel on the first electronic device side.
  • the basic service layer of the first electronic device may send information #44 to the basic service layer of the second electronic device, and the information #44 is used to indicate that the first electronic device has established a local service channel and logic
  • the channel mapping relationship is also used to instruct the second electronic device to establish the mapping relationship between the peer service channel and the logical channel.
  • the information #44 may include the identifier TCID-s of the service channel at the local end and the identifier LCID of the logical channel.
  • step S409 the basic service layer of the second electronic device generates the identifier TCID-d of the peer service channel.
  • the second electronic device may consider that the basic service layers of the two electronic devices have established a connection between TCID-s and TCID-d, and determine the mapping relationship between TCID-s and TCID-d. After receiving the LCID sent by the first electronic device, the second electronic device may also establish a mapping relationship between the service channel TCID-d and the LCID, and maintain the corresponding relationship between the TCID-s and the TCID-d.
  • Steps S401 to S409 shown in FIG. 4 are similar to steps S301 to S309 shown in FIG. 3 . Where step S40x is not described in detail here, refer to the relevant content of step S30x above.
  • the second electronic device since the created non-default service channel is a service channel that only supports one-way transmission, the second electronic device does not need to perceive the mapping relationship between the port and the service channel group during the establishment process, so there is no need to bind the opposite end The service channel group and the second port to which the service channel belongs. That is, compared with the process 300, the process 400 can omit step S310 and step S311.
  • step S410 the basic service layer of the second electronic device sends a create transmission channel response to the basic service layer of the first electronic device.
  • the creating transmission channel response is used to notify the first electronic device of the establishment of the mapping relationship between the service channel and the logical channel on the second electronic device side.
  • the basic service layer of the second electronic device may send information #46 to the basic service layer of the first electronic device, and the information #46 may include the identification TCID-d of the service channel at the opposite end and the TCID-d of the logical channel. Identify the LCID.
  • the first electronic device may consider that the basic service layer of the two electronic devices has established a connection between TCID-s and TCID-d, and the first electronic device may maintain the corresponding relationship between TCID-s and TCID-d (ie Mapping relations). Correspondingly, the first electronic device may initialize the number of channels in the service channel group to which the local service channel belongs to be 1.
  • step S411 the basic service layer (specifically, the channel management module) of the first electronic device notifies the basic application layer that the service channel application is successful.
  • the channel management module of the first electronic device may send information #47 to the basic application layer, and the information #47 is used to indicate the mapping relationship between the service channel group and the port to which the local service channel TCID-s belongs .
  • the information #47 may include the first port port1 and the first mapping identifier, so as to establish a mapping relationship between the first port and the service channel group at the local end.
  • the first mapping identifier is the identifier passed to the upper layer by the basic service layer of the first electronic device to indicate the group to which the service channel belongs.
  • step S313 in FIG. 3 which is omitted here for brevity.
  • Steps S410 to S411 shown in FIG. 4 are similar to steps S312 to S313 shown in FIG. 3 , and where the steps are not described in detail here, refer to the relevant content in FIG. 3 above.
  • the non-default service channel created through the process shown in Figure 4 is a one-way service channel, that is, the first electronic device can use the created non-default service channel to transmit services to the second electronic device, and vice versa Can't.
  • the identifier TCID-s of the service channel at the local end and the identifier TCID-d of the service channel at the remote end may be different or the same.
  • the first electronic device and the second electronic device may respectively maintain their own service channel identifiers, which makes it more flexible when creating a non-default service channel.
  • the two are the same, that is, when the TCID-s generated by the basic service layer of the first electronic device is consistent with the TCID-d generated by the basic service layer of the second electronic device, conflicts may occur.
  • step S309 Taking the process shown in FIG. 3 as an example, if the first electronic device and the second electronic device simultaneously initiate the process 300 of creating a non-default service channel, and the locally generated TCID-s are the same (for example, both are 0x0028), when both sides
  • the identification TCID of the service channel applied by both parties is consistent, that is, the identification of the service channel applied for by the first electronic device for the first service transmission is the same as that applied for by the second electronic device for the second service transmission.
  • the TCID-d generated by the first electronic device as the opposite end needs to be the same as the TCID-d generated by the second electronic device.
  • the same service channel identifier is applied for in two processes of creating a non-default service channel, thus a conflict occurs, and subsequent processes cannot be continued.
  • the situation encountered by the second electronic device is similar and will not be repeated here.
  • both parties can choose to fail to create, or introduce a guessing mechanism to solve it.
  • step S312 of the process 300 or step S410 of the process 400 the information of failure to create the transmission channel is carried.
  • box-guessing mechanism it is possible to carry a random number for size comparison when sending a transmission channel creation request to the other party, and determine whether to accept the other party's link establishment request according to the size of the random number.
  • the basic service layer of the first electronic device can resolve the conflict by comparing the magnitudes of the first random number and the second random number.
  • the first electronic device can reject the link establishment request of the second electronic device, stop creating the non-default service channel requested by the second electronic device, for example, send a request to the second electronic device The device reports failure to create a transmission channel.
  • the basic service layer of the second electronic device can resolve the conflict by comparing the magnitudes of the first random number and the second random number. If the first random number 100 is greater than the second random number 90, the second electronic device can accept the first electronic device's request to establish a link, and continue to create the non-default service channel requested by the first electronic device, for example, to the first electronic device The device responds with a successful creation of the transmission channel.
  • both parties may fail to establish a link, and reject the link establishment request of the other party.
  • the first electronic device may carry multiple first random numbers, and the multiple first random numbers have a priority order.
  • the second electronic device may carry multiple second random numbers, and the multiple second random numbers have a priority order.
  • comparing the size of random numbers you can compare them in order of priority, that is, first compare the size of the first random number with the highest priority and the second random number with the highest priority, and if they are the same, continue to compare the sizes of the second random number with the highest priority. The size of the first random number and the second random number with the second priority, and so on.
  • conflict resolution methods listed above are only exemplary, and in other embodiments, there may be other solutions, such as pre-defining the priority of the first electronic device and the second electronic device, and the priority is higher
  • the electronic device may reject the link establishment request sent by the electronic device with a lower priority, etc., which will not be described in detail here.
  • service data is not necessarily transmitted on the first created service channel, but can be transmitted on any sub-channel in the service channel group. It will be described below in conjunction with FIG. 7 .
  • FIG. 7 shows a schematic flowchart of adding a non-default service sub-channel provided by the embodiment of the present application.
  • the first electronic device and the second electronic device are involved, and both electronic devices may have the basic application layer 230 , the basic service layer 220 and the access layer 210 as shown in FIG. 2 .
  • the process 500 of adding a non-default service sub-channel shown in FIG. 7 includes step S501 to step S508, and each step will be described in detail below in conjunction with FIG. 7 .
  • the premise of performing process 500 is that the first service channel group already exists, and the first electronic device and the second electronic device are using the first service channel group for business (for example, the first port has a mapping relationship with the first service channel group, and the second A business channel group is transmitting the data issued by the first port), in order to realize business distribution, for example, when the business is blocked, the following process can be carried out between the first electronic device and the second electronic device, so that in the first service channel group Add a new service channel, that is, a non-default service sub-channel.
  • the service distribution involved here can be understood as adding a new service channel in the first service channel group to transmit the data delivered by the first port.
  • step S501 the basic service layer (specifically, the channel management module) of the first electronic device generates an identifier TCID-s of the local service channel.
  • the TCID-s needs to be in the same service channel group as the existing service channel in progress.
  • the TCID-s may include a plurality of bits (bits), wherein some bits are used to identify the number of the first service channel group (ie, the group number GroupID), and some bits are used to identify the number of the service channel in the first service channel group. ID, that is, the ID within the group LocalID.
  • step S502 the basic service layer of the first electronic device (specifically, the channel management module) negotiates channel parameters with the basic service layer of the second electronic device (specifically, the channel management module).
  • the channel management module of the first electronic device may send a channel parameter negotiation request to the channel management module of the second electronic device.
  • the channel management module of the second electronic device may send a channel parameter negotiation response to the channel management module of the first electronic device.
  • Negotiation of channel parameters is performed through the interaction process. During the negotiation process, information that needs to be exchanged between the first electronic device and the second electronic device may be transmitted through the control channel.
  • the channel parameters negotiated by the channel management modules of the two electronic devices correspond to the data transmission mode.
  • Step S502 is an optional step.
  • the first electronic device and the second electronic device may not negotiate channel parameters, and the channel management module may set channel parameters by itself, or set channel parameters according to preset rules, which will not be described here.
  • step S503 the basic service layer of the first electronic device applies for a logical channel from the access layer.
  • the basic service layer of the first electronic device may send information #52 to the access layer, where the information #52 is used to apply for a logical channel to the access layer.
  • This information #52 includes business requirements for creating TCID-s.
  • the information #52 may include the identifier TCID-s of the service channel at the local end, logical channel type indication information, quality of service QoS, and the like.
  • the identifier TCID-s of the service channel at the local end is used for the access layer to establish a mapping relationship between the service channel and the logical channel.
  • the logical channel type indication information is used to indicate the type of the logical channel.
  • QoS is used in the access layer to select logical channels or configure related parameters of logical channels.
  • the information #52 may also include additional parameters, such as whether to specifically carry indication information. Whether the dedicated indication information is used to indicate whether the service channel is dedicated to transmitting service data.
  • step S305 of the process 300 For the description of the relevant parameters included in the information #52, reference may be made to the relevant description of step S305 of the process 300, which is not repeated here for brevity.
  • step S504 the access layer of the first electronic device maps the service channel TCID-s to the logical channel LCID. That is, the mapping relationship between the service channel TCID-s and the logical channel LCID is established.
  • the access layer of the first electronic device can choose one of the following schemes according to the transmission situation to establish the underlying logical link:
  • case#1 Map TCID-s to an existing logical channel LCID, that is, establish a mapping relationship between TCID-s and an established logical channel.
  • case#2 Reconfigure the existing logical channel and map TCID-s to the reconfigured logical channel LCID.
  • case#3 Create a new logical channel and map TCID-s to the new logical channel LCID.
  • step S306 in the process 300 please refer to the relevant description of step S306 in the process 300, for the sake of brevity, no more details are given here.
  • step S505 the access layer of the first electronic device feeds back the successful application of the logical channel to the basic service layer (specifically, the channel management module).
  • the basic service layer specifically, the channel management module
  • the access layer of the first electronic device may send information #53 to the channel management module, and the information #53 is used to indicate that the logical channel application is successful, that is, to indicate that the mapping relationship between the service channel and the logical channel is established .
  • information #53 may include the identifier TCID-s of the added service channel and the identifier LCID of the logical channel.
  • the access layer returns the mapping relationship between TCID-s and LCID to the basic service layer through information #53.
  • the channel management module of the first electronic device After receiving the mapping relationship between the service channel and the logical channel, the channel management module of the first electronic device considers that the underlying logical link is ready for transmission.
  • step S506 the basic service layer of the first electronic device sends a request for creating a transmission channel to the basic service layer of the second electronic device.
  • the request for creating a transmission channel is used to notify the second electronic device of the establishment of the mapping relationship between the service channel and the logical channel on the first electronic device side.
  • the basic service layer of the first electronic device may send information #54 to the basic service layer of the second electronic device, and the information #54 is used to indicate that the first electronic device has established a local service channel and logic Channel mapping relationship.
  • the information #54 may include the identifier TCID-s of the service channel at the local end and the identifier LCID of the logical channel.
  • step S507 the basic service layer of the second electronic device generates the identifier TCID-d of the peer service channel.
  • the basic service layer of the second electronic device determines that the new service channel is a sub-channel in the existing service channel group, and then allocates a TCID-d in the group. For example, the basic service layer of the second electronic device may determine whether the TCID-s is a subchannel in an existing service channel group according to the previously maintained identifier of the local service channel. If yes, create a new sub-channel TCID-d in the corresponding peer service channel group.
  • the second electronic device may consider that the basic service layers of the two electronic devices have established a connection between TCID-s and TCID-d, and determine and maintain the mapping relationship between TCID-s and TCID-d.
  • the second electronic device may add 1 to the number of sub-channels in the opposite-end service channel group.
  • the basic service layer of the second electronic device may determine the mapping relationship between the peer service channel TCID-d and the LCID.
  • step S508 the basic service layer of the second electronic device sends a creation transmission channel response to the basic service layer of the first electronic device.
  • the creation transmission channel response is used to notify the first electronic device of the mapping relationship between the service channel and the logical channel on the second electronic device side.
  • the basic service layer of the second electronic device may send information #56 to the basic service layer of the first electronic device, and the information #56 is used to indicate that the second electronic device has established the peer service channel and logic The channel mapping relationship is established.
  • the information #56 may include the identifier TCID-d of the peer service channel and the identifier LCID of the logical channel.
  • the first electronic device may consider that the basic service layers of the two electronic devices have established a connection between TCID-s and TCID-d, and determine and maintain the mapping relationship between TCID-s and TCID-d. Correspondingly, the first electronic device may add 1 to the number of sub-channels in the local service channel group (that is, the first service channel group).
  • the basic service layer of the electronic device when service diversion is required (for example, existing service channels are blocked), the basic service layer of the electronic device can add a new service channel to the existing service channel group for data transmission, and The basic application layer is completely unaware of the operations and processes of the basic service layer. After the process of adding non-default service sub-channels, there will be multiple service channels in the same service channel group.
  • the channel management module can select one of the service channels (existing service channels or added business channel) for transmission, or redundant transmission on multiple business channels at the same time, the basic application layer does not perceive the transmission mode determined by the basic service layer.
  • the data sent by the upper layer can generally be stored in the buffer queue. If the basic service layer judges that the accumulated buffer data of the upper layer exceeds When it reaches a certain percentage, it can be considered that the service channel is blocked.
  • the basic service layer also judges whether to perform business offloading according to business requirements, that is, judges whether to add sub-channels.
  • the basic service layer can decide to add non-default business sub-channels according to the business transmission situation.
  • the basic service layer can decide on its own which access technology to create a new service channel to achieve compatibility and compatibility with multiple access technologies.
  • the unification of the upper layer means that the basic application layer does not need to perceive the access technology, and the basic service layer completes relevant functions such as channel selection and distribution.
  • FIG. 8 shows a schematic flowchart of deleting a non-default sub-service channel provided by the embodiment of the present application.
  • the first electronic device and the second electronic device are involved, and both electronic devices may have the basic application layer 230 , the basic service layer 220 and the access layer 210 as shown in FIG. 2 .
  • the process 600 of deleting a non-default service subchannel shown in FIG. 8 includes step S601 to step S607, and each step will be described in detail below in conjunction with FIG. 8 .
  • the premise of performing process 600 is that the first service channel group already exists, and the first electronic device and the second electronic device are using multiple service channels in the first service channel group for business (for example, using the Multiple service channels transmit data issued by the first port).
  • the following process can be carried out between the first electronic device and the second electronic device to delete the service channel no longer used for data transmission in the first service channel group (for example, the service channel previously used for offloading) service channel), that is, a non-default service sub-channel.
  • step S601 the basic service layer (specifically, the channel management module) of the first electronic device deletes the identifier TCID-s of the local service channel.
  • the first service channel group includes multiple service channels, and the channel management module determines that one of the service channels does not need to be transmitted, then the channel management module deletes the service channel TCID-s.
  • the first service channel group includes service channel #1 and service channel #2, and the channel management module only transmits data to service channel #1 for a long period of time, but does not transmit data to service channel #2.
  • the module may consider that there is no need to transmit on the service channel #2, so it can delete the service channel #2.
  • step S602 the basic service layer of the first electronic device applies to the access layer for releasing the logical channel.
  • This step is that the basic service layer applies for releasing the mapping relationship between the service channel TCID-s and the logical channel LCID.
  • the basic service layer of the first electronic device may send information #62 to the access layer, and the information #62 is used to indicate the release of the logical channel mapped with the service channel TCID-s, that is, to indicate the release of the service channel TCID-s from the logic channel.
  • Channel LCID mapping relationship is used to indicate the release of the logical channel mapped with the service channel TCID-s.
  • the information #62 may include the identifier TCID-s of the service channel at the local end.
  • step S603 the access layer of the first electronic device ends the mapping of the service channel TCID-s to the logical channel LCID.
  • the access layer of the first electronic device may select one of the following schemes to process the underlying logical link according to the transmission situation:
  • Solution 1 (case#1): End the mapping of TCID-s to the existing logical channel LCID, and maintain the existing LCID.
  • the mapping relationship between the TCID-s and the LCID can be released, and the relevant parameter configuration of the LCID can be maintained.
  • the relevant parameter configuration of the LCID can be maintained.
  • Solution 2 (case#2): End the mapping of TCID-s to the existing logical channel LCID, and reconfigure the existing logical channel LCID.
  • the access layer determines that the deletion of the service channel TCID-s according to the transmission situation has a great impact on the existing transmission, if the data traffic is greatly reduced, the mapping relationship between the TCID-s and the LCID can be released, and the existing logic
  • the channel LCID is reconfigured to reduce the transmission capacity of the LCID.
  • the LCID is mapped to multiple service channels, and TCID-s accounts for 90% of the transmission capacity of the LCID, then deleting the TCID-s will greatly affect the transmission of the LCID, and the transmission capacity of the LCID needs to be reduced. This is because the transmission space on the logical channel is pre-allocated. If the set QoS capability is high and the actual transmission is small, the transmission of other logical channels may be affected. Therefore, it is necessary to reconfigure the relevant parameters of the LCID.
  • Scheme 3 (case#3): end the mapping of TCID-s to the existing logical channel LCID, and delete the existing logical channel LCID.
  • the LCID can also be deleted.
  • the solutions listed above can be regarded as the inverse process of step S504 in the process of adding a non-default service sub-channel shown in FIG. 7 .
  • the solutions and applicable scenarios listed here are only exemplary.
  • the access layer may choose other methods when removing the underlying logical link.
  • step S603 the mapping relationship between the service channel and the logical channel is released.
  • step S604 the access layer of the first electronic device feeds back the successful release of the logical channel to the basic service layer (specifically, the channel management module).
  • the basic service layer specifically, the channel management module
  • the access layer of the first electronic device may send information #63 to the channel management module, the information #63 is used to indicate that the mapping relationship between the service channel and the logical channel is released, and the operation of the logical link is completed.
  • Information #63 may include the identifier TCID-s of the deleted service channel.
  • the channel management module of the first electronic device After the channel management module of the first electronic device knows that the mapping relationship between the service channel and the logical channel is released, it considers that the underlying logical link has been removed.
  • step S605 the basic service layer of the first electronic device sends a request to delete the transmission channel to the basic service layer of the second electronic device.
  • the transmission channel deletion request is used to notify the second electronic device that the mapping relationship between the service channel and the logical channel on the first electronic device side is released.
  • the basic service layer of the first electronic device may send information #64 to the basic service layer of the second electronic device, and the information #64 is used to indicate that the first electronic device has released the local service channel and logic
  • the channel mapping relationship is also used to instruct the second electronic device to release the mapping relationship between the peer service channel and the logical channel.
  • This information #64 includes the identifier TCID-s of the deleted traffic channel.
  • step S606 the basic service layer of the second electronic device deletes the identifier TCID-d of the peer service channel.
  • the basic service layer of the second electronic device can perceive the mapping relationship between the local service channel and the logical channel during the process of creating the service channel, so the basic service layer of the second electronic device can determine the pair that needs to be released according to the mapping relationship.
  • the second electronic device may perceive that TCID-s and TCID-d are connected, that is, TCID-s and TCID-d have a corresponding relationship, so in step S606, the basic service of the second electronic device After obtaining the TCID-s, the layer can determine the peer service channel identifier TCID-d that needs to be deleted.
  • the second electronic device may consider that the basic service layer of the two electronic devices has deleted the connection between TCID-s and TCID-d. Correspondingly, the second electronic device may decrease by 1 the number of channels in the service channel group to which the peer service channel TCID-d belongs. At the same time, the basic service layer of the second electronic device cancels the mapping relationship between the peer service channel TCID-d and the LCID.
  • step S607 the basic service layer of the second electronic device sends a delete transmission channel response to the basic service layer of the first electronic device.
  • the delete transmission channel response is used to notify the first electronic device that the mapping relationship between the service channel and the logical channel on the second electronic device side is released.
  • the basic service layer of the second electronic device may send information #66 to the basic service layer of the first electronic device, and the information #66 is used to indicate that the second electronic device has released the peer service channel and logic Channel mapping relationship.
  • the information #66 may include the identifier TCID-d of the peer service channel.
  • step S605 and step S607 data for interaction between the basic service layer of the first electronic device and the basic service layer of the second electronic device may be transmitted through the control channel.
  • the first electronic device may consider that the basic service layer of the two electronic devices has deleted the connection between TCID-s and TCID-d. Correspondingly, the first electronic device may decrease by 1 the number of channels in the service channel group (that is, the first service channel group) to which the local service channel TCID-s belongs.
  • the basic service layer of the electronic device can delete the service channel in the service channel group by itself, and the basic application layer is completely unaware of the operation and process of the basic service layer.
  • the data delivered by the basic application layer can still be transmitted through other service channels in the service channel group, and the basic application layer does not perceive changes in the service channel.
  • the process of deleting the non-default sub-service channel provided by the embodiment of the present application is described above in conjunction with FIG.
  • the service channel group that transmits the stopped service is released, that is, the non-default service channel is released. It will be described below in conjunction with FIG. 9 .
  • FIG. 9 shows a schematic flowchart of releasing a non-default service channel provided by the embodiment of the present application.
  • the first electronic device and the second electronic device are involved, and both electronic devices may have the basic application layer 230 , the basic service layer 220 and the access layer 210 as shown in FIG. 2 .
  • the process 700 for releasing a non-default service channel shown in FIG. 9 includes steps S701 to S709, and each step will be described in detail below in conjunction with FIG. 9 .
  • the following process may be performed between the first electronic device and the second electronic device to release the first port and the second port.
  • step S701 the basic application layer of the first electronic device notifies the basic service layer (specifically, the channel management module) to release the service channel.
  • the basic service layer specifically, the channel management module
  • the basic application layer of the first electronic device requests the channel management module to release the service channel for the first port and the second port, which can be understood as releasing the mapping relationship between the first port and the local service channel group, and releasing the second The mapping relationship between two ports and peer service channel groups.
  • the basic application layer of the first electronic device may send information #71 to the channel management module, where the information #71 is used to indicate to release the service channel for the first port and the second port.
  • This information #71 may include the first port and the second port.
  • step S702 the basic service layer (specifically, the channel management module) of the first electronic device determines whether to release the non-default service channel. That is, the basic service layer of the first electronic device judges whether to release the service channel group.
  • the channel management module may determine whether to release a non-default service channel according to the mapping relationship between ports and service channel groups.
  • the basic service layer of the first electronic device may release the mapping relationship between the first port and the service channel group, and feed it back to the basic application layer.
  • the basic service layer may perform step S709 to notify the basic application layer that the mapping relationship between the first port and the service channel group is released, and the first port is released.
  • the basic service layer may release the TCID-s in step S702, which may also be understood as deleting the TCID-s.
  • step S703 the basic service layer of the first electronic device applies to the access layer for releasing the logical channel.
  • This step is that the basic service layer applies for releasing the mapping relationship between the service channel TCID-s and the logical channel LCID.
  • the basic service layer of the first electronic device may send information #72 to the access layer, and the information #72 is used to indicate to release the logical channel mapped with the service channel TCID-s, that is, to indicate to release the service channel TCID-s from the logic channel Channel LCID mapping relationship.
  • the information #72 may include the identifier TCID-s of the service channel at the local end.
  • step S704 the access layer of the first electronic device ends the mapping of the service channel TCID-s to the logical channel LCID.
  • the access layer of the first electronic device may select one of the following schemes to process the underlying logical link according to the transmission situation:
  • case#1 End the mapping of TCID-s to the existing logical channel LCID, and maintain the existing LCID.
  • case#2 End the mapping of TCID-s to the existing logical channel LCID, and reconfigure the existing logical channel LCID.
  • case#3 End the mapping of TCID-s to the existing logical channel LCID, and delete the existing logical channel LCID.
  • step S306 in the process of creating a non-default service channel shown in FIG. 3 .
  • step S603 in FIG. 8 which is not repeated here for brevity.
  • step S704 the mapping relationship between the service channel and the logical channel is released.
  • step S705 the access layer of the first electronic device feeds back the successful release of the logical channel to the basic service layer (specifically, the channel management module).
  • the basic service layer specifically, the channel management module
  • the access layer of the first electronic device may send information #73 to the channel management module, the information #73 is used to indicate that the mapping relationship between the service channel and the logical channel is released, the logical link operation is completed, and the logical link The channel is released successfully.
  • Information #73 may include the identifier TCID-s of the released traffic channel.
  • the channel management module of the first electronic device After the channel management module of the first electronic device knows that the mapping relationship between the service channel and the logical channel is released, it considers that the underlying logical link has been removed.
  • step S706 the basic service layer of the first electronic device sends a request to delete the transmission channel to the basic service layer of the second electronic device.
  • the transmission channel deletion request is used to notify the second electronic device that the mapping relationship between the service channel and the logical channel on the first electronic device side is released.
  • the basic service layer of the first electronic device may send information #74 to the basic service layer of the second electronic device, and the information #74 is used to indicate that the first electronic device has released the local service channel and logic
  • the channel mapping relationship is also used to instruct the second electronic device to release the mapping relationship between the peer service channel and the logical channel.
  • This information #74 includes the identifier TCID-s of the released traffic channel.
  • step S707 the basic service layer of the second electronic device releases the peer service channel TCID-d.
  • the basic service layer of the second electronic device can perceive the mapping relationship between the local service channel and the logical channel during the process of creating the service channel, so the basic service layer of the second electronic device can determine the pair that needs to be released according to the mapping relationship.
  • the mapping relationship between the end service channel and the logical channel so as to release the opposite end service channel TCID-d.
  • the second electronic device can perceive the connection between TCID-s and TCID-d, that is, TCID-s and TCID-d have a corresponding relationship, so in step S707, the basic service of the second electronic device After the layer obtains the TCID-s, it can determine the peer service channel TCID-d that needs to be released.
  • the second electronic device may consider that the basic service layer of the two electronic devices has deleted the connection between TCID-s and TCID-d. Correspondingly, the second electronic device may subtract 1 from the number of channels in the service channel group to which the peer service channel TCID-d belongs, to be 0. At the same time, the basic service layer of the second electronic device cancels the mapping relationship between the peer service channel TCID-d and the LCID.
  • the basic service layer of the second electronic device may notify the basic application layer of the second electronic device to release the second port, that is, release the mapping relationship between the second port and the peer service channel group, And released the peer service channel group.
  • step S708 the basic service layer of the second electronic device sends a delete transmission channel response to the basic service layer of the first electronic device.
  • the delete transmission channel response is used to notify the first electronic device that the mapping relationship between the service channel and the logical channel on the second electronic device side is released.
  • the basic service layer of the second electronic device may send information #76 to the basic service layer of the first electronic device, and the information #76 is used to indicate that the second electronic device has released the peer service channel and logic Channel mapping relationship.
  • the information #76 may include the identifier TCID-d of the service channel at the opposite end.
  • the first electronic device may consider that the basic service layer of the two electronic devices has deleted the connection between TCID-s and TCID-d. Correspondingly, the first electronic device may subtract 1 from the number of channels in the service channel group to which the local service channel TCID-s belongs, to be 0.
  • the sub-channels in the service channel group may be released sequentially until the number of channels in the service channel group is 0.
  • multiple sub-channels in the service channel group may be released at one time until the number of channels in the service channel group is 0.
  • all service channels may be released at one time. The process of the latter two cases is similar, and the following will briefly describe the process by taking the release of all service channels at one time as an example.
  • information #72 may include the identifiers of all service channels in the local service channel group (that is, multiple TCID-s), so as to notify the access layer to release the mapping relationship between these service channels and logical channels .
  • information #73 may include identifiers of all service channels (that is, a plurality of TCID-s) whose mapping relationship has been de-mapped by the access layer.
  • the logical channels mapped by multiple service channels in the local service channel group may support different access technologies.
  • service channel A has a mapping relationship with logical channel A, and logical channel A supports SLB access technology.
  • Service channel B has a mapping relationship with logical channel B, and logical channel B supports the SLE access technology.
  • the access layer may have different functional modules to specifically implement support for corresponding access technologies, for example, the access module A implements the SLB technology, and the access module B implements the SLE technology.
  • the basic service layer may send the identifier of the service channel to the corresponding module according to different access technologies.
  • step S704 the corresponding access module terminates the mapping relationship between the service channel and the logical channel.
  • the basic service layer sends the identifier of service channel A to access module A, and access module A releases the mapping relationship between service channel A and logical channel A; sends the identifier of service channel B to access module B, and the access module Module B releases the mapping relationship between service channel B and logical channel B.
  • the access module A and the access module B respectively feed back the identifiers of the service channels whose mapping relationship has been released.
  • step S706 information #74 may include identifiers of all service channels (that is, multiple TCID-s) in the local service channel group whose logical channel mapping relationship has been released.
  • step S707 the basic service layer of the second electronic device releases the TCID-d corresponding to the multiple TCID-s respectively. In this way, after step S707 is completed, the number of channels in the service channel group to which the peer service channel TCID-d belongs is reduced to 0.
  • information #76 may include the identifiers (i.e. multiple TCID-d) of all service channels in the peer service channel group, so as to notify the basic service layer of the first electronic device that these service channels and logic Channel mapping relationship. In this way, after step S708 is completed, the number of channels in the service channel group to which the local service channel TCID-s belongs is reduced to 0.
  • the basic service layer (specifically, the channel management module) of the first electronic device notifies the basic application layer that the service channel is released successfully. That is, the basic application layer is notified that the mapping relationship between the first port and the service channel group has been released, and the service channel group has been released (that is, all sub-channels in the service channel group have been deleted.
  • the channel management module of the first electronic device may send information #77 to the basic application layer, and the information #77 is used to indicate that the service channel between the first port and the second port has been released.
  • This information #77 may include the first port port1.
  • step S710 the basic application layer of the first electronic device notifies the basic application layer of the second electronic device to release the first port, and the basic application layer of the second electronic device notifies the basic application layer of the first electronic device to release the second port.
  • the data involved in this process can be transmitted through the established default service channel.
  • the basic application layer when the service ends, can notify the basic service layer that no more data will be transmitted, and the non-default service channel can be released.
  • the channel management module can delete multiple sub-channels one by one, finally release the non-default service channel, and notify the basic application layer that the release of the service channel is successful. Thereby freeing up transmission resources.
  • the basic service layer executes the process of releasing non-default service channels and the process of deleting non-default service sub-channels, the essence is the same, both release service channels, the difference lies in whether to release the entire service channel group. If the entire service channel group needs to be released, the basic application layer needs to participate, such as providing port-related information, releasing the mapping relationship between the port and the service channel group, etc.
  • the embodiment of the present application provides a method for configuring a channel for transmitting services.
  • This method can be implemented in the communication system 100 shown in FIG.
  • the illustrated protocol architecture is implemented in an electronic device, such as being applied to a first electronic device.
  • the first electronic device may include a basic application layer, a basic service layer, and an access layer, wherein the basic application layer is used to issue service requirements, and the access layer supports multiple access technologies (for example, including SLB access technology and SLE access technology) technology).
  • Ports can be configured at the basic application layer, business channels can be configured at the basic service layer, and logical channels can be configured at the access layer.
  • Ports have a mapping relationship with service channels, and service channels have a mapping relationship with logical channels. After the port-service channel-logical channel mapping relationship is completed, the formed channel can be considered to be used to transmit services.
  • FIG. 10 shows a schematic flowchart of a method for configuring a channel for transmitting services provided by an embodiment of the present application. As shown in Fig. 10, the method may include steps S801 to S806.
  • step S801 the basic service layer determines to establish a first service channel according to service requirements.
  • business requirements are delivered by the basic application layer. For example, it may be sent by the basic application layer to the basic service layer in the previous step of step S801 for establishing the first service channel; or, when establishing other service channels, the basic application layer sends the basic service layer to In step S801, the service requirement is also used to establish the first service channel.
  • service requirements refer to some requirements that need to be met when transmitting services, such as service channel type, service quality, service transmission mode, whether the service channel is dedicated, and so on.
  • the basic service layer determines to establish the first service channel. Therefore, optionally, before step S801, the basic service layer may first determine whether to establish the first service channel. It can be understood that establishing the first service channel here refers to establishing a new service channel, rather than reusing an already established service channel.
  • the basic service layer determining to establish the first service channel according to service requirements may include: the basic service layer generating an identifier of the first service channel.
  • the identifier of the first service channel may use the TCID-s involved in the foregoing embodiments.
  • step S802 the basic service layer sends the first information to the access layer.
  • the first information is used to apply for a logical channel supporting the first access technology.
  • the first access technology is selected by the basic service layer from multiple access technologies supported by the access layer. That is to say, the basic service layer will specify the access technology supported by the logical channel, or in other words, the basic service layer can specify which access technology to apply for the logical channel.
  • the multiple access technologies supported by the access layer may include SLB access technologies and SLE access technologies.
  • the access layer may also support existing access technologies, such as Bluetooth and wireless fidelity (Wi-Fi), and may also support other future access technologies of the Starlight Alliance.
  • the access technology involved here can be understood as an access technology in wireless short-distance communication.
  • the first information may include an identifier of the first service channel.
  • the first information may be, for example, information #32 in FIG. 3 , information #42 in FIG. 4 , or information #52 in FIG. 7 .
  • information #32 in FIG. 3 information #32 in FIG. 3
  • information #42 in FIG. 4 information #52 in FIG. 7 .
  • information #52 in FIG. 7 information #52 in FIG. 7 .
  • the basic service layer may negotiate channel parameters with the second electronic device. In this way, the channel parameters of the first electronic device and the second electronic device can be aligned to prevent subsequent process failures.
  • the channel parameters negotiated between the basic service layer and the second electronic device may be related to the transmission mode.
  • Channel parameters can include transmission window sliding window size, refresh timer, maximum number of transmissions, retransmission timer, etc.
  • the second electronic device may also include a basic service layer, where the channel parameter negotiation process may occur between the basic service layer of the first electronic device and the basic service layer of the second electronic device. The data exchanged during the negotiation process can be transmitted through the control channel.
  • the first information may also include logical channel type information and service quality information.
  • the logical channel type information is used to indicate the type of the logical channel.
  • the logical channel type may include an asynchronous logical channel, a synchronous logical channel, a one-way logical channel, an AM mode logical channel, a UM mode logical channel, a TM mode logical channel, and the like.
  • the QoS information is used by the access layer to select a logical channel or to configure related parameters of the logical channel.
  • step S803 the basic service layer receives the second information from the access layer.
  • the second information is used to instruct the establishment of a mapping relationship between the first service channel and the first logical channel. That is to say, after receiving the first information sent by the basic service layer, the access layer can configure the first logical channel at the access layer, and then establish a mapping relationship between the first service channel and the first logical channel, and in step S803 Inform the underlying service layer.
  • the first logical channel may be an established logical channel, a reconfigured logical channel, or a newly established logical channel.
  • the access layer can map a logical channel that has been built before as the first logical channel to the first service channel; or, can reconfigure a logical channel that has been built before, and use the reconfigured The logical channel is mapped to the first service channel as the first logical channel; or, a new logical channel may be established as the first logical channel to be mapped to the first service channel.
  • the access layer may determine which method to use to obtain the first logical channel according to the first information and in combination with the transmission situation of the access layer, which is not limited in this embodiment of the present application.
  • the access layer may perform the actions of step S306 in Figure 3, or perform the actions of Step S406 in Figure 4, or perform the actions of Step S504 in Figure 7, so as to obtain the first logic aisle.
  • the access layer obtains the first logical channel and the possible applicable scenarios please refer to the relevant description above, and for the sake of brevity, details will not be repeated here.
  • the second information may include an identifier of the first service channel and an identifier of the first logical channel.
  • the second information may be information #33 in FIG. 3 , information #43 in FIG. 4 , or information #53 in FIG. 7 .
  • information #33 in FIG. 3 may be information #33 in FIG. 3 , information #43 in FIG. 4 , or information #53 in FIG. 7 .
  • step S804 the basic service layer sends third information to the second electronic device.
  • the third information is used to instruct the second electronic device to establish the second service channel.
  • the first service channel is established by the first electronic device side
  • the second service channel is established by the second electronic device side.
  • the second electronic device may also include a basic application layer, a basic service layer, and an access layer.
  • the basic service layer of the first electronic device may send the third information to the basic service layer of the second electronic device.
  • the third information may be transmitted through a control channel established between the first electronic device and the second electronic device.
  • the second electronic device may generate the identifier of the second service channel. More specifically, the basic service layer of the second electronic device may generate the identifier of the second service channel. As an example but not a limitation, in a specific implementation, the identifier of the first service channel may use the TCID-d involved in the foregoing embodiments.
  • the identification of the second service channel and the identification of the first service channel may be independent, that is, the first electronic device and the second electronic device respectively have preset rules for generating service channel identification, and the two electronic devices When generating the identifiers of their respective service channels, they do not affect each other.
  • the identifier of the first service channel and the identifier of the second service channel can also be set to be the same. In this case, a random number can be generated at the same time as the identifier of the service channel is generated.
  • the second electronic device may establish a mapping relationship between the second service channel and the first logical channel. After the second electronic device completes the mapping relationship between the second service channel and the first logical channel, it can be considered that the connection between the first service channel and the second service channel is established, and the underlying logical channel can also perform service transmission.
  • the third information may include an identifier of the first service channel and an identifier of the first logical channel.
  • the third information may be information #34 in FIG. 3 , information #44 in FIG. 4 , or information #54 in FIG. 7 .
  • information #34 in FIG. 3 may be information #34 in FIG. 3 , information #44 in FIG. 4 , or information #54 in FIG. 7 .
  • step S805 the basic service layer receives fourth information from the second electronic device.
  • the fourth information is used to instruct the establishment of a mapping relationship between the second service channel and the first logical channel.
  • the fourth information may include an identifier of the second service channel and an identifier of the first logical channel.
  • the fourth information may be information #36 in FIG. 3 , information #46 in FIG. 4 , or information #56 in FIG. 7 .
  • information #36 in FIG. 3 information #46 in FIG. 4
  • information #56 in FIG. 7 information #56 in FIG. 7 .
  • step S806 the basic service layer determines the mapping relationship between the first service channel and the second service channel according to the fourth information, and completes the establishment of the first service channel.
  • the basic service layer can know the mapping relationship between the second service channel and the first logical channel according to the fourth information, and at the same time know the mapping relationship between the first service channel and the first logical channel, so it can determine the first service channel and the first logical channel.
  • the mapping relationship of the second service channel completes the establishment of the first service channel. In this way, the basic service layer can consider that the connection between the first service channel and the second service channel has been established, and the channel formed by the first service channel, the first logical channel and the second service channel can be used for subsequent service transmission.
  • the basic service layer may also configure a service channel group, where the service channel group may include one or more service channels.
  • the first service channel belongs to a first service channel group, and the first service channel group includes at least one service channel.
  • the first service channel group has a mapping relationship with the first port of the first electronic device, and the first service channel group is used to transmit data issued by the first port.
  • the second service channel belongs to a second service channel group, and the second service channel group includes at least one service channel.
  • the second service channel group has a mapping relationship with the second port of the second electronic device, and the second service channel group is used to transmit data issued by the second port.
  • the first port, the first service channel, the first logical channel, the second service channel and the second port are used to transmit services between the first electronic device and the second electronic device.
  • the first service channel may be the first service channel established in the first service channel group, or may be a service channel other than the first service channel established in the first service channel group.
  • the first service channel group needs to be established when the first service channel is established.
  • establishing the first service channel may be regarded as establishing a sub-channel in the established first service channel group.
  • the basic service layer determines to establish the first service channel according to business requirements, which may include: when the first When the transmission state of the service channel group does not meet the service requirements, the basic service layer determines to create a new first service channel in the first service channel group.
  • the first service channel group has been established, and is used to transmit data issued by the first port. If the transmission status of the first service channel group does not meet the business requirements, for example, the current transmission status does not meet the service quality or the service channel is blocked, the basic service layer can add sub-channels to the first service channel group, that is, establish the first service channel , so as to carry out business diversion. In a specific implementation, the basic service layer may use various methods to determine whether to establish the first service channel according to different service requirements.
  • the first service channel used for service offloading may use a different access technology from other service channels in the first service channel group, or use different spectrum resources, etc., so as to realize offloading.
  • the basic application layer needs to initiate the process of creating the service channel group. Therefore, before step S801, the basic service layer may receive a service requirement sent by the basic application layer, and the service requirement instructs the basic service layer to create a first service channel group. In step S801, the basic service layer determines to establish a first service channel according to an indication of a service requirement, where the first service channel is the first service channel in the first service channel group.
  • the basic service layer determines to create a new first service channel, and the The first service channel belongs to the new service channel group.
  • the basic application layer and the second electronic device can perform port negotiation to determine that the first electronic device uses the first port and the second electronic device uses the second port. port.
  • the basic service layer needs to negotiate with the second electronic device port to determine for which port to create the first service channel group.
  • the second electronic device may also include a basic application layer, so the port negotiation process may occur between the basic service layer of the first electronic device and the basic service layer of the second electronic device.
  • the information exchanged during the port negotiation process can be transmitted through the default service channel.
  • the method shown in FIG. 10 may also include step S807 And step S808, as shown in FIG. 10 .
  • step S807 is executed, and the basic service layer receives fifth information sent by the basic application layer.
  • the fifth information is used to indicate to apply for a service channel for the first port.
  • the first port is a port determined through negotiation between the first electronic device and the second electronic device.
  • the first port is a port used for transmitting services on the electronic device side. It can be understood that, when the first electronic device and the second electronic device have negotiated ports, the fifth information is used to indicate to apply for a service channel for the first port, which can be understood as indicating that the first port and the second The port applies for a service channel.
  • the fifth information may be information #31 in FIG. 3 or information #41 in FIG. 4 .
  • information #31 in FIG. 3 may be information #31 in FIG. 3 or information #41 in FIG. 4 .
  • step S808 is executed, and the basic service layer sends sixth information to the basic application layer.
  • the sixth information is used to instruct the first port to establish a mapping relationship with the first service channel group.
  • the sixth information may be information #37 in FIG. 3 , or information #47 in FIG. 4 .
  • information #37 in FIG. 3 or information #47 in FIG. 4 .
  • the first service channel may be a bidirectional transmission channel, that is, used to transmit services between the first electronic device and the second electronic device.
  • the first service channel may be a one-way transmission channel, that is, it is used for the first electronic device to transmit services to the second electronic device, but cannot be used for the second electronic device to transmit services to the first electronic device.
  • the fifth information may include an identifier of the first port and an identifier of the second port.
  • the sixth information may include an identifier of the first port and a first mapping identifier, where the first mapping identifier is used to indicate the first service channel group.
  • the first service channel is a two-way transmission channel
  • the basic application layer applies for a service channel for a port
  • the fifth information may include an identifier of the first port.
  • the sixth information may include an identifier of the first port and a first mapping identifier, where the first mapping identifier is used to indicate the first service channel group.
  • the first mapping identifier is represented as the identifier of the first service channel group, such as the above GoupID, which can be expressed as the identifier of the first service channel, such as the above TCID, and can also be expressed as the transmission channel mapping identifier, as above
  • the MapTCID of the text For the representation forms of GoupID, TCID and MapTCID, please refer to the relevant description above, and for the sake of brevity, details will not be repeated here.
  • the fifth information may also include service channel type information and service quality indication information.
  • the service channel type information is used to indicate the type of service, for example, indicating that the first service channel is a unicast service channel, a multicast service channel or a broadcast service channel.
  • the quality of service indication information is used to indicate the requirements of the service on the service channel, such as transmission rate, delay, packet loss rate, communication period, maximum packet size, etc.
  • the fifth information may further include additional parameters, such as transmission mode information, information indicating whether to carry exclusively, and the like.
  • the transmission mode information is used to indicate the transmission mode of the data, and the transmission mode may include basic mode, transparent transmission mode, common mode, flow control mode, stream mode, retransmission mode, and the like.
  • the dedicated whether indication information is used to indicate whether the first service channel is dedicated to transmitting data issued by the first port.
  • the access layer of the first electronic device may support multiple access technologies, such as SLB access technology and SLE access technology.
  • SLB access technology and SLE access technology When the first electronic device and the second electronic device need to perform wireless service or service distribution, the user does not need to select or specify which access technology to use for service transmission, and the basic service layer selects the underlying access technology according to business requirements, and establishes business channel for transmission.
  • the compatibility of multiple access technologies and the unification of the upper layer can be achieved, that is, the basic application layer does not need to perceive the access technology, and the basic service layer completes functions such as channel creation and distribution.
  • FIG. 10 describes the process of establishing the first service channel.
  • the first service channel may also be released.
  • FIG. 11 shows a schematic flowchart of another method for configuring a channel for transmitting services provided by an embodiment of the present application. As shown in FIG. 11 , the method may include steps S801 to S808 and steps S901 to S906.
  • Steps S801 to S808 are used to establish the first service channel, and steps S901 to S906 are used to release the first service channel.
  • the process of establishing the first service channel is the same as steps S801 to S808 shown in FIG. 10 .
  • steps S801 to S808 shown in FIG. 10 .
  • FIG. 10 Only the process of releasing the first service channel will be described in detail below.
  • steps S801 to S808 a first service channel is established.
  • step S901 when a preset condition is met, the basic service layer determines to release the first service channel.
  • the process of releasing the first service channel is to delete the sub-channels in the service channel group. process. If the first service channel group includes a service channel, that is, the first service channel, then the process of releasing the first service channel can also be considered as the process of releasing the first service channel group, that is, when releasing the first service channel, release The service channel group to which the first service channel belongs.
  • the preset condition may include: the first service channel does not transmit data within a preset time period.
  • the first service channel does not transmit services for a long time, then the first service channel can be released.
  • the preset condition may include: the basic service layer receives indication information sent by the basic application layer, and the indication information is used to indicate the release of the first service channel group to which the first service channel belongs, wherein the first service channel group and The first port of the first electronic device has a one-to-one mapping relationship, and the first service channel group is used to transmit data issued by the first port.
  • the basic service layer when the basic service layer receives the indication information from the basic application layer, it may release the first service channel according to the indication information. It should be noted that here the basic service layer needs to combine the mapping between ports and service channel groups to determine whether to release the first service channel. For example, when the first port and the first service channel group have a one-to-one mapping relationship, it is determined to release the first service channel.
  • step S902 the basic service layer sends seventh information to the access layer.
  • the seventh information is used to apply for releasing the first logical channel.
  • the first logical channel has a mapping relationship with the first service channel.
  • the seventh information may include an identifier of the first service channel.
  • the seventh information may be information #62 in FIG. 8 or information #72 in FIG. 9 .
  • information #62 in FIG. 8 or information #72 in FIG. 9 .
  • step S903 the basic service layer receives the eighth information from the access layer.
  • the eighth information is used to indicate the unmapping relationship between the first service channel and the first logical channel.
  • the eighth information may include the identifier of the first service channel.
  • the eighth information may be information #63 in FIG. 8 or information #73 in FIG. 9 .
  • information #63 in FIG. 8 or information #73 in FIG. 9 .
  • the parameters of the first logical channel may remain unchanged or be reconfigured. Or the first logical channel is deleted.
  • the access layer may process the first logical channel according to actual conditions, and details may refer to related descriptions in FIGS. 8-9 .
  • step S904 the basic service layer sends ninth information to the second electronic device.
  • the ninth information is used to instruct the second electronic device to release the second service channel, that is, instruct the second electronic device to release the mapping relationship between the second service channel and the first logical channel.
  • the ninth information may include the identifier of the first service channel.
  • the ninth information may be information #64 in FIG. 8 or information #74 in FIG. 9 .
  • information #64 in FIG. 8 or information #74 in FIG. 9 .
  • the second electronic device may release the second service channel.
  • step S905 the basic service layer receives tenth information from the second electronic device.
  • the tenth information is used to indicate the unmapping relationship between the second service channel and the first logical channel.
  • the tenth information may include an identifier of the second service channel.
  • the tenth information may be information #66 in FIG. 8 or information #76 in FIG. 9 .
  • information #66 in FIG. 8 or information #76 in FIG. 9 .
  • steps S904 and S905 may occur between the basic service layer of the first electronic device and the basic service layer of the second electronic device, wherein information exchanged between the two devices may be transmitted through a control channel.
  • step S905 the basic service layer determines the unmapping relationship between the first service channel and the second service channel according to the tenth information, and completes the release of the first service channel.
  • the basic service layer After the basic service layer receives the tenth information, it can be considered that the underlying link between the first electronic device and the second electronic device is disconnected, and the first service channel and the second service channel are disconnected.
  • the method shown in FIG. 11 may further include steps S907 and S908, as follows.
  • step S907 is executed, and the basic service layer receives the eleventh information sent by the basic application layer.
  • the eleventh information is used to indicate to release the service channel for the first port of the first electronic device, where the first port has a mapping relationship with the first service channel group, and the first service channel group includes the first service channel.
  • the eleventh information may include an identifier of the first port.
  • the eleventh information may be information #71 in FIG. 9 .
  • information #71 please refer to the relevant description above, and for the sake of brevity, details will not be repeated here.
  • step S908 is executed, and the basic service layer receives the twelfth information sent by the basic application layer.
  • the twelfth information is used to indicate the unmapping relationship between the first port and the first service channel group.
  • the twelfth information may include an identifier of the first port.
  • the twelfth information may be information #77 in FIG. 9 .
  • information #77 please refer to the relevant description above, and for the sake of brevity, details will not be repeated here.
  • the first service channel when the service ends or the service channel is not required to be offloaded, the first service channel may be released, thereby releasing transmission resources and improving resource utilization.
  • the basic application layer may be the basic application layer 230 shown in FIG.
  • the corresponding business modules are executed.
  • the basic service layer may be the basic service layer 220 shown in FIG. 2 , and the operations performed by the basic service layer may specifically be performed by the channel management module in the basic service layer 230 shown in FIG. 2 .
  • the access layer may be the access layer 210 shown in FIG. 2 , and operations performed by the access layer may specifically be performed by corresponding access modules in the access layer 210 shown in FIG. 2 .
  • Fig. 12 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the apparatus 1000 in FIG. 12 may be a specific example of the electronic device in FIG. 1 or FIG. 2 .
  • the apparatus 1000 shown in FIG. 12 can be used to execute the method in FIG. 10 or FIG. 11 , and can specifically implement the embodiments shown in FIG. 3 to FIG. 9 , and the description will not be repeated to avoid redundancy.
  • the device 1000 shown in FIG. 12 includes a service module 1010 , a channel management module 1020 and an access module 1030 .
  • the apparatus 1000 supports multiple access technologies, and the access module 1030 may be a module for implementing one of the access technologies.
  • the business module 1010 is used to issue business requirements.
  • Channel management module 1020 for:
  • the first information is used to apply for a logical channel supporting a first access technology, and the first access technology is selected by the channel management module 1020 from multiple access technologies;
  • the mapping relationship between the first service channel and the second service channel is determined according to the fourth information, and the establishment of the first service channel is completed.
  • the service module 1010 may be any service module in the basic application layer 230 shown in FIG. 2 .
  • the channel management module 1020 may be a channel management module in the basic service layer 220 shown in FIG. 2 .
  • the access module 1030 may be a module supporting the SLB access technology in the access layer 210 shown in FIG. 2 , or a module supporting the SLE access technology.
  • the first service channel belongs to the first service channel group, the first service channel group includes at least one service channel, the first service channel group has a mapping relationship with the first port of the first electronic device, and the first service channel group uses The data delivered by the first port is transmitted.
  • the second service channel belongs to the second service channel group, the second service channel group includes at least one service channel, the second service channel group has a mapping relationship with the second port of the second electronic device, and the second service channel group is used to transmit the second The data sent by the port.
  • the first port, the first service channel, the first logical channel, the second service channel and the second port are used to transmit services between the first electronic device and the second electronic device.
  • the first electronic device is the device 1000 .
  • the channel management module 1020 is specifically configured to determine to create a new first service channel in the first service channel group when the transmission status of the first service channel group does not meet service requirements.
  • the channel management module 1020 is also used to receive the service requirement sent by the service module 1010, and the service requirement instructs the channel management module 1020 to create a first service channel group; determine to establish the first service channel, wherein the first service channel is the first The first service channel in the service channel group.
  • the service module 1010 is further configured to perform port negotiation with the second electronic device to determine that the first electronic device uses the first port and the second electronic device uses the second port.
  • the channel management module 1020 is specifically configured to receive the fifth information sent by the service module 1010 .
  • the fifth information is used to indicate to apply for a service channel for the first port; and the sixth information is sent to the service module 1010 .
  • the sixth information is used to instruct the first port to establish a mapping relationship with the first service channel group.
  • the first service channel is a bidirectional transmission channel; the fifth information includes the identifier of the first port and the identifier of the second port; the sixth information includes the identifier of the first port and the first mapping identifier, wherein the first mapping identifier is used Indicates the first service channel group.
  • the first service channel is a one-way transmission channel; the fifth information includes the identifier of the first port; the sixth information includes the identifier of the first port and the first mapping identifier, wherein the first mapping identifier is used to indicate that the first service channel group.
  • the fifth information also includes service channel type information and service quality indication information.
  • the channel management module 1020 is also configured to negotiate channel parameters with the second electronic device.
  • the channel management module 1020 is specifically configured to generate an identifier of the first service channel.
  • the first information includes an identifier of the first service channel.
  • the second information includes an identifier of the first service channel and an identifier of the first logical channel.
  • the third information includes an identifier of the first service channel and an identifier of the first logical channel.
  • the fourth information includes an identifier of the second service channel and an identifier of the first logical channel.
  • the first information includes logical channel type information and quality of service information.
  • the first logical channel is an established logical channel, a reconfigured logical channel or a newly established logical channel.
  • the channel management module 1020 is also used for:
  • the tenth information it is determined to release the mapping relationship between the first service channel and the second service channel, and the release of the first service channel is completed.
  • the preset conditions include: the first service channel has not transmitted data within the preset time period; or, the channel management module 1020 receives indication information sent by the service module 1010, and the indication information is used to indicate the release of the A first service channel group, wherein the first service channel group has a one-to-one mapping relationship with the first port of the first electronic device, and the first service channel group is used to transmit data issued by the first port.
  • the channel management module 1020 is further configured to receive eleventh information sent by the service module 1010, where the eleventh information is used to indicate to release the service channel for the first port of the first electronic device, where the first port is connected to the first port A service channel group has a mapping relationship, and the first service channel group includes the first service channel; receiving the twelfth information sent by the service module 1010, the twelfth information is used to indicate that the first port and the first service channel group have released the mapping relationship .
  • the eleventh information includes an identifier of the first port.
  • the twelfth information includes an identifier of the first port.
  • the seventh information includes an identifier of the first service channel.
  • the eighth information includes an identifier of the first service channel.
  • the ninth information includes an identifier of the first service channel.
  • the tenth information includes an identifier of the second service channel.
  • the parameters of the first logical channel remain unchanged or are reconfigured; or the first logical channel is deleted.
  • multiple access technologies include Starlight basic SLB access technology and Starlight low-power SLE access technology.
  • Fig. 13 is a schematic structural diagram of a device provided by another embodiment of the present application.
  • the apparatus 1100 shown in FIG. 13 may correspond to the apparatus described above, such as an electronic device.
  • the apparatus 1100 may be a specific example of the electronic device in FIG. 1 or FIG. 2 .
  • the device 1100 includes: a processor 1120 .
  • the processor 1120 is used to implement corresponding control and management operations, for example, the processor 1120 is used to support the device to execute the method or operation or function shown in FIG. 10 or FIG. 11 in the foregoing embodiments, and FIG. 3 to the method or operation or function of the embodiment shown in FIG. 9 .
  • the apparatus 1100 may further include: a memory 1110 and a communication interface 1130 .
  • the processor 1120 , the communication interface 1130 and the memory 1110 may be connected to each other or through a bus 1140 .
  • the communication interface 1130 is used to support the device to communicate
  • the memory 1110 is used to store program codes and data of the device.
  • the processor 1120 invokes codes or data stored in the memory 1110 to implement corresponding operations.
  • the memory 1110 may or may not be coupled with the processor.
  • the coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the processor 1120 may be a central processing unit, a general processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like.
  • Communication interface 1130 may be a transceiver, circuit, bus, module, or other type of communication interface.
  • the bus 604 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 13 , but it does not mean that there is only one bus or one type of bus.
  • An embodiment of the present application further provides a communication system, including the first electronic device and the second electronic device described above.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium has program instructions, and when the program instructions are executed by the processor, the processor executes the above-mentioned channel configured to transmit services Methods.
  • An embodiment of the present application also provides a chip system, the chip system includes at least one processor, and when the program instructions are executed in the at least one processor, the at least one processor executes the above configuration for transmission Ways of doing business.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

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

Abstract

本申请提供了一种配置用于传输业务的通道的方法及装置,该方法包括:基础服务层根据业务需求确定建立第一业务通道;基础服务层向接入层发送第一信息,用于申请支持第一接入技术的逻辑通道;基础服务层接收来自接入层的第二信息,用于指示第一业务通道与第一逻辑通道建立映射关系;基础服务层向第二电子设备发送第三信息,用于指示第二电子设备建立第二业务通道;基础服务层接收来自第二电子设备的第四信息,用于指示第二业务通道与第一逻辑通道建立映射关系;基础服务层根据第四信息确定第一业务通道和第二业务通道的映射关系,完成第一业务通道的建立。上述方法能够使上层业务通过多种接入技术动态传输,提高业务传输的灵活性。

Description

配置用于传输业务的通道的方法及装置
本申请要求于2021年8月2日提交中国专利局、申请号为202110880797.9、申请名称为“配置用于传输业务的通道的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,并且更具体地,涉及一种配置用于传输业务的通道的方法及装置。
背景技术
电子设备之间可以通过无线短距通信技术进行通信,实现信息共享和业务的无线传输。随着新需求的提出和新技术的发展,无线短距通信技术也在不断发展。为解决面向全行业互联网场景的需求,星闪联盟(sparklink alliance)成立并致力于推动新一代无线短距通信技术创新和产业生态,以承载智能汽车、智能家居、智能终端和智能制造等场景应用并满足极致性能需求。
为支撑新一代无线短距通信技术并实现短距业务的完整流程,需要在全新的协议框架下进行业务的传输通道的设计。因此,如何配置用于传输业务的通道成为亟需解决的问题。
发明内容
本申请提供一种配置用于传输业务的通道的方法及装置,能够使上层业务通过多种接入技术动态传输,提高业务传输的灵活性。
第一方面,提供了一种配置用于传输业务的通道的方法,应用于第一电子设备,所述第一电子设备包括基础应用层、基础服务层和接入层,其中所述基础应用层用于下发业务需求,所述接入层支持多种接入技术,所述方法包括:所述基础服务层根据所述业务需求确定建立第一业务通道;所述基础服务层向所述接入层发送第一信息,所述第一信息用于申请支持第一接入技术的逻辑通道,所述第一接入技术是由所述基础服务层从所述多种接入技术中选择得到;所述基础服务层接收来自所述接入层的第二信息,所述第二信息用于指示所述第一业务通道与第一逻辑通道建立映射关系;所述基础服务层向第二电子设备发送第三信息,所述第三信息用于指示所述第二电子设备建立第二业务通道;所述基础服务层接收来自所述第二电子设备的第四信息,所述第四信息用于指示所述第二业务通道与所述第一逻辑通道建立映射关系;所述基础服务层根据所述第四信息确定所述第一业务通道和所述第二业务通道的映射关系,完成所述第一业务通道的建立。
本申请实施例中,第一电子设备的接入层可以支持多种接入技术。当第一电子设备与第二电子设备需要进行无线业务或业务分流时,用户无需选择或指定在哪个接入技术上进行业务传输,由基础服务层根据业务需求自行选择底层接入技术,并建立业务通道进行传 输。这样可以实现对多种接入技术的兼容和对上层的统一,即基础应用层无需感知接入技术,由基础服务层完成通道创建、分流等功能。从而能够使使上层业务通过多种接入技术动态传输,提高业务传输的灵活性。
结合第一方面,在一种可能的实现方式中,所述第一业务通道属于第一业务通道组,所述第一业务通道组包括至少一个业务通道,所述第一业务通道组与所述第一电子设备的第一端口具有映射关系,所述第一业务通道组用于传输所述第一端口下发的数据;所述第二业务通道属于第二业务通道组,所述第二业务通道组包括至少一个业务通道,所述第二业务通道组与所述第二电子设备的第二端口具有映射关系,所述第二业务通道组用于传输所述第二端口下发的数据;其中,所述第一端口、所述第一业务通道、所述第一逻辑通道、所述第二业务通道和所述第二端口用于在所述第一电子设备和所述第二电子设备之间传输业务。
本申请实施例中,当基础应用层下发数据到基础服务层后,可以由基础服务层从业务通道组中选择一个或多个业务通道进行传输,基础应用层对业务通道如何传输并不感知,可以向上层屏蔽底层的传输。
结合第一方面,在一种可能的实现方式中,所述基础服务层根据所述业务需求确定建立第一业务通道,包括:当所述第一业务通道组的传输状态不满足所述业务需求时,所述基础服务层确定在所述第一业务通道组中新建所述第一业务通道。
当第一业务通道组的传输状态不满足业务需求时,例如业务受阻,基础服务层可以在第一业务通道组中新建第一业务通道用于业务分流,以提高业务传输效率。
结合第一方面,在一种可能的实现方式中,在所述基础服务层根据所述业务需求确定建立第一业务通道之前,还包括:所述基础服务层接收所述基础应用层发送的所述业务需求,所述业务需求指示所述基础服务层创建所述第一业务通道组;所述基础服务层确定建立所述第一业务通道,其中所述第一业务通道为所述第一业务通道组中的第一条业务通道。
当需要创建新的业务通道组时,可以由基础应用层发起流程,指示基础服务层创建。
结合第一方面,在一种可能的实现方式中,在所述基础服务层接收所述基础应用层发送的所述业务需求之前,还包括:所述基础应用层与所述第二电子设备进行端口协商,确定所述第一电子设备使用所述第一端口,所述第二电子设备使用所述第二端口;所述基础服务层接收所述基础应用层发送的所述业务需求,包括:所述基础服务层接收所述基础应用层发送的第五信息,所述第五信息用于指示为所述第一端口申请业务通道;在所述基础服务层根据所述第四信息确定所述第一业务通道和所述第二业务通道的映射关系之后,还包括:所述基础服务层向所述基础应用层发送第六信息,所述第六信息用于指示所述第一端口与所述第一业务通道组建立映射关系。
结合第一方面,在一种可能的实现方式中,所述第一业务通道为双向传输通道;所述第五信息包括所述第一端口的标识和所述第二端口的标识;所述第六信息包括所述第一端口的标识和第一映射标识,其中所述第一映射标识用于指示所述第一业务通道组。
第一业务通道可以为双向传输通道,方便第一电子设备和第二电子设备相互进行业务传输。
结合第一方面,在一种可能的实现方式中,所述第一业务通道为单向传输通道;所述第五信息包括所述第一端口的标识;所述第六信息包括所述第一端口的标识和第一映射标 识,其中所述第一映射标识用于指示所述第一业务通道组。
结合第一方面,在一种可能的实现方式中,所述第五信息还包括业务通道类型信息和服务质量指示信息。
业务通道类型信息可以指示业务通道类型,从而使基础服务层建立相应类型的业务通道。
结合第一方面,在一种可能的实现方式中,在所述基础服务层向所述接入层发送第一信息之前,还包括:所述基础服务层与所述第二电子设备进行通道参数协商。
基础服务层与第二电子设备进行通道参数协商,可以使用协商后的参数建立通道,防止后续过程建立失败。
结合第一方面,在一种可能的实现方式中,所述基础服务层根据所述业务需求确定建立第一业务通道,包括:所述基础服务层生成所述第一业务通道的标识。
结合第一方面,在一种可能的实现方式中,所述第一信息包括所述第一业务通道的标识;所述第二信息包括所述第一业务通道的标识和所述第一逻辑通道的标识;所述第三信息包括所述第一业务通道的标识和所述第一逻辑通道的标识;所述第四信息包括所述第二业务通道的标识和所述第一逻辑通道的标识。
结合第一方面,在一种可能的实现方式中,所述第一信息包括逻辑通道类型信息和服务质量信息。
结合第一方面,在一种可能的实现方式中,所述第一逻辑通道为已经建立的逻辑通道、重配置的逻辑通道或者新建立的逻辑通道。
结合第一方面,在一种可能的实现方式中,所述方法还包括:当满足预设条件时,所述基础服务层确定释放所述第一业务通道;所述基础服务层向所述接入层发送第七信息,所述第七信息用于申请释放所述第一逻辑通道;所述基础服务层接收来自所述接入层的第八信息,所述第八信息用于指示所述第一业务通道与所述第一逻辑通道解除映射关系;所述基础服务层向所述第二电子设备发送第九信息,所述第九信息用于指示所述第二电子设备释放所述第二业务通道;所述基础服务层接收来自所述第二电子设备的第十信息,所述第十信息用于指示所述第二业务通道与所述第一逻辑通道解除映射关系;所述基础服务层根据所述第十信息确定所述第一业务通道和所述第二业务通道解除映射关系,完成所述第一业务通道的释放。
当业务结束或者不需要业务通道分流时,可以释放第一业务通道,从而释放传输资源,提高资源利用率。
结合第一方面,在一种可能的实现方式中,所述预设条件包括:所述第一业务通道在预设时长内未传输数据;或者,所述基础服务层接收到所述基础应用层发送的指示信息,所述指示信息用于指示释放所述第一业务通道所属的第一业务通道组,其中所述第一业务通道组与所述第一电子设备的第一端口具有一对一映射关系,所述第一业务通道组用于传输所述第一端口下发的数据。
当第一业务通道在很长时间内没有进行传输业务,可以将第一业务通道释放。
当上层指示第一业务通道组不再用于传输第一端口下发的数据时,可以将第一业务通道释放。
结合第一方面,在一种可能的实现方式中,在所述基础服务层确定释放所述第一业务 通道之前,还包括:所述基础服务层接收所述基础应用层发送的第十一信息,所述第十一信息用于指示为所述第一电子设备的第一端口释放业务通道,其中所述第一端口与第一业务通道组具有映射关系,所述第一业务通道组包括所述第一业务通道;在所述基础服务层根据所述第十信息确定所述第一业务通道和所述第二业务通道解除映射关系之后,还包括:所述基础服务层接收所述基础应用层发送的第十二信息,所述第十二信息用于指示所述第一端口与所述第一业务通道组解除映射关系。
结合第一方面,在一种可能的实现方式中,所述第十一信息包括所述第一端口的标识;所述第十二信息包括所述第一端口的标识。
结合第一方面,在一种可能的实现方式中,所述第七信息包括所述第一业务通道的标识;所述第八信息包括所述第一业务通道的标识;所述第九信息包括所述第一业务通道的标识;所述第十信息包括所述第二业务通道的标识。
结合第一方面,在一种可能的实现方式中,还包括:所述第一逻辑通道的参数维持不变或者被重配置;或者所述第一逻辑通道被删除。
结合第一方面,在一种可能的实现方式中,所述多种接入技术包括星闪基础SLB接入技术和星闪低功耗SLE接入技术。
第二方面,提供了一种配置用于传输业务的通道的装置,包括用于执行上述第一方面或第一方面中任一种可能实现方式中的方法的模块或单元。该模块或单元可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。
可选的,所述装置可以是电子设备,也可以是电子设备内的芯片。
在一种可能的设计中,所述装置包括处理单元和收发单元。当所述装置是电子设备时,所述处理单元可以是处理器,所述收发单元可以是收发器。当所述装置是电子设备内的芯片时,所述处理单元可以是处理器,所述收发单元可以是输入/输出接口、管脚或电路等。所述收发单元可以称为通信接口。
在一种可能的设计中,所述装置还包括存储单元,所述存储单元用于存储指令,所述处理单元执行所述存储单元所存储的指令,以使所述装置执行第一方面或第一方面中任一种可能实现方式中的方法。当所述装置是电子设备时,所述存储单元可以是存储器。当所述装置是电子设备内的芯片时,所述存储单元可以是所述芯片内的存储单元(例如,寄存器、缓存等),也可以是所述电子设备内的位于所述芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。
第三方面,提供了一种配置用于传输业务的通道的装置,包括:存储器,用于存储计算机程序;处理器,用于执行所述存储器中存储的计算机程序,以使得所述装置执行上述第一方面或第一方面中任一种可能实现方式中的方法。
可选的,所述装置还包括收发器。
第四方面,提供了一种配置用于传输业务的通道的装置,包括:至少一个处理器和通信接口,所述通信接口用于为所述至少一个处理器提供指令和/或数据的输入或输出,所述至少一个处理器执行代码指令,使得所述装置执行上述第一方面或第一方面中任一种可能实现方式中的方法。
第五方面,提供一种芯片系统,包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得所述至少一个处理器执行上述第一方面或第一方面中任一种可能实现 方式中的方法。
在一种可能的设计中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
在一种可能的设计中,所述芯片系统还包括收发器,用于为所述至少一个处理器提供指令和/或数据的输入或输出。
第六方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述第一方面或第一方面中任一种可能实现方式中的方法。
需要说明的是,上述计算机程序代码可以全部或者部分存储在第一存储介质上,其中第一存储介质可以与处理器封装在一起的,也可以与处理器单独封装,本申请实施例对此不作具体限定。
第七方面,提供了一种计算机可读介质,存储有计算机可执行指令,当所述计算机可执行指令在计算机上运行时,使得所述计算机执行上述第一方面或第一方面中任一种可能实现方式中的方法。
第八方面,提供了一种通信系统,包括上文中的第一电子设备和第二电子设备。
可选的,该第一电子设备可以为上述第二方面至第四方面中的任意一方面所述的装置。
附图说明
图1是本申请实施例适用的通信系统的示意图。
图2是本申请实施例提供的协议框架示意图。
图3是本申请一个实施例提供的创建非缺省业务通道的流程示意图。
图4是本申请另一个实施例提供的创建非缺省业务通道的流程示意图。
图5是本申请实施例提供的创建非缺省业务通道过程中发生冲突的示意图。
图6是本申请实施例提供的创建非缺省业务通道过程中解决冲突的示意图。
图7是本申请实施例提供的添加非缺省子业务通道的流程示意图。
图8是本申请实施例提供的删除非缺省子业务通道的流程示意图。
图9是本申请实施例提供的释放非缺省业务通道的流程示意图。
图10是本申请一个实施例提供的配置用于传输业务的通道的方法的示意性流程图。
图11是本申请另一个实施例提供的配置用于传输业务的通道的方法的示意性流程图。
图12是本申请一个实施例提供的装置的示意性结构图。
图13是本申请另一个实施例提供的装置的示意性结构图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
图1示出了本申请实施例适用的通信系统的示意图。如图1所示,通信系统100包括多个电子设备,该多个电子设备中的任意两个电子设备可以相互通信。
以该多个电子设备中的任意一个电子设备为例,电子设备可以是任意一种具有无线收发功能的设备,包括但不限于蜂窝电话(cellular phone)、无绳电话、会话启动协议(session initiation protocol,SIP)电话、智能电话(smart phone)、无线本地环路(wireless localloop, WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备、车载设备、可穿戴设备、无人机设备、物联网或车联网中的电子设备、连接到无线调制解调器的其它设备等。
电子设备还可以是虚拟现实(virtual reality,VR)中的电子设备、增强现实(augmented reality,AR)中的电子设备、工业控制(industrial control)(例如智能制造)中的电子设备、无人驾驶(self driving)中的电子设备、远程医疗(remote medical)中的电子设备、智能电网(smart grid)中的电子设备、智慧城市(smart city)中的电子设备、智慧家庭(smart home)中的电子设备等。
电子设备还可以是个人便携式电子设备、计算机外部设备和各种家用或工业用电气设备,包括但不限于智能手机(smart phone)、智慧屏、智能音箱(如人工智能(artificial intelligence,AI)音箱、高保真(high fidelity,HiFi)音箱)、智能传感器、电视(television)无线耳机、VR头显、平板型电脑、显示器、摄像头、手提电脑、膝上型电脑(laptop computer)、车载电脑、车载终端(如麦克风、扬声器等)、投影仪、打印机、智能手环(smart wristband)、智能手表(smart watch)、智能眼镜、智能汽车、智能车床、智能监控设备等等。
本申请实施例对电子设备的具体形式不作特殊限制。通信系统100中的多个电子设备的类型可以部分相同,可以完全相同,也可以完全不同。
作为示例而非限定,图中示出的通信系统100包括电子设备101、102、103、104、105、106、107。电子设备101至107中的任意一个电子设备可以为上述提到的任意一种形式的电子设备。可以理解的是,通信系统100中所包括的电子设备的数量可以是更多或更少,本申请实施例对此并不限定,但至少包括两个电子设备。需要说明的是,图1所示的通信系统100仅为示意性说明,该通信系统中还可以包括其他设备,例如路由器或基站等设备,本申请实施例对此不作限定。
电子设备之间可以通过无线短距通信技术进行通信,实现信息共享和业务的无线传输。随着新需求的提出和新技术的发展,无线短距通信技术也在不断发展。为解决面向全行业互联网场景的需求,星闪联盟(sparklink alliance)成立并致力于推动新一代无线短距通信技术创新和产业生态,以承载智能汽车、智能家居、智能终端和智能制造等场景应用并满足极致性能需求。本申请实施例中所涉及的电子设备可以基于星闪联盟所设计的新一代无线短距通信技术进行通信。
针对上述场景,为支撑新一代无线短距通信技术并实现短距业务的完整流程,需要建立全新的协议框架。图2示出了本申请实施例提供的协议框架示意图。该协议框架可应用于任何可实现短距离通信的电子设备中,例如图1所示的通信系统100中的任意一个电子设备。如图2所示,协议框架200自下而上包括接入层210、基础服务层220和基础应用层230。
接入层210,主要负责底层逻辑链路的处理,例如逻辑链路的建立、重配置、删除等,以承接基础服务层220的业务需求(如可靠数据、实时数据等),其中逻辑链路用于在两个电子设备之间传输业务。接入层210包括多种接入技术,包括但不限于星闪基础(sparklink basic,SLB)短距无线通信系统的接入技术、星闪低功耗(sparklink low energy,SLE)短距无线通信系统的接入技术以及其他的接入技术,例如蓝牙低功耗(bluetooh low energy,BLE)技术、未来其他的星闪联盟接入技术等等,本申请实施例中仅以SLB和 SLE接入技术为例对接入层210的架构作简要介绍。
如图2所示,接入层210进一步可以包括数据链路层和物理层。数据链路层用于实现资源管理、访问控制、数据分段、级联、重排序等功能,以保障数据的可靠传递。物理层利用传输介质为数据链路层提供物理连接,以实现比特流的透明传输。在一些实施例中,数据链路层可以包括链路控制层和媒体接入层。链路控制层主要是基于节点间建立的链路,在控制链路上交互链路控制协议(link control protocol,LCP),起到物理/逻辑链路管理、设备行为的控制等功能。媒体接入层负责进行无线资源分配,并为链路控制层提供数据传输服务。本申请实施例中,SLB接入技术主要负责大宽带、高速率、高功耗业务(例如视频播放业务)的传输,SLE接入技术主要负责小带宽、低速率、低功耗业务(例如音频播放业务)的传输。
对于一个支持两种接入技术如SLB和SLE的电子设备来说,其接入层可以通过不同的模块分别实现SLB接入和SLE接入。本申请实施例中,上层的一个业务,可以通过多个接入技术进行动态传输,提高业务传输的灵活性。
可以理解的是,上述介绍的两种星闪联盟接入技术的名称仅仅是示例性的,不应理解为是对本申请实施例的限定,在其他实施例中或者在未来的架构中,SLB和SLE还可以使用其他的名称。
基础服务层220,主要负责传输通道的创建、添加、删除、释放等,以及逻辑链路的控制(例如接入技术的选择),以承接基础应用层230的业务需求(例如流量、速率、音质、分辨率)。其设计目标是可以兼容多种接入层技术,例如兼容上述介绍的SLB、SLE接入技术,并保留兼容未来更多接入技术的能力。
基础服务层220可以包括多个实现上述设计目标的模块或功能单元,包括但不限于设备发现模块、服务管理模块、通道管理模块、服务质量(quality of service,QoS)管理模块、安全管理模块、测量管理模块、多域协调模块、5G融合模块等。其中,设备发现模块用于在没有与设备进行连接的时候发现设备。服务管理模块用于对设备上的服务进行发现与操作。通道管理模块用于对传输通道进行管理,包括创建/添加/删除/释放,在后文中会进行详细介绍该模块的功能,在此暂不详述。QoS管理模块用于对传输的QoS进行管理与协商。安全管理模块负责基础服务层的安全连接。测量管理模块用于配置底层的测量与调度,用以进行功率控制等。多域协调模块在存在多个域(子网)的场景下,实现域之间的信息交互,实现多域间的干扰避免,负载平衡。5G融合模块用于建立具有蜂窝5G远端管理能力的通道,通过鉴权和认证机制,实现具有蜂窝5G远端控制功能的设备。
基础服务层220的传输可以分为控制面的传输和业务面的传输,相应地,基础服务层220的传输通道可以包括控制通道和业务通道,其中控制通道用于传输控制面的数据,业务通道用于传输业务面的数据。本申请以下实施例将对业务通道的相关流程进行详细描述。
基础应用层230,主要负责承接上层应用(application,APP)的不同业务需求,并且完成数据到基础服务层220的路由。根据业务的不同分类,基础应用层230可以包括多个不同的业务功能集合(也可称为业务模块或业务框架),例如音视频框架、数据框架等等。不同业务功能集合,包含了对业务的分类数据处理。
示例性的,如图2所示,应用层230可以包括通用感知框架、通用设备管理框架、通用音视频框架、通用数据框架等。其中,通用感知框架包含了对感知数据的处理;通用设 备管理框架包含了对设备管理数据的处理;通用音视频框架包含了对音视频诗句的处理,例如编解码处理;通用数据框架包含了对文件数据的处理,如加密压缩等。不同的业务功能集合可以通过业务标识(business identification,BID)区分。
本申请实施例中,基础服务层220和基础应用层230可以统称为上层协议或Host协议。Host协议能够适配底层的接入层210,支撑不同业务的需求,具体地,Host协议能够提供给业务模块发起业务的请求,并对业务数据进行传输和控制。
本申请实施例中,图1所示的电子设备可以支持至少一种接入技术,例如支持图2所示的SLB接入技术和SLE接入技术中的至少一种。无论接入层支持何种接入技术,上层均可以采用统一的Host协议,也即上层可以兼容多种接入技术。
为便于理解本申请,下面对本申请中涉及的相关技术术语进行说明。
端口(port),是基础应用层的通道,对下可以实现多个端口映射到同一个传输通道。
传输通道(transmission channel,TC),是基础服务层的通道,对上可承接多个端口(port)映射,对下可以实现多个传输通道映射到同一逻辑通道。
逻辑通道(logical channel,LC),是接入层的通道,对上可承接多个传输通道映射。在一些实施例中,也可以称为逻辑链路。一个逻辑通道对应一种接入技术。
具体地,参考图2所示,基础应用层230具有端口的概念,基础服务层220具有传输通道的概念,接入层210具有逻辑通道的概念。换言之,端口是基础应用层230的通道,传输通道是基础服务层220的通道,逻辑通道是接入层210的通道。多个端口可以映射到同一个传输通道,即端口与传输通道具有映射关系;多个传输通道可以映射到同一个逻辑通道,即传输通道与逻辑通道具有映射关系。逻辑通道是上层的基础服务层中的传输通道的建立的基础,在逻辑通道建立成功后,基础服务层的传输通道才可用。两个电子设备通信时,业务数据可以通过一个电子设备的端口-传输通道-逻辑通道路径,发送给另一个电子设备。
为了区分逻辑通道,定义了逻辑通道标识(logical channel identification,LCID),用于唯一标识逻辑通道。
传输通道组(transmission channel group),包括多条传输通道。该多条传输通道可共同用于传输从同一个端口下发的数据。也就是说,一个端口下发的数据(如数据流,该数据流可以包括多个数据包)只通过一个传输通道组传输。具体地,基础应用层将某个端口的数据传输到基础服务层之后,由基础服务层在对应的传输通道组中选择一个或多个传输通道传输这些数据包。不同的传输通道可以传输相同的数据,也可以分别传输不同的数据。例如在传输可靠业务时,传输通道组内的传输通道可以传输相同的数据包,即数据包在传输通道组内进行冗余传输;在传输大流量业务时,传输通道组内的传输通道可以分别传输不同的数据包。本申请实施例中,传输通道可以认为是传输通道组中的子通道。
为了区分传输通道,定义了传输通道标识(transmission channel identification,TCID),用于唯一标识传输通道。在一些实施例中,传输通道标识可以包括多个比特(bit),其中部分比特用于标识该传输通道所属的传输通道组的编号,即组编号(group identification,GroupID),部分比特用于标识该传输通道在传输通道组内的编号,即组内编号(local identification,LocalID)。例如,传输通道标识可以包括16bits,其中高13bits用于标识组编号GoupID,低3bits用于标识组内编号LocalID。
上文提到端口和传输通道具有映射关系,实际上,上层只关心传输通道组,而不关心子通道,因此对于基础应用层来说,其获取和维护的是端口与传输通道组之间的映射关系。这样基础应用层向基础服务层传输数据时,基础服务层可以根据端口与传输通道组的映射关系,在传输通道组内选择一个或多个传输通道进行传输。也就是说,对于一个子通道来说,基础服务层生成的是传输通道标识TCID。而传输通道向上层展示时,展示传输通道组即可。
因此,基础服务层向基础应用层传递传输通道组这一信息可以有多种方式,只要基础应用层能够获取到端口与传输通道组的映射关系即可。
示例性的,基础服务层向基础应用层展示传输通道时,可以传递完整的传输通道标识,也可以传递组编号GroupID不变而组内编号LocalID为0的标识,还可以传递传输通道组的标识(即组编号)。为便于理解,下面以传输通道标识包括16bits为例进行说明。也就是说,传输通道的相关信息向上层传递时,可以有以下几种情况:
1)基础服务层向上层传递传输通道标识TCID,示例如下:
13bits 3bits
GroupID LocalID
相应地,上层即基础应用层接收到该传输通道标识TCID后,可以只解析高13bits,从而获得传输通道组的信息。或者基础应用层将16bits的传输通道标识解析后,提取高13bits的信息,也可以获得传输通道组的信息。
2)基础服务层向上层传递组编号GroupID不变而组内编号LocalID为0的标识,为方便描述,本申请实施例称为传输通道映射标识(maptransmission channel identification,MapTCID),示例如下:
13bits 3bits
GroupID 0b000
由于MapTCID中的有效信息为高13bits的GroupID,可以认为当基础应用层有数据需要传输时,基础服务层可以从GroupID所标识的传输通道组内选择传输通道进行传输。基础应用层关心的是在哪个传输通道组传输数据,而不关心具体使用传输通道组内的哪个传输通道进行传输。
3)基础服务层向上层传递传输通道组标识,示例如下:
13bits
GroupID
也就是说,基础应用层可以只用13bits传递传输通道组的标识GroupID,使得基础应用层获得传输通道组的信息。
需要说明的是,上述用于表示传输通道标识的比特数以及传输通道向上层展示的方式仅仅是示例性的,在其他实施例中,也可以采用其他方式实现,例如将同一传输通道组内的传输通道标识均与另一标识相映射,然后基础服务层向上层传递该另一标识等,本申请对此不作限定。
上面介绍了各个层用于路由数据的通道,下面结合图2简要描述数据的传输路径。参 考图2所示,当有业务数据需要传输时,基础应用层230通过数据流(flow)将数据由端口传输到基础服务层220,基础服务层220选择一条或多条传输通道进行传输。由于传输通道与逻辑通道具有映射关系,相应地,接入层接收到数据后使用对应的逻辑通道继续传输。
示例性的,基础服务层220可以包括传输通道TCID1-TCIDx,基础服务层220可以选择TCID1传输通用感知框架发送的Qos流1,选择TCID2传输通用设备管理框架发送的Qos流2,选择TCID3传输通用音视频框架发送的Qos流3,选择TCIDx传输通用数据框架发送的Qos流4,等等。到接入层210时,TCID1传输的数据通过支持SLB的一个逻辑通道传输,TCID2传输的数据通过支持SLB的一个逻辑通道传输,TCID3传输的数据通过支持SLE的一个逻辑通道传输,TCIDx传输的数据通过支持SLE的一个逻辑通道传输。可以理解的是,图中示出的数据流和传输通道的对应关系以及传输通道和逻辑通道的对应关系仅仅是示例性的,不应理解为是对本申请的限定。
传输通道TCID1-TCIDx中的任意一个传输通道可以属于某个传输通道组,任意一个传输通道向上层展示时,可以展示为TCID、MapTCID或GroupID。
传输通道可以包括业务通道和控制通道,其中业务通道用于传输业务面的数据,控制通道用于传输控制面的数据。控制通道的建立是电子设备间建立业务通道的基础,因此本申请实施例所涉及的业务通道的相关流程,是在控制通道建立的基础上执行的,关于控制通道的建立流程,本申请实施例不再进行过多描述。
业务通道可以包括单播业务通道、组播业务通道和广播业务通道。单播业务通道是用于传输单播业务的业务通道,可以实现点对点传输。组播业务通道是用于传输组播业务的业务通道,可以实现点对组传输,其底层有反馈(ack),具有一定底层可靠性。广播业务通道是用于传输广播业务的业务通道,可以实现无连接传输,其底层无反馈(ack),需要通过多次发送保障可靠性。
单播业务通道包括缺省业务通道和非缺省业务通道,其中缺省业务通道在控制通道建立完成时自动建立,非缺省业务通道在有业务需求时根据需求建立。本申请实施例主要对非缺省业务通道的相关流程进行详细介绍。
本申请实施例中,非缺省业务通道的相关流程主要包括:创建非缺省业务通道的流程、添加非缺省业务子通道的流程、删除非缺省业务子通道的流程、释放非缺省业务通道的流程。
需要说明的是,本申请实施例中主要针对业务通道中的非缺省业务通道进行描述,因此以下实施例中涉及到“传输通道”的描述时,可以狭义理解为是业务通道,涉及到“传输通道组”的描述时,可以狭义理解为是业务通道组。业务通道仍可以使用上文所描述的TCID来进行标识,即以下实施例中涉及到“TCID”的描述时,可以狭义理解为是业务通道的标识。在其他一些实施例中,用于标识业务通道的TCID还可以称为“业务通道标识”或者其他的名称,本申请实施例对此不作限定。
本申请实施例中,创建非缺省业务通道的流程,可以认为是创建新的传输通道组的流程。添加非缺省业务子通道的流程,可以认为是在已有的传输通道组的基础上,在该传输通道组中增加新的传输通道的流程。删除非缺省业务子通道的流程,可以认为是在已有的传输通道组中,删除传输通道的流程。释放非缺省业务通道的流程,可以认为是释放已有 的传输通道组的流程,也即删除已有的传输通道组中的全部传输通道的流程。以下,以第一电子设备和第二电子设备为例,结合图2所示的协议架构,通过第一电子设备和第二电子设备之间以及各个电子设备内部各个层之间的交互,对上述各个流程做说明。其中,第一电子设备和第二电子设备中的基础服务层涉及通道管理模块。
图3示出了本申请一个实施例提供的创建非缺省业务通道的流程示意图。在该流程的实现过程中,涉及第一电子设备和第二电子设备,两个电子设备可以均具有如图2所示的基础应用层230、基础服务层220以及接入层210。图3示出的创建非缺省业务通道的流程300包括步骤S301至步骤S313,下面结合图3对各个步骤进行详细描述。
当第一电子设备和第二电子设备需要进行无线业务时,例如用户使用第一电子设备(如手机)与第二电子设备(如无线耳机)传输音乐进行播放时,第一电子设备与第二电子设备之间可以进行如下流程。
在步骤S301,第一电子设备的基础应用层和第二电子设备的基础应用层进行端口(port)协商。
在该步骤中,协商过程所涉及的数据可以通过已经建立的缺省业务通道传输。缺省业务通道是在控制通道建立完成之后自动建立的,用于传输服务管理数据。因此,在非缺省业务通道创建成功之前,第一电子设备和第二电子设备之间需要交互的服务管理数据均可以通过缺省业务通道进行传输。
在一些实施例中,在步骤S301中,第一电子设备的基础应用层和第二电子设备的基础应用层还可以进行业务协商和应用服务质量(quality of service,QoS)协商等。例如,第一电子设备和第二电子设备之间的业务协商、QoS协商和端口协商等均可以通过基础应用层中的业务框架使用服务管理模块提供的数据模板在缺省业务通道上进行统一传输。本申请实施例主要关注第一电子设备和第二电子设备进行端口协商的结果,因此对于其他协商过程,如业务协商、QoS协商等,在此不作过多描述。
示例性的,第一电子设备和第二电子设备协商的结果可以是第一电子设备使用第一端口(port1)映射,第二电子设备使用第二端口(port2)映射。相应地,第一端口port1和第二端口port2即具有映射关系,第一电子设备的基础应用层和第二电子设备的基础应用层需维护第一端口和第二端口之间的映射关系。
本申请实施例中,第一电子设备为发起业务请求的一端,在一些实施例中也可以称为本端。第二电子设备为接收数据的一端,在一些实施例中也可以称为对端。
在步骤S302,第一电子设备的基础应用层向基础服务层(具体可以为通道管理模块)申请业务通道。
在该步骤中,第一电子设备的基础应用层为第一端口和第二端口向通道管理模块申请业务通道。
具体地,在步骤S302中,第一电子设备的基础应用层可以向通道管理模块发送信息#31,该信息#31用于为第一端口和第二端口申请业务通道。
该信息#31可以包括业务通道类型指示信息、端口信息、服务质量指示(quality of service identifier,QI)等。其中,业务通道类型指示信息用于指示所申请的业务通道类型,其中业务通道类型可以包括单播业务通道、组播业务通道和广播业务通道。若业务通道类型指示信息指示所申请的业务通道为单播业务通道时,该单播业务通道指的是非缺省业务 通道。端口信息用于指示与业务通道映射的端口,即步骤S301协商出来的端口。在本申请实施例中,该端口信息包括第一端口和第二端口,其中第一端口用于与第一电子设备侧的业务通道映射(可以理解的是,实际是与业务通道所属的业务通道组映射),第二端口用于与第二电子设备侧的业务通道映射(可以理解的是,实际是与业务通道所属的业务通道组映射)。QI用于指示业务对业务通道的需求,例如传输速率、时延、丢包率、通信周期、最大包大小等。
在一些实施例中,信息#31还可以包括附加参数,例如传输模式指示信息、是否专载指示信息等。传输模式指示信息用于指示数据的传输模式,其中传输模式可以包括基础模式、透传模式、普通模式、流控模式、流模式、重传模式等。
基础模式是默认的传输模式。采用基础模式传输时,不分包,不聚包,不重传,不流控。透传模式,是指业务通道与逻辑链路一一映射。采用透传模式传输时,不分包,不聚包,不加传输与控制模块包头。采用普通模式传输时,可以分包,可以聚包,不重传,不流控。采用流控模式传输时,数据包被编号,发送的数据需要有对端ack,可以提前滑窗,数据不被重传。当定时器超时,未收到对端ack的数据直接被丢弃,被丢弃的数据被检测到并上报。采用流模式传输时,需单向实时同步数据,发送端有一个刷新超时(flush timout)值来控制没有发送的包的刷新。重传模式中具有可靠的传输机制,数据在传输控制层有重传,当收到对端回复nack或者定时器超时,会进行重传。重传包不会再进行组包聚包等处理,而是对整个包进行重传。当重传达到最大次数时,对应的业务通道需要断开,并报告给上层。
附加参数中的是否专载指示信息用于指示业务通道是否专用于传输某个业务的数据。本申请实施例中,通道管理模块若接收到专载指示,会新分配一个业务通道给第一端口,而不会复用已有的业务通道,并且新分配的业务通道在之后的其他流程中不会被复用。
本申请实施例中,若信息#31中包括附加参数,则通道管理模块可以按照信息#31中的附加参数设置相关参数。若信息#31中不包括附加参数,则通道管理模块可以自行设置相关参数,或者按照预设规则设置相关参数,本申请实施例对此不作限定。
在步骤S303,第一电子设备的基础服务层(具体为通道管理模块)判断是否创建非缺省业务通道。
也即,第一电子设备的基础服务层判断是否创建新的业务通道组。换句话说,在该步骤中,第一电子设备的通道管理模块判断将第一端口映射到已有的业务通道组,还是创建新的业务通道组后将第一端口映射到新的业务通道组。
通道管理模块在判断是否要创建非缺省业务通道时,可以有多种实现方式。
在一个示例中,通道管理模块可以根据信息#31中的QI确定是否创建非缺省业务通道。例如相同的QI可以复用同一个业务通道,即若信息#31所包括的QI与已经传输的某业务的QI相同,则可以复用已有的业务通道,而不创建新的非缺省业务通道。
在另一个示例中,通道管理模块可以根据信息#31中的传输模式指示信息确定是否创建非缺省业务通道。例如若上层指示业务数据的传输模式为透传,则创建新的非缺省业务通道,而不复用已有的业务通道。
在又一个示例中,通道管理模块可以根据信息#31中的是否专载指示信息确定是否创建非缺省业务通道。例如是否专载指示信息指示业务通道专用于传输新的业务数据,则创 建非缺省业务通道。
也就是说,通道管理模块可以根据信息#31判断是否创建非缺省业务通道。在一些实施例中,如果上层发送的信息#31中没有指示通道管理模块创建新的业务通道组的话,通道管理模块可以根据自身算法(例如预设规则)进行判断。例如预设上层没有指示是否创建的情况下,默认不创建或默认创建非缺省业务通道。
在其他示例中,通道管理模块还可以根据其他信息,例如业务类型、底层通道能力、业务传输需求等判断是否创建非缺省业务通道。在具体实现中,可以依据不同厂商的不同算法执行步骤S303,在此不再过多描述。
在该步骤S303中,若通道管理模块确定不创建非缺省业务通道,则可以将第一端口映射到已有的业务通道(即已创建的业务通道)上,以使用已有的业务通道传输新的业务数据。然后通道管理模块执行步骤S313,通知第一电子设备的基础应用层业务通道申请成功,并将第一端口port1和第一映射标识发送给基础应用层。
可以理解的是,这里的第一映射标识即基础服务层向上层传递的用于指示业务通道所属的组的标识。例如,第一映射标识可以是所复用的业务通道的标识TCID,可以是所复用的业务通道所属的业务通道组的标识GroupID,也可以是与所复用的业务通道对应的传输通道映射标识Map TCID,本申请实施例对此不作限定。相应地,第一电子设备的基础应用层需维护第一端口与第一映射标识的映射关系,即第一端口与第一映射标识所指示的业务通道组的映射关系。
在该步骤S303中,若通道管理模块确定创建非缺省业务通道,则生成新的业务通道的标识TCID-s。
可以理解的是,这里的标识TCID-s是新创建的业务通道的标识。在实际应用中,用于传输数据的业务通道在第一电子设备侧和第二电子设备侧可以具有不同的标识,为方便描述,本申请实施例中将第一电子设备侧(即本端)的业务通道的标识表示为TCID-s,将第二电子设备侧(即对端)的业务通道的标识表示为TCID-d。在业务通道建立完成后,第一电子设备和第二电子设备均可以维护本端业务通道的标识TCID-s和对端业务通道的标识TCID-d。
在步骤S304,第一电子设备的基础服务层(具体为通道管理模块)与第二电子设备的基础服务层(具体为通道管理模块)进行通道参数协商。
具体地,在该步骤中,第一电子设备的通道管理模块可以向第二电子设备的通道管理模块发送通道参数协商请求。相应地,第二电子设备的通道管理模块可以向第一电子设备的通道管理模块发送通道参数协商响应。通过该交互过程进行通道参数的协商。
在一些实施例中,两个电子设备的通道管理模块所协商的通道参数可以包括传输窗口滑窗大小(如以TxWindow表示)、刷新定时器(如以Flushtimer表示)、最大传输次数(如以maxRetxThreshold表示)、重传定时器(如以RetransmissionTimer表示)等。本申请实施例中,该步骤中所协商的通道参数与业务的传输模式有关,例如传输窗口滑窗大小是流控模式与重传模式需要协商的参数,刷新定时器是流模式需要协商的参数,最大传输次数是重传模式需要协商的参数,重传定时器是流控模式与重传模式需要协商的参数。
在协商过程中,第一电子设备和第二电子设备需要交互的信息可以通过控制通道传输。
步骤S304为可选步骤。在一些实施例中,第一电子设备和第二电子设备也可以不进 行通道参数协商,由通道管理模块可以自行设置通道参数,或者按照预设规则设置通道参数,在此不作过多描述。
在步骤S305,第一电子设备的基础服务层向接入层申请逻辑通道。
具体地,在步骤S305中,第一电子设备的基础服务层可以向接入层发送信息#32,该信息#32用于向接入层申请逻辑通道。该信息#31可以包括创建TCID-s的业务需求。
该信息#32可以包括本端业务通道的标识TCID-s、逻辑通道类型指示信息、服务质量QoS等。其中,本端业务通道的标识TCID-s用于接入层建立业务通道和逻辑通道的映射关系。逻辑通道类型指示信息用于指示逻辑通道的类型。QoS用于接入层选择逻辑通道或对逻辑通道的相关参数进行配置等。
在实际应用中,逻辑通道类型可以依据不同的接入技术具有不同的划分方式,例如对于SLE接入技术,逻辑通道类型可以包括异步逻辑通道、同步逻辑通道、单向逻辑通道等;对于SLB接入技术,逻辑通道类型可以包括非确认模式(unacknowledgedmode,UM)逻辑通道、确认模式(acknowledgedmode,AM)逻辑通道、透传模式(transparent mode,TM)逻辑通道等。采用AM模式逻辑通道传输时,需添加链路控制层包头信息,链路控制层进行状态报告。采用UM模式逻辑通道传输时,需添加链路控制层包头信息,链路控制层不进行状态报告。采用TM模式逻辑通道传输时,不添加链路控制层包头信息,链路控制层不进行状态报告。第一电子设备的基础服务层(具体为通道管理模块)可以根据业务需求和/或底层能力选择逻辑通道类型,并通过逻辑通道类型指示信息指示给接入层。例如对于支付应用业务,通道管理模块可以选择可靠的、保密性高的逻辑通道类型;对于视频应用业务,通道管理模块可以选择低时延的逻辑通道类型。
需要说明的是,由于一种逻辑通道对应一种接入技术,这里基础服务层选择逻辑通道类型的过程,可以认为是基础服务层选择接入技术的过程,基础应用层并不感知底层使用的哪种接入技术。
还需要说明的是,信息#32中的QoS和信息#31中的QI均用于指示服务质量,但二者的格式和所包括的信息可以不同。具体地,基础服务层在接收到基础应用层下发的业务需求后,会对信息进行抽象和处理,生成接入层能够解析的业务需求,并下发给接入层。
在一些实施例中,信息#32还可以包括附加参数,例如是否专载指示信息。是否专载指示信息用于指示业务通道是否专用于传输对应的业务数据。这里,接入层可以根据是否专载指示信息选择逻辑通道或对逻辑通道的相关参数进行配置。
在步骤S306,第一电子设备的接入层将业务通道TCID-s映射到逻辑通道LCID。即,建立业务通道TCID-s与逻辑通道LCID的映射关系。
具体地,在该步骤中,第一电子设备的接入层可以根据传输情况从以下几种方案中选择一种来建立底层逻辑链路:
方案1(case#1):将TCID-s映射到已有的逻辑通道LCID。即建立TCID-s与已建立的某个逻辑通道之间的映射关系。
例如当某个已有的逻辑通道能够支持现有业务和新增业务时,可以将新建的业务通道TCID-s映射到该已有的逻辑通道上,从而建立TCID-s与LCID的映射关系。
方案2(case#2):重配置已有的逻辑通道,并将TCID-s映射到重配后的逻辑通道LCID。
例如,接入层根据传输情况确定某个已有的逻辑通道的相关参数不能满足基础服务层下发的业务需求,则可以将该已有的逻辑通道的相关参数进行重配置,再将新建的业务通道TCID-s映射到重配的逻辑通道上,从而建立TCID-s与LCID的映射关系。
方案3(case#3):建立新的逻辑通道,并将TCID-s映射到新的逻辑通道LCID。
例如在已有的逻辑通道全部用于传输异步数据的情况下,如果基础应用层发起的业务请求是传输同步数据,则接入层可以新建逻辑通道用于传输同步数据。再将新建的业务通道TCID-s映射到新建的逻辑通道上,从而建立TCID-s与LCID的映射关系。
需要说明的是,上述所列举的几种方案以及适用场景仅仅是示例性的,在其他实施例中,接入层在建立底层逻辑链路时所选择的方式可以有其他方式,上述几种方案所适用的场景还有其他场景,在此不再一一描述。
步骤S306完成后即建立了业务通道和逻辑通道的映射关系。
在步骤S307,第一电子设备的接入层向基础服务层(具体为通道管理模块)反馈逻辑通道申请成功。
具体地,在该步骤中,第一电子设备的接入层可以向通道管理模块发送信息#33,该信息#33用于指示逻辑通道申请成功,也就是指示业务通道和逻辑通道的映射关系建立。例如,信息#33可以包括创建的业务通道的标识TCID-s和逻辑通道的标识LCID。换言之,接入层通过信息#33将TCID-s和LCID的映射关系返回给基础服务层。
第一电子设备的通道管理模块接收到业务通道和逻辑通道的映射关系后,认为底层逻辑链路已经可以进行传输。
在步骤S308,第一电子设备的基础服务层向第二电子设备的基础服务层发送创建传输通道请求,该创建传输通道请求用于向第二电子设备通知第一电子设备侧的业务通道和逻辑通道的映射关系建立。
具体地,在该步骤中,第一电子设备的基础服务层可以向第二电子设备的基础服务层发送信息#34,该信息#34用于指示第一电子设备已建立本端业务通道和逻辑通道的映射关系,也用于指示第二电子设备建立对端业务通道和逻辑通道的映射关系。
该信息#34可以包括第二端口port2、本端业务通道的标识TCID-s和逻辑通道的标识LCID。
在步骤S309,第二电子设备的基础服务层生成对端业务通道的标识TCID-d。
步骤S309完成后,第二电子设备可以认为两个电子设备的基础服务层已经建立了TCID-s和TCID-d的连接,也即可以确定TCID-s和TCID-d的映射关系。第二电子设备可以保存本端业务通道的标识TCID-s和逻辑通道标识LCID,并维护TCID-s与LCID的映射关系以及TCID-s和TCID-d的对应关系等。相应地,第二电子设备可以初始化对端业务通道所属的业务通道组内的通道数为1。
本申请实施例中,逻辑通道的标识在第一电子设备和第二电子设备上相同,因此第二电子设备接收到第一电子设备发送的LCID后,即可以建立业务通道TCID-d与LCID的映射关系。
在步骤S310,第二电子设备的基础服务层(具体为通道管理模块)将对端的端口信息与业务通道的映射信息发送给第二电子设备的基础应用层,以进行端口映射。
具体地,在该步骤中,第二电子设备的通道管理模块可以向基础应用层发送信息#35, 该信息#35用于指示业务通道组与端口的映射关系,即业务通道TCID-d所属的业务通道组与第二端口的映射关系。
该信息#35可以包括第二端口port2和第二映射标识,以用于建立第二端口与对端业务通道组的映射关系。这里的第二映射标识即第二电子设备的基础服务层向上层传递的用于指示业务通道所属的组的标识。例如,第二映射标识可以是对端业务通道的标识TCID-d,可以是对端业务通道所属的业务通道组的标识GroupID,也可以是与对端业务通道TCID-d对应的传输通道映射标识Map TCID,本申请实施例对此不作限定。相应地,第二电子设备的基础应用层需维护第二端口与第二映射标识的映射关系,即第二端口与第二映射标识所指示的业务通道组的映射关系。
在步骤S311,第二电子设备的基础应用层向基础服务层反馈端口映射成功。
在步骤S312,第二电子设备的基础服务层向第一电子设备的基础服务层发送创建传输通道响应,该创建传输通道响应用于向第一电子设备通知第二电子设备侧的业务通道和逻辑通道的映射关系。
具体地,在该步骤中,第二电子设备的基础服务层可以向第一电子设备的基础服务层发送信息#36,该信息#36用于指示第二电子设备已建立对端业务通道和逻辑通道的映射关系。
该信息#36可以包括对端业务通道的标识TCID-d和逻辑通道的标识LCID。
需要说明的是,步骤S308和步骤S312中,第一电子设备的基础服务层与第二电子设备的基础服务层交互的数据可以通过控制通道传输。
步骤S312完成后,第一电子设备可以认为两个电子设备的基础服务层已经建立了TCID-s和TCID-d的连接,即可以确定TCID-s和TCID-d的映射关系。第一电子设备可以保存对端业务通道的标识TCID-d和逻辑通道标识LCID,并维护TCID-d与LCID的映射关系以及TCID-s和TCID-d的对应关系等。相应地,第一电子设备可以初始化本端业务通道所属的业务通道组内的通道数为1。
在步骤S313,第一电子设备的基础服务层(具体为通道管理模块)通知基础应用层业务通道申请成功。
具体地,在该步骤中,第一电子设备的通道管理模块可以向基础应用层发送信息#37,该信息#37用于指示本端业务通道TCID-s所属的业务通道组与端口的映射关系。
该信息#37可以包括第一端口port1和第一映射标识,以用于建立第一端口与本端业务通道组的映射关系。这里的第一映射标识即第一电子设备的基础服务层向上层传递的用于指示业务通道所属的组的标识。例如,第一映射标识可以是本端业务通道的标识TCID-s,可以是本端业务通道所属的业务通道组的标识GroupID,也可以是与本端业务通道TCID-s对应的传输通道映射标识Map TCID,本申请实施例对此不作限定。相应地,第一电子设备的基础应用层需维护第一端口与第一映射标识的映射关系,即第一端口与第一映射标识所指示的业务通道组的映射关系。
需要说明的是,非缺省业务通道创建完成后,业务通道组内的通道数初始化为1,但实际的业务数据不一定在该创建的非缺省业务通道上传输,可以在业务通道组内的任意通道上传输。这就涉及到添加非缺省业务子通道的流程,以下将结合其他附图进行详细介绍,在此暂不详述。
本申请实施例中,第一电子设备和第二电子设备的接入层可以均支持多种接入技术,例如SLB接入技术和SLE接入技术。当第一电子设备与第二电子设备需要进行无线业务时,用户无需选择或指定在哪个接入技术上进行业务传输,而是在基础应用层下发业务需求后,由基础服务层根据业务需求自行选择底层接入技术,并建立业务通道进行传输。
本申请实施例中,第一电子设备确定了第一端口port1与本端业务通道TCID-s所属的业务通道组的映射关系以及本端业务通道TCID-s与逻辑通道LCID的映射关系,第二电子设备确定了第二端口port2与对端业务通道TCID-d所属的业务通道组的映射关系以及对端业务通道TCID-d与逻辑通道LCID的映射关系,且相互通知了对方。因此,通过图3所示的流程创建的非缺省业务通道为双向业务通道,即第一电子设备可以利用创建的非缺省业务通道向第二电子设备传输业务,第二电子设备也可以利用创建的非缺省业务通道向第一电子设备传输业务,其中业务数据的传输路径可以为第一端口
Figure PCTCN2022107612-appb-000001
第二端口port2。可以理解,通过图3所示的流程300创建的双向业务通道支持双向传输,也可以兼容单向传输。
图4示出了本申请另一个实施例提供的创建非缺省业务通道的流程示意图。在该流程的实现过程中,涉及第一电子设备和第二电子设备,两个电子设备可以均具有如图2所示的基础应用层230、基础服务层220以及接入层210。图4示出的创建非缺省业务通道的流程400与图3示出的创建非缺省业务通道的流程300类似,不同的是,流程400中创建的非缺省业务通道为单向业务通道,交互过程中所携带的参数和数据路由有所区别。下面主要对流程400与流程300之间的不同之处进行详细描述,其他未详尽描述的部分可以参考流程300中的相应描述。
如图4所示,创建非缺省业务通道的流程400包括步骤S401至步骤S411。
在步骤S401,第一电子设备的基础应用层和第二电子设备的基础应用层进行端口(port)协商。
该协商过程所涉及的数据可以通过已经建立的缺省业务通道传输。
在一些实施例中,在步骤S401中,第一电子设备的基础应用层和第二电子设备的基础应用层还可以进行业务协商和应用服务质量(quality of service,QoS)协商等,在此不作过多描述。
示例性的,第一电子设备和第二电子设备协商的结果可以是第一电子设备使用第一端口(port1)映射,第二电子设备使用第二端口(port2)映射。
在步骤S402,第一电子设备的基础应用层向基础服务层(具体可以为通道管理模块)申请业务通道。
具体地,第一电子设备的基础应用层可以向通道管理模块发送信息#41,该信息#41用于为第一端口申请传输业务通道。
该信息#41可以包括业务通道类型指示信息、第一端口、QI等。其中,业务通道类型指示信息用于指示所申请的业务通道类型。第一端口用于与第一电子设备侧的业务通道映射。QI用于指示业务对业务通道的需求,例如传输速率、时延、丢包率、通信周期、最大包大小等。
可选的,信息#41还可以包括附加参数,例如传输模式指示信息、是否专载指示信息等。传输模式指示信息用于指示数据的传输模式。是否专载指示信息用于指示业务通道是 否专用于传输某个业务的数据。
与流程300中的步骤S302不同的是,在步骤S402中,信息#41中可以携带的端口信息可以包括第一端口,而不包括第二端口。这是因为在建立单向业务通道时,第一电子设备的基础服务层需要感知本端端口(即第一端口)与本端业务通道组的映射关系。
在步骤S403,第一电子设备的基础服务层(具体为通道管理模块)判断是否创建非缺省业务通道。也即,第一电子设备的基础服务层判断是否创建新的业务通道组。
若否,则通道管理模块不创建非缺省业务通道,而将第一端口映射到已有的业务通道上,以使用已有的业务通道传输新的业务数据。然后通道管理模块执行步骤S411,通知第一电子设备的基础应用层业务通道申请成功,并将第一端口和第一映射标识发送给基础应用层。关于基础服务层判断是否创建非缺省业务通道的实现方式,以及第一映射标识的形式可以参考图3中步骤S303中相关描述,为简洁,在此不再赘述。
若是,则通道管理模块确定创建非缺省业务通道,生成新的业务通道的标识TCID-s。
在步骤S404,第一电子设备的基础服务层(具体为通道管理模块)与第二电子设备的基础服务层(具体为通道管理模块)进行通道参数协商。
具体地,在该步骤中,第一电子设备的通道管理模块可以向第二电子设备的通道管理模块发送通道参数协商请求。相应地,第二电子设备的通道管理模块可以向第一电子设备的通道管理模块发送通道参数协商响应。通过该交互过程进行通道参数的协商。
该步骤为可选步骤。在一些实施例中,第一电子设备和第二电子设备也可以不进行通道参数协商,由通道管理模块可以自行设置通道参数,或者按照预设规则设置通道参数。这里,第一电子设备和第二电子设备可以根据业务的传输模式协商通道参数,具体内容可参考图3中步骤S404的相关描述,为简洁,在此不再赘述。
在步骤S405,第一电子设备的基础服务层向接入层申请逻辑通道。
具体地,在步骤S405中,第一电子设备的基础服务层可以向接入层发送信息#42,该信息#42用于向接入层申请逻辑通道。该信息#42可以包括创建TCID-s的业务需求。
该信息#42可以包括本端业务通道的标识TCID-s、逻辑通道类型指示信息、服务质量QoS等。其中,本端业务通道的标识TCID-s用于接入层建立业务通道和逻辑通道的映射关系。逻辑通道类型指示信息用于指示逻辑通道的类型。QoS用于接入层选择逻辑通道或对逻辑通道的相关参数进行配置等。
可选的,信息#42还可以包括附加参数,例如是否专载指示信息。是否专载指示信息用于指示业务通道是否专用于传输对应的业务数据。
在步骤S406,第一电子设备的接入层将业务通道TCID-s映射到逻辑通道LCID。即,建立业务通道TCID-s与逻辑通道LCID的映射关系。
具体地,在该步骤中,第一电子设备的接入层可以根据传输情况从以下几种方案中选择一种来建立底层逻辑链路:
case#1:将TCID-s映射到已有的逻辑通道LCID,即建立TCID-s与已建立的某个逻辑通道之间的映射关系。
case#2:重配置已有的逻辑通道,并将TCID-s映射到重配后的逻辑通道LCID。
case#3:建立新的逻辑通道,并将TCID-s映射到新的逻辑通道LCID。
关于上述方案所适应的场景可以参考图3中步骤S406的相关描述,为简洁,在此不 再赘述。
在步骤S407,第一电子设备的接入层向基础服务层(具体为通道管理模块)反馈逻辑通道申请成功。
具体地,在该步骤中,第一电子设备的接入层可以向通道管理模块发送信息#43,该信息#43用于指示逻辑通道申请成功,也就是指示业务通道和逻辑通道的映射关系建立。例如,信息#43可以包括创建的业务通道的标识TCID-s和逻辑通道的标识LCID。换言之,接入层通过信息#43将TCID-s和LCID的映射关系返回给基础服务层。
第一电子设备的通道管理模块接收到业务通道和逻辑通道的映射关系后,认为底层逻辑链路已经可以进行传输。
在步骤S408,第一电子设备的基础服务层向第二电子设备的基础服务层发送创建传输通道请求。该创建传输通道请求用于向第二电子设备通知第一电子设备侧的业务通道和逻辑通道的映射关系建立。
具体地,在该步骤中,第一电子设备的基础服务层可以向第二电子设备的基础服务层发送信息#44,该信息#44用于指示第一电子设备已建立本端业务通道和逻辑通道的映射关系,也用于指示第二电子设备建立对端业务通道和逻辑通道的映射关系。
该信息#44可以包括本端业务通道的标识TCID-s和逻辑通道的标识LCID。
在步骤S409,第二电子设备的基础服务层生成对端业务通道的标识TCID-d。
步骤S409完成后,第二电子设备可以认为两个电子设备的基础服务层已经建立了TCID-s和TCID-d的连接,确定TCID-s和TCID-d的映射关系。第二电子设备接收到第一电子设备发送的LCID后,也可以建立业务通道TCID-d与LCID的映射关系,并维护TCID-s和TCID-d的对应关系。
图4示出的步骤S401至步骤S409与图3所示的步骤S301至步骤S309类似,在此未详尽描述步骤S40x之处,参考上文关于步骤S30x的相关内容。
本申请实施例中,由于创建的非缺省业务通道为仅支持单向传输的业务通道,在建立的过程中第二电子设备无需感知端口与业务通道组的映射关系,因此无需绑定对端业务通道所属的业务通道组和第二端口。即流程400相比流程300而言,可以省略步骤S310和步骤S311。
继续参考图4,在步骤S410,第二电子设备的基础服务层向第一电子设备的基础服务层发送创建传输通道响应。该创建传输通道响应用于向第一电子设备通知第二电子设备侧的业务通道和逻辑通道的映射关系建立。
具体地,在该步骤中,第二电子设备的基础服务层可以向第一电子设备的基础服务层发送信息#46,该信息#46可以包括对端业务通道的标识TCID-d和逻辑通道的标识LCID。
步骤S410完成后,第一电子设备可以认为两个电子设备的基础服务层已经建立了TCID-s和TCID-d的连接,第一电子设备可以维护TCID-s和TCID-d的对应关系(即映射关系)。相应地,第一电子设备可以初始化本端业务通道所属的业务通道组内的通道数为1。
在步骤S411,第一电子设备的基础服务层(具体为通道管理模块)通知基础应用层业务通道申请成功。
具体地,在该步骤中,第一电子设备的通道管理模块可以向基础应用层发送信息#47, 该信息#47用于指示本端业务通道TCID-s所属的业务通道组与端口的映射关系。
该信息#47可以包括第一端口port1和第一映射标识,以用于建立第一端口与本端业务通道组的映射关系。这里的第一映射标识即第一电子设备的基础服务层向上层传递的用于指示业务通道所属的组的标识。第一映射标识的形式可以参考图3中步骤S313的相关描述,为简洁,在此不再赘述。
图4示出的步骤S410至步骤S411与图3所示的步骤S312至步骤S313类似,在此未详尽描述步骤之处,参考上文关于图3的相关内容。
本申请实施例中,通过图4所示的流程创建的非缺省业务通道为单向业务通道,即第一电子设备可以利用创建的非缺省业务通道向第二电子设备传输业务,反之则不可以。
本申请实施例中,本端业务通道的标识TCID-s与对端业务通道的标识TCID-d可以不同,也可以相同。在二者不同的情况下,第一电子设备和第二电子设备可以各自维护各自的业务通道标识,这使得在创建非缺省业务通道时更灵活。而在二者相同的情况下,即第一电子设备的基础服务层生成的TCID-s与第二电子设备的基础服务层生成的TCID-d一致时,则有可能出现冲突。
以图3示出的流程为例,如果第一电子设备和第二电子设备同时发起创建非缺省业务通道的流程300,并且本地生成的TCID-s相同(如均为0x0028),当两侧的流程均进行到步骤S309时,会发现双方申请的业务通道的标识TCID一致,即第一电子设备为第一业务传输所申请的业务通道的标识与第二电子设备为第二业务传输所申请的业务通道的标识相同。
为方便理解,参考图5所示,第一电子设备的基础服务层发起创建非缺省业务通道的流程,并本地生成TCID-s=0x0028,例如执行流程300的步骤S303或流程400的步骤S403。与此同时,第二电子设备的基础服务层也发起创建非缺省业务通道的流程,并本地生成TCID-s=0x0028,例如执行流程300的步骤S303或流程400的步骤S403。
之后第一电子设备向第二电子设备发送创建传输通道请求,并携带TCID-s=0x0028,例如执行流程300的步骤S308或流程400的步骤S408。与此同时,第二电子设备向第一电子设备发送创建传输通道请求,并携带TCID-s=0x0028,例如执行流程300的步骤S308或流程400的步骤S408。
以第一电子设备为例,第一电子设备在自己发起的流程中生成了本端业务通道的标识TCID-s=0x0028,第一电子设备还在对方发起的流程中充当对端的角色,因此在接收到第二电子设备发送的创建传输通道请求后,需生成对端业务通道的标识TCID-d,例如执行流程300的步骤S309或流程400的步骤S409。若要求在一个流程中,本端和对端生成的业务通道的标识相同,则在第二电子设备发起的流程中,作为对端的第一电子设备生成的TCID-d需要与第二电子设备生成的TCID-s一致,即TCID-d=0x0028。但是,第一电子设备在自己发起的流程中已经生成了本端业务通道的标识TCID-s=0x0028。对于第一电子设备而言,出现了在两个创建非缺省业务通道的流程申请相同业务通道标识的情况,这样就产生了冲突,无法继续后续流程。第二电子设备遇到的情形类似,不再赘述。
在这种场景下,为了解决冲突问题,可以选择双方均创建失败,或者引入猜拳机制解决。
选择双方均创建失败的方式比较好理解,即第一电子设备停止第二电子设备发起的创 建非缺省业务通道的流程,第二电子设备停止第一电子设备发起的创建非缺省业务通道的流程,例如在流程300的步骤S312或流程400的步骤S410中携带创建传输通道失败的信息。
若引入猜拳机制,则可以在向对方发送创建传输通道请求时,携带一个用于比较大小的随机数,根据随机数的大小确定是否接收对方的建立链路请求。
为方便理解,参考图6所示,第一电子设备向第二电子设备发送创建传输通道请求,并携带TCID-s=0x0028以及第一随机数(例如100)。与此同时,第二电子设备向第一电子设备发送创建传输通道请求,并携带TCID-s=0x0028和第二随机数(例如90)。第一电子设备的基础服务层可以通过比较第一随机数和第二随机数的大小来解决冲突。如第二随机数90小于第一随机数100,则第一电子设备可以拒绝第二电子设备的建立链路请求,停止创建第二电子设备请求创建的非缺省业务通道,例如向第二电子设备反馈创建传输通道失败响应。相应地,第二电子设备的基础服务层可以通过比较第一随机数和第二随机数的大小来解决冲突。如第一随机数100大于第二随机数90,则第二电子设备可以接受第一电子设备的建立链路请求,继续创建第一电子设备请求创建的非缺省业务通道,例如向第一电子设备反馈创建传输通道成功响应。这样,传输通道TCID-s=0x0028在第一电子设备发起的创建非缺省业务通道的流程中建立,而不会在第二电子设备发起的创建非缺省业务通道的流程中建立,冲突解决。
在一些实施例中,如果第一随机数和第二随机数大小相同,可以使双方均建立失败,拒绝对方的建立链路请求。或者,第一电子设备在发送创建传输通道请求时,可以携带多个第一随机数,该多个第一随机数具有优先级顺序。第二电子设备在发送创建传输通道请求时,可以携带多个第二随机数,该多个第二随机数具有优先级顺序。在比较随机数大小时,可以按照优先级顺序进行比较,即,先比较优先级最高的第一随机数和优先级最高的第二随机数的大小,若二者相同,再继续比较优先级次之的第一随机数和优先级次之的第二随机数的大小,依此类推。
需要说明的是,上述列举的解决冲突的方式仅仅是示例性的,在其他实施例中,可以有其他方式解决,例如预先定义第一电子设备和第二电子设备的优先级,优先级更高的电子设备可以拒绝优先级低的电子设备发送的建立链路请求等,在此不再一一详述。
上文结合图3至图6描述了本申请实施例提供的创建非缺省业务通道的流程,也即创建新的传输通道组的流程。在实际应用中,业务数据不一定在创建的第一个业务通道上传输,而可以在业务通道组中任意的子通道上传输。下面结合图7进行描述。
图7示出了本申请实施例提供的添加非缺省业务子通道的流程示意图。在该流程的实现过程中,涉及第一电子设备和第二电子设备,两个电子设备可以均具有如图2所示的基础应用层230、基础服务层220以及接入层210。图7示出的添加非缺省业务子通道的流程500包括步骤S501至步骤S508,下面结合图7对各个步骤进行详细描述。
进行流程500的前提为第一业务通道组已存在,第一电子设备和第二电子设备正在使用该第一业务通道组进行业务中(例如第一端口与第一业务通道组具有映射关系,第一业务通道组正在传输第一端口下发的数据),为了实现业务分流,例如业务受阻时,第一电子设备与第二电子设备之间可以进行如下流程,以在该第一业务通道组内添加新的业务通道,即非缺省业务子通道。
需要说明的是,这里所涉及的业务分流,可以理解为是在第一业务通道组内新增业务通道以传输第一端口下发的数据。
在步骤S501,第一电子设备的基础服务层(具体为通道管理模块)生成本端业务通道的标识TCID-s。
可以理解的是,TCID-s需要与已有的正在进行业务的业务通道在同一个业务通道组内。例如,TCID-s可以包括多个比特(bit),其中部分比特用于标识第一业务通道组的编号(即组编号GroupID),部分比特用于标识该业务通道在第一业务通道组内的编号,即组内编号LocalID。
在步骤S502,第一电子设备的基础服务层(具体为通道管理模块)与第二电子设备的基础服务层(具体为通道管理模块)进行通道参数协商。
具体地,在该步骤中,第一电子设备的通道管理模块可以向第二电子设备的通道管理模块发送通道参数协商请求。相应地,第二电子设备的通道管理模块可以向第一电子设备的通道管理模块发送通道参数协商响应。通过该交互过程进行通道参数的协商。在协商过程中,第一电子设备和第二电子设备需要交互的信息可以通过控制通道传输。
两个电子设备的通道管理模块所协商的通道参数与数据的传输模式相对应。具体参数描述可参考流程300的步骤S304的相关描述,为简洁,在此不再赘述。
步骤S502为可选步骤。在一些实施例中,第一电子设备和第二电子设备也可以不进行通道参数协商,由通道管理模块可以自行设置通道参数,或者按照预设规则设置通道参数,在此不作过多描述。
在步骤S503,第一电子设备的基础服务层向接入层申请逻辑通道。
具体地,第一电子设备的基础服务层可以向接入层发送信息#52,该信息#52用于向接入层申请逻辑通道。该信息#52包括创建TCID-s的业务需求。
该信息#52可以包括本端业务通道的标识TCID-s、逻辑通道类型指示信息、服务质量QoS等。其中,本端业务通道的标识TCID-s用于接入层建立业务通道和逻辑通道的映射关系。逻辑通道类型指示信息用于指示逻辑通道的类型。QoS用于接入层选择逻辑通道或对逻辑通道的相关参数进行配置等。
可选的,该信息#52还可以包括附加参数,例如是否专载指示信息。是否专载指示信息用于指示业务通道是否专用于传输业务数据。
关于信息#52中所包括的相关参数的说明可以参考流程300的步骤S305的相关描述,为简洁,在此不再赘述。
在步骤S504,第一电子设备的接入层将业务通道TCID-s映射到逻辑通道LCID。即,建立业务通道TCID-s与逻辑通道LCID的映射关系。
具体地,在该步骤中,第一电子设备的接入层可以根据传输情况从以下几种方案中选择一种来建立底层逻辑链路:
case#1:将TCID-s映射到已有的逻辑通道LCID,即建立TCID-s与已建立的某个逻辑通道之间的映射关系。
case#2:重配置已有的逻辑通道,并将TCID-s映射到重配后的逻辑通道LCID。
case#3:建立新的逻辑通道,并将TCID-s映射到新的逻辑通道LCID。
关于接入层的具体决策以及适用场景可以参考流程300中步骤S306的相关描述,为 简洁,在此不再赘述。
在步骤S505,第一电子设备的接入层向基础服务层(具体为通道管理模块)反馈逻辑通道申请成功。
具体地,在该步骤中,第一电子设备的接入层可以向通道管理模块发送信息#53,该信息#53用于指示逻辑通道申请成功,也就是指示业务通道和逻辑通道的映射关系建立。例如,信息#53可以包括添加的业务通道的标识TCID-s和逻辑通道的标识LCID。换言之,接入层通过信息#53将TCID-s和LCID的映射关系返回给基础服务层。
第一电子设备的通道管理模块接收到业务通道和逻辑通道的映射关系后,认为底层逻辑链路已经可以进行传输。
在步骤S506,第一电子设备的基础服务层向第二电子设备的基础服务层发送创建传输通道请求。该创建传输通道请求用于向第二电子设备通知第一电子设备侧的业务通道和逻辑通道的映射关系建立。
具体地,在该步骤中,第一电子设备的基础服务层可以向第二电子设备的基础服务层发送信息#54,该信息#54用于指示第一电子设备已建立本端业务通道和逻辑通道的映射关系。
该信息#54可以包括本端业务通道的标识TCID-s和逻辑通道的标识LCID。
在步骤S507,第二电子设备的基础服务层生成对端业务通道的标识TCID-d。
具体地,第二电子设备的基础服务层判断新的业务通道是现有的业务通道组内的子通道,则在组内分配一个TCID-d。例如,第二电子设备的基础服务层根据此前维护的本端业务通道的标识,可以判断TCID-s是否为已有业务通道组内的子通道。若是,则在对应的对端业务通道组中建立新的子通道TCID-d。
步骤S507完成后,第二电子设备可以认为两个电子设备的基础服务层已经建立了TCID-s和TCID-d的连接,确定并维护TCID-s和TCID-d的映射关系。相应地,第二电子设备可以将对端业务通道组内的子通道数加1。与此同时,第二电子设备的基础服务层可以确定对端业务通道TCID-d与LCID的映射关系。
在步骤S508,第二电子设备的基础服务层向第一电子设备的基础服务层发送创建传输通道响应。该创建传输通道响应用于向第一电子设备通知第二电子设备侧的业务通道和逻辑通道的映射关系。
具体地,在该步骤中,第二电子设备的基础服务层可以向第一电子设备的基础服务层发送信息#56,该信息#56用于指示第二电子设备已建立对端业务通道和逻辑通道的映射关系建立。
该信息#56可以包括对端业务通道的标识TCID-d和逻辑通道的标识LCID。
步骤S508完成后,第一电子设备可以认为两个电子设备的基础服务层已经建立了TCID-s和TCID-d的连接,确定并维护TCID-s和TCID-d的映射关系。相应地,第一电子设备可以将本端业务通道组(即第一业务通道组)内的子通道数加1。
本申请实施例中,当需要业务分流时(例如已有的业务通道受阻),电子设备的基础服务层可以在已有的业务通道组内自行添加新的业务通道,以用于数据传输,而基础应用层完全不感知基础服务层的操作和流程。经过添加非缺省业务子通道流程之后,同一个业务通道组内会有多个业务通道,在基础应用层下发数据时,通道管理模块可以选择其中一 个业务通道(已有的业务通道或添加的业务通道)进行传输,或者同时在多个业务通道上进行冗余传输,基础应用层并不感知基础服务层确定的传输方式。
本申请实施例中,判断业务通道受阻的方式可以有多种,作为示例而非限定,上层下发的数据一般可以存储在缓存(buffer)队列中,如果基础服务层判断上层累积的buffer数据超过一定百分比时,可以认为业务通道受阻。
可以理解的是,当需要业务分流时,说明第一业务通道组在进行业务传输时不能满足业务需求,该业务需求可以是在创建第一业务通道组时由基础应用层下发给基础服务层的。因此,本申请实施例中,可以认为基础服务层也是根据业务需求判断是否要进行业务分流,即判断是否添加子通道。
由于基础应用层不感知业务数据在基础服务层的传输方式,基础服务层可以根据业务传输情况自行决定新增非缺省业务子通道。当第一电子设备和第二电子设备的接入层支持多种接入技术时,基础服务层可以自行决定在哪种接入技术中新建业务通道,实现对多种接入技术的兼容和对上层的统一,即基础应用层无需感知接入技术,由基础服务层完成相关的通道选择、分流等功能。
上文结合图7描述了本申请实施例提供的添加非缺省子业务通道的流程,也即在已有的业务通道组内添加新的业务通道的流程。在不需要业务分流时,还可以将不再进行传输的业务通道删除。下面结合图8进行描述。
图8示出了本申请实施例提供的删除非缺省子业务通道的流程示意图。在该流程的实现过程中,涉及第一电子设备和第二电子设备,两个电子设备可以均具有如图2所示的基础应用层230、基础服务层220以及接入层210。图8示出的删除非缺省业务子通道的流程600包括步骤S601至步骤S607,下面结合图8对各个步骤进行详细描述。
进行流程600的前提为第一业务通道组已存在,第一电子设备和第二电子设备正在使用该第一业务通道组中的多个业务通道进行业务中(例如使用第一业务通道组中的多个业务通道传输第一端口下发的数据)。当业务不再需要分流时,第一电子设备与第二电子设备之间可以进行如下流程,以在该第一业务通道组内删除不再用于传输数据的业务通道(例如之前用于分流的业务通道),即非缺省业务子通道。
在步骤S601,第一电子设备的基础服务层(具体为通道管理模块)删除本端业务通道的标识TCID-s。
具体地,在步骤S601之前,第一业务通道组内包括多条业务通道,通道管理模块判断出其中一条业务通道已经不需要进行传输,则通道管理模块删除该条业务通道TCID-s。例如,第一业务通道组内包括业务通道#1和业务通道#2,通道管理模块在很长一段时间内只向业务通道#1传输数据,而没有向业务通道#2传输数据,则通道管理模块可以认为不需要在业务通道#2上进行传输,就可以删除业务通道#2。
在步骤S602,第一电子设备的基础服务层向接入层申请释放逻辑通道。
该步骤即基础服务层申请解除业务通道TCID-s与逻辑通道LCID的映射关系。具体地,第一电子设备的基础服务层可以向接入层发送信息#62,该信息#62用于指示释放与业务通道TCID-s映射的逻辑通道,即指示解除业务通道TCID-s与逻辑通道LCID的映射关系。
该信息#62可以包括本端业务通道的标识TCID-s。
在步骤S603,第一电子设备的接入层结束业务通道TCID-s映射到逻辑通道LCID。
具体地,在该步骤中,第一电子设备的接入层可以根据传输情况,从以下几种方案中选择一种来处理底层逻辑链路:
方案1(case#1):结束TCID-s映射到已有逻辑通道LCID,并维持已有LCID。
例如,当接入层根据传输情况确定业务通道TCID-s删除后,对现有传输影响不大时,可以解除TCID-s与LCID的映射关系,维持LCID的相关参数配置。示例性的,若该LCID映射了多个业务通道,而TCID-s占LCID传输能力的1%,则删除TCID-s对该LCID的传输影响不大,因此可以不重配该LCID的相关参数。
方案2(case#2):结束TCID-s映射到已有逻辑通道LCID,并重配已有逻辑通道LCID。
例如,当接入层根据传输情况确定业务通道TCID-s删除后,对现有传输影响较大时,如数据流量大幅降低,可以解除TCID-s与LCID的映射关系,并对该已有逻辑通道LCID进行重配置,以降低该LCID的传输能力。示例性的,若该LCID映射了多个业务通道,而TCID-s占LCID传输能力的90%,则删除TCID-s对该LCID的传输影响加大,需要降低LCID的传输能力。这是因为逻辑通道上边的传输空间是预分配好的,如果设置的QoS能力高,真实传输的少,可能会影响其他的逻辑通道的传输。因此需要对该LCID的相关参数进行重配置。
方案3(case#3):结束TCID-s映射到已有逻辑通道LCID,并删除已有逻辑通道LCID。
例如,该LCID只映射了一个业务通道,即TCID-s,则删除TCID-s后,该LCID也可以删除。
需要说明的是,上述所列举的几种方案可以认为是图7示出的添加非缺省业务子通道的过程中步骤S504的逆过程。这里所列举的方案以及适用场景仅仅是示例性的,在其他实施例中,接入层在拆除底层逻辑链路时所选择的方式可以有其他方式,上述几种方案所适用的场景还有其他场景,在此不再一一描述。
步骤S603完成后即解除了业务通道和逻辑通道的映射关系。
在步骤S604,第一电子设备的接入层向基础服务层(具体为通道管理模块)反馈逻辑通道释放成功。
具体地,在该步骤中,第一电子设备的接入层可以向通道管理模块发送信息#63,该信息#63用于指示业务通道和逻辑通道的映射关系解除,逻辑链路操作完成。
信息#63可以包括被删除的业务通道的标识TCID-s。
第一电子设备的通道管理模块知道业务通道和逻辑通道的映射关系解除后,认为底层逻辑链路已经拆除。
在步骤S605,第一电子设备的基础服务层向第二电子设备的基础服务层发送删除传输通道请求。该删除传输通道请求用于向第二电子设备通知第一电子设备侧的业务通道和逻辑通道的映射关系解除。
具体地,在该步骤中,第一电子设备的基础服务层可以向第二电子设备的基础服务层发送信息#64,该信息#64用于指示第一电子设备已解除本端业务通道和逻辑通道的映射关系,也用于指示第二电子设备解除对端业务通道和逻辑通道的映射关系。
该信息#64包括被删除的业务通道的标识TCID-s。
在步骤S606,第二电子设备的基础服务层删除对端业务通道的标识TCID-d。
具体地,第二电子设备的基础服务层在创建业务通道的过程中可以感知本端业务通道与逻辑通道的映射关系,因此第二电子设备的基础服务层可以根据该映射关系确定需要解除的对端业务通道与逻辑通道的映射关系,从而删除对端业务通道的标识TCID-d。或者,在创建业务通道的过程中,第二电子设备可以感知TCID-s与TCID-d连接,即TCID-s与TCID-d具有对应关系,因此在步骤S606中,第二电子设备的基础服务层获取到TCID-s后就可以确定需要删除的对端业务通道标识TCID-d。
步骤S606完成后,第二电子设备可以认为两个电子设备的基础服务层已经删除了TCID-s和TCID-d的连接。相应地,第二电子设备可以将对端业务通道TCID-d所属的业务通道组内的通道数减1。与此同时,第二电子设备的基础服务层解除对端业务通道TCID-d与LCID的映射关系。
在步骤S607,第二电子设备的基础服务层向第一电子设备的基础服务层发送删除传输通道响应。该删除传输通道响应用于向第一电子设备通知第二电子设备侧的业务通道和逻辑通道的映射关系解除。
具体地,在该步骤中,第二电子设备的基础服务层可以向第一电子设备的基础服务层发送信息#66,该信息#66用于指示第二电子设备已解除对端业务通道和逻辑通道的映射关系。
该信息#66可以包括对端业务通道的标识TCID-d。
需要说明的是,步骤S605和步骤S607中,第一电子设备的基础服务层与第二电子设备的基础服务层交互的数据可以通过控制通道传输。
步骤S607完成后,第一电子设备可以认为两个电子设备的基础服务层已经删除了TCID-s和TCID-d的连接。相应地,第一电子设备可以将本端业务通道TCID-s所属的业务通道组(即第一业务通道组)内的通道数减1。
本申请实施例中,当业务不再需要分流时,电子设备的基础服务层可以在自行删除业务通道组内的业务通道,而基础应用层完全不感知基础服务层的操作和流程。基础应用层下发的数据,仍然可以通过业务通道组内的其他业务通道进行传输,基础应用层并不感知业务通道的变化。
上文结合图8描述了本申请实施例提供的删除非缺省子业务通道的流程,当业务传输已经结束(即业务停止,例如第一端口不再用于传输数据)时,可以将用于传输该停止业务的业务通道组释放,即释放非缺省业务通道。下面结合图9进行描述。
图9示出了本申请实施例提供的释放非缺省业务通道的流程示意图。在该流程的实现过程中,涉及第一电子设备和第二电子设备,两个电子设备可以均具有如图2所示的基础应用层230、基础服务层220以及接入层210。图9示出的释放非缺省业务通道的流程700包括步骤S701至步骤S709,下面结合图9对各个步骤进行详细描述。
当第一电子设备和第二电子设备之间的业务停止时,第一电子设备与第二电子设备之间可以进行如下流程,以释放第一端口和第二端口。
在步骤S701,第一电子设备的基础应用层通知基础服务层(具体可以为通道管理模块)释放业务通道。
在该步骤中,第一电子设备的基础应用层请求通道管理模块为第一端口和第二端口释放业务通道,可以理解为是解除第一端口与本端业务通道组的映射关系,以及解除第二端 口与对端业务通道组的映射关系。
具体地,第一电子设备的基础应用层可以向通道管理模块发送信息#71,该信息#71用于指示为第一端口和第二端口释放业务通道。
该信息#71可以包括第一端口和第二端口。
在步骤S702,第一电子设备的基础服务层(具体为通道管理模块)判断是否释放非缺省业务通道。也即,第一电子设备的基础服务层判断是否释放业务通道组。
具体地,通道管理模块可以根据端口与业务通道组的映射关系判断是否释放非缺省业务通道。
例如若多个端口映射到同一业务通道组,即与第一端口映射的业务通道组还与其他端口具有映射关系,则不释放非缺省业务通道,即不删除业务通道组。但第一电子设备的基础服务层可以解除第一端口与业务通道组的映射关系,并反馈给基础应用层。示例性的,基础服务层可以执行步骤S709,通知基础应用层第一端口与业务通道组的映射关系解除,第一端口释放。
若第一端口映射到业务通道组具有一对一映射关系,即与第一端口映射的业务通道组与其他端口没有映射关系,则可以释放非缺省业务通道,即删除业务通道组。示例性的,基础服务层在步骤S702中可以执行释放TCID-s,也可以理解为删除TCID-s。
在步骤S703,第一电子设备的基础服务层向接入层申请释放逻辑通道。
该步骤即基础服务层申请解除业务通道TCID-s与逻辑通道LCID的映射关系。具体地,第一电子设备的基础服务层可以向接入层发送信息#72,该信息#72用于指示释放与业务通道TCID-s映射的逻辑通道,即指示解除业务通道TCID-s与逻辑通道LCID的映射关系。
该信息#72可以包括本端业务通道的标识TCID-s。
在步骤S704,第一电子设备的接入层结束业务通道TCID-s映射到逻辑通道LCID。
具体地,第一电子设备的接入层可以根据传输情况,从以下几种方案中选择一种来处理底层逻辑链路:
case#1:结束TCID-s映射到已有逻辑通道LCID,并维持已有LCID。
case#2:结束TCID-s映射到已有逻辑通道LCID,并重配已有逻辑通道LCID。
case#3:结束TCID-s映射到已有逻辑通道LCID,删除已有逻辑通道LCID。
需要说明的是,上述所列举的几种方案可以认为是图3示出的创建非缺省业务通道的过程中步骤S306的逆过程。关于上述方案所适应的场景可以参考图8中步骤S603的相关描述,为简洁,在此不再赘述。
步骤S704完成后即解除了业务通道和逻辑通道的映射关系。
在步骤S705,第一电子设备的接入层向基础服务层(具体为通道管理模块)反馈逻辑通道释放成功。
具体地,在该步骤中,第一电子设备的接入层可以向通道管理模块发送信息#73,该信息#73用于指示业务通道和逻辑通道的映射关系解除,逻辑链路操作完成,逻辑通道释放成功。
信息#73可以包括被释放的业务通道的标识TCID-s。
第一电子设备的通道管理模块知道业务通道和逻辑通道的映射关系解除后,认为底层 逻辑链路已经拆除。
在步骤S706,第一电子设备的基础服务层向第二电子设备的基础服务层发送删除传输通道请求。该删除传输通道请求用于向第二电子设备通知第一电子设备侧的业务通道和逻辑通道的映射关系解除。
具体地,在该步骤中,第一电子设备的基础服务层可以向第二电子设备的基础服务层发送信息#74,该信息#74用于指示第一电子设备已解除本端业务通道和逻辑通道的映射关系,也用于指示第二电子设备解除对端业务通道和逻辑通道的映射关系。
该信息#74包括被释放的业务通道的标识TCID-s。
在步骤S707,第二电子设备的基础服务层释放对端业务通道TCID-d。
具体地,第二电子设备的基础服务层在创建业务通道的过程中可以感知本端业务通道与逻辑通道的映射关系,因此第二电子设备的基础服务层可以根据该映射关系确定需要解除的对端业务通道与逻辑通道的映射关系,从而释放对端业务通道TCID-d。或者,在创建业务通道的过程中,第二电子设备可以感知TCID-s与TCID-d连接,即TCID-s与TCID-d具有对应关系,因此在步骤S707中,第二电子设备的基础服务层获取到TCID-s后就可以确定需要释放的对端业务通道TCID-d。
步骤S707完成后,第二电子设备可以认为两个电子设备的基础服务层已经删除了TCID-s和TCID-d的连接。相应地,第二电子设备可以将对端业务通道TCID-d所属的业务通道组内的通道数减1,为0。与此同时,第二电子设备的基础服务层解除对端业务通道TCID-d与LCID的映射关系。
在一些实施例中,在步骤S707之后,第二电子设备的基础服务层可以通知第二电子设备的基础应用层第二端口释放,即解除了第二端口与对端业务通道组的映射关系,并释放了对端业务通道组。
在步骤S708,第二电子设备的基础服务层向第一电子设备的基础服务层发送删除传输通道响应。该删除传输通道响应用于向第一电子设备通知第二电子设备侧的业务通道和逻辑通道的映射关系解除。
具体地,在该步骤中,第二电子设备的基础服务层可以向第一电子设备的基础服务层发送信息#76,该信息#76用于指示第二电子设备已解除对端业务通道和逻辑通道的映射关系。
该信息#76可以包括对端业务通道的标识TCID-d。
步骤S708完成后,第一电子设备可以认为两个电子设备的基础服务层已经删除了TCID-s和TCID-d的连接。相应地,第一电子设备可以将本端业务通道TCID-s所属的业务通道组内的通道数减1,为0。
可以理解的是,当需要释放的业务通道组内包括多条业务通道时,在释放业务通道过程中,可以依次释放业务通道组内的子通道,直至业务通道组内的通道数为0。或者也可以一次释放业务通道组内的多个子通道,释放多次直至业务通道组内的通道数为0。或者,也可以一次性释放全部的业务通道。后两种情况的过程类似,下面以一次性释放全部的业务通道为例简要描述过程。
例如,在步骤S703中,信息#72中可以包括本端业务通道组内的全部业务通道的标识(即多个TCID-s),以通知接入层将这些业务通道与逻辑通道的映射关系解除。在步 骤S705中,信息#73可以包括接入层解除映射关系的全部业务通道的标识(即多个TCID-s)。
需要说明的是,本端业务通道组内的多个业务通道所映射的逻辑通道可能支持不同的接入技术,如业务通道A与逻辑通道A具有映射关系,逻辑通道A支持SLB接入技术,业务通道B与逻辑通道B具有映射关系,逻辑通道B支持SLE接入技术。接入层中可以具有不同的功能模块具体实现对相应接入技术的支持,如接入模块A实现SLB技术,接入模块B实现SLE技术。那么在申请释放逻辑通道的过程中(即在步骤S703中),基础服务层根据接入技术的不同,可以将业务通道的标识发送到对应的模块上。在步骤S704中,由对应的接入模块结束业务通道与逻辑通道的映射关系。例如基础服务层将业务通道A的标识发送到接入模块A,由接入模块A解除业务通道A与逻辑通道A的映射关系;将业务通道B的标识发送到接入模块B,由接入模块B解除业务通道B与逻辑通道B的映射关系。然后在步骤S705,由接入模块A和接入模块B分别反馈已解除映射关系的业务通道的标识。
在步骤S706中,信息#74可以包括本端业务通道组内的已解除逻辑通道映射关系的全部业务通道的标识(即多个TCID-s)。相应地,在步骤S707,第二电子设备的基础服务层将与多个TCID-s对应的TCID-d分别释放。这样在步骤S707完成后,将对端业务通道TCID-d所属的业务通道组内的通道数减为0。
在步骤S708中,信息#76中可以包括对端业务通道组内的全部业务通道的标识(即多个TCID-d),以通知第一电子设备的基础服务层已解除了这些业务通道与逻辑通道的映射关系。这样在步骤S708完成后,将本端业务通道TCID-s所属的业务通道组内的通道数减为0。
继续参考图9,在步骤S709,第一电子设备的基础服务层(具体为通道管理模块)通知基础应用层业务通道释放成功。即通知基础应用层已经解除了第一端口与业务通道组的映射关系,并且已释放业务通道组(即删除了业务通道组内的全部子通道。
具体地,在该步骤中,第一电子设备的通道管理模块可以向基础应用层发送信息#77,该信息#77用于指示第一端口与第二端口的业务通道已释放完成。
该信息#77可以包括第一端口port1。
在步骤S710,第一电子设备的基础应用层通知第二电子设备的基础应用层第一端口释放,第二电子设备的基础应用层通知第一电子设备的基础应用层第二端口释放。
该过程中所涉及的数据可以通过已经建立的缺省业务通道传输。
本申请实施例中,当业务结束时,基础应用层可以通知基础服务层不再传输数据,可以释放非缺省业务通道。通道管理模块可以依次删除多条子通道,最后释放非缺省业务通道,通知基础应用层释放业务通道成功。从而释放传输资源。
上文结合图3至图9描述了业务通道的相关流程,其中基础服务层在执行创建非缺省业务通道的流程和添加非缺省业务子通道的流程时,本质是一样的,均是建立一条业务通道,区别在于该业务通道是在新的业务通道组中建立,还是在已有业务通道组中建立。若需要在新的业务通道组中建立,则需要在建立业务通道的同时,建立新的业务通道组,这个过程需要基础应用层参与,如提供端口相关信息、维护端口与业务通道组的映射关系等。类似地,基础服务层在执行释放非缺省业务通道的流程和删除非缺省业务子通道的流程时,本质是一样的,均是释放业务通道,区别在于是否将整个业务通道组释放。若需要释放整 个业务通道组,则需要基础应用层参与,如提供端口相关信息、解除端口与业务通道组的映射关系等。
结合上述实施例和附图,本申请实施例提供了一种配置用于传输业务的通道的方法,该方法可以在图1所示的通信系统100中实现,更具体地,在具有如图2所示的协议架构的电子设备中实现,如应用于第一电子设备。该第一电子设备可以包括基础应用层、基础服务层和接入层,其中基础应用层用于下发业务需求,接入层支持多种接入技术(例如包括SLB接入技术和SLE接入技术)。基础应用层可以配置端口,基础服务层可以配置业务通道,接入层可以配置逻辑通道。端口与业务通道具有映射关系,业务通道与逻辑通道具有映射关系,当完成端口-业务通道-逻辑通道的映射关系后,可以认为形成的通道可用于传输业务。
图10示出了本申请实施例提供的一种配置用于传输业务的通道的方法的示意性流程图。如图10所示,该方法可以包括步骤S801至S806。
在步骤S801,基础服务层根据业务需求确定建立第一业务通道。
这里,业务需求是由基础应用层下发的。例如可以是在步骤S801的前一个步骤由基础应用层发送给基础服务层,用于建立第一业务通道;或者,是在建立其他业务通道的时候由基础应用层发送给基础服务层,而在步骤S801中该业务需求同样用于建立第一业务通道。
本申请实施例中,业务需求是指在传输业务时需要满足的一些要求,例如业务通道的类型、服务质量、业务的传输模式、业务通道是否专载等等。当需要建立新的业务通道才能满足业务需求时,基础服务层确定建立第一业务通道。因此,可选的,在步骤S801之前,基础服务层可以先判断是否建立第一业务通道。可以理解的是,这里建立第一业务通道指的建立一个新的业务通道,而不是指复用已经建立好的业务通道。
在一个实施例中,在该步骤中,基础服务层根据业务需求确定建立第一业务通道可以包括:基础服务层生成第一业务通道的标识。作为示例而非限定,在具体实现中,该第一业务通道的标识可以采用上述实施例中所涉及的TCID-s。
在步骤S802,基础服务层向接入层发送第一信息。
该第一信息用于申请支持第一接入技术的逻辑通道。这里第一接入技术是由基础服务层在接入层所支持的多种接入技术中选择得到的。也就是说,基础服务层会指定逻辑通道所支持的接入技术,或者说,基础服务层可以指定在哪一种接入技术上申请逻辑通道。
在一个示例中,接入层所支持的多种接入技术可以包括SLB接入技术和SLE接入技术。在其他一些实施例中,接入层还可以支持现有的接入技术,例如蓝牙、无线保真(wireless fidelity,Wi-Fi),还可以支持未来的其他星闪联盟接入技术等。
需要说明的是,这里所涉及的接入技术可以理解为是无线短距通信中的接入技术。
在一个实施例中,第一信息可以包括第一业务通道的标识。
作为示例而非限定,第一信息例如可以是图3中的信息#32,图4中的信息#42,或者图7中的信息#52。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在一个实施例中,在步骤S802之前,基础服务层可以与第二电子设备进行通道参数协商。这样可以使第一电子设备和第二电子设备对齐通道参数,防止后续过程失败。
示例性的,基础服务层与第二电子设备所协商的通道参数可以与传输模式相关。通道 参数可以包括传输窗口滑窗大小、刷新定时器、最大传输次数、重传定时器等。可以理解的是,第二电子设备也可以包括基础服务层,这里通道参数协商的过程可以发生在第一电子设备的基础服务层和第二电子设备的基础服务层之间。协商过程中交互的数据可以通过控制通道传输。
在另一个实施例中,第一信息还可以包括逻辑通道类型信息和服务质量信息。逻辑通道类型信息用于指示逻辑通道的类型。本申请实施例中,逻辑通道类型可以包括异步逻辑通道、同步逻辑通道、单向逻辑通道、AM模式逻辑通道、UM模式逻辑通道、TM模式逻辑通道等。服务质量信息用于接入层选择逻辑通道或对逻辑通道的相关参数进行配置。
这里关于逻辑通道类型的说明可以参考上文相关描述,为简洁,在此不再赘述。
在步骤S803,基础服务层接收来自接入层的第二信息。
该第二信息用于指示第一业务通道与第一逻辑通道建立映射关系。也就是说,接入层在接收到基础服务层发送的第一信息后,可以在接入层配置第一逻辑通道,然后将第一业务通道和第一逻辑通道建立映射关系,并在步骤S803中通知基础服务层。
在一个示例中,第一逻辑通道可以是已经建立的逻辑通道,也可以是重配置的逻辑通道,还可以是新建立的逻辑通道。
换句话说,接入层可以将之前已经建好的一个逻辑通道作为第一逻辑通道与第一业务通道映射;或者,可以将之前已经建好的一个逻辑通道进行重配置,并将重配置的逻辑通道作为第一逻辑通道与第一业务通道映射;或者,可以建立一个新的逻辑通道作为第一逻辑通道与第一业务通道映射。
在具体实现中,接入层可以根据第一信息并结合接入层的传输情况确定采用哪种方式得到第一逻辑通道,本申请实施例对此不作限定。作为示例而非限定,接入层可以执行如图3中的步骤S306的动作,或者执行如图4中的步骤S406的动作,或者执行如图7中的步骤S504的动作,从而获得第一逻辑通道。关于接入层如何获取第一逻辑通道以及可能适用的场景,可参考上文相关描述,为简洁,在此不再赘述。
在一个实施例中,第二信息可以包括第一业务通道的标识和第一逻辑通道的标识。
作为示例而非限定,第二信息可以是图3中的信息#33,图4中的信息#43,或者图7中的信息#53。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在步骤S804,基础服务层向第二电子设备发送第三信息。
第三信息用于指示第二电子设备建立第二业务通道。
本申请实施例中,第一业务通道是第一电子设备侧建立的,第二业务通道是第二电子设备侧建立的,当第一业务通道和第二业务通道完成映射时,第一电子设备和第二电子设备才能通过第一业务通道和第二业务通道传输业务。
第二电子设备也可以包括基础应用层、基础服务层和接入层。本申请实施例中,第一电子设备的基础服务层可以向第二电子设备的基础服务层发送该第三信息。具体地,该第三信息可以通过第一电子设备和第二电子设备之间建立的控制通道进行传输。
在一个实施例中,第二电子设备可以生成第二业务通道的标识。更为具体地,可以是第二电子设备的基础服务层生成第二业务通道的标识。作为示例而非限定,在具体实现中,该第一业务通道的标识可以采用上述实施例中所涉及的TCID-d。
本申请实施例中,第二业务通道的标识和第一业务通道的标识可以是独立的,即第一 电子设备和第二电子设备分别具有生成业务通道标识的预设规则,两个电子设备在生成各自的业务通道的标识时,互不影响。
当然,第一业务通道的标识和第二业务通道的标识也可以设置为相同,这种情况下,在生成业务通道的标识的可以同时生成随机数,该随机数可用于解决在第一电子设备和第二电子设备同时执行图10所示方法时可能产生的冲突问题。具体解决方案可以参考上文有关图5和图6的相关描述,为简洁,在此不再赘述。
在一个实施例中,第二电子设备在建立第二业务通道以后,可以建立第二业务通道与第一逻辑通道的映射关系。第二电子设备完成第二业务通道与第一逻辑通道的映射关系后,可以认为第一业务通道和第二业务通道建立连接,底层的逻辑通道也可以进行业务传输。
在一个实施例中,第三信息可以包括第一业务通道的标识和第一逻辑通道的标识。
作为示例而非限定,第三信息可以是图3中的信息#34,图4中的信息#44,或者图7中的信息#54。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在步骤S805,基础服务层接收来自第二电子设备的第四信息。
该第四信息用于指示第二业务通道与第一逻辑通道建立映射关系。
在一个实施例中,第四信息可以包括第二业务通道的标识和第一逻辑通道的标识。
作为示例而非限定,第四信息可以是图3中的信息#36,图4中的信息#46,或者图7中的信息#56。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在步骤S806,基础服务层根据第四信息确定第一业务通道和第二业务通道的映射关系,完成第一业务通道的建立。
在该步骤中,基础服务层根据第四信息可以获知第二业务通道与第一逻辑通道的映射关系,同时知道第一业务通道与第一逻辑通道的映射关系,因此可以确定第一业务通道和第二业务通道的映射关系,完成了第一业务通道的建立。这样,基础服务层可以认为第一业务通道和第二业务通道建立了连接,第一业务通道、第一逻辑通道和第二业务通道所形成的通道可用于后续业务的传输。
在一些实施例中,基础服务层还可以配置业务通道组,其中业务通道组中可以包括一个或多个业务通道。
本申请实施例中,第一业务通道属于第一业务通道组,第一业务通道组包括至少一个业务通道。第一业务通道组与第一电子设备的第一端口具有映射关系,第一业务通道组用于传输第一端口下发的数据。第二业务通道属于第二业务通道组,第二业务通道组包括至少一个业务通道。第二业务通道组与第二电子设备的第二端口具有映射关系,第二业务通道组用于传输第二端口下发的数据。其中,第一端口、第一业务通道、第一逻辑通道、第二业务通道和第二端口用于在第一电子设备和第二电子设备之间传输业务。
这里,第一业务通道可以是第一业务通道组中建立的第一条业务通道,也可以是第一业务通道组中建立的除第一条业务通道之外的业务通道。当第一业务通道为第一业务通道组中建立的第一条业务通道时,在建立第一业务通道的同时,需要建立第一业务通道组。当第一业务通道不是第一业务通道组中建立的第一条业务通道时,建立第一业务通道可以认为是在已经建立好的第一业务通道组中建立子通道。
在一个示例中,若第一业务通道不是第一业务通道组中建立的第一条业务通道,则在步骤S801中,基础服务层根据业务需求确定建立第一业务通道,可以包括:当第一业务 通道组的传输状态不满足业务需求时,基础服务层确定在第一业务通道组中新建第一业务通道。
换言之,第一业务通道组已经建立,并用于传输第一端口下发的数据。若第一业务通道组的传输状态不满足业务需求时,例如当前传输状态不满足服务质量或业务通道受阻,则基础服务层可以在第一业务通道组中添加子通道,即建立第一业务通道,从而进行业务分流。在具体实现中,基础服务层可以根据业务需求的不同采用多种方式来判断是否要建立第一业务通道。
用于业务分流的第一业务通道可以与第一业务通道组内的其他业务通道采用不同的接入技术,或者使用不同的频谱资源等,从而实现分流。
在一个示例中,若第一业务通道为第一业务通道组中建立的第一条业务通道,则需要基础应用层发起创建业务通道组的流程。因此,步骤S801之前,基础服务层可以接收基础应用层发送的业务需求,该业务需求指示基础服务层创建第一业务通道组。在步骤S801中,基础服务层根据业务需求的指示确定建立第一业务通道,其中第一业务通道为第一业务通道组中的第一条业务通道。
作为示例而非限定,例如业务需求中指示业务通道专用于传输某一业务的数据,或者业务需求中指示业务数据的传输方式为透传模式,则基础服务层确定新建第一业务通道,且该第一业务通道属于新的业务通道组。
在一些实施例中,在基础服务层接收基础应用层发送的业务需求之前,基础应用层与第二电子设备可以进行端口协商,确定第一电子设备使用第一端口,第二电子设备使用第二端口。
也就是说,在基础服务层发送业务需求来指示基础服务层创建第一业务通道组之前,基础服务层需要与第二电子设备端口协商,以确定为哪个端口创建第一业务通道组。
本申请实施例中,第二电子设备也可以包括基础应用层,因此端口协商过程可以发生在第一电子设备的基础服务层和第二电子设备的基础服务层之间。端口协商过程所交互的信息,可以通过缺省业务通道传输。
对于第一业务通道为第一业务通道组中建立的第一条业务通道(即建立第一业务通道的同时需要建立第一业务通道组)的情况,图10所示的方法还可以包括步骤S807和步骤S808,如图10所示。
在步骤S801之前,执行步骤S807,基础服务层接收基础应用层发送的第五信息。
该第五信息用于指示为第一端口申请业务通道。第一端口即第一电子设备和第二电子设备协商确定的端口。这里第一端口为电子设备侧用于传输业务的端口。可以理解的是,在第一电子设备和第二电子设备协商了端口的情况下,第五信息用于指示为第一端口申请业务通道,可以理解为是用于指示为第一端口和第二端口申请业务通道。
作为示例而非限定,第五信息可以是图3中的信息#31,或者图4中的信息#41。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在步骤S806之后,执行步骤S808,基础服务层向基础应用层发送第六信息。
该第六信息用于指示第一端口与第一业务通道组建立映射关系。
作为示例而非限定,第六信息可以是图3中的信息#37,或者图4中的信息#47。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
本申请实施例中,第一业务通道可以是双向传输通道,即用于第一电子设备和第二电子设备相互传输业务。第一业务通道可以是单向传输通道,即用于第一电子设备向第二电子设备传输业务,而不能用于第二电子设备向第一电子设备传输业务。
在一个实施例中,若第一业务通道为双向传输通道,则第五信息可以包括第一端口的标识和第二端口的标识。第六信息可以包括第一端口的标识和第一映射标识,其中第一映射标识用于指示第一业务通道组。
由于第一业务通道为双向传输通道,因此基础应用层在为端口申请业务通道时,需要将第一电子设备和第二电子设备协商的端口均通知基础服务层,才能建立可用于双向传输的第一业务通道。
在一个实施例中,若第一业务通道为单向传输通道,第五信息可以包括第一端口的标识。第六信息可以包括第一端口的标识和第一映射标识,其中第一映射标识用于指示第一业务通道组。
本申请实施例中,第一映射标识表示为第一业务通道组的标识,如上文的GoupID,可以表示为第一业务通道的标识,如上文的TCID,还可以表示为传输通道映射标识,如上文的MapTCID。关于GoupID、TCID以及MapTCID的表示形式可以参考上文相关描述,为简洁,在此不再赘述。
在一些实施例中,第五信息还可以包括业务通道类型信息和服务质量指示信息。其中业务通道类型信息用于指示业务的类型,如指示第一业务通道为单播业务通道、组播业务通道或广播业务通道。服务质量指示信息用于指示业务对业务通道的需求,例如传输速率、时延、丢包率、通信周期、最大包大小等。
在一些实施例中,第五信息还可以包括附加参数,例如传输模式信息、是否专载指示信息等。其中传输模式信息用于指示数据的传输模式,其中传输模式可以包括基础模式、透传模式、普通模式、流控模式、流模式、重传模式等。是否专载指示信息用于指示第一业务通道是否专用于传输第一端口下发的数据。
关于业务通道类型、传输模式等,可以参考上述图3至图9的实施例中的相关描述,为简洁,在此不再赘述。
本申请实施例中,第一电子设备的接入层可以支持多种接入技术,例如SLB接入技术和SLE接入技术。当第一电子设备与第二电子设备需要进行无线业务或业务分流时,用户无需选择或指定在哪个接入技术上进行业务传输,由基础服务层根据业务需求自行选择底层接入技术,并建立业务通道进行传输。这样可以实现对多种接入技术的兼容和对上层的统一,即基础应用层无需感知接入技术,由基础服务层完成通道创建、分流等功能。
图10所示的方法描述了建立第一业务通道的过程,在一些实施例中,在不需要第一业务通道传输业务时,还可以将第一业务通道释放。图11示出了本申请实施例提供的另一种配置用于传输业务的通道的方法的示意性流程图。如图11所示,该方法可以包括步骤S801至S808以及步骤S901至S906。
步骤S801至S808用于建立第一业务通道,步骤S901至S906用于释放第一业务通道。建立第一业务通道过程与图10所示的步骤S801至S808相同,具体可参考图10相关描述,为简洁,在此不再赘述。下面仅对释放第一业务通道的过程进行详细描述。
如图11所示,在步骤S801至S808中,建立第一业务通道。
在步骤S901,当满足预设条件时,基础服务层确定释放第一业务通道。
本申请实施例中,若第一业务通道组包括多条业务通道,第一业务通道为该多条业务通道中的一个时,则释放第一业务通道的过程为删除业务通道组中子通道的过程。若第一业务通道组包括一条业务通道,即该第一业务通道时,则释放第一业务通道的过程也可以认为时释放第一业务通道组的过程,即释放第一业务通道的同时,释放第一业务通道所属的业务通道组。
在一个示例中,预设条件可以包括:第一业务通道在预设时长内未传输数据。
也就是说,第一业务通道在很长时间内没有进行传输业务,那么就可以将第一业务通道释放。
在另一个示例中,预设条件可以包括:基础服务层接收到基础应用层发送的指示信息,指示信息用于指示释放第一业务通道所属的第一业务通道组,其中第一业务通道组与第一电子设备的第一端口具有一对一映射关系,第一业务通道组用于传输第一端口下发的数据。
也就是说,当基础服务层接收到基础应用层的指示信息时,可以根据指示信息释放第一业务通道。需要说明的是,这里基础服务层需要结合端口与业务通道组的映射情况,判断是否释放第一业务通道。例如,当第一端口与第一业务通道组为一对一映射关系时,确定释放第一业务通道。
在步骤S902,基础服务层向接入层发送第七信息。
该第七信息用于申请释放第一逻辑通道。这里第一逻辑通道与第一业务通道具有映射关系。
在一个实施例中,第七信息可以包括第一业务通道的标识。
作为示例而非限定,第七信息可以是图8中的信息#62,或者图9中的信息#72。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在步骤S903,基础服务层接收来自接入层的第八信息。
该第八信息用于指示第一业务通道与第一逻辑通道解除映射关系。
在一个实施例中,第八信息可以包括第一业务通道的标识。
作为示例而非限定,第八信息可以是图8中的信息#63,或者图9中的信息#73。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
在一些实施例中,第一逻辑通道的参数可以维持不变或者被重配置。或者第一逻辑通道被删除。在具体实现中,接入层可以根据实际情况对第一逻辑通道进行处理,详细可参考图8-9的相关描述。
在步骤S904,基础服务层向第二电子设备发送第九信息。
该第九信息用于指示第二电子设备释放第二业务通道,即指示第二电子设备解除第二业务通道与第一逻辑通道的映射关系。
在一个实施例中,第九信息可以包括第一业务通道的标识。
作为示例而非限定,第九信息可以是图8中的信息#64,或者图9中的信息#74。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
相应地,第二电子设备接收到第九信息后,可以释放第二业务通道。
在步骤S905,基础服务层接收来自第二电子设备的第十信息。
该第十信息用于指示第二业务通道与第一逻辑通道解除映射关系。
在一个实施例中,第十信息可以包括第二业务通道的标识。
作为示例而非限定,第十信息可以是图8中的信息#66,或者图9中的信息#76。关于各种信息的说明可参考上文相关描述,为简洁,在此不再赘述。
需要说明的是,步骤S904和S905可以发生在第一电子设备的基础服务层和第二电子设备的基础服务层之间,其中两个设备交互的信息可以通过控制通道传输。
在步骤S905,基础服务层根据第十信息确定第一业务通道和第二业务通道解除映射关系,完成第一业务通道的释放。
当基础服务层接收到第十信息后,可以认为第一电子设备和第二电子设备之间的底层链路拆除,第一业务通道和第二业务通道断开连接。
上文提到,当第一业务通道为第一业务通道组内的唯一一条业务通道时,在释放第一业务通道的同时需要释放第一业务通道组。因此在一些实施例中,当需要同时释放第一业务通道组时,在步骤S901之前,图11所示的方法还可以包括步骤S907和S908,如下。
在步骤S901之前,执行步骤S907,基础服务层接收基础应用层发送的第十一信息。
该第十一信息用于指示为第一电子设备的第一端口释放业务通道,其中第一端口与第一业务通道组具有映射关系,第一业务通道组包括第一业务通道。
在一个实施例中,第十一信息可以包括第一端口的标识。
作为示例而非限定,第十一信息可以是图9中的信息#71。关于信息#71的说明可参考上文相关描述,为简洁,在此不再赘述。
在步骤S906之后,执行步骤S908,基础服务层接收基础应用层发送的第十二信息。
该第十二信息用于指示第一端口与第一业务通道组解除映射关系。
在一个实施例中,第十二信息可以包括第一端口的标识。
作为示例而非限定,第十二信息可以是图9中的信息#77。关于信息#77的说明可参考上文相关描述,为简洁,在此不再赘述。
本申请实施例中,当业务结束或者不需要业务通道分流时,可以释放第一业务通道,从而释放传输资源,提高资源利用率。
上述图10和图11所示的方法中,基础应用层可以是图2所示的基础应用层230,由基础应用层所执行的操作,具体可以由如图2所示的基础应用层230中的相应业务模块执行。基础服务层可以是图2所示的基础服务层220,由基础服务层所执行的操作,具体可以由如图2所示的基础服务层230中的通道管理模块执行。接入层可以是图2所示的接入层210,由接入层所执行的操作,具体可以由如图2所示的接入层210中的相应接入模块执行。
上文结合图1至图11详细的描述了本申请实施例的方法实施例,下面结合图12至图13,详细描述本申请实施例的装置实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。
图12是本申请实施例提供的装置的示意性结构图。图12中的装置1000可以是图1或图2中的电子设备的一个具体的例子。图12所示的装置1000可以用于执行图10或图11的方法,并且可以具体实现图3至图9所示的实施例,为避免冗余,不再重复描述。
图12所示的装置1000包括业务模块1010、通道管理模块1020和接入模块1030。该装置1000支持多种接入技术,其中接入模块1030可以是实现其中一种接入技术的模块。
业务模块1010,用于下发业务需求。
通道管理模块1020,用于:
根据业务需求确定建立第一业务通道;
向接入模块1030发送第一信息,该第一信息用于申请支持第一接入技术的逻辑通道,第一接入技术是由通道管理模块1020从多种接入技术中选择得到;
接收来自接入模块1030的第二信息,该第二信息用于指示第一业务通道与第一逻辑通道建立映射关系;
向第二电子设备发送第三信息,该第三信息用于指示第二电子设备建立第二业务通道;
接收来自第二电子设备的第四信息,该第四信息用于指示第二业务通道与第一逻辑通道建立映射关系;
根据第四信息确定第一业务通道和第二业务通道的映射关系,完成第一业务通道的建立。
作为示例而非限定,业务模块1010可以是图2所示的基础应用层230中的任意一种业务模块。通道管理模块1020可以是图2所示的基础服务层220中的通道管理模块。接入模块1030可以是图2所示的接入层210中的支持SLB接入技术的模块,或者为支持SLE接入技术的模块。
可选的,第一业务通道属于第一业务通道组,第一业务通道组包括至少一个业务通道,第一业务通道组与第一电子设备的第一端口具有映射关系,第一业务通道组用于传输第一端口下发的数据。第二业务通道属于第二业务通道组,第二业务通道组包括至少一个业务通道,第二业务通道组与第二电子设备的第二端口具有映射关系,第二业务通道组用于传输第二端口下发的数据。其中,第一端口、第一业务通道、第一逻辑通道、第二业务通道和第二端口用于在第一电子设备和第二电子设备之间传输业务。
这里,第一电子设备即装置1000。
可选的,通道管理模块1020具体用于,当第一业务通道组的传输状态不满足业务需求时,确定在第一业务通道组中新建第一业务通道。
可选的,通道管理模块1020,还用于接收业务模块1010发送的业务需求,业务需求指示通道管理模块1020创建第一业务通道组;确定建立第一业务通道,其中第一业务通道为第一业务通道组中的第一条业务通道。
可选的,业务模块1010,还用于与第二电子设备进行端口协商,确定第一电子设备使用第一端口,第二电子设备使用第二端口。
可选的,通道管理模块1020具体用于,接收业务模块1010发送的第五信息。该第五信息用于指示为第一端口申请业务通道;向业务模块1010发送第六信息。该第六信息用于指示第一端口与第一业务通道组建立映射关系。
可选的,第一业务通道为双向传输通道;第五信息包括第一端口的标识和第二端口的标识;第六信息包括第一端口的标识和第一映射标识,其中第一映射标识用于指示第一业务通道组。
可选的,第一业务通道为单向传输通道;第五信息包括第一端口的标识;第六信息包括第一端口的标识和第一映射标识,其中第一映射标识用于指示第一业务通道组。
可选的,第五信息还包括业务通道类型信息和服务质量指示信息。
可选的,通道管理模块1020,还用于与第二电子设备进行通道参数协商。
可选的,通道管理模块1020具体用于,生成第一业务通道的标识。
可选的,第一信息包括第一业务通道的标识。
可选的,第二信息包括第一业务通道的标识和第一逻辑通道的标识。
可选的,第三信息包括第一业务通道的标识和第一逻辑通道的标识。
可选的,第四信息包括第二业务通道的标识和第一逻辑通道的标识。
可选的,第一信息包括逻辑通道类型信息和服务质量信息。
可选的,第一逻辑通道为已经建立的逻辑通道、重配置的逻辑通道或者新建立的逻辑通道。
可选的,通道管理模块1020,还用于:
当满足预设条件时,确定释放第一业务通道;
向接入模块1030发送第七信息,该第七信息用于申请释放第一逻辑通道;
接收来自接入模块1030的第八信息,该第八信息用于指示第一业务通道与第一逻辑通道解除映射关系;
向第二电子设备发送第九信息,该第九信息用于指示第二电子设备释放第二业务通道;
接收来自第二电子设备的第十信息,该第十信息用于指示第二业务通道与第一逻辑通道解除映射关系;
根据第十信息确定第一业务通道和第二业务通道解除映射关系,完成第一业务通道的释放。
可选的,预设条件包括:第一业务通道在预设时长内未传输数据;或者,通道管理模块1020接收到业务模块1010发送的指示信息,指示信息用于指示释放第一业务通道所属的第一业务通道组,其中第一业务通道组与第一电子设备的第一端口具有一对一映射关系,第一业务通道组用于传输第一端口下发的数据。
可选的,通道管理模块1020还用于,接收业务模块1010发送的第十一信息,该第十一信息用于指示为第一电子设备的第一端口释放业务通道,其中第一端口与第一业务通道组具有映射关系,第一业务通道组包括第一业务通道;接收业务模块1010发送的第十二信息,该第十二信息用于指示第一端口与第一业务通道组解除映射关系。
可选的,第十一信息包括第一端口的标识。
可选的,第十二信息包括第一端口的标识。
可选的,第七信息包括第一业务通道的标识。
可选的,第八信息包括第一业务通道的标识。
可选的,第九信息包括第一业务通道的标识。
可选的,第十信息包括第二业务通道的标识。
可选的,第一逻辑通道的参数维持不变或者被重配置;或者第一逻辑通道被删除。
可选的,多种接入技术包括星闪基础SLB接入技术和星闪低功耗SLE接入技术。
图13是本申请另一个实施例提供的装置的示意性结构图。图13所示的装置1100可对应于前文描述的装置,例如电子设备,具体地装置1100可以是图1或图2中的电子设备的一个具体的例子。
装置1100包括:处理器1120。在本申请的实施例中,处理器1120用于实现相应的 控制管理操作,例如,处理器1120用于支持装置执行前述实施例中图10或图11所示的方法或操作或功能,以及图3至图9所示实施例的方法或操作或功能。
可选的,装置1100还可以包括:存储器1110和通信接口1130。处理器1120、通信接口1130以及存储器1110可以相互连接或者通过总线1140相互连接。其中,通信接口1130用于支持该装置进行通信,存储器1110用于存储装置的程序代码和数据。处理器1120调用存储器1110中存储的代码或者数据实现相应的操作。该存储器1110可以跟处理器耦合在一起,也可以不耦合在一起。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。
其中,处理器1120可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。通信接口1130可以是收发器、电路、总线、模块或其它类型的通信接口。总线604可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本申请实施例还提供一种通信系统,包括上文描述的第一电子设备第二电子设备。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质具有程序指令,当所述程序指令被处理器执行时,使得处理器执行前文中的配置用于传输业务的通道的方法。
本申请实施例还提供一种芯片系统,所述芯片系统包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得所述至少一个处理器执行前文中的配置用于传输业务的通道的方法。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的 部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (24)

  1. 一种配置用于传输业务的通道的方法,其特征在于,应用于第一电子设备,所述第一电子设备包括基础应用层、基础服务层和接入层,其中所述基础应用层用于下发业务需求,所述接入层支持多种接入技术,所述方法包括:
    所述基础服务层根据所述业务需求确定建立第一业务通道;
    所述基础服务层向所述接入层发送第一信息,所述第一信息用于申请支持第一接入技术的逻辑通道,所述第一接入技术是由所述基础服务层从所述多种接入技术中选择得到;
    所述基础服务层接收来自所述接入层的第二信息,所述第二信息用于指示所述第一业务通道与第一逻辑通道建立映射关系;
    所述基础服务层向第二电子设备发送第三信息,所述第三信息用于指示所述第二电子设备建立第二业务通道;
    所述基础服务层接收来自所述第二电子设备的第四信息,所述第四信息用于指示所述第二业务通道与所述第一逻辑通道建立映射关系;
    所述基础服务层根据所述第四信息确定所述第一业务通道和所述第二业务通道的映射关系,完成所述第一业务通道的建立。
  2. 根据权利要求1所述的方法,其特征在于,
    所述第一业务通道属于第一业务通道组,所述第一业务通道组包括至少一个业务通道,所述第一业务通道组与所述第一电子设备的第一端口具有映射关系,所述第一业务通道组用于传输所述第一端口下发的数据;
    所述第二业务通道属于第二业务通道组,所述第二业务通道组包括至少一个业务通道,所述第二业务通道组与所述第二电子设备的第二端口具有映射关系,所述第二业务通道组用于传输所述第二端口下发的数据;
    其中,所述第一端口、所述第一业务通道、所述第一逻辑通道、所述第二业务通道和所述第二端口用于在所述第一电子设备和所述第二电子设备之间传输业务。
  3. 根据权利要求2所述的方法,其特征在于,所述基础服务层根据所述业务需求确定建立第一业务通道,包括:
    当所述第一业务通道组的传输状态不满足所述业务需求时,所述基础服务层确定在所述第一业务通道组中新建所述第一业务通道。
  4. 根据权利要求2所述的方法,其特征在于,在所述基础服务层根据所述业务需求确定建立第一业务通道之前,还包括:
    所述基础服务层接收所述基础应用层发送的所述业务需求,所述业务需求指示所述基础服务层创建所述第一业务通道组;
    所述基础服务层确定建立所述第一业务通道,其中所述第一业务通道为所述第一业务通道组中的第一条业务通道。
  5. 根据权利要求4所述的方法,其特征在于,在所述基础服务层接收所述基础应用层发送的所述业务需求之前,还包括:
    所述基础应用层与所述第二电子设备进行端口协商,确定所述第一电子设备使用所述 第一端口,所述第二电子设备使用所述第二端口;
    所述基础服务层接收所述基础应用层发送的所述业务需求,包括:
    所述基础服务层接收所述基础应用层发送的第五信息,所述第五信息用于指示为所述第一端口申请业务通道;
    在所述基础服务层根据所述第四信息确定所述第一业务通道和所述第二业务通道的映射关系之后,还包括:
    所述基础服务层向所述基础应用层发送第六信息,所述第六信息用于指示所述第一端口与所述第一业务通道组建立映射关系。
  6. 根据权利要求5所述的方法,其特征在于,所述第一业务通道为双向传输通道;
    所述第五信息包括所述第一端口的标识和所述第二端口的标识;
    所述第六信息包括所述第一端口的标识和第一映射标识,其中所述第一映射标识用于指示所述第一业务通道组。
  7. 根据权利要求5所述的方法,其特征在于,所述第一业务通道为单向传输通道;
    所述第五信息包括所述第一端口的标识;
    所述第六信息包括所述第一端口的标识和第一映射标识,其中所述第一映射标识用于指示所述第一业务通道组。
  8. 根据权利要求6或7所述的方法,其特征在于,所述第五信息还包括业务通道类型信息和服务质量指示信息。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,在所述基础服务层向所述接入层发送第一信息之前,还包括:
    所述基础服务层与所述第二电子设备进行通道参数协商。
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述基础服务层根据所述业务需求确定建立第一业务通道,包括:
    所述基础服务层生成所述第一业务通道的标识。
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,
    所述第一信息包括所述第一业务通道的标识;
    所述第二信息包括所述第一业务通道的标识和所述第一逻辑通道的标识;
    所述第三信息包括所述第一业务通道的标识和所述第一逻辑通道的标识;
    所述第四信息包括所述第二业务通道的标识和所述第一逻辑通道的标识。
  12. 根据权利要求1至11中任一项所述的方法,其特征在于,所述第一信息包括逻辑通道类型信息和服务质量信息。
  13. 根据权利要求1至12中任一项所述的方法,其特征在于,所述第一逻辑通道为已经建立的逻辑通道、重配置的逻辑通道或者新建立的逻辑通道。
  14. 根据权利要求1至13中任一项所述的方法,其特征在于,所述方法还包括:
    当满足预设条件时,所述基础服务层确定释放所述第一业务通道;
    所述基础服务层向所述接入层发送第七信息,所述第七信息用于申请释放所述第一逻辑通道;
    所述基础服务层接收来自所述接入层的第八信息,所述第八信息用于指示所述第一业务通道与所述第一逻辑通道解除映射关系;
    所述基础服务层向所述第二电子设备发送第九信息,所述第九信息用于指示所述第二电子设备释放所述第二业务通道;
    所述基础服务层接收来自所述第二电子设备的第十信息,所述第十信息用于指示所述第二业务通道与所述第一逻辑通道解除映射关系;
    所述基础服务层根据所述第十信息确定所述第一业务通道和所述第二业务通道解除映射关系,完成所述第一业务通道的释放。
  15. 根据权利要求14所述的方法,其特征在于,所述预设条件包括:
    所述第一业务通道在预设时长内未传输数据;或者,
    所述基础服务层接收到所述基础应用层发送的指示信息,所述指示信息用于指示释放所述第一业务通道所属的第一业务通道组,其中所述第一业务通道组与所述第一电子设备的第一端口具有一对一映射关系,所述第一业务通道组用于传输所述第一端口下发的数据。
  16. 根据权利要求14所述的方法,其特征在于,在所述基础服务层确定释放所述第一业务通道之前,还包括:
    所述基础服务层接收所述基础应用层发送的第十一信息,所述第十一信息用于指示为所述第一电子设备的第一端口释放业务通道,其中所述第一端口与第一业务通道组具有映射关系,所述第一业务通道组包括所述第一业务通道;
    在所述基础服务层根据所述第十信息确定所述第一业务通道和所述第二业务通道解除映射关系之后,还包括:
    所述基础服务层接收所述基础应用层发送的第十二信息,所述第十二信息用于指示所述第一端口与所述第一业务通道组解除映射关系。
  17. 根据权利要求16所述的方法,其特征在于,
    所述第十一信息包括所述第一端口的标识;
    所述第十二信息包括所述第一端口的标识。
  18. 根据权利要求14至17中任一项所述的方法,其特征在于,
    所述第七信息包括所述第一业务通道的标识;
    所述第八信息包括所述第一业务通道的标识;
    所述第九信息包括所述第一业务通道的标识;
    所述第十信息包括所述第二业务通道的标识。
  19. 根据权利要求14至18中任一项所述的方法,其特征在于,
    所述第一逻辑通道的参数维持不变或者被重配置;或者
    所述第一逻辑通道被删除。
  20. 根据权利要求1至19中任一项所述的方法,其特征在于,所述多种接入技术包括星闪基础SLB接入技术和星闪低功耗SLE接入技术。
  21. 一种配置用于传输业务的通道的装置,其特征在于,包括:
    存储器,用于存储计算机程序;
    处理器,用于执行所述存储器中存储的计算机程序,以使得所述装置执行如权利要求1至20中任一项所述的方法。
  22. 一种配置用于传输业务的通道的装置,其特征在于,包括至少一个处理器和通信接口,所述通信接口用于为所述至少一个处理器提供指令和/或数据的输入或输出,所述 至少一个处理器执行代码指令,使得所述装置执行如权利要求1至20中任一项所述的方法。
  23. 一种计算机可读存储介质,其特征在于,存储有计算机可执行指令,当所述计算机可执行指令在计算机上运行时,使得所述计算机执行如权利要求1至20中任一项所述的方法。
  24. 一种芯片系统,其特征在于,包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得所述至少一个处理器执行如权利要求1至20中任一项所述的方法。
PCT/CN2022/107612 2021-08-02 2022-07-25 配置用于传输业务的通道的方法及装置 WO2023011231A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110880797.9 2021-08-02
CN202110880797.9A CN115701725A (zh) 2021-08-02 2021-08-02 配置用于传输业务的通道的方法及装置

Publications (1)

Publication Number Publication Date
WO2023011231A1 true WO2023011231A1 (zh) 2023-02-09

Family

ID=85142426

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107612 WO2023011231A1 (zh) 2021-08-02 2022-07-25 配置用于传输业务的通道的方法及装置

Country Status (2)

Country Link
CN (1) CN115701725A (zh)
WO (1) WO2023011231A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001172A (zh) * 2006-06-28 2007-07-18 华为技术有限公司 一种路径的管理方法、实现跨域端到端管理的方法
US20100202450A1 (en) * 2006-12-29 2010-08-12 Prodea Systems , Inc. Multi-services application gateway
CN110383864A (zh) * 2017-03-31 2019-10-25 英特尔公司 具有多播的道路通信系统
CN110949458A (zh) * 2019-11-27 2020-04-03 交控科技股份有限公司 基于微服务架构的轨道交通运维管理系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001172A (zh) * 2006-06-28 2007-07-18 华为技术有限公司 一种路径的管理方法、实现跨域端到端管理的方法
US20100202450A1 (en) * 2006-12-29 2010-08-12 Prodea Systems , Inc. Multi-services application gateway
CN110383864A (zh) * 2017-03-31 2019-10-25 英特尔公司 具有多播的道路通信系统
CN110949458A (zh) * 2019-11-27 2020-04-03 交控科技股份有限公司 基于微服务架构的轨道交通运维管理系统

Also Published As

Publication number Publication date
CN115701725A (zh) 2023-02-10

Similar Documents

Publication Publication Date Title
US20210219105A1 (en) Communications method and apparatus
CN108323246B (zh) 组网方法、芯片及无线网络系统
WO2019091396A1 (zh) 通信方法及通信设备
WO2022205234A1 (zh) 一种通信方法及装置
US8973074B2 (en) Method and system for isochronous communication in audio/video networks
US20240049116A1 (en) Method for transmitting and receiving data and device for same in short-range wireless communication system
WO2022012361A1 (zh) 一种通信方法及装置
WO2023040590A1 (zh) 通道配置方法及装置
WO2023011316A1 (zh) 数据传输方法、电子设备、芯片和存储介质
WO2023011231A1 (zh) 配置用于传输业务的通道的方法及装置
US20220338288A1 (en) Communication method and apparatus
WO2022057825A1 (zh) 聚合配置方法、装置及终端
CN111436078A (zh) 通信方法和网络设备
WO2021249474A1 (zh) 承载配置方法、装置及终端
WO2023071567A1 (zh) 传输通道的重配置方法、装置和电子设备
CN116782307A (zh) 业务速率调整方法及通信装置
CN112135329B (zh) 参数传输方法、装置及系统
CN115250537A (zh) 一种通信方法及设备
WO2023082974A1 (zh) 配置用于传输组播业务的通道的方法及装置
WO2022242387A1 (zh) 一种基于无线短距通信协议架构的装置及电子设备
WO2023246746A1 (zh) 一种通信方法及相关设备
WO2023185608A1 (zh) 一种数据传输的方法及通信装置
WO2022213848A1 (zh) 一种通信方法及设备
WO2024061034A1 (zh) 通信方法和通信装置
WO2023217009A1 (zh) 数据传输方法、装置及通信设备

Legal Events

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

Ref document number: 22851945

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE