WO2018121234A1 - 建立通信连接的方法、设备及系统 - Google Patents

建立通信连接的方法、设备及系统 Download PDF

Info

Publication number
WO2018121234A1
WO2018121234A1 PCT/CN2017/115530 CN2017115530W WO2018121234A1 WO 2018121234 A1 WO2018121234 A1 WO 2018121234A1 CN 2017115530 W CN2017115530 W CN 2017115530W WO 2018121234 A1 WO2018121234 A1 WO 2018121234A1
Authority
WO
WIPO (PCT)
Prior art keywords
attribute information
information
designated
connection
establishing
Prior art date
Application number
PCT/CN2017/115530
Other languages
English (en)
French (fr)
Inventor
谭轩
佘少华
胡琦
Original Assignee
珠海赛纳打印科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海赛纳打印科技股份有限公司 filed Critical 珠海赛纳打印科技股份有限公司
Publication of WO2018121234A1 publication Critical patent/WO2018121234A1/zh

Links

Images

Classifications

    • 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 invention relates to the field of wireless communication technologies, and in particular, to a method, device, and system for establishing a communication connection.
  • Wi-Fi P2P Wireless Peer-to-Peer
  • Wi-Fi P2P Wireless Peer-to-Peer
  • a device in the search state sends a request to all surrounding devices in a broadcast form, and all devices receiving the request send a response message thereto, and the device selects an expected connection according to the corresponding information.
  • the device which in turn establishes a Wi-Fi P2P connection. Therefore, the prior art sends a request in a non-directional manner, waits for a response from all surrounding devices, and selects it, increases network connection time, and has low connection efficiency.
  • the embodiments of the present invention provide a method, a device, and a system for establishing a communication connection, which can effectively reduce the time for establishing a connection between two devices and improve connection efficiency.
  • an embodiment of the present invention provides a method for establishing a communication connection, including:
  • the first designated device replies to the first probe response message
  • an embodiment of the present invention provides a device for establishing a communication connection, where the device is capable of establishing a point-to-point connection with a first designated device, where the device is configured to send its own target device attribute information to the first designated device, Causing the first designated device to acquire the first device genus The information is carried in the first probe message, and the first probe message is broadcasted, and the device includes:
  • a parsing unit configured to parse target device attribute information from the first probe message when the first probe message is detected
  • a reply unit configured to: when the parsed target device attribute information matches the own device attribute information, reply the first probe response message to the first designated device;
  • the first interface unit is configured to establish a communication connection with the first designated device.
  • the present invention also provides a system for establishing a communication connection, the system comprising a first device and a second device:
  • the first device is configured to send the device attribute information of the first device to the second device, so that the second device carries the device attribute information of the first device in the probe message, and broadcasts the probe message;
  • the second device is configured to monitor device attribute information of the first device that is sent by the first device;
  • the second device is further configured to: carry the device attribute information of the first device in the probe information, and broadcast the probe information;
  • the first device is further configured to parse device attribute information of the first device from the probe message when the probe message is detected;
  • the first device is further configured to: when the parsed device attribute information of the first device matches the own device attribute information, return a probe response message to the second device;
  • the second device is further configured to establish, according to the probe response message that is restored by the first device, a communication connection with the second device.
  • An embodiment of the present invention provides a method, a device, and a system for establishing a communication connection, and sending the target device attribute information of the device to the first designated device, so that the specified device carries the first device attribute information to the first probe.
  • the target device attribute information is parsed from the first probe message by monitoring the first probe message sent by the first designated device that establishes the communication connection, and when the parsed target device attribute information matches the own device attribute information, Responding to the first designated device to reply to the first probe response message, thereby establishing a point-to-point connection with the first designated device.
  • the device when the two devices establish a Wi-Fi P2P connection, the device sends the request information in a non-directional manner, and waits for the other device to respond to the device, and the device provided by the embodiment of the present invention passes the device.
  • the target device attribute information of the connection establishment is carried in the first probe message, and the device matches the device attribute information in the probe information with the device attribute information, thereby establishing a communication connection by using a directional search manner, thereby reducing the network connection. Time to improve network connection efficiency.
  • the directed search process provided by the embodiment of the present invention, only the corresponding target device replies, so that the security of the network connection is better protected in the process of establishing a network connection.
  • FIG. 1 is a flowchart of a method for establishing a communication connection according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of another method for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 10 is a structural diagram of an apparatus for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 11 is a structural diagram of another apparatus for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 12 is a structural diagram of another apparatus for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 13 is a structural diagram of an apparatus for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a system for establishing a communication connection according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of hardware of an electronic device performing a method for establishing a communication connection according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for establishing a communication connection, where the method is applied to a target role device having a connection to establish a communication connection, as shown in FIG.
  • the first target device sends the target device attribute information to the first designated device, so that the first designated device carries the target device attribute information in the first probe message, and broadcasts the The first probe message is described.
  • the first designated device refers to a device that initiates establishing a communication connection among two devices that establish a communication connection.
  • Each device has its own device attribute information, which is an identity information, which is used to distinguish each device.
  • the attribute information may include device type information, specified identification information, attribute address, and the like.
  • the device attribute information may be a MAC (Media Access Control) address of the device, and an SSID (Service Set Identifier) of the device.
  • the first probe message is request information sent by the initiating device that establishes the communication connection to other devices when establishing a communication connection with other devices.
  • the probe information is broadcasted in the form of a data frame in channel 1 or channel 6 or channel 11.
  • the device attribute information is based on the format of the peer-to-peer (P2P) protocol and is encapsulated in the data frame corresponding to the probe information.
  • the data frame includes three parts: a data frame header, a data portion, and a data frame tail.
  • the data frame header and the data frame tail include some control information, where the control information includes an address location of the device that receives the data frame and other network information; the data part is a data body, and carries a main content of the message, for example, the probe information corresponds to
  • the data frame header and the data frame tail include address location information of a device that desires to establish a communication connection, and the data portion thereof carries a request for establishing a communication connection by the above device and data information such as a communication transmission protocol.
  • the target device attribute information is parsed from the first probe message.
  • the first probe message is transmitted in the form of a data frame. Therefore, after the device detects the first probe information, the device decompresses the data frame of the first probe message that is monitored, and then parses the first probe. The first device attribute information carried in the message.
  • the device does not respond to the probe information, and does not reply to the first designated device.
  • the communication connection in this embodiment refers to that the device establishes a point-to-point connection with the first designated device, and when establishing a point-to-point connection, it is also required to determine its own role information and the role information of the first designated device, and then between the devices.
  • the identity authentication information is exchanged, and the wireless network connection is established according to the Wi-Fi P2P standard handshake protocol according to the negotiated role.
  • the determination of the roles between devices and the operation of identity authentication follow the prior art.
  • An embodiment of the present invention provides a method for establishing a communication connection, and sending its own target device attribute information to a first designated device, so that the first device will obtain the first device attribute information.
  • the information is carried in the first probe message, and the first probe message is broadcasted, and the target device attribute information is parsed from the first probe message by monitoring the first probe message sent by the designated device that establishes the communication connection, and when parsing When the target device attribute information matches the own device attribute information, the first probe response message is replied to the first designated device, thereby establishing a point-to-point connection with the first designated device.
  • the request information is sent in a non-directional manner, and after waiting for the other device to respond, the device that establishes the connection is selected.
  • the target device attribute information of the connection establishment is carried in the first probe message, and the device matches the first device attribute information in the probe information with the own device attribute information, thereby establishing a communication connection by using a directional search manner, thereby reducing Network connection time to improve network connection efficiency.
  • the directed search process provided by the embodiment of the present invention, only the corresponding target device replies, so that the security of the network connection is better protected in the process of establishing a network connection.
  • the devices that establish the connection can also share the network routing information of the connection between the devices.
  • the embodiment of the present invention provides two possible implementation manners. .
  • the terminal device that establishes the Wi-Fi point-to-point connection supports the concurrent mode in which the base station and the Wi-Fi P2P coexist, that is, the device does not need to be disconnected from the network access point during the process of establishing the Wi-Fi P2P, and the device When a wireless connection is made to a network access point, there is no need to disconnect from the device that establishes the Wi-Fi P2P network connection.
  • the device sends the information of the network connection to the first designated device, and the method flowchart of the method is as shown in FIG. 2, including:
  • the first designated device sends information about the network to the device, and the method flowchart of the method is as shown in FIG. 3, including:
  • one device of the two devices can be quickly connected to the wireless network that has been established by another device, and the entire process can be automatically completed without user intervention, so that the implementation is adopted.
  • the communication connection method provided by the example establishes a Wi-Fi point-to-point connection between two devices, even if one of the devices is removed and exceeds the distance between the two devices capable of achieving Wi-Fi peer-to-peer communication, Shared routing information maintains communication between two devices in the form of a wireless network.
  • the device attribute information is added to the first probe message that is monitored by the device.
  • the embodiment of the present invention provides a possible implementation manner in the probe information.
  • a device attribute field is configured, and the device attribute field is used to carry target device attribute information, where the device attribute field includes:
  • An attribute address field that indicates the type of peer-to-peer communication.
  • a length indication field that indicates the length of the device address field.
  • the device address field is used to carry the target device attribute information.
  • the device attribute fields are as described in Table 1:
  • Attribute ID field (Attribute ID), the length is 1 byte, the value is fixed at 3, which means that the content is the content of the Device ID; the length indication field (Length), the length is 2 bytes, and the value is fixed at 6, representing the device.
  • the content of the address is 6 bytes; the device address field, which is 6 bytes in length, represents the MAC address of the target device to be searched.
  • the embodiment of the present invention provides a possible implementation method flow for sending the target device attribute information to the first designated device. 4, including:
  • a specific communication connection may be established with the first designated device in a specified manner.
  • the two devices for establishing a communication connection are provided with NFC (Near Field Communication) chips, and the near field communication chip allows non-contact data exchange and transmission between electronic devices within a distance of 20 cm.
  • NFC Near Field Communication
  • both devices that establish a communication connection are provided with infrared communication functions, wherein Communication methods are used in short-distance data exchange.
  • the target device radiates infrared rays outward, and the infrared wave carries the device attribute information of the target device, and then initiates the infrared communication function of the device to receive the infrared light wave to realize data transmission. Interaction.
  • the two devices that establish the connection have Bluetooth enabled, paired via Bluetooth, and then use the Bluetooth function to interact with the data.
  • the Bluetooth function is also used in short-distance data interaction.
  • the transmission of the information requires a certain period of time.
  • the first designated device does not receive the first probe response message replied by the device for some reason, and the device cannot establish a communication connection with the first device.
  • the present invention provides a possible solution to the problem. As shown in FIG. 5, the method specifically includes:
  • the process of establishing device role information required for a Wi-Fi point-to-point connection through a dedicated channel negotiation is specifically exemplified, wherein the device is a target device, and the first designated device is an initiating device that establishes a communication connection.
  • the specific implementation process includes: the initiating device interacts with the target device through a dedicated channel to prepare a request command for starting the Wi-Fi P2P network connection establishment, and then the network module in the initiating device sends a Wi-Fi direct group owner to the device processor (Wi- The hotspot information of the role of the initiator of the Fi P2P communication connection, the corresponding device transmits the information of the Wi-Fi P2P communication connection recipient role to the initiating device through the dedicated channel, and the function module of the initiating device establishing the dedicated channel receives the Role information and sent to the processor of the initiating device.
  • the function module of the initiating device that establishes the dedicated channel cannot perform signaling interaction with its own processor, the implementation of the negotiation of the device role information may also be performed by the target device; if the target device establishes a dedicated channel The function module can also not perform signaling interaction with its own processor, and the Wi-Fi P2P is directly terminated, indicating that the connection fails.
  • a point-to-point connection is established with the first designated device based on the determined device role information.
  • the method may also be used to establish an initiating role device of the communication connection.
  • the embodiment of the present invention further provides another possible implementation manner, as shown in FIG. 6. As shown, the method further includes:
  • Monitor target device attribute information of other specified devices sent by other specified devices 301.
  • other designated devices refer to target devices among the two devices that establish communication connections.
  • the device monitors the target device attribute information of other specified devices sent by other specified devices, and can monitor the target device attribute information of other specified devices sent by other specified devices through the dedicated channel established by the device and other designated devices according to the specified manner.
  • the above specified manner of establishing a dedicated channel includes, but is not limited to, a method of near field communication, infrared communication, and Bluetooth communication.
  • the method for carrying the information about the target device of the other specified device in the second probe message is the same as the method for carrying the device information of the device in the first probe message, and is set in the second probe message.
  • the device attribute field is the same as the device attribute field in the first probe message, so there is no more spare here.
  • the second probe message is also broadcasted on channel 1 or channel 6 or channel 11.
  • steps 101 to 109 are performed by the device as a target receiving role device for establishing a communication connection, and a communication connection is established as a device for initiating a role; and steps 301 to 303 are used to establish communication.
  • the process of establishing a communication connection is initiated to the other device that is the target receiving role, and the process of establishing the communication connection by the device as the target receiving role device is two independent processes as the establishment of the communication connection as the initiating role device. the process of.
  • the first designated device and other designated devices mentioned in the embodiment of the present invention that establish a communication connection with the executing device in any of the above embodiments may be the same designated device or different designated devices.
  • the first designated device is the same designated device as the other designated device
  • the above embodiment is assumed when the device of the above embodiment is executed as the target receiving angle device and the first designated device (other designated device) that is the initiating role establishes a communication connection.
  • the execution device has a role exchange with the first designated device, that is, the first designated device serves as the target receiving role device, and the execution device acts as the initiating role device.
  • the two devices establish a communication connection, the execution device needs to be disconnected as the target receiving device.
  • the role device performs the process of establishing a communication connection, and can perform the process of establishing the communication connection by the execution device as the initiating role device, and complete the establishment of the point-to-point connection after the two device roles are exchanged.
  • the execution device performs a process of establishing a communication connection as a target receiving role device, and a role exchange is performed with the device establishing the communication connection.
  • the way of its operation processing is the same as the way of establishing a point-to-point connection after the above roles are interchanged.
  • the method for establishing a communication connection based on the above-mentioned directed search is combined with the process of establishing a connection relationship between devices when the user implements mobile printing, and specifically describes a method for the device to establish a communication connection.
  • the first designated device that establishes the communication connection is an image forming device, such as a printer; and the target device is a mobile phone terminal.
  • FIG. 7 a schematic diagram of a process for establishing a communication connection between an image forming device and a mobile phone terminal, the method specifically includes:
  • Step 1 The mobile terminal sends its own target device attribute information to the image forming device, so that the image forming device carries the acquired first device attribute information in the first probe message, and broadcasts the first probe message.
  • Step 1.1 Establish a dedicated communication connection with the image forming apparatus according to a specified manner, where the specified manner includes near field communication, infrared communication, and Bluetooth communication.
  • Step 1.2 transmitting device attribute information of the mobile terminal itself to the image forming device through the dedicated channel.
  • Step 2 When the mobile terminal detects the first probe message, parsing the target device attribute information from the first probe message.
  • Step 3 When the target device attribute information parsed by the mobile phone terminal matches the own device attribute information, the first probe response message is returned to the image forming device.
  • the mobile terminal when the target device attribute information parsed by the mobile terminal from the first probe message does not match the device attribute information of the device, the mobile terminal does not reply to the probe information, and the mobile terminal and the image forming device do not Establish a Wi-Fi peer-to-peer connection.
  • Step 4 The mobile terminal establishes a point-to-point connection with the image forming device.
  • the method further includes:
  • Step 5 The mobile terminal and the image forming device negotiate device role information required for establishing a Wi-Fi point-to-point connection through the dedicated channel.
  • Step 6 After the device role information negotiation is completed, establish a point-to-point connection with the image forming device based on the determined device role information.
  • Step 7 The mobile terminal sends the routing information of the self-connection through the established Wi-Fi peer-to-peer communication mode, so that the image forming device is connected to the wireless network corresponding to the routing information.
  • Step 8 The mobile terminal receives the routing information sent by the image device by using the established Wi-Fi peer-to-peer communication mode.
  • Step 9 The mobile terminal connects to the wireless network corresponding to the routing information according to the received routing information.
  • the embodiment is only the method for establishing a communication connection provided by the embodiment.
  • One of the specific implementations is not intended to limit the application.
  • the embodiment of the present invention provides a method for establishing a communication connection, and sending the target device attribute information of the first device to the first designated device, so that the first device specifies that the first device attribute information is carried in the first probe message. And broadcasting the first probe message, by monitoring the first probe message sent by the first designated device that establishes the communication connection, parsing the target device attribute information from the first probe message, and when parsing the target device attribute information and When the self-device attribute information matches, the first probe response message is replied to the first designated device, thereby establishing a point-to-point connection with the first designated device.
  • the request information is sent in a non-directional manner, and after waiting for the other device to respond, the device that establishes the connection is selected.
  • the target device attribute information of the connection establishment is carried in the first probe message, and the device matches the first device attribute information in the probe information with the own device attribute information, thereby establishing a communication connection by using a directional search manner, thereby reducing Network connection time to improve network connection efficiency.
  • the directed search process provided by the embodiment of the present invention, only the corresponding target device replies, so that the security of the network connection is better protected in the process of establishing a network connection.
  • the mobile terminal device may also initiate information to establish a communication connection to the image forming device, thereby establishing a connection.
  • the mobile terminal is an initiating device that establishes a connection
  • the image forming device is a target device that establishes a connection.
  • FIG. 8 a schematic flowchart of another possible implementation method is provided in the embodiment of the present invention, where the method further includes:
  • Step 10 The mobile terminal monitors second target device attribute information sent by the image forming device.
  • the mobile phone terminal establishes a dedicated channel to monitor the device attribute information sent by the image forming device by using the mobile terminal and the image forming device by using a specified manner of near field communication, infrared communication, Bluetooth communication, and the like.
  • Step 20 The mobile terminal transmits the device attribute information of the image forming device in the second detection information, and broadcasts the second detection information.
  • the method for carrying the device attribute information of the image forming device in the second probe message is consistent with the method for carrying the device attribute information of the mobile terminal in the first probe message, and the device attribute field set in the second probe message is The device attribute fields in the first probe message have the same composition structure, so there is no more spare here.
  • the second probe message is also broadcasted on channel 1 or channel 6 or channel 11.
  • Step 30 The mobile terminal establishes a point-to-point communication connection with the image forming apparatus when receiving the second probe response information replied by the image forming apparatus.
  • the embodiment is only the method for establishing a communication connection provided by the embodiment.
  • One of the specific implementations is not intended to limit the application.
  • the present invention further provides another embodiment, as shown in FIG. 9, in the above step 104: "establishing a network connection with the first designated device", the network connection may be in addition to the "peer-to-peer connection" in the above embodiment. It is a Wi-Fi connection; for example, the target device attribute information described above includes the "SSID and password" of the router, and the first designated device and router establish a Wi-Fi connection based on steps S101-S103.
  • Step 1001.1 The mobile phone establishes a dedicated communication connection with the image forming device according to a specified manner, such as near field communication, infrared communication, and Bluetooth communication.
  • a specified manner such as near field communication, infrared communication, and Bluetooth communication.
  • Step 1001.2 Transfer the "SSID and password” information of all routers connected in the mobile terminal itself to the image forming apparatus through the dedicated channel, and select the "SSID and password” of one of the available routers.
  • one router having the strongest signal strength is selected as the target device, and the "SSID and password" of the router is used as the attribute information of the target device.
  • Step 1002 When the target device (the router with the strongest signal strength) detects the first probe message, parse the target device attribute information from the first probe message.
  • Step 1003 When the target device attribute information parsed by the target device (the router with the strongest signal strength) matches the own device attribute information, the first probe response message is returned to the image forming device.
  • Step 1004 The target device (the router with the strongest signal strength) establishes a Wi-Fi connection with the image forming device.
  • an embodiment of the present invention provides a device for establishing a communication connection, where the device can establish a point-to-point connection with an initiating device that establishes a communication connection, and the device is configured to send its own to an initiating device that establishes a communication connection.
  • the target device attribute information is such that the initiation of the establishment of the communication connection acquires the first device attribute information in the first probe message, and broadcasts the first probe message.
  • the structural block diagram of the device is as shown in FIG. 10, and includes:
  • the parsing unit 61 is configured to solve the first probe message when the first probe message is detected Analysis of target device attribute information.
  • the replying unit 62 is configured to reply the first probe response message to the first designated device when the parsed target device attribute information matches the own device attribute information.
  • the first interface unit 63 is configured to establish a communication connection with the first designated device.
  • the device further includes:
  • the sending unit 64 is configured to send routing information of the device connection by using the established Wi-Fi peer-to-peer communication manner, so that the first designated device connects to the wireless network corresponding to the routing information.
  • the obtaining unit 65 acquires the routing information sent by the first designated device by using the established Wi-Fi peer-to-peer communication mode.
  • the connecting unit 66 is configured to connect, according to the received routing information, a wireless network corresponding to the routing information.
  • the first probe message is configured with a device attribute field, where the device attribute field is used to carry target device attribute information;
  • An attribute address field that indicates the type of peer-to-peer communication.
  • a length indication field that indicates the length of the device address field.
  • the device address field is used to carry the target device attribute information.
  • the sending, by the device, the first device attribute information of the device to the initiating device that establishes the communication connection includes:
  • a dedicated communication connection is established with the first designated device in a specified manner, the specified manner including near field communication, infrared communication, and Bluetooth communication.
  • the target device attribute information of the first specified device is transmitted to the first designated device through a dedicated channel.
  • the device further includes:
  • the negotiating unit 67 is configured to negotiate device role information required for establishing a Wi-Fi point-to-point connection through the dedicated channel.
  • the second interface unit 68 is configured to establish a point-to-point connection with the first designated device based on the determined device role information after the device role information negotiation is completed.
  • the device further includes:
  • the monitoring unit 70 is configured to monitor target device attribute information of other specified devices sent by other designated devices.
  • the broadcast unit 71 is configured to carry the target device attribute information corresponding to the other designated device itself in the second probe information, and broadcast the second probe information.
  • the third interface unit 72 is configured to establish a communication connection with other designated devices when receiving the second probe response information replied by other designated devices.
  • An embodiment of the present invention provides a device for establishing a communication connection, and sending the target device attribute information of the first device to the first designated device, so that the first device specifies that the first device attribute information is carried in the first probe message. And broadcasting the first probe message, by monitoring the first probe message sent by the first designated device that establishes the communication connection, parsing the target device attribute information from the first probe message, and when parsing the target device attribute information and When the self-device attribute information matches, the first probe response message is replied to the first designated device, thereby establishing a point-to-point connection with the first designated device.
  • the device when the two devices establish a Wi-Fi P2P connection, the device sends the request information in a non-directional manner, and waits for the other device to respond to the device, and the device provided by the embodiment of the present invention passes the device.
  • the target device attribute information of the connection establishment is carried in the first probe message, and the device matches the first device attribute information in the probe information with the own device attribute information, thereby establishing a communication connection by using a directional search manner, thereby reducing Network connection time to improve network connection efficiency.
  • the directed search process provided by the embodiment of the present invention, only the corresponding target device replies, so that the security of the network connection is better protected in the process of establishing a network connection.
  • the embodiment of the present invention further provides a system for establishing a communication connection.
  • the system includes a first device 810 and a second 820.
  • the structure of the system is shown in FIG. 14.
  • the first device 810 and the second device 820 are used for the information.
  • the interaction is completed, the establishment of the communication connection is completed, wherein the first device 810 is a target device that establishes a communication connection, and the second device 820 is an initiating device that establishes a communication connection.
  • the first device 810 is configured to send its own device attribute information to the second device 820, so that the second 820 carries the device attribute information acquired by the first device 810 in the probe message, and broadcasts the probe message.
  • the second device 820 is configured to monitor the device attribute information of the first device 810 and send it.
  • the second device 820 is further configured to carry the device attribute information of the first device 810 in the probe information, and broadcast the probe information.
  • the first device 810 is further configured to parse the device attribute information of the first device 810 from the probe message when the probe message is detected.
  • the first device 810 is further configured to: when the parsed device attribute information of the first device 810 matches the own device attribute information, return a probe response message to the second device 820.
  • the first device 810 is also used to establish a point-to-point connection with the second device 820.
  • the embodiment of the present invention provides a system for establishing a communication connection.
  • the device matches the first device attribute information in the probe information with the device attribute information of the device by carrying the attribute information of the target device that is expected to establish the connection in the first probe message. Therefore, the communication connection is established by using the directional search method, thereby reducing the network connection time and improving the network connection efficiency.
  • the above embodiments can be applied to various mobile terminal devices to complete the establishment of a communication connection.
  • the mobile terminal After the mobile terminal establishes a point-to-point connection with the image forming device, the mobile terminal It is possible to monitor the state change of the image forming apparatus in real time through a point-to-point connection network, such as the consumable use state in the image forming apparatus, specifically, the remaining amount of toner in the image forming apparatus when the image forming apparatus is a laser printer or an LED printer
  • the information can be transmitted to the application in the mobile terminal through the peer-to-peer connection network in real time, so that the user can know the usage status of the image forming device in real time through the mobile phone; and the application in the mobile terminal can also be provided with the detection image forming device internal consumables.
  • the user can use the application in the mobile terminal to send a detection and identification signal to the image forming apparatus through the point-to-point connection network, and the image forming apparatus will detect the type of the consumable, the manufacturer, etc. after receiving the identification signal.
  • the information is fed back to the mobile terminal, so that the user can check the authenticity of the consumables purchased by the application in the mobile terminal; the advantage of the inspection by the mobile terminal is that the detection units in the image forming apparatus are usually installed at the factory.
  • the printing, scanning or faxing application in the mobile terminal is automatically activated during the peer-to-peer network connection, so that the user can click on the document to be printed, scanned or faxed on the mobile phone, and then close the mobile terminal to the image.
  • the embodiment further provides a non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the method provided by any of the above method embodiments .
  • the embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer,
  • the computer is capable of performing the methods provided by any of the above method embodiments.
  • FIG. 15 is a schematic diagram showing the hardware structure of an electronic device for performing a method for establishing a communication connection according to the embodiment. As shown in FIG. 15, the electronic device includes:
  • processors 910 and memory 920 one processor 910 is taken as an example in FIG.
  • the electronic device can also include an input device 930 and an output device 940.
  • the processor 910, the memory 920, the input device 930, and the output device 940 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 920 is a non-transitory computer readable storage medium and can be used to store non-transitory a software program, a non-transitory computer executable program, and a module, such as the program instruction/module corresponding to the method for establishing a communication connection in the embodiment of the present application (for example, the parsing unit 61, the reply unit 62, and the first interface shown in FIG. Unit 63).
  • the processor 910 executes various functional applications and data processing of the server by running non-transitory software programs, instructions, and modules stored in the memory 920, that is, a method of establishing a communication connection in the above method embodiments.
  • the memory 920 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of a device that establishes a communication connection, and the like.
  • memory 920 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • memory 920 can optionally include a memory remotely located relative to processor 910 that can be connected over a network to a device that establishes a communication connection. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 930 can receive input numeric or character information, as well as generate key signal inputs related to user settings and function control of the device that establishes the communication connection.
  • Output device 940 can include a display device such as a display screen.
  • the one or more modules are stored in memory 920, and when executed by the one or more processors 910, perform a method of establishing a communication connection in any of the method embodiments described above.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network)
  • a device or the like or a processor performs part of the steps of the method of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

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

Abstract

本发明实施例提供了一种建立通信连接的方法、设备及系统,涉及无线通信技术领域,能够有效减少两个设备之间建立连接的时间,提高连接效率。其中,该建立通信连接的方法包括:首先,向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述目标设备属性信息携带于第一探测消息中,并广播所述第一探测消息;其次,当监测到第一探测消息时,从第一探测消息中解析目标设备属性信息;然后,当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息;从而,与第一指定设备建立通信连接。本发明实施例适用于设备建立无线网络连接的过程中。

Description

建立通信连接的方法、设备及系统
本申请要求于2016年12月30日提交中国专利局、申请号为201611250546.8、发明名称为“建立通信连接的方法、设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及无线通信技术领域,尤其涉及一种建立通信连接的方法、设备及系统。
背景技术
Wi-Fi P2P(无线点对点)技术是一种基于点对点的Wi-Fi Direct技术,是指允许无线设备以点对点形式实现互连,无需通过无线路由器即可相互连接以及连接后的数据传输。两个无线设备需要建立Wi-Fi P2P连接时,一个处于搜索状态的设备以广播形式向周围所有设备发送请求,所有接收到请求的设备要向其发送响应信息,该设备根据相应信息选择期望连接的设备,进而建立Wi-Fi P2P连接。因此,现有技术是以非定向的方式发送请求,等待周围所有设备的响应后从中选择,增加了网络连接时间,连接效率低。
发明内容
有鉴于此,本发明实施例提供了一种建立通信连接的方法、设备及系统,能够有效减少两个设备之间建立连接的时间,提高连接效率。
一方面,本发明实施例提供了一种建立通信连接的方法,包括:
向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述目标设备属性信息携带于第一探测消息中,并广播所述第一探测消息;
当监测到第一探测消息时,从第一探测消息中解析目标设备属性信息;
当解析到的目标设备属性信息与自身设备属性信息匹配时,第一指定设备回复第一探测响应消息;
与第一指定设备建立通信连接。
第二方面,本发明实施例提供了一种建立通信连接的设备,所述设备能够与第一指定设备建立点对点连接,所述设备用于向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述第一设备属 性信息携带于第一探测消息中,并广播所述第一探测消息,所述设备包括:
解析单元,用于当监测到第一探测消息时,从第一探测消息中解析目标设备属性信息;
回复单元,用于当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息;
第一接口单元,用于与第一指定设备建立通信连接。
第三方面,本发明还提供一种建立通信连接的系统,所述系统包括第一设备和第二设备:
所述第一设备用于向第二设备发送自身的设备属性信息;以使得第二设备将获取到所述第一设备的设备属性信息携带于探测消息中,并广播所述探测消息;
所述第二设备用于监测第一设备发送的自身的设备属性信息;
所述第二设备还用于将所述第一设备的设备属性信息携带在所述探测信息中,广播所述探测信息;
所述第一设备还用于当监测到所述探测消息时,从所述探测消息中解析第一设备的设备属性信息;
所述第一设备还用于当解析到的第一设备的设备属性信息与自身设备属性信息匹配时,向第二设备回复探测响应消息;
所述第二设备还用于基于所述第一设备恢复的探测响应消息,与第一设备还用于与第二设备建立通信连接。
本发明实施例提供了一种建立通信连接的方法、设备及系统,向第一指定设备发送自身的目标设备属性信息,以使得指定设备将获取到所述第一设备属性信息携带于第一探测消息中,通过监测到建立通信连接的第一指定设备发送的第一探测消息,从第一探测消息中解析目标设备属性信息,而当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息,从而,与第一指定设备建立点对点连接。相比于现有技术,两个设备在建立Wi-Fi P2P连接时,以非定向的方式发送请求信息,等待其他设备响应后在从中选择出建立连接的设备,本发明实施例提供的设备通过将期望建立连接的目标设备属性信息携带在第一探测消息中,设备将探测信息中的设备属性信息与自身设备属性信息进行匹配,从而,采用定向搜索的方式建立通信连接,进而减小网络连接时间,提高网络连接效率。另一方面,通过本发明实施例提供的定向搜索过程中,只有对应的目标设备才回复,这样建立网络连接的过程中,更好的保护网络连接的安全性。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。
图1是本发明实施例提供的一种建立通信连接的方法流程图;
图2是本发明实施例提供的另一建立通信连接的方法流程图;
图3是本发明实施例提供的另一种建立通信连接的方法流程图;
图4是本发明实施例提供的另一种建立通信连接的方法流程图;
图5是本发明实施例提供的另一种建立通信连接的方法流程图;
图6是本发明实施例提供的另一种建立通信连接的方法流程图;
图7是本发明实施例提供的另一种建立通信连接的方法流程图;
图8是本发明实施例提供的另一种建立通信连接的方法流程图;
图9是本发明实施例提供的另一种建立通信连接的方法流程图;
图10是本发明实施例提供的一种建立通信连接的设备的结构图;
图11是本发明实施例提供的另一种建立通信连接的设备的结构图;
图12是本发明实施例提供的另一种建立通信连接的设备的结构图;
图13是本发明实施例提供的一种建立通信连接的设备的结构图;
图14是本发明实施例提供的一种建立通信连接的系统的结构示意图;
图15是本发明实施例提供的执行建立通信连接的方法的电子设备的硬件结构示意图。
具体实施方式
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。
终端设备建立通信连接的过程中,当两个设备在建立点对点通信连接时,一个处于搜索状态的设备以广播形式向周围其他设备发送请求,然后等待接收到请求的其他设备要发送响应信息,该设备从发送响应信息的设备中选择希望连接的设备,建立通信连接,由于这种非定向搜索建立通信连接的方式,需要等待搜索到的周围所有设备的响应后才能选择建立连接的设备,增加建立通信连接的时间。因此,为了解决该问题,本发明实施例提供了一种建立通信连接的方法,该方法应用于具有接收建立通信连接的目标角色设备中,如图1所示,包括:
101、向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述目标设备属性信息携带于第一探测消息中,并广播所 述第一探测消息。
其中,第一指定设备是指建立通信连接的两个设备中发起建立通信连接的设备。每一台设备都要自己的设备属性信息,该属性信息是一种身份信息,用于区分每一台设备,该属性信息可以包括设备的类型信息、指定的识别信息、属性地址等信息。例如,设备属性信息可以是设备的MAC(Media Access Control,多媒体访问控制)地址,设备的SSID(Service Set Identifier,服务集标识)。
其中,第一探测消息是建立通信连接的发起设备在与其他设备建立通信连接时向其他设备发送的请求信息。
需要说明的是,该探测信息是以数据帧的形式在信道1或信道6或信道11中,进行广播传送的。而设备属性信息基于P2P(peer to peer,点对点通信)协议的格式,封装在探测信息对应的数据帧中。其中,该数据帧包括三个部分:数据帧头、数据部分以及数据帧尾。数据帧头和数据帧尾包括一些控制信息,该控制信息中包括接收该数据帧设备的地址定位以及其他网络信息;数据部分为数据主体,承载了消息的主要内容,例如,该探测信息对应的数据中,数据帧头和数据帧尾包括期望建立通信连接的设备的地址定位信息,而其数据部分承载着上述设备建立通信连接的请求以及通信传输协议等数据信息。
102、当监测到第一探测消息时,从第一探测消息中解析目标设备属性信息。
由于该第一探测消息以数据帧形式进行传输的,因此,当该设备监听到第一探测信息后,设备将监听的第一探测消息的数据帧进行解压处理后,从而解析出该第一探测消息中携带的第一设备属性信息。
103、当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息。
补充说明的是,当解析到的目标设备属性信息与自身设备属性信息不匹配时,该设备不响应该探测信息,对第一指定设备不做回复。
104、与第一指定设备建立通信连接。
优选地,本实施例中的通信连接是指该设备与第一指定设备建立点对点连接,并且在建立点对点连接时,还需要确定自身的角色信息以及第一指定设备的角色信息,然后设备之间进行身份认证信息的交互,根据协商好的角色,按照Wi-Fi P2P的标准握手协议建立无线网络连接。其中,设备间角色的确定以及身份认证的操作遵循现有技术。
本发明实施例提供了一种建立通信连接的方法,向第一指定设备发送自身的目标设备属性信息,以使得第一设备将获取到所述第一设备属性信 息携带于第一探测消息中,并广播所述第一探测消息,通过监测到建立通信连接的指定设备发送的第一探测消息,从第一探测消息中解析目标设备属性信息,而当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息,从而,与第一指定设备建立点对点连接。相比于现有技术,两个设备在建立Wi-Fi P2P连接时,以非定向的方式发送请求信息,等待其他设备响应后在从中选择出建立连接的设备,本发明实施例提供的方法通过将期望建立连接的目标设备属性信息携带在第一探测消息中,设备将探测信息中的第一设备属性信息与自身设备属性信息进行匹配,从而,采用定向搜索的方式建立通信连接,进而减小网络连接时间,提高网络连接效率。另一方面,通过本发明实施例提供的定向搜索过程中,只有对应的目标设备才回复,这样建立网络连接的过程中,更好的保护网络连接的安全性。
进一步,当该设备与第一指定设备建立了Wi-Fi点对点连接,建立连接的设备之间还可以分享自身连接的网络路由信息,基于此目的,本发明实施例提供了两种可能的实现方式。
需要说明的是,建立Wi-Fi点对点连接的终端设备支持基站和Wi-Fi P2P共存的并发模式,即设备在建立Wi-Fi P2P的过程中,不需要与网络接入点断开,而设备与网络接入点之间进行无线连接时,也不需要与建立Wi-Fi P2P网络连接的设备断开连接。
第一种实现方式,该设备将自身连接网络的信息发送给第一指定设备,该方法的方法流程图如图2所示,包括:
105、通过已建立的Wi-Fi点对点通信方式发送设备连接的路由信息,以使得所第一指定设备连接所述路由信息对应的无线网络。
第二种实现方式,第一指定设备将自身连接网络的信息发送给该设备,该方法的方法流程图如图3所示,包括:
106、通过已建立的Wi-Fi点对点通信方式,接收所述第一指定设备发送的路由信息。
107、根据所述接收的路由信息,连接与所述路由信息相对应的无线网络。
采用上述两种实现方式中的任意一种,都能够使得两个设备中的一个设备快速连接到另一个设备已经建立的无线网络中,整个过程不需要用户干预就可以自动完成,这样采用本实施例提供的通信连接方法建立两个设备之间的Wi-Fi点对点连接后,即使其中一个设备被拿开,并超过了这两个设备之间能够实现Wi-Fi点对点通信的距离,也可以通过共享的路由信息,通过无线网络的形式保持两个设备间的通信。
进一步,为了实现定向搜索建立通信网络连接的操作,在该设备监听到的第一探测消息中增加设备属性信息,基于此目的,本发明实施例提供了一种可能的实现方式,在探测信息中配置有设备属性字段,该设备属性字段用于承载目标设备属性信息,其中,该设备属性字段包括:
属性地址字段,用于指示点对点通信类型。
长度指示字段,用于指示设备地址字段的长度。
设备地址字段,用于承载目标设备属性信息。
具体的,设备属性字段如表1所述:
Figure PCTCN2017115530-appb-000001
表1
上述表1中设备属性字段中的每一类字段表示的含义如下:
属性地址字段(Attribute ID),长度为1个字节,值固定为3,代表该内容是Device ID的内容;长度指示字段(Length),长度为2个字节,值固定位6,代表设备地址的内容是6个字节的;设备地址字段,长度为6个字节,代表要搜索的目标设备的MAC地址。
进一步,结合上述操作方法,为了使得第一指定设备获取到目标设备属性信息,针对于向第一指定设备发送自身的目标设备属性信息,本发明实施例提供了一种可能的实现方法流程如图4所示,具体包括:
201、按照指定方式,与所述第一指定设备建立专用通信连接。
在具体的实现过程中,按照指定方式,与所述第一指定设备建立专用通信连接实现方式可以有多种。
例如,上述建立通信连接的两个设备都设置有NFC(Near field communication,近距离无线通信)芯片,近场通信芯片具有在相距20厘米范围内允许电子设备之间进行非接触式数据交换、传输的作用,因此,当建立通信连接的两个设备彼此靠近时,建立近场通信连接,从而进行数据交互。
或者,建立通信连接的两个设备都设置有红外通信的功能,其中,这 种通信方式都用于短距离数据交换中。发起设备和目标设备的红外通信功能都开启时,目标设备向外辐射红外线波,该红外线波承载有目标设备的设备属性信息,然后发起设备的红外通信功能的接收该红外线光波,实现数据的传输交互。
又或者,建立连接的两个设备都开启蓝牙功能,通过蓝牙配对,然后利用蓝牙功能进行数据的交互。其中,蓝牙功能也用于短距离数据交互中。
需要说明的是,以上举例仅为按照指定方式与所述第一指定设备建立专用通信连接中的三种具体的实现方式,其中,按照指定方式与所第一指定设备建立专用通信连接的方式包括近场通信、红外通信、蓝牙通信,但是并不限于这三种方式。
202、通过专用信道向所述第一指定设备传输自身的目标设备属性信息。
进一步,信息的传输需要一定的时间,在信息传输过程中存在着由于某些原因第一指定设备没有接收到该设备回复的第一探测响应消息,造成该设备与第一设备无法建立通信连接,针对此问题本发明实施例提供例一种可能的解决方法,如图5所示,具体包括:
108、通过所述专用信道协商建立Wi-Fi点对点连接时所需的设备角色信息。
具体举例说明通过专用信道协商建立Wi-Fi点对点连接时所需的设备角色信息的过程,其中,该设备为目标设备,第一指定设备为建立通信连接的发起设备。具体实现过程包括:发起设备与目标设备通过专用信道交互准备启动Wi-Fi P2P网络连接建立的请求命令,然后发起设备中的网络模块向该设备的处理器发送Wi-Fi direct group owner(Wi-Fi P2P通信连接的发起者)角色的热点信息,相应的该设备将自身的Wi-Fi P2P通信连接接受者角色的信息通过专用信道传输给发起设备,发起设备的建立专用信道的功能模块接收该角色信息,并发送给发起设备的处理器。
需要说明的是,若发起设备的建立专用信道的功能模块不能与自身的处理器进行信令交互,上述设备角色信息的协商的实现也可以由目标设备来完成;若目标设备的建立专用信道的功能模块也不能与自身的处理器进行信令交互,则直接结束Wi-Fi P2P,提示连接失败。
109、在所述设备角色信息协商完成后,基于已确定的设备角色信息,与所述第一指定设备建立点对点连接。
进一步,结合上述任一种建立通信连接的方法,该方法还可以用于建立通信连接的发起角色设备中,基于此目标,本发明实施例还提供了另一种可能的实现方式,如图6所示,该方法还包括:
301、监测其他指定设备发送的其他指定设备自身的目标设备属性信息。
其中,其他指定设备是指建立通信连接的两个设备中的目标设备。
其中,该设备监测其他指定设备发送的其他指定设备自身的目标设备属性信息可以通过该设备与其他指定设备按照指定方式建立的专用信道监测其他指定设备发送的其他指定设备自身的目标设备属性信息。上述建立专用信道的指定方式包括但不限于近场通信、红外通信、蓝牙通信的方式。
302、将所述其他指定设备自身对应的目标设备属性信息携带在第二探测信息中,广播第二探测信息。
其中,将其他指定设备自身对应目标设备属性信息携带于第二探测消息中的方法与将该设备自身的目标设备属性信息携带在第一探测消息中的方法一样,且第二探测消息中设置的设备属性字段与第一探测消息中的设备属性字段的组成结构相同,因此,这里不再赘余。
其中,第二探测消息也在信道1或信道6或信道11中,进行广播传送的
303、当接收到其他指定设备回复的第二探测响应信息时,与所述其他指定设备建立通信连接
需要说明的是,上述实施例中步骤101至109是该设备作为建立通信连接的目标接收角色设备,与作为发起角色设备建立通信连接的执行过程;而步骤301~步骤303是该设备作为建立通信连接发起角色设备时,向作为目标接收角色的其他设备发起建立通信连接的执行过程,该设备作为目标接收角色设备执行建立通信连接的过程与作为发起角色设备执行建立通信连接的过程是两个独立的过程。
补充说明的是,本发明实施例中提及的与执行上述任一实施例中执行设备建立通信连接是的第一指定设备和其他指定设备可以为同一个指定设备,也可以是不同的指定设备。当第一指定设备与其他指定设备为同一指定设备时,假设执行上述实施例的设备作为目标接收角度设备与作为发起角色的第一指定设备(其他指定设备)在建立通信连接时,上述实施例的执行设备与第一指定设备发生角色互换,即第一指定设备作为目标接收角色设备,执行设备作为发起角色设备,两个设备在建立通信连接时,需要先断开该执行设备作为目标接收角色设备执行建立通信连接的过程,才能执行该执行设备作为发起角色设备执行建立通信连接的过程,实现两个设备角色互换后完成点对点连接的建立。另外,该执行设备作为目标接收角色设备执行建立通信连接的过程,与建立通信连接的设备发生角色互换 时,其操作处理的方式与上述角色互换后的建立点对点连接的方式相同。
基于上述定向搜索建立通信连接的方法,结合用户实现移动打印时,设备之间建立连接关系的过程为例,具体说明设备建立通信连接的方法。其中,建立通信连接的第一指定设备为图像形成设备,如打印机;目标设备为手机终端。如图7所示,为图像形成设备与手机终端建立通信连接的流程示意图,该方法具体包括:
步骤1、手机终端向图像形成设备发送自身的目标设备属性信息,以使得图像形成设备将获取到所述第一设备属性信息携带于第一探测消息中,并广播所述第一探测消息。
步骤1.1、按照指定方式,与所述图像形成设备建立专用通信连接,所述指定方式包括近场通信、红外通信、蓝牙通信。
步骤1.2、通过专用信道向图像形成设备传输手机终端自身的设备属性信息。
步骤2、当手机终端监测到第一探测消息时,从第一探测消息中解析目标设备属性信息。
步骤3、当手机终端解析到的目标设备属性信息与自身设备属性信息匹配时,向图像形成设备回复第一探测响应消息。
补充说明的是,当手机终端从第一探测消息中解析的目标设备属性信息与自身的设备属性信息不匹配,该手机终端对此探测信息不做回复,该手机终端与此图像形成设备不会建立Wi-Fi点对点连接。
步骤4、手机终端与图像形成设备建立点对点连接。
其中,当图像形成设备由于某些原因没有接收到手机终端回复的第一探测响应消息时,还包括:
步骤5、手机终端与图像形成设备通过所述专用信道协商建立Wi-Fi点对点连接时所需的设备角色信息。
步骤6、在所述设备角色信息协商完成后,基于已确定的设备角色信息,与所述图像形成设备建立点对点连接。
步骤7、手机终端通过已建立的Wi-Fi点对点通信方式发送所述设自身连接的路由信息,以使得所述图像形成设备连接所述路由信息对应的无线网络。
步骤8、通过已建立的Wi-Fi点对点通信方式,手机终端接收所述图像设备发送的路由信息。
步骤9、手机终端根据所述接收的路由信息,连接与所述路由信息相对应的无线网络。
需要说明的是,本实施例仅为实施例提供的建立通信连接的方法中的 其中一种具体实现方式,并不用以限制本申请。
本发明实施例提供了一种建立通信连接的方法,向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述第一设备属性信息携带于第一探测消息中,并广播所述第一探测消息,通过监测到建立通信连接的第一指定设备发送的第一探测消息,从第一探测消息中解析目标设备属性信息,而当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息,从而,与第一指定设备建立点对点连接。相比于现有技术,两个设备在建立Wi-Fi P2P连接时,以非定向的方式发送请求信息,等待其他设备响应后在从中选择出建立连接的设备,本发明实施例提供的方法通过将期望建立连接的目标设备属性信息携带在第一探测消息中,设备将探测信息中的第一设备属性信息与自身设备属性信息进行匹配,从而,采用定向搜索的方式建立通信连接,进而减小网络连接时间,提高网络连接效率。另一方面,通过本发明实施例提供的定向搜索过程中,只有对应的目标设备才回复,这样建立网络连接的过程中,更好的保护网络连接的安全性。
基于上述用户实现移动打印时,设备之间建立连接关系的实施例,上述手机终端设备也可以向图像形成设备发起建立通信连接的信息,从而建立连接。其中,手机终端为建立连接的发起设备,图像形成设备为建立连接的目标设备。如图8所示,为本发明实施例还提供了另一种可能的实现方法的流程示意图,该方法还包括:
步骤10、手机终端监测图像形成设备发送的第二目标设备属性信息。
其中,手机终端通过手机终端与图像形成设备利用指定方式近场通信、红外通信、蓝牙通信等方式建立专用信道监测图像形成设备发送的设备属性信息。
步骤20、手机终端将所述图像形成设备的设备属性信息携带在第二探测信息中,广播第二探测信息。
其中,将图像形成设备的设备属性信息携带于第二探测消息中的方法与将手机终端的设备属性信息携带在第一探测消息中的方法一致,且第二探测消息中设置的设备属性字段与第一探测消息中的设备属性字段的组成结构相同,因此,这里不再赘余。
其中,第二探测消息也在信道1或信道6或信道11中,进行广播传送的
步骤30、手机终端当接收到图像形成设备回复的第二探测响应信息时,与图像形成设备建立点对点通信连接。
需要说明的是,本实施例仅为实施例提供的建立通信连接的方法中的 其中一种具体实现方式,并不用以限制本申请。
本发明还提供了另一实施例中,如图9所示,在上述的步骤104:“与第一指定设备建立网络连接”中的网络连接除了上述实施例中的“点对点连接”,也可以是Wi-Fi连接;例如上述的目标设备属性信息包括路由器的“SSID和密码”,第一指定设备和路由器在步骤S101-S103基础上,建立Wi-Fi连接。
基于上述定向搜索建立Wi-Fi连接的方法,下面也结合用户实现移动打印时,进一步补充说明:
步骤1001.1、手机按照指定方式,例如近场通信、红外通信、蓝牙通信,与图像形成设备建立专用通信连接。
步骤1001.2、通过专用信道向图像形成设备传输手机终端自身中连接的所有路由器的“SSID和密码”信息,并选择其中一个可用的路由器的“SSID和密码”。
优选地,选择信号强度最强的一个路由器作为目标设备,并且该路由器的“SSID和密码”作为目标设备的属性信息。
步骤1002、当目标设备(信号强度最强的路由器)监测到第一探测消息时,从第一探测消息中解析目标设备属性信息。
步骤1003、当目标设备(信号强度最强的路由器)解析到的目标设备属性信息与自身设备属性信息匹配时,向图像形成设备回复第一探测响应消息。
补充说明的是,当其他路由器从第一探测消息中解析的目标设备属性信息与自身的设备属性信息不匹配,其他路由器对此探测信息不做回复,其他路由器与此图像形成设备不会建立Wi-Fi连接。
步骤1004、目标设备(信号强度最强的路由器)与图像形成设备建立Wi-Fi连接。
本实施例提供的通过定向搜索建立Wi-Fi连接之后的其他步骤,在上述实施例的基础上只需要将“Wi-Fi连接”替换为“Wi-Fi点对点连接”,同样也适用于本实施例的步骤、方法、设备和系统,在此不再赘述。
基于上述建立通信连接的方法,本发明实施例提供了一种建立通信连接的设备,该设备能够与建立通信连接的发起设备建立点对点连接,该设备用于向建立通信连接的发起设备发送自身的目标设备属性信息,以使得建立通信连接的发起将获取到所述第一设备属性信息携带于第一探测消息中,并广播所述第一探测消息。其中,该设备的结构框图如图10所述,包括:
解析单元61,用于当监测到第一探测消息时,从第一探测消息中解 析目标设备属性信息。
回复单元62,用于当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息。
第一接口单元63,用于与第一指定设备建立通信连接。
可选的是,如图11所示,该设备还包括:
发送单元64,用于通过已建立的Wi-Fi点对点通信方式发送设备连接的路由信息,以使得所述第一指定设备连接所述路由信息对应的无线网络。
获取单元65,通过已建立的Wi-Fi点对点通信方式,获取所述第一指定设备发送的路由信息。
连接单元66,用于根据所述接收的路由信息,连接与所述路由信息相对应的无线网络。
可选的是,该第一探测消息被配置有设备属性字段,所述设备属性字段用于承载目标设备属性信息;
所述设备属性字段包括:
属性地址字段,用于指示点对点通信类型。
长度指示字段,用于指示设备地址字段的长度。
设备地址字段,用于承载目标设备属性信息。
可选的是,该设备向建立通信连接的发起设备发送自身的第一设备属性信息包括:
按照指定方式,与所述第一指定设备建立专用通信连接,所述指定方式包括近场通信、红外通信、蓝牙通信。
通过专用信道向所述第一指定设备传输自身的目标设备属性信息。
可选的是,如图12所示,该设备还包括:
协商单元67,用于通过所述专用信道协商建立Wi-Fi点对点连接时所需的设备角色信息。
第二接口单元68,用于在所述设备角色信息协商完成后,基于已确定的设备角色信息,与所述第一指定设备建立点对点连接。
可选的是,如图13所示,该设备还包括:
监测单元70,用于监测其他指定设备发送的其他指定设备自身的目标设备属性信息。
广播单元71,用于将所述其他指定设备自身对应的目标设备属性信息携带在第二探测信息中,广播第二探测信息。
第三接口单元72,用于当接收到其他指定设备回复的第二探测响应信息时,与其他指定设备建立通信连接。
本发明实施例提供了一种建立通信连接的设备,向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述第一设备属性信息携带于第一探测消息中,并广播所述第一探测消息,通过监测到建立通信连接的第一指定设备发送的第一探测消息,从第一探测消息中解析目标设备属性信息,而当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息,从而,与第一指定设备建立点对点连接。相比于现有技术,两个设备在建立Wi-Fi P2P连接时,以非定向的方式发送请求信息,等待其他设备响应后在从中选择出建立连接的设备,本发明实施例提供的设备通过将期望建立连接的目标设备属性信息携带在第一探测消息中,设备将探测信息中的第一设备属性信息与自身设备属性信息进行匹配,从而,采用定向搜索的方式建立通信连接,进而减小网络连接时间,提高网络连接效率。另一方面,通过本发明实施例提供的定向搜索过程中,只有对应的目标设备才回复,这样建立网络连接的过程中,更好的保护网络连接的安全性。
本发明实施例还提供了一种建立通信连接的系统,该系统包括第一设备810和第二820,该系统的结构图如图14所示,第一设备810与第二设备820用于信令的交互,完成通信连接的建立,其中第一设备810为建立通信连接的目标设备,第二设备820为建立通信连接的发起设备。
第一设备810用于向第二设备820发送自身的设备属性信息;以使得第二820将获取到所述第一设备810的设备属性信息携带于探测消息中,并广播所述探测消息。
第二设备820用于监测第一设备810发送的自身的设备属性信息。
第二设备820还用于将所述第一设备810的设备属性信息携带在所述探测信息中,广播所述探测信息。
第一设备810还用于当监测到所述探测消息时,从所述探测消息中解析第一设备810的设备属性信息。
第一设备810还用于当解析到的第一设备810的设备属性信息与自身设备属性信息匹配时,向第二设备820回复探测响应消息。
第一设备810还用于与第二设备820建立点对点连接。
本发明实施例提供了一种建立通信连接的系统,通过将期望建立连接的目标设备属性信息携带在第一探测消息中,设备将探测信息中的第一设备属性信息与自身设备属性信息进行匹配,从而,采用定向搜索的方式建立通信连接,进而减小网络连接时间,提高网络连接效率。上述实施例可以应用于各种移动终端设备中,完成该移动终端设备建立通信连接。
优选地,当手机终端与图像形成设备建立点对点连接之后,手机终端 能够通过点对点的连接网络,实时监控图像形成设备的状态变化,例如图像形成设备中的耗材使用状态,具体地,当图像形成设备为激光打印机或者LED打印机时,图像形成设备内的碳粉剩余量信息,可以通过点对点的连接网络实时传输至手机终端中的应用程序,这样用户就可以通过手机实时了解图像形成设备的使用状态;并且手机终端中的应用程序还能够设置有检测图像形成设备内耗材型号、厂商等信息的功能,用户可以用手机终端中的应用程序通过点对点的连接网络对图像形成设备发送检测识别信号,图像形成设备收到该识别信号后,将检测到的耗材型号、厂商等信息反馈至手机终端,这样用户就能够通过手机终端中的应用程序查验自己购买的耗材真伪;通过手机终端检验的优点是:图像形成设备中的检测单元通常都是在出厂前安装的版本,升级比较繁琐,部分伪劣耗材,可能使用了不法的技术手段,蒙蔽图像形成设备中旧版本检测单元的检测功能,使得伪劣耗材也能被安装在图像形成设备中,而手机终端中的应用程序升级相对容易,这样就能够通过手机终端准确检测耗材的真伪。
优选地,手机终端中的打印、扫描或者传真应用程序,在点对点网络连接的过程中自动启动,这样用户就可以在手机上将需要打印、扫描或者传真的文档点开,然后将手机终端靠近图像形成设备,通过上述技术方案,快速建立与图像形成设备建立点对点网络连接;然后自动将需要打印、扫描或者传真的文档发送至图像形成设备;这样用户能够更加方便、快捷地完成打印、扫描或者传真动作。
本实施例还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机指令,所述计算机指令使所述计算机执行上述任一方法实施例所提供的方法。
本实施例还提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述任一方法实施例所提供的方法。
图15是本实施例提供的执行建立通信连接的方法的电子设备的硬件结构示意图,如图15所示,该电子设备包括:
一个或多个处理器910以及存储器920,图15中以一个处理器910为例。
该电子设备还可以包括:输入装置930和输出装置940。
处理器910、存储器920、输入装置930和输出装置940可以通过总线或者其他方式连接,图15中以通过总线连接为例。
存储器920作为一种非暂态计算机可读存储介质,可用于存储非暂态 软件程序、非暂态计算机可执行程序以及模块,如本申请实施例中建立通信连接的方法对应的程序指令/模块(例如,附图10所示的解析单元61、回复单元62和第一接口单元63)。处理器910通过运行存储在存储器920中的非暂态软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中建立通信连接的方法。
存储器920可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据建立通信连接的设备的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器920可选包括相对于处理器910远程设置的存储器,这些远程存储器可以通过网络连接至建立通信连接的设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置930可接收输入的数字或字符信息,以及产生与建立通信连接的设备的用户设置以及功能控制有关的键信号输入。输出装置940可包括显示屏等显示设备。
所述一个或者多个模块存储在存储器920中,当被所述一个或者多个处理器910执行时,执行上述任意方法实施例中建立通信连接的方法。
本发明实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络 设备等)或处理器(Processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (16)

  1. 一种建立通信连接的方法,其特征在于,包括:
    向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到的所述目标设备属性信息携带于第一探测消息中,并广播所述第一探测消息;
    当监测到第一探测消息时,从第一探测消息中解析目标设备属性信息;
    当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一指定设备回复第一探测响应消息;
    与第一指定设备建立通信连接。
  2. 根据权利要求1所述的方法,其特征在于,所述与第一指定设备建立通信连接是指建立点对点连接,并且在建立点对点连接之后,还包括:
    通过已建立的Wi-Fi点对点通信方式发送设备连接的路由信息,以使得所述第一指定设备连接所述路由信息对应的无线网络;
    或者,
    通过已建立的Wi-Fi点对点通信方式,获取所述第一指定设备发送的路由信息;
    根据所述接收的路由信息,连接与所述路由信息相对应的无线网络。
  3. 根据权利要求1所述的方法,其特征在于,所述第一探测消息被配置有设备属性字段,所述设备属性字段用于承载目标设备属性信息;
    所述设备属性字段包括:
    属性地址字段,用于指示点对点通信类型;
    长度指示字段,用于指示设备地址字段的长度;
    设备地址字段,用于承载目标设备属性信息。
  4. 根据权利要求1所述的方法,其特征在于,所述向第一指定设备发送自身的目标设备属性信息包括:
    按照指定方式,与所述第一指定设备建立专用通信连接,所述指定方式包括近场通信、蓝牙通信、红外通信;
    通过专用信道向所述第一指定设备传输目标设备属性信息。
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    通过所述专用信道协商建立Wi-Fi点对点连接时所需的设备角色信息;
    在所述设备角色信息协商完成后,基于已确定的设备角色信息,与所述第一指定设备建立点对点连接。
  6. 根据权利要求1至5所述的任一项方法,所述方法还包括:
    监测其他指定设备发送的其他指定设备自身的目标设备属性信息;
    将与其他指定设备自身对应的目标设备属性信息携带在第二探测信息中,广播第二探测信息;
    当接收到其他指定设备回复的第二探测响应信息时,与其他指定设备建立通信连接。
  7. 一种建立通信连接的设备,所述设备能够与第一指定设备建立点对点连接,所述设备用于向第一指定设备发送自身的目标设备属性信息,以使得第一指定设备将获取到所述目标设备属性信息携带于第一探测消息中,并广播所述第一探测消息;其特征在于,所述设备包括:
    解析单元,用于当监测到第一探测消息时,从第一探测消息中解析目标设备属性信息;
    回复单元,用于当解析到的目标设备属性信息与自身设备属性信息匹配时,向第一设备回复第一探测响应消息;
    第一接口单元,用于与第一设备建立通信连接。
  8. 根据权利要求7所述的设备,其特征在于,所述第一接口单元用于与第一设备建立的通信连接是点对点的连接,并且所述设备还包括:
    发送单元,通过已建立的Wi-Fi点对点通信方式发送所述设备连接的路由信息,以使得所述第一指定设备连接所述路由信息对应的无线网络;
    或者,
    获取单元,通过已建立的Wi-Fi点对点通信方式,获取所述第一指定设备发送的路由信息;
    连接单元,用于根据所述接收的路由信息,连接与所述路由信息相对应的无线网络。
  9. 根据权利要求7所述的设备,其特征在于,所述第一探测消息被配置有设备属性字段,所述设备属性字段用于承载目标设备属性信息;
    所述设备属性字段包括:
    属性地址字段,用于指示点对点通信类型;
    长度指示字段,用于指示设备地址字段的长度;
    设备地址字段,用于承载目标设备属性信息。
  10. 根据权利要求7所述的设备,其特征在于,所述设备向第一指定设备发送自身的目标设备属性信息,发送的过程包括:
    按照指定方式,与所述第一指定设备建立专用通信连接,所述指定方式包括近场通信、红外通信、蓝牙通信;
    通过专用向所述第一指定设备传输自身的目标设备属性信息。
  11. 根据权利要8所述的设备,其特征在于,所述设备还包括:
    协商单元,用于通过所述专用信道协商建立Wi-Fi点对点连接时所需 的设备角色信息;
    第二接口单元,用于在所述设备角色信息协商完成后,基于已确定的设备角色信息,与所述第一指定设备建立点对点连接。
  12. 根据权利要求7至11所述的任一项设备,所述设备还包括:
    监测单元,用于监测其他指定设备发送的其他指定设备自身的目标设备属性信息;
    广播单元,用于将与其他指定设备自身对应的目标设备属性信息携带在第二探测信息中,广播第二探测信息;
    第三接口单元,用于当接收到其他指定设备回复的第二探测响应信息时,与其他指定设备建立通信连接。
  13. 一种建立通信连接的系统,其特征在于,所述系统包括第一设备和第二设备:
    所述第一设备用于向第二设备发送自身的设备属性信息;
    所述第二设备用于监测第一设备发送的自身的设备属性信息;
    所述第二设备还用于将所述第一设备的设备属性信息携带在所述探测信息中,广播所述探测信息;
    所述第一设备还用于当监测到所述探测消息时,从所述探测消息中解析第一设备的设备属性信息;
    所述第一设备还用于当解析到的第一设备的设备属性信息与自身设备属性信息匹配时,向第二设备回复探测响应消息;
    所述第二设备还用于基于所述第一设备回复的探测响应消息,与第一设备建立通信连接。
  14. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-6任一项所述的方法。
  15. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-6任一项所述的方法。
  16. 一种电子设备,其特征在于,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行上述权利要求1-6任一项所述的方法。
PCT/CN2017/115530 2016-12-30 2017-12-12 建立通信连接的方法、设备及系统 WO2018121234A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611250546.8 2016-12-30
CN201611250546.8A CN106535301B (zh) 2016-12-30 2016-12-30 建立通信连接的方法、设备及系统

Publications (1)

Publication Number Publication Date
WO2018121234A1 true WO2018121234A1 (zh) 2018-07-05

Family

ID=58335552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/115530 WO2018121234A1 (zh) 2016-12-30 2017-12-12 建立通信连接的方法、设备及系统

Country Status (2)

Country Link
CN (1) CN106535301B (zh)
WO (1) WO2018121234A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800836A (zh) * 2020-06-30 2020-10-20 北京小米移动软件有限公司 一种通信方法、装置、电子设备及存储介质
CN113660323A (zh) * 2021-08-05 2021-11-16 百度在线网络技术(北京)有限公司 用于设备之间通信的方法、设备和计算机可读存储介质
CN114339709A (zh) * 2020-09-30 2022-04-12 华为技术有限公司 无线通信方法和终端设备
WO2023246593A1 (zh) * 2022-06-21 2023-12-28 苏州百孝医疗科技有限公司 用于持续监测系统的数据传输方法及系统

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535301B (zh) * 2016-12-30 2020-02-21 珠海赛纳打印科技股份有限公司 建立通信连接的方法、设备及系统
CN108933804B (zh) * 2017-05-26 2021-12-10 中移物联网有限公司 一种对等网络构建方法和装置
WO2019006728A1 (zh) * 2017-07-06 2019-01-10 北京小米移动软件有限公司 物联网设备之间建立快速连接的方法、装置及设备
CN109600731B (zh) 2017-09-30 2022-04-12 中兴通讯股份有限公司 一种车辆预警的方法和装置
CN111669840B (zh) * 2019-03-05 2022-07-29 珠海奔图电子有限公司 网络连接配置方法、网络连接配置装置和图像形成设备
US11977788B2 (en) 2019-03-05 2024-05-07 Zhuhai Pantum Electronics Co., Ltd. Network connection configuration method, network connection configuration apparatus, image forming apparatus, and storage medium
CN110324881B (zh) * 2019-07-05 2021-05-11 郑州工程技术学院 基于物联网的安全防护信息传输方法、安全防护系统及计算机可读介质
CN112468306A (zh) * 2019-09-09 2021-03-09 西安诺瓦星云科技股份有限公司 通信控制方法、装置、系统和存储介质
CN110662309A (zh) * 2019-09-26 2020-01-07 联想(北京)有限公司 用于通信的方法和电子设备
CN111782568A (zh) * 2020-06-23 2020-10-16 维沃移动通信有限公司 数据传输组件与方法
CN112153754B (zh) * 2020-09-27 2023-02-17 阿波罗智联(北京)科技有限公司 点对点连接方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140082185A1 (en) * 2012-09-19 2014-03-20 Qualcomm Incorporated Systems and methods for transmitting and receiving discovery messages
CN103686676A (zh) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 设备到设备通信系统的通信方法、装置及系统
CN104105155A (zh) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 接收设备发现信息、发送设备发现信息的方法和用户设备
CN104853336A (zh) * 2015-05-18 2015-08-19 小米科技有限责任公司 发现智能设备的方法、请求接入互联网的方法及装置
CN104902500A (zh) * 2015-05-21 2015-09-09 南京创维信息技术研究院有限公司 无线网络设备与无线接入设备的自动连接方法及系统
CN106535301A (zh) * 2016-12-30 2017-03-22 珠海赛纳打印科技股份有限公司 建立通信连接的方法、设备及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763521B (zh) * 2014-12-18 2019-09-20 阿里巴巴集团控股有限公司 一种设备验证方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686676A (zh) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 设备到设备通信系统的通信方法、装置及系统
US20140082185A1 (en) * 2012-09-19 2014-03-20 Qualcomm Incorporated Systems and methods for transmitting and receiving discovery messages
CN104105155A (zh) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 接收设备发现信息、发送设备发现信息的方法和用户设备
CN104853336A (zh) * 2015-05-18 2015-08-19 小米科技有限责任公司 发现智能设备的方法、请求接入互联网的方法及装置
CN104902500A (zh) * 2015-05-21 2015-09-09 南京创维信息技术研究院有限公司 无线网络设备与无线接入设备的自动连接方法及系统
CN106535301A (zh) * 2016-12-30 2017-03-22 珠海赛纳打印科技股份有限公司 建立通信连接的方法、设备及系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800836A (zh) * 2020-06-30 2020-10-20 北京小米移动软件有限公司 一种通信方法、装置、电子设备及存储介质
CN111800836B (zh) * 2020-06-30 2024-01-16 北京小米移动软件有限公司 一种通信方法、装置、电子设备及存储介质
CN114339709A (zh) * 2020-09-30 2022-04-12 华为技术有限公司 无线通信方法和终端设备
CN113660323A (zh) * 2021-08-05 2021-11-16 百度在线网络技术(北京)有限公司 用于设备之间通信的方法、设备和计算机可读存储介质
WO2023246593A1 (zh) * 2022-06-21 2023-12-28 苏州百孝医疗科技有限公司 用于持续监测系统的数据传输方法及系统

Also Published As

Publication number Publication date
CN106535301A (zh) 2017-03-22
CN106535301B (zh) 2020-02-21

Similar Documents

Publication Publication Date Title
WO2018121234A1 (zh) 建立通信连接的方法、设备及系统
US11671813B2 (en) Function execution device and communication terminal
US20230030588A1 (en) Communication apparatus, control method, and computer-readable storage medium
JP5985767B2 (ja) 近接場通信を用いたピア・ツー・ピアWi−Fiレンジングのための方法および装置
KR101616491B1 (ko) 프리-어소시에이션 디스커버리
US9414435B2 (en) Communication device
US10425809B2 (en) Communication apparatus, method for controlling communication apparatus, and program
JP6406092B2 (ja) 通信機器
US9872129B2 (en) Communication apparatus, method for controlling the same, and storage medium
US9189189B2 (en) Mobile terminal, printing apparatus and computer-readable recording medium storing program therefor
US20180213578A1 (en) Communication apparatus, communication method, and program
KR102037256B1 (ko) 사용자 의향을 반영한 서비스 연결 장치 및 방법
KR20140010343A (ko) 무선 통신 시스템에서 토폴리지 처리 방법 및 장치
US10966261B2 (en) Communication apparatus, communication method, and program
US10813144B2 (en) Communication device establishing wireless connection with terminal device and non-transitory computer-readable medium for terminal device establishing wireless connection with communication device
US20190174310A1 (en) Communication device, communication method, and storage medium
CN114390491A (zh) 一种组网方法、装置和系统
US20160269962A1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
JP6261577B2 (ja) 無線通信装置、無線通信方法、および無線通信制御プログラム
JP6485153B2 (ja) 端末、処理装置、処理システムおよびプログラム
JP6812836B2 (ja) 通信装置及び端末装置のためのコンピュータプログラム
JP6766645B2 (ja) 通信装置
JP6805894B2 (ja) 通信装置のためのコンピュータプログラム
WO2020110575A1 (ja) 通信装置、通信装置の制御方法及びプログラム
US10212582B2 (en) Communication apparatus, providing method, and program

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17889090

Country of ref document: EP

Kind code of ref document: A1