WO2023202131A1 - Procédé et appareil d'interconnexion de dispositif, dispositif électronique et support d'enregistrement - Google Patents

Procédé et appareil d'interconnexion de dispositif, dispositif électronique et support d'enregistrement Download PDF

Info

Publication number
WO2023202131A1
WO2023202131A1 PCT/CN2022/141249 CN2022141249W WO2023202131A1 WO 2023202131 A1 WO2023202131 A1 WO 2023202131A1 CN 2022141249 W CN2022141249 W CN 2022141249W WO 2023202131 A1 WO2023202131 A1 WO 2023202131A1
Authority
WO
WIPO (PCT)
Prior art keywords
control device
connection
communication
protocol
request
Prior art date
Application number
PCT/CN2022/141249
Other languages
English (en)
Chinese (zh)
Inventor
朱海舟
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023202131A1 publication Critical patent/WO2023202131A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Definitions

  • the present application relates to the field of communication technology, and more specifically, to a device interconnection method, device, electronic device and storage medium.
  • the current technical method is that the target device enters the pairing state and continuously broadcasts, and the other device searches for the network information of the pairable device and displays it.
  • the user manually selects the target device from the pairable devices on the interactive interface and initiates a connection.
  • This application proposes a device interconnection method, device, electronic device and storage medium to improve the above defects.
  • embodiments of the present application provide a device interconnection method, which is applied to a control device, including: receiving an interconnection request, the interconnection request being used to request a connection between a first device and a second device; between the control device and the When a target private protocol has been configured between the first devices, in response to the interconnection request, send a directed connection instruction defined by the target private protocol to the first device, where the directed connection instruction includes the third The network information of the two devices, the directed connection instruction is used to instruct the first device to establish a communication connection with the second device based on the network information of the second device; between the control device and the first device When no target private protocol is configured between the devices, in response to the interconnection request, establish communication connections with the first device and the second device respectively, so that the first device and the second device Communication data between devices is forwarded through the control device.
  • embodiments of the present application provide a device interconnection method, applied to a first device, including: when a target private protocol has been configured between the control device and the first device, obtaining the control device The device sends a directional connection instruction based on the target private protocol.
  • the directional connection instruction is an instruction defined by the target private protocol.
  • the directional connection instruction includes network information of the second device; in response to the directional connection instruction, based on The network information establishes a communication connection with the second device.
  • inventions of the present application also provide a device interconnection method, which is applied to a device interconnection system.
  • the device interconnection system includes a control device, a first device and a second device.
  • the control device and the first device Connected, the method includes: the control device receives an interconnection request, the interconnection request is used to request to connect the first device and the second device; a configuration has been configured between the control device and the first device
  • the control device responds to the interconnection request by sending a directional connection instruction defined by the target private protocol to the first device, where the directional connection instruction includes the network of the second device.
  • the first device responds to the directional connection instruction and establishes a communication connection with the second device based on the network information of the second device; no target is configured between the control device and the first device
  • the control device responds to the interconnection request and establishes communication connections with the first device and the second device respectively, so that the first device and the second device Communication data between devices is forwarded through the control device.
  • inventions of the present application also provide an equipment interconnection device for use in controlling equipment.
  • the device includes: an interconnection detection module, a first connection module and a second connection module.
  • An interconnection detection module configured to receive an interconnection request, the interconnection request being used to request a connection between the first device and the second device; a first connection module, configured to configure a target private device between the control device and the first device.
  • a directional connection instruction defined by the target private protocol to the first device, where the directional connection instruction includes the network information of the second device, and the directional connection instruction
  • the instruction is used to instruct the first device to establish a communication connection with the second device based on the network information of the second device; a second connection module is configured between the control device and the first device.
  • a target private protocol in response to the interconnection request, establish communication connections with the first device and the second device respectively, so that the first device and the second device The communication data is forwarded through the control device.
  • embodiments of the present application also provide a device interconnection device, which is applied to the first device.
  • the device includes: an instruction acquisition module and a communication connection module.
  • An instruction acquisition module configured to obtain a directional connection instruction sent by the control device based on the target private protocol when a target private protocol has been configured between the control device and the first device.
  • the directional connection instruction Instructions defined for the target private protocol, the directional connection instruction includes network information of the second device; a communication connection module, configured to respond to the directional connection instruction, establish communication with the second device based on the network information connect.
  • inventions of the present application also provide a device interconnection system.
  • the device interconnection system includes a control device, a first device and a second device.
  • the control device is connected to the first device; the control device is For receiving an interconnection request, the interconnection request is used to request connection between the first device and the second device; the control device is also used to configure a target private device between the control device and the first device.
  • the protocol in response to the interconnection request, send a directional connection instruction defined by the target private protocol to the first device, where the directional connection instruction includes network information of the second device; the first device The device is configured to respond to the directional connection instruction and establish a communication connection with the second device based on the network information of the second device; the control device is also configured to establish a communication connection between the control device and the first device. If no target private protocol is configured between them, in response to the interconnection request, establish communication connections with the first device and the second device respectively, so that the first device and the second device Communication data between the two devices is forwarded through the control device.
  • embodiments of the present application further provide an electronic device, one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more application programs are configured to execute the above method.
  • embodiments of the present application further provide a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one The program, said code set or instruction set is loaded by the processor and executes the above method.
  • embodiments of the present application also provide a computer program product containing instructions.
  • the computer program product stores instructions, which when run on a computer, cause the computer to implement the above method.
  • Figure 1 shows a schematic diagram of a device interconnection system provided by an embodiment of the present application
  • Figure 2 shows a method flow chart of a device interconnection method provided by an embodiment of the present application
  • Figure 3 shows a schematic diagram of the connection control interface of the control device provided by an embodiment of the present application
  • Figure 4 shows a schematic diagram of a device selection interface of a control device provided by an embodiment of the present application
  • Figure 5 shows an interconnection architecture diagram of device interconnection provided by an embodiment of the present application
  • Figure 6 shows an interconnection architecture diagram of device interconnection provided by yet another embodiment of the present application.
  • Figure 7 shows a method flow chart of a device interconnection method provided by another embodiment of the present application.
  • Figure 8 shows an interaction flow chart between devices in a device interconnection system provided by an embodiment of the present application
  • Figure 9 shows a method flow chart of a device interconnection method provided by yet another embodiment of the present application.
  • Figure 10 shows an interaction flow chart between devices in a device interconnection system provided by another embodiment of the present application.
  • Figure 11 shows a method flow chart of a device interconnection method provided by yet another embodiment of the present application.
  • Figure 12 shows an interaction flow chart between devices in a device interconnection system provided by yet another embodiment of the present application.
  • Figure 13 shows a method flow chart of a device interconnection method of a first device provided by an embodiment of the present application
  • Figure 14 shows an interaction flow chart between devices in a device interconnection system provided by yet another embodiment of the present application.
  • Figure 15 shows a method flow chart of the device interconnection method of the device interconnection system provided by an embodiment of the present application
  • Figure 16 shows a structural block diagram of a device interconnection device provided by an embodiment of the present application.
  • Figure 17 shows a structural block diagram of another device interconnection device provided by an embodiment of the present application.
  • Figure 18 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • Figure 19 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Figure 20 shows a structural block diagram of a computer program product provided by an embodiment of the present application.
  • the Internet of Things is a network concept based on the "Internet concept" that extends and extends its user end to any items for information exchange and communication.
  • IOT Internet of Things
  • Some scenarios can be configured in the IoT system. For configuration scenarios, multiple smart devices can be involved, and multiple smart devices have a certain linkage relationship and can work together.
  • the configured scenario may include that when two devices are interconnected through communication technologies such as Bluetooth, wifi direct, or wifi projection, communication data can be transmitted between the two devices.
  • device A and device B when device A and device B are interconnected, if device A is the target device, device A will enter the pairing state and continue to send out broadcasts.
  • Device B will search for the network information of the pairable device and display it on the interactive interface.
  • the user manually selects device A (i.e., the target device) from the pairable devices on the interactive interface and initiates the connection.
  • the user not only needs to manually activate the target device to the pairing state, but also needs to select a target device that can be paired on another device.
  • the above process needs to be repeated to interconnect two new devices. In this process, the user needs to interact with two devices, which is inefficient and greatly affects the user experience.
  • device A and device B can be Bluetooth headsets, handles, Internet of Things devices, televisions, mobile phones and other electronic devices.
  • the device interconnection system shown in Figure 1 includes a remote control 110, a first device 120 and a second device 130.
  • the first device 120 can receive pairing broadcasts from multiple pairable devices including the second device 130 , and then the first device 120 can display the information of the multiple pairable devices on the screen, and the user can use the remote control 110
  • a control instruction is sent to the first device 120, where the control instruction is used to determine the second device 130 from the plurality of pairable devices and instruct the first device 120 to establish a connection with the second device 130.
  • the way the user interacts with the first device through the remote control is too inefficient and brings a poor experience to the user.
  • embodiments of the present application provide a device interconnection method, device, electronic device and storage medium.
  • the process of controlling the communication between the first device and the second device through the control device can save the user the need to interconnect the two devices. Operation steps for each device to improve interaction efficiency.
  • Figure 2 shows a method flow chart of a device interconnection method provided by an embodiment of the present application.
  • the device interconnection method can be applied to control devices. Specifically, the method includes: S210 to S240.
  • S210 Receive an interconnection request, where the interconnection request is used to request connection between the first device and the second device.
  • the interconnection request can be used to request to connect the first device and the second device, that is, to request the establishment of a communication connection between the first device and the second device, where the first device and the second device.
  • the communication connection between the first device and the second device may be directly connected, or the first device and the second device may be indirectly connected through an intermediate device.
  • the intermediate device may be a control device.
  • the interconnection request may be initiated by the user.
  • the interconnection request can be generated based on an interconnection operation initiated by the user on the connection control interface of the control device. That is to say, when the control device detects an interconnection operation initiated by the user on the connection control interface of the control device, such as detecting that the user is on the connection control interface of the control device. Clicking on the "Enable air connection” button in the connection control interface shown in Figure 3 can generate the connection request in the control device.
  • the connection control interface may be a display interface of an application program developed by the control device to implement the device interconnection method.
  • the connection control interface provides the user with an operation portal for controlling the interconnection of the first device and the second device, allowing the user to Control of the first device or the second device is implemented in the connection control interface of the control device.
  • the interconnection request may be initiated by the first device or the second device.
  • the interconnection request may be a designated broadcast sent out by the first device or the second device in a pairable state, and the designated broadcast carries the network address of the device that initiated the broadcast. For example, if the interconnection request is initiated by the first device, that is, the first device actively requests the second device to establish a communication connection by sending an interconnection request.
  • the second device can also After receiving the interconnection request, and since the second device needs to wait for the user to input a confirmation instruction from the second device to connect to the first device before sending a connection to the first device, if the user does not input a confirmation instruction, the second device If the device does not actively connect to the first device, the control device may perform subsequent operations of establishing a communication connection with the first device or the second device after obtaining the interconnection request. In addition, in some embodiments, after receiving the interconnection request, the second device may actively display the interface of whether to connect to the first device.
  • the control device may receive the After receiving the interconnection request, it broadcasts an ignore request to the outside.
  • the second device can accept the above-mentioned interconnection request and the above-mentioned ignore request, and then responds to the above-mentioned ignore request.
  • the second device can ignore the above-mentioned interconnection request, that is, not respond to the interconnection request, thereby avoiding the third
  • the second device responds to the interconnection request, and then parses and obtains the network address of the first device and displays prompt information whether to connect to the first device, for example, the aforementioned interface.
  • the first device is a television and the second device is a game controller
  • the game controller sends an interconnection request through Bluetooth broadcast or wifi broadcast to request the first device to establish Communication connection.
  • an electronic device such as a mobile phone serving as a control device receives the interconnection request, it can obtain the interconnection request and further control the TV and the game controller through the mobile phone for interconnection.
  • S220 In response to the interconnection request, determine whether a target private protocol is configured between the control device and the first device. If yes, execute S230; if not, execute S240.
  • a directional connection instruction is defined under the target private protocol, and the directional connection instruction includes the network information of the second device. Therefore, when the first device receives the directional connection instruction, the first device can The network information of the second device is obtained from the directed connection instruction, and a communication connection is established with the second device based on the network information of the second device. Therefore, if the control device wants to control the first device and the second device to interconnect through the directed connection instruction, both the control device and the first device need to configure the target private protocol before the control device and the first device can communicate through the directed connection command.
  • the connection instruction transmits the network information of the second device, and instructs the first device to establish a communication connection with the second device based on the network information through the directed connection instruction.
  • the target private protocol may be a customized private communication protocol.
  • the control device can encapsulate the directional connection instruction based on the private communication protocol. Therefore, when the first device receives the directional connection instruction, the first device can unencapsulate the directional connection instruction based on the private communication protocol, and can obtain it only after unencapsulation. to obtain the network information of the second device and learn that the directed connection instruction is an instruction that instructs the first device to establish a communication connection with the second device based on the network information. That is to say, the private communication protocol needs to be configured in both the control device and the first device.
  • the control device can send a detection message to the first device based on the private communication protocol, and detect in the control device whether the detection message is received within a preset time.
  • the feedback message of the first device for the detection message. If the feedback message of the detection message from the first device is received within the preset time, it is determined that the target private protocol has been configured between the control device and the first device; if no feedback message from the first device is received within the preset time, Based on the feedback message of the detection message, it is determined that the target private protocol is not configured between the control device and the first device.
  • the target private protocol may be an API (Application Programming Interface, Application Programming Interface) interface of the same SDK (Software Development Kit, Software Development Kit), and both the control device and the first device
  • the API interface is provided, both the control device and the first device can realize the functions of the above SDK through the API interface.
  • the directional connection instruction can be the instruction defined in the above-mentioned SDK, and the generation and analysis of the directional connection instruction can be realized by calling the API interface. If the control device calls the API interface, it can encapsulate the network information of the second device into a directed connection instruction, and send the directed connection instruction to the first device; if the first device calls the API interface, it can encapsulate the directed connection instruction after receiving the directed connection instruction.
  • the network information of the second device is parsed from the directed connection instruction, and a communication connection is established with the second device based on the network information.
  • the target private protocol is configured between the control device and the first device
  • Send test data and detect whether feedback data of the test data from the first device is received within a preset time. If the feedback data of the test data from the first device is received within the preset time, it is determined that the target private protocol has been configured between the control device and the first device; if the test data of the first device is not received within the preset time If the data is fed back, it is determined that the target private protocol is not configured between the control device and the first device.
  • the relationship between the control device and the first device can be determined by determining whether the control device and the first device are produced by the same manufacturer. Whether to configure the target private protocol.
  • it can be determined whether the control device and the first device are devices produced by the same manufacturer through the device identification of the control device and the device identification of the first device, wherein the device identification of the control device and the device identification of the first device It can be the manufacturer's logo, or it can be the device name set when the device leaves the factory (it is understandable that a device name is usually set when the device leaves the factory.
  • the device names set by the same manufacturer when leaving the factory have similar naming rules, so through the factory
  • the device name set at the time can identify the manufacturer of the electronic device.
  • the device name set by the same manufacturer when leaving the factory is "manufacturer abbreviation -xxx").
  • the device identification of the control device and the device identification of the first device can also be the MAC address of the device (wherein, the manufacturer of the device usually has a MAC address pool, and when the device leaves the factory, a MAC address is selected from the MAC address pool as the device's MAC address.
  • MAC address so by determining whether the MAC address of the control device and the MAC address of the first device belong to the same MAC address pool, it can be determined whether they are devices generated by the same manufacturer) and so on.
  • the target option in at least one device option in the device selection interface of the control device that the user acts on can also be obtained.
  • the device selection operation is performed, and then based on the target option, it is determined whether the target private protocol is configured between the control device and the first device.
  • the at least one device option may be used to indicate that the target private protocol has been configured between the control device and the first device and/or that the target private protocol has not been configured between the control device and the first device.
  • the target private protocol can only be configured in devices produced by the same manufacturer, to facilitate user identification
  • the first device can be called the master device and the second device can be called the slave device, as shown in Figure 4, then
  • the user can be provided with a first device option indicating "this device and the main device are from the same manufacturer” and a second device option indicating "this device is from a different manufacturer than the main device" in the device selection interface of the control device.
  • the target option corresponding to the device selection operation is the first device option, that is, the user selects the first device option in the device selection interface, it is determined that the target private protocol has been configured between the control device and the first device; if the device selection operation corresponds to The target option is the second device option, that is, the user selects the second device option in the device selection interface, it is determined that the target private protocol is not configured between the control device and the first device.
  • the directional connection instruction includes the network information of the second device.
  • the directional connection instruction is used to instruct the first device based on The network information establishes a communication connection with the second device.
  • a directional connection instruction is defined under the target private protocol, and the directional connection instruction includes the network information of the second device.
  • the first device receives the directional connection instruction, the first device can obtain the directional connection instruction from the directional connection instruction.
  • the network information of the second device is obtained in the connection instruction, and a communication connection is established with the second device based on the network information of the second device.
  • the network information of the second device may be information used to uniquely identify the second device when the second device communicates with a device other than the second device. For example, it may be any of the device name, MAC address and IP address of the second device. A piece of information or a combination of information.
  • both the control device and the first device need to configure the target private protocol so that the control device and the first device can communicate through
  • the directed connection instruction transmits the network information of the second device, and instructs the first device to establish a communication connection with the second device based on the network information through the directed connection instruction.
  • the control device when a target private protocol has been configured between the control device and the first device, the control device can transmit the network information of the second device through the directed connection instruction defined by the target private protocol, and the control device can also The first device is instructed to establish a communication connection with the second device based on the network information through the directed connection instruction.
  • the control device can first obtain the network information of the second device.
  • the control device and the second device may be in a state where a communication connection is not established.
  • the control device may obtain the pairing broadcast sent by the second device, and then Obtain network information of the second device based on the pairing broadcast.
  • the second device before the control device obtains the network information of the second device, the second device can be in a pairing state, and the second device can send a pairing broadcast in the pairing state, so that when the control device responds to the above-mentioned interconnection request and Only after it is determined that the target private protocol has been configured between the control device and the first device, the network information of the second device can be obtained based on the pairing broadcast of the second device.
  • the control device when the control device obtains the network information of the second device, the control device and the second device may be in a state of established communication connection. At this time, the control device may send a network query request to the second device, When receiving a network feedback request from the second device regarding the network query request, the network information of the second device may be determined from the network feedback request.
  • the control device can encapsulate the network information of the second device into a directional connection instruction, and then send the directional connection instruction to the first device.
  • the first device can parse the network information of the second device from the directed connection instruction and The communication connection may be established with the second device based on the network information of the second device in response to the directed connection instruction.
  • the first device may send a directed broadcast containing the network information of the second device.
  • the second device may send a connection request to the first device for the directed broadcast. Therefore, when the first device receives the connection request from the second device for the directed broadcast, it can establish a communication connection with the second device.
  • the first device can be a TV 520
  • the second device can be a game controller 530
  • the game controller 530 needs to be connected to the TV 520.
  • the mobile phone 510 can continuously detect whether it receives an interconnection request to connect the game controller 530 and the TV 520. For example, it continuously detects whether it receives a device selection operation performed by the user on at least one target option in the device selection interface of the mobile phone 510. . If the target option selected by the user is the above-mentioned first device option, it is determined that the target private protocol has been configured between the mobile phone 510 and the TV 520 .
  • the game controller 530 can be adjusted to a pairing state and a pairing broadcast can be sent. Then, the mobile phone 510 can receive the pairing broadcast of the game controller 530 and obtain the network information of the game controller 530 according to the pairing broadcast. Then the mobile phone 510 encapsulates the network information of the game controller 530 into the directional connection command, and then sends the directional connection command to the TV 520.
  • the TV 520 can parse the directional connection instruction to obtain the network information of the game controller 530, and respond to the directional connection instruction, that is, establish a communication connection with the game controller 530 based on the network information of the game controller 530.
  • the directed broadcast may be a Connectable Directed Event Type in Bluetooth.
  • the first device and the second device can also establish a communication connection using communication protocols corresponding to communication technologies such as wifi direct and wifi screen projection.
  • the embodiment of the present application provides a communication connection between the first device and the second device. There is no restriction on the communication protocol used by the two devices when establishing a communication connection. In addition, the embodiments of the present application do not limit the communication protocol used by the control device to obtain the network information of the second device.
  • the communication technology used by the control device to obtain the network information of the second device can be the same as the communication technology used by the first device and the second device to establish a communication connection, for example, Bluetooth is used; or it can be different, for example, the control device
  • the device uses Bluetooth when obtaining the network information of the second device, and uses WiFi when the first device establishes a communication connection with the second device, and so on.
  • S240 Establish communication connections with the first device and the second device respectively, so that communication data between the first device and the second device are forwarded through the control device.
  • the control device when the target private protocol is not configured between the control device and the first device, at this time, whether the control device is not configured with the target private protocol or the first device is not configured with the target private protocol, the control device cannot The directional connection instruction is transmitted between the control device and the first device, so the control device is further unable to instruct the first device to establish a communication connection with the second device based on the network information through the directional connection instruction. It can be seen from this that when the target private protocol is not configured between the control device and the first device, the control device needs to control the first device in a different manner than when the target private protocol is configured between the control device and the first device. Communicate with the second device.
  • the control device when the target private protocol is not configured between the control device and the first device, the control device can establish communication connections with the first device and the second device respectively, so that the first device Communication data between the device and the second device may be forwarded through the control device.
  • control device is a mobile phone 610
  • the first device is a TV 620
  • the second device is a game controller 630
  • the target option selected by the user in the control device 610 is the above-mentioned second device option, Then it is determined that the target private protocol is not configured between the mobile phone 610 and the TV 620.
  • the mobile phone 610 can establish communication connections with the game controller 630 and the TV 620 respectively, and when the game controller 630 sends the controller operation data to the TV 620, the game controller 630 can first pass the communication between the mobile phone 610 and the game controller 630 The connection sends the handle operation data to the mobile phone 610, and then the mobile phone 610 forwards the handle operation data to the TV 620 through the communication connection between the mobile phone 610 and the TV 620.
  • the first device can be used as a master device and the second device can be a slave device.
  • the same first device can be interconnected with second devices of different types, that is, the same master device supports access. Different types of slave devices (can be accessed simultaneously or non-simultaneously).
  • second devices may support different communication protocols. For example, human-computer interaction devices such as mice, keyboards, and game controllers support the hid (Human Interface Device) protocol, while Bluetooth headsets support A2DP. (Advanced Audio Distribution Profile, Bluetooth audio transmission model) protocol.
  • the control device cannot forward the communication data between the first device and the second device.
  • At least one communication connection can be established between the control device and the first device, and each communication connection corresponds to A communication protocol. That is to say, when the second device is a second device of a different type, the control device can forward the communication data of the second device through at least one communication connection corresponding to the communication protocol supported by the second device.
  • each of the at least one communication connection is established based on a physical link, and may also be established based on a logical link.
  • a communication connection may also be established between the control device and the first device.
  • the control device can The communication data of the specified communication protocol generated by the second device is converted into communication data of the target communication protocol, and then the communication data of the target communication protocol is sent to the first device through the communication connection between the control device and the first device.
  • the control device when the control device obtains an interconnection request requesting to connect the first device and the second device, in response to the interconnection request and a target private protocol has been configured between the control device and the first device, the control device The device sends a directional connection instruction defined by the target private protocol to the first device, where the directional connection instruction includes network information of the second device. Therefore, the control device can instruct the first device to establish a communication connection with the second device based on the network information according to the directional connection instruction, and the user does not need to operate the first device too much.
  • the control device When the target private protocol is not configured between the control device and the first device, the control device establishes communication connections with both the first device and the second device, and the control device can be used to perform communication between the first device and the second device.
  • the data forwarding operation means that the control device connects the first device and the second device. Therefore, the process of controlling the communication between the first device and the second device through the control device can save the user's operating steps for the two devices that need to be interconnected, and improve interaction efficiency.
  • Figure 7 shows a method flow chart of a device interconnection method provided by another embodiment of the present application.
  • the device interconnection method can be applied to control devices.
  • the control device needs to establish communication connections with the first device and the second device respectively.
  • S240 may include: S710 to S730.
  • control device and the first device have not previously established a communication connection, control the control device to enter a pairable state, and send a pairing broadcast in the pairable state.
  • the control device is a new device for the first device, that is, in response to the interconnection request and no target private protocol is configured between the control device and the first device, the control device and the first device No communication connection has been established before. Therefore, to ensure that the control device can forward the communication data between the first device and the second device, a communication connection needs to be established between the control device and the first device.
  • the control device may first control itself to enter a pairing state.
  • the control device can be discovered by the first device. If the first device has not established a communication connection with the control device, or if the first device has not obtained the network information of the control device in advance, the second device A device needs to be paired with a control device.
  • the communication information may include network information and other data used to establish a connection. Therefore, for a new device, only when the control device When entering the pairing-ready state, the control device sends a pairing broadcast so that it can be scanned by the first device, and then pairing with the first device can be completed.
  • S720 Receive the connection request returned by the first device based on the pairing broadcast.
  • S730 In response to the connection request, establish a communication connection with the first device.
  • control device is a new device to the first device, that is, the control device has not established a communication connection with the first device, or the first device has not obtained the network information of the control device.
  • the current control device has not established a communication connection with the first device, and the first device expects to establish a communication connection with the control device, then the control device enters a pairing state so that the first device can scan the control device, and then the first device obtains the control Network information of the device to establish a connection with the control device.
  • the control device when the control device enters the pairable state, the first device starts to scan the control device.
  • the control device can send a scan request through a pairing broadcast in the pairing state, and the pairing broadcast carries Control the network information of the device.
  • the first device can respond to the scan request and send a connection request to the control device based on the network information of the control device.
  • the control device parses the connection request and obtains the network information of the first device.
  • the control device based on The network information of the first device establishes a communication connection with the first device.
  • the communication connection between the control device and the first device can be established based on Bluetooth; if the control device and the first device are connected through WiFi, then the control device The communication connection with the first device may be established based on WiFi.
  • the communication data between the first device and the second device can be forwarded through the control device.
  • the communication connection between the control device and the first device may be maintained from the establishment of the communication connection to the forwarding of communication data between the first device and the second device.
  • no communication data is generated between the first device and the second device, that is, there is no need to immediately forward the communication data through the control device.
  • the communication connection established between the control device and the first device supports The target communication protocol, the specified communication protocol is different from the target communication protocol, then the control device can convert the communication data of the specified communication protocol generated by the second device into the communication data of the target communication protocol, and then through the communication between the control device and the first device
  • the communication connection sends communication data of the target communication protocol to the first device.
  • multiple communication connections can be established between the control device and the first device, and each communication connection corresponds to a communication protocol. That is to say, when the second device of different types and the first device When transmitting communication data, the control device can forward the communication data of the second device through the communication connection corresponding to the communication protocol supported by the second device among the multiple communication connections.
  • the multiple communication connections in the embodiment of the present application are one or more communication connections.
  • the control device includes multiple virtual devices, and each virtual device corresponds to a communication protocol, and the control device sends multiple pairing broadcasts in the pairable state, and each pairing broadcast corresponds to a virtual device of the control device.
  • the above-mentioned There are also multiple connection requests, and each connection request corresponds to a pairing broadcast. Therefore, when multiple communication connections are established between the control device and the first device, the control device can send a pairing broadcast for each virtual device in the pairable state.
  • the first device receives the pairing broadcast sent for each virtual device, During pairing broadcast, a connection request can be sent to each pairing broadcast.
  • the control device receives each connection request, it can respond to each connection request and establish each virtual device based on the communication protocol corresponding to each virtual device. Communication connection with the first device. Further, when communication data is transmitted between the second device supporting the specified communication protocol and the first device, the control device can forward the communication data of the second device to the specified communication protocol corresponding to the multiple established communication connections. That communications connection.
  • a communication connection when a communication connection is established between the control device and the first device, a communication connection can be established for each communication protocol, so that the first device and the second device can be communicated through the same control device. Forwarding of communication data based on different communication protocols.
  • the second device is a Bluetooth headset and the Bluetooth headset supports the A2DP protocol
  • a path connection can be established between the control device and the first device based on the A2DP protocol.
  • the second device is a game controller and the game controller supports the HID protocol
  • a channel connection can also be established between the control device and the first device based on the HID protocol.
  • Figure 9 shows a method flow chart of a device interconnection method provided by yet another embodiment of the present application.
  • the device interconnection method can be applied to control devices.
  • S240 may also include: S910 to S940 .
  • S920 Based on at least one reconnection request sent by the first device, reconnect at least one of the multiple communication connections that has been successfully established.
  • the control device and the first device have successfully established a communication connection before, and the multiple communication connections that have been successfully established between the control device and the first device have been disconnected, such as because the control device or the first device If the device is turned off, no data transmission is detected between the control device and the first device within a specified period, and multiple established communication connections between the control device and the first device are disconnected, the communication connections can be re-established through reconnection. . Specifically, when the control device and the first device have been paired successfully before, the control device can be controlled to enter the pairing state. At this time, the control device can receive at least one reconnection request sent by the first device, and the control device will be successfully connected. The communication connection corresponding to each connection request among the multiple communication connections established is reconnected.
  • S930 Determine whether at least one of the multiple communication connections that have been successfully established before between the control device and the first device has been successfully reconnected this time.
  • each reconnection request may be reconnected successfully or may fail.
  • three communication connections have been successfully established between the control device and the first device. Before reconnection is performed according to the reconnection request, all three communication connections have been disconnected. Then the first device can send three Reconnection request, each reconnection request corresponds to a communication connection. After the control device receives these 3 reconnection requests, it can reconnect all 3 communication connections that have been successfully established. If 1, 2, or 3 of the communication connections are reconnected successfully (1 in Figure 10 communication connections are reconnected successfully), then at least one communication connection has been reconnected successfully. When at least one communication connection has been successfully reconnected, a communication connection with the second device can be established.
  • the control device can send a scan request through a pairing broadcast in the pairable state.
  • the pairing broadcast carries the network information of the control device; the second device responds to the scan request and based on the network information of the control device.
  • each communication connection corresponds to a communication protocol
  • the communication connection corresponding to the communication protocol forwards the communication data between the first device and the second device.
  • the target communication protocol does not belong to the specified communication protocol supported by the second device, and there may be a specified communication connection corresponding to the specified communication protocol among the communication connections that have not been successfully connected back, it can be determined in the communication connections that have not been successfully connected back this time. Whether there is a communication connection with the specified one. If there is a designated communication connection corresponding to the designated communication protocol, the first device can be instructed to successfully connect back to the designated communication connection, and the control device and the second device can establish a communication connection based on the designated communication protocol.
  • the control device and the first device can be connected.
  • a communication connection corresponding to the specified communication protocol is created between the first devices, and a communication connection is established between the control device and the second device based on the specified communication protocol.
  • Figure 11 shows a method flow chart of a device interconnection method provided by yet another embodiment of the present application.
  • the device interconnection method can be applied to control devices.
  • the target private protocol is not configured between the control device and the first device, before determining that the control device and the first device have successfully established a communication connection and controlling the control device to enter the pairing state, it may also include: S1110 to S1120.
  • S1110 Generate multiple virtual devices, each virtual device corresponding to a communication protocol.
  • the control device can generate multiple virtual devices, and each virtual device corresponds to a communication protocol.
  • communication modules of different types of electronic devices can be simulated in the control device, and then the communication modules of various types of electronic devices simulated in the control device serve as virtual devices.
  • the communication module of each type of electronic device can correspond to one communication protocol, and two or more types of electronic devices can correspond to the same communication protocol. That is to say, the virtual device and the communication protocol can be many-to-one. Relationship.
  • control device can generate electronic devices such as a virtual mouse, a virtual game controller, a virtual Bluetooth headset, etc.
  • the communication protocol corresponding to the virtual mouse and virtual game controller is the HID protocol
  • the communication protocol corresponding to the virtual Bluetooth headset can be, for example, the A2DP protocol.
  • S1120 Establish a communication connection between each virtual device and the first device based on the communication protocol corresponding to each virtual device.
  • the communication connection between each virtual device and the first device is As a communication connection between the control device and the first device.
  • a communication connection can be established between each virtual device and the first device, and each communication connection needs to support the communication protocol of the corresponding virtual device.
  • the control device 1210 generates three virtual devices: a virtual mouse 1211, a virtual game controller 1212, and a virtual Bluetooth headset 1213
  • the communication connections between the virtual mouse 1211 and the first device 1220 are generated based on the HID protocol.
  • generate a communication connection between the virtual game controller 1212 and the first device 1220 based on the HID protocol generate a communication connection between the virtual Bluetooth headset 1213 and the first device 1220 based on the A2DP protocol, and use these three communication connections as control devices Communication connection between 1210 and the first device 1220.
  • the second device 1230 is a game controller
  • the designated communication protocol supported by the game controller is the HID protocol
  • the above three communication connections have been successfully connected back
  • the one corresponding to the HID protocol can be selected among the three communication connections.
  • Communication connection It can be understood that if there are two or more communication connections that have been successfully connected back, then the specified device type can be determined from the two or more communication connections that have been successfully connected back according to the specified device type of the second device.
  • the communication connection corresponding to the virtual device with the same device type is used as the designated communication connection.
  • the control device can forward the communication data between the first device and the second device through the designated communication connection between the control device and the first device.
  • a virtual device that is consistent with the specified device type of the second device can be
  • the corresponding communication connection that is, the communication connection corresponding to the virtual game controller (the solid line pointing to the virtual game controller 1212 in Figure 12) is used as the designated communication connection.
  • multiple communication connections can be established between the control device and the first device in advance. After that, when a new second device needs to transmit communication data with the first device, there is no need to connect the control device with the third device. To establish a communication connection between one device, you only need to reconnect the multiple established communication connections and establish a communication connection between the control device and the second device. This can be omitted when a new second device is connected.
  • the connection operation is performed between the control device and the first device to save operation time and improve interaction efficiency.
  • Figure 13 shows a method flow chart of a device interconnection method for a first device provided by an embodiment of the present application.
  • the device interconnection method can be applied to the first device.
  • the first device may establish a communication connection with the second device based on the directed connection instruction.
  • the method may include: S1310 to S11320.
  • S1310 When a target private protocol has been configured between the control device and the first device, obtain a directional connection instruction sent by the control device based on the target private protocol, and the directional connection instruction is the target private protocol.
  • the directed connection instructions include network information of the second device.
  • S1320 In response to the directed connection instruction, establish a communication connection with the second device based on the network information.
  • the first device if a target private protocol has been configured between the control device and the first device, then after the first device obtains the directional connection instruction sent by the control device based on the target private protocol, it can obtain the directional connection instruction from the directional connection instruction. Parse the network information of the second device, and respond to the directed connection instruction, that is, establish a communication connection with the second device based on the network information of the second device.
  • a communication connection may have been established between the first device and the control device, so that communication data including the directional connection instruction can be transmitted between the first device and the control device.
  • the second device when the first device establishes a communication connection with the second device based on the network information of the second device, the second device is in a pairable state. At this time, as shown in Figure 14, in response to the directed connection instruction, the first device will enter the connectable state and send a directed broadcast to the second device based on the network information of the second device. After receiving the directed broadcast containing the network information of the second device, the second device may return a connection request to the first device based on the directed broadcast. Then, when the first device receives the connection request from the second device, the communication connection with the second device can be successfully established.
  • the communication technology used when establishing a communication connection between the first device and the control device can be the same as the communication technology used when establishing a communication connection between the first device and the second device.
  • both use Bluetooth, or they can be different.
  • a Bluetooth connection is established between the first device and the control device
  • a WiFi connection is established between the first device and the second device, and so on.
  • the first device can also establish a communication connection with the control device, and the control device can also establish communication with the second device. connection, so that the communication data between the first device and the second device can be forwarded through the control device.
  • Figure 15 shows a method flow chart of a device interconnection method of a device interconnection system provided by an embodiment of the present application.
  • the device interconnection method can be applied to the device interconnection system.
  • the device interconnection system may include a control device, a first device and a second device.
  • the method may include: S1510 to S1540.
  • the control device receives an interconnection request, and the interconnection request is used to request to connect the first device and the second device.
  • the interconnection request may be initiated by the user, or may be initiated by the first device or the second device, which is not limited in the embodiments of this application.
  • S1520 In the case that a target private protocol has been configured between the control device and the first device, the control device responds to the interconnection request and sends the directed connection instruction defined by the target private protocol to the For a first device, the directed connection instruction includes network information of the second device.
  • the first device In response to the directional connection instruction, the first device establishes a communication connection with the second device based on the network information of the second device.
  • the first device can respond to the directional connection instruction when receiving the directional connection instruction sent by the control device, That is, the network information of the second device is obtained from the directed connection instruction and a communication connection is established with the second device based on the network information.
  • the control device cannot instruct the first device to establish a communication connection with the second device through a directed connection instruction. Therefore, the control device needs to use the method with the control device.
  • the first device and the second device are controlled to communicate in a manner different from the situation in which the target private protocol has been configured between the first device.
  • control device responds to the interconnection request, establishes connections with the first device and with the second device respectively. communication connection between the first device and the second device, so that the communication data between the first device and the second device is forwarded through the control device.
  • the control device when the target private protocol is not configured between the control device and the first device, the control device can establish communication connections with the first device and the second device respectively. Therefore, the control device forwards Communication data between the first device and the second device without establishing a communication connection between the first device and the second device.
  • steps S1510 to S1540 can refer to the execution process of any of the foregoing method embodiments, and the embodiments of this application will not be described again here.
  • the control device when the control device obtains an interconnection request requesting to connect the first device and the second device, in response to the interconnection request and a target private protocol has been configured between the control device and the first device, the control device The device sends a directional connection instruction defined by the target private protocol to the first device, where the directional connection instruction includes network information of the second device. After receiving the directional connection instruction, the first device can establish a communication connection with the second device based on the network information. Therefore, the first device can complete the connection between the first device and the second device based on the instruction of the control device, and the user does not need to operate the first device too much.
  • the control device When the target private protocol is not configured between the control device and the first device, the control device establishes communication connections with both the first device and the second device, and the control device can be used to perform communication between the first device and the second device.
  • the data forwarding operation means that the control device connects the first device and the second device. Therefore, the process of controlling the communication between the first device and the second device through the control device can save the user's operating steps for the two devices that need to be interconnected, and improve interaction efficiency.
  • FIG. 16 shows a structural block diagram of a device interconnection device provided by an embodiment of the present application.
  • the device can be applied to control equipment.
  • the device can include: an interconnection detection module 1610, a first connection module 1620 and a second Connection module 1630.
  • the interconnection detection module 1610 is used to receive an interconnection request, where the interconnection request is used to request a connection between the first device and the second device.
  • the first connection module 1620 is configured to send a directed connection instruction defined by the target private protocol in response to the interconnection request when a target private protocol has been configured between the control device and the first device.
  • the directional connection instruction includes the network information of the second device, and the directional connection instruction is used to instruct the first device to establish a connection with the second device based on the network information of the second device. Communication connection.
  • the second connection module 1630 is configured to, in response to the interconnection request, establish connections with the first device and with the third device when no target private protocol is configured between the control device and the first device.
  • the communication connection between the two devices enables communication data between the first device and the second device to be forwarded through the control device.
  • the second connection module 1630 includes: a first pairing module, configured to respond to the interconnection request if a target private protocol is not configured between the control device and the first device.
  • the device has not established a communication connection with the first device before, controls the control device to enter a pairing state, and sends a pairing broadcast in the pairing state;
  • a request acquisition module is used to receive the first device based on the The connection request returned by the pairing broadcast;
  • a request response module configured to respond to the connection request and establish a communication connection with the first device.
  • the above-mentioned control device includes multiple virtual devices, each of the virtual devices corresponds to a communication protocol, there are multiple pairing broadcasts, and each of the pairing broadcasts corresponds to one of the virtual devices of the control device, so If there are multiple connection requests, and each connection request corresponds to one pairing broadcast, the request response module may include: a response request sub-module, configured to respond to each connection request, based on each virtual The communication protocol corresponding to the device establishes a communication connection between each virtual device and the first device.
  • the above-mentioned second connection module 1630 may also include: a state switching module, configured to, in the case where the target private protocol is not configured between the control device and the first device, if the control device and the third device communicate with each other.
  • a device has previously established a communication connection, and controls the control device to enter a pairing state;
  • a connection back module is used to connect at least one of the multiple established communication connections based on at least one connection back request sent by the first device.
  • a communication connection is reconnected; a reconnection judgment module is used to determine whether at least one of the multiple communication connections that have been established before between the control device and the first device has been successfully reconnected this time; the device connection submodule , used to establish a communication connection with the second device if at least one communication connection has been successfully reconnected.
  • each of the communication connections corresponds to a communication protocol
  • the above-mentioned device connection sub-module may include: a protocol determination module, used to determine the communication connection that has been successfully reconnected if at least one communication connection has been successfully reconnected. Corresponding target communication protocol; a first device connection module, configured to establish a communication connection with the second device based on the specified communication protocol if the target communication protocol belongs to the specified communication protocol supported by the second device. .
  • the above-mentioned device connection sub-module may also include: a connection determination module, configured to determine whether the target communication protocol does not belong to the specified communication protocol supported by the second device in the communication connection that failed to connect back this time. There is a designated communication connection corresponding to the designated communication protocol; a second device connection module is configured to instruct the first device to successfully connect back to the designated communication connection if there is a designated communication connection corresponding to the designated communication protocol, and establishing a communication connection with the second device based on the specified communication protocol.
  • the above-mentioned device connection sub-module may also include: a third device connection module, configured to create a new connection between the control device and the first device if there is no designated communication connection corresponding to the designated communication protocol. A communication connection corresponding to the specified communication protocol, and establishing a communication connection with the second device based on the specified communication protocol.
  • the device interconnection device may also include: a device virtual module, used to generate multiple virtual devices, each of the virtual devices corresponding to a communication protocol; a virtual connection establishment module, used to establish a virtual connection based on the corresponding communication protocol of each virtual device.
  • the communication protocol establishes a communication connection between each virtual device and the first device, and uses the communication connection between each virtual device and the first device as the control device and the first device. Communication connections between devices.
  • the virtual connection establishment module may include: a broadcast sending module, used to control the control device to enter a pairing state, and send multiple pairing broadcasts in the pairing state, each of the pairing broadcasts corresponding to the control device.
  • a broadcast sending module used to control the control device to enter a pairing state, and send multiple pairing broadcasts in the pairing state, each of the pairing broadcasts corresponding to the control device.
  • One of the virtual devices of the device used to obtain the connection request returned by the first device based on each pairing broadcast
  • a virtual connection establishment submodule used in response to each of the connection requests, based on The communication protocol corresponding to each virtual device establishes a communication connection between each virtual device and the first device.
  • FIG 17 shows a structural block diagram of another device interconnection device provided by an embodiment of the present application.
  • This device can be applied to the first device.
  • the device can include: an instruction acquisition module 1710 and a communication connection module 1720.
  • Instruction acquisition module 1710 configured to acquire a directional connection instruction sent by the control device based on the target private protocol when a target private protocol has been configured between the control device and the first device.
  • the instruction is an instruction defined by the target private protocol, and the directional connection instruction includes network information of the second device; the communication connection module 1720 is configured to respond to the directional connection instruction, based on the network information and the second device Establish a communication connection.
  • the above-mentioned communication connection module 1720 may include: a state control module, configured to control the first device to enter a connectable state in response to the directional connection instruction; and a communication connection sub-module, configured to provide communication to the network based on the network information.
  • the second device sends a directed broadcast, and upon receiving a connection request returned by the second device based on the directed broadcast, establishes a communication connection with the second device.
  • the coupling between modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • Embodiments of the present application also provide a device interconnection system.
  • the device interconnection system may include a control device, a first device and a second device, and the control device is connected to the first device.
  • the control device is used to receive an interconnection request, and the interconnection request is used to request to connect the first device and the second device; the control device is also used to connect the control device and the first device.
  • a target private protocol in response to the interconnection request, send a directed connection instruction defined by the target private protocol to the first device, where the directed connection instruction includes the network of the second device information;
  • the first device is configured to respond to the directional connection instruction, establish a communication connection with the second device based on the network information of the second device;
  • the control device is also configured to connect the control device and the When no target private protocol is configured between the first devices, in response to the interconnection request, establish communication connections with the first device and the second device respectively, so that the first device Communication data with the second device is forwarded through the control device.
  • FIG. 18 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 1800 may be a smart phone, a tablet computer, an e-book, or other electronic device capable of running applications.
  • the electronic device 1800 in this application may also be a server or operating device.
  • the electronic device 1800 may include one or more of the following components: a processor 1810, a memory 1820, and one or more application programs, wherein the one or more application programs may be stored in the memory 1820 and configured to be configured by a Or multiple processors 1810 execute, and one or more programs are configured to execute the method as described in the foregoing method embodiments.
  • Processor 1810 may include one or more processing cores.
  • the processor 1810 uses various interfaces and lines to connect various parts of the entire electronic device 1800, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 1820, and calling data stored in the memory 1820.
  • the processor 1810 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • the processor 1810 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem etc.
  • the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1810 and may be implemented solely through a communication chip.
  • the memory 1820 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 1820 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 1820 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • the storage data area can also store data created during use of the electronic device (such as phone book, audio and video data, chat record data), etc.
  • Figure 19 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer-readable storage medium 1900, and the program code can be called by the processor to execute the method described in the above method embodiment.
  • Computer-readable storage medium 1900 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1900 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 1900 has storage space for program code 1910 that performs any method steps in the above-described methods. These program codes can be read from or written into one or more computer program products.
  • Program code 1910 may, for example, be compressed in a suitable form.
  • FIG 20 shows a structural block diagram of a computer program product provided by an embodiment of the present application.
  • the computer program product 2000 stores a computer program/instruction 2010.
  • the computer program/instruction 2010 is stored in the computer program product 2000.
  • Directive 2010 any method step in the above method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

La présente demande se rapporte au domaine technique des communications, et divulgue un procédé et un appareil d'interconnexion de dispositif, un dispositif électronique et un support d'enregistrement. Le procédé comprend les étapes suivantes : lorsqu'un dispositif de commande obtient une demande d'interconnexion pour demander de connecter un premier dispositif et un second dispositif, en réponse à la demande d'interconnexion, lorsqu'un protocole privé cible est configuré entre le dispositif de commande et le premier dispositif, le dispositif de commande envoie au premier dispositif une instruction de connexion directionnelle définie par le protocole privé cible, l'instruction de connexion directionnelle comprenant des informations de réseau du second dispositif ; après réception de l'instruction de connexion directionnelle, le premier dispositif établit une connexion de communication avec le second dispositif sur la base des informations de réseau ; lorsqu'aucun protocole privé cible n'est configuré entre le dispositif de commande et le premier dispositif, le dispositif de commande établit des connexions de communication à la fois avec le premier dispositif et le second dispositif, de sorte que des données de communication entre le premier dispositif et le second dispositif soient transférées au moyen du dispositif de commande. Par conséquent, le dispositif de commande commande la communication entre le premier dispositif et le second dispositif, de sorte à pouvoir économiser les opérations d'un utilisateur sur les deux dispositifs qui doivent être interconnectés, ce qui permet d'améliorer l'efficacité d'interaction.
PCT/CN2022/141249 2022-04-20 2022-12-23 Procédé et appareil d'interconnexion de dispositif, dispositif électronique et support d'enregistrement WO2023202131A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210419827.0 2022-04-20
CN202210419827.0A CN114916091A (zh) 2022-04-20 2022-04-20 设备互联方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023202131A1 true WO2023202131A1 (fr) 2023-10-26

Family

ID=82764791

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141249 WO2023202131A1 (fr) 2022-04-20 2022-12-23 Procédé et appareil d'interconnexion de dispositif, dispositif électronique et support d'enregistrement

Country Status (2)

Country Link
CN (1) CN114916091A (fr)
WO (1) WO2023202131A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114916091A (zh) * 2022-04-20 2022-08-16 Oppo广东移动通信有限公司 设备互联方法、装置、电子设备及存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430760A (zh) * 2015-10-30 2016-03-23 上海摩软通讯技术有限公司 设备之间的连接方法及系统
CN106686541A (zh) * 2017-03-22 2017-05-17 北京小米移动软件有限公司 蓝牙中继方法及装置
CN107517438A (zh) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 蓝牙电子设备及其分享方法
US20180317271A1 (en) * 2017-04-27 2018-11-01 Abb Schweiz Ag Local connection establishment
CN110753334A (zh) * 2019-10-25 2020-02-04 华为技术有限公司 蓝牙通信方法和具有蓝牙通信功能的装置及设备
CN112532607A (zh) * 2020-11-23 2021-03-19 杭州涂鸦信息技术有限公司 智能设备通信方法、系统、计算机设备和可读存储介质
CN113301537A (zh) * 2021-05-19 2021-08-24 闪耀现实(无锡)科技有限公司 用于建立通信连接的方法、装置、电子设备以及存储介质
WO2022068539A1 (fr) * 2020-09-30 2022-04-07 华为技术有限公司 Procédé et système d'établissement de connexion de communication, dispositif électronique et support de stockage
CN114916091A (zh) * 2022-04-20 2022-08-16 Oppo广东移动通信有限公司 设备互联方法、装置、电子设备及存储介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430760A (zh) * 2015-10-30 2016-03-23 上海摩软通讯技术有限公司 设备之间的连接方法及系统
CN106686541A (zh) * 2017-03-22 2017-05-17 北京小米移动软件有限公司 蓝牙中继方法及装置
US20180317271A1 (en) * 2017-04-27 2018-11-01 Abb Schweiz Ag Local connection establishment
CN107517438A (zh) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 蓝牙电子设备及其分享方法
CN110753334A (zh) * 2019-10-25 2020-02-04 华为技术有限公司 蓝牙通信方法和具有蓝牙通信功能的装置及设备
WO2022068539A1 (fr) * 2020-09-30 2022-04-07 华为技术有限公司 Procédé et système d'établissement de connexion de communication, dispositif électronique et support de stockage
CN112532607A (zh) * 2020-11-23 2021-03-19 杭州涂鸦信息技术有限公司 智能设备通信方法、系统、计算机设备和可读存储介质
CN113301537A (zh) * 2021-05-19 2021-08-24 闪耀现实(无锡)科技有限公司 用于建立通信连接的方法、装置、电子设备以及存储介质
CN114916091A (zh) * 2022-04-20 2022-08-16 Oppo广东移动通信有限公司 设备互联方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN114916091A (zh) 2022-08-16

Similar Documents

Publication Publication Date Title
US10154529B2 (en) Method and apparatus for connecting peripheral devices
TWI619387B (zh) 符合hdmi-cec規格的遙控方法與系統
CN108184164B (zh) 音频播放方法、智能电视及计算机可读存储介质
WO2020223854A1 (fr) Procédé et appareil de configuration de réseau de dispositifs, dispositif électronique et support d'informations
EP2804393B1 (fr) Procédé de télécommande, terminal intelligent et système de télécommande intelligent
CN110113739B (zh) 信息处理方法及电子设备
WO2019015427A1 (fr) Procédé et dispositif de transmission de données, terminal et support de stockage lisible par ordinateur
CN107332976B (zh) K歌方法、装置、设备及系统
CN105072482A (zh) 一种多媒体播放设备的播放控制方法及装置
US9514641B2 (en) Smart remote control
WO2015058506A1 (fr) Procédé, appareil et système d'interaction multi-écrans
CN110121902A (zh) 一种通信建立的方法及终端
US20140181335A1 (en) Method and system for communication between devices
US20170047066A1 (en) Voice recognition method, device, and system, and computer storage medium
CN103856374A (zh) 一种数据传输方法、终端及家庭互联系统
WO2023202131A1 (fr) Procédé et appareil d'interconnexion de dispositif, dispositif électronique et support d'enregistrement
KR20180100371A (ko) 데이터 전송 방법 및 디바이스
WO2019015429A1 (fr) Procédé de transmission de données, dispositif, terminal, et support de stockage lisible par ordinateur
CN111970676B (zh) WiFi热点接入方法、装置、设备及存储介质
WO2024082906A1 (fr) Procédé et appareil d'acquisition d'informations, dispositif bluetooth, dispositif terminal et support de stockage
WO2024055738A1 (fr) Procédé et appareil de partage de données audio, ainsi que dispositif électronique et support de stockage
US11482095B2 (en) Wireless control method, system, and apparatus for determining the state of a power switch
WO2023024628A1 (fr) Dispositif d'affichage et procédé de configuration de navigation de démarrage
CN115883572A (zh) 外设共享方法及装置
CN115914704A (zh) 一种蓝牙主设备、蓝牙从设备和音量控制方法

Legal Events

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

Ref document number: 22938349

Country of ref document: EP

Kind code of ref document: A1