WO2022246803A1 - 接入方法及通信装置 - Google Patents

接入方法及通信装置 Download PDF

Info

Publication number
WO2022246803A1
WO2022246803A1 PCT/CN2021/096783 CN2021096783W WO2022246803A1 WO 2022246803 A1 WO2022246803 A1 WO 2022246803A1 CN 2021096783 W CN2021096783 W CN 2021096783W WO 2022246803 A1 WO2022246803 A1 WO 2022246803A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
access
access method
broadcast
request
Prior art date
Application number
PCT/CN2021/096783
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 华为技术有限公司
Priority to EP21942377.9A priority Critical patent/EP4333545A4/en
Priority to CN202180001859.2A priority patent/CN113455026B/zh
Priority to PCT/CN2021/096783 priority patent/WO2022246803A1/zh
Publication of WO2022246803A1 publication Critical patent/WO2022246803A1/zh
Priority to US18/519,911 priority patent/US20240107427A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0048Allocation of pilot signals, i.e. of signals known to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of communication, more specifically, to an access method and a communication device, and especially to the technical field of short-distance communication.
  • nodes in the communication system can be divided into master nodes and slave nodes in terms of logical functions.
  • the master node manages the slave nodes, and the master node has the function of allocating resources in the communication domain, and is responsible for allocating resources for the slave nodes; the slave nodes obey the scheduling of the master node, and use the resources allocated by the master node to communicate with the master node.
  • the connection between the master node and the slave node is established by broadcasting information.
  • the multiple slave nodes will send broadcast information, which will increase the collision probability of the broadcast information of the multiple slave nodes, thereby prolonging the time interval between the multiple slave nodes.
  • the broadcast time increases the power consumption of the plurality of slave nodes, prolongs the connection establishment time between the master node and the slave nodes, and then reduces the connection establishment efficiency between the master node and the device-slave devices.
  • the present application provides an access method and a communication device.
  • the access method can reduce the power consumption of the first device or the second device, shorten the time for establishing a connection between the first device and the second device, and improve the connection between the first device and the second device. The efficiency with which connections are established between devices.
  • an access method includes: sending first broadcast information according to the target access method, the first broadcast information is used to indicate that the broadcast type is connectable; if the first receiving a first access request from the first device within a preset time period, and sending first response information for the first access request; wherein, the target access method is an access method in the access method set , the access mode set includes at least two access modes.
  • the first preset duration may be predefined or set in the communication system, for example, the communication system may be a general transmission low energy (GT-LE) system or other possible short-distance communication systems ; Or, the first preset duration can be an experience value obtained through testing; or, the first preset duration can be set through a corresponding configuration (such as profile, etc.); or, the first preset duration is the second device indicated to the first device.
  • GT-LE transmission low energy
  • the set of access modes includes the first access mode and the second access mode.
  • the master node sends broadcast information, so that after the slave node scans (or receives) the broadcast information of the master node, the slave node acts as the requester (at this time, the master node acts as the requested party), and requests A connection is established with the master node, and the master node configures corresponding resources for the connection, so that the two establish corresponding connections.
  • the slave node sends broadcast information, so that after the master node scans (or receives) the broadcast information from the slave node, the master node acts as the requester (at this time, the slave node acts as the requested party), and requests to communicate with the slave node Nodes establish connections and configure corresponding resources, so that the two establish corresponding connections.
  • the access between the second device and the first device can reduce the power consumption of the first device or the second device, shorten the time for establishing a connection between the first device and the second device, and improve the connection between the first device and the second device. connection efficiency.
  • the at least two access manners correspond to different scenarios.
  • Different access methods correspond to different scenarios, that is, the access method is related to the scenario, and the access method that is more suitable for the current second device is adopted in order to complete the access with the first device, thereby reducing the cost of the first device or the second device.
  • the power consumption of the second device shortens the time for establishing a connection between the first device and the second device, and improves the efficiency of establishing a connection between the first device and the second device.
  • the target access mode is the first access mode in the access mode set; the first response information includes parameters for connection establishment information.
  • the first device is a slave node
  • the second device is a master node
  • the parameter information for establishing the connection is carried in the first response information, so that the first device acquires the parameter information configured by the second device for establishing the connection between the first device and the second device.
  • the target access method is a first access method in the access method set, and the first access request includes at least one of the following: Identification information of the first device; identification information of a second device to be accessed by the first device; or capability information of the first device.
  • the second device to be accessed by the first device may be understood as the first device may serve as an access device and request to access the second device.
  • the identification information of the first device is carried in the first access request, so that the second device knows that the first access request is sent by the first device.
  • the identification information of the second device to be accessed by the first device is carried in the first access request, so that the second device can determine whether the first device can access the second device.
  • the capability information of the first device is carried in the first access request, so that the second device knows the capability of the first device, and configures appropriate parameter information for the subsequent second device to establish a connection between the first device and the second device.
  • the first preset duration is the first duration
  • the target access method is the first access method in the access method set
  • the access method further includes: if the first access request is not received within the first duration, scanning broadcast information according to the second access method in the access method set;
  • the second broadcast information of the first device is used to send a second access request, and the second broadcast information is used to indicate that the broadcast type is connectable; receiving the second broadcast information from the first device for the second access request Response message.
  • the first device is a slave node
  • the second device is a master node
  • the target access method If the first access request is not received within the first time period, it is necessary to switch the target access method to the second access method in the access method set, that is, to scan broadcast information. If the second access request from the first device is scanned, broadcast information, send a second access request, and receive second response information from the first device for the second access request, so as to complete the access with the first device, thereby reducing the power consumption of the second device and shortening the
  • the duration of subsequent establishment of a connection between the first device and the second device improves the efficiency of establishing a connection between the first device and the second device.
  • the second access request includes parameter information for connection establishment.
  • the parameter information for establishing a connection is carried in the second access request, so that the first device obtains the parameter information configured by the second device for establishing a connection between the first device and the second device.
  • the second response information includes at least one of the following: identification information of the first device; Identification information; or capability information of the first device.
  • the second device to be connected to the first device can be understood as the first device can serve as the device to be connected, waiting for the request of the second device to access.
  • the identification information of the first device is carried in the second response information, so that the second device knows that the second response information is sent by the first device.
  • Carry the identification information of the second device to be connected to the first device in the second response information so that the second device can determine whether the second device can access the first device or allow the second device to determine whether the second response information is Response information for the second access request.
  • the capability information of the first device is carried in the second response information, so that the second device knows the capability of the first device.
  • the access method further includes: sending first information on the target time-frequency resource, where the first information includes control information and/or data information, so The parameter information includes information for indicating the target time-frequency resource.
  • the target time-frequency resources may be time-domain resources and/or frequency-domain resources.
  • the first information is sent according to the target time-frequency resource indicated in the parameter information, so that the first device can quickly acquire the first information.
  • the target access mode is the second access mode in the access mode set; the first access request includes the Parameter information.
  • the first device is the master node
  • the second device is the slave node
  • the parameter information for establishing a connection is carried in the first access request, so that the second device acquires the parameter information configured by the first device for establishing a connection between the first device and the second device.
  • the target access mode is the second access mode in the access mode set
  • the first response information includes at least one of the following: the The identification information of the second device to be accessed by the first device; the identification information of the first device; the capability information of the second device; or the response information of whether to accept the first access request.
  • Carrying the identification information of the first device and/or the identification information of the second device to be accessed by the first device in the first response information may enable the first device to determine whether the first device can access the second device or for the first The device determines whether the first response information is the response information for the first access request, avoiding the conflict between multiple second devices and one first device establishing connections at the same time, improving the efficiency of establishing connections, and shortening the duration of establishing connections.
  • the capability information of the second device is carried in the first response information, so that the first device knows the capability of the second device.
  • the first preset duration is a second duration
  • the target access method is a second access method in the access method set
  • the access method further includes: if the first access request is not received within the second duration, scanning broadcast information according to the first access method in the access method set;
  • the second broadcast information of the first device is used to send a second access request, and the second broadcast information is used to indicate that the broadcast type is connectable; receiving the second broadcast information from the first device for the second access request Response message.
  • the first device is the master node
  • the second device is the slave node
  • the target access method needs to be switched to the first access method in the access method set, and broadcast information is scanned; if the second broadcast from the first device is scanned information, send the second access request, and receive the second response information from the first device for the second access request, so as to complete the access with the first device, thereby reducing the power consumption of the second device and shortening the subsequent
  • the duration for establishing a connection between the first device and the second device improves the efficiency of establishing a connection between the first device and the second device.
  • the second response information includes parameter information for connection establishment.
  • the parameter information for establishing the connection is carried in the second response information, so that the second device acquires the parameter information configured by the first device for establishing the connection between the first device and the second device.
  • the second access request includes at least one of the following: identification information of a second device to be accessed by the first device; the identification information of the second device; or the capability information of the second device.
  • Carrying the identification information of the first device and/or the identification information of the second device in the second access request can enable the first device to determine whether the second device accesses the first device, avoiding multiple second devices and one first device
  • the problem of conflicts between devices establishing connections at the same time improves the efficiency of establishing connections and shortens the time for establishing connections.
  • the capability information of the second device is carried in the second access request, so that the first device knows the capability of the second device.
  • the access method further includes: receiving first information on the target time-frequency resource according to the parameter information, the first information including control information and /or data information, where the parameter information includes information used to indicate the target time-frequency resource.
  • the first information can be received quickly.
  • the parameter information includes at least one of the following: a sending cycle of the first information; sending time information of the first information; sending time information of the first information; The sending frequency point information, where the frequency point information is used to indicate the sending frequency point of the first information and/or the frequency hopping interval of the first information; or the identification information of the first information.
  • the parameter information further includes at least one of the following: time-frequency information used for establishing a connection between the second device and the first device; The identification information of the connection established between the second device and the first device; connection timeout information, the connection timeout information is used to indicate the connection timeout time; the modulation mode supported by the first device; the modulation supported by the second device mode; the channel bandwidth supported by the first device; the channel bandwidth supported by the second device; the channel bandwidth used by the second device to communicate with the first device; or the channel bandwidth used by the second device to communicate with the first device.
  • the modulation and coding method used for device communication is used for establishing a connection between the second device and the first device.
  • the time-frequency information used for establishing a connection between the second device and the first device may include time-frequency information for subsequently establishing a connection between the second device and the first device and/or the time-frequency information allocated for the connection between the second device and the second first device. time-frequency information.
  • the time-frequency information of subsequent connection establishment between the second device and the first device is used to indicate: when the second device establishes a connection with the first device, the time-frequency resources carried by the interaction information between the second device and the first device itself.
  • the time-frequency information allocated by the connection between the second device and the first device is used to indicate: the time-frequency resource allocated by the connection between the second device and the first device. That is, when the first device and the second device negotiate on the time-frequency resources to establish a connection between the second device and the first device, which specific time-frequency resources are carried by the interaction information between the second device and the first device.
  • the time-frequency information is used to indicate time-domain resources and/or frequency-domain resources for the second device to establish a connection with the first device.
  • the first broadcast information is used to indicate at least one of the following: attribute information of the second device; identification information of a device that can request access, the The device that can request access is a device that can request to establish a connection with the second device; or capability information of the second device.
  • the attribute information is used to indicate the attribute of the device sending the attribute information, that is, whether the device sending the attribute information is a master node or a slave node.
  • the attribute information of the second device is indicated through the first broadcast information, so that the first device knows the attribute of the second device.
  • the identification information of the device that can request access is indicated through the first broadcast information, so that the first device can know whether it can request to access the second device.
  • the capability information of the second device is indicated through the first broadcast information, so that the first device knows the capability of the second device.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the first device; identification information of a device that can request access, the The device that can request access is a device that can request to establish a connection with the first device; or capability information of the first device.
  • the attribute information of the first device is indicated through the second broadcast information, so that the second device knows the attribute of the first device.
  • the identification information of the device that can request access is indicated through the second broadcast information, so that the second device can know whether it can request to access the first device.
  • the capability information of the first device is indicated through the second broadcast information, so that the second device knows the capability of the first device.
  • the capability information of the first device includes at least one of the following: a modulation mode supported by the first device; a channel bandwidth supported by the first device; Whether the first device supports channel coding; or the type of channel coding supported by the first device.
  • the capability information of the second device includes at least one of the following: a modulation mode supported by the second device; a channel bandwidth supported by the second device; Whether the second device supports channel coding; or the type of channel coding supported by the second device.
  • the access method further includes: establishing a connection between the first device and the second device.
  • an access method includes: scanning broadcast information according to the target access method; if receiving the first broadcast information from the second device within a second preset duration, sending A first access request, the first broadcast information is used to indicate that the broadcast type is connectable; receiving first response information from the second device for the first access request; wherein the target access method is an access mode in the access mode set, and the access mode set includes at least two access modes.
  • the second preset duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the second preset duration may be passed the test The obtained experience value; or, the second preset duration may be set through a corresponding configuration (eg profile, etc.); or, the second preset duration is indicated by the second device to the first device.
  • the communication system may be a GT-LE system or other possible short-distance communication systems
  • the second preset duration may be passed the test The obtained experience value
  • the second preset duration may be set through a corresponding configuration (eg profile, etc.); or, the second preset duration is indicated by the second device to the first device.
  • the access method set if the first broadcast information from the second device is received, send the first access request, and receive the first response information from the second device for the first access request , so as to complete the access between the second device and the first device, which can reduce the power consumption of the first device or the second device, shorten the subsequent time for establishing a connection between the first device and the second device, and improve the connection between the first device and the second device. The efficiency with which connections are established between devices.
  • the at least two access manners correspond to different scenarios.
  • the target access mode is the first access mode in the access mode set; the first response information includes parameters for connection establishment information.
  • the target access method is the first access method in the access method set, and the first access request includes at least one of the following: Identification information of the first device to be accessed by the second device; identification information of the second device; or capability information of the first device.
  • the first device to be connected to the second device can be understood as the second device can serve as the device to be connected, waiting for the request of the first device to access.
  • the second preset duration is a third duration
  • the target access method is the first access method in the access method set
  • the access method further includes: if the first broadcast information is not received within the third duration, according to the second access method in the access method set, sending the second broadcast information, the second The broadcast information is used to indicate that the broadcast type is connectable; receiving a second access request from the second device, and sending second response information for the second access request.
  • the target access mode is switched to the second access mode in the access mode set, that is, to send the second broadcast information and receive the second access mode from the second device.
  • Incoming request send the second response information for the second access request, so as to complete the access with the first device, thereby reducing the power consumption of the first device, and shortening the subsequent time for the first device to establish a connection with the second device , improving the efficiency of establishing a connection between the first device and the second device.
  • the second access request includes parameter information for connection establishment.
  • the second response information includes at least one of the following: identification information of the first device to be accessed by the second device; Identification information; or capability information of the first device.
  • the first device to be accessed by the second device may be understood as the second device may serve as an access device and request to access the first device.
  • the access method further includes: receiving first information on the target time-frequency resource according to the parameter information, the first information including control information and /or data information, where the parameter information includes information used to indicate the target time-frequency resource.
  • the target access mode is the second access mode in the access mode set; the first access request includes the Parameter information.
  • the target access method is the second access method in the access method set
  • the first response information includes at least one of the following: the The identification information of the second device; the identification information of the first device to be accessed to the second device; the capability information of the second device; or the response information of whether to accept the first access request.
  • the second preset duration is a fourth duration
  • the target access method is the second access method in the access method set
  • the access method further includes: if the first broadcast information is not received within the fourth time period, according to the first access method in the access method set, sending second broadcast information, the second The broadcast information is used to indicate that the broadcast type is connectable; receiving a second access request from the second device, and sending second response information for the second access request.
  • the target access mode is switched to the first access mode in the access mode set, that is, to send the second broadcast information and receive the second connection from the second device.
  • Incoming request send the second response information for the second access request, so as to complete the access with the first device, thereby reducing the power consumption of the first device, and shortening the subsequent time for the first device to establish a connection with the second device , improving the efficiency of establishing a connection between the first device and the second device.
  • the second response information includes parameter information for connection establishment.
  • the second access request includes at least one of the following: identification information of the second device; a first device to be accessed by the second device the identification information of the second device; or the capability information of the second device.
  • the access method further includes: sending first information on the target time-frequency resource, where the first information includes control information and/or data information, so The parameter information includes information for indicating the target time-frequency resource.
  • the parameter information includes at least one of the following: a sending cycle of the first information; sending time information of the first information; sending time information of the first information; The sending frequency point information, where the frequency point information is used to indicate the sending frequency point of the first information and/or the frequency hopping interval of the first information; or the identification information of the first information.
  • the parameter information further includes at least one of the following: time-frequency information used for establishing a connection between the second device and the first device; The identification information of the connection established between the second device and the first device; connection timeout information, the connection timeout information is used to indicate the connection timeout time; the modulation mode supported by the first device; the modulation supported by the second device mode; the channel bandwidth supported by the first device; the channel bandwidth supported by the second device; the channel bandwidth used by the second device to communicate with the first device; or the channel bandwidth used by the second device to communicate with the first device.
  • the modulation and coding method used for device communication is used for establishing a connection between the second device and the first device.
  • the first broadcast information is used to indicate at least one of the following: attribute information of the second device; identification information of a device that can request access, the The device that can request access is a device that can request to establish a connection with the second device; or capability information of the second device.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the first device; identification information of a device that can request access, the The device that can request access is a device that can request to establish a connection with the first device; or capability information of the first device.
  • the capability information of the first device includes at least one of the following: a modulation mode supported by the first device; a channel bandwidth supported by the first device; Whether the first device supports channel coding; or the type of channel coding supported by the first device.
  • the capability information of the second device includes at least one of the following: a modulation mode supported by the second device; a channel bandwidth supported by the second device; Whether the second device supports channel coding; or the type of channel coding supported by the second device.
  • the access method further includes: establishing a connection between the first device and the second device.
  • a communication device in a third aspect, includes: a communication unit, configured to send first broadcast information according to a target access method, where the first broadcast information is used to indicate that the broadcast type is connectable; The communication unit is further configured to send first response information for the first access request if the first access request from the first device is received within a first preset time period; wherein, the target access The mode is an access mode in an access mode set, and the access mode set includes at least two access modes.
  • the at least two access methods correspond to different scenarios.
  • the target access mode is the first access mode in the access mode set; the first response information includes parameters for connection establishment information.
  • the target access method is the first access method in the access method set, and the first access request includes at least one of the following: Identification information of the first device; identification information of the communication device to be accessed by the first device; or capability information of the first device.
  • the first preset duration is the first duration
  • the target access method is the first access method in the access method set
  • the communication unit is further configured to: if the first access request is not received within the first duration, scan broadcast information according to the second access method in the access method set; The second broadcast information of the first device, sending a second access request, the second broadcast information is used to indicate that the broadcast type is connectable; receiving the second broadcast information from the first device for the second access request 2. Response information.
  • the second access request includes parameter information for connection establishment.
  • the second response information includes at least one of the following: identification information of the first device; the communication device to be connected to the first device the identification information of the first device; or the capability information of the first device.
  • the communication unit is further configured to: send first information on the target time-frequency resource, where the first information includes control information and/or data information,
  • the parameter information includes information for indicating the target time-frequency resource.
  • the target access mode is the second access mode in the access mode set; the first access request includes the Parameter information.
  • the target access mode is the second access mode in the access mode set
  • the first response information includes at least one of the following: the identification information of the communication device to be accessed by the first device; identification information of the first device; capability information of the communication device; or response information of whether to accept the first access request.
  • the first preset duration is a second duration
  • the target access method is a second access method in the access method set
  • the communication unit is further configured to: if the first access request is not received within the second duration, scan broadcast information according to the first access method in the access method set; The second broadcast information of the first device, sending a second access request, the second broadcast information is used to indicate that the broadcast type is connectable; receiving the second broadcast information from the first device for the second access request 2. Response information.
  • the second response information includes parameter information for connection establishment.
  • the second access request includes at least one of the following: identification information of the communication device to be accessed to the first device; the first Identification information of the device; or capability information of the communication device.
  • the communication unit is further configured to: receive first information on the target time-frequency resource according to the parameter information, where the first information includes control information and/or data information, where the parameter information includes information used to indicate the target time-frequency resource.
  • the parameter information includes at least one of the following: a sending cycle of the first information; sending time information of the first information; sending time information of the first information; The sending frequency point information, where the frequency point information is used to indicate the sending frequency point of the first information and/or the frequency hopping interval of the first information; or the identification information of the first information.
  • the parameter information further includes at least one of the following: time-frequency information used for establishing a connection between the communication device and the first device; Identification information for establishing a connection between the communication device and the first device; connection timeout information, where the connection timeout information is used to indicate a connection timeout time; a modulation mode supported by the first device; a modulation mode supported by the communication device; The channel bandwidth supported by the first device; the channel bandwidth supported by the communication device; the channel bandwidth used by the communication device to communicate with the first device; or the modulation and communication method used by the communication device to communicate with the first device Encoding.
  • the first broadcast information is used to indicate at least one of the following: attribute information of the communication device; identification information of a device that can request access, and the The access requesting device is a device that can request to establish a connection with the communication device; or capability information of the communication device.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the first device; identification information of a device that can request access, the The device that can request access is a device that can request to establish a connection with the first device; or capability information of the first device.
  • the capability information of the first device includes at least one of the following: a modulation mode supported by the first device; a channel bandwidth supported by the first device; Whether the first device supports channel coding; or the type of channel coding supported by the first device.
  • the capability information of the communication device includes at least one of the following: a modulation mode supported by the communication device; a channel bandwidth supported by the communication device; the communication Whether the device supports channel coding; or the type of channel coding supported by the communication device.
  • the communications apparatus further includes: a processing unit configured to establish a connection between the first device and the communications apparatus.
  • a communication device which includes: a communication unit, configured to scan broadcast information according to a target access method; if a first broadcast from a second device is received within a second preset duration information, to send a first access request, the first broadcast information is used to indicate that the broadcast type is connectable; the communication unit is also used to receive the first broadcast information from the second device for the first access request Response information; wherein, the target access mode is an access mode in an access mode set, and the access mode set includes at least two access modes.
  • the at least two access manners correspond to different scenarios.
  • the target access mode is the first access mode in the access mode set; the first response information includes parameters for connection establishment information.
  • the target access method is the first access method in the access method set, and the first access request includes at least one of the following: Identification information of the communication device to be connected to the second device; identification information of the second device; or capability information of the communication device.
  • the second preset duration is a third duration
  • the target access method is the first access method in the access method set
  • the communication unit is further configured to: if the first broadcast information is not received within the third time period, according to the second access method in the access method set, send the second broadcast information, the first broadcast information
  • the second broadcast information is used to indicate that the broadcast type is connectable; receiving a second access request from the second device, and sending second response information for the second access request.
  • the second access request includes parameter information for connection establishment.
  • the second response information includes at least one of the following: identification information of the communication device to be accessed by the second device; The identification information of the communication device; or the capability information of the communication device.
  • the communication unit is further configured to: receive first information on the target time-frequency resource according to the parameter information, where the first information includes control information and/or data information, where the parameter information includes information for indicating the target time-frequency resource.
  • the target access mode is the second access mode in the access mode set; the first access request includes the Parameter information.
  • the target access mode is the second access mode in the access mode set
  • the first response information includes at least one of the following: the The identification information of the second device; the identification information of the communication device to be connected to the second device; the capability information of the second device; or the response information of whether to accept the first access request.
  • the second preset duration is a fourth duration
  • the target access method is the second access method in the access method set
  • the communication unit is further configured to: if the first broadcast information is not received within the fourth time period, according to the first access method in the access method set, send the second broadcast information, the first broadcast information
  • the second broadcast information is used to indicate that the broadcast type is connectable; receiving a second access request from the second device, and sending second response information for the second access request.
  • the second response information includes parameter information for connection establishment.
  • the second access request includes at least one of the following: identification information of the second device; the communication to be accessed by the second device Identification information of the device; or capability information of the second device.
  • the communication unit is further configured to: send first information on the target time-frequency resource, where the first information includes control information and/or data information,
  • the parameter information includes information for indicating the target time-frequency resource.
  • the parameter information includes at least one of the following: a sending cycle of the first information; sending time information of the first information; sending time information of the first information; The sending frequency point information, where the frequency point information is used to indicate the sending frequency point of the first information and/or the frequency hopping interval of the first information; or the identification information of the first information.
  • the parameter information further includes at least one of the following: time-frequency information used for establishing a connection between the second device and the communication device; Identification information for establishing a connection between the second device and the communication device; connection timeout information, where the connection timeout information is used to indicate a connection timeout time; a modulation mode supported by the communication device; a modulation mode supported by the second device; The channel bandwidth supported by the communication device; the channel bandwidth supported by the second device; the channel bandwidth used by the second device to communicate with the communication device; or the modulation and communication method used by the second device to communicate with the communication device Encoding.
  • the first broadcast information is used to indicate at least one of the following: attribute information of the second device; identification information of a device that can request access, the The device that can request access is a device that can request to establish a connection with the second device; or capability information of the second device.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the communication device; identification information of a device that can request access, and the The access requesting device is a device that can request to establish a connection with the communication device; or capability information of the communication device.
  • the capability information of the communication device includes at least one of the following: a modulation mode supported by the communication device; a channel bandwidth supported by the communication device; the communication Whether the device supports channel coding; or the type of channel coding supported by the communication device.
  • the capability information of the second device includes at least one of the following: a modulation mode supported by the second device; a channel bandwidth supported by the second device; Whether the second device supports channel coding; or the type of channel coding supported by the second device.
  • the communications apparatus further includes: a processing unit configured to establish a connection between the communications apparatus and the second device.
  • a communication device including at least one memory and at least one processor, the at least one memory is used to store a program, and the at least one processor is used to run the program, so as to implement the first aspect or the first
  • a computer-readable storage medium where a program or an instruction is stored on the computer-readable storage medium, and when the program or instruction is executed, the computer executes the first aspect or certain implementations of the first aspect
  • a chip including at least one processor and an interface circuit, the interface circuit is used to provide program instructions or data for the at least one processor, and the at least one processor is used to execute the program instructions , to implement the access method described in the first aspect or any of some implementations of the first aspect, or to implement the second aspect or any of some implementations of the second aspect Access method as described in Methods.
  • the chip may further include a memory, a program is stored in the memory, and the processor is used to execute the program stored in the memory.
  • the The processor is used to execute the access method described in any one of the first aspect or some implementations of the first aspect, or the processor is used to execute the second aspect or some implementations of the second aspect The access method described in any of the implementation manners.
  • a computer program product includes a computer program, and when the computer program product is executed by a computer, the computer executes the first aspect or some implementations of the first aspect.
  • a ninth aspect provides a communication system, including the device provided in the third aspect or any implementation manner of the third aspect and the communication device provided in the fourth aspect or any implementation manner of the fourth aspect.
  • a terminal in a tenth aspect, includes any one of the first aspect or the second aspect or some implementation manners of the first aspect or some implementation manners of the second aspect.
  • the device for the above-mentioned access method or include the communication device provided in the third aspect or any implementation manner of the third aspect, or include the communication device provided in the fourth aspect or any implementation manner of the fourth aspect, Alternatively, the communication device provided in the fifth aspect is included.
  • the terminal may be a smart transportation device (vehicle or drone), a smart home device, a smart manufacturing device, a smart wearable device or a robot, etc.
  • the intelligent transport device may be, for example, an automated guided vehicle (AGV) or an unmanned transport vehicle.
  • AGV automated guided vehicle
  • Fig. 1 is an example of a communication system applicable to the embodiment of the present application.
  • FIG. 2 is a schematic flow chart of an example of an access method provided by an embodiment of the present application.
  • Fig. 3 is an exemplary flow chart of another access method provided by the embodiment of the present application.
  • Fig. 4 is an exemplary flow chart of another access method provided by the embodiment of the present application.
  • Fig. 5 is an exemplary flow chart of another access method provided by the embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for mutual discovery between a first device and a second device provided by an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Fig. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • "instructions” may include direct instructions and indirect instructions, and may also include explicit instructions and implicit instructions.
  • the information indicated by a certain information (such as the information used to indicate the target time-frequency resource described below) is called the information to be indicated.
  • the information to be indicated may be directly indicated, such as the information to be indicated itself or an index of the information to be indicated.
  • the information to be indicated may also be indicated indirectly by indicating other information, where there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while other parts of the information to be indicated are known or agreed in advance.
  • the indication of specific information can also be realized by means of a pre-agreed (for example, protocol-specified) arrangement order of each information, thereby reducing the indication overhead to a certain extent.
  • the first, second and various numbers are only for convenience of description, and are not used to limit the scope of the embodiment of the present application. For example, distinguishing different instruction information and the like.
  • the duration may be understood as a time resource window, an instant domain resource and/or a frequency domain resource.
  • a device sending an access request may be called an access device, and a device receiving the access request may be called a device to be accessed.
  • the first device is an access device
  • the second device is a device to be accessed.
  • the first device is a device to be accessed
  • the second device is an access device.
  • a communication system includes multiple nodes, and a node may refer to an electronic device capable of sending and receiving data, may include a terminal device, or may be a chip included in the terminal device.
  • a node can be a car cockpit domain device, or a module in a car cockpit device, such as a cockpit domain controller (CDC), camera, screen, microphone, audio, electronic key, keyless entry or start One or more of modules such as controllers.
  • a node may also be a data transfer device, such as a network device, router, repeater, bridge or switch; it may also be a terminal device.
  • the communication technology involved in this application may be a communication technology between terminal devices, or a communication technology between a network device and a terminal device, or a communication technology between a network device and a network device, and does not specifically limit the communication parties. It only needs to support the corresponding communication technology and functions.
  • Terminal equipment can be various types of user equipment (UE), mobile phone, tablet computer (pad), desktop computer, earphone, stereo, etc.; it can also include machine intelligent equipment, such as unmanned driving (self -driving) equipment, transportation safety (transportation safety) equipment, virtual reality (virtual reality, VR) terminal equipment, augmented reality (augmented reality, AR) terminal equipment, machine type communication (machine type communication, MTC) equipment, industrial control ( Industrial control equipment, remote medical equipment, smart grid equipment, smart city equipment, smart home equipment, etc.; can also include wearable equipment (such as smart watches, smart bracelets, computer pacing, etc.) and so on.
  • the names of devices with similar data sending and receiving capabilities may not be called nodes.
  • network equipment includes but is not limited to: evolved Node B (evolved Node B, eNB), radio network controller (Radio Network Controller, RNC), Node B (Node B, NB), base station controller (Base Station Controller , BSC), base transceiver station (Base Transceiver Station, BTS), home base station (for example, Home evolved NodeB, or Home Node B, HNB), baseband unit (BaseBand Unit, BBU), wireless fidelity (Wireless Fidelity, WIFI)
  • the access point (Access Point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP) in the system can also be 5G,
  • FIG. 1 is an example of a communication system applicable to the embodiment of the present application.
  • nodes include but are not limited to base stations, notebooks, mobile phones, earphones, glasses, watches, pads, stylus pens, televisions (television, TV) or keyboards.
  • some nodes may be called management nodes/master control nodes/general nodes (grant nodes, G nodes), and some nodes may be called terminal nodes (terminal nodes, T nodes).
  • G nodes may be called a master node (or master device)
  • T node may be called a slave node (or slave device).
  • the master node and the slave node may be two types of nodes distinguished in logical functions.
  • the master node manages the slave nodes, and the master node has the function of allocating resources in the communication domain, and is responsible for allocating resources for the slave nodes; the slave nodes obey the scheduling of the master node, and use the resources allocated by the master node to communicate with the master node.
  • the foregoing network device may be a master node, and the foregoing terminal device may be a slave node.
  • the foregoing terminal device may be a master node, and another terminal device may be a slave node.
  • the communication system may also be other possible communication systems, and the present application does not specifically limit the type of the communication system, and the solutions of the present application may be applied to existing or possible future communication systems.
  • one node may be in one communication system or in a plurality of communication systems.
  • the mobile phone and the headset when the mobile phone and the headset perform wireless communication, the mobile phone and the headset constitute a first communication system.
  • the mobile phone is the master node
  • the headset is the slave node
  • the headset follows the scheduling of the mobile phone.
  • the mobile phone detects the CDC and establishes a wireless connection with the CDC
  • the mobile phone and the CDC form a second communication system.
  • the CDC is the master node
  • the mobile phone is the slave node.
  • the second communication system may also include other slave nodes, such as car speakers, microphones, and the like.
  • a connection is established between the master node and the slave node by broadcasting information or the like.
  • the multiple slave nodes will send broadcast information, which will increase the collision probability of the broadcast information of the multiple slave nodes, thereby prolonging the time interval between the multiple slave nodes.
  • the broadcast duration increases the power consumption of the multiple slave nodes, prolongs the connection establishment time between the master node and the slave nodes, and then reduces the connection establishment efficiency between the master node and the device-slave devices.
  • the embodiment of the present application provides an access method, which can complete the access between the first device and the second device through the target access method, thereby reducing the cost of the first device or the second device.
  • Power consumption shortens the duration of subsequent connection establishment between the first device and the second device, and improves the efficiency of establishing a connection between the first device and the second device.
  • one of the first device and the second device is a master node, and the other device is a slave node.
  • the target access mode is an access mode in an access mode set, and the access mode set includes at least two access modes.
  • the target access manner may be configured by operation administration maintenance (OAM).
  • OAM operation administration maintenance
  • the target access manner may be configured through a profile.
  • the target access manner is a default access manner of the second device.
  • the user can change the default access mode of the second device through related settings.
  • the master node in the second device and the first device may indicate the default access mode of the system in subsequent broadcast information or dedicated information. Furthermore, when the connection between the second device and the first device is re-established, the default access mode is adjusted.
  • different access modes may be corresponding. That is to say, at least two access modes included in the access mode set correspond to different scenarios.
  • the access method may be the first access method.
  • the access mode may be the second access mode.
  • the set of access modes may include a first access mode and a second access mode.
  • the master node For the first access mode, the master node is in the broadcast state, and the slave node is in the scanning state. Specifically, the master node sends broadcast information so that after the slave node scans (or receives) the broadcast information of the master node, the slave node acts as the requester (at this time, the master node acts as the requested party) and requests to establish a connection with the master node, And the master node configures corresponding resources for the connection, so that the two establish corresponding connections.
  • the master node For the second access mode, the master node is in the scanning state, and the slave node is in the broadcasting state. Specifically, the slave node sends broadcast information so that after the master node scans (or receives) the broadcast information from the slave node, the master node acts as the requester (at this time, the slave node acts as the requested party) and requests to establish a connection with the slave node, And the master node configures corresponding resources for the connection, so that the two establish corresponding connections.
  • the broadcast information (for example, first broadcast information, second broadcast information, or broadcast information) is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • the device receiving the broadcast information can communicate with the device sending the broadcast information (such as the second device) according to the broadcast information or the extended broadcast information indicated by the broadcast information. device or the first device) to establish a connection.
  • the device sending the broadcast information corresponds to the broadcast information or the extended broadcast information indicated by the broadcast information (the corresponding method is: the device sending the broadcast information explicitly indicates the first time resource window, or the device sending the broadcast information
  • the resource information occupied by the first time resource window is sent to implicitly indicate that the connection request is received (or detected) in the first time resource window (for example, the first preset duration) of the first time resource window).
  • the device (such as the first device or the second device) that receives the broadcast information and wishes to connect to the device that sent the broadcast information (such as the second device or the first device) can send a connection in the first time resource window Request, and then realize the communication connection between the two devices.
  • two devices may establish a communication connection through one interaction, or may establish a communication connection through multiple interactions.
  • the device receiving the broadcast information (such as the first device or the second device) cannot communicate with the device sending the broadcast information (such as the second device) according to the broadcast information or the extended broadcast information indicated by the broadcast information. device or the first device) to establish a connection.
  • the device that sends the broadcast information (such as the second device or the first device) does not receive the connection request in the first time resource window corresponding to the broadcast information or the extended broadcast information indicated by the broadcast information, or the first time resource window does not exists (i.e. is not defined).
  • the device receiving the broadcast information (for example, the first device or the second device) will not send a connection request according to the broadcast information or the extended broadcast information indicated by the broadcast information.
  • the target access mode corresponding to each node is different, in the process of trying to establish a connection between the master node and the slave node, there may be a match between the target access mode corresponding to the master node and the target access mode corresponding to the slave node, or There may be a mismatch between the target access mode corresponding to the master node and the target access mode corresponding to the slave node.
  • the matching of the target access mode corresponding to the master node and the access mode corresponding to the slave node includes: the target access mode corresponding to the master node is the first access mode in the access mode set, and the target access mode corresponding to the slave node is the first access mode in the access mode set.
  • the second access mode in the access mode set (case B).
  • the master node and the slave node can establish a connection with each other without switching their corresponding target access modes.
  • the mismatch between the target access mode corresponding to the master node and the target access mode corresponding to the slave node may include: the target access mode corresponding to the master node is the first access mode in the access mode set, and the target access mode corresponding to the slave node
  • the method is the second access method in the access method set (case C); and/or, the target access method corresponding to the master node is the second access method in the access method set, and the target access method corresponding to the slave node
  • the mode is the first access mode in the set of access modes (case D).
  • the target access mode corresponding to the master node does not match the target access mode corresponding to the slave node
  • one of the master node and the slave node needs to switch the corresponding target access mode so that the target access mode corresponding to the master node
  • the input mode matches the target access mode corresponding to the slave node so that a connection can be established with each other.
  • whether the one node is specifically the master node or the slave node may be pre-defined through a protocol or other means.
  • Case C may include case C1 and case C2.
  • the master node can switch the target access mode from the first access mode in the access mode set to the second access mode, and the master node switches from the broadcast state to the scan state.
  • the target access mode (second access mode) corresponding to the slave node is not switched, and the slave node is in a broadcast state.
  • the slave node can switch the target access mode from the second access mode in the access mode set to the first access mode, and the slave node switches from the broadcast state to the scan state.
  • the target access mode (first access mode) corresponding to the master node is not switched, and the master node is in a broadcast state.
  • Case D may include case D1 and case D2.
  • the master node can switch the target access mode from the second access mode in the access mode set to the first access mode, and the master node switches from the scanning state to the broadcasting state.
  • the target access mode (first access mode) corresponding to the slave node is not switched, and the master node is in a scanning state.
  • the slave node can switch the target access mode from the first access mode in the access mode set to the second access mode, and the slave node switches from the scanning state to the broadcasting state.
  • the target access mode (second access mode) corresponding to the master node is not switched, and the master node is in a scanning state.
  • the first device is a master node or a slave node
  • the second device is a slave node or a master node
  • the access methods of the first device and the second device taking Case 11, Case 12, Case 13, Case 21, Case 22, and Case 23 as examples, the process of establishing a connection between the first device and the second device is described in detail.
  • the second device is a master node
  • the first device is a slave node
  • the second device is a slave node and the first device is a master node.
  • both the second device and the first device establish connections with each other according to the target access mode being the first access mode. At this time, the second device is in the broadcast state, and the first device is in the scanning state.
  • This case 11 corresponds to case A described above.
  • the second device tries to establish a connection with each other according to the first access method in the target access method, and the first device uses the second access method in the target access method.
  • the first device uses the second access method in the target access method.
  • both the second device and the first device are in the broadcast state, one of the first device and the second device can switch the target access mode corresponding to the device, and then the connection can be established.
  • Case 12 corresponds to case C described above.
  • the second device uses the second access method of the target access methods, and the first device tries to establish a connection with each other according to the first access method of the target access methods. At this time, since both the second device and the first device are in a scanning state, one of the first device and the second device can switch the target access mode corresponding to the device before establishing a connection.
  • Case 13 corresponds to case D described above.
  • both the second device and the first device establish connections with each other according to the target access mode being the second access mode. At this time, the second device is in the broadcast state, and the first device is in the scanning state. This case 21 corresponds to case B described above.
  • the second device tries to establish a connection with each other according to the second access method in the target access method, and the first device uses the first access method in the target access method. At this time, since both the second device and the first device are in the broadcast state, one of the first device and the second device can switch the target access mode corresponding to the device, and then the connection can be established.
  • This case 23 corresponds to case C described above.
  • the second device tries to establish a connection with each other according to the first access method in the target access method, and the first device uses the second access method in the target access method. At this time, since both the second device and the first device are in a scanning state, one of the first device and the second device can switch the target access mode corresponding to the device before establishing a connection.
  • This case 22 corresponds to case D described above.
  • both the second device and the first device establish connections with each other according to the target access method being the first access method in the access method set.
  • the second device is the master node
  • the first device is the slave node.
  • FIG. 2 is a schematic flowchart of an access method 300 provided in the embodiment of the present application. As shown in Figure 2, the method 300 includes:
  • the second device sends the first broadcast information.
  • the first broadcast information is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • Connectable means that the second device allows the device receiving the first broadcast information to access.
  • the second device may periodically send the first broadcast information according to the first access manner.
  • the first device since the first device establishes connections with other devices according to the first access mode (an example of the target access mode corresponding to the first device), the first device is in the scanning state, that is, the first device scans broadcast information. When the first device scans the first broadcast information sent by the second device, it is considered that the first device has received the first broadcast information sent by the second device.
  • the first access mode an example of the target access mode corresponding to the first device
  • the first device Since the first device is in the scanning state, within the third time period, the first device can receive the first broadcast information sent by the second device.
  • the third duration may be predefined or set in the communication system, such as the GT-LE system or other possible short-distance communication systems; or, the third duration may be an empirical value obtained through testing ; Or, the third duration may be set through corresponding configuration (such as profile, etc.); or, the third duration is indicated by the second device to the first device.
  • the first device may also scan broadcast information sent by other devices.
  • the first device may also scan broadcast information sent by other devices.
  • reference may be made to the manner in which the first device processes the first broadcast information sent by the second device, which will not be repeated here.
  • the second device may send the first broadcast information through designated 1-3 (or more) broadcast channels, and at this time, the first broadcast information may be carried in a basic broadcast frame.
  • the second device may also send the first broadcast information through a common data channel.
  • the first broadcast information may be carried in the basic broadcast frame and the extended broadcast frame.
  • the basic broadcast frame can generally be transmitted on a broadcast channel.
  • Extended broadcast frames can generally be transmitted on data channels.
  • the Auxiliary Pointer (Auxiliary Pointer, AuxPtr) of the basic broadcast frame can be used to indicate the frequency point, clock and physical layer information of the extended broadcast frame (for example, the channel bandwidth used includes 1MHz, 2MHz or 4MHz).
  • the second device carries the first broadcast information in three basic broadcast frames (that is, broadcast channels) and sends it.
  • the AuxPtr of the three basic broadcast frames should indicate the same extended broadcast frame.
  • the channel bandwidth may be understood as a symbol (symbol) rate, that is, the channel bandwidth may be understood as the number of symbols transmitted per unit time.
  • the symbol rate includes 1M symbol/s (the number of symbols transmitted per second is 1M), 2M symbol/s (the number of symbols transmitted per second is 2M) or 4M symbol/s (The number of symbols transmitted per second is 4M).
  • the first broadcast information may be used to indicate at least one of the following: attribute information of the second device, identification information of a device requesting access, or capability information of the second device.
  • the attribute information is used to indicate the attribute of the device sending the attribute information, for example, whether the device sending the attribute information is a master node (or G node) or a slave node (or T node).
  • the manner in which the attribute information indicates whether the device sending the attribute information is a master node or a slave node is not limited.
  • the attribute information may use "0" to indicate that the device sending the attribute information is a master node, and use "1" to indicate that the device sending the attribute information is a slave node.
  • the attribute information may use "1" to indicate that the device sending the attribute information is a master node, and use "0" to indicate that the device sending the attribute information is a slave node.
  • the second device indicated by the attribute information of the second device is a master node.
  • the identification information of the device that can request access is used to identify the identity of the device that can request to establish a connection with the second device.
  • the identification information of the access-requesting device may include a media access control (media access control address, MAC) address of the access-requesting device.
  • the capability information of the second device is used to indicate at least one of the following: the modulation mode supported by the second device; the channel bandwidth supported by the second device; whether the second device supports channel coding; or the channel coding supported by the second device type.
  • the modulation mode supported by the second device may include a Gaussian frequency shift keying (gauss frequency shift keying, GFSK) modulation mode and/or a phase shift keying (phase shift keying, PSK) modulation mode, and the like.
  • Gaussian frequency shift keying Gauss frequency shift keying, GFSK
  • phase shift keying phase shift keying, PSK
  • the channel bandwidth supported by the second device may include: in the frequency hopping mode, the channel bandwidth of each frequency hopping channel.
  • the channel bandwidth supported by the second device may include a total channel bandwidth supported by the second device.
  • the first device determines whether to execute S320. Specifically, when there is identification information indicating a device that can request access in the first broadcast information, and the first device determines that the identification information of the device that can request access contains or indicates the identity of the first device, it is considered that the first device If the broadcast type indicated by the broadcast information is connectable, the first device executes S320. Or, when the first device determines that the first device can request to access the second device according to a certain criterion or relationship, the first device determines to perform S320.
  • the first device sends a first access request.
  • the first access request includes at least one of the following: identification information of the first device; identification information of a second device to be accessed by the first device; or capability information of the first device.
  • the identification information of the first device is used to identify the identity of the first device.
  • the identification information of the first device may include a MAC address of the first device.
  • the identification information of the first device in S320 may be understood as identification information of the first device to be connected to the second device.
  • the first device to be connected to the second device can be understood as the second device can serve as the device to be connected, waiting for the request of the first device to access.
  • the identification information of the second device is used to identify the identity of the second device.
  • the identification information of the second device may include the MAC address of the second device.
  • the second device to be accessed by the first device may be understood as the first device may serve as an access device and request to access the second device.
  • the identification information of the second device involved in S320 may also be replaced by the identification information of the first target device.
  • the first target device includes all devices that the first device may request to access.
  • the capability information of the first device includes at least one of the following: the modulation mode supported by the first device; the channel bandwidth supported by the first device; whether the first device supports channel coding; or the type of channel coding supported by the first device .
  • the modulation schemes supported by the first device may include GFSK modulation schemes and/or PSK modulation schemes.
  • the channel bandwidth supported by the first device may include: in the frequency hopping mode, the channel bandwidth of each frequency hopping channel.
  • the channel bandwidth supported by the first device may include a total channel bandwidth supported by the first device.
  • the type of channel coding supported by the first device includes a polar code coding method, a Reed-solomon codes (Reed-solomon codes, RS) coding method, a binary coded Hollerith code (binary coded hollerith, BCH) coding method, and the like.
  • RS Reed-solomon codes
  • BCH binary coded Hollerith code
  • the second device receives the first access request from the first device, and the second device determines whether to execute S330. Specifically, when there is identification information indicating the second device in the first access request, the second device executes S330. Alternatively, when the second device determines according to a certain criterion or relationship that the second device can accept the first access request of the first device, the second device executes S330.
  • the second device sends first response information for the first access request.
  • the first device receives first response information for the first access request from the second device.
  • the first response information includes parameter information for connection establishment.
  • the parameter information used for connection establishment can be understood as the parameter information required in connection establishment and connection process. This application does not specifically limit the parameter information.
  • the parameter information includes information for indicating a target time-frequency resource, where the target time-frequency resource is a time-frequency resource for the second device to send the first information.
  • the target time-frequency resources may include time-domain resources and/or frequency-domain resources.
  • the first information includes control information and/or data information.
  • control information may include synchronization information, and the synchronization information is used for establishing synchronization between the first device and the second device (such as direct current offset compensation, automatic gain control, etc.).
  • control information may include resource allocation (or link time description) information of the connection link between the first device and the second device (such as link (event) period, time offset, The duration of the link (event) in the period of the event), the number of repetitions of the link (event) in this period, and the priority); link parameter information, such as link type (unicast, reliable multicast, semi-reliable multicast etc.) and/or the number of packets sent in each direction of the connection link (GT direction and/or TG direction), etc.
  • the control information may include scheduling information, and the scheduling information may be information on link resource negotiation between the master node and the slave node, or link resource information (such as symbol rate, etc.) between the master node and the slave node.
  • the first information may also include parameter modification information of the first information (for example, modification period, time-frequency resource, effective time, etc.), and the parameter modification information of the first information is used to indicate modification of the first information. parameter.
  • parameter modification information of the first information for example, modification period, time-frequency resource, effective time, etc.
  • the parameter information includes at least one of the following: sending period information of the first information; sending time information of the first information; sending frequency information of the first information, where the frequency point information is used to indicate the sending frequency of the first information The point and/or the frequency hopping interval of the first information; or the identification information of the first information.
  • the frequency point information used for sending the first information may also be specified in a communication protocol.
  • the sending cycle information of the first information is used to indicate the sending cycle of the first information.
  • the sending time information of the first information may be used to indicate the sending moment of the first information.
  • the sending time information of the first information may be used to indicate a sending offset of the first information, where the offset is an offset between the sending moment and the reference moment.
  • the reference time may be the time when the second device sends response information to the access request.
  • the sending offset of the first information is an offset between the sending time of the first information and the sending time of the response information of the second device to the access request.
  • the reference time may be a time set in advance, that is, a default time.
  • the reference moment is indicated by the time information of the first information.
  • a time unit may be a symbol, or a mini-slot (Mini-slot), or a slot (slot), or a subframe (subframe).
  • the duration of a slot in the time domain may be 125 microseconds ( ⁇ s) or 625 microseconds ( ⁇ s).
  • One subframe or superframe may include multiple slots.
  • the sending frequency point information of the first information includes a sending frequency point applicable to the first information.
  • the sending frequency point information of the first information may also indicate the sending frequency point of the first information through a frequency point set, that is, one frequency point in the frequency point set is the sending frequency point of the first information.
  • the set of frequency points (used) may be [1, 9, 10, 12, 14, 16, 19, 22, 24, 25, 28, 32, 36]. That is, the sending frequency points of the first information include the 1st frequency point, the 9th frequency point, the 10th frequency point, the 12th frequency point, the 14th frequency point, the 16th frequency point, and the 19th frequency point , the 22nd frequency point, the 24th frequency point, the 25th frequency point, the 28th frequency point, the 32nd frequency point and the 36th frequency point.
  • the sending frequency point information of the first information includes a sending frequency point that is not applicable to the first information. Then, according to the sending frequency point information of the first information, the sending frequency point suitable for the first information can be obtained.
  • the sending frequency point information of the first information includes sending frequency points applicable to the first information and sending frequency points not applicable to the first information.
  • the embodiment of the present application does not limit the manner in which the sending frequency point information of the first information indicates a sending frequency point applicable to the first information and a sending frequency point not applicable to the first information.
  • the sending frequency points applicable to the first information may be indicated by "1", and the sending frequency points not applicable to the first information may be indicated by "0".
  • the sending frequency of a message can be indicated by "1”
  • the sending frequency not applicable to the first information can be indicated by "0”
  • the sending frequency applicable to the first information includes the first frequency, the first 9 frequency points, 10th frequency point, 12th frequency point, 14th frequency point, 16th frequency point, 19th frequency point, 22nd frequency point, 24th frequency point, 25th frequency point frequency point, the 28th frequency point, the 32nd frequency point and the 36th frequency point.
  • the set of frequency points (used) can be expressed as [
  • the sending frequency point information of the first information includes a frequency hopping interval (hop) of the first information.
  • hop frequency hopping interval
  • the frequency hopping interval of the first information may be obtained according to the sending frequency of the first information included in the sending frequency information of the first information.
  • the sending frequency point information of the first information includes a frequency shift formula, and according to the frequency shift formula, the sending frequency point of the first information can be determined.
  • f n is the nth time (or instant)
  • the frequency point of , f n+1 is the frequency point of the (n+1)th time (or moment).
  • the frequency point can be understood as an identifier corresponding to the actual frequency point, for example, f n is the frequency point at the nth time (or moment).
  • fn 0 (the frequency point at the nth time (or moment) is the 0th frequency point)
  • the fifth frequency point is a sending frequency point that is not applicable to the first message, so it is necessary to find a frequency point from the set of sending frequency points applicable to the first message
  • the sending frequency point set (used) applicable to the first information is [1, 9, 10, 12, 14, 16, 19, 22, 24, 25, 28, 32, 36]
  • the sending frequency point information of the first information may also indicate candidate available frequency points and/or candidate unavailable frequency points.
  • the identification information of the first information may be an access code corresponding to the first information or an address corresponding to the first information.
  • the parameter information may also include at least one of the following: identification information of the first device; time-frequency information used for establishing a connection between the second device and the first device; time-frequency information used for establishing a connection between the second device and the first device Identification information; connection timeout information, the connection timeout information is used to indicate the connection timeout time; the modulation mode supported by the first device; the modulation mode supported by the second device; the channel bandwidth supported by the first device; the channel bandwidth supported by the second device; The channel bandwidth used by the second device to communicate with the first device; or the modulation method and coding method used by the second device to communicate with the first device.
  • the time-frequency information for establishing a connection between the second device and the first device may include time-frequency information of the connection established between the second device and the first device and/or time-frequency information allocated for the connection between the second device and the first device.
  • the time-frequency information of the connection established between the second device and the first device is used to indicate the time-domain resources and/or frequency-domain resources in which the interaction information between the second device and the first device itself is carried.
  • the time-frequency information allocated by the connection between the second device and the first device is used to indicate: the time-domain resource and/or the frequency-domain resource allocated by the connection between the second device and the first device through negotiation. That is, the first device and the second device negotiate on the time domain resources and/or frequency domain resources which specific time domain resources and/or frequency domain resources are included in the interaction information between the second device and the first device. time domain resources and/or frequency domain resources.
  • the time-frequency information for establishing a connection between the second device and the first device may include frequency point information for indicating the connection between the second device and the first device and/or the connection between the second device and the first device.
  • the frequency point information allocated by the device connection may include frequency point information for indicating the connection between the second device and the first device and/or the connection between the second device and the first device.
  • the frequency point information of the connection established between the second device and the first device is used to indicate the frequency point of the connection established between the second device and the first device.
  • the embodiment of the present application does not limit the manner in which the frequency point information of the connection established between the second device and the first device indicates the frequency point of the connection established between the second device and the first device.
  • the frequency point information of the connection established between the second device and the first device may indicate the frequency point of the connection established between the second device and the first device through a set of frequency points.
  • the frequency point information of the connection established between the second device and the first device is used to indicate a frequency hopping interval (hop) of the connection established between the second device and the first device. According to the frequency hopping interval of the connection established between the second device and the first device, the frequency point of the connection established between the second device and the first device can be determined.
  • hop frequency hopping interval
  • the embodiment of the present application does not limit the manner in which the frequency point information of the connection established between the second device and the first device indicates the frequency hopping interval of the connection established between the second device and the first device.
  • the frequency point information of the connection established between the second device and the first device may include a frequency hopping interval of the connection established between the second device and the first device.
  • Frequency shift rules can be pre-defined by agreement or other means, for example, rules can be defined by formulas. In this way, the frequency of the connection established between the second device and the first device can be determined through the frequency hopping interval of the connection established between the second device and the first device and the predefined frequency transfer rule.
  • the frequency point information allocated by the connection between the second device and the first device is used to indicate the frequency point allocated by the second device to negotiate connection with the first device.
  • the embodiment of the present application does not limit the manner in which the frequency point information allocated for the connection between the second device and the first device indicates the frequency point allocated for the connection between the second device and the first device through negotiation.
  • the information about the frequency point allocated for the connection between the second device and the first device may indicate the frequency point for the connection allocation between the second device and the first device through a set of frequency points.
  • the frequency point information allocated by the connection between the second device and the first device is used to indicate a frequency hopping interval (hop) for negotiating connection allocation between the second device and the first device.
  • a frequency hopping interval hop
  • the frequency point at which the second device negotiates connection allocation with the first device may be determined.
  • the embodiment of the present application does not limit the manner in which the frequency point information allocated for the connection between the second device and the first device indicates the frequency hopping interval for negotiating the connection allocation between the second device and the first device.
  • the frequency point information allocated for the connection between the second device and the first device may include a frequency hopping interval allocated for the connection between the second device and the first device.
  • Frequency point transfer rules may be pre-defined by agreement or other means. In this way, through the frequency modulation interval allocated by the connection between the second device and the first device and the pre-defined frequency point transfer rule, the frequency point allocated by the second device for negotiating a connection with the first device can be determined.
  • the identification information used to establish a connection between the second device and the first device may be an access code or a connection ID for establishing a connection between the second device and the first device, and the connection established between the second device and the first device Entry code or connection ID.
  • the first device and the second device fail to communicate normally when the connection timeout time indicated by the connection timeout information exceeds (for example, the second device is in the If the data sent by the first device is not received within the connection timeout time), it indicates that the connection established this time is unstable, and the connection needs to be re-established.
  • the second device may use one or more bytes to indicate, for example, use 3 bytes to indicate the period for sending the first information, and/or use 4 bytes to indicate the time information for sending the first information, And/or, indicate the offset of sending the first information by 2 bytes, and/or indicate the connection timeout information by 8 bytes, and/or indicate the frequency point of sending the first information by 6 bytes Information, and/or time-frequency information indicating that the second device establishes a connection with the first device through 6 bytes.
  • the channel bandwidth used by the second device to communicate with the first device may include 1 MHz, 2 MHz, or 4 MHz.
  • the foregoing method 300 further includes S340 and S350.
  • the second device determines a target time-frequency resource, where the target time-frequency resource is used to send the first information.
  • the target time-frequency resource used for sending the first information is indicated by the above-mentioned parameter information.
  • the first information reference may be made to corresponding descriptions in S330 above, and details are not repeated here.
  • the second device On the target time-frequency resource determined in S340, the second device sends the first information.
  • the first device determines a target time-frequency resource for receiving the first information according to the parameter information in S330, so as to receive the first information on the corresponding target time-frequency resource.
  • the method 300 also includes S360.
  • the second device may configure corresponding resources for the first device.
  • the second device may store the identifier of the first device, so that when the second device establishes a connection again, directly A connection is established with the first device.
  • the present application does not limit the sequence of S360, S340, and S350.
  • S370 may also be executed.
  • the second device feeds back acknowledgment (acknowledgment, ACK) information or non-acknowledgment (Negative acknowledgment, NACK) information to the first device.
  • the ACK information is used to indicate that the second device accepts the access request of the first device
  • the NACK information is used to indicate that the second device does not accept the access request of the first device.
  • the ACK information or the NACK information may be carried in first response information for the first access request.
  • S370 if the second device feeds back ACK information to the first device, after S370, S340 to S360 may also be performed. In S370, if the second device feeds back NACK information to the first device, after S370, the first device and the second device do not perform any steps of the method 300.
  • the second device may also feed back NACK information to the first device.
  • the NACK information is used to indicate that the second device does not accept the access request of the first device.
  • the first device and the second device do not perform any steps of the method 300 any more.
  • the method 300 also includes S380.
  • the present application does not limit the sequence of S380 and S340 to S370.
  • the first device sends feedback information to the second device.
  • the second device receives the feedback information from the first device.
  • the feedback information is used to indicate whether the first device has received the response information sent by the second device for the access request. In another example, the feedback information is used to indicate whether the first device accepts the parameter information configured by the second device for connection establishment. For example, the feedback information is used to instruct the first device to accept the modulation mode configured for the first device by the second device.
  • the multiple first devices there may be multiple first devices, and there may be one second device.
  • the multiple first devices all execute the method 300 .
  • the target access modes of the multiple first devices may be the same or different, which is not limited in this application.
  • the second device uses the first access method in the target access methods, and the first device tries to establish a connection with each other according to the second access method in the target access methods.
  • the second device is the master node
  • the first device is the slave node.
  • FIG. 3 is a schematic flowchart of another access method 400 provided in the embodiment of the present application. As shown in FIG. 3, the method 400 includes:
  • the second device sends the first broadcast information.
  • the first broadcast information is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • the second device may periodically send the first broadcast information according to the first access manner.
  • the first device Since the first device establishes connections with other devices according to the second access method (an example of the target access method corresponding to the first device), the first device is in the broadcast state, that is, the first device will not perform broadcast information Scanning means that the first device will not receive the first broadcast information sent by the second device, so within the third duration (an example of the second preset duration), the first device will not receive the broadcast information sent by the second device First broadcast information.
  • the first device will not send an access request to the second device, and the second device will not receive the access request from the first device, so within the first duration (an example of the first preset duration), the second The device does not receive the first access request from the first device.
  • the first duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the first duration may be an empirical value obtained through testing ; Or, the first duration may be set through corresponding configuration (such as profile, etc.).
  • the first device does not receive the first broadcast information sent by the second device.
  • the first device may change the target access method corresponding to the first device from the second access method to Switching to the first access mode, the first device switches from the broadcast state to the scanning state, and scans broadcast information.
  • the target access mode (the first access mode) corresponding to the second device does not switch, and the second device is always in the broadcast state (corresponding to the above-mentioned case C2).
  • the first device and the second device establish a connection with each other according to the target access mode being the first access mode.
  • the second device does not receive the first access request from the first device within the first duration, first, the second device may change the target access method corresponding to the second device from the first access request to The access mode is switched to the second access mode, and the second device switches from the broadcast state to the scanning state, and scans the broadcast information.
  • the target access mode (the second access mode) corresponding to the first device does not switch, and the first device is always in the broadcast state (corresponding to the above-mentioned case C1).
  • the second device and the first device respectively establish connections with each other according to the target access mode being the second access mode.
  • the specific process of establishing a connection is as follows:
  • the first device Since the first device establishes connections with other devices according to the second access method, the first device is in a broadcast state, that is, the first device executes S410.
  • the first device sends second broadcast information according to the second access manner.
  • the second broadcast information is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • the first device may periodically send the second broadcast information according to the second access manner.
  • the second device Since the second device has been adjusted from the broadcast state to the scanning state, the second device can scan broadcast information. Therefore, within the seventh time period, the second device can receive the second broadcast information sent by the first device.
  • the seventh duration may be predefined or set in the communication system, and the communication system may be, for example, a GT-LE system; or, the seventh duration may be an experience value obtained through testing; or, the seventh duration may be It is set through corresponding configuration (such as profile, etc.); or, the seventh duration is indicated by the second device to the first device.
  • the communication system may be, for example, a GT-LE system; or, the seventh duration may be an experience value obtained through testing; or, the seventh duration may be It is set through corresponding configuration (such as profile, etc.); or, the seventh duration is indicated by the second device to the first device.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the first device; identification information of a device that can request access, where the device that can request access is a device that can request to establish a connection with the first device; Or capability information of the first device.
  • the first device indicated by the attribute information of the first device is a slave node.
  • the second device determines whether to execute S420. Specifically, when there is identification information indicating an access-requesting device in the second broadcast information, and the second device determines that the identification information of the access-requesting device indicates the identity of the second device, it considers that the second broadcast If the broadcast type indicated by the information is connectable, the second device performs S420. Alternatively, when the second device determines that the second device may request to access the first device according to a certain criterion or relationship, the second device may determine to perform S420 by itself.
  • the second device sends a second access request to the first device.
  • the first device receives the second access request sent by the second device.
  • the second access request includes parameter information for connection establishment.
  • the first device determines whether to execute S430. Specifically, when there is identification information indicating the device to be connected in the second access request, and the first device determines that the identification information of the device to be connected in the second access request indicates the identity of the first device, the second A device executes S430. Alternatively, when the first device determines according to a certain criterion or relationship that the first device can accept the second access request of the second device, the first device executes S430.
  • the first device sends second response information for the second access request.
  • the second device receives second response information for the second access request from the first device.
  • the second response information includes at least one of the following: identification information of the first device; identification information of a second device to be accessed to the first device; or capability information of the first device.
  • the identification information of the first device in S430 may also be understood as the identification information of the first device to be accessed by the second device.
  • the first device to be accessed by the second device may be understood as the second device may serve as an access device and request to access the first device.
  • the identification information of the first device the identification information of the second device, and the capability information of the first device, reference may be made to the relevant description in S320 of the method 300 above, and details are not repeated here.
  • the second device to be connected to the first device can be understood as the first device can serve as the device to be connected, waiting for the request of the second device to access.
  • the identification information of the second device involved in S430 may also be replaced by the identification information of the second target device.
  • the second target device includes all devices that can access the first device.
  • the second device determines whether to execute S340 to S380 according to receiving the second response information from the first device. Specifically, when there is identification information indicating the second device in the second response information, perform S340 to S380. Alternatively, when the second device determines that the second device can establish a connection with the first device according to a certain criterion or relationship, S340 to S380 are performed.
  • the multiple second devices there may be multiple second devices, and there may be one first device.
  • the multiple second devices all execute the method 400 .
  • the target access modes of the multiple second devices may be the same or different, which is not limited in this application.
  • the second device uses the second access method in the target access method, and the first device tries to establish a connection with each other according to the first access method in the target access method.
  • the second device is the master node
  • the first device is the slave node.
  • the first device Because the second device uses the second access method in the target access method, the first device tries to establish a connection with each other according to the first access method in the target access method. Therefore, both the first device and the second device are in the scanning state, that is, neither the second device nor the first device will broadcast broadcast information, so it can be considered that within the third time period, the first device will not receive the message sent by the second device. First broadcast information. Within the eighth time period, the second device will not receive the second broadcast information sent by the first device.
  • the eighth duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the eighth duration may be an empirical value obtained through testing or, the eighth duration may be set through a corresponding configuration (such as profile, etc.); or, the eighth duration is indicated by the second device to the first device.
  • the communication system may be a GT-LE system or other possible short-distance communication systems
  • the eighth duration may be an empirical value obtained through testing or, the eighth duration may be set through a corresponding configuration (such as profile, etc.); or, the eighth duration is indicated by the second device to the first device.
  • the second device does not receive the second broadcast information sent by the first device.
  • the second device may change the target access method corresponding to the second device from the second access method to Switching to the first access mode, the second device switches from the scanning state to the broadcasting state, and broadcasts the first broadcast information.
  • the target access mode (first access mode) corresponding to the first device is not switched, and the first device is always in a scanning state (corresponding to the above-mentioned case D1).
  • the first device and the second device respectively establish connections with each other according to the target access mode being the first access mode.
  • the first device does not receive the first broadcast information sent by the second device within the third time period, first, the first device may switch the target access method from the first access method to the second In the access mode, the first device changes from the scanning state to the broadcasting state, and broadcasts the first broadcast information.
  • the target access mode (second access mode) corresponding to the second device is not switched, and the second device is always in a scanning state (corresponding to the above-mentioned case D2). Then, the first device and the second device respectively establish connections with each other according to the target access mode being the second access mode.
  • both the second device and the first device establish connections with each other according to the target access mode being the second access mode.
  • the second device is a slave node
  • the first device is a master node.
  • FIG. 4 is a schematic flowchart of an access method 500 provided in the embodiment of the present application. As shown in FIG. 4, the method 500 includes:
  • the second device sends the first broadcast information.
  • the first broadcast information is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • the second device may periodically send the first broadcast information according to the second access manner.
  • the first device since the first device establishes connections with other devices according to the second access method (an example of the target access method corresponding to the first device), the first device is in the scanning state, and the first device scans to The first broadcast information sent by the second device means that the first device has received the first broadcast information sent by the second device.
  • the second access method an example of the target access method corresponding to the first device
  • the first device Since the first device is in the scanning state, within the fourth time period (an example of the second preset time period), the first device can receive the first broadcast information sent by the second device.
  • the fourth duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the fourth duration may be an empirical value obtained through testing ; Or, the fourth duration can be set through corresponding configuration (such as profile, etc.); or, the fourth duration is indicated by the second device to the first device.
  • the first device determines whether S520. Specifically, when there is identification information indicating a device that can request access in the first broadcast information, and the first device determines that the identification information of the device that can request access indicates the identity of the first device, it is considered that the first broadcast If the broadcast type indicated by the information is connectable, the first device performs S520. Alternatively, when the first device determines that the first device may request to access the second device according to a certain criterion or relationship, the first device may determine to perform S520 by itself.
  • the first device sends a first access request.
  • the first access request in S520 includes parameter information for connection establishment.
  • the second device After the second device receives the first access request from the first device, the second device executes S530.
  • the second device sends first response information for the first access request.
  • the first device receives first response information for the first access request from the second device.
  • the first response information in S530 includes at least one of the following: identification information of the second device to be accessed by the first device; identification information of the first device; capability information of the second device; or whether to accept Response information of the first access request.
  • carrying the identification information of the first device and/or the identification information of the second device to be accessed by the first device in the first response information may enable the first device to determine whether the first device can access the second device or to The first device determines whether the first response information is the response information for the first access request, avoiding the conflict between multiple second devices and one first device establishing a connection at the same time, improving the efficiency of establishing a connection, and shortening the time for establishing a connection. duration.
  • the identification information of the second device is used to identify the identity of the second device.
  • the identification information of the second device may include a MAC address of the second device.
  • the identification information of the second device involved in S530 may also be replaced by the above-mentioned identification information of the third target device.
  • the third target device includes all devices that can access the second device.
  • the identification information of the first device in S530 may be understood as the identification information of the first device to be connected to the second device.
  • the response information when the second device accepts the first access request of the first device, the response information may be ACK information.
  • the response information may be NACK information.
  • the response information of whether to accept the access request and the first response information may be sent by the second device to the first device separately.
  • the first device determines whether to execute S540 and S550 according to receiving the first response information from the second device. Specifically, when there is identification information indicating the first device in the first response information, perform S530, S540 to S560. Alternatively, when the first device determines that the first device can establish a connection with the second device according to a certain criterion or relationship, S540 to S560 are performed. The following describes the S540 and S550 in detail.
  • the first device determines a target time-frequency resource, where the target time-frequency resource is used to send the first information.
  • the first device sends first information to the second device.
  • the second device determines a target time-frequency resource for receiving the first information according to the parameter information in S520, so as to receive the first information on the corresponding target time-frequency resource.
  • the second device may configure corresponding resources for the first device.
  • the first device may store the identity of the second device, so that when the first device establishes a connection again later, it can directly A connection is established with the second device.
  • the present application does not limit the sequence of S560, S540, and S550.
  • the method 500 may also include the above-mentioned S380.
  • the present application does not limit the sequence of S380 and S540 to S560.
  • the multiple second devices there may be multiple second devices, and there may be one first device.
  • the multiple second devices all execute the method 500 .
  • the target access modes of the multiple second devices may be the same or different, which is not limited in this application.
  • the second device uses the second access method in the target access method, and the first device tries to establish a connection with each other according to the first access method in the target access method.
  • the second device is a slave node
  • the first device is a master node.
  • FIG. 5 is a schematic flowchart of another access method 600 provided in the embodiment of the present application. As shown in FIG. 5, the method 600 includes:
  • the second device sends the first broadcast information.
  • the first broadcast information is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • the second device may periodically send the first broadcast information according to the second access manner.
  • the first device Since the first device establishes connections with other devices according to the first access method (an example of the target access method corresponding to the first device), the first device is in the broadcast state, that is, the first device will not perform broadcast information Scanning means that the first device will not receive the first broadcast information sent by the second device, so within the fourth duration (an example of the second preset duration), the first device will not receive the broadcast information sent by the second device.
  • the first broadcast message for the first device will not send an access request to the second device, and the second device will not receive the access request from the first device, so within the second duration (an example of the second preset duration), the second The device does not receive the first access request from the first device.
  • the second duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the second duration may be an empirical value obtained through testing ; Or, the second duration may be set through corresponding configuration (such as profile, etc.).
  • the fourth duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the fourth duration may be an empirical value obtained through testing ; Or, the fourth duration may be set through corresponding configuration (such as profile, etc.).
  • the first device will not receive the first broadcast information sent by the second device.
  • the first device may change the target access method corresponding to the first device from the first access method to The access mode is switched to the second access mode, the first device is adjusted from the broadcast state to the scanning state, and scans the broadcast information.
  • the target access mode (second access mode) corresponding to the second device does not switch, and the second device The device is in broadcast state (corresponding to case C1 described above).
  • the first device and the second device respectively establish connections with each other according to the target access mode being the second access mode.
  • the second device may change the target access method corresponding to the second device from the second The access mode is switched to the first access mode, and the second device switches from the broadcast state to the scanning state, and scans broadcast information.
  • the target access mode (first access mode) corresponding to the first device is not switched, and the first device is always in the broadcast state (corresponding to the above-mentioned case C2). Then, the first device and the second device respectively establish connections with each other according to the target access mode being the first access mode.
  • the specific process is as follows:
  • the first device Since the first device establishes connections with other devices according to the first access method, the first device is in a broadcast state, that is, the first device executes S610.
  • the first device sends second broadcast information.
  • the second broadcast information is used to indicate a broadcast type, and the broadcast type includes whether a connection is possible.
  • the second device since the second device has been adjusted from the broadcast state to the scanning state, the second device can receive the second broadcast information sent by the first device within the eighth time period.
  • the second device After the second device receives the second broadcast information sent by the first device, the second device determines whether or not S620. Specifically, when there is identification information indicating a device that can request access in the second broadcast information, and the second device determines that the identification information of the device that can request access indicates the identity of the second device, it is considered that the second broadcast If the broadcast type indicated by the information is connectable, the second device performs S620. Alternatively, when the second device determines that the second device may request to access the first device according to a certain criterion or relationship, the second device may determine to perform S620 by itself.
  • the second device sends a second access request.
  • the second access request in S620 includes at least one of the following: identification information of the second device to be accessed to the first device; identification information of the first device; or capability information of the second device.
  • identification information of the second device For the identification information of the second device, the identification information of the first device, and the capability information of the second device, reference may be made to the relevant description of S530 of the method 500 above, and details are not repeated here.
  • the identification information of the first device at S620 may be understood as the identification information of the first device to be accessed by the second device.
  • the identification information of the second device involved in S620 may also be replaced by the identification information of the fourth target device.
  • the fourth target device includes all devices that the second device can access.
  • the first device determines whether to perform S630. Specifically, when there is identification information indicating the first device in the second access request, the first device performs S630. Alternatively, when the first device determines according to a certain criterion or relationship that the first device can accept the second access request of the second device, the first device executes S630.
  • the first device sends second response information for the second access request.
  • the second device receives second response information for the second access request from the first device.
  • the second response information includes parameter information for connection establishment.
  • the multiple first devices there may be multiple first devices, and there may be one second device.
  • the multiple first devices all execute the method 600 .
  • the target access modes of the multiple first devices may be the same or different, which is not limited in this application.
  • the method 600 may also include S540 to S560.
  • S540 to S560 reference may be made to the above description, and details are not repeated here.
  • the second device tries to establish a connection with each other according to the first access manner in the target access manner, and the first device uses the second access manner in the target access manner.
  • the second device is a slave node
  • the first device is a master node.
  • the first device Because the second device uses the second access method in the target access method, the first device tries to establish a connection with each other according to the first access method in the target access method. Therefore, both the first device and the second device are in the scanning state, that is, neither the second device nor the first device will broadcast broadcast information, so it can be considered that within the third time period, the first device will not receive the message sent by the second device. First broadcast information. Within the eighth time period, the second device will not receive the second broadcast information sent by the first device.
  • the second device does not receive the second broadcast information sent by the first device.
  • the second device may change the target access method corresponding to the second device from the first access method to Switching to the second access mode, the second device switches from the scanning state to the broadcasting state, and broadcasts the first broadcast information.
  • the target access mode (the second access mode) corresponding to the first device is not switched, and the second device is always in the scanning state (corresponding to the above-mentioned case D2).
  • the first device and the second device respectively establish connections with each other according to the target access mode being the second access mode.
  • the first device may change the target access method corresponding to the first device from the second access
  • the mode is switched to the first access mode, the first device switches from the scanning state to the broadcasting state, and broadcasts the first broadcast information.
  • the target access mode (first access mode) corresponding to the second device is not switched, and the second device is always in a scanning state (corresponding to the above-mentioned case D1). Then, the first device and the second device respectively establish connections with each other according to the target access mode being the first access mode.
  • the specific process of establishing a connection is similar to the solution of method 300 above, except that the steps performed by the first device described in method 300 above are performed by the second device, and the second device described in method 300 above The performed steps are performed by the first device. For other parts not described, refer to the description of each step in the method 300 above, and details are not repeated here.
  • the embodiment of the present application also provides another access method. The difference between this access method and the above-mentioned access method 300 to access method 600 is that one device corresponds to one access method.
  • all devices in the communication system try to establish connections with other devices according to one access mode (for example, the first access mode or the second access mode).
  • one access mode for example, the first access mode or the second access mode.
  • the access mode in this method only includes one access mode, there is no switching of the access mode in this method. Then the above-mentioned access method 300 to access method 600 about switching from one access method to another access method is not applicable to this method.
  • only one access mode (for example, the first access mode or the second access mode) is configured in the communication system.
  • the user can change the configured access method through related settings on the device.
  • the master node in the second device and the first device may indicate the subsequent access method in its broadcast information or dedicated information. Way.
  • the access mode is adjusted. In this way, if the access mode configured in the communication system remains unchanged, a device in the communication system can establish connections with other devices multiple times according to the same access mode.
  • the above-mentioned access method 300 to access method 600 are not applicable to this method regarding switching from one access mode to another access mode. If the access mode configured in the communication system is changed, a device in the communication system needs to switch the access mode to the changed access mode, and establish a connection with other devices according to the changed access mode. Then the above-mentioned access method 300 to access method 600 are applicable to this method regarding switching from one access method to another access method.
  • the broadcast information is used to indicate a broadcast type, and the broadcast type includes whether it is discoverable.
  • the device receiving the broadcast information may be sent the broadcast information according to the broadcast information or the extended broadcast information indicated by the broadcast information (for example, the second device or the first device).
  • the specific method may be as follows: the device sending the broadcast information is in the second time resource window corresponding to the broadcast information or the extended broadcast information indicated by the broadcast information (for the corresponding method, please refer to the corresponding method of the first time resource window introduced above).
  • a discovery (scanning) request is received (or, detected).
  • a device (such as a first device or a second device) that receives the broadcast information and wishes to be discovered by the device (service) that sent the broadcast information may send a discovery (scanning) request in the second time resource window, and send the The device that broadcasts the information sends a discovery (scanning) response message, and then realizes being discovered by the device that sent the broadcast information. Since the device that receives the broadcast information can think that it has discovered the device (or service) that sent the broadcast information, it receives the broadcast The device receiving the broadcast information is then discovered by the device sending the broadcast information, and it can be considered that two-way discovery has been realized. Of course, two devices may complete the discovery process through one interaction, or complete the discovery process through multiple interactions.
  • the device receiving the broadcast information (such as the first device or the second device) cannot, according to the broadcast information or the extended broadcast information indicated by the broadcast information, the device (such as the second device) that is sent the broadcast information device or first device).
  • the device that sends the broadcast information does not receive (or does not detect) the connection request in the second time resource window corresponding to the broadcast information or the extended broadcast information indicated by the broadcast information, or the second time resource window does not exist (that is, does not definition).
  • the device receiving the broadcast information will not send a discovery (scanning) request according to the broadcast information or the extended broadcast information indicated by the broadcast information.
  • the broadcast type indicated by the broadcast information includes discoverable (scanning) and the broadcast type indicated by the above-mentioned broadcast information includes connectable.
  • Devices receiving the broadcast information can establish a connection, and after the connection is established, can transmit information to each other.
  • the broadcast information indicates discoverability
  • the device sending the broadcast information and the device receiving the broadcast information can only discover each other, and it is unknown whether a connection is established.
  • FIG. 6 it is a schematic flow chart of a method 700 for mutual discovery between a master node and a slave node provided in an embodiment of the present application. As shown in FIG. 6, the method 700 includes:
  • the second device sends broadcast information. At this point, the second device is in a broadcast state.
  • the first device is in a scanning state, and if the first device scans the broadcast information of the second device, it is considered that the first device has received the broadcast information from the second device.
  • the broadcast type indicated by the broadcast information in S710 includes whether it is discoverable.
  • the broadcast information at S710 is different from the first broadcast information involved in S310 in the above method 300 except for the indicated broadcast type.
  • For other content and transmission methods included in the broadcast information at S710 please refer to the first broadcast information in S310 in the above method 300. A related description of the broadcast information will not be repeated here.
  • the first device executes S720.
  • the first device sends scan request (scan_request) information to the second device, where the scan request information is used to request the second device to provide more information about the second device itself and/or services that the second device can provide or require ( For example, business) information,
  • the scan request information is also used to declare the existence of the first device to the second device. After the second device receives the scanning request information, the second device can know the existence of the first device through the scanning request information.
  • the second device After the second device receives the scan request information, it can send scan response information to the first device, and the first device receives the scan response information, then both the first device and the second device know each other's existence, so the second device and the second device The first devices can discover each other.
  • the second device may also execute S730.
  • the second device sends scan feedback information (scan_response) to the first device.
  • the scanning feedback information is used to indicate that the second device has received the scanning request information.
  • the first device receives scanning feedback information from the second device.
  • the second device is a master node and the first device is a slave node.
  • the first device (slave node) is in the scanning state
  • the second device (master node) is in the broadcast state.
  • the first device (slave node) requests the second device (master node) to provide more information about the second device itself and/or information about services (such as services) that the second device can provide or require, and then the second device (master node) Node) sends scan response information to the first device (slave node), and finally, the first device (slave node) and the second device (master node) can discover each other.
  • the second device is a slave node and the first device is a master node.
  • the first device (master node) is in the scanning state
  • the second device (slave node) is in the broadcast state.
  • the first device (master node) requests the second device (slave node) to provide more information about the second device itself and/or information about services (such as services) that the second device can provide or require, and then the second device (slave node) node) sends scan response information to the first device (master node), and finally, the first device (master node) and the second device (slave node) can discover each other.
  • the first device may automatically switch from the scanning state to the broadcasting state, thereby preventing the first device from being in the broadcasting state for a long time. In the scanning state, the second device still cannot be found, thereby reducing the power consumption of the first device and improving the mutual discovery efficiency between the first device and the second device.
  • the second device may automatically switch from the broadcast state to the scan state, thereby avoiding the first device from scanning for a long time. In the scanning state, the second device still cannot be discovered, thereby reducing the power consumption of the first device and improving the mutual discovery efficiency between the first device and the second device.
  • the fifth duration or the sixth duration may be predefined or set in the communication system, for example, the communication system may be a GT-LE system or other possible short-distance communication systems; or, the fifth duration or the sixth duration It may be an experience value obtained through testing; or, the fifth duration or the sixth duration may be set through corresponding settings.
  • the access method in this embodiment of the present application is described above with reference to FIG. 2 and FIG. 5 .
  • FIG. 6 a method for mutual discovery between the master node and the slave node is described.
  • the communication device according to the embodiment of the present application is described below with reference to FIG. 7 . It should be understood that the description of the communication device corresponds to the description of the access method, therefore, for parts not described in detail, reference may be made to the foregoing description of the access method.
  • Fig. 7 is a schematic structural diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 7 , the communication device 800 includes a communication unit 810 .
  • the second device in the foregoing method 200 to method 600 includes the communication apparatus 800 .
  • the communication unit 810 is configured to send the first broadcast information according to the target access mode, and the first broadcast information is used to indicate that the broadcast type is connectable; the communication unit 810 is also configured to receive the A first access request from the first device, sending first response information for the first access request; wherein, the target access method is an access method in an access method set, and the access method set includes at least two access methods input method.
  • the target access method is the first access method in the access method set
  • the first response information includes parameter information for connection establishment
  • the first access request includes at least one of the following: the first device identification information of the first device, identification information of the communication apparatus 800 to be accessed by the first device, or capability information of the first device.
  • the target access method is the second access method in the access method set
  • the first access request includes parameter information for connection establishment
  • the first response information includes at least one of the following: first The identification information of the communication apparatus 800 to be accessed by the device, the identification information of the first device, the capability information of the communication apparatus 800, or the response information of whether to accept the first access request.
  • the first preset duration is the first duration
  • the target access method is the first access method in the access method set
  • the communication unit 810 is further configured to: if no For the first access request, scan the broadcast information according to the second access method in the access method set; if the second broadcast information from the first device is scanned, send the second access request, and the second broadcast information is used to indicate The broadcast type is connectable; receiving second response information from the first device for the second access request.
  • the second access request includes parameter information for connection establishment.
  • the second response information includes at least one of the following items: identification information of the first device; identification information of the communication apparatus 800 to be connected to the first device; or capability information of the first device.
  • the communication unit 810 is further configured to: if the first access request is not received within the second time period, scan the broadcast information according to the first access method in the access method set; The second broadcast information of the first device is to send a second access request, and the second broadcast information is used to indicate that the broadcast type is connectable; and receive second response information from the first device for the second access request.
  • the first preset duration is the second duration
  • the target access method is the second access method in the access method set
  • the second response information includes parameter information for connection establishment.
  • the second access request includes at least one of the following: identification information of the communication apparatus 800 to access the first device; identification information of the first device; or capability information of the communication apparatus 800 .
  • the parameter information includes at least one of the following: the sending period of the first information; the sending time information of the first information; the sending frequency information of the first information, and the frequency information is used to indicate The sending frequency of the first information and/or the frequency hopping interval of the first information; or the identification information of the first information.
  • the parameter information further includes at least one of the following: time-frequency information for establishing a connection between the communication apparatus 800 and the first device; identification information for establishing a connection between the communication apparatus 800 and the first device; connection timeout information, connection timeout The information is used to indicate the connection timeout time; the modulation mode supported by the first device; the modulation mode supported by the communication device 800; the channel bandwidth supported by the first device; the channel bandwidth supported by the communication device 800; Channel bandwidth; or a modulation and coding method used by the communication apparatus 800 to communicate with the first device.
  • the first broadcast information is used to indicate at least one of the following: attribute information of the communication device 800; identification information of a device that can request access, where the device that can request access is a device that can request to establish a connection with the communication device 800; or the communication device 800 capability information.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the first device; identification information of a device that can request access, where the device that can request access is a device that can request to establish a connection with the first device; or the information of the first device capability information.
  • the capability information of the first device includes at least one of the following: a modulation mode supported by the first device; a channel bandwidth supported by the first device; whether the first device supports channel coding; or a type of channel coding supported by the first device.
  • the capability information of the communication device 800 includes at least one of the following: the modulation method supported by the communication device 800; the channel bandwidth supported by the communication device 800; whether the communication device 800 supports channel coding; or the type of channel coding supported by the communication device 800.
  • the communication unit 810 is further configured to: receive first information on the target time-frequency resource according to parameter information, where the first information includes control information and/or data information, and the parameter information includes information indicating the target time-frequency resource. information.
  • the communication apparatus 800 further includes: a processing unit 820 configured to establish a connection between the first device and the communication apparatus 800 .
  • the first device in the foregoing method 200 to method 600 includes the communication apparatus 800 .
  • the communication unit 810 is configured to scan the broadcast information according to the target access method; if the first broadcast information from the second device is received within the second preset time period, the first access request is sent, and the first broadcast information uses In order to indicate that the broadcast type is connectable; the communication unit 810 is further configured to receive the first response information from the second device for the first access request; wherein, the target access mode is an access mode in the access mode set, and then The entry method set contains at least two access methods.
  • the target access method is the first access method in the access method set
  • the first response information includes parameter information for connection establishment
  • the first access request includes at least one of the following: to be accessed Identification information of the communication apparatus 800 of the second device, identification information of the second device, or capability information of the communication apparatus 800 .
  • the target access method is the second access method in the access method set
  • the first access request includes parameter information for connection establishment
  • the first response information includes at least one of the following: the second The identification information of the device, the identification information of the communication apparatus 800 to be connected to the second device, the capability information of the second device, or the response information of whether to accept the first access request.
  • the communication unit 810 is further configured to: if the second preset duration is not received within the third duration According to the first broadcast information, according to the second access method in the access method set, send the second broadcast information, the second broadcast information is used to indicate that the broadcast type is connectable; receive the second access request from the second device, Sending second response information for the second access request.
  • the second access request includes parameter information for connection establishment.
  • the second response information includes at least one of the following: identification information of the communication apparatus 800 to be accessed by the second device; identification information of the second device; or capability information of the communication apparatus 800 .
  • the second preset duration is the fourth duration
  • the target access method is the second access method in the access method set
  • the communication unit 810 is further configured to: if the second preset duration is not received within the fourth duration
  • the first broadcast information according to the first access method in the access method set, sends the second broadcast information, and the second broadcast information is used to indicate that the broadcast type is connectable; receiving the second access request from the second device, sending Second response information for the second access request.
  • the second response information includes parameter information for connection establishment.
  • the second access request includes at least one of the following: identification information of the second device; identification information of the communication apparatus 800 to be accessed by the second device; or capability information of the second device.
  • the parameter information includes at least one of the following: the sending period of the first information; the sending time information of the first information; the sending frequency information of the first information, and the frequency information is used to indicate the first information A sending frequency of information and/or a frequency hopping interval of the first information; or identification information of the first information.
  • the parameter information further includes at least one of the following: time-frequency information for establishing a connection between the second device and the communication apparatus 800; identification information for establishing a connection between the second device and the communication apparatus 800; connection timeout information, connection timeout The information is used to indicate the connection timeout time; the modulation mode supported by the communication device 800; the modulation mode supported by the second device; the channel bandwidth supported by the communication device 800; the channel bandwidth supported by the second device; Channel bandwidth; or a modulation and coding method used by the second device to communicate with the communication apparatus 800 .
  • the first broadcast information is used to indicate at least one of the following: attribute information of the second device; identification information of a device that can request access, where the device that can request access is a device that can request to establish a connection with the second device; or the information of the second device capability information.
  • the second broadcast information is used to indicate at least one of the following: attribute information of the communication device 800; identification information of a device that can request access, where the device that can request access is a device that can request to establish a connection with the communication device 800; or the communication device 800 capability information.
  • the capability information of the communication device 800 includes at least one of the following: the modulation method supported by the communication device 800; the channel bandwidth supported by the communication device 800; whether the communication device 800 supports channel coding; or the type of channel coding supported by the communication device 800.
  • the capability information of the second device includes at least one of the following: a modulation mode supported by the second device; a channel bandwidth supported by the second device; whether the second device supports channel coding; or a type of channel coding supported by the second device.
  • the communication unit 810 is further configured to: send first information on the target time-frequency resource, where the first information includes control information and/or data information, and the parameter information includes information for indicating the target time-frequency resource.
  • the communication apparatus 800 further includes: a processing unit 820, configured to establish a connection between the communication apparatus 800 and the second device.
  • FIG. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • the communication device 900 includes at least one processor 910 and an interface circuit 920 .
  • the communication device 900 may further include a memory 930 for storing programs.
  • the memory 930 may be a read only memory (read only memory, ROM), a static storage device, a dynamic storage device or a random access memory (random access memory, RAM).
  • the memory 930 can store programs. When the programs stored in the memory 930 are executed by the processor 910, the processor 910 and the interface circuit 920 can be used to execute the first device in the access method 300 to the access method 600 provided by the embodiment of the present application. Each of the executed steps is used to execute each of the steps executed by the second device in the access method 300 to the access method 600 provided in the embodiment of the present application.
  • the processor 910 can obtain the stored instructions from the memory 930 through the interface circuit 920, so as to execute the various steps performed by the first device in the access method 300 to the access method 600 provided in the embodiment of the application or to execute the instructions implemented in the application. Each step performed by the second device in the access method 300 to the access method 600 provided as an example.
  • the processor 910 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application specific integrated circuit (application specific integrated circuit, ASIC), a graphics processing unit (graphic processing unit, GPU) or one or A plurality of integrated circuits are used to execute related programs to realize the functions required by the units in any of the implementable modes of the communication device 900 provided in the embodiments of the present application, or to execute the access method provided in the embodiments of the present application Each step performed by the first device in 300 to access method 600 or each step performed by the second device in access method 300 to access method 600 provided in the embodiment of the present application.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • GPU graphics processing unit
  • the processor 910 may also be an integrated circuit chip, which has a signal processing capability.
  • the various steps performed by the first device in the access method 300 to the access method 600 provided in the embodiment of the present application or the steps performed by the second device in the access method 300 to the access method 600 provided in the embodiment of the present application Each step can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software.
  • the above-mentioned processor 910 can also be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components. It can realize or execute each step performed by the first device in the access method 300 to the access method 600 provided in the embodiment of the present application or perform the steps performed by the second device in the access method 300 to the access method 600 provided in the embodiment of the present application Each step and the step executed by the first device or the step executed by the second device in the logic block diagram.
  • DSP digital signal processing
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the steps executed by the first device or the steps executed by the second device in the logical block diagram can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and combines its hardware to complete the functions required by the units included in any implementable mode of the communication device 900 of the embodiment of the present application, or execute the embodiment of the present application Steps performed by the first device in the provided access method 300 to access method 600 or steps performed by the second device in the access method 300 to access method 600 provided by the embodiment of the present application and the first in the logic block diagram steps performed by a device or steps performed by a second device.
  • the interface circuit 920 may use a transceiver device such as but not limited to a transceiver to implement communication between the device and other devices or communication networks.
  • the interface circuit 920 may also be, for example, a communication interface.
  • 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 directly or indirectly executed, the aforementioned access method is realized.
  • the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computing device, enables the computing device to execute the aforementioned access method, or enables the computing device to realize the function of the aforementioned communication device .
  • the embodiment of the present application also provides a chip, including at least one processor and an interface circuit, the interface circuit is used to provide program instructions or data for the at least one processor, and the at least one processor is used to execute the program instructions , so that the above access method can be realized.
  • the embodiment of the present application also provides a terminal, and the terminal includes a device for performing the above access method.
  • the terminal may be a smart transportation device (vehicle or drone), a smart home device, a smart manufacturing device, a smart wearable device or a robot, etc.
  • the intelligent transport device may be, for example, an automated guided vehicle (AGV) or an unmanned transport vehicle.
  • AGV automated guided vehicle
  • the above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations.
  • the above-described embodiments may be implemented in whole or in part in the form of computer program products.
  • the computer program product comprises one or more computer instructions or computer programs.
  • the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center that includes one or more sets of available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media.
  • the semiconductor medium may be a solid state drive.
  • 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 shown 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 media include: 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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种接入方法及通信装置,应用于通信领域,尤其是短距离通信领域。该接入方法包括:根据目标接入方式,发送第一广播信息,所述第一广播信息用于指示广播类型为可连接;若在第一预设时长内接收到来自第一设备的第一接入请求,发送针对第一接入请求的第一响应信息;其中,目标接入方式为接入方式集合中的接入方式,接入方式集合包含至少两种接入方式。通过至少两种接入方式的配置,可以实现不同场景下接入方式的选择,缩短后续第一设备与第二设备建立连接的时间,降低第一设备或第二设备的功耗,提高第一设备和第二设备之间建立连接的效率。

Description

接入方法及通信装置 技术领域
本申请涉及通信技术领域,更具体地,涉及一种接入方法及通信装置,尤其涉及短距离通信技术领域。
背景技术
在现有的通信系统中,在逻辑功能上可以将通信系统中的节点分为主节点和从节点。其中,主节点管理从节点,主节点具有分配通信域的资源的功能,负责为从节点分配资源;从节点听从主节点的调度,使用主节点分配的资源与主节点进行通信。
目前,主节点与从节点之间通过广播信息来建立连接。但是,当多个从节点都需要与同一个主节点建立连接时,该多个从节点都会发送广播信息,会增大该多个从节点的广播信息的碰撞概率,进而延长多个从节点的广播时间,增加了该多个从节点的功耗,延长了主节点和从节点之间连接建立的时间,进而降低了主节点和设从备之间建立连接的效率。
发明内容
本申请提供一种接入方法及通信装置,该接入方法可以降低第一设备或第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
第一方面,提供了一种接入方法,所述接入方法包括:根据目标接入方式,发送第一广播信息,所述第一广播信息用于指示广播类型为可连接;若在第一预设时长内接收到来自第一设备的第一接入请求,发送针对所述第一接入请求的第一响应信息;其中,所述目标接入方式为接入方式集合中的接入方式,所述接入方式集合包含至少两种接入方式。
示例性地,第一预设时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是通用传输低功耗(general transmission low energy,GT-LE)系统或者其他可能的短距离通信系统;或者,第一预设时长可以是通过测试得到的经验值;或者,第一预设时长可以是通过相应的配置(如profile等)进行设置的;或者,第一预设时长是第二设备指示给第一设备的。
示例性地,接入方式集合中包括第一接入方式和第二接入方式。
其中,对于第一接入方式,主节点发出广播信息,以便从节点在扫描(或者接收)到主节点的广播信息后,从节点作为请求方(此时,主节点作为被请求方),请求与主节点建立连接,并且主节点为连接配置相应的资源,从而两者建立相应的连接。
对于第二接入方式,从节点发送广播信息,以便主节点在扫描(或者接收)到从节点的广播信息后,主节点作为请求方(此时,从节点作为被请求方),请求与从节点建立连接并配置相应的资源,从而两者建立相应的连接。
通过接入方式集合中的一种接入方式,发送第一广播信息,并在接收到来自第一设备 的第一接入请求,发送针对第一接入请求的第一响应信息,从而完成第二设备和第一设备之间的接入,可以降低第一设备或第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
结合第一方面,在第一方面的某些实现方式中,所述至少两种接入方式对应不同的场景。
不同的接入方式对应不同的场景,即接入方式和场景相关,采用更适用当前第二设备对应的接入方式,以便完成与第一设备之间的接入,从而降低第一设备或第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
结合第一方面,在第一方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式;所述第一响应信息包括用于连接建立的参数信息。
此时,第一设备为从节点,第二设备为主节点。
将用于建立连接的参数信息携带在第一响应信息中,以便第一设备获取第二设备为第一设备与第二设备建立连接配置的参数信息。
结合第一方面,在第一方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式,所述第一接入请求包括以下至少一项:所述第一设备的标识信息;所述第一设备待接入的第二设备的标识信息;或者所述第一设备的能力信息。
在本申请实施例中,第一设备待接入的第二设备可以理解为第一设备可以作为接入设备,请求接入第二设备。在第一接入请求中携带第一设备的标识信息,以便第二设备知晓该第一接入请求是第一设备发送的。在第一接入请求中携带第一设备待接入的第二设备的标识信息,以便第二设备确定第一设备是否可以接入第二设备。在第一接入请求中携带第一设备的能力信息,以便第二设备知晓第一设备的能力,为后续第二设备为第一设备与第二设备建立连接配置合适的参数信息。
结合第一方面,在第一方面的某些实现方式中,所述第一预设时长为第一时长,所述目标接入方式为所述接入方式集合中的第一接入方式,所述接入方法还包括:若在所述第一时长内未接收到所述第一接入请求,根据所述接入方式集合中的第二接入方式,扫描广播信息;若扫描到来自所述第一设备的第二广播信息,发送第二接入请求,所述第二广播信息用于指示广播类型为可连接;接收来自所述第一设备针对所述第二接入请求的第二响应信息。
此时,第一设备为从节点,第二设备为主节点。
若在第一时长内未接收到第一接入请求,需要将目标接入方式切换至接入方式集合中的第二接入方式,即扫描广播信息,若扫描到来自第一设备的第二广播信息,发送第二接入请求,并接收来自第一设备针对第二接入请求的第二响应信息,以便完成与第一设备之间的接入,从而降低第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
结合第一方面,在第一方面的某些实现方式中,所述第二接入请求包括用于连接建立的参数信息。
将用于建立连接的参数信息携带在第二接入请求中,以便第一设备获取第二设备为第一设备与第二设备建立连接配置的参数信息。
结合第一方面,在第一方面的某些实现方式中,所述第二响应信息包括以下至少一项:所述第一设备的标识信息;待接入所述第一设备的第二设备的标识信息;或者所述第一设备的能力信息。
在本申请实施例中,待接入第一设备的第二设备可以理解为第一设备可以作为待接入设备,等待第二设备的请求接入。在第二响应信息中携带第一设备的标识信息,以便第二设备知晓该第二响应信息是第一设备发送的。在第二响应信息中携带待接入第一设备的第二设备的标识信息,以便第二设备确定第二设备是否可以接入第一设备或者以便第二设备确定是否是第二响应信息是否是针对第二接入请求的响应信息。在第二响应信息中携带第一设备的能力信息,以便第二设备知晓第一设备的能力。
结合第一方面,在第一方面的某些实现方式中,所述接入方法还包括:在目标时频资源上发送第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
其中,目标时频资源可以是时域资源和/或频域资源。
根据参数信息中指示的目标时频资源,发送第一信息,以便第一设备可以快速获取到第一信息。
结合第一方面,在第一方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式;所述第一接入请求包含用于连接建立的参数信息。
此时,第一设备为主节点,第二设备为从节点。
将用于建立连接的参数信息携带在第一接入请求中,以便第二设备获取第一设备为第一设备与第二设备建立连接配置的参数信息。
结合第一方面,在第一方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式,所述第一响应信息包括以下至少一项:所述第一设备待接入的第二设备的标识信息;所述第一设备的标识信息;所述第二设备的能力信息;或者是否接受所述第一接入请求的应答信息。
在第一响应信息中携带第一设备的标识信息和/或第一设备待接入的第二设备的标识信息,可以使得第一设备确定第一设备是否可以接入第二设备或者以便第一设备确定第一响应信息是否是针对第一接入请求的响应信息,避免多个第二设备和一个第一设备同时建立连接的冲突问题,提高了建立连接的效率,缩短了建立连接的时长。
在第一响应信息中携带第二设备的能力信息,以便第一设备知晓第二设备的能力。
结合第一方面,在第一方面的某些实现方式中,所述第一预设时长为第二时长,所述目标接入方式为所述接入方式集合中的第二接入方式,所述接入方法还包括:若在所述第二时长内未接收到所述第一接入请求,根据所述接入方式集合中的第一接入方式,扫描广播信息;若扫描到来自所述第一设备的第二广播信息,发送第二接入请求,所述第二广播信息用于指示广播类型为可连接;接收来自所述第一设备针对所述第二接入请求的第二响应信息。
此时,第一设备为主节点,第二设备为从节点。
若在第二时长内未接收到第一接入请求,需要将目标接入方式切换至接入方式集合中的第一接入方式,扫描广播信息;若扫描到来自第一设备的第二广播信息,发送第二接入请求,并接收来自第一设备针对第二接入请求的第二响应信息,以便完成与第一设备之间 的接入,从而降低第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
结合第一方面,在第一方面的某些实现方式中,所述第二响应信息包括用于连接建立的参数信息。
将用于建立连接的参数信息携带在第二响应信息中,以便第二设备获取第一设备为第一设备与第二设备建立连接配置的参数信息。
结合第一方面,在第一方面的某些实现方式中,所述第二接入请求包括以下至少一项:待接入所述第一设备的第二设备的标识信息;所述第一设备的标识信息;或者所述第二设备的能力信息。
在第二接入请求中携带第一设备的标识信息和/或第二设备的标识信息,可以使得第一设备确定第二设备是否接入第一设备,避免多个第二设备和一个第一设备同时建立连接的冲突问题,提高了建立连接的效率,缩短了建立连接的时长。
在第二接入请求中携带第二设备的能力信息,以便第一设备知晓第二设备的能力。
结合第一方面,在第一方面的某些实现方式中,所述接入方法还包括:根据所述参数信息,在目标时频资源上接收第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
根据参数信息中指示的目标时频资源,可以快速地接收第一信息。
结合第一方面,在第一方面的某些实现方式中,所述参数信息包括以下至少一项:所述第一信息的发送周期;所述第一信息的发送时间信息;所述第一信息的发送频点信息,所述频点信息用于指示所述第一信息的发送频点和/或所述第一信息的跳频间隔;或者所述第一信息的标识信息。
结合第一方面,在第一方面的某些实现方式中,所述参数信息还包括以下至少一项:用于所述第二设备与所述第一设备建立连接的时频信息;用于所述第二设备与所述第一设备建立连接的标识信息;连接超时信息,所述连接超时信息用于指示连接超时时间;所述第一设备支持的调制方式;所述第二设备支持的调制方式;所述第一设备支持的信道带宽;所述第二设备支持的信道带宽;所述第二设备与所述第一设备通信采用的信道带宽;或者所述第二设备与所述第一设备通信采用的调制与编码方式。
用于所述第二设备与所述第一设备建立连接的时频信息可以包括第二设备与第一设备后续建立连接的时频信息和/或第二设备与第二第一设备连接分配的时频信息。
其中,第二设备与第一设备后续建立连接的时频信息用于指示:第二设备和第一设备建立连接时,第二设备和第一设备之间的交互信息本身承载的时频资源。
第二设备与第一设备连接分配的时频信息用于指示:第二设备与第一设备协商连接分配的时频资源。即第一设备和第二设备在该时频资源上协商第二设备和第一设备建立连接时,第二设备和第一设备之间的交互信息本身承载的时频资源具体是哪些。
示例性地,该时频信息用于指示第二设备与第一设备建立连接的时域资源和/或频率频域资源。
结合第一方面,在第一方面的某些实现方式中,所述第一广播信息用于指示以下至少一项:所述第二设备的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第二设备建立连接的设备;或者所述第二设备的能力信息。
其中,属性信息用于指示发送属性信息的设备的属性,即发送属性信息的设备是主节点还是从节点。
通过第一广播信息指示第二设备的属性信息,以便第一设备知晓第二设备的属性。
通过第一广播信息指示可请求接入设备的标识信息,使得第一设备可以知晓自身是否可以请求接入第二设备。
通过第一广播信息指示第二设备的能力信息,以便第一设备知晓第二设备的能力。
结合第一方面,在第一方面的某些实现方式中,所述第二广播信息用于指示以下至少一项:所述第一设备的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第一设备建立连接的设备;或者所述第一设备的能力信息。
通过第二广播信息指示第一设备的属性信息,以便第二设备知晓第一设备的属性。
通过第二广播信息指示可请求接入设备的标识信息,使得第二设备可以知晓自身是否可以请求接入第一设备。
通过第二广播信息指示第一设备的能力信息,以便第二设备知晓第一设备的能力。
结合第一方面,在第一方面的某些实现方式中,所述第一设备的能力信息包括以下至少一项:所述第一设备支持的调制方式;所述第一设备支持的信道带宽;所述第一设备是否支持信道编码;或者所述第一设备支持的信道编码的类型。
结合第一方面,在第一方面的某些实现方式中,所述第二设备的能力信息包括以下至少一项:所述第二设备支持的调制方式;所述第二设备支持的信道带宽;所述第二设备是否支持信道编码;或者所述第二设备支持的信道编码的类型。
结合第一方面,在第一方面的某些实现方式中,所述接入方法还包括:建立所述第一设备和所述第二设备之间的连接。
第二方面,提供了一种接入方法,所述接入方法包括:根据目标接入方式,扫描广播信息;若在第二预设时长内接收到来自第二设备的第一广播信息,发送第一接入请求,所述第一广播信息用于指示广播类型为可连接;接收来自所述第二设备针对所述第一接入请求的第一响应信息;其中,所述目标接入方式为接入方式集合中的接入方式,所述接入方式集合包含至少两种接入方式。
示例性地,第二预设时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统或者其他可能的短距离通信系统;或者,第二预设时长可以是通过测试得到的经验值;或者,第二预设时长可以是通过相应的配置(如profile等)进行设置的;或者,第二预设时长是第二设备指示给第一设备的。
通过接入方式集合中的一种接入方式,若接收到来自第二设备的第一广播信息,发送第一接入请求,并接收来自第二设备针对第一接入请求的第一响应信息,从而完成第二设备和第一设备之间的接入,可以降低第一设备或第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
结合第二方面,在第二方面的某些实现方式中,所述至少两种接入方式对应不同的场景。
结合第二方面,在第二方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式;所述第一响应信息包括用于连接建立的参数信息。
结合第二方面,在第二方面的某些实现方式中,所述目标接入方式为所述接入方式集 合中的第一接入方式,所述第一接入请求包括以下至少一项:待接入所述第二设备的第一设备的标识信息;所述第二设备的标识信息;或者所述第一设备的能力信息。
在本申请实施例中,待接入第二设备的第一设备可以理解为第二设备可以作为待接入设备,等待第一设备的请求接入。
结合第二方面,在第二方面的某些实现方式中,所述第二预设时长为第三时长,所述目标接入方式为所述接入方式集合中的第一接入方式,所述接入方法还包括:若在所述第三时长内未接收到所述第一广播信息,根据所述接入方式集合中的第二接入方式,发送第二广播信息,所述第二广播信息用于指示广播类型为可连接;接收来自所述第二设备的第二接入请求,发送针对所述第二接入请求的第二响应信息。
若在第三时长内未接收到第一广播信息,需要将目标接入方式切换至接入方式集合中的第二接入方式,即发送第二广播信息,接收来自第二设备的第二接入请求,发送针对第二接入请求的第二响应信息,以便完成与第一设备之间的接入,从而降低第一设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
结合第二方面,在第二方面的某些实现方式中,所述第二接入请求包括用于连接建立的参数信息。
结合第二方面,在第二方面的某些实现方式中,所述第二响应信息包括以下至少一项:所述第二设备待接入的第一设备的标识信息;所述第二设备的标识信息;或者所述第一设备的能力信息。
在本申请实施例中,第二设备待接入的第一设备可以理解为第二设备可以作为接入设备,请求接入第一设备。
结合第二方面,在第二方面的某些实现方式中,所述接入方法还包括:根据所述参数信息,在目标时频资源上接收第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
结合第二方面,在第二方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式;所述第一接入请求包含用于连接建立的参数信息。
结合第二方面,在第二方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式,所述第一响应信息包括以下至少一项:所述第二设备的标识信息;待接入所述第二设备的第一设备的标识信息;所述第二设备的能力信息;或者是否接受所述第一接入请求的应答信息。
结合第二方面,在第二方面的某些实现方式中,所述第二预设时长为第四时长,所述目标接入方式为所述接入方式集合中的第二接入方式,所述接入方法还包括:若在所述第四时长内未接收到所述第一广播信息,根据所述接入方式集合中的第一接入方式,发送第二广播信息,所述第二广播信息用于指示广播类型为可连接;接收来自所述第二设备的第二接入请求,发送针对所述第二接入请求的第二响应信息。
若在第四时长内未接收到第一广播信息,需要将目标接入方式切换至接入方式集合中的第一接入方式,即发送第二广播信息,接收来自第二设备的第二接入请求,发送针对第二接入请求的第二响应信息,以便完成与第一设备之间的接入,从而降低第一设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的 效率。
结合第二方面,在第二方面的某些实现方式中,所述第二响应信息包括用于连接建立的参数信息。
结合第二方面,在第二方面的某些实现方式中,所述第二接入请求包括以下至少一项:所述第二设备的标识信息;所述第二设备待接入的第一设备的标识信息;或者所述第二设备的能力信息。
结合第二方面,在第二方面的某些实现方式中,所述接入方法还包括:在目标时频资源上发送第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
结合第二方面,在第二方面的某些实现方式中,所述参数信息包括以下至少一项:所述第一信息的发送周期;所述第一信息的发送时间信息;所述第一信息的发送频点信息,所述频点信息用于指示所述第一信息的发送频点和/或所述第一信息的跳频间隔;或者所述第一信息的标识信息。
结合第二方面,在第二方面的某些实现方式中,所述参数信息还包括以下至少一项:用于所述第二设备与所述第一设备建立连接的时频信息;用于所述第二设备与所述第一设备建立连接的标识信息;连接超时信息,所述连接超时信息用于指示连接超时时间;所述第一设备支持的调制方式;所述第二设备支持的调制方式;所述第一设备支持的信道带宽;所述第二设备支持的信道带宽;所述第二设备与所述第一设备通信采用的信道带宽;或者所述第二设备与所述第一设备通信采用的调制与编码方式。
结合第二方面,在第二方面的某些实现方式中,所述第一广播信息用于指示以下至少一项:所述第二设备的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第二设备建立连接的设备;或者所述第二设备的能力信息。
结合第二方面,在第二方面的某些实现方式中,所述第二广播信息用于指示以下至少一项:所述第一设备的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第一设备建立连接的设备;或者所述第一设备的能力信息。
结合第二方面,在第二方面的某些实现方式中,所述第一设备的能力信息包括以下至少一项:所述第一设备支持的调制方式;所述第一设备支持的信道带宽;所述第一设备是否支持信道编码;或者所述第一设备支持的信道编码的类型。
结合第二方面,在第二方面的某些实现方式中,所述第二设备的能力信息包括以下至少一项:所述第二设备支持的调制方式;所述第二设备支持的信道带宽;所述第二设备是否支持信道编码;或者所述第二设备支持的信道编码的类型。
结合第二方面,在第二方面的某些实现方式中,所述接入方法还包括:建立所述第一设备和所述第二设备之间的连接。
第三方面,提供了一种通信装置,所述通信装置包括:通信单元,用于根据目标接入方式,发送第一广播信息,所述第一广播信息用于指示广播类型为可连接;所述通信单元,还用于若在第一预设时长内接收到来自第一设备的第一接入请求,发送针对所述第一接入请求的第一响应信息;其中,所述目标接入方式为接入方式集合中的接入方式,所述接入方式集合包含至少两种接入方式。
结合第三方面,在第三方面的某些实现方式中,所述至少两种接入方式对应不同的场 景。
结合第三方面,在第三方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式;所述第一响应信息包括用于连接建立的参数信息。
结合第三方面,在第三方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式,所述第一接入请求包括以下至少一项:所述第一设备的标识信息;所述第一设备待接入的所述通信装置的标识信息;或者所述第一设备的能力信息。
结合第三方面,在第三方面的某些实现方式中,所述第一预设时长为第一时长,所述目标接入方式为所述接入方式集合中的第一接入方式,所述通信单元,还用于:若在所述第一时长内未接收到所述第一接入请求,根据所述接入方式集合中的第二接入方式,扫描广播信息;若扫描到来自所述第一设备的第二广播信息,发送第二接入请求,所述第二广播信息用于指示广播类型为可连接;接收来自所述第一设备针对所述第二接入请求的第二响应信息。
结合第三方面,在第三方面的某些实现方式中,所述第二接入请求包括用于连接建立的参数信息。
结合第三方面,在第三方面的某些实现方式中,所述第二响应信息包括以下至少一项:所述第一设备的标识信息;待接入所述第一设备的所述通信装置的标识信息;或者所述第一设备的能力信息。
结合第三方面,在第三方面的某些实现方式中,所述通信单元,还用于:在目标时频资源上发送第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
结合第三方面,在第三方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式;所述第一接入请求包含用于连接建立的参数信息。
结合第三方面,在第三方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式,所述第一响应信息包括以下至少一项:所述第一设备待接入的所述通信装置的标识信息;所述第一设备的标识信息;所述通信装置的能力信息;或者是否接受所述第一接入请求的应答信息。
结合第三方面,在第三方面的某些实现方式中,所述第一预设时长为第二时长,所述目标接入方式为所述接入方式集合中的第二接入方式,所述通信单元,还用于:若在所述第二时长内未接收到所述第一接入请求,根据所述接入方式集合中的第一接入方式,扫描广播信息;若扫描到来自所述第一设备的第二广播信息,发送第二接入请求,所述第二广播信息用于指示广播类型为可连接;接收来自所述第一设备针对所述第二接入请求的第二响应信息。
结合第三方面,在第三方面的某些实现方式中,所述第二响应信息包括用于连接建立的参数信息。
结合第三方面,在第三方面的某些实现方式中,所述第二接入请求包括以下至少一项:待接入所述第一设备的所述通信装置的标识信息;所述第一设备的标识信息;或者所述通信装置的能力信息。
结合第三方面,在第三方面的某些实现方式中,所述通信单元,还用于:根据所述参数信息,在目标时频资源上接收第一信息,所述第一信息包括控制信息和/或数据信息, 所述参数信息包括用于指示所述目标时频资源的信息。
结合第三方面,在第三方面的某些实现方式中,所述参数信息包括以下至少一项:所述第一信息的发送周期;所述第一信息的发送时间信息;所述第一信息的发送频点信息,所述频点信息用于指示所述第一信息的发送频点和/或所述第一信息的跳频间隔;或者所述第一信息的标识信息。
结合第三方面,在第三方面的某些实现方式中,所述参数信息还包括以下至少一项:用于所述通信装置与所述第一设备建立连接的时频信息;用于所述通信装置与所述第一设备建立连接的标识信息;连接超时信息,所述连接超时信息用于指示连接超时时间;所述第一设备支持的调制方式;所述通信装置支持的调制方式;所述第一设备支持的信道带宽;所述通信装置支持的信道带宽;所述通信装置与所述第一设备通信采用的信道带宽;或者所述通信装置与所述第一设备通信采用的调制与编码方式。
结合第三方面,在第三方面的某些实现方式中,所述第一广播信息用于指示以下至少一项:所述通信装置的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述通信装置建立连接的设备;或者所述通信装置的能力信息。
结合第三方面,在第三方面的某些实现方式中,所述第二广播信息用于指示以下至少一项:所述第一设备的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第一设备建立连接的设备;或者所述第一设备的能力信息。
结合第三方面,在第三方面的某些实现方式中,所述第一设备的能力信息包括以下至少一项:所述第一设备支持的调制方式;所述第一设备支持的信道带宽;所述第一设备是否支持信道编码;或者所述第一设备支持的信道编码的类型。
结合第三方面,在第三方面的某些实现方式中,所述通信装置的能力信息包括以下至少一项:所述通信装置支持的调制方式;所述通信装置支持的信道带宽;所述通信装置是否支持信道编码;或者所述通信装置支持的信道编码的类型。
结合第三方面,在第三方面的某些实现方式中,所述通信装置还包括:处理单元,用于建立所述第一设备和所述通信装置之间的连接。
第四方面,提供了一种通信装置,所述通信装置包括:通信单元,用于根据目标接入方式,扫描广播信息;若在第二预设时长内接收到来自第二设备的第一广播信息,发送第一接入请求,所述第一广播信息用于指示广播类型为可连接;所述通信单元,还用于接收来自所述第二设备针对所述第一接入请求的第一响应信息;其中,所述目标接入方式为接入方式集合中的接入方式,所述接入方式集合包含至少两种接入方式。
结合第四方面,在第四方面的某些实现方式中,所述至少两种接入方式对应不同的场景。
结合第四方面,在第四方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式;所述第一响应信息包括用于连接建立的参数信息。
结合第四方面,在第四方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第一接入方式,所述第一接入请求包括以下至少一项:待接入所述第二设备的所述通信装置的标识信息;所述第二设备的标识信息;或者所述通信装置的能力信息。
结合第四方面,在第四方面的某些实现方式中,所述第二预设时长为第三时长,所述目标接入方式为所述接入方式集合中的第一接入方式,所述通信单元,还用于:若在所述 第三时长内未接收到所述第一广播信息,根据所述接入方式集合中的第二接入方式,发送第二广播信息,所述第二广播信息用于指示广播类型为可连接;接收来自所述第二设备的第二接入请求,发送针对所述第二接入请求的第二响应信息。
结合第四方面,在第四方面的某些实现方式中,所述第二接入请求包括用于连接建立的参数信息。
结合第四方面,在第四方面的某些实现方式中,所述第二响应信息包括以下至少一项:所述第二设备待接入的所述通信装置的标识信息;所述第二设备的标识信息;或者所述通信装置的能力信息。
结合第四方面,在第四方面的某些实现方式中,所述通信单元,还用于:根据所述参数信息,在目标时频资源上接收第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
结合第四方面,在第四方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式;所述第一接入请求包含用于连接建立的参数信息。
结合第四方面,在第四方面的某些实现方式中,所述目标接入方式为所述接入方式集合中的第二接入方式,所述第一响应信息包括以下至少一项:所述第二设备的标识信息;待接入所述第二设备的所述通信装置的标识信息;所述第二设备的能力信息;或者是否接受所述第一接入请求的应答信息。
结合第四方面,在第四方面的某些实现方式中,所述第二预设时长为第四时长,所述目标接入方式为所述接入方式集合中的第二接入方式,所述通信单元,还用于:若在所述第四时长内未接收到所述第一广播信息,根据所述接入方式集合中的第一接入方式,发送第二广播信息,所述第二广播信息用于指示广播类型为可连接;接收来自所述第二设备的第二接入请求,发送针对所述第二接入请求的第二响应信息。
结合第四方面,在第四方面的某些实现方式中,所述第二响应信息包括用于连接建立的参数信息。
结合第四方面,在第四方面的某些实现方式中,所述第二接入请求包括以下至少一项:所述第二设备的标识信息;所述第二设备待接入的所述通信装置的标识信息;或者所述第二设备的能力信息。
结合第四方面,在第四方面的某些实现方式中,所述通信单元,还用于:在目标时频资源上发送第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
结合第四方面,在第四方面的某些实现方式中,所述参数信息包括以下至少一项:所述第一信息的发送周期;所述第一信息的发送时间信息;所述第一信息的发送频点信息,所述频点信息用于指示所述第一信息的发送频点和/或所述第一信息的跳频间隔;或者所述第一信息的标识信息。
结合第四方面,在第四方面的某些实现方式中,所述参数信息还包括以下至少一项:用于所述第二设备与所述通信装置建立连接的时频信息;用于所述第二设备与所述通信装置建立连接的标识信息;连接超时信息,所述连接超时信息用于指示连接超时时间;所述通信装置支持的调制方式;所述第二设备支持的调制方式;所述通信装置支持的信道带宽;所述第二设备支持的信道带宽;所述第二设备与所述通信装置通信采用的信道带宽;或者 所述第二设备与所述通信装置通信采用的调制与编码方式。
结合第四方面,在第四方面的某些实现方式中,所述第一广播信息用于指示以下至少一项:所述第二设备的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第二设备建立连接的设备;或者所述第二设备的能力信息。
结合第四方面,在第四方面的某些实现方式中,所述第二广播信息用于指示以下至少一项:所述通信装置的属性信息;可请求接入设备的标识信息,所述可请求接入设备为可请求与所述通信装置建立连接的设备;或者所述通信装置的能力信息。
结合第四方面,在第四方面的某些实现方式中,所述通信装置的能力信息包括以下至少一项:所述通信装置支持的调制方式;所述通信装置支持的信道带宽;所述通信装置是否支持信道编码;或者所述通信装置支持的信道编码的类型。
结合第四方面,在第四方面的某些实现方式中,所述第二设备的能力信息包括以下至少一项:所述第二设备支持的调制方式;所述第二设备支持的信道带宽;所述第二设备是否支持信道编码;或者所述第二设备支持的信道编码的类型。
结合第四方面,在第四方面的某些实现方式中,所述通信装置还包括:处理单元,用于建立所述通信装置和所述第二设备之间的连接。
第五方面,提供了一种通信装置,包括至少一个存储器和至少一个处理器,所述至少一个存储器用于存储程序,所述至少一个处理器用于运行所述程序,以实现第一方面或第一方面的某些实现方式中的任一实现方式中所述的接入方法,或者,以实现上述第二方面或第二方面的某些实现方式中的任一实现方式中所述的接入方法。
第六方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有程序或指令,所述程序或指令被执行时使得计算机执行第一方面或第一方面的某些实现方式中的任一实现方式中所述的接入方法,或者,所述程序或指令被执行时使得计算机执行第二方面或第二方面的某些实现方式中的任一实现方式中所述的接入方法。
第七方面,提供了一种芯片,包括至少一个处理器和接口电路,所述接口电路用于为所述至少一个处理器提供程序指令或者数据,所述至少一个处理器用于执行所述程序指令,以实现第一方面或第一方面的某些实现方式中的任一实现方式中所述的接入方法,或者,以实现第二方面或第二方面的某些实现方式中的任一实现方式中所述的接入方法。
可选地,作为一种实现方式,所述芯片还可以包括存储器,所述存储器中存储有程序,所述处理器用于执行所述存储器上存储的程序,当所述程序被执行时,所述处理器用于执行第一方面或第一方面的某些实现方式中的任一实现方式中所述的接入方法,或者,所述处理器用于执行第二方面或第二方面的某些实现方式中的任一实现方式中所述的接入方法。
第八方面,提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,当所述计算机程序产品被计算机执行时,所述计算机执行第一方面或第一方面的某些实现方式中的任一实现方式中所述的接入方法,或者,所述计算机执行第二方面或第二方面的某些实现方式中的任一实现方式中所述的接入方法。
第九方面,提供了一种通信系统,包括如第三方面或者第三方面的任一实现方式所提供的装置和第四方面或者第四方面的任一实现方式所提供的通信装置。
第十方面,提供了一种终端,所述终端包括用于执行第一方面或者第二方面或第一方 面的某些实现方式或第二方面的某些实现方式中的任一实现方式中所述的接入方法的装置,或者包括如第三方面或者第三方面的任一实现方式所提供的通信装置,或者,包括第四方面或者第四方面的任一实现方式所提供的通信装置,或者,包括如第五方面所提供的通信装置。
进一步,该终端可以为智能运输设备(车辆或者无人机)、智能家居设备、智能制造设备、智能穿戴设备或者机器人等。该智能运输设备例如可以是自动导引运输车(automated guided vehicle,AGV)、或无人运输车。
附图说明
图1为适用于本申请实施例的一例通信系统。
图2为本申请实施例提供的一例接入方法的示意流程图。
图3为本申请实施例提供的另一例接入方法示例性流程图。
图4为本申请实施例提供的又一例接入方法示例性流程图。
图5为本申请实施例提供的又一例接入方法示例性流程图。
图6为本申请实施例提供的一例第一设备和第二设备相互发现的方法的示意性流程图。
图7是本申请实施例提供的一种通信装置的示意性结构图。
图8是本申请实施例提供的另一种通信装置的示意性结构图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
在本申请实施例中,“指示”可以包括直接指示和间接指示,也可以包括显式指示和隐式指示。将某一信息(如下文所述的用于指示目标时频资源的信息)所指示的信息称为待指示信息,则具体实现过程中,对待指示信息进行指示的方式有很多种,例如但不限于,可以直接指示待指示信息,如待指示信息本身或者该待指示信息的索引等。也可以通过指示其他信息来间接指示待指示信息,其中该其他信息与待指示信息之间存在关联关系。还可以仅仅指示待指示信息的一部分,而待指示信息的其他部分则是已知的或者提前约定的。例如,还可以借助预先约定(例如协议规定)的各个信息的排列顺序来实现对特定信息的指示,从而在一定程度上降低指示开销。
在本申请实施例中,第一、第二以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围。例如,区分不同的指示信息等。
在本申请实施例中,时长可以理解为是时间资源窗口,即时域资源和/或频域资源。
在本申请实施中,发送接入请求的设备可以称为接入设备,接收接入请求的设备可以称为待接入设备。例如,在下文所述的情况11和情况21中,第一设备为接入设备,第二设备为待接入设备。又例如,在下文所述的情况12和情况22中,第一设备为待接入设备,第二设备为接入设备。
为便于理解本申请实施例,首先对适用于本申请实施例提供的方法的通信系统进行介绍。
应理解,通信系统包含多个节点,节点可以指具有数据收发处理能力的电子设备,可以包括终端设备,也可以是包含在终端设备中的芯片。例如,节点可以汽车座舱(cockpit domain)设备,或者汽车座舱设备中的一个模块,例如座舱域控制器(cockpit domain controller,CDC)、摄像头、屏幕、麦克风、音响、电子钥匙、无钥匙进入或启动控制器等模块中的一个或多个。在具体的实施例中,节点还可以是数据中转设备,例如网络设备、路由器、中继器、桥接器或交换机;也可以是一个终端设备。本申请所涉及的通信技术可以是终端设备之间的通信技术,也可以是网络设备和终端设备之间的通信技术,还可以是网络设备和网络设备之间的通信技术,不具体限定通信双方的身份,能支持相应的通信技术和功能即可。终端设备可以为各种类型的用户设备(user equipment,UE)、手机(mobile phone)、平板电脑(pad)、台式电脑、耳机、音响等;还可以包括机器智能设备,如无人驾驶(self-driving)设备、运输安全(transportation safety)设备、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、机器类型通信(machine type communication,MTC)设备、工业控制(industrial control)设备、远程医疗(remote medical)设备、智能电网(smart grid)设备、智慧城市(smart city)设备、智能家居设备等;还可以包括可穿戴设备(如智能手表,智能手环,计步器等)等等。在某些技术场景中,具备相似数据收发能力的设备的名称也可能不称为节点。
应理解,网络设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(Radio Network Controller,RNC)、节点B(Node B,NB)、基站控制器(Base Station Controller,BSC)、基站收发台(Base Transceiver Station,BTS)、家庭基站(例如,Home evolved NodeB,或Home Node B,HNB)、基带单元(BaseBand Unit,BBU),无线保真(Wireless Fidelity,WIFI)系统中的接入点(Access Point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G,如,NR,系统中的gNB,或,传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU)等。
参见图1,图1为适用于本申请实施例的一例通信系统。例如,在图1所示的系统中,节点包括但不限于基站、笔记本、手机、耳机、眼镜、手表、pad、手写笔、电视(television,TV)或者键盘等。
在某些通信系统中,一些节点可称为管理节点/主控节点/通用节点(grant node,G节 点),一些节点可称为终端节点(terminal node,T节点)。例如,该通信系统可以为GT-LE系统,G节点可以称为主节点(或主设备),T节点可以称为从节点(或从设备)。主节点和从节点可以是在逻辑功能上区分的两类节点。其中,主节点管理从节点,主节点具有分配通信域的资源的功能,负责为从节点分配资源;从节点听从主节点的调度,使用主节点分配的资源与主节点进行通信。例如,上述网络设备可以为主节点,上述终端设备可以为从节点。又例如,上述终端设备可以为主节点,另一终端设备可以为从节点。又或者,该通信系统还可以为其它可能的通信系统,本申请不具体限定通信系统的类型,现有的或者未来可能出现的通信系统都可以应用本申请的方案。
其中,一个节点(装置或设备)可以在一个通信系统中或多个通信系统中。例如,当手机与耳机进行无线通信时,手机和耳机构成第一通信系统,在该第一通信系统中,手机为主节点,耳机为从节点,该耳机听从手机的调度。进一步地,若该手机检测到CDC,并与该CDC建立无线连接后,该手机还和CDC构成了第二通信系统,在第二通信系统中,CDC为主节点,手机为从节点,该手机听从CDC的调度。可选地,第二通信系统还可以包括其他从节点,如车载音箱、麦克等。
目前,主节点与从节点之间通过广播信息等来建立连接。但是,当多个从节点都需要与同一个主节点建立连接时,该多个从节点都会发送广播信息,会增大该多个从节点的广播信息的碰撞概率,进而延长多个从节点的广播时长,增加了该多个从节点的功耗,延长了主节点和从节点之间连接建立的时长,进而降低了主节点和设从备之间建立连接的效率。
因此,本申请实施例提供了一种接入方法,该接入方法可以通过目标接入方式,完成第一设备和第二设备之间的接入,从而可以降低第一设备或第二设备的功耗,缩短后续第一设备与第二设备建立连接的时长,提高第一设备和第二设备之间建立连接的效率。
其中,第一设备和第二设备中一个设备是主节点,另一个设备是从节点。
该目标接入方式是接入方式集合中的接入方式,该接入方式集合包含至少两种接入方式。
在一种可实现的方式中,目标接入方式可以是操作管理维护(operation administration maintenance,OAM)进行配置的。
在另一种可实现的方式中,目标接入方式可以是通过profile进行配置的。
在又一种可实现的方式中,目标接入方式是第二设备默认的接入方式。
示例性地,用户可以通过相关的设置,来改变第二设备默认的接入方式。
可选地,在第二设备和第一设备建立连接之后,第二设备和第一设备中的主节点可以在后续其广播信息或者专用信息中指示系统默认的接入方式。进而在第二设备与第一设备重新建立连接时,调整默认的接入方式。
示例性地,对于不同的应用场景,可以对应不同的接入方式。也就是说,接入方式集合包含的至少两种接入方式对应不同的场景。例如,对于电池管理系统(battery management system,BMS)场景,接入方式可以为第一接入方式。又例如,对于耳机和其他设备组成的短距通信场景,接入方式可以为第二接入方式。
示例性地,接入方式集合可以包括第一接入方式和第二接入方式。
对于第一接入方式,主节点处于广播状态,从节点处于扫描状态。具体的,主节点发 出广播信息,以便从节点在扫描(或者接收)到主节点的广播信息后,从节点作为请求方(此时,主节点作为被请求方),请求与主节点建立连接,并且主节点为连接配置相应的资源,从而两者建立相应的连接。
对于第二接入方式,主节点处于扫描状态,从节点处于广播状态。具体的,从节点发送广播信息,以便主节点在扫描(或者接收)到从节点的广播信息后,主节点作为请求方(此时,从节点作为被请求方),请求与从节点建立连接,并且主节点为连接配置相应的资源,从而两者建立相应的连接。
在下文方法300至方法600中,所述的广播信息(例如,第一广播信息、第二广播信息或广播信息)用于指示广播类型,该广播类型包括是否可连接。
若广播类型指示可以连接,则接收该广播信息的设备(例如第一设备或第二设备)可以根据该广播信息或该广播信息指示的扩展广播信息,与发送该广播信息的设备(例如第二设备或第一设备)建立连接。发送该广播信息的设备在该广播信息或该广播信息指示的扩展广播信息对应(对应方式为:发送该广播信息的设备通过显式方式指示第一时间资源窗口,或,发送该广播信息的设备发送第一时间资源窗口占用的资源信息,以隐式指示第一时间资源窗口)的第一时间资源窗口(例如,第一预设时长)中接收(或,检测)连接请求。而收到该广播信息,并希望与发送该广播信息的设备(例如第二设备或第一设备)连接的设备(例如第一设备或第二设备),可在第一时间资源窗口中发送连接请求,进而实现两个设备之间的通信连接。当然,两个设备可能通过一次交互就建立了通信连接,也可能通过多次交互才能建立通信连接。
若广播类型指示不可连接,则接收该广播信息的设备(例如第一设备或第二设备)无法根据该广播信息或该广播信息指示的扩展广播信息,与发送该广播信息的设备(例如第二设备或第一设备)建立连接。发送该广播信息的设备(例如第二设备或第一设备)在该广播信息或该广播信息指示的扩展广播信息对应的第一时间资源窗口中不接收连接请求,或该第一时间资源窗口不存在(即未定义)。而接收该广播信息的设备(例如第一设备或第二设备)也不会根据该广播信息或该广播信息指示的扩展广播信息发送连接请求。
由于每个节点对应的目标接入方式不同,故在主节点和从节点之间尝试建立连接的过程中,可能存在主节点对应的目标接入方式和从节点对应的目标接入方式匹配,也可能存在主节点对应的目标接入方式和从节点对应的目标接入方式不匹配。
主节点对应的目标接入方式和从节点对应的接入方式匹配包括:主节点对应的目标接入方式是接入方式集合中的第一接入方式,从节点对应的目标接入方式是接入方式集合中的第一接入方式(情况A);和/或,主节点对应的目标接入方式是接入方式集合中的第二接入方式,从节点对应的目标接入方式是接入方式集合中的第二接入方式(情况B)。
在主节点对应的目标接入方式和从节点对应的目标接入方式匹配的情况下,主节点和从节点无需切换各自对应的目标接入方式,便可彼此建立连接。
主节点对应的目标接入方式和从节点对应的目标接入方式不匹配可以包括:主节点对应的目标接入方式是接入方式集合中的第一接入方式,从节点对应的目标接入方式是接入方式集合中的第二接入方式(情况C);和/或,主节点对应的目标接入方式是接入方式集合中的第二接入方式,从节点对应的目标接入方式是接入方式集合中的第一接入方式(情况D)。
在主节点对应的目标接入方式和从节点对应的目标接入方式不匹配的情况下,主节点和从节点中的一个节点需要切换对应的目标接入方式,以使主节点对应的目标接入方式和从节点对应的目标接入方式匹配,以便可彼此建立连接。
可选地,可以通过协议或者其他方式预先定义该一个节点具体是主节点还是从节点。
情况C可以包括情况C1和情况C2。
情况C1,主节点可以将目标接入方式由接入方式集合中的第一接入方式切换为第二接入方式,主节点由广播状态转换为扫描状态。此外,从节点对应的目标接入方式(第二接入方式)不作切换,从节点处于广播状态。
情况C2,从节点可以将目标接入方式由接入方式集合中的第二接入方式切换为第一接入方式,从节点由广播状态转换为扫描状态。此外,主节点对应的目标接入方式(第一接入方式)不作切换,主节点处于广播状态。
情况D可以包括情况D1和情况D2。
情况D1,主节点可以将目标接入方式由接入方式集合中的第二接入方式切换为第一接入方式,主节点由扫描状态转换为广播状态。此外,从节点对应的目标接入方式(第一接入方式)不作切换,主节点处于扫描状态。
情况D2,从节点可以将目标接入方式由接入方式集合中的第一接入方式切换为第二接入方式,从节点由扫描状态转换为广播状态。此外,主节点对应的目标接入方式(第二接入方式)不作切换,主节点处于扫描状态。
以下,按照第一设备的属性和第二设备的属性(例如,第一设备是主节点或从节点,第二设备是从节点或主节点),以及第一设备和第二设备的接入方式,以情况11、情况12、情况13、情况21、情况22和情况23为例,对第一设备和第二设备之间建立连接的过程进行详细描述。
其中,在情况11和情况12中,第二设备是主节点,第一设备是从节点。在情况21和情况22中,第二设备是从节点,第一设备是主节点。
此外,在情况11中,第二设备和第一设备均按照目标接入方式为第一接入方式,彼此建立连接。此时,第二设备处于广播状态,第一设备处于扫描状态。该情况11对应于上文所述的情况A。
在情况12中,第二设备按照目标接入方式中的第一接入方式,第一设备按照目标接入方式中的第二接入方式,尝试彼此建立连接。此时,由于第二设备和第一设备都处于广播状态,因此,第一设备和第二设备中的一个设备可以切换该设备对应的目标接入方式,才可以建立连接。具体过程可以参见下文情况12中的描述。该情况12对应于上文所述的情况C。
在情况13中,第二设备按照目标接入方式中的第二接入方式,第一设备按照目标接入方式中的第一接入方式,尝试彼此建立连接。此时,由于第二设备和第一设备都处于扫描状态,因此,第一设备和第二设备中的一个设备可以切换该设备对应的目标接入方式,才可以建立连接。具体过程可以参见下文情况13中的描述。该情况13对应于上文所述的情况D。
在情况21中,第二设备和第一设备均按照目标接入方式为第二接入方式,彼此建立连接。此时,第二设备处于广播状态,第一设备处于扫描状态。该情况21对应于上文所 述的情况B。
在情况22中,第二设备按照目标接入方式中的第二接入方式,第一设备按照目标接入方式中的第一接入方式,尝试彼此建立连接。此时,由于第二设备和第一设备都处于广播状态,因此,第一设备和第二设备中的一个设备可以切换该设备对应的目标接入方式,才可以建立连接。该情况23对应于上文所述的情况C。
在情况23中,第二设备按照目标接入方式中的第一接入方式,第一设备按照目标接入方式中的第二接入方式,尝试彼此建立连接。此时,由于第二设备和第一设备都处于扫描状态,因此,第一设备和第二设备中的一个设备可以切换该设备对应的目标接入方式,才可以建立连接。该情况22对应于上文所述的情况D。
在一个示例中,在情况11中,第二设备和第一设备均按照目标接入方式为接入方式集合中的第一接入方式,彼此建立连接。此时,第二设备是主节点,第一设备是从节点。
例如,图2为本申请实施例提供的一例接入方法300的示意流程图。如图2所述,该方法300包括:
S310,根据第一接入方式(第二设备对应的目标接入方式的一例),第二设备发送第一广播信息。其中,第一广播信息用于指示广播类型,该广播类型包括是否可连接。“可连接”意味着第二设备允许收到第一广播信息的设备接入。
在一些实施例中,第二设备根据第一接入方式,可以周期性地发送第一广播信息。
在一些实施例中,由于第一设备按照第一接入方式(第一设备对应的目标接入方式的一例)与其他设备建立连接,因此,第一设备处于扫描状态,即第一设备扫描广播信息。当第一设备扫描到第二设备发送的第一广播信息,即认为第一设备接收到第二设备发送的第一广播信息。
由于第一设备处于扫描状态,故在第三时长内,第一设备可以接收到第二设备发送的第一广播信息。
示例性地,第三时长可以是通信系统中预先定义或者设置的,该通信系统例如可以所GT-LE系统或者其他可能的短距离通信系统;或者,第三时长可以是通过测试得到的经验值;或者,第三时长可以是通过相应的配置(如profile等)进行设置的;或者,第三时长是第二设备指示给第一设备的。
可选地,此时,第一设备还可以扫描到其他设备发送的广播信息。第一设备针对其他设备发送的广播信息的处理方式可以参考第一设备针对第二设备发送的第一广播信息的处理方式,这里不再赘述。
在一些实施例中,第二设备可以通过指定的1~3个(或者多个)广播信道发送第一广播信息,此时,该第一广播信息可以承载在基础广播帧中。
在另一些实施例中,第二设备也可以通过通用数据信道发送第一广播信息。此时,该第一广播信息可以承载在基础广播帧和扩展广播帧中。
示例性地,基础广播帧一般可以在广播信道进行传输。扩展广播帧一般可以在数据信道进行传输。
一种设计中,可以通过基础广播帧的辅助广播包的指针(Auxiliary Pointer,AuxPtr)指示扩展广播帧的频点、时钟和物理层信息(例如,使用的信道带宽包括1MHz,2MHz或4MHz)。例如,当第一广播信息承载在基础广播帧时,第二设备将第一广播信息承载 在3个基础广播帧(即广播信道)中发送。此时若第一广播信息需要承载在扩展广播帧中,则该3个基础广播帧的AuxPtr应该指示到同一个扩展广播帧。
在本申请实施例中,信道带宽可以理解为符号(symbol)速率,即信道带宽可以理解为单位时间内传输的符号数量。例如,信道带宽包括1MHz,2MHz或4MHz可以理解为符号速率包括1M symbol/s(每秒传输的symbol数为1M),2M symbol/s(每秒传输的symbol数为2M)或4M symbol/s(每秒传输的symbol数为4M)。
示例性地,该第一广播信息可以用于指示以下至少一项:第二设备的属性信息、可请求接入设备的标识信息、或者第二设备的能力信息。
其中,属性信息用于指示发送属性信息的设备的属性,例如,发送属性信息的设备是主节点(或G节点)还是从节点(或T节点)。
本申请实施例对属性信息指示发送属性信息的设备是主节点还是从节点的方式不作限定。示例性地,属性信息可以通过“0”来指示发送属性信息的设备是主节点,通过“1”来指示发送属性信息的设备是从节点。示例性地,属性信息可以通过“1”来指示发送属性信息的设备是主节点,通过“0”来指示发送属性信息的设备是从节点。
例如,在情况11中,第二设备的属性信息指示的第二设备是主节点。
可请求接入设备的标识信息用于标识可以请求与第二设备建立连接的设备的身份。示例性地,可请求接入设备的标识信息可以包括可请求接入设备的媒体接入控制(media access control address,MAC)地址。
示例性地,第二设备的能力信息用于指示以下至少一项:第二设备支持的调制方式;第二设备支持的信道带宽;第二设备是否支持信道编码;或者第二设备支持的信道编码的类型。
例如,第二设备支持的调制方式可以包括高斯频移键控(gauss frequency shift keying,GFSK)调制方式和/或相移键控(phase shift keying,PSK)调制方式等。
例如,第二设备支持的信道带宽可以包括:在跳频方式下,每个跳频信道的信道带宽。又例如,第二设备支持的信道带宽可以包括第二设备支持的总信道带宽。
在第一设备接收到来自第二设备发送的第一广播信息,第一设备确定是否执行S320。具体的,在第一广播信息中有指示可请求接入设备的标识信息,且第一设备确定该可请求接入设备的标识信息中包含或者指示有该第一设备的标识时,即认为第一广播信息指示的广播类型为可连接,则第一设备执行S320。或者,第一设备根据某种准则或者关系,确定该第一设备可以请求接入该第二设备时,第一设备确定执行S320。
S320,第一设备发送第一接入请求。
示例性地,第一接入请求包括以下至少一项:第一设备的标识信息;第一设备待接入的第二设备的标识信息;或者第一设备的能力信息。
其中,第一设备的标识信息用于标识第一设备的身份。示例性地,第一设备的标识信息可以包括第一设备的MAC地址。
可选地,S320中的第一设备的标识信息可以理解为待接入第二设备的第一设备的标识信息。
在本申请实施例中,待接入第二设备的第一设备可以理解为第二设备可以作为待接入设备,等待第一设备的请求接入。第二设备的标识信息用于标识第二设备的身份。示例性 地,第二设备的标识信息可以包括第二设备的MAC地址。
在本申请实施例中,第一设备待接入的第二设备可以理解为第一设备可以作为接入设备,请求接入第二设备。可选地,S320中涉及的第二设备的标识信息还可以用第一目标设备的标识信息替代。示例性地,第一目标设备包括第一设备可以请求接入的所有设备。
示例性地,第一设备的能力信息包括以下至少一项:第一设备支持的调制方式;第一设备支持的信道带宽;第一设备是否支持信道编码;或者第一设备支持的信道编码的类型。
例如,第一设备支持的调制方式可以包括GFSK调制方式和/或PSK调制方式等。
例如,第一设备支持的信道带宽可以包括:在跳频方式下,每个跳频信道的信道带宽。又例如,第一设备支持的信道带宽可以包括第一设备支持的总信道带宽。
例如,第一设备支持的信道编码的类型包括polar码编码方式、里所码(Reed-solomon codes,RS)编码方式或二进制的霍拉里斯代码(binary coded hollerith,BCH)编码方式等。
第二设备接收到来自第一设备的第一接入请求,第二设备确定是否执行S330。具体的,在第一接入请求中有指示第二设备的标识信息时,第二设备执行S330。或者,第二设备根据某种准则或者关系,确定该第二设备可以接受该第一设备的第一接入请求时,第二设备执行S330。
S330,第二设备发送针对第一接入请求的第一响应信息。相应地,第一设备接收来自第二设备针对第一接入请求的第一响应信息。
该第一响应信息包括用于连接建立的参数信息。
其中,用于连接建立的参数信息可以理解为连接建立以及连接的过程中所需的参数信息。本申请不对该参数信息做具体限定。
示例性地,该参数信息包括用于指示目标时频资源的信息,该目标时频资源是第二设备发送第一信息的时频资源。
在本申请实施例中,目标时频资源可以包括时域资源和/或频域资源。
在一些实施例中,第一信息包括控制信息和/或数据信息。
示例性地,控制信息可以包括同步信息,该同步信息用于第一设备与第二设备建立同步(如直流偏置补偿、自动增益控制等)。和/或,该控制信息可以包括第一设备与第二设备连接链路的资源分配(或者链路时间描述)信息(如链路(事件)的周期、时间偏移、在每个链路(事件)的周期内链路(事件)的时长、此周期内链路(事件)的重复次数、优先级);链路参数信息,例如链路类型(单播,可靠组播,半可靠组播等)和/或连接链路各个方向(GT方向和/或TG方向)的发送包数量等。和/或,该控制信息可以包括调度信息,该调度信息可以是主节点与从节点协商链路资源的信息或者主节点与从节点链路资源信息(如符号速率等)等。
在一些实施例中,第一信息也可以包括第一信息的参数更改信息(例如,更改周期、时频资源,生效时间等),该第一信息的参数更改信息用于指示更改第一信息的参数。
示例性地,该参数信息包括以下至少一项:第一信息的发送周期信息;第一信息的发送时间信息;第一信息的发送频点信息,频点信息用于指示第一信息的发送频点和/或第一信息的跳频间隔;或者第一信息的标识信息。
可选地,用于发送第一信息的频点信息也可以是通信协议规定的。
第一信息的发送周期信息用于指示第一信息的发送周期。
在一个示例中,第一信息的发送时间信息可以用于指示第一信息的发送时刻。
在另一个示例中,第一信息的发送时间信息可以用于指示第一信息的发送偏移量,该偏移量为发送时刻与参考时刻之间的偏移量。
示例性地,参考时刻可以为第二设备发送针对接入请求的响应信息的时刻。则第一信息的发送偏移量为第一信息的发送时刻与第二设备针对接入请求的响应信息的发送时刻之间的偏移量。
可选地,该参考时刻可以是提前设置好的时刻,即默认的时刻。或者,该参考时刻是第一信息的时间信息指示的。
应理解,本申请实施例涉及的时刻可以是时间单元。其中,一个时间单元可以是一个符号,或者一个迷你时隙(Mini-slot),或者一个时隙(slot),或者一个子帧(subframe)。例如,一个时隙在时域上的持续时间可以是125微妙(μs)或625微妙(μs)。一个子帧或者超帧可以包括多个时隙。
在一个示例中,第一信息的发送频点信息包括适用于第一信息的发送频点。
示例性地,第一信息的发送频点信息还可以通过频点集合来指示第一信息的发送频点,即频点集合中的一个频点是第一信息的发送频点。例如,该频点集合(used)可以是[1,9,10,12,14,16,19,22,24,25,28,32,36]。即第一信息的发送频点包括第1个频点、第9个频点、第10个频点、第12个频点、第14个频点、第16个频点、第19个频点、第22个频点、第24个频点、第25个频点、第28个频点、第32个频点和第36个频点。
在另一个示例中,第一信息的发送频点信息包括不适用于第一信息的发送频点。那么根据该第一信息的发送频点信息,可以得到适用于第一信息的发送频点。
在又一个示例中,第一信息的发送频点信息包括适用于第一信息的发送频点和不适用于第一信息的发送频点。
本申请实施例对第一信息的发送频点信息指示适用于第一信息的发送频点和不适用于第一信息的发送频点的方式不作限定。
在一个示例中,适用于第一信息的发送频点可以通过“1”来指示,不适用于第一信息的发送频点可以通过“0”来指示。例如,ChM分别为ChM[5]={0x02,0x56,0x49,0x13,0x11},将ChM转换为二进制数,则为00010001 00010011 01001001 01010110 00000010,若频点从第0个开始编号,适用于第一信息的发送频点可以通过“1”来指示,不适用于第一信息的发送频点可以通过“0”来指示,那么适用于第一信息的发送频点包括第1个频点、第9个频点、第10个频点、第12个频点、第14个频点、第16个频点、第19个频点、第22个频点、第24个频点、第25个频点、第28个频点、第32个频点和第36个频点。此时,频点集合(used)可以表示为[1,9,10,12,14,16,19,22,24,25,28,32,36]。适用于第一信息的发送频点的个数(numused)为13个。
在一个示例中,第一信息的发送频点信息包括第一信息的跳频间隔(hop)。
在另一个示例中,根据第一信息的发送频点信息包括的第一信息的发送频点,可以得到第一信息的跳频间隔。
在又一个示例中,第一信息的发送频点信息包括频点转移的公式,根据频点转移的公 式,可确定第一信息的发送频点。
例如,若频点转移的公式为:f n+1=(f n+hop)(mod 37),其中,hop=5,n为时间(或时刻),f n为第n时间(或时刻)的频点,f n+1为第(n+1)时间(或时刻)的频点。
其中,频点可以理解为实际的频点对应的标识,例如,f n为第n时间(或时刻)的频点是第几个频点。
例如,当f n=0(第n时间(或时刻)的频点为第0个频点)时,则f n+1=(0+5)mod37,即第(n+1)时间(或时刻)的频点为第5个频点,但是第5个频点是一个不适用于第一信息的发送频点,因此需要从适用于第一信息的发送频点集合里找一个频点,若适用于第一信息的发送频点集合(used)是[1,9,10,12,14,16,19,22,24,25,28,32,36],即第(n+1)时间(或时刻)的频点为:used[5mod numused]=used[5mod13]=16,即第(n+1)时间(或时刻)的频点为第16个频点。
可选地,第一信息的发送频点信息还可以指示候选的可用频点和/或候选的不可用频点。
示例性地,第一信息的标识信息可以为第一信息对应的接入码或者第一信息对应的地址等。
示例性地,该参数信息还可以包括以下至少一项:第一设备的标识信息;用于第二设备与第一设备建立连接的时频信息;用于第二设备与第一设备建立连接的标识信息;连接超时信息,连接超时信息用于指示连接超时时间;第一设备支持的调制方式;第二设备支持的调制方式;第一设备支持的信道带宽;第二设备支持的信道带宽;第二设备与第一设备通信采用的信道带宽;或者第二设备与第一设备通信采用的调制方式与编码方式。
用于第二设备与第一设备建立连接的时频信息可以包括第二设备与第一设备建立的连接的时频信息和/或第二设备与第一设备连接分配的时频信息。
其中,第二设备与第一设备建立的连接的时频信息用于指示第二设备和第一设备之间的交互信息本身所承载在的时域资源和/或频域资源。
第二设备与第一设备连接分配的时频信息用于指示:第二设备与第一设备协商连接分配的时域资源和/或频域资源。即第一设备和第二设备在该时域资源和/或频域资源上协商第二设备和第一设备之间的交互信息本身所承载在的时域资源和/或频域资源具体包括哪些时域资源和/或频域资源。
在一些实施例中,该用于第二设备与第一设备建立连接的时频信息可以包括用于指示第二设备与第一设备建立的连接的频点信息和/或第二设备与第一设备连接分配的频点信息。
在一个示例中,该第二设备与第一设备建立的连接的频点信息用于指示第二设备与第一设备建立的连接的频点。
本申请实施例对该第二设备与第一设备建立的连接的频点信息指示第二设备与第一设备建立的连接的频点的方式不作限定。
例如,该第二设备与第一设备建立的连接的频点信息可以通过频点集合来指示第二设备与第一设备建立的连接的频点。
在另一示例中,该第二设备与第一设备建立的连接的频点信息用于指示第二设备与第一设备建立的连接的跳频间隔(hop)。根据该第二设备与第一设备建立的连接的跳频间 隔,可以确定第二设备与第一设备建立的连接的频点。
本申请实施例对该第二设备与第一设备建立的连接的频点信息指示第二设备与第一设备建立的连接的跳频间隔的方式不作限定。
例如,该第二设备与第一设备建立的连接的频点信息可以包括第二设备与第一设备建立的连接的跳频间隔。频点转移规则可以通过协议或者其他方式预先定义,例如规则可以通过公式来定义。这样,通过第二设备与第一设备建立的连接的跳频间隔和所述预先定义的频点转移规则,可以确定第二设备与第一设备建立的连接的频点。
在一个示例中,该第二设备与第一设备连接分配的频点信息用于指示第二设备与第一设备协商连接分配的频点。
本申请实施例对该第二设备与第一设备连接分配的频点信息指示第二设备与第一设备协商连接分配的频点的方式不作限定。
例如,该第二设备与第一设备连接分配的频点信息可以通过频点集合来指示第二设备与第一设备协商连接分配的频点。
在另一个示例中,该第二设备与第一设备连接分配的频点信息用于指示第二设备与第一设备协商连接分配的跳频间隔(hop)。根据该第二设备与第一设备协商连接分配的跳频间隔,可以确定第二设备与第一设备协商连接分配的频点。
本申请实施例对该第二设备与第一设备连接分配的频点信息指示第二设备与第一设备协商连接分配的跳频间隔的方式不作限定。
例如,该第二设备与第一设备连接分配的频点信息可以包括第二设备与第一设备连接分配的跳频间隔。频点转移规则可以通过协议或者其他方式预先定义。这样,通过第二设备与第一设备连接分配的调频间隔和和所述预先定义的频点转移规则,可以确定第二设备与第一设备协商连接分配的频点。
关于该频点信息未描述的部分可以参考上文方法300的S330中关于第一信息的发送频点信息的相关描述。示例性地,用于第二设备与第一设备建立连接的标识信息可以为第二设备与第一设备建立连接的接入码或连接ID,通过该第二设备与第一设备建立连接的接入码或连接ID。
示例性地,在后续第一设备与第二设备建立连接的过程中,在超过连接超时信息指示的连接超时时间时,第一设备和第二设备未能正常通信(例如,第二设备在该连接超时时间内没有接收到第一设备发送的数据),则表明此次建立的连接不稳定,需要重新建立连接。
可选地,第二设备可以通过一个或者多个字节进行指示,例如通过3个字节指示发送第一信息的周期,和/或,通过4个字节指示发送第一信息的时间信息,和/或,通过2个字节指示发送第一信息的偏移量,和/或,通过8个字节指示连接超时信息,和/或,通过6个字节指示发送第一信息的频点信息,和/或,通过6个字节指示第二设备与第一设备建立连接的时频信息。
在一个示例中,第二设备与第一设备通信采用的信道带宽可以包括1MHz、2MHz或4MHz等。
可选地,上述方法300还包括S340和S350。
S340,第二设备确定目标时频资源,该目标时频资源用于发送第一信息。
其中,用于发送第一信息的目标时频资源通过上文所述参数信息指示。关于第一信息的相关描述可以参见上文S330中相应的描述,这里不再赘述。
S350,在S340确定的目标时频资源上,第二设备发送第一信息。
相应地,第一设备根据S330中的参数信息,确定用于接收第一信息的目标时频资源,从而在相应地目标时频资源上,接收第一信息。
可选地,方法300还包括S360。
S360,建立第一设备和第二设备之间的连接。
在第一设备与第二设备建立连接的过程中,第二设备可以为第一设备配置相应的资源。
在一些可实现的方式中,在该第一设备与该第二设备首次建立连接之后,该第二设备可以将该第一设备的标识存储起来,以便后续该第二设备再次建立连接时,直接与该第一设备建立连接。
本申请不限定S360和S340、S350之间的先后顺序。
可选地,在一些实施例中,在S320之后,S340之前,还可以执行S370。
S370,第二设备向第一设备反馈确认(acknowledgement,ACK)信息或不确认(Negative acknowledgement,NACK)信息。该ACK信息用于指示第二设备接受第一设备的接入请求,该NACK信息用于指示第二设备不接受第一设备的接入请求。
可选地,该ACK信息或该NACK信息可以承载在针对第一接入请求的第一响应信息中。
在S370中,若第二设备向第一设备反馈的是ACK信息,则在S370之后,还可以执行S340至S360。在S370中,若第二设备向第一设备反馈的是NACK信息,则在S370之后,第一设备和第二设备不再执行方法300的任何步骤。
可选地,在另一些实施例中,在S320之后,S330之前,第二设备还可以向第一设备反馈NACK信息。该NACK信息用于指示第二设备不接受第一设备的接入请求。在第二设备向第一设备反馈NACK的实施例中,第一设备和第二设备不再执行方法300的任何步骤。
可选地,方法300还包括S380。本申请不限定S380和S340至S370之间的先后顺序。
S380,第一设备向第二设备发送反馈信息。相应的,第二设备接收来自第一设备的反馈信息。
在一个示例中,该反馈信息用于指示第一设备是否接收到第二设备发送的针对接入请求的响应信息。在另一个示例中,该反馈信息用于指示第一设备是否接受第二设备配置的用于连接建立的参数信息。例如,该反馈信息用于指示第一设备接受第二设备为第一设备配置的调制方式。
通过上述反馈信息,可以解决第一设备和第二设备接入冲突问题。
可选地,在情况11中的实施例中,第一设备可以为多个,第二设备可以为一个。该多个第一设备都会执行方法300。此时,该多个第一设备的目标接入方式可以相同也可以不相同,本申请对此不作限定。
在另一个示例中,在情况12中,第二设备按照目标接入方式中的第一接入方式,第一设备按照目标接入方式中的第二接入方式,尝试彼此建立连接。此时,第二设备是主节 点,第一设备是从节点。
例如,如图3为本申请实施例提供的另一例接入方法400的示意流程图。如图3所述,该方法400包括:
S310,根据第一接入方式(第二设备对应的目标接入方式的一例),第二设备发送第一广播信息。其中,第一广播信息用于指示广播类型,该广播类型包括是否可连接。
在一些实施例中,第二设备可以根据第一接入方式,周期性地发送第一广播信息。
由于第一设备是按照第二接入方式(第一设备对应的目标接入方式的一例),与其他设备建立连接,因此,第一设备处于广播状态,即第一设备不会对广播信息进行扫描,即可认为第一设备不会接收到第二设备发送的第一广播信息,故在第三时长(第二预设时长的一例)内,第一设备不会接收到第二设备发送的第一广播信息。此外,第一设备也不会向第二设备发送接入请求,第二设备不会接收到第一设备的接入请求,故在第一时长(第一预设时长的一例)内,第二设备未接收到来自第一设备的第一接入请求。
示例性地,第一时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统或者其他可能的短距离通信系统;或者,第一时长可以是通过测试得到的经验值;或者,第一时长可以是通过相应的配置(如profile等)进行设置的。
在一些实施例中,在第三时长内,第一设备未接收到第二设备发送的第一广播信息,首先,第一设备可以将第一设备对应的目标接入方式由第二接入方式切换至第一接入方式,第一设备从广播状态调为扫描状态,并扫描广播信息。此时,第二设备对应的目标接入方式(第一接入方式)不作切换,第二设备一直处于广播状态(与上文所述的情况C2对应)。然后,第一设备和第二设备按照目标接入方式为第一接入方式,彼此建立连接。具体建立连接的过程参见上文方法300中各步骤的描述,这里不再赘述。
在另一些实施例中,在第一时长内,第二设备未接收到来自第一设备的第一接入请求,首先,第二设备可以将第二设备对应的目标接入方式由第一接入方式切换至第二接入方式,第二设备从广播状态调为扫描状态,并扫描广播信息。此时,第一设备对应的目标接入方式(第二接入方式)不作切换,第一设备一直处于广播状态(与上文所述的情况C1对应)。然后,第二设备和第一设备分别按照目标接入方式为第二接入方式,彼此建立连接。具体建立连接的过程如下:
由于第一设备是按照第二接入方式,与其他设备建立连接,因此,第一设备处于广播状态,即第一设备执行S410。
S410,第一设备根据第二接入方式,发送第二广播信息。其中,第二广播信息用于指示广播类型,该广播类型包括是否可连接。
在一些实施例中,第一设备根据第二接入方式,可以周期性地发送第二广播信息。
由于第二设备已从广播状态调为扫描状态,第二设备可以扫描广播信息。故在第七时长内,第二设备可以接收到第一设备发送的第二广播信息。
示例性地,第七时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统;或者,第七时长可以是通过测试得到的经验值;或者,第七时长可以是通过相应的配置(如profile等)进行设置的;或者,第七时长是第二设备指示给第一设备的。
示例性地,该第二广播信息用于指示以下至少一项:第一设备的属性信息;可请求接入设备的标识信息,可请求接入设备为可请求与第一设备建立连接的设备;或者第一设备 的能力信息。
关于属性信息和可请求接入设备的标识信息可以参考上文方法300的S310中的相关描述,这里不再赘述。
例如,在情况12中,第一设备的属性信息指示的第一设备是从节点。
关于第一设备的能力信息可以参考上文方法300的S320中的相关描述,这里不再赘述。
关于第二广播信息是如何发送的可以参考上文方法300的S310中对第一广播信息是如何发送的相关描述,这里不再赘述。
在第二设备接收到来自第一设备发送的第二广播信息,第二设备确定是否执行S420。具体的,在第二广播信息中有指示可请求接入设备的标识信息,且第二设备确定该可请求接入设备的标识信息中指示有该第二设备的标识时,即认为第二广播信息指示的广播类型为可连接,则第二设备执行S420。或者,第二设备根据某种准则或者关系,确定该第二设备可以请求接入该第一设备时,第二设备可以自己确定执行S420。
S420,第二设备向第一设备发送第二接入请求。相应地,第一设备接收第二设备发送的第二接入请求。
示例性地,第二接入请求包括用于连接建立的参数信息。
关于参数信息的相关描述可以参考S330中关于参数信息的相关描述,这里不再赘述。
在第一设备接收到来自第二设备的第二接入请求,第一设备确定是否执行S430。具体的,在第二接入请求中有指示待接入设备的标识信息,且第一设备确定该第二接入请求中待接备的标识信息中指示有该第一设备的标识时,第一设备执行S430。或者,第一设备根据某种准则或者关系,确定该第一设备可以接受该第二设备的第二接入请求时,第一设备执行S430。
S430,第一设备发送针对第二接入请求的第二响应信息。相应地,第二设备接收来自第一设备针对第二接入请求的第二响应信息。
示例性地,第二响应信息包括以下至少一项:第一设备的标识信息;待接入第一设备的第二设备的标识信息;或者第一设备的能力信息。
可选地,S430中的第一设备的标识信息还可以理解为第二设备待接入的第一设备的标识信息。
在本申请实施例中,第二设备待接入的第一设备可以理解为第二设备可以作为接入设备,请求接入第一设备。关于第一设备的标识信息、第二设备的标识信息和第一设备的能力信息可以参考上文方法300的S320中的相关描述,这里不再赘述。
在本申请实施例中,待接入第一设备的第二设备可以理解为第一设备可以作为待接入设备,等待第二设备的请求接入。
可选地,S430中涉及的第二设备的标识信息还可以用第二目标设备的标识信息替代。示例性地,第二目标设备包括可以接入第一设备的所有设备。
可选地,第二设备根据接收到来自第一设备的第二响应信息,确定是否执行S340至S380。具体的,在第二响应信息中有指示第二设备的标识信息时,执行S340至S380。或者,第二设备根据某种准则或者关系,确定该第二设备可以与第一设备建立连接时,执行S340至S380。
其中,S340至S380可以参考上文相关的描述,这里不再赘述。
可选地,在情况12中的实施例中,第二设备可以为多个,第一设备可以为一个。该多个第二设备都会执行方法400。此时,该多个第二设备的目标接入方式可以相同也可以不相同,本申请对此不作限定。
在又一个示例中,在情况13中,第二设备按照目标接入方式中的第二接入方式,第一设备按照目标接入方式中的第一接入方式,尝试彼此建立连接。此时,第二设备是主节点,第一设备是从节点。
由于第二设备按照目标接入方式中的第二接入方式,第一设备按照目标接入方式中的第一接入方式,尝试彼此建立连接。因此,第一设备和第二设备都处于扫描状态,即第二设备和第一设备都不会广播广播信息,故可认为在第三时长内,第一设备不会接收到第二设备发送的第一广播信息。在第八时长内,第二设备不会接收到第一设备发送的第二广播信息。
示例性地,第八时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统或者其他可能的短距离通信系统;或者,第八时长可以是通过测试得到的经验值;或者,第八时长可以是通过相应的配置(如profile等)进行设置的;或者,第八时长是第二设备指示给第一设备的。
在一些实施例中,在第八时长内,第二设备未接收到第一设备发送的第二广播信息,首先,第二设备可以将第二设备对应的目标接入方式由第二接入方式切换至第一接入方式,第二设备从扫描状态调为广播状态,并广播第一广播信息。此时,第一设备对应的目标接入方式(第一接入方式)不作切换,第一设备一直处于扫描状态(与上文所述的情况D1对应)。然后,第一设备和第二设备分别按照目标接入方式为第一接入方式,彼此建立连接。具体建立连接的过程参见上文方法300中各步骤的描述,这里不再赘述。
在另一些实施例中,在第三时长内,第一设备未接收到第二设备发送的第一广播信息,首先,第一设备可以将目标接入方式由第一接入方式切换至第二接入方式,第一设备从扫描状态调为广播状态,并广播第一广播信息。此时,第二设备对应的目标接入方式(第二接入方式)不作切换,第二设备一直处于扫描状态(与上文所述的情况D2对应)。然后,第一设备和第二设备分别按照目标接入方式为第二接入方式,彼此建立连接。具体建立连接的过程和下文方法500的方案类似,不同之处在于:下文方法500中所述的第一设备执行的步骤由第二设备执行,下文方法500中所述的第二设备执行的步骤由第一设备执行。其他未描述的部分参见下文方法500中各步骤的描述,这里不再赘述。
在又一个示例中,在情况21中,第二设备和第一设备均按照目标接入方式为第二接入方式,彼此建立连接。此时,第二设备是从节点,第一设备是主节点。
例如,图4为本申请实施例提供的一例接入方法500的示意流程图。如图4所述,该方法500包括:
S510,根据第二接入方式(第二设备对应的目标接入方式的一例),第二设备发送第一广播信息。其中,第一广播信息用于指示广播类型,该广播类型包括是否可连接。
在一些实施例中,第二设备根据第二接入方式,可以周期性地发送第一广播信息。
在一些实施例中,由于第一设备按照第二接入方式(第一设备对应的目标接入方式的一例),和其他设备建立连接,因此,第一设备处于扫描状态,第一设备扫描到第二设备 发送的第一广播信息,即认为第一设备接收到第二设备发送的第一广播信息。
由于第一设备处于扫描状态,故在第四时长(第二预设时长的一例)内,第一设备可以接收到第二设备发送的第一广播信息。
示例性地,第四时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统或者其他可能的短距离通信系统;或者,第四时长可以是通过测试得到的经验值;或者,第四时长可以是通过相应的配置(如profile等)进行设置的;或者,第四时长是第二设备指示给第一设备的。
关于第一广播信息的描述可以参考上文方法300的S310中的相关描述,这里不再赘述。
在第一设备接收到来自第二设备发送的第一广播信息,第一设备确定是否S520。具体的,在第一广播信息中有指示可请求接入设备的标识信息,且第一设备确定该可请求接入设备的标识信息中指示有该第一设备的标识时,即认为第一广播信息指示的广播类型为可连接,则第一设备执行S520。或者,第一设备根据某种准则或者关系,确定该第一设备可以请求接入该第二设备时,第一设备可以自己确定执行S520。
S520,第一设备发送第一接入请求。
S520中的第一接入请求包括用于连接建立的参数信息。
关于参数信息的相关描述,可以参考上文S330中相关的描述,这里不再赘述。
在第二设备接收到来自第一设备的第一接入请求,第二设备执行S530。
S530,第二设备发送针对第一接入请求的第一响应信息。相应地,第一设备接收来自第二设备针对第一接入请求的第一响应信息。
示例性地,S530中的第一响应信息包括以下至少一项:第一设备待接入的第二设备的标识信息;第一设备的标识信息;所述第二设备的能力信息;或者是否接受所述第一接入请求的应答信息。
其中,在第一响应信息中携带第一设备的标识信息和/或第一设备待接入的第二设备的标识信息,可以使得第一设备确定第一设备是否可以接入第二设备或者以便第一设备确定第一响应信息是否是针对第一接入请求的响应信息,避免多个第二设备和一个第一设备同时建立连接的冲突问题,提高了建立连接的效率,缩短了建立连接的时长。
第二设备的标识信息用于标识第二设备的身份。示例性地,第二设备的标识信息可以包括第二设备的MAC地址。
可选地,S530中涉及的第二设备的标识信息还可以用上文所述的第三目标设备的标识信息替代。示例性地,第三目标设备包括可以接入第二设备的所有设备。
关于第二设备的能力信息可以参考上文方法300的S310中相关的描述,这里不再赘述。可选地,S530中第一设备的标识信息可以理解为待接入第二设备的第一设备的标识信息。
关于该第一设备的标识信息可以参考上文方法300的S320中的相关描述,这里不再赘述。
可选地,当第二设备接受第一设备的第一接入请求时,该应答信息可以是ACK信息。当第二设备不接受第一设备的第一接入请求时,该应答信息可以是NACK信息。
可选地,上述是否接受接入请求的应答信息和第一响应信息可以是第二设备分开发送 给第一设备的。
可选地,第一设备根据接收到来自第二设备的第一响应信息,确定是否执行S540和S550。具体的,在第一响应信息中有指示第一设备的标识信息时,执行S530S540至S560。或者,第一设备根据某种准则或者关系,确定该第一设备可以与第二设备建立连接时,执行S540至S560。以下,详细介绍S540和S550。
S540,第一设备确定目标时频资源,该目标时频资源用于发送第一信息。
S550,在S540确定的目标时频资源上,第一设备向第二设备发送第一信息。
相应地,第二设备根据S520中的参数信息,确定用于接收第一信息的目标时频资源,从而在相应地目标时频资源上,接收第一信息。
S560,建立第一设备和第二设备之间的连接。
在第一设备与第二设备建立连接的过程中,第二设备可以为第一设备配置相应的资源。
在一些可实现的方式中,在该第一设备与该第二设备首次建立连接之后,该第一设备可以将该第二设备的标识存储起来,以便后续该第一设备再次建立连接时,直接与该第二设备建立连接。
本申请不限定S560和S540、S550之间的先后顺序。
可选地,方法500还可以包括上文所述的S380。本申请不限定S380和S540至S560之间的先后顺序。
可选地,在情况21中的实施例中,第二设备可以为多个,第一设备可以为一个。该多个第二设备都会执行方法500。此时,该多个第二设备的目标接入方式可以相同也可以不相同,本申请对此不作限定。
在又一个示例中,在情况22中,第二设备按照目标接入方式中的第二接入方式,第一设备按照目标接入方式中的第一接入方式,尝试彼此建立连接。此时,第二设备是从节点,第一设备是主节点。
例如,如图5为本申请实施例提供的又一例接入方法600的示意流程图。如图5所述,该方法600包括:
S510,根据第二接入方式(第二设备对应的目标接入方式的一例),第二设备发送第一广播信息。其中,第一广播信息用于指示广播类型,该广播类型包括是否可连接。
在一些实施例中,第二设备根据第二接入方式,可以周期性地发送第一广播信息。
由于第一设备是按照第一接入方式(第一设备对应的目标接入方式的一例),与其他设备建立连接,因此,第一设备处于广播状态,即第一设备不会对广播信息进行扫描,即可认为第一设备不会接收到第二设备发送的第一广播信息,故在第四时长(第二预设时长的一例)内,第一设备也不会接收到第二设备发送的第一广播信息。此外,第一设备也不会向第二设备发送接入请求,第二设备不会接收到第一设备的接入请求,故在第二时长(第二预设时长的一例)内,第二设备未接收到来自第一设备的第一接入请求。
示例性地,第二时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统或者其他可能的短距离通信系统;或者,第二时长可以是通过测试得到的经验值;或者,第二时长可以是通过相应的配置(如profile等)进行设置的。
示例性地,第四时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是 GT-LE系统或者其他可能的短距离通信系统;或者,第四时长可以是通过测试得到的经验值;或者,第四时长可以是通过相应的配置(如profile等)进行设置的。
在一些实施例中,在第四时长内,第一设备也不会接收到第二设备发送的第一广播信息,首先,第一设备可以将第一设备对应的目标接入方式由第一接入方式切换至第二接入方式,第一设备从广播状态调为扫描状态,并扫描广播信息,此时,第二设备对应的目标接入方式(第二接入方式)不作切换,第二设备处于广播状态(与上文所述的情况C1对应)。然后,第一设备和第二设备分别按照目标接入方式为第二接入方式,彼此建立连接。具体建立连接的过程参见上文方法500中各步骤的描述,这里不再赘述。
在另一些实施例中,在第二时长内,第二设备未接收到来自第一设备的第一接入请求,数显,第二设备可以将第二设备对应的目标接入方式由第二接入方式切换至第一接入方式,第二设备从广播状态调为扫描状态,并扫描广播信息。此时,第一设备对应的目标接入方式(第一接入方式)不作切换,第一设备一直处于广播状态(与上文所述的情况C2对应)。然后,第一设备和第二设备分别按照目标接入方式为第一接入方式,彼此建立连接。具体过程如下:
由于第一设备是按照第一接入方式,与其他设备建立连接,因此,第一设备处于广播状态,即第一设备执行S610。
S610,根据第一接入方式,第一设备发送第二广播信息。其中,第二广播信息用于指示广播类型,该广播类型包括是否可连接。
相应的,由于第二设备已从广播状态调为扫描状态,故在第八时长内,第二设备可以接收到第一设备发送的第二广播信息。
关于第二广播信息的描述可以参考上文方法400的S410的相关描述,这里不再赘述。
在第二设备接收到来自第一设备发送的第二广播信息,第二设备确定是否S620。具体的,在第二广播信息中有指示可请求接入设备的标识信息,且第二设备确定该可请求接入设备的标识信息中指示有该第二设备的标识时,即认为第二广播信息指示的广播类型为可连接,则第二设备执行S620。或者,第二设备根据某种准则或者关系,确定该第二设备可以请求接入该第一设备时,第二设备可以自己确定执行S620。
S620,第二设备发送第二接入请求。
示例性地,该S620中的第二接入请求包括以下至少一项:待接入第一设备的第二设备的标识信息;第一设备的标识信息;或者第二设备的能力信息。
关于第二设备的标识信息、第一设备的标识信息和第二设备的能力信息可以参考上文方法500的S530的相关描述,这里不再赘述。
可选地,S620第一设备的标识信息可以理解为第二设备待接入的第一设备的标识信息。
可选地,S620中涉及的第二设备的标识信息还可以用第四目标设备的标识信息替代。示例性地,第四目标设备包括第二设备可以接入的所有设备。
在第一设备接收到来自第二设备的第二接入请求,第一设备确定是否执行S630。具体的,在第二接入请求中有指示第一设备的标识信息时,第一设备执行S630。或者,第一设备根据某种准则或者关系,确定该第一设备可以接受该第二设备的第二接入请求时,第一设备执行S630。
S630,第一设备发送针对第二接入请求的第二响应信息。相应地,第二设备接收来自第一设备针对第二接入请求的第二响应信息。
示例性地,第二响应信息包括用于连接建立的参数信息。
关于参数信息的相关描述可以参考S330中关于参数信息的相关描述,这里不再赘述。
可选地,在情况22中的实施例中,第一设备可以为多个,第二设备可以为一个。该多个第一设备都会执行方法600。此时,该多个第一设备的目标接入方式可以相同也可以不相同,本申请对此不作限定。
可选地,该方法600还可以包括S540至S560。关于S540至S560的描述可以参考上文的描述,这里不再赘述。
在又一个示例中,在情况23中,第二设备按照目标接入方式中的第一接入方式,第一设备按照目标接入方式中的第二接入方式,尝试彼此建立连接。此时,第二设备是从节点,第一设备是主节点。
由于第二设备按照目标接入方式中的第二接入方式,第一设备按照目标接入方式中的第一接入方式,尝试彼此建立连接。因此,第一设备和第二设备都处于扫描状态,即第二设备和第一设备都不会广播广播信息,故可认为在第三时长内,第一设备不会接收到第二设备发送的第一广播信息。在第八时长内,第二设备不会接收到第一设备发送的第二广播信息。
在一些实施例中,在第八时长内,第二设备未接收到第一设备发送的第二广播信息,首先,第二设备可以将第二设备对应的目标接入方式由第一接入方式切换至第二接入方式,第二设备从扫描状态调为广播状态,并广播第一广播信息。此时,第一设备对应的目标接入方式(第二接入方式)不作切换,第二设备一直处于扫描状态(与上文所述的情况D2对应)。然后,第一设备和第二设备分别按照目标接入方式为第二接入方式,彼此建立连接。具体建立连接的过程参见上文方法500中各步骤的描述,这里不再赘述。
在另一些实施例中,在第三时长内,第一设备未接收到第二设备发送的第一广播信息,首先,第一设备可以将第一设备对应的目标接入方式由第二接入方式切换至第一接入方式,第一设备从扫描状态调为广播状态,并广播第一广播信息。此时,第二设备对应的目标接入方式(第一接入方式)不作切换,第二设备一直处于扫描状态(与上文所述的情况D1对应)。然后,第一设备和第二设备分别按照目标接入方式为第一接入方式,彼此建立连接。具体建立连接的过程和上文方法300的方案类似,不同之处在于:上文方法300中所述的第一设备执行的步骤由第二设备执行,上文方法300中所述的第二设备执行的步骤由第一设备执行。其他未描述的部分参见上文方法300中各步骤的描述,这里不再赘述。本申请实施例还提供了又一种接入方法,该接入方法和上述接入方法300至接入方法600的区别在于:一个设备对应一种接入方式。
在一些实施例中,通信系统中所有的设备都是按照一种接入方式(例如第一接入方式或第二接入方式),与其他设备尝试建立连接。此外,由于该方法中,接入方式仅包括一种接入方式,因此,本方法不存在接入方式的切换。则上述接入方法300至接入方法600关于由一种接入方式切换为另一种接入方式对于本方法不适用。
在另一些实施例中,通信系统中只配置了一种接入方式(例如第一接入方式或第二接入方式)。在一种可实现的方式中,用户可以通过设备上相关的设置,来更改配置的接入 方式。在另一种可实现的方式中,在第二设备和第一设备建立连接之后,第二设备和第一设备中的主节点可以在后续其广播信息或者专用信息中指示后续所采用的接入方式。进而在第二设备与第一设备重新建立连接时,调整接入方式。这样,若通信系统配置的接入方式不变,该通信系统中的一个设备按照相同的接入方式,可多次与其他设备建立连接。此时,不存在接入方式的切换,则上述接入方法300至接入方法600关于由一种接入方式切换为另一种接入方式对于本方法不适用。若通信系统配置的接入方式发生更改,该通信系统中的一个设备需要将接入方式切换至更改后的接入方式,并按照更改后的接入方式与其他设备建立连接。则上述接入方法300至接入方法600关于由一种接入方式切换为另一种接入方式对于本方法适用。
关于该方法的其他的描述,可以参考上述方法300和方法500的相关描述,这里不再赘述。
以下,将结合图6介绍,本申请实施例提供的主节点和从节点相互发现的方法。
在下文方法700中,所述的广播信息用于指示广播类型,该广播类型包括是否可发现。
若广播类型指示可以发现(扫描),则接收该广播信息的设备(例如第一设备或第二设备)可以根据该广播信息或该广播信息指示的扩展广播信息,被发送该广播信息的设备(例如第二设备或第一设备)所发现。具体方式可以为:发送该广播信息的设备在该广播信息或该广播信息指示的扩展广播信息对应(对应方式可参考上文介绍的第一时间资源窗口的对应方式)的第二时间资源窗口中接收(或,检测)发现(扫描)请求。而收到该广播信息,并希望被发送该广播信息的设备(服务)发现的设备(例如第一设备或第二设备),可在第二时间资源窗口中发送发现(扫描)请求,发送该广播信息的设备发送发现(扫描)响应信息,进而实现被发送该广播信息的设备所发现由于接收该广播信息的设备可以认为已经发现了发送该广播信息的设备(或者服务),因此接收该广播信息的设备进而再被发送该广播信息的设备所发现,就可以认为实现了双向发现。当然,两个设备可能通过一次交互就完成了发现过程,也可能通过多次交互才能完成发现过程。
若广播类型指示不可发现,则接收该广播信息的设备(例如第一设备或第二设备)无法根据该广播信息或该广播信息指示的扩展广播信息,被发送该广播信息的设备(例如第二设备或第一设备)所发现。发送该广播信息的设备在该广播信息或该广播信息指示的扩展广播信息对应的第二时间资源窗口中不接收(或,不检测)连接请求,或该第二时间资源窗口不存在(即未定义)。而接收该广播信息的设备也不会根据该广播信息或该广播信息指示的扩展广播信息发送发现(扫描)请求。
广播信息指示的广播类型包括可发现(扫描)和上文所述的广播信息指示的广播类型包括可连接的不同之处在于:在广播信息指示可连接的情况下,发送该广播信息的设备和接收该广播信息的设备可以建立连接,并在建立连接之后,可以相互传输信息。而在广播信息指示可发现的情况下,发送该广播信息的设备和接收该广播信息的设备仅能相互发现,是否建立连接是未知的。例如,如图6所示,为本申请实施例提供的一种主节点和从节点相互发现的方法700的示意性流程图。如图6所示,该方法700包括:
S710,第二设备发送广播信息。此时,第二设备处于广播状态。
相应地,第一设备处于扫描状态,若第一设备扫描到第二设备的广播信息时,即认为第一设备接收到来自第二设备的广播信息。
其中,S710中的广播信息指示的广播类型包括是否可发现。S710的广播信息和上述方法300中的S310中涉及的第一广播信息除了指示的广播类型不同之外,其他针对S710广播信息包括的内容和传输的方式可以参考上述方法300中的S310中关于第一广播信息的相关描述,这里不再赘述。
在第一设备接收到广播信息之后,第一设备执行S720。
S720,第一设备向第二设备发送扫描请求(scan_request)信息,该扫描请求信息用于请求第二设备提供更多的第二设备本身的信息和/或第二设备能够提供或需求的服务(例如,业务)的信息,
可选地,该扫描请求信息还用于向第二设备申明第一设备的存在性。在第二设备接收到该扫描请求信息后,第二设备通过该扫描请求信息,可知道第一设备的存在。
在第二设备接收到扫描请求信息后,可以向第一设备发送扫描响应信息,第一设备接收到该扫描响应信息,则第一设备和第二设备都知道彼此的存在,故第二设备和第一设备可以相互发现。
可选地,第二设备还可以执行S730。
S730,第二设备向第一设备发送扫描反馈信息(scan_response)。该扫描反馈信息用于指示第二设备已接收到扫描请求信息。相应地,第一设备接收来自第二设备的扫描反馈信息。
在一些实施例中,第二设备是主节点,第一设备是从节点。在初始状态时,第一设备(从节点)处于扫描状态,第二设备(主节点)处于广播状态,在第一设备(从节点)扫描到第二设备(主节点)发送的广播信息之后,第一设备(从节点)请求第二设备(主节点)提供更多的第二设备本身的信息和/或第二设备能够提供或需求的服务(例如业务)的信息,进而第二设备(主节点)向第一设备(从节点)发送扫描响应信息,最终,第一设备(从节点)和第二设备(主节点)可以相互发现。
在另一些实施例中,第二设备是从节点,第一设备是主节点。在初始状态时,第一设备(主节点)处于扫描状态,第二设备(从节点)处于广播状态,在第一设备(主节点)扫描到第二设备(从节点)发送的广播信息之后,第一设备(主节点)请求第二设备(从节点)提供更多的第二设备本身的信息和/或第二设备能够提供或需求的服务(例如业务)的信息,进而第二设备(从节点)向第一设备(主节点)发送扫描响应信息,最终,第一设备(主节点)和第二设备(从节点)可以相互发现。
可选地,在一些实施例中,若在第五时长内,第一设备都未扫描到广播信息,则第一设备可以自动从扫描状态切换为广播状态,从而可以避免第一设备长时间处于扫描状态,却仍然无法发现第二设备,进而降低了第一设备的功耗,提高了第一设备和第二设备之间相互发现的效率。
可选地,在另一些实施例中,若在第六时长内,第二设备都未收到扫描请求,则第二设备可以自动从广播状态切换为扫描状态,从而可以避免第一设备长时间处于扫描状态,却仍然无法发现第二设备,进而降低了第一设备的功耗,提高了第一设备和第二设备之间相互发现的效率。
示例性地,第五时长或第六时长可以是通信系统中预先定义或者设置的,该通信系统例如可以是GT-LE系统或者其他可能的短距离通信系统;或者,第五时长或第六时长可 以是通过测试得到的经验值;或者,第五时长或第六时长可以是通过相应的设置进行设置的。
上文结合图2和图5,描述了本申请实施例的接入方法。结合图6,描述了主节点和从节点相互发现的方法。下面结合图7,描述本申请实施例的通信装置。应理解,通信装置的描述与接入方法的描述相互对应,因此,未详细描述的部分可以参考前面对接入方法的说明。
图7是本申请实施例提供的一种通信装置的示意性结构图。如图7所示,该通信装置800包括通信单元810。
在一种可实现的方式中,上述方法200至方法600中的第二设备包括该通信装置800。
其中,通信单元810,用于根据目标接入方式,发送第一广播信息,第一广播信息用于指示广播类型为可连接;通信单元810,还用于若在第一预设时长内接收到来自第一设备的第一接入请求,发送针对第一接入请求的第一响应信息;其中,目标接入方式为接入方式集合中的接入方式,接入方式集合包含至少两种接入方式。
在一个示例中,若目标接入方式为接入方式集合中的第一接入方式,第一响应信息包括用于连接建立的参数信息,第一接入请求包括以下至少一项:第一设备的标识信息、第一设备待接入的通信装置800的标识信息、或者第一设备的能力信息。
在另一个示例中,若目标接入方式为接入方式集合中的第二接入方式,第一接入请求包含用于连接建立的参数信息,第一响应信息包括以下至少一项:第一设备待接入的通信装置800的标识信息、第一设备的标识信息、通信装置800的能力信息、或者是否接受第一接入请求的应答信息。
在另一个示例中,第一预设时长为第一时长,目标接入方式为接入方式集合中的第一接入方式,通信单元810,还用于:若在第一时长内未接收到第一接入请求,根据接入方式集合中的第二接入方式,扫描广播信息;若扫描到来自第一设备的第二广播信息,发送第二接入请求,第二广播信息用于指示广播类型为可连接;接收来自第一设备针对第二接入请求的第二响应信息。
其中,第二接入请求包括用于连接建立的参数信息。第二响应信息包括以下至少一项:第一设备的标识信息;待接入第一设备的通信装置800的标识信息;或者第一设备的能力信息。
在又一个示例中,通信单元810,还用于:若在第二时长内未接收到第一接入请求,根据接入方式集合中的第一接入方式,扫描广播信息;若扫描到来自第一设备的第二广播信息,发送第二接入请求,第二广播信息用于指示广播类型为可连接;接收来自第一设备针对第二接入请求的第二响应信息。
其中,第一预设时长为第二时长,目标接入方式为接入方式集合中的第二接入方式,第二响应信息包括用于连接建立的参数信息。第二接入请求包括以下至少一项:待接入第一设备的通信装置800的标识信息;第一设备的标识信息;或者通信装置800的能力信息。
可选地,在各个示例中,所述的参数信息包括以下至少一项:第一信息的发送周期;第一信息的发送时间信息;第一信息的发送频点信息,频点信息用于指示第一信息的发送频点和/或第一信息的跳频间隔;或者第一信息的标识信息。可选地,参数信息还包括以下至少一项:用于通信装置800与第一设备建立连接的时频信息;用于通信装置800与第 一设备建立连接的标识信息;连接超时信息,连接超时信息用于指示连接超时时间;第一设备支持的调制方式;通信装置800支持的调制方式;第一设备支持的信道带宽;通信装置800支持的信道带宽;通信装置800与第一设备通信采用的信道带宽;或者通信装置800与第一设备通信采用的调制与编码方式。
第一广播信息用于指示以下至少一项:通信装置800的属性信息;可请求接入设备的标识信息,可请求接入设备为可请求与通信装置800建立连接的设备;或者通信装置800的能力信息。
第二广播信息用于指示以下至少一项:第一设备的属性信息;可请求接入设备的标识信息,可请求接入设备为可请求与第一设备建立连接的设备;或者第一设备的能力信息。
第一设备的能力信息包括以下至少一项:第一设备支持的调制方式;第一设备支持的信道带宽;第一设备是否支持信道编码;或者第一设备支持的信道编码的类型。
通信装置800的能力信息包括以下至少一项:通信装置800支持的调制方式;通信装置800支持的信道带宽;通信装置800是否支持信道编码;或者通信装置800支持的信道编码的类型。
可选地,通信单元810,还用于:根据参数信息,在目标时频资源上接收第一信息,第一信息包括控制信息和/或数据信息,参数信息包括用于指示目标时频资源的信息。
所述通信装置800还包括:处理单元820,用于建立所述第一设备和所述通信装置800之间的连接。
在另一种可实现的方式中,上述方法200至方法600中的第一设备包括该通信装置800。
其中,通信单元810,用于根据目标接入方式,扫描广播信息;若在第二预设时长内接收到来自第二设备的第一广播信息,发送第一接入请求,第一广播信息用于指示广播类型为可连接;通信单元810,还用于接收来自第二设备针对第一接入请求的第一响应信息;其中,目标接入方式为接入方式集合中的接入方式,接入方式集合包含至少两种接入方式。
在一个示例中,若目标接入方式为接入方式集合中的第一接入方式,第一响应信息包括用于连接建立的参数信息,第一接入请求包括以下至少一项:待接入第二设备的通信装置800的标识信息、第二设备的标识信息、或者通信装置800的能力信息。
在另一个示例中,若目标接入方式为接入方式集合中的第二接入方式,第一接入请求包含用于连接建立的参数信息,第一响应信息包括以下至少一项:第二设备的标识信息、待接入第二设备的通信装置800的标识信息、第二设备的能力信息、或者是否接受第一接入请求的应答信息。
在又一个示例中,若第二预设时长为第三时长,目标接入方式为接入方式集合中的第一接入方式,通信单元810,还用于:若在第三时长内未接收到第一广播信息,根据接入方式集合中的第二接入方式,发送第二广播信息,第二广播信息用于指示广播类型为可连接;接收来自第二设备的第二接入请求,发送针对第二接入请求的第二响应信息。
其中,第二接入请求包括用于连接建立的参数信息。第二响应信息包括以下至少一项:第二设备待接入的通信装置800的标识信息;第二设备的标识信息;或者通信装置800的能力信息。
在又一个示例中,第二预设时长为第四时长,目标接入方式为接入方式集合中的第二 接入方式,通信单元810,还用于:若在第四时长内未接收到第一广播信息,根据接入方式集合中的第一接入方式,发送第二广播信息,第二广播信息用于指示广播类型为可连接;接收来自第二设备的第二接入请求,发送针对第二接入请求的第二响应信息。
其中,第二响应信息包括用于连接建立的参数信息。第二接入请求包括以下至少一项:第二设备的标识信息;第二设备待接入的通信装置800的标识信息;或者第二设备的能力信息。
可选地,在各个示例中,所述参数信息包括以下至少一项:第一信息的发送周期;第一信息的发送时间信息;第一信息的发送频点信息,频点信息用于指示第一信息的发送频点和/或第一信息的跳频间隔;或者第一信息的标识信息。可选地,参数信息还包括以下至少一项:用于第二设备与通信装置800建立连接的时频信息;用于第二设备与通信装置800建立连接的标识信息;连接超时信息,连接超时信息用于指示连接超时时间;通信装置800支持的调制方式;第二设备支持的调制方式;通信装置800支持的信道带宽;第二设备支持的信道带宽;第二设备与通信装置800通信采用的信道带宽;或者第二设备与通信装置800通信采用的调制与编码方式。
第一广播信息用于指示以下至少一项:第二设备的属性信息;可请求接入设备的标识信息,可请求接入设备为可请求与第二设备建立连接的设备;或者第二设备的能力信息。
第二广播信息用于指示以下至少一项:通信装置800的属性信息;可请求接入设备的标识信息,可请求接入设备为可请求与通信装置800建立连接的设备;或者通信装置800的能力信息。
通信装置800的能力信息包括以下至少一项:通信装置800支持的调制方式;通信装置800支持的信道带宽;通信装置800是否支持信道编码;或者通信装置800支持的信道编码的类型。
第二设备的能力信息包括以下至少一项:第二设备支持的调制方式;第二设备支持的信道带宽;第二设备是否支持信道编码;或者第二设备支持的信道编码的类型。
可选地,通信单元810,还用于:在目标时频资源上发送第一信息,第一信息包括控制信息和/或数据信息,参数信息包括用于指示目标时频资源的信息。
所述通信装置800还包括:处理单元820,用于建立所述通信装置800和所述第二设备之间的连接。图8是本申请实施例提供的另一种通信装置示意性结构图。
如图8所示,通信装置900包括至少一个处理器910和接口电路920。
可选地,该通信装置900还可以包括存储器930,该存储器930用于存储程序。
示例的,存储器930可以是只读存储器(read only memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(random access memory,RAM)。存储器930可以存储程序,当存储器930中存储的程序被处理器910执行时,处理器910和接口电路920可以用于执行本申请实施例提供的接入方法300至接入方法600中第一设备执行的各个步骤或者用于执行本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤。也就是说,处理器910可以通过接口电路920从存储器930获取存储的指令,以执行本申请实施例提供的接入方法300至接入方法600中第一设备执行的各个步骤或者执行本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤。
示例的,处理器910可以采用通用的中央处理器(central processing unit,CPU),微 处理器,专用集成电路(application specific integrated circuit,ASIC),图形处理器(graphic processing unit,GPU)或者一个或多个集成电路,用于执行相关程序,以实现本申请实施例提供的通信装置900中任一种可实现的方式中的单元所需执行的功能,或者执行本申请实施例提供的接入方法300至接入方法600中第一设备执行的各个步骤或者执行本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤。
示例的,处理器910还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请实施例提供的接入方法300至接入方法600中第一设备执行的各个步骤或者本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。
示例的,上述处理器910还可以是通用处理器、数字信号处理器(digital signal processing,DSP)、专用集成电路(ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例提供的接入方法300至接入方法600中第一设备执行的各个步骤或者执行本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤及逻辑框图中第一设备执行的步骤或第二设备执行的步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所提供的接入方法300至接入方法600中第一设备执行的各个步骤或者执行本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤及逻辑框图中第一设备执行的步骤或第二设备执行的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成本申请实施例通信装置900中任一种可实现的方式中包括的单元所需执行的功能,或者执行本申请实施例提供的接入方法300至接入方法600中第一设备执行的各个步骤或者执行本申请实施例提供的接入方法300至接入方法600中第二设备执行的各个步骤及逻辑框图中第一设备执行的步骤或第二设备执行的步骤。
示例的,接口电路920可以使用例如但不限于收发器一类的收发装置,来实现装置与其他设备或通信网络之间的通信。该接口电路920例如还可以是通信接口。
上述各个附图对应的流程的描述各有侧重,某个流程中没有详述的部分,可以参见其他流程的相关描述。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质具有程序指令,当所述程序指令被直接或者间接执行时,使得前文中的接入方法得以实现。
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算设备上运行时,使得计算设备执行前文中的接入方法,或者使得所述计算设备实现前文中的通信装置的功能。
本申请实施例还提供一种芯片,包括至少一个处理器和接口电路,所述接口电路用于为所述至少一个处理器提供程序指令或者数据,所述至少一个处理器用于执行所述程序指令,使得前文中的接入方法得以实现。
本申请实施例还提供了一种终端,所述终端包括用于执行前文中的接入方法的装置。
进一步,该终端可以为智能运输设备(车辆或者无人机)、智能家居设备、智能制造设备、智能穿戴设备或者机器人等。该智能运输设备例如可以是自动导引运输车(automated guided vehicle,AGV)、或无人运输车。
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (39)

  1. 一种接入方法,其特征在于,所述接入方法包括:
    根据目标接入方式,发送第一广播信息,所述第一广播信息用于指示广播类型为可连接;
    若在第一预设时长内接收到来自第一设备的第一接入请求,发送针对所述第一接入请求的第一响应信息;
    其中,所述目标接入方式为接入方式集合中的接入方式,所述接入方式集合包含至少两种接入方式。
  2. 根据权利要求1所述的接入方法,其特征在于,所述至少两种接入方式对应不同的场景。
  3. 根据权利要求1或2所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第一接入方式;
    所述第一响应信息包括用于连接建立的参数信息。
  4. 根据权利要求1至3中任一项所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第一接入方式,所述第一接入请求包括以下至少一项:
    所述第一设备的标识信息;
    所述第一设备待接入的第二设备的标识信息;或者
    所述第一设备的能力信息。
  5. 根据权利要求1至4中任一项所述的接入方法,其特征在于,所述第一预设时长为第一时长,所述目标接入方式为所述接入方式集合中的第一接入方式,所述接入方法还包括:
    若在所述第一时长内未接收到所述第一接入请求,根据所述接入方式集合中的第二接入方式,扫描广播信息;
    若扫描到来自所述第一设备的第二广播信息,发送第二接入请求,所述第二广播信息用于指示广播类型为可连接;
    接收来自所述第一设备针对所述第二接入请求的第二响应信息。
  6. 根据权利要求5所述的接入方法,其特征在于,所述第二接入请求包括用于连接建立的参数信息。
  7. 根据权利要求5或6所述的接入方法,其特征在于,所述第二响应信息包括以下至少一项:
    所述第一设备的标识信息;
    待接入所述第一设备的第二设备的标识信息;或者
    所述第一设备的能力信息。
  8. 根据权利要求3至7中任一项所述的接入方法,其特征在于,所述接入方法还包括:
    在目标时频资源上发送第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
  9. 根据权利要求1或2所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第二接入方式;
    所述第一接入请求包含用于连接建立的参数信息。
  10. 根据权利要求1、2或9中任一项所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第二接入方式,所述第一响应信息包括以下至少一项:
    所述第一设备待接入的第二设备的标识信息;
    所述第一设备的标识信息;
    所述第二设备的能力信息;或者
    是否接受所述第一接入请求的应答信息。
  11. 根据权利要求1、2、9或10中任一项所述的接入方法,其特征在于,所述第一预设时长为第二时长,所述目标接入方式为所述接入方式集合中的第二接入方式,所述接入方法还包括:
    若在所述第二时长内未接收到所述第一接入请求,根据所述接入方式集合中的第一接入方式,扫描广播信息;
    若扫描到来自所述第一设备的第二广播信息,发送第二接入请求,所述第二广播信息用于指示广播类型为可连接;
    接收来自所述第一设备针对所述第二接入请求的第二响应信息。
  12. 根据权利要求11所述的接入方法,其特征在于,所述第二响应信息包括用于连接建立的参数信息。
  13. 根据权利要求11或12所述的接入方法,其特征在于,所述第二接入请求包括以下至少一项:
    待接入所述第一设备的第二设备的标识信息;
    所述第一设备的标识信息;或者
    所述第二设备的能力信息。
  14. 根据权利要求9至13中任一项所述的接入方法,其特征在于,所述接入方法还包括:
    根据所述参数信息,在目标时频资源上接收第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
  15. 一种接入方法,其特征在于,所述接入方法包括:
    根据目标接入方式,扫描广播信息;
    若在第二预设时长内接收到来自第二设备的第一广播信息,发送第一接入请求,所述第一广播信息用于指示广播类型为可连接;
    接收来自所述第二设备针对所述第一接入请求的第一响应信息;
    其中,所述目标接入方式为接入方式集合中的接入方式,所述接入方式集合包含至少两种接入方式。
  16. 根据权利要求15所述的接入方法,其特征在于,所述至少两种接入方式对应不同的场景。
  17. 根据权利要求15或16所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第一接入方式;
    所述第一响应信息包括用于连接建立的参数信息。
  18. 根据权利要求15至17任一项所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第一接入方式,所述第一接入请求包括以下至少一项:
    待接入所述第二设备的第一设备的标识信息;
    所述第二设备的标识信息;或者
    所述第一设备的能力信息。
  19. 根据权利要求15至18任一项所述的接入方法,其特征在于,所述第二预设时长为第三时长,所述目标接入方式为所述接入方式集合中的第一接入方式,所述接入方法还包括:
    若在所述第三时长内未接收到所述第一广播信息,根据所述接入方式集合中的第二接入方式,发送第二广播信息,所述第二广播信息用于指示广播类型为可连接;
    接收来自所述第二设备的第二接入请求,发送针对所述第二接入请求的第二响应信息。
  20. 根据权利要求19所述的接入方法,其特征在于,所述第二接入请求包括用于连接建立的参数信息。
  21. 根据权利要求19或20所述的接入方法,其特征在于,所述第二响应信息包括以下至少一项:
    所述第二设备待接入的第一设备的标识信息;
    所述第二设备的标识信息;或者
    所述第一设备的能力信息。
  22. 根据权利要求17至21中任一项所述的接入方法,其特征在于,所述接入方法还包括:
    根据所述参数信息,在目标时频资源上接收第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
  23. 根据权利要15或16所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第二接入方式;
    所述第一接入请求包含用于连接建立的参数信息。
  24. 根据权利要求15、16或23中任一项所述的接入方法,其特征在于,所述目标接入方式为所述接入方式集合中的第二接入方式,所述第一响应信息包括以下至少一项:
    所述第二设备的标识信息;
    待接入所述第二设备的第一设备的标识信息;
    所述第二设备的能力信息;或者
    是否接受所述第一接入请求的应答信息。
  25. 根据权利要求15、16、23或24中任一项所述的接入方法,其特征在于,所述第二预设时长为第四时长,所述目标接入方式为所述接入方式集合中的第二接入方式,所述接入方法还包括:
    若在所述第四时长内未接收到所述第一广播信息,根据所述接入方式集合中的第一接入方式,发送第二广播信息,所述第二广播信息用于指示广播类型为可连接;
    接收来自所述第二设备的第二接入请求,发送针对所述第二接入请求的第二响应信 息。
  26. 根据权利要求25所述的接入方法,其特征在于,所述第二响应信息包括用于连接建立的参数信息。
  27. 根据权利要求25或26所述的接入方法,其特征在于,所述第二接入请求包括以下至少一项:
    所述第二设备的标识信息;
    所述第二设备待接入的第一设备的标识信息;或者
    所述第二设备的能力信息。
  28. 根据权利要求23至27中任一项所述的接入方法,其特征在于,所述接入方法还包括:
    在目标时频资源上发送第一信息,所述第一信息包括控制信息和/或数据信息,所述参数信息包括用于指示所述目标时频资源的信息。
  29. 根据权利要求8、14、22或28中任一项所述的接入方法,其特征在于,所述参数信息包括以下至少一项:
    所述第一信息的发送周期信息;
    所述第一信息的发送时间信息;
    所述第一信息的发送频点信息,所述频点信息用于指示所述第一信息的发送频点和/或所述第一信息的跳频间隔;或者
    所述第一信息的标识信息。
  30. 根据权利要求3至14、17至29中任一项所述的接入方法,其特征在于,所述参数信息还包括以下至少一项:
    用于所述第二设备与所述第一设备建立连接的时频信息;
    用于所述第二设备与所述第一设备建立连接的标识信息;
    连接超时信息,所述连接超时信息用于指示连接超时时间;
    所述第一设备支持的调制方式;
    所述第二设备支持的调制方式;
    所述第一设备支持的信道带宽;
    所述第二设备支持的信道带宽;
    所述第二设备与所述第一设备通信采用的信道带宽;或者
    所述第二设备与所述第一设备通信采用的调制与编码方式。
  31. 根据权利要求1至30中任一项所述的接入方法,其特征在于,所述第一广播信息用于指示以下至少一项:
    所述第二设备的属性信息;
    可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第二设备建立连接的设备;或者
    所述第二设备的能力信息。
  32. 根据权利要求5、11、19或25中任一项所述的接入方法,其特征在于,所述第二广播信息用于指示以下至少一项:
    所述第一设备的属性信息;
    可请求接入设备的标识信息,所述可请求接入设备为可请求与所述第一设备建立连接的设备;或者
    所述第一设备的能力信息。
  33. 根据权利要求4、7、18、21或32中任一项所述的接入方法,其特征在于,所述第一设备的能力信息包括以下至少一项:
    所述第一设备支持的调制方式;
    所述第一设备支持的信道带宽;
    所述第一设备是否支持信道编码;或者
    所述第一设备支持的信道编码的类型。
  34. 根据权利要求10、13、24、27或31中任一项所述的接入方法,其特征在于,所述第二设备的能力信息包括以下至少一项:
    所述第二设备支持的调制方式;
    所述第二设备支持的信道带宽;
    所述第二设备是否支持信道编码;或者
    所述第二设备支持的信道编码的类型。
  35. 根据权利要求1至34中任一项所述的接入方法,其特征在于,所述接入方法还包括:
    建立所述第一设备和所述第二设备之间的连接。
  36. 一种通信装置,其特征在于,包括至少一个存储器和至少一个处理器,所述至少一个存储器用于存储程序,所述至少一个处理器用于运行所述程序,以实现如权利要求1至35中任一项所述的接入方法。
  37. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有程序或指令,所述程序或指令被执行时使得计算机执行如权利要求1至35中任一项所述的接入方法。
  38. 一种芯片,其特征在于,包括至少一个处理器和接口电路,所述接口电路用于为所述至少一个处理器提供程序指令或者数据,所述至少一个处理器用于执行所述程序指令,以实现如权利要求1至35中任一项所述的接入方法。
  39. 一种终端,其特征在于,所述终端包括用于执行如权利要求1至35中任一项所述的接入方法的装置或者如权利要求36所述的通信装置。
PCT/CN2021/096783 2021-05-28 2021-05-28 接入方法及通信装置 WO2022246803A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP21942377.9A EP4333545A4 (en) 2021-05-28 2021-05-28 ACCESS METHOD AND COMMUNICATION DEVICE
CN202180001859.2A CN113455026B (zh) 2021-05-28 2021-05-28 接入方法及通信装置
PCT/CN2021/096783 WO2022246803A1 (zh) 2021-05-28 2021-05-28 接入方法及通信装置
US18/519,911 US20240107427A1 (en) 2021-05-28 2023-11-27 Access method and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/096783 WO2022246803A1 (zh) 2021-05-28 2021-05-28 接入方法及通信装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/519,911 Continuation US20240107427A1 (en) 2021-05-28 2023-11-27 Access method and communication apparatus

Publications (1)

Publication Number Publication Date
WO2022246803A1 true WO2022246803A1 (zh) 2022-12-01

Family

ID=77819496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096783 WO2022246803A1 (zh) 2021-05-28 2021-05-28 接入方法及通信装置

Country Status (4)

Country Link
US (1) US20240107427A1 (zh)
EP (1) EP4333545A4 (zh)
CN (1) CN113455026B (zh)
WO (1) WO2022246803A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115996374A (zh) * 2021-10-19 2023-04-21 华为技术有限公司 一种通信方法、装置及系统
CN116056157A (zh) * 2021-10-28 2023-05-02 惠州Tcl移动通信有限公司 多域场景下节点身份协商、变更、信息交互方法及设备
CN114285873B (zh) * 2021-12-09 2024-01-02 阿波罗智联(北京)科技有限公司 建立通信连接的方法、装置、设备以及存储介质
CN116600371A (zh) * 2022-02-07 2023-08-15 华为技术有限公司 一种通信方法、装置及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170094693A1 (en) * 2015-09-28 2017-03-30 Belden, Inc. Systems and methods for automatic wireless coupling
CN106686729A (zh) * 2015-11-06 2017-05-17 中兴通讯股份有限公司 基于波束的系统广播消息传输方法、装置和系统
CN108521437A (zh) * 2018-02-28 2018-09-11 深圳市大迈科技有限公司 一种局域网设备的搜索方法及搜索系统
CN111797051A (zh) * 2020-06-04 2020-10-20 深圳云天励飞技术有限公司 片上系统、数据传送方法及广播模块
CN111866799A (zh) * 2019-04-30 2020-10-30 华为技术有限公司 资源请求方法、资源分配方法、装置及介质
CN112534843A (zh) * 2018-08-08 2021-03-19 三星电子株式会社 通过使用蓝牙低功耗进行通信的设备和方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5897405B2 (ja) * 2012-05-25 2016-03-30 Kddi株式会社 無線端末がアクセスポイントを探索するタイミングを制御するアクセスポイント発見方法、システム及び無線端末
WO2015054823A1 (zh) * 2013-10-15 2015-04-23 华为技术有限公司 群组接入无线网络的控制方法及相关装置
FI127389B (en) * 2014-05-05 2018-04-30 Silicon Laboratories Finland Oy Procedure and technical device for short-range communication
US9635690B2 (en) * 2014-06-24 2017-04-25 Nokia Technologies Oy Method, apparatus, and computer program product for improving security for wireless communication
CN105516896A (zh) * 2015-12-02 2016-04-20 惠州Tcl移动通信有限公司 一种可穿戴设备与移动终端的蓝牙互连方法及系统
CN108156638B (zh) * 2017-12-29 2020-07-24 Oppo广东移动通信有限公司 检测方法及装置、计算机存储介质
CN110113739B (zh) * 2019-04-15 2021-03-19 联想(北京)有限公司 信息处理方法及电子设备
CN112672328A (zh) * 2019-10-16 2021-04-16 阿里巴巴集团控股有限公司 数据传输方法、装置及设备及环境数据的获取方法
CN112383961A (zh) * 2020-12-02 2021-02-19 中国联合网络通信集团有限公司 随机接入方法和系统、移动终端、基站

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170094693A1 (en) * 2015-09-28 2017-03-30 Belden, Inc. Systems and methods for automatic wireless coupling
CN106686729A (zh) * 2015-11-06 2017-05-17 中兴通讯股份有限公司 基于波束的系统广播消息传输方法、装置和系统
CN108521437A (zh) * 2018-02-28 2018-09-11 深圳市大迈科技有限公司 一种局域网设备的搜索方法及搜索系统
CN112534843A (zh) * 2018-08-08 2021-03-19 三星电子株式会社 通过使用蓝牙低功耗进行通信的设备和方法
CN111866799A (zh) * 2019-04-30 2020-10-30 华为技术有限公司 资源请求方法、资源分配方法、装置及介质
CN111797051A (zh) * 2020-06-04 2020-10-20 深圳云天励飞技术有限公司 片上系统、数据传送方法及广播模块

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4333545A4 *

Also Published As

Publication number Publication date
EP4333545A4 (en) 2024-06-19
US20240107427A1 (en) 2024-03-28
CN113455026A (zh) 2021-09-28
CN113455026B (zh) 2023-09-01
EP4333545A1 (en) 2024-03-06

Similar Documents

Publication Publication Date Title
WO2022246803A1 (zh) 接入方法及通信装置
US10136429B2 (en) Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor
CN107615793B (zh) 以高信道效率、分散式方式在对等站点间传输数据的方法和系统
CN116711449A (zh) 用于多链路对等通信的通信装置和通信方法
US10264038B2 (en) Discovery and management of synchronous audio or video streaming service to multiple sinks in wireless display system
US7593375B2 (en) Medium access control apparatus for use in a channel overlay network
US20080175197A1 (en) Method and system for wireless communication using out-of-band channels
WO2012078007A2 (ko) 무선랜 시스템에서 통신 방법
WO2020135850A1 (zh) 通信方法和装置
WO2021190271A1 (zh) 信号传输方法及装置
WO2019174011A1 (zh) 一种数据传输方法及装置、计算机存储介质
WO2016167885A1 (en) Reduction of channel access delay in wireless systems
JP2011501912A (ja) 通信システムで無線チャンネル資源を共有する方法
WO2016029772A1 (zh) 一种通信方法及设备
CN116548017A (zh) 用于优先化通信量的通信装置和通信方法
US20160134710A1 (en) Communication method in wireless local access network and wireless apparatus therefor
WO2024067687A1 (zh) 信息传输方法、第一通信节点、第二通信节点及存储介质
US8305976B1 (en) Efficient wireless communication network entry for wireless communication devices
US20040258006A1 (en) Apparatus and method for communicating between devices without a piconet coordinator in a piconet
WO2022077351A1 (zh) 通信方法和通信装置
WO2020164636A1 (zh) 设备发现方法、装置及系统
WO2022187996A1 (zh) 一种资源调控方法
EP3941129B1 (en) Wi-fi communication method and apparatus
WO2023272444A1 (zh) 一种通信方法及其通信装置
WO2023130241A1 (en) Methods, devices, and systems for configuring frame structure for sidelink communication between devices

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2021942377

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2021942377

Country of ref document: EP

Effective date: 20231130

NENP Non-entry into the national phase

Ref country code: DE