WO2022222007A1 - 一种网络连接建立方法及相应的装置 - Google Patents

一种网络连接建立方法及相应的装置 Download PDF

Info

Publication number
WO2022222007A1
WO2022222007A1 PCT/CN2021/088208 CN2021088208W WO2022222007A1 WO 2022222007 A1 WO2022222007 A1 WO 2022222007A1 CN 2021088208 W CN2021088208 W CN 2021088208W WO 2022222007 A1 WO2022222007 A1 WO 2022222007A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
module
network connection
communication
wireless communication
Prior art date
Application number
PCT/CN2021/088208
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 CN202180001121.6A priority Critical patent/CN113170377A/zh
Priority to PCT/CN2021/088208 priority patent/WO2022222007A1/zh
Publication of WO2022222007A1 publication Critical patent/WO2022222007A1/zh

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
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present application relates to the field of communication technologies, and in particular, to short-range communication technologies. Specifically, the present application provides a method for establishing a network connection and a corresponding device.
  • a possible implementation method is to establish a network connection between different devices, such as a Bluetooth connection or a wireless fidelity (Wi-Fi) peer-to-peer (P2P) connection. , and then transmit information through the established network connection.
  • a network connection such as a Bluetooth connection or a wireless fidelity (Wi-Fi) peer-to-peer (P2P) connection.
  • Wi-Fi wireless fidelity
  • P2P peer-to-peer
  • the present application provides a method for establishing a network connection and a corresponding device, which are used to realize that when establishing a network connection, there is no need for a user to manually input network connection information, thereby reducing the manual participation of the user, thereby improving user experience and communication efficiency.
  • an embodiment of the present application provides a communication method, and the method can be applied to a first communication device.
  • the first communication device can be a first device, or the first communication device can also be set in the first device.
  • the present application The embodiment is not limited to the specific execution body of the method; the method may include: sending a first scan signal, and receiving configuration information from a second device that is fed back according to the first scan signal, where the configuration information includes the first scan signal.
  • Network connection information of the second device send a request signal to the second device according to the network connection information of the second device, where the request signal is used to request the establishment of a network connection between the first device and the second device ; wherein, the network connection is a network connection corresponding to the first wireless communication technology, and the frequency of the first scanning signal and the frequency of the request signal are located within the working frequency band of the first wireless communication technology.
  • the first device may be the device where the tag reader is located
  • the second device may be the device where the electronic tag is located.
  • the electronic tag may be an active or passive electronic tag.
  • the energy of the first scanning signal is used to supply power to the power supply circuit of the electronic tag, so as to trigger the electronic tag to generate a response signal carrying the configuration information.
  • the first device can establish a network connection with the second device based on the network connection information fed back, without requiring the user to manually input the network connection information of the second device, thereby effectively improving user experience and communication efficiency.
  • the frequency of the first scan signal and the frequency of the request signal may be located in the working frequency band of the first wireless communication technology, the occupation of spectrum resources can be effectively reduced.
  • the configuration information further includes identification information of the second device.
  • the first scan signal is a single tone signal or a signal modulated by a first modulation mode
  • the request signal is a signal modulated by a modulation mode supported by the first wireless communication technology
  • the first modulation mode is different from the modulation mode supported by the first wireless communication technology.
  • the method further includes: sending a second scan signal; receiving identification information from a third device that is fed back according to the second scan signal; the frequency of the second scan signal is located in the within the working frequency band of the first wireless communication technology.
  • the identification information includes identification information of the third device.
  • the first device may also send a second scan signal, and other devices (such as a third device) around the first device receive the second scan signal.
  • the scanning signal can send the identification information of the device to the first device.
  • the first device can scan the surrounding area of the first device as much as possible and can establish a network connection with the first device. In this way, more device information can be provided to the user, and the user can also independently choose the device that he wants to establish a network connection with, improving the user experience.
  • the second scan signal is a signal modulated by using a modulation method supported by the first wireless communication technology.
  • the sending of the first scan signal is before the sending of the second scan signal; the sending duration of the first scan signal is greater than or equal to a first duration threshold, the first duration threshold is pre-defined or configured.
  • the method before sending the first scan signal, the method further includes: acquiring first information, where the first information is used to trigger the sending of the first scan signal.
  • the sending of the second scanning signal is located before the sending of the first scanning signal; the sending duration of the second scanning signal is greater than or equal to a second duration threshold, the second duration threshold is pre-defined or configured.
  • the method before sending the second scan signal, the method further includes: acquiring second information, where the second information is used to trigger the sending of the second scan signal.
  • the method before sending the request signal to the second device, the method further includes: acquiring third information, where the third information is used to trigger sending of the request signal.
  • the first wireless communication technology is Wi-Fi communication technology
  • the network connection is Wi-Fi P2P connection or Wi-Fi AP connection
  • the first wireless communication technology is Bluetooth Communication technology
  • the network connection is a Bluetooth connection.
  • the first wireless communication technology may also be other short-range communication technologies, such as existing or future short-range communication technologies (such as SparkLink) that may be applied in vehicle scenarios, smart homes, or smart manufacturing environments. Short-range communication technology), which can be applied to the needs of more automatic network connections for smart scenarios in the future.
  • an embodiment of the present application provides a communication method, which can be applied to a second communication device, the second communication device can be a second device, or the second communication device can also be set in the second device.
  • the embodiment is not limited to the specific execution body of the method; the method may include: receiving a first scan signal from a first device; in response to the first scan signal, sending configuration information to the first device, the configuration information Including network connection information of the second device; receiving a request signal from the first device, where the request signal is used to request the establishment of a network connection between the first device and the second device; wherein the network connection is The network connection corresponding to the first wireless communication technology, the frequency of the first scanning signal and the frequency of the request signal are located in the working frequency band of the first wireless communication technology.
  • the configuration information further includes identification information of the second device.
  • the first scan signal is a single tone signal or a signal modulated by a first modulation mode
  • the request signal is a signal modulated by a modulation mode supported by the first wireless communication technology
  • the first modulation mode is different from the modulation mode supported by the first wireless communication technology
  • the communication function of the second device corresponding to the first wireless communication technology before receiving the first scan signal from the first device, the communication function of the second device corresponding to the first wireless communication technology is in a dormant state; At the same time as or after the first scanning signal of the first device, the method further includes: activating a communication function corresponding to the first wireless communication technology.
  • the second device when the communication function of the first wireless communication technology is in a dormant state, after receiving the first scan signal, the second device can activate the communication function corresponding to the first wireless communication technology without waiting for the communication function for a long time. Activation based on a user or other conventional settings (for example, periodic activation, etc.), thereby facilitating the rapid establishment of a network connection between the first device and the second device.
  • the first wireless communication technology is Wi-Fi communication technology
  • the network connection is Wi-Fi P2P connection or Wi-Fi AP connection
  • the first wireless communication technology is Bluetooth Communication technology
  • the network connection is a Bluetooth connection.
  • the first wireless communication technology may also be other short-range communication technology.
  • an embodiment of the present application provides a communication apparatus, the apparatus may be a first device, or the apparatus may also be set in the first device; the apparatus may include a first communication module, a communication module with the first communication module A connected first antenna module, a second communication module, and a second antenna module connected to the second communication module; the first communication module is used for: sending a first scanning signal through the first antenna module, and receiving The first configuration information from the second device and fed back according to the first scan signal, the first configuration information includes the network connection information of the second device; the second communication module is used for: according to the first The network connection information of the second device sends a request signal to the second device through the second antenna module, where the request signal is used to request the establishment of a network connection between the first device and the second device; wherein, the The network connection is a network connection corresponding to the first wireless communication technology, and the frequency of the first scanning signal and the frequency of the request signal are located within the working frequency band of the first wireless communication technology.
  • the first communication module may be a communication module of a tag reader
  • the second communication module may be a communication module of a first wireless communication technology, and the two correspond to different communication technologies.
  • the user when the first device establishes a network connection with the second device, the user does not need to manually input the network connection information of the second device, thereby effectively improving user experience and communication efficiency.
  • the frequency of the first scan signal and the frequency of the request signal can be located in the working frequency band of the first wireless communication technology, the occupation of spectrum resources can be effectively reduced.
  • the first configuration information further includes identification information of the second device.
  • the first scan signal is a single tone signal or a signal modulated by a first modulation mode
  • the request signal is a signal modulated by a modulation mode supported by the first wireless communication technology
  • the first modulation mode is different from the modulation mode supported by the first wireless communication technology
  • the second communication module is further configured to: send a second scan signal through the second antenna module, and receive identification information from a third device that is fed back according to the second scan signal ; the frequency of the second scanning signal is located within the working frequency band of the first wireless communication technology.
  • the identification information includes identification information of the third device.
  • the second scan signal is a signal modulated by using a modulation method supported by the first wireless communication technology.
  • the sending of the first scan signal is before the sending of the second scan signal; the sending duration of the first scan signal is greater than or equal to a first duration threshold, the first duration threshold is pre-defined or configured.
  • the apparatus further includes a processing module, the processing module is connected to the first communication module; the processing module is configured to: acquire first information, and report to the first communication module according to the first information
  • the first communication module sends a first control command, where the first control command is used to instruct the first communication module to send the first scan signal.
  • the sending of the second scanning signal is located before the sending of the first scanning signal; the sending duration of the second scanning signal is greater than or equal to a second duration threshold, the second duration threshold is pre-defined or configured.
  • the apparatus further includes a processing module, the processing module is connected to the second communication module; the processing module is configured to: acquire second information, and report to the second communication module according to the second information
  • the second communication module sends a second control command, where the second control command is used to instruct the second communication module to send the second scan signal.
  • the apparatus further includes a processing module, the processing module is connected to the second communication module; the processing module is configured to: acquire third information, and report to the third information according to the third information.
  • the second communication module sends a third control instruction, where the third control instruction is used to instruct the second communication module to send the request signal.
  • the first antenna module and the second antenna module are the same antenna module; the first communication module and the second communication module are selected from the first antenna module through a switch module sexual connection.
  • the first communication module and the second communication module can share the antenna module, thereby saving hardware costs , reduce the size of the device.
  • the apparatus further includes a third communication module and a third antenna module connected to the third communication module; the third communication module is used for: receiving the first communication through the third antenna module Three scan signals, and in response to the third scan signals, sending second configuration information, the second configuration information including network connection information of the first device.
  • the third communication module may be a communication module of an electronic tag.
  • the second configuration information further includes an identifier of the first device.
  • the first antenna module, the second antenna module and the third antenna module are the same antenna module; the device further includes a power divider, and the power divider includes a first The third communication module is connected to the first end of the power divider, and the first communication module and the second communication module are connected to the power divider through a switch module The second end of the power divider is selectively connected, and the first antenna module is connected to the third end of the power divider; wherein, the first end and the second end of the power divider are input ends, and the power divider The third end of the power divider is the output end; or, the third end of the power divider is the input end, and the first end and the second end of the power divider are the output ends.
  • the first communication module, the second communication module and the third communication module can share the antenna module, so that the hardware cost can be saved and the device volume can be reduced.
  • the third communication module is further configured to: send an activation signal to the second communication module, where the activation signal is used to activate a communication function corresponding to the first wireless communication technology.
  • an embodiment of the present application provides a communication apparatus, and the apparatus may be a first device, or the apparatus may also be set in the first device; the apparatus may include a second communication module and a communication module with the second communication module a connected second antenna module; the second communication module is configured to: send a first scan signal through the second antenna module, and receive first configuration information fed back from the second device according to the first scan signal , the first configuration information includes the network connection information of the second device; according to the network connection information of the second device, send a request signal to the second device through the second antenna module, the request signal It is used to request the establishment of a network connection between the first device and the second device; wherein, the network connection is a network connection corresponding to the first wireless communication technology, and the frequency of the first scan signal is the same as the frequency of the request signal. The frequency is within the operating frequency band of the first wireless communication technology.
  • the first scan signal and the request signal can be sent by the second communication module, without setting up an additional communication module to send the first scan signal, thereby effectively saving hardware costs.
  • the first configuration information further includes identification information of the second device.
  • the first scan signal is a single tone signal or a signal modulated by a first modulation mode
  • the request signal is a signal modulated by a modulation mode supported by the first wireless communication technology
  • the first modulation mode is different from the modulation mode supported by the first wireless communication technology
  • the second communication module is further configured to: send a second scan signal through the second antenna module, and receive identification information sent by a third device according to the second scan signal; the The frequency of the second scan signal is within the operating frequency band of the first wireless communication technology.
  • the second scan signal is a signal modulated by using a modulation method supported by the first wireless communication technology.
  • the sending of the first scan signal is before the sending of the second scan signal; the sending duration of the first scan signal is greater than or equal to a first duration threshold, the first duration threshold is pre-defined or configured.
  • the apparatus further includes a processing module, the processing module is connected to the second communication module; the processing module is configured to: acquire first information, and send to the said first information according to the first information.
  • the second communication module sends a first control command, where the first control command is used to instruct the second communication module to send the first scan signal.
  • the sending of the second scanning signal is located before the sending of the first scanning signal; the sending duration of the second scanning signal is greater than or equal to a second duration threshold, the second duration threshold is pre-defined or configured.
  • the apparatus further includes a processing module, the processing module is connected to the second communication module; the processing module is configured to: acquire second information, and report to the second communication module according to the second information
  • the second communication module sends a second control command, where the second control command is used to instruct the second communication module to send the second scan signal.
  • the apparatus further includes a processing module, the processing module is connected to the second communication module; the processing module is configured to: acquire third information, and report to the third information according to the third information.
  • the second communication module sends a third control instruction, where the third control instruction is used to instruct the second communication module to send the request signal.
  • the apparatus further includes a third communication module and a third antenna module connected to the third communication module; the third communication module is used for: receiving the first communication through the third antenna module Three scan signals, and in response to the third scan signals, sending second configuration information, the second configuration information including network connection information of the first device.
  • the second configuration information further includes an identifier of the first device.
  • the second antenna module and the third antenna module are the same antenna module; the device further includes a power divider, and the power divider includes a first end, a second end and a first end.
  • the third communication module is connected to the first end of the power divider, the second communication module is connected to the second end of the power divider, and the second antenna module is connected to the power divider
  • the third end of the power divider is connected to the third end; wherein, the first end and the second end of the power divider are the input ends, and the third end of the power divider is the output end; or, the third end of the power divider is the input end, and the first end and the second end of the power divider are the output end.
  • the third communication module is further configured to: send an activation signal to the second communication module, where the activation signal is used to activate a communication function corresponding to the first wireless communication technology.
  • the second communication module includes a first radio frequency transmit channel, a first radio frequency receive channel and a second radio frequency receive channel; wherein the first radio frequency transmit channel and the first radio frequency receive channel
  • the switch module is selectively connected with the duplexer, the second radio frequency receiving channel is connected with the duplexer, and the duplexer is connected with the second antenna module.
  • an embodiment of the present application provides a communication device, which may be a second device, or the device may also be set in the second device; the device may include a second communication module, a communication module with the second communication module a connected second antenna module, a third communication module, and a third antenna module connected to the third communication module; the third communication module is used for: receiving the first signal from the first device through the third antenna module a scan signal, in response to the first scan signal, send configuration information to the first device, where the configuration information includes network connection information of the second device; the second communication module is configured to: receive the information from the first device a request signal, where the request signal is used to request the establishment of a network connection between the first device and the second device; wherein the network connection is a network connection corresponding to a first wireless communication technology, and the first scan The frequency of the signal and the frequency of the request signal are within the operating frequency band of the first wireless communication technology.
  • the configuration information further includes identification information of the second device.
  • the first scan signal is a single tone signal or a signal modulated by a first modulation mode
  • the request signal is a signal modulated by a modulation mode supported by the first wireless communication technology
  • the first modulation mode is different from the modulation mode supported by the first wireless communication technology
  • the third communication module is further configured to: send an activation signal to the second communication module, where the activation signal is used to activate a communication function corresponding to the first wireless communication technology.
  • the second antenna module and the third antenna module are the same antenna module;
  • the device further includes a power divider, and the power divider includes a first end, a second end and a first end.
  • the third communication module is connected to the first end of the power divider, the second communication module is selectively connected to the second end of the power divider, and the second antenna module is connected to the power divider.
  • the third end of the power divider is connected; wherein, the first end and the second end of the power divider are input ends, and the third end of the power divider is an output end; or, the first end of the power divider is an output end;
  • the three terminals are input terminals, and the first terminal and the second terminal of the power divider are output terminals.
  • the communication devices provided in the third, fourth and fifth aspects correspond to the communication methods provided in the first and second aspects. Therefore, the beneficial effects of the related technical features of the third, fourth and fifth aspects Reference may be made to the descriptions of the first aspect and the second aspect, and details are not repeated here.
  • an embodiment of the present application provides a communication system.
  • the communication system may include the communication device according to the third aspect or the communication device according to the fourth aspect, and the communication device according to the fifth aspect. .
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and when the computer program or instruction is executed by a communication device, the first aspect or the first aspect described above is implemented.
  • an embodiment of the present application provides a computer program product including instructions, the computer program product is used to store a computer program, and when the computer program or the instruction is executed by a communication device, the above-mentioned first aspect or the second aspect is implemented The method described in any of the possible designs of the aspect.
  • an embodiment of the present application provides a chip system or integrated circuit, where the chip system or integrated circuit includes at least one processor and an interface circuit, and the interface circuit is configured to provide programs or instructions for the at least one processor , the at least one processor executes the program or the instruction to implement the method described in any possible design of the first aspect or the second aspect. Further, the interface circuit also provides data to the at least one processor.
  • an embodiment of the present application provides a terminal, where the terminal includes one or more of the communication apparatuses provided in the third, fourth, and fifth aspects.
  • the terminal can be a smart device, and the smart device can be a smart transportation device (such as a car, a drone, a robot, a slow-moving vehicle, etc.), a smart home device (such as a smart refrigerator, a smart audio, a smart TV, etc.) etc.), smart manufacturing equipment or smart wearable devices.
  • FIG. 1 is a schematic structural diagram of an RFID system provided by an embodiment of the present application.
  • 2A is a schematic structural diagram of an RFID electronic tag provided by an embodiment of the application.
  • 2B is a schematic structural diagram of an RFID reader provided by an embodiment of the application.
  • 3A is a schematic structural diagram of a first electronic tag provided by an embodiment of the present application.
  • 3B is a schematic structural diagram of a first reader provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a system architecture to which an embodiment of the present application is applicable.
  • FIG. 5 is an example diagram of an interface displayed by a first device according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart corresponding to the communication method provided in Embodiment 1 of the present application.
  • FIG. 7 is a schematic flowchart corresponding to the communication method provided in Embodiment 2 of the present application.
  • 8A, 8B, 8C, 8D, 8E, and 8F are some possible schematic structural diagrams of the first communication apparatus provided by the embodiments of the present application.
  • FIG. 9A, FIG. 9B, and FIG. 9C are some possible schematic structural diagrams of the second communication apparatus provided by the embodiments of the present application.
  • FIG. 10A , FIG. 10B , and FIG. 10C are further possible schematic structural diagrams of the first communication apparatus provided by the embodiments of the present application;
  • FIG. 11 is a schematic diagram of another possible structure of a second communication apparatus provided by an embodiment of the present application.
  • a network connection may refer to a connection established between different devices using a communication technology (for example, a wireless communication technology), and the connection may be a point-to-point connection or a point-to-multipoint connection.
  • a communication technology for example, a wireless communication technology
  • different wireless communication technologies may correspond to different network connections, for example, the wireless communication technology is Wi-Fi communication technology, then the corresponding network connection may be a Wi-Fi P2P connection or a Wi-Fi access point (access point, AP) connection.
  • the Wi-Fi P2P connection may also be referred to as wireless local area networks (WLAN) direct connection or Wi-Fi direct connection.
  • Wi-Fi P2P connections can make it easy for different devices to connect to each other without the need for intermediary access points. It has a wide range of uses, such as web browsing to file transfer, and can give full play to the power of Wi-Fi. Speed advantage.
  • the wireless communication technology is a Bluetooth communication technology
  • the corresponding network connection may be a Bluetooth connection.
  • the wireless communication technology can also be a general short-range communication technology (such as the SparkLink short-range communication technology), and the application scenarios include but are not limited to vehicle-mounted short-range communication technology, used for smart home, smart manufacturing, or industrial collection, etc. communication technology.
  • a general short-range communication technology such as the SparkLink short-range communication technology
  • the application scenarios include but are not limited to vehicle-mounted short-range communication technology, used for smart home, smart manufacturing, or industrial collection, etc. communication technology.
  • a network connection refers to the information required to establish a network connection, which may include but not limited to one or more of passwords, addresses and other information.
  • the device 1 and the device 2 can perform information transmission through the network connection.
  • the device 1 and the device 2 can perform information transmission through the network connection.
  • the network connection information of device 2 may include the Wi-Fi P2P connection information of device 2, such as the password of the Wi-Fi P2P connection;
  • the P2P connection information may also include other possible information, which is not specifically limited.
  • the network connection information of device 2 may include the Bluetooth connection information of device 2, such as the password of the Bluetooth connection; it is understood that the Bluetooth connection information may also include other possible connections. information, without limitation.
  • the network connection information of the device can be used for other devices to establish a network connection with the device.
  • other devices have not obtained the network connection information of the device, they cannot establish a network connection with the device.
  • the operating frequency bands of devices based on different wireless communication technologies may be the same or different, or may or may not overlap.
  • the working frequency band of the Wi-Fi communication technology is divided into a 2.4 GHz working frequency band and a 5 GHz working frequency band.
  • the frequency range of the 2.4GHz working band is about 2.402GHz-2.483GHz
  • the frequency range of the 5GHz working band is about 5.15GHz-5.85GHz.
  • the working frequency band of the Bluetooth communication technology may be the 2.4G working frequency band.
  • Radio frequency identification (RFID) technology can identify specific targets and read and write related data through wireless signals.
  • the RFID system may include an RFID reader (reader) and an RFID electronic tag (tag).
  • RFID electronic tags also known as electronic tags or transponders, are miniature wireless transceivers. After the electronic tag receives the radio frequency signal sent by the reader through the electronic tag antenna, the information stored in the electronic tag (such as network connection information) can be fed back to the reader through the electronic tag antenna. According to the different energy supply methods of electronic tags, it can be divided into passive tags (passive tags, also known as passive tags), active tags (active tags, also known as active tags), and semi-active tags (semi-active tags).
  • FIG. 2A is a possible schematic structural diagram of an RFID electronic tag, which is a passive tag; as shown in FIG.
  • the RFID electronic tag may include a first antenna, a power supply circuit, a storage and control circuit, and a modulation circuit; Wherein, information (such as network connection information) may be stored in the storage and control circuit.
  • information such as network connection information
  • the first antenna can send the radio frequency signal to the power supply circuit, and the power supply circuit can absorb the energy of the radio frequency signal, and then use the absorbed energy to supply power to the storage and control circuit; and then the storage and control circuit
  • the modulation circuit can be controlled to generate a response signal (the response signal carries network connection information), and fed back to the RFID reader through the first antenna.
  • An RFID reader also known as a tag reader or reader or reader, is a device that can acquire and process data from electronic tags. It can be used as a separate device or embedded in other devices or systems.
  • the reader can send radio frequency signals to the electronic tag through the built-in reader antenna, so as to query or write data to the electronic tag.
  • the reader can also be connected with other devices (for example, a computer) through a communication interface, so as to transmit the data stored locally by the reader or the data obtained from the electronic tag to other devices.
  • FIG. 2B is a schematic diagram of a possible structure of an RFID reader. As shown in FIG. 2B , the RFID reader may include a second antenna, a radio frequency circuit, a processing circuit and a demodulation circuit.
  • the processing circuit can control the radio frequency circuit to generate a radio frequency signal, and send it to the RFID electronic tag through the second antenna; after receiving the response signal fed back by the RFID electronic tag, the second antenna can send the response signal to the demodulation circuit for demodulation. and send the demodulated information to the processing circuit.
  • the inductive coupling way that is, the principle model of the transformer.
  • the law of magnetic induction is generally suitable for short-range RFID systems that work at medium and low frequencies, and the possible operating frequencies include: 125kHz, 225kHz and 13.56MHz.
  • the other is the electromagnetic backscattering coupling method, that is, the radar principle model.
  • the emitted electromagnetic waves are reflected after hitting the target and carry back data at the same time, which is based on the spatial propagation law of electromagnetic waves; the electromagnetic backscattering coupling method is generally suitable for
  • the long-distance radio frequency identification system working with high frequency and microwave the possible working frequencies include: 433MHz, 915MHz, 2.45GHz, 5.8GHz. It can be understood that no matter which coupling method is adopted, the frequency of the radio frequency signal sent by the reader and the frequency of the response signal sent by the electronic tag according to the radio frequency signal are the same.
  • the frequency of the radio frequency signal sent by the reader may be determined by the circuit design of the reader, for example, may be determined by the design of the radio frequency circuit in the reader.
  • the 3A is a schematic structural diagram of an electronic tag provided in an embodiment of the present application.
  • the electronic tag is different from the above-mentioned RFID electronic tag.
  • the embodiment of the present application refers to it as a first electronic tag, and the first electronic tag can be Passive tags.
  • the first electronic tag may be a microwave radiation tag.
  • the first electronic tag includes a first antenna, a first duplexer, a power supply circuit, a microwave amplification by stimulated emission of radiation (MASER), a storage and control circuit, and a modulation circuit.
  • MASER microwave amplification by stimulated emission of radiation
  • the storage and control circuit may store information (such as network connection information); the first duplexer may include two filters, one of which is used to filter the radio frequency signal, and the other filter is used to filter the response signal. Perform filtering.
  • the first antenna can receive the radio frequency signal (or the excitation signal) from the first reader, and after filtering processing by the first duplexer, the excitation signal is sent to the power supply circuit; the power supply circuit can absorb the excitation signal and then use the absorbed energy to power storage and control circuits.
  • the power supply circuit can also send the excitation signal to the maser, and after receiving the excitation signal, the maser outputs the excitation signal.
  • the excitation signal may include a first signal and a second signal, and the frequency of the excitation signal, the frequency of the first signal and the frequency of the second signal are all different.
  • a maser is a microwave amplifying device made by using the stimulated emission principle of a radiation field, which can generate monochromatic coherent microwave radiation with extremely low noise.
  • the maser can receive the excitation signal from the first duplexer, and the excitation signal corresponds to excitation energy (or called pump energy), and the excitation energy pumps the particles of the gain medium to the The high energy level, and the particle at the high energy level is unstable, and two energy level transitions may occur, wherein the two energy level transitions may respectively correspond to the first signal of the first frequency and the second signal of the second frequency. Further, the sum of the first frequency and the second frequency is less than or equal to the frequency of the excitation signal.
  • the modulation circuit receives the excitation signal from the maser, modulates the excitation signal under the control of the storage and control circuit, and sends the modulated signal to the first duplexer, and then to the first reader through the first antenna
  • the server sends a reply signal (eg, the reply signal carries network connection information).
  • FIG. 3B is a schematic structural diagram of a reader provided by an embodiment of the present application.
  • the reader is different from the above-mentioned RFID reader.
  • the embodiment of the present application refers to the reader as a first reader.
  • the first reader may include a second antenna, a second duplexer, a radio frequency circuit (also referred to as an excitation circuit), a demodulation circuit and a processing circuit.
  • the second duplexer may include two filters, wherein one filter is used for filtering the radio frequency signal, and the other filter is used for filtering the response signal.
  • the processing circuit can control the radio frequency circuit to generate a radio frequency signal, which is filtered and processed by the second duplexer, and then sent to the first electronic tag through the second antenna; after the second antenna receives the response signal fed back by the first electronic tag can be filtered through the second duplexer, and then sent to the demodulation circuit for demodulation, and the demodulated information is sent to the processing circuit.
  • the maser in the first electronic tag can output the excitation signal after receiving the excitation signal corresponding to the excitation energy sent by the first reader, and then the first electronic tag can output the excitation signal.
  • a response signal can be sent to the first reader; wherein, the frequency of the excitation signal can be set to a possible frequency according to actual needs, for example, the frequency of the excitation signal can be located in the working frequency band of the Wi-Fi communication technology.
  • the frequency of the radio frequency signal sent by the RFID reader above is the same as the frequency of the response signal sent by the RFID electronic tag according to the radio frequency signal, interference between the radio frequency signal and the response signal is caused;
  • the frequency of the radio frequency signal and the frequency of the response signal fed back by the first electronic tag are different, so that the interference between the radio frequency signal and the response signal can be effectively avoided, and the communication distance between the reader and the electronic tag can be improved.
  • Modulation is the process of processing the information of the signal source and adding it to the carrier to make it into a form suitable for channel transmission. Specifically, one or more of the frequency, amplitude or phase of the carrier wave may be modulated.
  • the modulation modes supported by different wireless communication technologies may be different.
  • the signal sent by the communication module corresponding to the Wi-Fi communication technology in the device may be a signal modulated by a modulation method supported by Wi-Fi communication technology.
  • the modulation scheme supported by the communication technology may include an orthogonal frequency division multiplexing (orthogonal frequency division multiplexing, OFDM) modulation scheme, and may also include other possible modulation schemes.
  • the radio frequency signal sent by the RFID reader or the first reader described above may be a signal modulated by a pulse modulation method, or the radio frequency signal sent by the RFID reader or the first reader may also be a single tone signal , the unmodulated signal.
  • FIG. 4 is a schematic diagram of a system architecture to which an embodiment of the present application is applied.
  • the system architecture may include a first device and a second device.
  • a network connection corresponding to the first wireless communication technology can be established between the first device and the second device, and then information is transmitted through the established network connection.
  • the first wireless communication technology may be Wi-Fi communication technology, or Bluetooth communication technology (including Bluetooth Bluetooth technology, and/or Bluetooth low energy technology), or other possible short-range communication technologies, such as applying The general short-range communication technology for in-vehicle scenarios, smart homes, or smart manufacturing scenarios is not specifically limited.
  • a device that actively initiates a network connection establishment request may be referred to as an initiator device (may be referred to as an initiator for short), and a device that responds to a network connection establishment request of the initiator device may be referred to as a responder device ( may be referred to as the responder for short).
  • an initiator device may be referred to as an initiator for short
  • a responder device may be referred to as the responder for short
  • the first device when the first device actively initiates a network connection establishment request to the second device, the first device is the initiator device, and the second device is the responder device; when the second device actively initiates a network connection establishment request to the first device, The second device is the initiator device, and the first device is the responder device.
  • the first device and the second device may both be electronic devices or smart devices, such as smart phones, tablet computers, in-vehicle devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal computers, etc.
  • a digital assistant personal digital assistant, PDA
  • the embodiments of the present application do not impose any restrictions on the specific type of the electronic device.
  • the first device and the second device may be electronic devices of the same device type, for example, the first device and the second device are both smart phones, or both are tablet computers; or, the first device and the second device may also be different
  • the electronic device of the device type for example, the first device is a tablet computer and the second device is a smart phone, or the first device is a smart phone and the second electronic device is a tablet computer.
  • the first device when the first device supports the first wireless communication technology, the first device can enable or disable different functions corresponding to the first wireless communication technology according to user triggers.
  • the functions corresponding to the first wireless communication technology may include a communication function, a scanning function, and a network connection function. The three functions are described below.
  • the first device After the first device starts the communication function corresponding to the first wireless communication technology, the first device can be discovered or scanned by other devices, that is, the first device can respond to scan signals sent by other devices, such as the first device described below. Two scan signals; and, the first device can respond to a network connection establishment request sent by other devices, and establish a network connection with other devices.
  • the first wireless communication technology is Wi-Fi communication technology
  • the network connection corresponding to the Wi-Fi communication technology is WLAN direct connection.
  • the first device may have a display screen and a touch sensor disposed on the display screen, and the first device may display a main interface on the display screen,
  • the main interface includes icons of various applications (such as Wi-Fi Direct icons).
  • the first device can detect the user's operation on the display screen through the touch sensor disposed on the display screen. After detecting the user's operation of clicking the WLAN direct connection icon in the main interface, the first device can display on the display screen as shown in the figure below.
  • the interface may include a function button 501 for starting the communication function corresponding to the Wi-Fi communication technology, and when the first device detects that the user triggers the function button 501, the communication function corresponding to the Wi-Fi communication technology may be activated.
  • starting the communication function corresponding to the first wireless communication technology may be a prerequisite for starting other functions corresponding to the first wireless communication technology; that is, only after starting the communication function corresponding to the first wireless communication technology, can the communication function be started Corresponding to the scanning function and/or the network connection function of the first wireless communication technology.
  • the first device may actively send a scan signal (such as the first scan signal and/or the second scan signal described below) to discover surrounding areas of the first device.
  • a scan signal such as the first scan signal and/or the second scan signal described below
  • Other devices capable of establishing a network connection with the first device.
  • the first wireless communication technology is Wi-Fi communication technology
  • the network connection corresponding to the Wi-Fi communication technology is WLAN direct connection.
  • the interface may also include a function button 502 for starting the scanning function corresponding to the Wi-Fi communication technology, and the user triggers the function button.
  • the user can also trigger the function button 502.
  • the first device detects that the user triggers the function button 502, it can start the scanning function corresponding to the Wi-Fi communication technology.
  • the first device may initiate a network connection request to another device to establish a network connection between the first device and the other device.
  • the first wireless communication technology is Wi-Fi communication technology
  • the network connection corresponding to the Wi-Fi communication technology is WLAN direct connection.
  • the first device when the first device starts the scanning function corresponding to the Wi-Fi communication technology, it can find other devices around the first device that can establish a network connection with the first device (these devices can be called candidate device), the first device may display the identification information of the candidate device to the user, see the interface shown in (d) in FIG. 5 .
  • the identification information of the device may include brand information and series information of the device, or may also include other information for identifying the device, which is not specifically limited.
  • the first device can activate the network connection function corresponding to the first wireless communication technology according to the user's trigger, and send a request signal to the candidate device. for establishing a network connection between the first device and the candidate device.
  • the communication function corresponding to the first wireless communication technology and the scanning function may also be combined, that is, when the first device starts the corresponding first wireless communication technology After the communication function of a wireless communication technology, the first device can also actively send a scan signal to discover other devices around the first device that can establish a network connection with the first device;
  • the communication function, the scanning function, and the network connection function are combined; alternatively, the scanning function corresponding to the first wireless communication technology and the network connection function may be combined, which is not limited in this embodiment of the present application.
  • the first device when the first device discovers the second device through scanning, the first device obtains the identification information of the second device, but cannot obtain the identification information of the second device.
  • Network connection information to the second device if the first device needs to establish a network connection with the second device, the first device will prompt the user to enter the network connection information of the second device on the display interface of the first device, and then based on the user input
  • the network connection information of the device establishes a network connection with the second device. In this way, the user's operation is greatly inconvenienced, and the efficiency of establishing a network connection is low.
  • a two-dimensional code can be used to assist in establishing a network connection.
  • the device can publish its network connection information in the form of a two-dimensional code.
  • the Wi-Fi P2P connection information of the second device can be preset.
  • the second device Generate a QR code based on the Wi-Fi P2P connection information, and paste the QR code on the surface of the second device.
  • the user can open a specific application installed in the first device to scan the QR code to obtain the Wi-Fi of the second device. P2P connection information, and then the first device can establish a Wi-Fi P2P connection with the second device according to the Wi-Fi P2P connection information of the second device. In this way, the user does not need to manually input the network connection information of the second device on the input interface of the first device.
  • an embodiment of the present application provides a communication method, in which a first device sends a first scan signal, and receives configuration information sent by a second device according to the first scan signal, where the configuration information includes the configuration information of the second device. network connection information; and then the first device may send a request signal to the second device according to the network connection information of the second device, where the request signal is used to request the establishment of a network connection between the first device and the second device.
  • the first device establishes a network connection with the second device, the user does not need to manually input the network connection information of the second device, thereby effectively improving user experience and communication efficiency.
  • the network connection between the first device and the second device may be a network connection corresponding to the first wireless communication technology, and the frequency of the first scanning signal and the frequency of the request signal may be located in the working frequency band of the first wireless communication technology, thereby enabling Effectively reduce the occupation of spectrum resources.
  • FIG. 6 is a schematic flowchart corresponding to the communication method provided in Embodiment 1 of the present application.
  • description will be given by taking the network connection as a network connection corresponding to the first wireless communication technology as an example.
  • the method may include:
  • the first device sends a first scan signal.
  • the first device may send the first scan signal.
  • the first information is used to trigger the sending of the first scanning signal, or the first information is used to start the scanning function corresponding to the first wireless communication technology.
  • the first information may be generated according to the user's first operation.
  • the user's first operation may refer to the user triggering the function button 502 .
  • the frequency of the first scan signal may be located within the operating frequency band of the first wireless communication technology, for example, the frequency of the first scan signal may be the same as the frequency of the request signal described below.
  • the first scan signal may be a single tone signal, or the first scan signal may be a signal modulated by a first modulation mode, and the first modulation mode is different from the modulation mode supported by the first wireless communication technology.
  • the first modulation mode may be Pulse modulation or other possible modulations. It should be noted here that the first modulation scheme is different from any modulation scheme supported by the first wireless communication technology.
  • the first device may include the RFID reader described above, and the first scan signal may be a radio frequency signal sent by the RFID reader; as another possible implementation, the first device may include For the first reader described above, the first scan signal may be a radio frequency signal sent by the first reader.
  • the second device receives the first scan signal from the first device, and in response to the first scan signal, sends a first response signal to the first device, where the first response signal carries the configuration information of the second device, the configuration of the second device
  • the information includes network connection information of the second device.
  • configuration information of the second device may also include identification information of the second device, and other possible information, which is not specifically limited.
  • the second device can determine whether the communication function corresponding to the first wireless communication technology is in a dormant state, and if in the dormant state, it can activate the communication function corresponding to the first wireless communication technology. For example, after the second device starts the communication function corresponding to the first wireless communication technology, if no other device establishes a network connection with the second device within a set period of time, the second device can initiate the communication corresponding to the first wireless communication technology.
  • the function is set to a sleep state, thereby saving power consumption; wherein, the duration of the set time period can be predefined or configured, and is not specifically limited.
  • the communication function corresponding to the Wi-Fi communication technology is in a dormant state, which may mean that the second device turns off the part corresponding to the Wi-Fi communication technology or All modules, for example, the second device closes the radio frequency receiving channel for receiving Wi-Fi signals (that is, the signals modulated by the modulation method supported by the Wi-Fi communication technology); for another example, the second device closes the radio frequency receiving channel for receiving Wi-Fi signals
  • the radio frequency receiving channel of the signal, and the device in the baseband module for processing the Wi-Fi signal received through the radio frequency receiving channel is turned off.
  • the frequency of the first scan signal and the frequency of the first reply signal may be the same.
  • the first device may include the RFID reader described above
  • the second device may include the RFID electronic tag described above
  • the RFID electronic tag stores the second device.
  • the RFID electronic tag can send a first response signal to the RFID reader according to the first scan signal, and the first response signal carries the configuration information of the second device.
  • the frequency of the first scan signal and the frequency of the first response signal may also be different. Since the frequency of the first scan signal and the frequency of the first response signal are not the same, the frequency of the first scan signal and the first response signal can be avoided. It can effectively increase the communication distance.
  • the first device may include the first reader described above
  • the second device may include the first electronic tag described above
  • the first electronic tag stores configuration information of the second device; further, after receiving the first scan signal, the first electronic tag can send a first response signal to the first reader according to the first scan signal, and the first response signal carries the information of the second device. configuration information.
  • the first device and the second device may negotiate the transmission rate first (for example, the RFID reader in the first device and the RFID electronic tag in the second device may negotiate the transmission rate first, or the first device The first reader in the device and the first electronic tag in the second device can negotiate the transmission rate first), for example, the first device selects one transmission rate from a variety of preset transmission rates, and indicates to the second device , and then the second device may send the configuration information of the second device to the first device based on the transmission rate indicated by the first device.
  • the first device and the second device may negotiate the transmission rate first (for example, the RFID reader in the first device and the RFID electronic tag in the second device may negotiate the transmission rate first, or the first device The first reader in the device and the first electronic tag in the second device can negotiate the transmission rate first), for example, the first device selects one transmission rate from a variety of preset transmission rates, and indicates to the second device , and then the second device may send the configuration information of the second device to the first device based on the transmission rate indicated by the first device.
  • the first device sends a request signal to the second device according to the network connection information of the second device, where the request signal is used to request to establish a network connection between the first device and the second device.
  • the sending of the first scan signal and the feedback of the first configuration information are before the network connection corresponding to the first wireless communication technology, and therefore do not belong to the first wireless communication technology. It can also be understood that the present application realizes fast and efficient network connection by integrating two communication technologies.
  • the request signal may be a signal modulated by a modulation method supported by Wi-Fi, Bluetooth, or other short-range communication technologies.
  • the first device may send inquiry information to the user, and the inquiry information is used to inquire whether the user needs to establish a network connection with the second device.
  • the first device can display a dialog box on the display screen. Yes"
  • the first device can obtain the third information, and the third information is used to trigger the sending of the request signal, or the third information is used to start the network connection function corresponding to the first wireless communication technology.
  • the third information is generated according to the user triggering the "Yes" operation, and then the first device can send a request signal to the second device according to the third information.
  • the first device after receiving the network connection information of the second device, the first device can directly send a request signal to the second device without asking the user, thereby effectively simplifying the user's operation.
  • the first device can also display the identification information of the second device and the identification information of the device A to the user, so that the user can select the device that wants to establish a network connection, that is, can receive the confirmation information from the user, to determine the device that needs to establish a network connection.
  • the first device can obtain the third information.
  • the third information is generated according to the operation of the user selecting the second device, and then the first device can send the second device to the second device according to the third information.
  • a device among the plurality of devices may also be determined according to pre-defined or configured priority information to establish a network connection.
  • the priority information may indicate a priority connection order of multiple devices or multiple configuration information. For example, when the first device receives the configuration information of the second device and the configuration information of device A, the priority information is used to indicate that the priority of the second device is higher than that of device A, or the configuration indicated by the configuration information of the second device is higher than that of device A. If the priority is higher than the priority of the configuration indicated by the configuration information of the device A, the first device sends the request signal to the second device.
  • the second device receives the request signal, and establishes a network connection with the first device according to the request signal.
  • the request signal may carry the network connection information of the second device.
  • the second device may verify the network connection information of the second device carried by the request signal.
  • the signal establishes a network connection with the first device. If the verification fails, the establishment of a network connection with the first device may be refused.
  • the second device may verify the network connection information of the second device carried in the request signal in various ways. For example, the second device may compare the network connection information of the second device carried in the request signal with the second device in the second device. The stored network connection information is compared, and if the two are consistent, it can be determined that the verification has passed, and if the two are inconsistent, it can be determined that the verification has not passed.
  • the first device can obtain the network connection information of the second device by sending the first scan signal, and then realize the request for network connection, without the need for the user to manually input the network connection information of the second device, which can effectively improve user experience and communication efficiency.
  • the network connection between the first device and the second device may be a network connection corresponding to the first wireless communication technology, and the frequency of the first scanning signal may be located in the working frequency band of the first wireless communication technology, thereby effectively reducing the need for spectrum resources. occupancy.
  • FIG. 7 is a schematic flowchart corresponding to the communication method provided by Embodiment 2 of the present application. As shown in Figure 7, the method may include:
  • the first device acquires first information, where the first information is used to trigger sending of a first scan signal.
  • the first device sends a first scan signal.
  • the frequency of the first scan signal may be located within the working frequency band of the first wireless communication technology, for example, the frequency of the first scan signal may be the same as the frequency of the request signal (such as request signal 1 or request signal 2) described below.
  • the first scan signal may be a single tone signal, or the first scan signal may be a signal modulated by a first modulation mode, and the first modulation mode is different from the modulation mode supported by the first wireless communication technology.
  • the first modulation mode may be Pulse modulation or other possible modulations.
  • the first device may include the RFID reader described above, and the first scan signal may be a radio frequency signal sent by the RFID reader.
  • the first device may include the first reader described above, and the first scan signal may be a radio frequency signal sent by the first reader.
  • other devices around the first device receive the first scan signal, and identify the first scan signal.
  • other devices around the first device may include the second device, and may also include other possible devices such as the third device, which are not specifically limited.
  • the second device determines that it can identify the first scan signal, and sends a first response signal to the first device according to the first scan signal, where the first response signal carries the configuration information of the second device.
  • the configuration information of the second device may include network connection information of the second device, and optionally, the configuration information of the second device may further include identification information of the second device.
  • the third device determines that the first scan signal cannot be recognized or that the first scan signal is an invalid signal, and may not respond to the first scan signal.
  • the first scan signal may be a radio frequency signal sent by the first reader.
  • the second device includes the first electronic tag described above, and the first electronic tag stores the configuration information of the second device, after receiving the first scan signal, the second device can Identifying the first scanning signal, that is, after the maser in the first electronic tag included in the second device receives the first scanning signal, it can output an excitation signal, and then the first electronic tag can report to the first electronic tag included in the first device.
  • a reader feeds back the first response signal.
  • the third device does not include the first electronic tag described above, because the first scan signal is a single tone signal or a signal modulated by the first modulation method, or in other words, the first scan signal is not obtained by the third device.
  • a signal modulated by a modulation method supported by a supported wireless communication technology such as the first wireless communication technology, therefore, after receiving the first scanning signal, the third device cannot identify the first scanning signal.
  • the second device can determine whether the communication function corresponding to the first wireless communication technology is in a dormant state, and if in the dormant state, it can activate the communication function corresponding to the first wireless communication technology.
  • the first device sends a second scan signal.
  • the second scan signal may be a signal modulated by using a second modulation mode
  • the second modulation mode may be a modulation mode supported by the first wireless communication technology
  • the transmission of the first scan signal precedes the transmission of the second scan signal.
  • the first device may first send the first scan signal, and when the duration of sending the first scan signal is greater than or equal to the first duration threshold, it may stop sending the first scan signal and start sending the second scan signal. scan signal.
  • the duration of sending the second scan signal is greater than or equal to the second duration threshold, the sending of the second scan signal may be stopped, thereby completing the scan.
  • the first duration threshold and the second duration threshold may be predefined or configured; the first duration threshold and the second duration threshold may be the same or different.
  • the first duration threshold may be related to the duration required for other devices around the first device to respond to the first scan signal, for example, the first duration threshold may be greater than or equal to the other devices around the first device responding to the first scan signal.
  • the length of time required to scan a signal if the value of the first duration threshold is large, the scanning process may take a long time. Therefore, in the specific implementation, the duration required for other devices around the first device to respond to the first scan signal may be combined and the duration of the scanning process to define or configure the first duration threshold.
  • the second duration threshold reference may be made to the description of the first duration threshold.
  • the second duration threshold may be defined or configured in combination with the duration required by other devices around the first device to respond to the second scan signal and the duration of the scanning process.
  • the second device determines that it can recognize the second scan signal, and then sends a second response signal to the first device according to the second scan signal (for the convenience of description, referred to as the second response signal 1)
  • the first The second response signal 1 carries the identification information of the second device.
  • the third device determines that it can recognize the second scan signal, and then sends a second response signal to the first device according to the second scan signal (for convenience of description, referred to as the second response signal 2)
  • the second response signal 2 carries the identification information of the third device.
  • the second scan signal is a signal modulated by a modulation method supported by the first wireless communication technology
  • the second device or the third device supports the first wireless communication technology
  • the first device acquires third information, where the third information is used to trigger the sending of a request signal (referred to as request signal 1 for ease of description), and the request signal 1 is used to request the establishment of a network between the first device and the second device connect.
  • request signal 1 a request signal
  • This step is optional. In the case where the third information triggering request signal 1 is not required, this step is not performed.
  • the third information is used to trigger the sending of the request signal 1, or the third information is used to activate a network connection function corresponding to the first wireless communication technology.
  • the third information may be generated according to the second operation of the user, for example, the first device may scan the acquired identification information of other devices around the first device (such as the second device and the first device described above). three devices) is displayed to the user, as shown in (d) in FIG. 5 , the second operation of the user may refer to the user clicking on the identification information of the second device.
  • the first device sends a request signal 1 to the second device according to the network connection information of the second device.
  • the first device acquires the third information, it can determine whether it has acquired the network connection information of the second device, and if so, it can send a request signal 1 to the second device.
  • this step S707 can be directly executed.
  • the second device receives the request signal 1, and establishes a network connection with the first device according to the request signal 1.
  • This embodiment of the present application does not specifically limit the process of actually establishing a network connection.
  • the transmission of the first scan signal is located before the transmission of the second scan signal; in other possible embodiments, the transmission of the second scan signal is also may precede the transmission of the first scan signal.
  • the first device acquires the second information, the second information is used to trigger the sending of the second scan signal, and the first device may first send the second scan signal, when the duration of sending the second scan signal is greater than or equal to the second duration threshold When the first scan signal is sent, the sending of the second scan signal can be stopped and the first scan signal can be sent; when the duration of sending the first scan signal is greater than or equal to the first duration threshold, the first scan signal can be stopped to complete the scan.
  • the second information may also be generated according to the user's first operation, that is, the first information and the second information may be the same information; when the first device acquires the first information (or the second information) , whether to send the first scan signal first and then the second scan signal, or to send the second scan signal first and then the first scan signal, may depend on the internal implementation of the first device, or may be pre-defined or configured. limited.
  • the fourth information is used to trigger the sending of the request signal 2
  • the request signal 2 is used to request the establishment of the relationship between the first device and the third device
  • the fourth information is generated according to the third operation of the user.
  • the third operation of the user may be that the user clicks on the identification information of the third device. Since the first device does not obtain the network connection information of the third device Therefore, the first device may prompt the user to input the network connection information of the third device on the display screen, and then send the request signal 2 to the third device according to the network connection information of the third device input by the user.
  • the first device can send the first scan signal and the second scan signal, so as to scan the devices around the first device that can establish a network connection with the first device as much as possible, so that the user can choose to establish a network Connected devices to improve user experience.
  • the first device can obtain the network connection information of the second device by sending the first scan signal, so that when the first device establishes a network connection with the second device, the user does not need to manually input the network connection information of the second device, and can Effectively improve user experience and communication efficiency.
  • the network connection between the first device and the second device may be a network connection corresponding to the first wireless communication technology, and the frequency of the first scanning signal may be located in the working frequency band of the first wireless communication technology, thereby effectively reducing the frequency of Occupation of resources.
  • step numbers of the flowcharts described in Embodiment 1 and Embodiment 2 are only an example of the execution process, and do not constitute a restriction on the sequence of execution of the steps. There is no sequence in the embodiments of the present application. There is no strict order of execution between the steps of a dependency. In addition, not all the steps shown in each flowchart are steps that must be executed, and some steps may be added or deleted on the basis of each flowchart according to actual needs.
  • an embodiment of the present application further provides a communication device, and the communication device provided by the embodiment of the present application may be a first communication device or a second communication device.
  • the first communication device may be used to implement the function on the first device side in the first embodiment or the second embodiment.
  • the first communication device may be the first device, or the first communication device may also be provided in the first device.
  • the first communication device is a chip system or an integrated circuit in the first device
  • the second communication device may be used to implement the function of the second device side in the first embodiment or the second embodiment, such as the second communication device It may be the second device, or the second communication device may also be provided in the second device, for example, the second communication device is a chip system or an integrated circuit in the second device.
  • the structure of the first communication device will be described below.
  • FIG. 8A is a schematic structural diagram of a possible first communication device.
  • the first communication device may include a first communication module, a first antenna module connected to the first communication module, a second communication module, and a second antenna module connected to the second communication module.
  • the first communication module may be used for: sending the first scan signal through the first antenna module, and receiving configuration information of the other device sent by other devices (such as the second device) according to the first scan signal.
  • the second communication module may be a communication module corresponding to the first wireless communication technology, for example, the first wireless communication technology is Wi-Fi communication technology, and the second communication module may be used for: sending a request signal through the second antenna module, and the request signal is used for Request to establish a network connection between the first device and the second device.
  • the second communication module may be further configured to: send the second scan signal through the second antenna module, and receive the identification information of the other device sent by the other device (eg, the third device) according to the second scan signal.
  • the first communication device may further include a processing module, and the processing module may be connected to the first communication module and the second communication module, respectively.
  • the processing module may be configured to perform one or more of the following: obtain first information, where the first information is used to trigger sending of the first scan signal; send a first control instruction to the first communication module, the first A control instruction is used to instruct the first communication module to send the first scanning signal; or, after determining that the duration of sending the first scanning signal by the first communication module is greater than or equal to the first duration threshold, the second control instruction is sent to the second communication module, The second control instruction is used to instruct the second communication module to send the second scan signal.
  • the processing module may be configured to perform one or more of the following: obtain second information, where the second information is used to trigger sending of the second scan signal; send a second control instruction to the second communication module, The second control instruction is used to instruct the second communication module to send the second scan signal; or, after it is determined that the duration of sending the second scan signal by the second communication module is greater than or equal to the second duration threshold, the first control instruction is sent to the first communication module , and the first control instruction is used to instruct the first communication module to send the first scan signal.
  • processing module may also be used to: acquire third information, where the third information is used to trigger the sending of the request signal; and/or send a third control instruction to the second communication module, where the third control instruction is used to instruct the second communication
  • the module sends a request signal, where the request signal is used to request to establish a network connection between the first device and the second device.
  • the above-mentioned first communication module and the first antenna module may belong to the RFID reader described above; as another possible implementation, the above-mentioned first communication module and the first antenna module may also belong to the above-mentioned RFID reader.
  • the first scan signal may be a radio frequency signal sent by the first reader.
  • the processing module, the second communication module, and the second antenna module in the first communication device are introduced below.
  • the processing module may include one or more processing units, and different processing units may be independent devices, or two or more different processing units may be integrated in one device.
  • the processing module may include an application processor (application processor, AP), and the processing module is configured to run the operating system and/or application program installed in the first device, manage the software and hardware resources of the first device, and may be The user provides a user interface.
  • application processor application processor
  • the second communication module may be used to implement a communication function, a scanning function, a network connection function, etc. of the first device corresponding to the first wireless communication technology.
  • the second communication module may include a baseband module and a radio frequency module.
  • the baseband module may be responsible for managing the software and hardware resources of the second communication module, and may configure relevant working parameters of the radio frequency module.
  • the baseband module is used to process the baseband signal, for example, the baseband module can extract useful information or data bits from the baseband signal, or convert the information or data bits into the baseband signal to be sent. These information or data bits may be data representing user data or control information such as voice, text, video, etc.
  • the baseband module may implement signal processing operations such as modulation and demodulation, encoding and decoding.
  • the baseband module may also be referred to as a baseband processing chip or a baseband chip.
  • the radio frequency module may include a radio frequency integrated circuit (RFIC) and a radio frequency front end (RFFE) device.
  • the radio frequency integrated circuit may also be called a radio frequency processing chip or a radio frequency chip, and the radio frequency integrated circuit is also sometimes called a receiver (receiver), transmitter (transmitter) or transceiver (transceiver).
  • the second antenna module can sometimes be considered as a part of the radio frequency module, and can be integrated into the radio frequency chip. It is understandable that the radio frequency module may also use different devices or different integration methods based on the requirements of power consumption and performance, which is not limited in this embodiment of the present application.
  • the radio frequency module may include a low noise amplifier (low noise amplifier, LNA), a power amplifier (power amplifier, PA), a mixer (mixer) and other devices, these devices can be according to needs. integrated into one or more chips.
  • LNA low noise amplifier
  • PA power amplifier
  • mixer mixer
  • the radio frequency signal is usually an analog signal
  • the signal processed by the baseband module is mainly a digital signal
  • an analog-to-digital conversion device is also required.
  • the analog-to-digital conversion device may be provided in the baseband module or in the radio frequency module.
  • the analog-to-digital conversion device includes an analog-to-digital converter (ADC) that converts an analog signal to a digital signal, and a digital-to-analog converter (DAC) that converts a digital signal to an analog signal.
  • ADC analog-to-digital converter
  • DAC digital-to-analog converter
  • the radio frequency module may include a radio frequency receiving channel and a radio frequency transmitting channel.
  • the radio frequency receiving channel may include ADC, LNA, mixer and other devices
  • the radio frequency receiving channel may receive the radio frequency signal through the second antenna module, process the radio frequency signal (such as amplifying, down-converting) to obtain the baseband signal, and transmit it to the baseband module.
  • the RF transmission channel can include DAC, mixer, PA and other devices.
  • the RF transmission channel can receive the baseband signal from the baseband module, process the baseband signal (such as up-conversion, amplification) to obtain the RF signal, and finally pass through the second antenna module This radio frequency signal is radiated into space in the form of electromagnetic waves.
  • the frequency of the transmitted signal and the frequency of the received signal may be the same.
  • the radio frequency receiving The channel and the radio frequency transmission channel can be connected to the antenna module through the switch module and filter; when the signal is transmitted, by controlling the switch module, the radio frequency transmission channel can be connected to the filter and the antenna module, and when the signal is received, the control switch module, which can connect the radio frequency receiving channel with the filter and the antenna module.
  • FDD frequency division duplex
  • the receiving channel and the RF transmitting channel can be connected to the antenna module through a duplexer, wherein the duplexer can include at least two filters, one of which is used for filtering the transmit signal, and the other filter is used for filtering the received signal deal with.
  • the switch module involved in the embodiments of the present application may be a module with a switch function, such as a single pole double throw switch (single pole double throw, SPDT), a metal-oxide semiconductor field effect transistor (metal-oxide semiconductor field effect transistor) Field-effect transistor, MOSFET), etc.
  • a switch function such as a single pole double throw switch (single pole double throw, SPDT), a metal-oxide semiconductor field effect transistor (metal-oxide semiconductor field effect transistor) Field-effect transistor, MOSFET), etc.
  • the specific implementation of the switch module is not limited in the embodiments of the present application.
  • the second antenna module may be an antenna corresponding to the first wireless communication technology, and the second antenna module may include one or more antennas.
  • the structures illustrated in the above-mentioned FIG. 8A , FIG. 8B and FIG. 8C do not constitute a specific limitation on the first communication device.
  • the first communication apparatus may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the first communication module and the first antenna module belong to the first reader described above as an example (when the first communication module and the first antenna module belong to the RFID reader described above, you can refer to the first communication module and the first reader described above.
  • An antenna module belongs to the implementation of the first reader), because the frequency of the radio frequency signal (such as the first scanning signal) transmitted by the first reader can be located in the working frequency band of the first wireless communication technology, that is, the working frequency band of the first reader.
  • the working frequency band of the first wireless communication technology may be the same.
  • the second communication module and the second antenna module corresponding to the first wireless communication technology may perform part or all of the functions of the first reader, or the first reader to perform part or all of the functions of the second communication module and the second antenna module corresponding to the first wireless communication technology, thereby simplifying hardware design and saving hardware costs.
  • the function of the first antenna module may be performed by the second antenna module, or the function of the second antenna module may be performed by the first antenna module, that is, the first antenna module and the second antenna module are the same antenna module. That is, the first communication module and the second communication module transmit signals through the same antenna module.
  • FIG. 8D it is a schematic structural diagram of a possible first communication device when the first antenna module and the second antenna module are the same antenna module. As shown in FIG. 8D , the first communication module and the second communication module can be selectively connected to the second antenna module (or the first antenna module) through the switch module.
  • the processing module can control the switch module so that the first communication module is connected to the second antenna module, and the second communication module is disconnected from the second antenna module; when When the second communication module needs to send or receive signals, the processing module can control the switch module so that the second communication module is connected to the second antenna module, and the first communication module is disconnected from the second antenna module.
  • the second communication module can send a complex modulated signal (such as a signal modulated by OFDM modulation)
  • the second communication module can be given to send a simple modulated signal (such as a signal modulated by pulse modulation) or a single tone.
  • Signal capability that is, the function of the first communication module can be implemented by the second communication module, so that the first communication device does not need to include the first communication module or the second communication module and the first communication module are in the same communication module.
  • FIG. 8E it is a schematic diagram of a possible structure of the first communication device when the first antenna module and the second antenna module are the same antenna module, and the function of the first communication module is implemented by the second communication module.
  • the first communication apparatus may include a processing module, a second communication module, and a second antenna module (or a first antenna module).
  • FIG. 8D and FIG. 8E provide two possible examples of simplified hardware design.
  • the function of the first communication module is completely performed by the second communication module.
  • the first communication module and the second communication module may share some devices.
  • the second communication module when the function of the first communication module (such as the first reader) is implemented by the second communication module, due to the signal interaction between the first reader and the first electronic tag, the The frequency of the radio frequency signal transmitted by a reader is different from that of the response signal fed back by the first electronic tag according to the radio frequency signal. Therefore, when the second communication module adopts the time division duplex method to transmit and receive signals, it may cause the second communication module After the radio frequency signal is sent, the response signal sent by the first electronic tag cannot be received.
  • the second communication module can be improved, such as adding a new radio frequency receiving channel, so that the second communication module can pass the newly added channel.
  • the radio frequency receiving channel is used to receive the response signal sent by the first electronic tag.
  • FIG. 8F it is another possible structural schematic diagram of the first communication device when the first antenna module and the second antenna module are the same antenna module, and the function of the first communication module is implemented by the second communication module.
  • the RF transmit channel and the RF receive channel 1 are connected to the second antenna module through a switch module and a duplexer (that is, the RF transmit channel and the RF receive channel 1 can transmit and receive signals through TDD), and the RF receive channel Channel 2 can be connected to the second antenna module through a duplexer.
  • the duplexer may include at least two filters, one of which is used to filter the signal transmitted by the radio frequency transmit channel and the signal to be received by the radio frequency receive channel 1, and the other filter is used to filter the signal to be received by the radio frequency receive channel 2 signal is filtered. It should be noted that, in this embodiment of the present application, the number of filters included in the duplexer may not be specifically limited, as long as the above-mentioned corresponding filtering processing can be implemented.
  • the second communication module can transmit the radio frequency signal and receive the response signal in a time division duplex manner without adding an additional radio frequency receiving channel.
  • the structure of the second communication device will be described below.
  • FIG. 9A is a schematic diagram of a possible structure of the second communication device.
  • the second communication device may include a second communication module, a second antenna module connected to the second communication module, a third communication module, and a third antenna module connected to the third communication module.
  • the third communication module can be used to: receive the first scan signal from the first device through the third antenna module; and send a first response signal to the first device according to the first scan signal, where the first response signal carries the second Device configuration information.
  • the second communication module may be used for: receiving a request signal from the first device, and establishing a network connection between the first device and the second device according to the request signal.
  • the second communication device may further include a processing module, and the processing module may be connected to the second communication module.
  • the above-mentioned third communication module and the third antenna module may belong to the RFID electronic tags described above; as another possible implementation, the above-mentioned third communication module and the third antenna module may belong to the above-described RFID tags
  • the first response signal may be the response signal sent by the first electronic tag.
  • the function of the second communication module in the second communication device corresponds to the second communication module in the above-mentioned first communication device, so for its specific structure, please refer to the above description about the structure of the second communication module in the first communication device, It will not be repeated here.
  • FIG. 9B is a schematic diagram of yet another possible structure of the second communication device.
  • the third communication module can be connected with the second communication module, and the third communication module is further used for: sending an activation signal to the second communication module, and the activation signal is used to activate the corresponding first wireless communication module.
  • the communication function of the communication technology, or in other words, the activation signal is used to wake up the communication function corresponding to the first wireless communication technology from the sleep state.
  • the second communication module in the second communication apparatus may implement the communication function, scanning function, network connection function, etc. of the second device corresponding to the first wireless communication technology (eg, Wi-Fi). After the second device starts the communication function corresponding to the Wi-Fi communication technology, other devices (such as the first device) can discover the second device by scanning, and then establish a Wi-Fi P2P connection with the second device.
  • the first wireless communication technology eg, Wi-Fi
  • the second device can Set the communication function corresponding to the Wi-Fi communication technology to the dormant state, for example, the RF receiving channel in the RF module can be turned off (such as the RF receiving channel shown in Figure 8B or Figure 8C, or the RF receiving channel shown in Figure 8F. 1), optionally, the device in the baseband module for processing the signal received through the radio frequency receiving channel can also be turned off.
  • the RF receiving channel in the RF module can be turned off (such as the RF receiving channel shown in Figure 8B or Figure 8C, or the RF receiving channel shown in Figure 8F. 1), optionally, the device in the baseband module for processing the signal received through the radio frequency receiving channel can also be turned off.
  • the second communication module does not receive the Wi-Fi signal (that is, the signal modulated by the modulation method supported by the Wi-Fi communication technology), thus causing other The device cannot establish a Wi-Fi P2P connection with the second device.
  • the first device obtains the network connection information of the second device by sending the first scan signal, and sends a request signal to the second device according to the network connection information, but due to the communication function of the second device corresponding to the Wi-Fi communication technology Being in a dormant state, the second device cannot receive the request signal, thereby causing the first device to fail to establish a network connection with the second device.
  • the third communication module may include a detection module, and the detection module is configured to send an activation signal to the second communication module.
  • the detection module may be a diode detection circuit, and the diode detection circuit may include an input loop, a diode and an RC low-pass filter, and the first end of the detection module (ie, the input end of the diode detection circuit) and the first duplexer connected to each other, charge and discharge the capacitor through the received radio frequency signal (such as the first scanning signal), control the conduction and cut-off of the diode, and finally achieve dynamic balance; the second end of the detection module (ie the output end of the diode detection circuit) Can output detection voltage signal.
  • the greater the power of the received radio frequency signal the greater the voltage of the detection voltage signal.
  • the detection module can be used to determine whether the power of the radio frequency signal is greater than the power threshold.
  • the first end of the detection module is connected to the first duplexer.
  • the detection module can receive the radio frequency signal, and Output detection voltage signal.
  • the detection voltage signal is a high-level signal; when the power of the radio frequency signal is less than the power
  • the threshold value is reached (indicating that the radio frequency signal is an invalid radio frequency signal, and the third communication module does not respond to the radio frequency signal)
  • the detection voltage signal is a low-level signal.
  • the power threshold may be calculated and determined according to the maximum likelihood detection theory or other possible signal detection theories.
  • the activation signal sent by the detection module to the second communication module may refer to a high-level signal.
  • the second end of the detection module is connected to the second communication module, which may mean that the second end of the detection module is connected to the baseband module in the second communication module.
  • the baseband module receives the activation signal sent by the detection module, it can activate the communication function corresponding to the first wireless communication technology, for example, the radio frequency receiving channel in the radio frequency module can be activated, and optionally, the user A device that processes signals received through an RF receive channel.
  • the function of the detection module can be realized by the power supply circuit of the third communication module, that is, the power supply circuit can send an activation signal to the second communication module in addition to supplying power to the storage and control circuit.
  • the power supply circuit may include a diode detection circuit.
  • the third communication module and the third antenna module as an example that may belong to the first electronic tag described above (when the third communication module and the third antenna module belong to the RFID electronic tag described above, refer to the third communication module and The third antenna module belongs to the realization of the first electronic tag), because the frequency of the response signal transmitted by the first electronic tag can be located in the working frequency band of the first wireless communication technology, that is, the working frequency band of the first electronic label and the first wireless communication technology. Therefore, it can be considered that the third antenna module performs the function of the second antenna module, or the second antenna module performs the function of the third antenna module, that is, the third antenna module and the second antenna module are the same Antenna module, which simplifies hardware design and saves hardware cost.
  • FIG. 9C it is a schematic structural diagram of a possible second communication device when the second antenna module and the third antenna module are the same antenna module.
  • the second communication module and the third communication module may be connected to the second antenna module (or the third antenna module) through the power division module.
  • the power division module may include a first end, a second end and a third end, the first end of the power division module is connected to the third communication module, the second end of the power division module is connected to the second communication module, and the power division module The third end is connected to the second antenna module.
  • the first end and the second end of the power division module are the input end, and the third end is the output end; or, the third end of the power division module is the input end, and the first end and the second end are the output end.
  • the power division module may be a power divider, and the power divider may divide one input signal into two (or multiple) output signals, and the powers of the two output signals may be equal or unequal.
  • the power of the signal can be equal to the sum of the powers of the two output signals; and, the two (or multiple) input signals can also be conversely combined into one output signal. At this time, the power of the output signal can be equal to the power of the two input signals. Sum.
  • the power division module may divide the first scan signal into two signals, one of which is signal 1, and the other signal is signal 1.
  • One signal is signal 2, and signal 1 is transmitted to the third communication module, and signal 2 is transmitted to the second communication module.
  • the third communication module receives the signal 1, it can identify the signal 1 and transmit the first response signal to the power division module; after the second communication module receives the signal 2, because it cannot identify the signal 2, it can not respond; in this way, the power The sub-module may send the first response signal to the first device through the second antenna module.
  • the power division module may divide the second scan signal into two signals, one of which is signal 3, The other signal is signal 4, and the signal 3 is transmitted to the third communication module, and the signal 4 is transmitted to the second communication module.
  • the third communication module receives the signal 3, it may not respond because it cannot identify the signal 3; after the second communication module receives the signal 4, it can identify the signal 4 and transmit the second response signal to the power division module; in this way, the power The sub-module may send the second response signal to the first device through the second antenna module.
  • the description about the structure of the first communication device above mainly takes the first communication device to realize the function of the initiator device (such as the first device in the first embodiment or the second embodiment) as an example. describe.
  • the initiator device may also act as the responder device, therefore, for the first communication apparatus, the first communication apparatus may also include a third communication module and a third communication module connected to the third communication module.
  • the three-antenna module that is, the first communication device may also include an RFID electronic tag or a first electronic tag, and the RFID electronic tag or the first electronic tag stores the configuration information of the first device), so as to realize the function of the responder device, see shown in Figure 10A.
  • the first antenna module, the second antenna module and the third antenna module may be the same antenna module.
  • the structure of the first device can be referred to as shown in FIG. 10B
  • the first communication module and the second communication module can be connected to the first antenna module (or the second antenna module or the third antenna module) through the switch module, the power division module and the first antenna module (or the second antenna module or the third antenna module).
  • the third communication module can be connected with the first antenna module through the power division module.
  • the power division module includes a first end, a second end and a third end.
  • the first end of the power division module is connected to the switch module, the second end of the power division module is connected to the third communication module, and the third end of the power division module is connected to the third communication module.
  • the end is connected to the first antenna module.
  • the first end and the second end of the power division module are the input end, and the third end is the output end; or, the third end of the power division module is the input end, and the first end and the second end are the output end.
  • the first device when the first device is the initiator device, the first device can send and receive signals through the first communication module and the second communication module, and the relevant implementation can refer to the above description.
  • the first device when the first device is a responder device (for example, when the fourth device needs to establish a network connection with the first device, the fourth device can be the initiator device and the first device can be the responder device), the first device can pass the second device
  • the communication module and the third communication module send and receive signals; in this case, the processing module can control the switch module so that the second communication module is connected to the power division module, and the first communication module is disconnected from the power division module.
  • the fourth device sends the first scan signal
  • the first antenna module of the first device can receive the first scan signal, and transmit the first scan signal to the power division module, and then the power division module can perform the first scan signal.
  • the signal is divided into two signals, one of which is signal 1 and the other signal is signal 2, and the signal 1 is transmitted to the third communication module, and the signal 2 is transmitted to the second communication module.
  • the third communication module receives the signal 1, it can identify the signal 1 and transmit the first response signal to the power division module; after the second communication module receives the signal 2, because it cannot identify the signal 2, it can not respond; in this way, the power
  • the sub-module may send the first response signal to the fourth device through the first antenna module.
  • the first antenna module, the second antenna module and the third antenna module can be the same antenna module, and can be implemented by the second communication module
  • the structure of the first device can be referred to as shown in FIG. 10C .
  • the second communication device implementing the function of the responder device (such as the second device in the first embodiment or the second embodiment) as an example.
  • the responder device may also act as the initiator device, therefore, for the second communication apparatus, the second communication apparatus may also include a first communication module and a first communication module connected to the first communication module.
  • An antenna module that is, the second communication device may also include an RFID reader or a first reader to implement the function of the initiator device, as shown in FIG. 11 .
  • the structure of the second communication apparatus may also be improved on the basis of FIG. 11 .
  • the specific implementation of improving the structure of the second communication device may refer to the description of the first communication device, for example, the structure of the improved second communication device may be shown in FIG. 10B and FIG. 10C .
  • the embodiments of the present application further provide a communication system, including the first communication device and the second communication device described in the above embodiments.
  • the embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer, the computer executes the communication method provided by the above embodiment.
  • the storage medium may be any available medium that the computer can access. Taking this as an example but not limited to: the computer-readable medium may include random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (erasable PROM, EPROM) or other optical disk storage, magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the embodiments of the present application further provide a program product, the program product includes instructions, and when the instructions are executed on a computer, make the computer execute the communication methods provided by the above embodiments.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, etc.) having computer-usable program code embodied therein.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

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

Abstract

本申请涉及一种网络连接建立方法及相应的装置。标签阅读器发送第一扫描信号,电子标签(如无源电子标签)响应于第一扫描信号反馈配置信息,该配置信息包括电子标签所在的响应方设备的网络连接信息。标签阅读器所在的发起方设备可以根据响应方设备的网络连接信息,向响应方设备发送请求信号以请求建立第一无线通信技术(例如Wi-Fi、蓝牙或者其他短距通信技术)对应的网络连接。其中,第一扫描信号和请求信号的频率位于第一无线通信技术的工作频段,有效减少对频谱资源的占用。采用该方式,发起方和响应方设备可以基于电子标签承载的网络连接信息快速建立网络连接,在网络连接建立过程中能够减少用户的手动参与,有效提高用户体验及通信效率。

Description

一种网络连接建立方法及相应的装置 技术领域
本申请涉及通信技术领域,尤其涉及短距离通信技术。具体的,本申请提供一种网络连接建立方法及相应的装置。
背景技术
随着科技的发展,智能运输设备、智能家居设备、智能穿戴设备以及智能制造设备等智能设备得到日益广泛的应用,例如智能手机、智能冰箱、笔记本电脑等。在使用这些智能设备时,有时需要在这些智能设备之间进行信息传输,比如用户想要将智能手机中的照片传输到笔记本电脑。为实现不同设备之间的信息传输,一种可能的实现方式为,不同设备之间建立网络连接,比如蓝牙连接或者无线保真(wireless fidelity,Wi-Fi)点对点(peer to peer,P2P)连接,进而通过建立的网络连接来进行信息传输。
然而,为保证不同设备之间信息传输的安全性,不同设备之间建立网络连接时,通常会有一个校验过程。比如,设备1需要与设备2建立网络连接,则设备1在搜索到设备2之后,需要用户在设备1的输入界面上手动输入设备2的网络连接信息(比如Wi-Fi P2P连接的密码),进而设备1方可与设备2建立网络连接。采用该种方式,给用户的操作带来较大的不便,影响用户体验,降低了通信效率。
发明内容
本申请提供了一种网络连接建立方法以及相应的装置,用于实现在建立网络连接时,无需用户手动输入网络连接信息,减少用户的手动参与,从而提高用户体验以及通信效率。
第一方面,本申请实施例提供一种通信方法,该方法可以适用于第一通信装置,第一通信装置可以为第一设备,或者第一通信装置也可以设置于第一设备中,本申请实施例不限该方法的具体执行主体;该方法可以包括:发送第一扫描信号,并接收来自第二设备的、根据所述第一扫描信号反馈的配置信息,所述配置信息包括所述第二设备的网络连接信息;根据所述第二设备的网络连接信息,向所述第二设备发送请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
具体的,所述第一设备可以为标签阅读器所在的设备,所述第二设备可以为电子标签所在的设备。可选的,所述电子标签可以为有源或者无源电子标签。其中,若所述电子标签为无源电子标签,所述第一扫描信号的能量用于为所述电子标签的电源电路供电,以触发所述电子标签产生承载所述配置信息的应答信号。
采用上述方法,第一设备可以基于反馈的网络连接信息与第二设备建立网络连接,无需用户手动输入第二设备的网络连接信息,从而能够有效提高用户体验以及通信效率。此外,由于第一扫描信号的频率和请求信号的频率可以位于第一无线通信技术的工作频段,能够有效减少对频谱资源的占用。
在一种可能的设计中,所述配置信息还包括所述第二设备的标识信息。通过该设计, 可以实现第一设备可以及时获取第二设备的标识信息,以进行网络连接的管理和控制。
在一种可能的设计中,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;所述第一调制方式不同于所述第一无线通信技术支持的调制方式。通过该设计可知,第一扫描信号的发送所采用的通信技术不同于所述第一无线通信技术,通过对两种通信技术的集成或者兼容,实现新颖、高效的网络连接方式。
在一种可能的设计中,所述方法还包括:发送第二扫描信号;接收来自第三设备的、根据所述第二扫描信号反馈的标识信息;所述第二扫描信号的频率位于所述第一无线通信技术的工作频段内。所述标识信息包括所述第三设备的标识信息。
考虑到第一设备周围可能包括多个可以建立网络连接的设备,多个设备中的有些设备(比如第二设备)支持将网络连接信息发送给第一设备,而有些设备(比如第三设备)可能不支持将网络连接信息发送给第一设备,基于此,本申请实施例中,第一设备还可以发送第二扫描信号,第一设备周围的其它设备(比如第三设备)接收到第二扫描信号,可以将设备的标识信息发送给第一设备,如此,第一设备通过发送第一扫描信号和第二扫描信号能够尽可能地扫描到第一设备周围的能够与第一设备建立网络连接的设备,这样也可以提供给用户更多的设备信息,用户也可以自主选择想要建立网络连接的设备,提高用户体验。
在一种可能的设计中,所述第二扫描信号为采用所述第一无线通信技术支持的调制方式进行调制的信号。
通过该设计,可以便利对支持第一无线通信技术而不支持对第一扫描信号的响应的设备的扫描和识别,提高周边设备的识别性能。
在一种可能的设计中,所述第一扫描信号的发送位于所述第二扫描信号的发送之前;所述第一扫描信号的发送时长大于或者等于第一时长阈值,所述第一时长阈值是预先定义或者配置的。
在一种可能的设计中,在发送第一扫描信号之前,所述方法还包括:获取第一信息,所述第一信息用于触发所述第一扫描信号的发送。
通过该设计,可以实现更加灵活的设备扫描。进一步,可以避免可能存在的第一扫描信号过于频繁的发送导致的功耗过高的问题。
在一种可能的设计中,所述第二扫描信号的发送位于所述第一扫描信号的发送之前;所述第二扫描信号的发送时长大于或者等于第二时长阈值,所述第二时长阈值是预先定义或者配置的。
在一种可能的设计中,在发送第二扫描信号之前,所述方法还包括:获取第二信息,所述第二信息用于触发所述第二扫描信号的发送。
在一种可能的设计中,在向所述第二设备发送请求信号之前,所述方法还包括:获取第三信息,所述第三信息用于触发所述请求信号的发送。
在一种可能的设计中,所述第一无线通信技术为Wi-Fi通信技术,所述网络连接为Wi-Fi P2P连接或Wi-Fi AP连接;或者,所述第一无线通信技术为蓝牙通信技术,所述网络连接为蓝牙连接。又或者,所述第一无线通信技术也可以为其它短距通信技术,例如已有的或者未来可能应用于车载场景、智能家居或者智能制造环境中的短距通信技术(如星闪(SparkLink)短距通信技术),可以适用于未来更多用于智能场景的自动网络连接的需求。
第二方面,本申请实施例提供一种通信方法,该方法可以适用于第二通信装置,第二通信装置可以为第二设备,或者第二通信装置也可以设置于第二设备中,本申请实施例不限该方法的具体执行主体;该方法可以包括:接收来自第一设备的第一扫描信号;响应于所述第一扫描信号,向所述第一设备发送配置信息,所述配置信息包括第二设备的网络连接信息;接收来自所述第一设备的请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
在一种可能的设计中,所述配置信息还包括所述第二设备的标识信息。
在一种可能的设计中,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
在一种可能的设计中,在接收来自所述第一设备的第一扫描信号之前,所述第二设备的、对应所述第一无线通信技术的通信功能处于休眠状态;在接收来自所述第一设备的第一扫描信号的同时或者之后,所述方法还包括:激活对应所述第一无线通信技术的通信功能。
采用上述方法,当第一无线通信技术的通信功能处于休眠状态时,第二设备在接收到第一扫描信号之后,可以激活对应第一无线通信技术的通信功能,无需长时间等待所述通信功能基于用户或者其他常规设置的激活(例如周期性激活等),从而便于第一设备与第二设备快速建立网络连接。
在一种可能的设计中,所述第一无线通信技术为Wi-Fi通信技术,所述网络连接为Wi-Fi P2P连接或Wi-Fi AP连接;或者,所述第一无线通信技术为蓝牙通信技术,所述网络连接为蓝牙连接。又或者,所述第一无线通信技术也可以为其它短距通信技术。
需要说明的是,上述第二方面所提供的通信方法与第一方面相对应,因此,第二方面的相关技术特征的有益效果可以参照第一方面的描述,具体不再赘述。
第三方面,本申请实施例提供一种通信装置,该装置可以为第一设备,或者该装置也可以设置于第一设备中;该装置可以包括第一通信模块、与所述第一通信模块连接的第一天线模块、第二通信模块以及与所述第二通信模块连接的第二天线模块;所述第一通信模块用于:通过所述第一天线模块发送第一扫描信号,以及接收来自第二设备的、根据所述第一扫描信号反馈的第一配置信息,所述第一配置信息包括所述第二设备的网络连接信息;所述第二通信模块用于:根据所述第二设备的网络连接信息,通过所述第二天线模块向所述第二设备发送请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
具体的,所述第一通信模块可以为标签阅读器的通信模块,所述第二通信模块可以为第一无线通信技术的通信模块,两者对应不同的通信技术。
采用上述方法,在第一设备与第二设备建立网络连接时,无需用户手动输入第二设备的网络连接信息,从而能够有效提高用户体验以及通信效率。此外,由于第一扫描信号的频率和请求信号的频率可以位于第一无线通信技术的工作频段,从而能够有效减少对频谱资源的占用。
在一种可能的设计中,所述第一配置信息还包括所述第二设备的标识信息。
在一种可能的设计中,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
在一种可能的设计中,所述第二通信模块还用于:通过所述第二天线模块发送第二扫描信号,以及接收来自第三设备的、根据所述第二扫描信号反馈的标识信息;所述第二扫描信号的频率位于所述第一无线通信技术的工作频段内。所述标识信息包括所述第三设备的标识信息。
在一种可能的设计中,所述第二扫描信号为采用所述第一无线通信技术支持的调制方式进行调制的信号。
在一种可能的设计中,所述第一扫描信号的发送位于所述第二扫描信号的发送之前;所述第一扫描信号的发送时长大于或者等于第一时长阈值,所述第一时长阈值是预先定义或者配置的。
在一种可能的设计中,所述装置还包括处理模块,所述处理模块与所述第一通信模块连接;所述处理模块用于:获取第一信息,根据所述第一信息向所述第一通信模块发送第一控制指令,所述第一控制指令用于指示所述第一通信模块发送所述第一扫描信号。
在一种可能的设计中,所述第二扫描信号的发送位于所述第一扫描信号的发送之前;所述第二扫描信号的发送时长大于或者等于第二时长阈值,所述第二时长阈值是预先定义或者配置的。
在一种可能的设计中,所述装置还包括处理模块,所述处理模块与所述第二通信模块连接;所述处理模块用于:获取第二信息,根据所述第二信息向所述第二通信模块发送第二控制指令,所述第二控制指令用于指示所述第二通信模块发送所述第二扫描信号。
在一种可能的设计中,所述装置还包括处理模块,所述处理模块与所述第二通信模块连接;所述处理模块用于:获取第三信息,根据所述第三信息向所述第二通信模块发送第三控制指令,所述第三控制指令用于指示所述第二通信模块发送所述请求信号。
在一种可能的设计中,所述第一天线模块和所述第二天线模块为同一天线模块;所述第一通信模块和所述第二通信模块通过开关模块与所述第一天线模块选择性连接。
采用上述方式,由于第一扫描信号的频率和请求信号的频率位于所述第一无线通信技术的工作频段内,因此,第一通信模块和第二通信模块可以共用天线模块,从而能够节省硬件成本,减小设备体积。
在一种可能的设计中,所述装置还包括第三通信模块和与所述第三通信模块连接的第三天线模块;所述第三通信模块用于:通过所述第三天线模块接收第三扫描信号,以及响应于所述第三扫描信号,发送第二配置信息,所述第二配置信息包括所述第一设备的网络连接信息。具体的,该第三通信模块可以为电子标签的通信模块。通过该设计,可以实现第一设备对标签阅读器和电子标签两种功能的兼容,扩展了第一设备的应用场景。
在一种可能的设计中,所述第二配置信息还包括所述第一设备的标识。
在一种可能的设计中,所述第一天线模块、所述第二天线模块和所述第三天线模块为同一天线模块;所述装置还包括功分器,所述功分器包括第一端、第二端和第三端;所述第三通信模块与所述功分器的第一端连接,所述第一通信模块和所述第二通信模块通过开关模块与所述功分器的第二端选择性连接,所述第一天线模块与所述功分器的第三端连接;其中,所述功分器的第一端和第二端为输入端,所述功分器的第三端为输出端;或者,所 述功分器的第三端为输入端,所述功分器的第一端和第二端为输出端。
采用上述方式,第一通信模块、第二通信模块和第三通信模块可以共用天线模块,从而能够节省硬件成本,减小设备体积。
在一种可能的设计中,所述第三通信模块还用于:向所述第二通信模块发送激活信号,所述激活信号用于激活对应所述第一无线通信技术的通信功能。通过该设计,可以实现基于电子标签的信息交互激活第一无线通信技术的通信功能,减少或者无需用户对信息的人为输入和交互,提高了第一无线通信技术的通信效率。
第四方面,本申请实施例提供一种通信装置,该装置可以为第一设备,或者该装置也可以设置于第一设备中;该装置可以包括第二通信模块以及与所述第二通信模块连接的第二天线模块;所述第二通信模块用于:通过所述第二天线模块发送第一扫描信号,以及接收来自第二设备的、根据所述第一扫描信号反馈的第一配置信息,所述第一配置信息包括所述第二设备的网络连接信息;根据所述第二设备的网络连接信息,通过所述第二天线模块向所述第二设备发送请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
采用上述方式,可以由第二通信模块来发送第一扫描信号以及请求信号,而无需额外设置一个通信模块来发送第一扫描信号,从而能够有效节省硬件成本。
在一种可能的设计中,所述第一配置信息还包括所述第二设备的标识信息。
在一种可能的设计中,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
在一种可能的设计中,所述第二通信模块还用于:通过所述第二天线模块发送第二扫描信号,以及接收第三设备根据所述第二扫描信号发送的标识信息;所述第二扫描信号的频率位于所述第一无线通信技术的工作频段内。
在一种可能的设计中,所述第二扫描信号为采用所述第一无线通信技术支持的调制方式进行调制的信号。
在一种可能的设计中,所述第一扫描信号的发送位于所述第二扫描信号的发送之前;所述第一扫描信号的发送时长大于或者等于第一时长阈值,所述第一时长阈值是预先定义或者配置的。
在一种可能的设计中,所述装置还包括处理模块,所述处理模块与所述第二通信模块连接;所述处理模块用于:获取第一信息,根据所述第一信息向所述第二通信模块发送第一控制指令,所述第一控制指令用于指示所述第二通信模块发送所述第一扫描信号。
在一种可能的设计中,所述第二扫描信号的发送位于所述第一扫描信号的发送之前;所述第二扫描信号的发送时长大于或者等于第二时长阈值,所述第二时长阈值是预先定义或者配置的。
在一种可能的设计中,所述装置还包括处理模块,所述处理模块与所述第二通信模块连接;所述处理模块用于:获取第二信息,根据所述第二信息向所述第二通信模块发送第二控制指令,所述第二控制指令用于指示所述第二通信模块发送所述第二扫描信号。
在一种可能的设计中,所述装置还包括处理模块,所述处理模块与所述第二通信模块连接;所述处理模块用于:获取第三信息,根据所述第三信息向所述第二通信模块发送第 三控制指令,所述第三控制指令用于指示所述第二通信模块发送所述请求信号。
在一种可能的设计中,所述装置还包括第三通信模块和与所述第三通信模块连接的第三天线模块;所述第三通信模块用于:通过所述第三天线模块接收第三扫描信号,以及响应于所述第三扫描信号,发送第二配置信息,所述第二配置信息包括所述第一设备的网络连接信息。
在一种可能的设计中,所述第二配置信息还包括所述第一设备的标识。
在一种可能的设计中,所述第二天线模块和所述第三天线模块为同一天线模块;所述装置还包括功分器,所述功分器包括第一端、第二端和第三端;所述第三通信模块与所述功分器的第一端连接,所述第二通信模块与所述功分器的第二端连接,所述第二天线模块与所述功分器的第三端连接;其中,所述功分器的第一端和第二端为输入端,所述功分器的第三端为输出端;或者,所述功分器的第三端为输入端,所述功分器的第一端和第二端为输出端。
在一种可能的设计中,所述第三通信模块还用于:向所述第二通信模块发送激活信号,所述激活信号用于激活对应所述第一无线通信技术的通信功能。
在一种可能的设计中,所述第二通信模块包括第一射频发射通道、第一射频接收通道和第二射频接收通道;其中,所述第一射频发射通道和所述第一射频接收通道通过开关模块与双工器选择性连接,所述第二射频接收通道与所述双工器连接,所述双工器与所述第二天线模块连接。通过该设计,可以实现多射频接收通道,兼容不同频率信号的接收,提高通信效率。
第五方面,本申请实施例提供一种通信装置,该装置可以为第二设备,或者该装置也可以设置于第二设备中;该装置可以包括第二通信模块、与所述第二通信模块连接的第二天线模块、第三通信模块以及与所述第三通信模块连接的第三天线模块;所述第三通信模块用于:通过所述第三天线模块接收来自第一设备的第一扫描信号,响应于第一扫描信号,向所述第一设备发送配置信息,所述配置信息包括第二设备的网络连接信息;所述第二通信模块用于:接收来自所述第一设备的请求信号,所述请求信号用于请求建立所述第一设备和所述第二设备之间的网络连接;其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
在一种可能的设计中,所述配置信息还包括所述第二设备的标识信息。
在一种可能的设计中,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
在一种可能的设计中,所述第三通信模块还用于:向所述第二通信模块发送激活信号,所述激活信号用于激活对应所述第一无线通信技术的通信功能。
在一种可能的设计中,所述第二天线模块和所述第三天线模块为同一天线模块;所述装置还包括功分器,所述功分器包括第一端、第二端和第三端;所述第三通信模块与所述功分器的第一端连接,所述第二通信模块与所述功分器的第二端选择性连接,所述第二天线模块与所述功分器的第三端连接;其中,所述功分器的第一端和第二端为输入端,所述功分器的第三端为输出端;或者,所述功分器的第三端为输入端,所述功分器的第一端和第二端为输出端。
需要说明的是,上述第三、四、五方面所提供的通信装置与第一方面、第二方面所提供的通信方法相对应,因此,第三、四、五方面的相关技术特征的有益效果可以参照第一方面和第二方面的描述,具体不再赘述。
第六方面,本申请实施例提供一种通信系统,该通信系统可以包括如第三方面所述的通信装置或如第四方面所述的通信装置,以及包括如第五方面所述的通信装置。
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,当所述计算机程序或指令被通信装置执行时,实现上述第一方面或第二方面的任意一种可能的设计中所述的方法。
第八方面,本申请实施例提供一种包含指令的计算机程序产品,所述计算机程序产品用于存储计算机程序,当所述计算机程序或指令被通信装置执行时,实现上述第一方面或第二方面的任意一种可能的设计中所述的方法。
第九方面,本申请实施例提供一种芯片系统或者集成电路,所述芯片系统或者集成电路包括至少一个处理器和接口电路,所述接口电路用于为所述至少一个处理器提供程序或指令,所述至少一个处理器执行所述程序或指令,以实现上述第一方面或第二方面的任意一种可能的设计中所述的方法。进一步,所述接口电路还为所述至少一个处理器提供数据。
第十方面,本申请实施例提供一种终端,所述终端包括上述第三、四、五方面所提供的通信装置中的一个或者多个。具体的,所述终端可以为智能设备,所述智能设备可以为智能运输设备(例如汽车、无人机、机器人、慢速运输车等)、智能家居设备(例如智能冰箱、智能音响、智能电视等)、智能制造设备或者智能穿戴设备。
本申请的这些方面或其它方面在以下实施例的描述中会更加简明易懂。
附图说明
图1为本申请实施例提供的RFID系统的架构示意图;
图2A为本申请实施例提供的RFID电子标签的结构示意图;
图2B为本申请实施例提供的RFID阅读器的结构示意图;
图3A为本申请实施例提供的第一电子标签的结构示意图;
图3B为本申请实施例提供的第一阅读器的结构示意图;
图4为本申请实施例适用的一种系统架构示意图;
图5为本申请实施例提供的第一设备显示的界面示例图;
图6为本申请实施例一提供的通信方法所对应的流程示意图;
图7为本申请实施例二提供的通信方法所对应的流程示意图;
图8A、图8B、图8C、图8D、图8E、图8F为本申请实施例提供的第一通信装置的一些可能的结构示意图;
图9A、图9B、图9C为本申请实施例提供的第二通信装置的一些可能的结构示意图;
图10A、图10B、图10C为本申请实施例提供的第一通信装置的又一些可能的结构示意图;
图11为本申请实施例提供的第二通信装置的又一种可能的结构示意图。
具体实施方式
首先对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。
(1)网络连接
网络连接可以是指不同设备之间采用通信技术(例如无线通信技术)所建立的连接,该连接可以为点到点的连接,或者也可以为点到多点的连接。
示例性地,不同的无线通信技术可以对应不同的网络连接,比如无线通信技术为Wi-Fi通信技术,则对应的网络连接可以为Wi-Fi P2P连接或Wi-Fi接入点(access point,AP)连接。其中,Wi-Fi P2P连接也可以称为无线局域网(wireless local area networks,WLAN)直连或Wi-Fi直连。Wi-Fi P2P连接可以使不同设备之间能够轻松连接彼此,而不再需要中介性质的接入点,其具有较广的使用范围,比如从网页浏览到文件传输,能够充分发挥Wi-Fi的速度优势。又比如,无线通信技术为蓝牙通信技术,则对应的网络连接可以为蓝牙连接。再比如,无线通信技术还可以为通用短距通信技术(例如星闪(SparkLink)短距通信技术),应用场景包含但不限于车载短距通信技术、用于智能家居、智能制造或者工业采集等的通信技术。
(2)网络连接信息
一般是指建立网络连接所需要的信息,可以包括但不限于口令、地址等信息中的一个或者多个。
以设备1和设备2为例,当设备1与设备2建立网络连接后,设备1与设备2可以通过网络连接进行信息传输。为保证不同设备之间信息传输的安全性,不同设备之间建立网络连接时,通常会有一个校验过程。比如,设备1需要与设备2建立网络连接时,设备1需要先获取设备2的网络连接信息,进而根据设备2的网络连接信息与设备2建立网络连接。
例如,设备1需要与设备2建立Wi-Fi P2P连接,则设备2的网络连接信息可以包括设备2的Wi-Fi P2P连接信息,比如Wi-Fi P2P连接的密码;可以理解地,Wi-Fi P2P连接信息还可以包括其它可能的信息,具体不做限定。再举个例子,设备1需要与设备2建立蓝牙连接,则设备2的网络连接信息可以包括设备2的蓝牙连接信息,比如蓝牙连接的密码;可以理解地,蓝牙连接信息还可以包括其它可能的信息,具体不做限定。
需要说明的是,本申请实施例中,设备的网络连接信息可用于其它设备与该设备建立网络连接,当其它设备未获取到该设备的网络连接信息时,将无法与该设备建立网络连接。
(3)无线通信技术的工作频段
可以是指基于无线通信技术的设备正常工作时的频率范围,例如该设备发射信号所在的频率范围,或者接收信号所在的频率范围。基于不同无线通信技术的设备的工作频段可以相同或者不同,或者,可以重叠或者不重叠。
例如,Wi-Fi通信技术的工作频段分为2.4GHz工作频段和5GHz工作频段。具体的,2.4GHz工作频段的频率范围约为2.402GHz-2.483GHz,5GHz工作频段的频率范围约为5.15GHz-5.85GHz。又如,蓝牙通信技术的工作频段可以为2.4G工作频段。
(4)信号的频率
信号可表示为某个可度量值的一系列高低起伏(如电磁波),一次完整的起伏称为一个周期,单位时间内的周期数即为信号的频率。也就是说,信号的频率为信号的周期的倒数,即f=1/T,其中f为信号的频率,T为信号的周期。
(5)RFID技术
无线射频识别(radio frequency identification,RFID)技术可以通过无线信号识别特定目标并读写相关数据。如图1所示,RFID系统可以包括RFID阅读器(reader)、RFID电子标签(tag)。
RFID电子标签,也可以称为电子标签或应答器,是一种微型的无线收发装置。电子标签通过电子标签天线接收到阅读器发送的射频信号后,可以将电子标签中存储的信息(比如网络连接信息)通过电子标签天线反馈给阅读器。按照电子标签能源供给方式的不同,可以分为无源标签(passive tag,也称被动式标签)、有源标签(active tag,也称主动式标签)、半有源标签(semi-active tag)。图2A为RFID电子标签的一种可能的结构示意图,该RFID电子标签为无源标签;如图2A所示,该RFID电子标签可以包括第一天线、电源电路、存储和控制电路、调制电路;其中,存储和控制电路中可存储有信息(比如网络连接信息)。示例性地,第一天线接收到射频信号后,可以将射频信号发送至电源电路,电源电路可以吸收该射频信号的能量,然后利用吸收到的能量为存储和控制电路供电;进而存储和控制电路可以控制调制电路产生应答信号(应答信号携带网络连接信息),并通过第一天线反馈给RFID阅读器。
RFID阅读器,也可称为标签阅读器或阅读器或读写器,是一种能够获取和处理电子标签的数据的装置,它可以作为单独的设备,也可以嵌入至其它设备或系统中。阅读器可以通过内置的阅读器天线向电子标签发送射频信号,以便向电子标签查询数据或写入数据。阅读器还可以通过通信接口与其它设备(例如为计算机)连接,进而将阅读器本地存储的数据或从电子标签中获取的数据传输至其它设备中。图2B为RFID阅读器的一种可能的结构示意图,如图2B所示,RFID阅读器可以包括第二天线、射频电路、处理电路和解调电路。示例性地,处理电路可以控制射频电路产生射频信号,并通过第二天线发送给RFID电子标签;第二天线接收到RFID电子标签反馈的应答信号后,可以将应答信号发送至解调电路进行解调,并将解调得到的信息发送至处理电路。
示例性地,发生在阅读器和电子标签之间的射频信号的耦合方式有两种,其中一种为电感耦合方式,即变压器原理模型,通过空间高频交变磁场实现耦合,依据的是电磁感应定律;电感耦合方式一般适合于中、低频工作的近距离射频识别系统,可能的工作频率包括:125kHz、225kHz和13.56MHz。另一种为电磁反向散射耦合方式,即雷达原理模型,发射出去的电磁波,碰到目标后反射,同时携带回数据,依据的是电磁波的空间传播规律;电磁反向散射耦合方式一般适合于高频、微波工作的远距离射频识别系统,可能的工作频率包括:433MHz、915MHz、2.45GHz、5.8GHz。可以理解的是,不管采用哪种耦合方式,阅读器发出的射频信号的频率和电子标签根据射频信号而发出的应答信号的频率是相同的。此外,阅读器发出的射频信号的频率可以是由阅读器的电路设计决定的,比如可以是由阅读器中的射频电路设计决定的。
(6)第一电子标签、第一阅读器
图3A为本申请实施例提供的一种电子标签的结构示意图,该电子标签不同于上述RFID电子标签,为便于描述,本申请实施例将其称为第一电子标签,第一电子标签可以为无源标签。一种示例中,第一电子标签可以为微波辐射标签。如图3A所示,第一电子标签中包括第一天线、第一双工器、电源电路、微波激射器(microwave amplification by stimulated emission of radiation,MASER)、存储和控制电路、调制电路。其中,存储和控 制电路中可存储有信息(例如网络连接信息);第一双工器可以包括两个滤波器,其中一个滤波器用于对射频信号进行滤波处理,另一个滤波器用于对应答信号进行滤波处理。示例性地,第一天线可以接收来自第一阅读器的射频信号(或者说激励信号),经由第一双工器进行滤波处理后,将激励信号发送至电源电路;电源电路可以吸收该激励信号的能量,然后利用吸收到的能量为存储和控制电路供电。电源电路还可以将激励信号发送至微波激射器,微波激射器在接收到激励信号之后,输出激发信号。其中,激发信号可以包括第一信号和第二信号,激励信号的频率、第一信号的频率和第二信号的频率均不同。
其中,微波激射器是利用辐射场的受激发射原理制成的微波放大装置,其能够产生噪声极低的单色相干的微波辐射。在微波激射器工作时,微波激射器可以接收来自第一双工器的激励信号,该激励信号对应有激励能量(或称为泵浦能量),激励能量将增益介质的粒子泵浦到高能级,而处于高能级的粒子不稳定,可以发生两次能级跃迁,其中两次能级跃迁可分别对应于第一频率的第一信号和第二频率的第二信号。进一步地,第一频率与第二频率之和小于或等于激励信号的频率。
调制电路接收来自微波激射器的激发信号,在存储和控制电路的控制下,对激发信号进行调制,并将调制之后的信号发送至第一双工器,进而通过第一天线向第一阅读器发送应答信号(例如应答信号携带网络连接信息)。
图3B为本申请实施例提供的一种阅读器的结构示意图,该阅读器不同于上述RFID阅读器,为便于描述,本申请实施例将其称为第一阅读器。如图3B所示,第一阅读器中可以包括第二天线、第二双工器、射频电路(也可以称为激励电路)、解调电路和处理电路。其中,第二双工器可以包括两个滤波器,其中一个滤波器用于对射频信号进行滤波处理,另一个滤波器用于对应答信号进行滤波处理。示例性地,处理电路可以控制射频电路产生射频信号,经由第二双工器进行滤波处理后,通过第二天线发送给第一电子标签;第二天线接收到第一电子标签反馈的应答信号后,可以经由第二双工器进行滤波处理,进而发送至解调电路进行解调,并将解调得到的信息发送至处理电路。
基于上述对第一电子标签的描述可知,第一电子标签中的微波激射器在接收到第一阅读器发送的、对应有激励能量的激励信号后,可输出激发信号,进而第一电子标签可向第一阅读器发送应答信号;其中,激励信号的频率可以根据实际需要设定为可能的频率,比如激励信号的频率可以位于Wi-Fi通信技术的工作频段。此外,由于上文中RFID阅读器发出的射频信号的频率和RFID电子标签根据射频信号而发出的应答信号的频率是相同的,从而导致射频信号与应答信号之间产生干扰;而第一阅读器发出的射频信号的频率和第一电子标签反馈的应答信号的频率不相同,从而能够有效避免射频信号与应答信号之间的干扰,提高阅读器和电子标签之间的通信距离。
(7)调制方式
调制(modulation)是对信号源的信息进行处理加到载波上,使其变为适合于信道传输的形式的过程。具体的,可以对载波的频率、幅度或相位中的一个或多个进行调制。
具体实施中,调制方式可以有多种,且不同无线通信技术支持的调制方式可以是不同的。比如,对于支持Wi-Fi通信技术的设备来说,该设备中Wi-Fi通信技术对应的通信模块所发送的信号可以为采用Wi-Fi通信技术支持的调制方式进行调制的信号,Wi-Fi通信技术支持的调制方式可以包括正交频分复用(orthogonal frequency division multiplexing,OFDM)调制方式,还可以包括其它可能的调制方式。又比如,上述所描述的RFID阅读 器或第一阅读器发送的射频信号可以为采用脉冲调制方式进行调制的信号,或者,RFID阅读器或第一阅读器发送的射频信号也可以为单音信号,即未经调制的信号。
以上内容是与本申请相关的名称解释。下面结合附图介绍本申请实施例提供的技术方案。
图4为本申请实施例适用的一种系统架构示意图。如图4所示,该系统架构中可以包括第一设备和第二设备。当第一设备和第二设备均支持第一无线通信技术时,第一设备与第二设备之间可以建立第一无线通信技术对应的网络连接,进而通过建立的网络连接进行信息传输。第一无线通信技术可以为Wi-Fi通信技术,或者蓝牙通信技术(包含蓝牙Bluetooth技术,和/或,蓝牙低功耗Bluetooth low energy技术),又或者其它可能的短距离通信技术,例如应用于车载场景、智能家居或者智能制造场景的通用短距通信技术,具体不做限定。
在第一设备和第二设备中,主动发起网络连接建立请求的设备可以称为发起方设备(可简称为发起方),响应发起方设备的网络连接建立请求的设备可以称为响应方设备(可简称为响应方)。比如,当第一设备主动向第二设备发起网络连接建立请求时,第一设备为发起方设备,第二设备为响应方设备;当第二设备主动向第一设备发起网络连接建立请求时,第二设备为发起方设备,第一设备为响应方设备。
示例性地,第一设备和第二设备可以均为电子设备或者智能设备,比如智能手机、平板电脑、车载设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对电子设备的具体类型不作任何限制。其中,第一设备和第二设备可以为相同设备类型的电子设备,比如第一设备和第二设备均为智能手机,或者均为平板电脑;或者,第一设备和第二设备也可以为不同设备类型的电子设备,比如第一设备为平板电脑,第二设备为智能手机,或者第一设备为智能手机,第二电子设备为平板电脑。
此外,为满足用户的不同需求,以第一设备为例,当第一设备支持第一无线通信技术时,第一设备可以根据用户的触发来启动或关闭对应第一无线通信技术的不同功能。在一个示例中,对应第一无线通信技术的功能可以包括通信功能、扫描功能和网络连接功能。下面分别对这三种功能进行介绍。
(1)通信功能
当第一设备启动对应第一无线通信技术的通信功能后,第一设备能够被其它设备发现或者扫描到,也就是说,第一设备能够响应其它设备发送的扫描信号,比如下文所描述的第二扫描信号;以及,第一设备能够响应其它设备发送的网络连接建立请求,并与其它设备建立网络连接。
举个例子,第一无线通信技术为Wi-Fi通信技术,Wi-Fi通信技术对应的网络连接为WLAN直连。以第一设备为智能手机为例,参见图5中的(a)所示,第一设备可以具有显示屏和设置于显示屏上的触摸传感器,第一设备可以在显示屏上显示主界面,主界面中包括各个应用程序的图标(比如WLAN直连图标)。第一设备可以通过设置于显示屏上的触摸传感器检测用户在显示屏上的操作,当检测到用户点击主界面中的WLAN直连图标的操作后,第一设备可以在显示屏上显示如图5中的(b)所示意的界面。该界面中可以包括启动对应Wi-Fi通信技术的通信功能的功能按钮501,当第一设备检测到用户触发功 能按钮501后,可以启动对应Wi-Fi通信技术的通信功能。
需要说明的是,启动对应第一无线通信技术的通信功能可以是启动对应第一无线通信技术的其它功能的前提;也就是说,只有在启动对应第一无线通信技术的通信功能之后,才能启动对应第一无线通信技术的扫描功能和/或网络连接功能。
(2)扫描功能
当第一设备启动对应第一无线通信技术的扫描功能后,第一设备可以主动发送扫描信号(比如下文所描述的第一扫描信号和/或第二扫描信号),以发现第一设备周围的能够与第一设备建立网络连接的其它设备。
举个例子,第一无线通信技术为Wi-Fi通信技术,Wi-Fi通信技术对应的网络连接为WLAN直连。以第一设备为智能手机为例,继续参见图5中的(b)所示意的界面,该界面中还可以包括启动对应Wi-Fi通信技术的扫描功能的功能按钮502,在用户触发功能按钮501后,用户还可以触发功能按钮502。参见图5中的(c)所示,当第一设备检测到用户触发功能按钮502后,可以启动对应Wi-Fi通信技术的扫描功能。
(3)网络连接功能
当第一设备启动对应第一无线通信技术的网络连接功能后,第一设备可以向另一设备发起网络连接请求,以建立第一设备与另一设备之间的网络连接。
举个例子,第一无线通信技术为Wi-Fi通信技术,Wi-Fi通信技术对应的网络连接为WLAN直连。以第一设备为智能手机为例,当第一设备启动对应Wi-Fi通信技术的扫描功能后,可以发现第一设备周围的能够与第一设备建立网络连接的其它设备(这些设备可以称为候选设备),第一设备可以将候选设备的标识信息显示给用户,参见图5中的(d)所示意的界面。其中,设备的标识信息可以包括设备的品牌信息、系列信息,或者也可以包括其它用于标识设备的信息,具体不做限定。若用户点击其中某一候选设备(比如HUAWEI Mate 20)的标识信息,则第一设备可以根据用户的触发启动对应第一无线通信技术的网络连接功能,并向该候选设备发送请求信号,请求信号用于建立第一设备与该候选设备之间的网络连接。
需要说明的是,上述所描述的三种功能仅为一种示例,在其它可能的示例中,也可以将对应第一无线通信技术的通信功能与扫描功能合并,即当第一设备启动对应第一无线通信技术的通信功能后,第一设备还可以主动发送扫描信号,以发现第一设备周围的能够与第一设备建立网络连接的其它设备;或者,也可以将对应第一无线通信技术的通信功能、扫描功能和网络连接功能合并;又或者,也可以将对应第一无线通信技术的扫描功能和网络连接功能合并,本申请实施例对此不做限定。
基于图4所示意的系统架构,在一种可能的建立网络连接的流程中,当第一设备通过扫描发现第二设备时,第一设备获取到的是第二设备的标识信息,而无法获取到第二设备的网络连接信息;若第一设备需要与第二设备建立网络连接,则第一设备会提示用户在第一设备的显示界面上输入第二设备的网络连接信息,进而基于用户输入的网络连接信息与第二设备建立网络连接。采用该种方式,给用户的操作带来较大的不便,且建立网络连接的效率较低。
为解决这一问题,当前提出了一些辅助建立网络连接的方式,比如可以利用二维码来辅助建立网络连接。具体来说,设备可以将其网络连接信息通过二维码的形式公布出来, 比如第二设备支持Wi-Fi P2P连接,则可以预先设置第二设备的Wi-Fi P2P连接信息,根据第二设备的Wi-Fi P2P连接信息生成二维码,并将该二维码粘贴在第二设备的表面。当其它设备(比如第一设备)想要与第二设备建立Wi-Fi P2P连接时,用户可以打开第一设备中安装的特定的应用程序来扫描二维码,获得第二设备的Wi-Fi P2P连接信息,进而第一设备可以根据第二设备的Wi-Fi P2P连接信息与第二设备建立Wi-Fi P2P连接。如此,无需用户在第一设备的输入界面手动输入第二设备的网络连接信息。
然而,采用该种方式,一方面,需要在第一设备上安装特定的应用程序;另一方面,二维码容易被损坏,若第二设备的二维码被损坏,则会导致其它设备无法与第二设备建立网络连接。
鉴于此,本申请实施例提供一种通信方法,在该方法中,第一设备发送第一扫描信号,并接收第二设备根据第一扫描信号发送的配置信息,该配置信息包括第二设备的网络连接信息;进而第一设备可以根据第二设备的网络连接信息,向第二设备发送请求信号,请求信号用于请求建立第一设备与第二设备之间的网络连接。采用该种方式,在第一设备与第二设备建立网络连接时,无需用户手动输入第二设备的网络连接信息,从而能够有效提高用户体验以及通信效率。此外,第一设备与第二设备之间的网络连接可以为第一无线通信技术对应的网络连接,第一扫描信号的频率和请求信号的频率可以位于第一无线通信技术的工作频段,从而能够有效减少对频谱资源的占用。
下面结合实施例一和实施例二对本申请实施例提供的通信方法进行介绍。
实施例一
图6为本申请实施例一提供的通信方法所对应的流程示意图。在图6中,将以网络连接为第一无线通信技术对应的网络连接为例进行描述。如图6所示,该方法可以包括:
S601,第一设备发送第一扫描信号。
此处,触发第一设备发送第一扫描信号的情形可以有多种,比如第一设备获取到第一信息后,可以发送第一扫描信号。其中,第一信息用于触发第一扫描信号的发送,或者第一信息用于启动对应第一无线通信技术的扫描功能。在一个示例中,第一信息可以是根据用户的第一操作生成的,比如参见图5中的(c)所示,用户的第一操作可以是指用户触发功能按钮502。
示例性地,第一扫描信号的频率可以位于第一无线通信技术的工作频段内,比如第一扫描信号的频率可以与下文所描述的请求信号的频率相同。第一扫描信号可以为单音信号,或者第一扫描信号可以为采用第一调制方式进行调制的信号,第一调制方式不同于第一无线通信技术支持的调制方式,比如第一调制方式可以为脉冲调制方式或者其它可能的调制方式。这里需要说明的是,第一调制方式不同于所述第一无线通信技术支持的任一种调制方式。
作为一种可能的实现,第一设备中可以包括前文所描述的RFID阅读器,第一扫描信号可以为RFID阅读器所发送的射频信号;作为又一种可能的实现,第一设备中可以包括前文所描述的第一阅读器,第一扫描信号可以为第一阅读器所发送的射频信号。
S602,第二设备接收来自第一设备的第一扫描信号,响应于第一扫描信号,向第一设备发送第一应答信号,第一应答信号携带第二设备的配置信息,第二设备的配置信息包括第二设备的网络连接信息。
进一步,第二设备的配置信息还可以包括第二设备的标识信息,以及其它可能的信息, 具体不做限定。
示例性地,第二设备接收到第一扫描信号后,可以判断对应第一无线通信技术的通信功能是否处于休眠状态,若处于休眠状态,则可以激活对应第一无线通信技术的通信功能。比如,当第二设备启动对应第一无线通信技术的通信功能后,若在设定时间段内没有其它设备与第二设备建立网络连接,则第二设备可以将对应第一无线通信技术的通信功能设置为休眠状态,从而节省功耗;其中,设定时间段的时长可以预先定义或者配置的,具体不做限定。在一个示例中,以第一无线通信技术为Wi-Fi通信技术为例,对应Wi-Fi通信技术的通信功能处于休眠状态,可以是指,第二设备关闭Wi-Fi通信技术对应的部分或全部模块,比如第二设备关闭用于接收Wi-Fi信号(即采用Wi-Fi通信技术支持的调制方式进行调制的信号)的射频接收通道;又比如,第二设备关闭用于接收Wi-Fi信号的射频接收通道,以及关闭基带模块中用于处理通过射频接收通道所接收到的Wi-Fi信号的器件。
第一扫描信号的频率和第一应答信号的频率可以相同。此种情形下,作为一种可能的实现,第一设备中可以包括前文所描述的RFID阅读器,第二设备中可以包括前文所描述的RFID电子标签,该RFID电子标签中存储有第二设备的配置信息;进而,该RFID电子标签在接收到第一扫描信号后,可以根据第一扫描信号,向RFID阅读器发送第一应答信号,第一应答信号携带第二设备的配置信息。或者,第一扫描信号的频率和第一应答信号的频率也可以不相同,由于第一扫描信号的频率和第一应答信号的频率不相同,从而能够避免第一扫描信号与第一应答信号之间的干扰,有效增加通信距离。此种情形下,作为一种可能的实现,第一设备中可以包括前文所描述的第一阅读器,第二设备中可以包括前文所描述的第一电子标签,该第一电子标签中存储有第二设备的配置信息;进而,该第一电子标签在接收到第一扫描信号后,可以根据第一扫描信号,向第一阅读器发送第一应答信号,第一应答信号携带第二设备的配置信息。
需要说明的是,具体实施中,第一设备和第二设备可以先协商传输速率(例如,第一设备中的RFID阅读器与第二设备中的RFID电子标签可以先协商传输速率,或者第一设备中的第一阅读器与第二设备中的第一电子标签可以先协商传输速率),比如,第一设备从多种预设传输速率中选择其中一种传输速率,并指示给第二设备,进而第二设备可以基于第一设备所指示的传输速率,向第一设备发送第二设备的配置信息。
S603,第一设备根据第二设备的网络连接信息,向第二设备发送请求信号,请求信号用于请求建立第一设备与第二设备之间的网络连接。
具体实现中,所述第一扫描信号的发送和所述第一配置信息的反馈在所述第一无线通信技术对应的网络连接之前,因此不属于第一无线通信技术。也可以理解为,本申请通过集成两种通信技术,实现快速、高效的网络连接。
一种设计中,请求信号可以为采用Wi-Fi、蓝牙或者其它短距通信技术支持的调制方式进行调制后的信号。
作为一种可能的实现方式,第一设备接收到第二设备的网络连接信息后,可以向用户发出询问信息,询问信息用于询问用户是否需要与第二设备建立网络连接。其中,第一设备向用户发出询问信息的方式可以有多种,比如第一设备可以在显示屏上显示对话框,对话框中包括“是否需要与第二设备建立网络连接”,若用户触发“是”,则第一设备可以获取到第三信息,第三信息用于触发请求信号的发送,或者说第三信息用于启动对应第一无线通信技术的网络连接功能。第三信息是根据用户触发“是”的操作生成的,进而第一设 备可以根据第三信息,向第二设备发送请求信号。
作为又一种可能的实现方式,第一设备接收到第二设备的网络连接信息后,可以直接向第二设备发送请求信号,而无需再询问用户,从而有效简化用户的操作。
作为又一种可能的实现方式,第一设备若接收到多个设备的配置信息,比如第一设备接收到第二设备的配置信息,还接收到另一设备(为便于描述,称为设备A)的配置信息,则第一设备也可以将第二设备的标识信息和设备A的标识信息显示给用户,以供用户选择想要建立网络连接的设备,即,可以接收来自用户的确定信息,以确定需要建立网络连接的设备。比如,用户选择了第二设备,则第一设备可以获取到第三信息,第三信息是根据用户选择第二设备这一操作生成的,进而第一设备可以根据第三信息,向第二设备发送请求信号。或者,还可以根据预先定义或者配置的优先级信息,确定所述多个设备中的设备,以建立网络连接。所述优先级信息可以指示多个设备或者多个配置信息的优先连接顺序。例如第一设备接收到第二设备的配置信息和设备A的配置信息,所述优先级信息用于指示第二设备的优先级高于设备A,或者第二设备的配置信息所指示的配置的优先级高于设备A的配置信息所指示的配置的优先级,则第一设备向第二设备发送所述请求信号。
S604,第二设备接收请求信号,并根据请求信号与第一设备建立网络连接。
示例性地,请求信号可以携带第二设备的网络连接信息,第二设备接收到请求信号后,可以对请求信号所携带的第二设备的网络连接信息进行验证,若验证通过,则可以根据请求信号与第一设备建立网络连接。若验证不通过,可以拒绝与第一设备建立网络连接。其中,第二设备对请求信号所携带的第二设备的网络连接信息进行验证的方式可以有多种,比如第二设备可以将请求信号所携带的第二设备的网络连接信息与第二设备中存储的网络连接信息进行比较,若二者一致,则可以确定验证通过,若二者不一致,则可以确定验证不通过。
采用上述方式,第一设备可以通过发送第一扫描信号,获取到第二设备的网络连接信息,进而实现网络连接的请求,无需用户手动输入第二设备的网络连接信息,能够有效提高用户体验以及通信效率。此外,第一设备与第二设备之间的网络连接可以为第一无线通信技术对应的网络连接,第一扫描信号的频率可以位于第一无线通信技术的工作频段,从而能够有效减少对频谱资源的占用。
实施例二
图7为本申请实施例二提供的通信方法所对应的流程示意图。如图7所示,该方法可以包括:
S701,第一设备获取第一信息,第一信息用于触发第一扫描信号的发送。
示例性地,第一设备获取第一信息的描述可以参见实施例一,不再赘述。该步骤为可选的。
S702,第一设备发送第一扫描信号。
示例性地,第一扫描信号的频率可以位于第一无线通信技术的工作频段内,比如第一扫描信号的频率可以与下文所描述的请求信号(比如请求信号1或请求信号2)的频率相同。第一扫描信号可以为单音信号,或者第一扫描信号可以为采用第一调制方式进行调制的信号,第一调制方式不同于第一无线通信技术支持的调制方式,比如第一调制方式可以为脉冲调制方式或者其它可能的调制方式。
作为一种可能的实现,第一设备中可以包括前文所描述的RFID阅读器,第一扫描信号可以为RFID阅读器所发送的射频信号。作为又一种可能的实现,第一设备中可以包括前文所描述的第一阅读器,第一扫描信号可以为第一阅读器所发送的射频信号。
S703,第一设备周围的其它设备接收第一扫描信号,并对第一扫描信号进行识别。示例性地,第一设备周围的其它设备可以包括第二设备,还可以包括第三设备等其它可能的设备,具体不做限定。比如,第二设备接收第一扫描信号后,确定能够识别第一扫描信号,则根据第一扫描信号向第一设备发送第一应答信号,第一应答信号携带第二设备的配置信息。其中,第二设备的配置信息可以包括第二设备的网络连接信息,可选地,第二设备的配置信息还可以包括第二设备的标识信息。又比如,第三设备接收第一扫描信号后,确定无法识别第一扫描信号或者说确定第一扫描信号为无效信号,则可以不对第一扫描信号进行响应。
以第一设备中包括前文所描述的第一阅读器为例,第一扫描信号可以为第一阅读器所发送的射频信号。此种情形下,若第二设备中包括前文所描述的第一电子标签,该第一电子标签中存储有第二设备的配置信息,则该第二设备在接收到第一扫描信号后,可以识别第一扫描信号,即第二设备所包括的第一电子标签中的微波激射器接收到第一扫描信号后,可以输出激发信号,进而第一电子标签可以向第一设备所包括的第一阅读器反馈第一应答信号。若第三设备中不包括前文所描述的第一电子标签,则由于第一扫描信号为单音信号或采用第一调制方式进行调制的信号,或者说,第一扫描信号不是采用第三设备所支持的无线通信技术(比如第一无线通信技术)支持的调制方式进行调制的信号,因此,第三设备接收到第一扫描信号后,将无法识别第一扫描信号。
示例性地,第二设备接收到第一扫描信号后,可以判断对应第一无线通信技术的通信功能是否处于休眠状态,若处于休眠状态,则可以激活对应第一无线通信技术的通信功能。
S704,第一设备发送第二扫描信号。
此处,第二扫描信号可以为采用第二调制方式进行调制的信号,第二调制方式可以为第一无线通信技术支持的调制方式。
示例性地,第一扫描信号的发送位于第二扫描信号的发送之前。比如,第一设备获取到第一信息后,可以先发送第一扫描信号,当发送第一扫描信号的时长大于或等于第一时长阈值时,可以停止发送第一扫描信号,并开始发送第二扫描信号。当发送第二扫描信号的时长大于或等于第二时长阈值时,可以停止发送第二扫描信号,从而完成扫描。其中,第一时长阈值和第二时长阈值可以是预先定义或者配置的;第一时长阈值和第二时长阈值可以相同,或者也可以不相同。以第一时长阈值为例,第一时长阈值可以与第一设备周围的其它设备响应第一扫描信号所需的时长有关,比如第一时长阈值可以大于或等于第一设备周围的其它设备响应第一扫描信号所需的时长。此外,若第一时长阈值的取值较大,则可能会导致扫描过程所耗费的时间较长,因此,具体实施中,可以结合第一设备周围的其它设备响应第一扫描信号所需的时长以及扫描过程所耗费的时长来定义或配置第一时长阈值。第二时长阈值可以参照第一时长阈值的描述,比如可以结合第一设备周围的其它设备响应第二扫描信号所需的时长以及扫描过程所耗费的时长来定义或配置第二时长阈值。
S705,第一设备周围的其它设备接收第二扫描信号,并对第二扫描信号进行识别。比如,第二设备接收第二扫描信号后,确定能够识别第二扫描信号,则根据第二扫描信号向第一设备发送第二应答信号(为便于描述,称为第二应答信号1),第二应答信号1携带第 二设备的标识信息。又比如,第三设备接收第二扫描信号后,确定能够识别第二扫描信号,则根据第二扫描信号向第一设备发送第二应答信号(为便于描述,称为第二应答信号2),第二应答信号2携带第三设备的标识信息。
此处,由于第二扫描信号是采用第一无线通信技术支持的调制方式进行调制的信号,因此,当第二设备或第三设备支持第一无线通信技术时,可以识别第二扫描信号。
S706,第一设备获取第三信息,第三信息用于触发请求信号(为便于描述,称为请求信号1)的发送,请求信号1用于请求建立第一设备与第二设备之间的网络连接。该步骤为可选的。在不需要第三信息触发请求信号1的情况下,不执行该步骤。
此处,第三信息用于触发请求信号1的发送,或者,第三信息用于启动对应第一无线通信技术的网络连接功能。在一个示例中,第三信息可以是根据用户的第二操作生成的,比如第一设备可以将扫描获取到的第一设备周围的其它设备的标识信息(比如前文所述的第二设备和第三设备)显示给用户,参见图5中的(d)所示,用户的第二操作可以是指用户点击第二设备的标识信息。
S707,第一设备根据第二设备的网络连接信息,向第二设备发送请求信号1。
此处,若第一设备获取到第三信息,可以判断是否已获取到第二设备的网络连接信息,若是,则可以向第二设备发送请求信号1。
在不需要第三信息触发的场景下,该步骤S707可以直接执行。
S708,第二设备接收请求信号1,并根据请求信号1与第一设备建立网络连接。本申请实施例不对实际建立网络连接的过程进行具体限定。
需要说明的是:(1)上述步骤流程中,是以第一扫描信号的发送位于第二扫描信号的发送之前为例进行描述的;在其它可能的实施例中,第二扫描信号的发送也可以位于第一扫描信号的发送之前。比如,第一设备获取第二信息,第二信息用于触发第二扫描信号的发送,进而第一设备可以先发送第二扫描信号,当发送第二扫描信号的时长大于或等于第二时长阈值时,可以停止发送第二扫描信号,并开始发送第一扫描信号;当发送第一扫描信号的时长大于或等于第一时长阈值时,可以停止发送第一扫描信号,从而完成扫描。此处,第二信息也可以是根据用户的第一操作生成的,也就是说,第一信息和第二信息可以为同一信息;当第一设备获取到第一信息(或第二信息)后,是先发送第一扫描信号再发送第二扫描信号,还是先发送第二扫描信号再发送第一扫描信号,可以取决于第一设备的内部实现,或者也可以预先定义或配置,具体不做限定。
(2)在其它可能的实施例中,若S706中第一设备获取到第四信息,第四信息用于触发请求信号2的发送,请求信号2用于请求建立第一设备与第三设备之间的网络连接,第四信息是根据用户的第三操作生成的,用户的第三操作可以是用户点击第三设备的标识信息,则由于第一设备并未获取到第三设备的网络连接信息,因此,第一设备可以在显示屏上提示用户输入第三设备的网络连接信息,进而根据用户输入的第三设备的网络连接信息,向第三设备发送请求信号2。
采用上述方式,第一设备可以发送第一扫描信号和第二扫描信号,从而能够尽可能地扫描到第一设备周围的能够与第一设备建立网络连接的设备,以供用户选择想要建立网络连接的设备,提高用户体验。且,第一设备可以通过发送第一扫描信号,获取到第二设备的网络连接信息,从而当第一设备与第二设备建立网络连接时,无需用户手动输入第二设备的网络连接信息,能够有效提高用户体验以及通信效率。此外,第一设备与第二设备之 间的网络连接可以为第一无线通信技术对应的网络连接,第一扫描信号的频率可以位于第一无线通信技术的工作频段内,从而能够有效减少对频谱资源的占用。
此外,针对于上述实施例一和实施例二,需要说明的是:
(1)实施例一和实施例二所描述的各个流程图的步骤编号仅为执行流程的一种示例,并不构成对步骤执行的先后顺序的限制,本申请实施例中相互之间没有时序依赖关系的步骤之间没有严格的执行顺序。此外,各个流程图中所示意的步骤并非全部是必须执行的步骤,可以根据实际需要在各个流程图的基础上增添或者删除部分步骤。
(2)上述侧重描述了实施例一和实施例二中不同实施例之间的差异之处,除差异之处的其它内容,实施例一和实施例二之间可以相互参照。
基于以上实施例,本申请实施例还提供一种通信装置,本申请实施例提供的通信装置可以为第一通信装置或第二通信装置。其中,第一通信装置可以用于实现上述实施例一或实施例二中第一设备侧的功能,比如第一通信装置可以为第一设备,或者第一通信装置也可以设置于第一设备中,例如,所述第一通信装置为第一设备中的芯片系统或者集成电路;第二通信装置可以用于实现上述实施例一或实施例二中第二设备侧的功能,比如第二通信装置可以为第二设备,或者第二通信装置也可以设置于第二设备中,例如,所述第二通信装置为第二设备中的芯片系统或者集成电路。
下面对第一通信装置的结构进行描述。
图8A为第一通信装置的一种可能的结构示意图。如图8A所示,第一通信装置中可以包括第一通信模块、与第一通信模块连接的第一天线模块、第二通信模块以及与第二通信模块连接的第二天线模块。
其中,第一通信模块可以用于:通过第一天线模块发送第一扫描信号,以及接收其它设备(比如第二设备)根据第一扫描信号发送的其它设备的配置信息。第二通信模块可以为第一无线通信技术对应的通信模块,比如第一无线通信技术为Wi-Fi通信技术,第二通信模块可以用于:通过第二天线模块发送请求信号,请求信号用于请求建立第一设备与第二设备之间的网络连接。可选地,第二通信模块还可以用于:通过第二天线模块发送第二扫描信号,以及接收其它设备(比如第三设备)根据第二扫描信号发送的其它设备的标识信息。
示例性地,第一通信装置中还可以包括处理模块,处理模块可以分别与第一通信模块和第二通信模块连接。在一个示例中,处理模块可以用于执行以下中的一项或者多项:获取第一信息,第一信息用于触发第一扫描信号的发送;向第一通信模块发送第一控制指令,第一控制指令用于指示第一通信模块发送第一扫描信号;或者,确定第一通信模块发送第一扫描信号的时长大于或等于第一时长阈值后,向第二通信模块发送第二控制指令,第二控制指令用于指示第二通信模块发送第二扫描信号。在又一个示例中,处理模块可以用于执行以下中的一项或者多项:获取第二信息,第二信息用于触发第二扫描信号的发送;向第二通信模块发送第二控制指令,第二控制指令用于指示第二通信模块发送第二扫描信号;或者,确定第二通信模块发送第二扫描信号的时长大于或等于第二时长阈值后,向第一通信模块发送第一控制指令,第一控制指令用于指示第一通信模块发送第一扫描信号。
此外,处理模块还可以用于:获取第三信息,第三信息用于触发请求信号的发送;和/或,向第二通信模块发送第三控制指令,第三控制指令用于指示第二通信模块发送请求信 号,请求信号用于请求建立第一设备与第二设备之间的网络连接。
作为一种可能的实现,上述第一通信模块和第一天线模块可以属于前文所描述的RFID阅读器;作为又一种可能的实现,上述第一通信模块和第一天线模块也可以属于前文所描述的第一阅读器,其中,第一天线模块可以为图3B中所示意的第二天线,第一通信模块可以包括图3B中所示意的处理电路、射频电路、第二双工器、解调电路等,具体可以参见前文的描述,此处不再赘述。此种情形下,第一扫描信号可以为第一阅读器所发送的射频信号。
下面对第一通信装置中的处理模块、第二通信模块、第二天线模块进行介绍。
(1)处理模块
处理模块可以包括一个或多个处理单元,不同的处理单元可以是独立的器件,或者两个或更多个不同的处理单元也可以集成在一个器件中。在一个示例中,处理模块可以包括应用处理器(application processor,AP),处理模块用于运行第一设备中安装的操作系统和/或应用程序,管理第一设备的软硬件资源,并可为用户提供用户操作界面。
(2)第二通信模块
第二通信模块可以用于实现第一设备的对应第一无线通信技术的通信功能、扫描功能、网络连接功能等。在一个示例中,参见图8B和图8C所示,第二通信模块可以包括基带模块和射频模块。
其中,基带模块可以负责管理第二通信模块的软硬件资源,并且可配置射频模块的相关工作参数。示例性地,基带模块用于完成对基带信号的处理,比如基带模块可以从基带信号中提取有用的信息或数据比特,或者将信息或数据比特转换为待发送的基带信号。这些信息或数据比特可以是表示语音、文本、视频等用户数据或控制信息的数据。例如,基带模块可以实现诸如调制和解调、编码和解码等信号处理操作。基带模块也可以称为基带处理芯片或基带芯片。
射频模块可以包括射频集成电路(radio frequency intergreted circuit,RFIC)和射频前端(radio frequency front end,RFFE)器件。其中,射频集成电路也可以称为射频处理芯片或射频芯片,射频集成电路有时也被称为接收机(receiver)、发射机(transmitter)或收发机(transceiver)。随着技术的演进,第二天线模块有时也可以认为是射频模块的一部分,并可集成到射频芯片中。可以理解地,射频模块也可以基于功耗和性能的需求,采用不同的器件或者不同的集成方式,本申请实施例对此不做限定。
示例性地,继续参见图8B和图8C,射频模块可以包括低噪声放大器(low noise amplifier,LNA)、功率放大器(power amplifier,PA)、混频器(mixer)等器件,这些器件可以根据需要集成到一个或多个芯片中。此外,由于射频信号通常是模拟信号,基带模块处理的信号主要是数字信号,因此还需要有模数转换器件。本申请实施例中,模数转换器件可以设置在基带模块中,也可以设置在射频模块中。模数转换器件包括将模拟信号转换为数字信号的模数转换器(analog to digital converter,ADC),以及将数字信号转换为模拟信号的数模转换器(digital to analog converter,DAC)。
根据信号的接收或发送路径的不同,射频模块可以包括射频接收通道和射频发射通道。其中,射频接收通道可以包括ADC、LNA、混频器等器件,射频接收通道可通过第二天线模块接收射频信号,对该射频信号进行处理(如放大、下变频)以得到基带信号,并传递给基带模块。射频发送通道可以包括DAC、混频器、PA等器件,射频发送通道可接收来 自基带模块的基带信号,对基带信号进行处理(如上变频、放大)以得到射频信号,并最终通过第二天线模块将该射频信号以电磁波的形式辐射到空间中。
当第一无线通信技术采用时分双工(time division duplex,TDD)方式来发射和接收信号时,发射信号的频率和接收信号的频率可以相同,此种情形下,参见图8B所示,射频接收通道和射频发射通道可以通过开关模块、滤波器与天线模块连接;当进行信号发射时,通过控制开关模块,可以使得射频发射通道与滤波器、天线模块连接,当进行信号接收时,通过控制开关模块,可以使得射频接收通道与滤波器、天线模块连接。当第一无线通信技术采用频分双工(frequency division duplex,FDD)方式来发射和接收信号时,发射信号的频率和接收信号的频率不相同,此种情形下,参见图8C所示,射频接收通道和射频发射通道可以通过双工器与天线模块连接,其中双工器可以包括至少两个滤波器,其中一个滤波器用于对发射信号进行滤波处理,另一个滤波器用于对接收信号进行滤波处理。
需要说明的是,本申请实施例中所涉及的开关模块可以为具有开关功能的模组,例如单刀双掷开关(single pole double throw,SPDT)、金属-氧化物半导体场效应晶体管(metal-oxide semiconductor field-effect transistor,MOSFET)等,本申请实施例对开关模块的具体实现不做限定。
(3)第二天线模块
第二天线模块可以为对应第一无线通信技术的天线,第二天线模块可以包括一根或多根天线。
需要说明的是,上述图8A、图8B和图8C示意的结构并不构成对第一通信装置的具体限定。在本申请的另一些实施例中,第一通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。
以第一通信模块和第一天线模块属于前文所描述的第一阅读器为例(当第一通信模块和第一天线模块属于前文所描述的RFID阅读器时,可以参照第一通信模块和第一天线模块属于第一阅读器的实现),由于第一阅读器发射的射频信号(比如第一扫描信号)的频率可以位于第一无线通信技术的工作频段内,即第一阅读器的工作频段和第一无线通信技术的工作频段可以相同,因此,可以考虑由第一无线通信技术对应的第二通信模块和第二天线模块来执行第一阅读器的部分或全部功能,或者第一阅读器来执行第一无线通信技术对应的第二通信模块和第二天线模块的部分或全部功能,从而简化硬件设计,节省硬件成本。
比如,可以由第二天线模块来执行第一天线模块的功能,或者由第一天线模块来执行第二天线模块的功能,即第一天线模块和第二天线模块为同一天线模块。也就是说,第一通信模块和第二通信模块通过同一天线模块来发送信号。参见图8D,为第一天线模块和第二天线模块为同一天线模块时,第一通信装置的一种可能的结构示意图。如图8D所示,第一通信模块和第二通信模块可以通过开关模块与第二天线模块(或者说第一天线模块)选择性连接。示例性地,当第一通信模块需要发送或接收信号时,处理模块可以通过控制开关模块,使得第一通信模块与第二天线模块连接,第二通信模块与第二天线模块断开连接;当第二通信模块需要发送或接收信号时,处理模块可以通过控制开关模块,使得第二通信模块与第二天线模块连接,第一通信模块与第二天线模块断开连接。
又比如,由于第二通信模块能够发送复杂调制信号(比如采用OFDM调制方式进行调制的信号),从而可以赋予第二通信模块发送简单调制信号(比如采用脉冲调制方式进行 调制的信号)或单音信号的能力;也就是说,可以由第二通信模块来实现第一通信模块的功能,从而使得第一通信装置可以无需包括第一通信模块或者说第二通信模块与第一通信模块为同一通信模块。参见图8E,为第一天线模块和第二天线模块为同一天线模块,且由第二通信模块来实现第一通信模块的功能时,第一通信装置的一种可能的结构示意图。如图8E所示,第一通信装置可以包括处理模块、第二通信模块和第二天线模块(或者说第一天线模块)。
需要说明的是,上述图8D和图8E给出了两种可能的简化硬件设计的示例,比如上述图8E中是完全由第二通信模块来执行第一通信模块的功能,具体实施中,还可以有其它简化硬件设计的情形,比如第一通信模块和第二通信模块可以共用部分器件。
此外,以图8E为例,当由第二通信模块来实现第一通信模块(比如第一阅读器)的功能时,由于第一阅读器和第一电子标签之间在进行信号交互时,第一阅读器发射的射频信号与第一电子标签根据射频信号反馈的应答信号的频率不相同,因此,当第二通信模块采用时分双工方式来发射和接收信号时,可能会导致第二通信模块发送射频信号后,无法接收到第一电子标签发送的应答信号。为解决这一问题,当由第二通信模块来实现第一通信模块的功能时,可以对第二通信模块进行改进,比如新增加一个射频接收通道,从而使得第二通信模块可以通过新增加的射频接收通道来接收第一电子标签发送的应答信号。
参见图8F,为第一天线模块和第二天线模块为同一天线模块,且由第二通信模块来实现第一通信模块的功能时,第一通信装置的又一种可能的结构示意图。如图8F所示,射频发射通道和射频接收通道1通过开关模块、双工器与第二天线模块连接(即射频发射通道和射频接收通道1可以通过TDD方式来发射和接收信号),射频接收通道2可以通过双工器与第二天线模块连接。其中,双工器可以包括至少两个滤波器,其中一个滤波器用于对射频发射通道发射的信号以及射频接收通道1所要接收的信号进行滤波处理,另一个滤波器用于对射频接收通道2所要接收的信号进行滤波处理。需要说明的是,本申请实施例对双工器所包括的滤波器的数量可以不做具体限定,以能实现上述相应的滤波处理为准。
需要说明的是,当由第二通信模块来实现第一通信模块(比如RFID阅读器)的功能时,由于RFID阅读器和RFID电子标签之间在进行信号交互时,RFID阅读器发射的射频信号与RFID电子标签根据射频信号反馈的应答信号的频率相同,因此,第二通信模块可以采用时分双工方式来发射射频信号和接收应答信号,而无需再额外增加一个射频接收通道。
下面对第二通信装置的结构进行描述。
图9A为第二通信装置的一种可能的结构示意图。如图9A所示,第二通信装置中可以包括第二通信模块、与第二通信模块连接的第二天线模块、第三通信模块以及与第三通信模块连接的第三天线模块。
其中,第三通信模块可以用于:通过第三天线模块接收来自第一设备的第一扫描信号;以及,根据第一扫描信号向第一设备发送第一应答信号,第一应答信号携带第二设备的配置信息。第二通信模块可以用于:接收来自第一设备的请求信号,并根据请求信号建立第一设备和第二设备之间的网络连接。
此外,第二通信装置中还可以包括处理模块,处理模块可以与第二通信模块连接。
作为一种可能的实现,上述第三通信模块和第三天线模块可以属于前文所描述的RFID电子标签;作为又一种可能的实现,上述第三通信模块和第三天线模块可以属于前文所描 述的第一电子标签,其中,第三天线模块可以为图3A中所示意的第一天线,第三通信模块可以包括图3A中所示意的微波激射器、第一双工器、电源电路、调制电路、存储和控制电路等,具体可以参见前文的描述,此处不再赘述。此种情形下,第一应答信号可以为第一电子标签所发送的应答信号。第二通信装置中的第二通信模块的功能对应于上述第一通信装置中的第二通信模块,因此其具体结构可以参见上文有关第一通信装置中的第二通信模块的结构的描述,此处不再赘述。
图9B为第二通信装置的又一种可能的结构示意图。相比于图9A来说,图9B中,第三通信模块可以与第二通信模块连接,第三通信模块还用于:向第二通信模块发送激活信号,激活信号用于激活对应第一无线通信技术的通信功能,或者说,激活信号用于将对应第一无线通信技术的通信功能从休眠状态中唤醒。
类似于第一通信装置,第二通信装置中的第二通信模块可以实现第二设备的对应第一无线通信技术(例如Wi-Fi)的通信功能、扫描功能、网络连接功能等。当第二设备启动对应Wi-Fi通信技术的通信功能后,其它设备(比如第一设备)可以通过扫描发现第二设备,进而与第二设备建立Wi-Fi P2P连接。然而,为了节省设备功耗,当第二设备启动对应Wi-Fi通信技术的通信功能后,若在设定时间段内没有其它设备与第二设备建立Wi-Fi P2P连接,则第二设备可以将对应Wi-Fi通信技术的通信功能设置为休眠状态,比如可以关闭射频模块中的射频接收通道(比如图8B或图8C中所示意的射频接收通道,或者图8F中所示意的射频接收通道1),可选地,还可以关闭基带模块中用于处理通过射频接收通道所接收到的信号的器件。也就是说,当对应Wi-Fi通信技术的通信功能处于休眠状态时,第二通信模块不接收Wi-Fi信号(即采用Wi-Fi通信技术支持的调制方式进行调制的信号),从而导致其它设备无法与第二设备建立Wi-Fi P2P连接。比如,第一设备通过发送第一扫描信号,获取到第二设备的网络连接信息,并根据网络连接信息向第二设备发送请求信号,但由于第二设备的对应Wi-Fi通信技术的通信功能处于休眠状态,使得第二设备无法接收请求信号,进而导致第一设备无法与第二设备建立网络连接。
为解决这一问题,本申请实施例中,第三通信模块可以包括检波模块,检波模块用于向第二通信模块发送激活信号。在一个示例中,检波模块可以为二极管检波电路,二极管检波电路可包含输入回路、二极管和RC低通滤波器,检波模块的第一端(即二极管检波电路的输入端)与第一双工器相连接,通过接收到的射频信号(比如第一扫描信号)对电容进行充放电,控制二极管的导通和截止,最终达到动态平衡;检波模块的第二端(即二极管检波电路的输出端)可输出检波电压信号。其中,接收到的射频信号的功率越大,检波电压信号的电压越大。
本申请实施例中,检波模块可用于判断射频信号的功率是否大于功率阈值,具体来说,检波模块的第一端与第一双工器相连接,此时,检波模块可以接收射频信号,并输出检波电压信号。当射频信号的功率大于或等于功率阈值时(说明射频信号为有效的射频信号,第三通信模块可以对该射频信号进行响应),检波电压信号为高电平信号;当射频信号的功率小于功率阈值时(说明射频信号为无效的射频信号,第三通信模块不对该射频信号进行响应),检波电压信号为低电平信号。其中,功率阈值可以是根据最大似然检测理论或者其它可能的信号检测理论计算确定出的。检波模块向第二通信模块发送的激活信号可以是指高电平信号。
示例性地,检波模块的第二端与第二通信模块连接,可以是指,检波模块的第二端与 第二通信模块中的基带模块连接。如此,当基带模块接收到检波模块发送的激活信号后,可以激活对应第一无线通信技术的通信功能,比如可以启动射频模块中的射频接收通道,可选地,还可以启动基带模块中的用于处理通过射频接收通道所接收到的信号的器件。
作为一种可能的实现,可以由第三通信模块的电源电路来实现检波模块的功能,也就是说,电源电路除了为存储和控制电路供电外,还可以向第二通信模块发送激活信号。此种情形下,电源电路可以包括二极管检波电路。
以第三通信模块和第三天线模块可以属于前文所描述的第一电子标签为例(当第三通信模块和第三天线模块属于前文所描述的RFID电子标签时,可以参照第三通信模块和第三天线模块属于第一电子标签的实现),由于第一电子标签发射的应答信号的频率可以位于第一无线通信技术的工作频段内,即第一电子标签的工作频段和第一无线通信技术的工作频段相同,因此,可以考虑由第三天线模块来执行第二天线模块的功能,或者由第二天线模块来执行第三天线模块的功能,即第三天线模块和第二天线模块为同一天线模块,从而简化硬件设计,节省硬件成本。
参见图9C,为第二天线模块和第三天线模块为同一天线模块时,第二通信装置的一种可能的结构示意图。如图9C所示,第二通信模块和第三通信模块可以通过功分模块与第二天线模块(或者说第三天线模块)连接。其中,功分模块可以包括第一端、第二端和第三端,功分模块的第一端与第三通信模块连接,功分模块的第二端与第二通信模块连接,功分模块的第三端与第二天线模块连接。功分模块的第一端和第二端为输入端,第三端为输出端;或者,功分模块的第三端为输入端,第一端和第二端为输出端。
示例性地,功分模块可以为功分器,功分器可以将一路输入信号分成两路(或多路)输出信号,两路输出信号的功率可以相等或者也可以不相等,此时,输入信号的功率可以等于两路输出信号的功率之和;以及,也可反过来将两路(或多路)输入信号合成一路输出信号,此时,输出信号的功率可以等于两路输入信号的功率之和。
在一个示例中,当第二天线模块接收到第一设备发射的信号(比如第一扫描信号)后,功分模块可以将第一扫描信号分为两路信号,其中一路信号为信号1,另一路信号为信号2,并将信号1传输给第三通信模块,以及将信号2传输给第二通信模块。第三通信模块接收到信号1后,可以识别信号1,并传输第一应答信号给功分模块;第二通信模块接收到信号2后,由于无法识别信号2,可以不进行响应;如此,功分模块可以将第一应答信号通过第二天线模块发送给第一设备。
在又一个示例中,当第二天线模块接收到第一设备发射的信号(比如第二扫描信号)后,功分模块可以将第二扫描信号分为两路信号,其中一路信号为信号3,另一路信号为信号4,并将信号3传输给第三通信模块,以及将信号4传输给第二通信模块。第三通信模块接收到信号3后,由于无法识别信号3,可以不进行响应;第二通信模块接收到信号4后,可以识别信号4,并传输第二应答信号给功分模块;如此,功分模块可以将第二应答信号通过第二天线模块发送给第一设备。
需要说明的是:(1)上文中有关第一通信装置的结构的描述主要是以第一通信装置实现发起方设备(比如上述实施例一或实施例二中的第一设备)的功能为例进行描述。考虑到在其它可能的场景中发起方设备也可能作为响应方设备,因此,针对于第一通信装置来说,第一通信装置中也可以包括第三通信模块以及与第三通信模块连接的第三天线模块(即第一通信装置中也可以包括RFID电子标签或第一电子标签,该RFID电子标签或第 一电子标签存储有第一设备的配置信息),以实现响应方设备的功能,参见图10A所示。
在一个示例中,基于上文的描述可知,为简化硬件设计,节省硬件成本,第一天线模块、第二天线模块和第三天线模块可以为同一天线模块。此种情形下,第一设备的结构可以参见图10B所示,第一通信模块和第二通信模块可以通过开关模块、功分模块与第一天线模块(或第二天线模块或第三天线模块)连接,第三通信模块可以通过功分模块与第一天线模块连接。其中,功分模块包括第一端、第二端和第三端,功分模块的第一端与开关模块连接,功分模块的第二端与第三通信模块连接,功分模块的第三端与第一天线模块连接。功分模块的第一端和第二端为输入端,第三端为输出端;或者,功分模块的第三端为输入端,第一端和第二端为输出端。
如此,当第一设备为发起方设备时,第一设备可以通过第一通信模块和第二通信模块发送和接收信号,相关实现可以参见上文的描述。当第一设备为响应方设备(比如第四设备需要与第一设备建立网络连接,则第四设备可以为发起方设备、第一设备可以为响应方设备)时,第一设备可以通过第二通信模块和第三通信模块发送和接收信号;此种情形下,处理模块可以通过控制开关模块,使得第二通信模块与功分模块连接,以及第一通信模块与功分模块断开连接。比如,第四设备发送第一扫描信号,相应地,第一设备的第一天线模块可以接收第一扫描信号,并将第一扫描信号传输给功分模块,进而由功分模块将第一扫描信号分为两路信号,其中一路信号为信号1,另一路信号为信号2,并将信号1传输给第三通信模块,以及将信号2传输给第二通信模块。第三通信模块接收到信号1后,可以识别信号1,并传输第一应答信号给功分模块;第二通信模块接收到信号2后,由于无法识别信号2,可以不进行响应;如此,功分模块可以将第一应答信号通过第一天线模块发送给第四设备。
在又一个示例中,基于上文的描述可知,为简化硬件设计,节省硬件成本,第一天线模块、第二天线模块和第三天线模块可以为同一天线模块,且可以由第二通信模块实现第一通信模块的功能,此种情形下,第一设备的结构可以参见图10C所示。
(2)上文中有关第二通信装置的结构的描述主要是以第二通信装置实现响应方设备(比如上述实施例一或实施例二中的第二设备)的功能为例进行描述。考虑到在其它可能的场景中响应方设备也可能作为发起方设备,因此,针对于第二通信装置来说,第二通信装置中也可以包括第一通信模块以及与第一通信模块连接的第一天线模块(即第二通信装置中也可以包括RFID阅读器或第一阅读器),以实现发起方设备的功能,参见图11所示。
进一步地,基于上文的描述可知,为简化硬件设计,节省硬件成本,也可以在图11的基础上,对第二通信装置的结构进行改进。其中,对第二通信装置的结构进行改进的具体实现可以参见第一设通信装置的描述,比如改进后的第二通信装置的结构可以如图10B和图10C所示。
基于以上实施例,本申请实施例还提供一种通信系统,包括上述实施例中所描述的第一通信装置和第二通信装置。
基于以上实施例,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当计算机程序在计算机上运行时,使得计算机执行以上实施例提供的通信方法。其中,存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable PROM,EPROM) 或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。
基于以上实施例,本申请实施例还提供了一种程序产品,该程序产品包括指令,当所述指令在计算机上运行时,使得计算机执行以上实施例提供的通信方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (39)

  1. 一种通信方法,其特征在于,所述方法包括:
    发送第一扫描信号;
    接收来自第二设备的、根据所述第一扫描信号反馈的配置信息,所述配置信息包括所述第二设备的网络连接信息;
    根据所述第二设备的网络连接信息,向所述第二设备发送请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;
    其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
  2. 根据权利要求1所述的方法,其特征在于,所述配置信息还包括所述第二设备的标识信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;
    所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:
    发送第二扫描信号;
    接收来自第三设备的、根据所述第二扫描信号反馈的所述第三设备的标识信息;
    所述第二扫描信号的频率位于所述第一无线通信技术的工作频段内。
  5. 根据权利要求4所述的方法,其特征在于,所述第二扫描信号为采用所述第一无线通信技术支持的调制方式进行调制的信号。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一无线通信技术为无线保真Wi-Fi通信技术,所述网络连接为Wi-Fi端到端P2P连接或Wi-Fi接入点AP连接;或者,
    所述第一无线通信技术为蓝牙通信技术,所述网络连接为蓝牙连接。
  7. 一种通信方法,其特征在于,所述方法包括:
    接收来自第一设备的第一扫描信号;
    响应于所述第一扫描信号,向所述第一设备发送配置信息,所述配置信息包括第二设备的网络连接信息;
    接收来自所述第一设备的请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;
    其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
  8. 根据权利要求7所述的方法,其特征在于,所述配置信息还包括所述第二设备的标识信息。
  9. 根据权利要求7或8所述的方法,其特征在于,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;
    所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
  10. 根据权利要求7至9中任一项所述的方法,其特征在于,在接收来自所述第一设备的 第一扫描信号之前,所述第二设备的、对应所述第一无线通信技术的通信功能处于休眠状态;
    在接收来自所述第一设备的第一扫描信号的同时或者之后,所述方法还包括:
    激活对应所述第一无线通信技术的通信功能。
  11. 根据权利要求7至10中任一项所述的方法,其特征在于,所述第一无线通信技术为无线保真Wi-Fi通信技术,所述网络连接为Wi-Fi端到端P2P连接或Wi-Fi接入点AP连接;或者,
    所述第一无线通信技术为蓝牙通信技术,所述网络连接为蓝牙连接。
  12. 一种通信装置,其特征在于,所述装置包括第一通信模块、与所述第一通信模块连接的第一天线模块、第二通信模块以及与所述第二通信模块连接的第二天线模块;
    所述第一通信模块用于:通过所述第一天线模块发送第一扫描信号,以及接收来自第二设备的、根据所述第一扫描信号反馈的第一配置信息,所述第一配置信息包括所述第二设备的网络连接信息;
    所述第二通信模块用于:根据所述第二设备的网络连接信息,通过所述第二天线模块向所述第二设备发送请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;
    其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
  13. 根据权利要求12所述的装置,其特征在于,所述第一配置信息还包括所述第二设备的标识信息。
  14. 根据权利要求12或13所述的装置,其特征在于,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;
    所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
  15. 根据权利要求12至14中任一项所述的装置,其特征在于,所述第二通信模块还用于:通过所述第二天线模块发送第二扫描信号,以及接收来自第三设备的、根据所述第二扫描信号反馈的所述第三设备的标识信息;
    所述第二扫描信号的频率位于所述第一无线通信技术的工作频段内。
  16. 根据权利要求15所述的装置,其特征在于,所述第二扫描信号为采用所述第一无线通信技术支持的调制方式进行调制的信号。
  17. 根据权利要求12至16中任一项所述的装置,其特征在于,所述第一天线模块和所述第二天线模块为同一天线模块;
    所述第一通信模块和所述第二通信模块通过开关模块与所述第一天线模块选择性连接。
  18. 根据权利要求12至17中任一项所述的装置,其特征在于,所述装置还包括第三通信模块和与所述第三通信模块连接的第三天线模块;
    所述第三通信模块用于:通过所述第三天线模块接收第三扫描信号,以及响应于所述第三扫描信号,发送第二配置信息,所述第二配置信息包括所述第一设备的网络连接信息。
  19. 根据权利要求18所述的装置,其特征在于,所述第一天线模块、所述第二天线模块和所述第三天线模块为同一天线模块;
    所述装置还包括功分器,所述功分器包括第一端、第二端和第三端;
    所述第三通信模块与所述功分器的第一端连接,所述第一通信模块和所述第二通信模块通过开关模块与所述功分器的第二端选择性连接,所述第一天线模块与所述功分器的第三端连接;
    其中,所述功分器的第一端和第二端为输入端,所述功分器的第三端为输出端;或者,所述功分器的第三端为输入端,所述功分器的第一端和第二端为输出端。
  20. 根据权利要求18或19所述的装置,其特征在于,所述第三通信模块还用于:向所述第二通信模块发送激活信号,所述激活信号用于激活对应所述第一无线通信技术的通信功能。
  21. 一种通信装置,其特征在于,所述装置包括第二通信模块以及与所述第二通信模块连接的第二天线模块;
    所述第二通信模块用于:通过所述第二天线模块发送第一扫描信号,以及接收来自第二设备的、根据所述第一扫描信号反馈的第一配置信息,所述第一配置信息包括所述第二设备的网络连接信息;根据所述第二设备的网络连接信息,通过所述第二天线模块向所述第二设备发送请求信号,所述请求信号用于请求建立第一设备与所述第二设备之间的网络连接;
    其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
  22. 根据权利要求21所述的装置,其特征在于,所述第一配置信息还包括所述第二设备的标识信息。
  23. 根据权利要求21或22所述的装置,其特征在于,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;
    所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
  24. 根据权利要求21至23中任一项所述的装置,其特征在于,所述第二通信模块还用于:通过所述第二天线模块发送第二扫描信号,以及接收来自第三设备的、根据所述第二扫描信号反馈的所述第三设备的标识信息;
    所述第二扫描信号的频率位于所述第一无线通信技术的工作频段内。
  25. 根据权利要求24所述的装置,其特征在于,所述第二扫描信号为采用所述第一无线通信技术支持的调制方式进行调制的信号。
  26. 根据权利要求21至25中任一项所述的装置,其特征在于,所述装置还包括第三通信模块和与所述第三通信模块连接的第三天线模块;
    所述第三通信模块用于:通过所述第三天线模块接收第三扫描信号,以及响应于所述第三扫描信号,发送第二配置信息,所述第二配置信息包括所述第一设备的网络连接信息。
  27. 根据权利要求26所述的装置,其特征在于,所述第二天线模块和所述第三天线模块为同一天线模块;
    所述装置还包括功分器,所述功分器包括第一端、第二端和第三端;
    所述第三通信模块与所述功分器的第一端连接,所述第二通信模块与所述功分器的第二端连接,所述第二天线模块与所述功分器的第三端连接;
    其中,所述功分器的第一端和第二端为输入端,所述功分器的第三端为输出端;或者, 所述功分器的第三端为输入端,所述功分器的第一端和第二端为输出端。
  28. 根据权利要求26或27所述的装置,其特征在于,所述第三通信模块还用于:向所述第二通信模块发送激活信号,所述激活信号用于激活对应所述第一无线通信技术的通信功能。
  29. 根据权利要求21至28中任一项所述的装置,其特征在于,所述第二通信模块包括第一射频发射通道、第一射频接收通道和第二射频接收通道;
    其中,所述第一射频发射通道和所述第一射频接收通道通过开关模块与双工器选择性连接,所述第二射频接收通道与所述双工器连接,所述双工器与所述第二天线模块连接。
  30. 一种通信装置,其特征在于,所述装置包括第二通信模块、与所述第二通信模块连接的第二天线模块、第三通信模块以及与所述第三通信模块连接的第三天线模块;
    所述第三通信模块用于:通过所述第三天线模块接收来自第一设备的第一扫描信号,响应于第一扫描信号,向所述第一设备发送配置信息,所述配置信息包括第二设备的网络连接信息;
    所述第二通信模块用于:接收来自所述第一设备的请求信号,所述请求信号用于请求建立所述第一设备和所述第二设备之间的网络连接;
    其中,所述网络连接为第一无线通信技术对应的网络连接,所述第一扫描信号的频率和所述请求信号的频率位于所述第一无线通信技术的工作频段内。
  31. 根据权利要求30所述的装置,其特征在于,所述配置信息还包括所述第二设备的标识信息。
  32. 根据权利要求30或31所述的装置,其特征在于,所述第一扫描信号为单音信号或者采用第一调制方式进行调制的信号,所述请求信号为采用所述第一无线通信技术支持的调制方式进行调制的信号;
    所述第一调制方式不同于所述第一无线通信技术支持的调制方式。
  33. 根据权利要求30至32中任一项所述的装置,其特征在于,所述第三通信模块还用于:向所述第二通信模块发送激活信号,所述激活信号用于激活对应所述第一无线通信技术的通信功能。
  34. 根据权利要求30至33中任一项所述的装置,其特征在于,所述第二天线模块和所述第三天线模块为同一天线模块;
    所述装置还包括功分器,所述功分器包括第一端、第二端和第三端;
    所述第三通信模块与所述功分器的第一端连接,所述第二通信模块与所述功分器的第二端选择性连接,所述第二天线模块与所述功分器的第三端连接;
    其中,所述功分器的第一端和第二端为输入端,所述功分器的第三端为输出端;或者,所述功分器的第三端为输入端,所述功分器的第一端和第二端为输出端。
  35. 一种通信系统,其特征在于,包括如权利要求12至20中任一项的通信装置或者如权利要求21至29中任一项的通信装置,以及包括如权利要求30至34中任一项的通信装置。
  36. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至6中任一项所述的方法,或实现如权利要求7至11中任一项所述的方法。
  37. 一种芯片,包括至少一个处理器和接口电路,其特征在于,所述接口电路用于为所 述至少一个处理器提供程序或者指令,所述程序或者指令被所述至少一个处理器执行时,控制所述芯片所在的装置实现如权利要求1至6中任一项所述的方法,或实现如权利要求7至11中任一项所述的方法。
  38. 一种终端,其特征在于,包括如权利要求12至20中任一项的通信装置、如权利要求21至29中任一项的通信装置、或者如权利要求30至34中任一项的通信装置。
  39. 根据权利要求38所述的终端,其特征在于,所述终端为智能家居设备、智能运输设备、智能穿戴设备或者智能制造设备。
PCT/CN2021/088208 2021-04-19 2021-04-19 一种网络连接建立方法及相应的装置 WO2022222007A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180001121.6A CN113170377A (zh) 2021-04-19 2021-04-19 一种网络连接建立方法及相应的装置
PCT/CN2021/088208 WO2022222007A1 (zh) 2021-04-19 2021-04-19 一种网络连接建立方法及相应的装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/088208 WO2022222007A1 (zh) 2021-04-19 2021-04-19 一种网络连接建立方法及相应的装置

Publications (1)

Publication Number Publication Date
WO2022222007A1 true WO2022222007A1 (zh) 2022-10-27

Family

ID=76876007

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/088208 WO2022222007A1 (zh) 2021-04-19 2021-04-19 一种网络连接建立方法及相应的装置

Country Status (2)

Country Link
CN (1) CN113170377A (zh)
WO (1) WO2022222007A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115701724B (zh) * 2021-08-02 2024-05-03 华为技术有限公司 用于设备连接的方法、电子设备和系统
CN115915019A (zh) * 2021-08-05 2023-04-04 华为技术有限公司 设备发现方法和装置
CN115811707A (zh) * 2021-09-16 2023-03-17 华为技术有限公司 一种设备发现方法、设备及系统
CN114449602B (zh) * 2022-01-27 2024-02-06 深圳Tcl新技术有限公司 切换方法、存储介质及无线通信装置
CN117955516A (zh) * 2022-10-20 2024-04-30 维沃移动通信有限公司 射频电路及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125656A (zh) * 2013-04-24 2014-10-29 联想(北京)有限公司 一种设备连接的方法、电子设备及连接系统
CN104796878A (zh) * 2015-05-05 2015-07-22 烟台友开通信技术有限公司 一种通过二维码快速建立终端网络连接的方法
CN105228148A (zh) * 2015-09-28 2016-01-06 武汉钢铁(集团)公司 一种扫描二维码连接无线网络的方法和移动终端
CN105337814A (zh) * 2015-12-09 2016-02-17 北京四达时代软件技术股份有限公司 一种网络设备的连接方法、设备及系统
CN111132374A (zh) * 2019-12-12 2020-05-08 北京小米移动软件有限公司 建立无线网络连接的方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0409016A3 (en) * 1989-07-10 1992-07-01 Csir System and method for locating labelled objects
US8089344B1 (en) * 2004-06-25 2012-01-03 M Afshin Zand Method and system for miniature passive RFID tags and readers
EP2056480A1 (en) * 2007-10-30 2009-05-06 Renishaw plc Wireless communications device and method
CN106550487A (zh) * 2016-10-19 2017-03-29 乐视控股(北京)有限公司 Wi‑fi 直连的方法及系统
CN108702605A (zh) * 2017-06-30 2018-10-23 华为技术有限公司 一种无线通信连接建立的方法及设备
CN108174372A (zh) * 2017-12-22 2018-06-15 珠海市君天电子科技有限公司 网络接入方法、装置、电子设备及存储介质
CN108764405B (zh) * 2018-05-22 2021-06-04 北京易正系统集成有限公司 一种确定用户所处区域的系统及方法
CN111194067A (zh) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 网络接入方法、装置、相关设备及存储介质
CN111818621A (zh) * 2019-04-10 2020-10-23 阿里巴巴集团控股有限公司 蓝牙设备唤醒方法、装置、系统及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125656A (zh) * 2013-04-24 2014-10-29 联想(北京)有限公司 一种设备连接的方法、电子设备及连接系统
CN104796878A (zh) * 2015-05-05 2015-07-22 烟台友开通信技术有限公司 一种通过二维码快速建立终端网络连接的方法
CN105228148A (zh) * 2015-09-28 2016-01-06 武汉钢铁(集团)公司 一种扫描二维码连接无线网络的方法和移动终端
CN105337814A (zh) * 2015-12-09 2016-02-17 北京四达时代软件技术股份有限公司 一种网络设备的连接方法、设备及系统
CN111132374A (zh) * 2019-12-12 2020-05-08 北京小米移动软件有限公司 建立无线网络连接的方法及装置

Also Published As

Publication number Publication date
CN113170377A (zh) 2021-07-23

Similar Documents

Publication Publication Date Title
WO2022222007A1 (zh) 一种网络连接建立方法及相应的装置
US20220361259A1 (en) Method and apparatus for wi-fi connection using wi-fi protected setup in portable terminal
US7643798B2 (en) Passive NFC activation of short distance wireless communication
JP5792397B2 (ja) 近距離通信システムにおける接続確立のための電力消費の削減
US9071926B2 (en) Device detection using load modulation in near-field communications
JP6189418B2 (ja) ピアモード通信に関するrf発見の向上
EP2445257A1 (en) Delayed and conditional transport switch
US9894616B2 (en) Delegating WiFi network discovery and traffic monitoring
KR20060052306A (ko) 근거리 통신 시스템을 구동하기 위한 방법
US20090234728A1 (en) Advertising introductory information including multiple profiles
JP6728204B2 (ja) 近傍界通信フォーラムリッスンモードプロファイル
US20110319017A1 (en) Audio control system and method using near-field wireless communication
WO2014182377A2 (en) Delegating wifi network discovery and traffic monitoring
CN212935899U (zh) 设备
CN114390501B (zh) 数据传输的方法及电子设备
US20230107204A1 (en) Communication method and device, and storage medium
CN112654074A (zh) 一种Wi-Fi P2P连接方法、电子设备及计算机可读存储介质
WO2013081763A1 (en) Modified connection establishment for reducing power consumption in near field communication systems
CN105763735A (zh) 用户设备及快速休眠方法
US9906276B2 (en) Method and apparatus for near field communication
JP2015521398A (ja) アクティブ通信モードを使用してピア通信を改善するための方法および装置
KR101781743B1 (ko) Wi-Fi 백스캐터 시스템 및 그것을 이용한 백스캐터 통신 방법
CN105827761B (zh) 基于手机的超高频射频识别装置及控制方法、装置
US20060109828A1 (en) Communication apparatus and method of controlling same
WO2010046732A1 (en) Feature selection in wireless communication

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21937258

Country of ref document: EP

Kind code of ref document: A1