Interconnection management method and device of equipment and electronic equipment

Through the terminal device, the interconnection of DUT, mobile phone and headphones is managed, and the problem of manual dispersed operation in the prior art is solved, and the effect of simplifying operation and improving efficiency is achieved.

CN119835799APending Publication Date: 2025-04-15YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510110926.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, the interconnection management of DUT, mobile phone and headphones requires manual dispersed operation on three devices, which is inefficient and cumbersome.

Method used

Through the terminal device, the user only needs to operate on the terminal device, and the terminal device sends instructions to the first device, receives device information, builds an instance, and establishes a connection with the second device based on the instance.

Benefits of technology

It simplifies user operations and improves the efficiency of interconnection management. Users do not need to operate dispersedly on multiple devices, making the operation simple and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835799A_ABST
    Figure CN119835799A_ABST
Patent Text Reader

Abstract

The invention provides an interconnection management method and device of equipment and electronic equipment, applied to terminal equipment, the terminal equipment is connected with first equipment, the method comprises the following steps: sending a first instruction to the first equipment, and receiving equipment information of second equipment sent by the first equipment based on the first instruction; constructing an instance based on the device information of the second device; wherein the sub-equipment of the terminal equipment in the instance comprises the first equipment, and the terminal equipment regards the second equipment as the sub-equipment of the first equipment, namely, the sub-equipment of the first equipment in the instance comprises the second equipment; sending a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; a connection is established with the second device based on the instance. In the mode, interconnection management of the multiple devices is carried out through the terminal device, a user only needs to carry out operation on the terminal device and does not need to carry out dispersed operation on the multiple devices, the operation is simple, and the efficiency of interconnection management can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for managing interconnection of devices, and an electronic device. Background Art

[0002] At present, in some scenarios, the DUT (call host), mobile phone, and headset need to be interconnected in pairs before use. The interconnection management involved is as follows: (1) Establishing interconnection: Let the three devices establish connections in pairs. (2) Disconnecting interconnection: At least one connection is disconnected, breaking the interconnection. (3) Changing interconnection: If a device is connected to a new device, the new device joins the new interconnection and the old device exits the interconnection. For example, if the headset is connected to a new mobile phone, the DUT follows and connects to the same mobile phone.

[0003] In the prior art, it is necessary to manually manage connections on the DUT, mobile phone, and headset, that is, to scan, pair, connect, or disconnect one by one as needed to achieve management. This requires decentralized operations on the three devices, which is inefficient and extremely cumbersome. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a device interconnection management method, device and electronic device, so as to perform interconnection management of multiple devices through a terminal device. The user only needs to operate on the terminal device, and there is no need to disperse the operation on multiple devices. The operation is simple and the efficiency of interconnection management can be improved.

[0005] In a first aspect, an embodiment of the present invention provides a method for managing the interconnection of devices, which is applied to a terminal device, and the terminal device is connected to a first device. The method includes: sending a first instruction to the first device, and receiving device information of a second device sent by the first device based on the first instruction; building an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-devices of the first device in the instance include the second device; sending a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; and establishing a connection with the second device based on the instance.

[0006] In an optional embodiment of the present application, the above-mentioned step of establishing a connection with the second device based on an instance includes: receiving a connection result between the first device and the second device sent by the first device; if the connection result indicates that the connection between the first device and the second device is successfully established, establishing a connection with the second device based on the instance.

[0007] In an optional embodiment of the present application, after the above-mentioned step of establishing a connection with the second device based on an instance, the method also includes at least one of the following: sending a third instruction to the first device based on the instance so that the first device disconnects from the second device based on the third instruction; disconnecting from the first device based on the instance; disconnecting from the second device based on the instance.

[0008] In an optional embodiment of the present application, after the above-mentioned step of sending the third instruction to the first device based on the instance, the method further includes: receiving a disconnection result between the first device and the second device sent by the first device.

[0009] In an optional embodiment of the present application, after the above-mentioned step of establishing a connection with the second device based on an instance, the method also includes: receiving a fourth instruction sent by the first device; wherein the fourth instruction indicates that the first device is disconnected from the second device and the first device is connected to a third device; disconnecting from the second device based on the instance; receiving device information of the third device sent by the first device, and updating the instance based on the device information of the third device; and establishing a connection with the third device based on the instance.

[0010] In an optional embodiment of the present application, the above-mentioned device information includes a device type and a media access control address.

[0011] In an optional embodiment of the present application, the connection method between the above-mentioned terminal device and the first device, the connection method between the terminal device and the second device, and the connection method between the first device and the second device all include wireless connection and wired connection.

[0012] In an optional embodiment of the present application, the above-mentioned wireless connection includes a Bluetooth connection, the first device is a headset, the second device is a mobile phone, and the terminal device is a base of the headset.

[0013] In a second aspect, an embodiment of the present invention further provides an interconnection management device for a device, which is applied to a terminal device, and the terminal device is connected to a first device. The device includes: a device information acquisition module, which is used to send a first instruction to the first device, and receive device information of a second device sent by the first device based on the first instruction; a device instance construction module, which is used to construct an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-devices of the first device in the instance include the second device; a second instruction sending module, which is used to send a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; and a second device connection module, which is used to establish a connection with the second device based on the instance.

[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the interconnection management method of the above-mentioned device.

[0015] The embodiments of the present invention bring the following beneficial effects:

[0016] The embodiments of the present invention provide a method, apparatus and electronic device for managing the interconnection of devices. The terminal device sends a first instruction to a first device, and receives device information of a second device sent by the first device based on the first instruction. The terminal device builds an instance based on the device information of the second device. The sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-devices of the first device in the instance include the second device. The terminal device sends a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction. The terminal device establishes a connection with the second device based on the instance. In this way, the interconnection management of multiple devices is performed through the terminal device. The user only needs to operate on the terminal device, and there is no need to disperse the operation on multiple devices. The operation is simple and the efficiency of interconnection management can be improved.

[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A schematic diagram of a method for interconnection management of devices in the prior art provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a method for interconnection management of devices provided by an embodiment of the present invention;

[0022] Figure 3 A flowchart of a method for interconnection management of devices provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of an example provided for an embodiment of the present invention;

[0024] Figure 5 A flowchart of another device interconnection management method provided by an embodiment of the present invention;

[0025] Figure 6 A schematic diagram of another method for managing interconnection of devices provided by an embodiment of the present invention;

[0026] Figure 7 A schematic diagram of the structure of an interconnection management device for devices provided in an embodiment of the present invention;

[0027] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] Currently, see Figure 1 As shown is a schematic diagram of a method for interconnecting devices in the prior art, a user needs to manually manage connections on the DUT, mobile phone, and headset, that is, to scan, pair, connect, or disconnect one by one as needed to achieve management, and operations need to be dispersed on three devices, which is inefficient and extremely cumbersome.

[0030] Based on this, an embodiment of the present invention provides a method, device and electronic device for managing the interconnection of devices, which specifically provides a method for simple three-party interconnection management of devices. The interconnection management of multiple devices is performed through a terminal device. The user only needs to operate on the terminal device, and there is no need to disperse the operation on multiple devices. The operation is simple and the efficiency of interconnection management can be improved.

[0031] To facilitate understanding of this embodiment, a method for managing interconnection of devices disclosed in an embodiment of the present invention is first introduced in detail.

[0032] Embodiment 1:

[0033] The embodiment of the present invention provides a method for managing interconnection of devices, which is applied to terminal devices. Figure 2A schematic diagram of a method for interconnection management of devices is shown. A user can manage the interconnection management of three devices (i.e., the terminal device, the first device, and the second device) on the terminal device. The connection between the terminal device and the first device is manually initiated from the terminal device, and there is no difference between the two. In this embodiment, it is assumed that the terminal device and the first device are connected.

[0034] Based on the above description, see Figure 3 The flowchart of a method for interconnection management of a device is shown, and the method for interconnection management of a device comprises the following steps:

[0035] Step S302: Send a first instruction to the first device, and receive device information of the second device sent by the first device based on the first instruction.

[0036] In this embodiment, sub-device abstraction and management can be performed first. Sub-device abstraction can refer to abstracting a device associated with a first device as a sub-device of the first device. For example, taking the terminal device as DUT, the first device as a headset, and the second device as a mobile phone as an example, the device associated with the headset can be abstracted as a sub-device of the headset. The DUT can be a headset base, a phone, etc., and the first device and the second device can be a headset, a mobile phone, a computer, a tablet, etc.

[0037] The terminal device can send a first instruction to the first device, and the first device sends the device information of the second device to the terminal device based on the first instruction. For example, the DUT obtains the device information of the mobile phone associated with the headset through the custom instruction 1.

[0038] Step S304, constructing an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-device of the first device in the instance includes the second device.

[0039] The terminal device can construct an instance based on the device information of the second device, that is, construct a sub-device: the terminal device can construct sub-device instances one by one according to the device information obtained from the second device.

[0040] See also Figure 4 In the schematic diagram of an example shown, the sub-devices of the terminal device can be displayed on the first-level page, including the first device; the sub-devices of the first device can be displayed on the second-level page, including the second device. The terminal device is the DUT, and the sub-devices of the DUT can be displayed on the first-level page as the mobile phone and the headset (here the mobile phone and the headset are the first device), and the sub-device of the headset can be displayed on the second-level page as the headset (here the headset is the second device).

[0041] In addition, the management of sub-devices in this embodiment is not limited to connecting and disconnecting, but can also include operations such as deleting sub-devices; the number of sub-devices is not limited; the concept of sub-devices is not only applicable to headphones, but also to mobile phones, computers, tablets and other devices.

[0042] Therefore, this embodiment can also add and delete sub-devices. For example, all sub-devices under the headset are presented on the DUT, and the DUT can operate the connection and disconnection of the sub-devices by sending custom instructions 2 and custom instructions 3 to the headset respectively. If the headset has a device to delete, it will notify the DUT through custom instruction 4, and the DUT deletes the sub-device.

[0043] Step S306: Send a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction.

[0044] In this embodiment, the terminal device can be used as an interconnection management center, and operations for directly connecting the terminal device to the first device and the second device are provided on the first-level page of the instance, and device operations associated with the first device connected to the terminal device are provided on the second-level page of the instance.

[0045] like Figure 4 As shown, the user can perform operations on the second page of the instance, the terminal device can send a second instruction to the first device based on the user's operation, and the first device can establish a connection with the second device in the second page according to the second instruction.

[0046] Step S308: Establish a connection with the second device based on the instance.

[0047] like Figure 4 As shown, the user can perform operations on the first page of the instance, and the terminal device can establish a connection with the second device in the first page based on the user's operations.

[0048] The embodiment of the present invention provides a method for interconnection management of devices, wherein a terminal device sends a first instruction to a first device, and receives device information of a second device sent by the first device based on the first instruction; the terminal device builds an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-devices of the first device in the instance include the second device; the terminal device sends a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; the terminal device establishes a connection with the second device based on the instance. In this method, the interconnection management of multiple devices is performed through the terminal device, and the user only needs to operate on the terminal device, and there is no need to disperse the operation on multiple devices. The operation is simple and the efficiency of interconnection management can be improved.

[0049] Embodiment 2:

[0050] This embodiment provides another method for managing interconnection of devices. This method is implemented on the basis of the above embodiment. Figure 5 A flowchart of another device interconnection management method is shown, and the device interconnection management method includes the following steps:

[0051] Step S502: Send a first instruction to the first device, and receive device information of the second device sent by the first device based on the first instruction.

[0052] In some embodiments, the connection mode between the terminal device and the first device, the connection mode between the terminal device and the second device, and the connection mode between the first device and the second device all include wireless connection and wired connection.

[0053] In this embodiment, there is no limitation on the connection method between the terminal device and the first device, the connection method between the terminal device and the second device, and the connection method between the first device and the second device. The above connection methods can all be wireless connections or wired connections, and the above terminal devices, first devices, and second devices can all be devices that can be wirelessly connected or wired connected.

[0054] The wireless connection includes a Bluetooth connection, which is a radio technology that supports short-range communication between devices and can exchange wireless information between peripherals such as mobile phones, wireless headphones, and laptops. For Bluetooth connection, the device type of the Bluetooth connection is not limited in this embodiment, and can be: a mobile phone, a headset, a computer, a tablet computer, or other devices.

[0055] Preferably, the first device is a headset, the second device is a mobile phone, and the terminal device is a base of the headset.

[0056] This embodiment does not limit the transmission method of custom commands between the DUT and the headset, and can be transmitted through protocols such as HFP (Hands-free Profile), AVRCP (Audio / Video Remote Control Profile), SPP (Serial Port Profile), BLE (Bluetooth Low Energy, ultra-low power application Bluetooth protocol), etc.

[0057] Among them, HFP is a protocol that allows Bluetooth devices to control phone calls, such as answering, hanging up, rejecting, voice dialing, etc.; SPP is a protocol that can create a virtual serial port between Bluetooth devices for data transmission; AVRCP is mainly used for Bluetooth control of media audio and video playback; BLE is a low-power Bluetooth technology.

[0058] Step S504, constructing an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-device of the first device in the instance includes the second device.

[0059] Step S506: Send a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction.

[0060] In this embodiment, the first device is a headset, the second device is a mobile phone, and the terminal device is a DUT, which will not be described in detail hereinafter.

[0061] In some embodiments, the device information includes a device type and a media access control address (MAC).

[0062] See also Figure 6 A schematic diagram of another device interconnection management method is shown, for establishing device interconnection: the DUT has been paired and connected to the headset, the mobile phone is scanned from the DUT, and after the user selects the mobile phone from the second page, the device information including the mobile phone MAC address and device type can be obtained and passed to the headset through custom instruction 2 (i.e., the second instruction).

[0063] Step S508, receiving a connection result between the first device and the second device sent by the first device; if the connection result indicates that the first device and the second device are successfully connected, establishing a connection with the second device based on the instance.

[0064] like Figure 6 As shown, the headset parses the custom instruction 2 and directly pairs with the mobile phone. The mobile phone pops up a box to confirm the pairing. After the pairing connection is completed, the DUT is notified of the change in the headset paired device through the custom instruction 3, and the DUT creates a headset sub-device. At the same time, the headset notifies the DUT of the connection result through the custom instruction 4. After the DUT determines that the mobile phone and the headset are paired and connected, it actively pairs and connects to the mobile phone. The mobile phone pops up a box to confirm the pairing, and the three devices of DUT, mobile phone, and headset are interconnected. In addition, the secondary sub-page of the DUT headset displays the device information of the headset pairing.

[0065] In some embodiments, the above method also includes at least one of the following: sending a third instruction to the first device based on an instance so that the first device disconnects from the second device based on the third instruction; disconnecting from the first device based on an instance; disconnecting from the second device based on an instance.

[0066] like Figure 6 As shown in the figure, under the premise that the three devices are interconnected, you can also disconnect them:

[0067] 1. The user can disconnect the sub-device on the secondary page of the DUT headset, and the DUT will send a custom instruction 5 (i.e., the third instruction) to notify the headset to disconnect from the mobile phone. The device executes the custom instruction 5 and returns the disconnection result through the custom instruction 4, that is, the terminal device can also receive the disconnection result between the first device and the second device sent by the first device. In addition, after the disconnection, the DUT can also connect the sub-device on the secondary page of the headset.

[0068] 2. The user can disconnect the mobile phone on the DUT mobile phone page, and the DUT will be disconnected from the mobile phone locally.

[0069] 3. The user can disconnect the headphones on the DUT headphone page, and the DUT will be disconnected from the headphones locally.

[0070] In some embodiments, the above method also includes: receiving a fourth instruction sent by the first device; wherein the fourth instruction indicates that the first device is disconnected from the second device and the first device is connected to the third device; disconnecting from the second device based on the instance; receiving device information of the third device sent by the first device, and updating the instance based on the device information of the third device; and establishing a connection with the third device based on the instance.

[0071] like Figure 6 As shown, under the premise that the three devices are interconnected, the interconnection can also be changed: the three devices are interconnected in pairs, mobile phone 1 is disconnected from the headset, and mobile phone 2 is paired and connected to the headset. The headset will notify the DUT through custom instruction 4 (i.e., the fourth instruction) that the headset is connected to a new device (i.e., mobile phone 2). The DUT automatically disconnects mobile phone 1, determines the MAC action and device type of mobile phone 2 based on the device information of mobile phone 2 notified by the headset, automatically pairs and connects to mobile phone 2, and the new three-device interconnection is completed. In addition, if the DUT is connected to a new mobile phone, it can also be migrated to a new interconnection.

[0072] In the above method provided by the embodiment of the present invention, the DUT can interact with the headset through custom instructions, and the headset performs pairing connection and disconnection actions according to the instructions, and the headset connection status change will be synchronized to the DUT. The DUT acts as a connection management center, and treats the headset's connection device as a sub-device of the headset. The three-device connection management is simplified to the DUT's management of its own connected mobile phone, headset, and headset sub-device. Therefore, in this embodiment, by introducing custom instruction interaction between the DUT and the headset, the three-device connection can be centrally managed on the DUT, which greatly simplifies user operations.

[0073] Embodiment three:

[0074] Corresponding to the above method embodiment, the embodiment of the present invention provides a device interconnection management device, which is applied to a terminal device, the terminal device is connected to a first device, see Figure 7A schematic diagram of the structure of an interconnection management device of a device is shown, and the interconnection management device of the device includes:

[0075] The device information acquisition module 71 is used to send a first instruction to the first device and receive device information of the second device sent by the first device based on the first instruction;

[0076] A device instance building module 72, configured to build an instance based on the device information of the second device; wherein the sub-device of the terminal device in the instance includes the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-device of the first device in the instance includes the second device;

[0077] A second instruction sending module 73, configured to send a second instruction to the first device based on an instance, so that the first device establishes a connection with the second device based on the second instruction;

[0078] The second device connection module 74 is used to establish a connection with a second device based on an instance.

[0079] The embodiment of the present invention provides a device for interconnection management of devices, wherein a terminal device sends a first instruction to a first device, and receives device information of a second device sent by the first device based on the first instruction; the terminal device builds an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-devices of the first device in the instance include the second device; the terminal device sends a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; the terminal device establishes a connection with the second device based on the instance. In this method, the interconnection management of multiple devices is performed through the terminal device, and the user only needs to operate on the terminal device, and there is no need to disperse the operation on multiple devices. The operation is simple and the efficiency of interconnection management can be improved.

[0080] The second device connection module is configured to receive a connection result between the first device and the second device sent by the first device; if the connection result indicates that the first device and the second device are successfully connected, establish a connection with the second device based on an instance.

[0081] The above-mentioned device also includes: a device disconnection interconnection module, which is used for at least one of the following: sending a third instruction to the first device based on an instance so that the first device is disconnected from the second device based on the third instruction; disconnecting from the first device based on an instance; disconnecting from the second device based on an instance.

[0082] The device disconnection interconnection module is further used to receive a disconnection result between the first device and the second device sent by the first device.

[0083] The above-mentioned device also includes: a device change interconnection module, which is used to receive a fourth instruction sent by the first device; wherein the fourth instruction indicates that the first device is disconnected from the second device and the first device is connected to the third device; disconnected from the second device based on the instance; receive device information of the third device sent by the first device, update the instance based on the device information of the third device; and establish a connection with the third device based on the instance.

[0084] The device information includes a device type and a media access control address.

[0085] The above-mentioned connection mode between the terminal device and the first device, the connection mode between the terminal device and the second device, and the connection mode between the first device and the second device all include wireless connection and wired connection.

[0086] The above wireless connection includes a Bluetooth connection, the first device is a headset, the second device is a mobile phone, and the terminal device is a base of the headset.

[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the interconnection management system of the devices described above can refer to the corresponding process in the embodiment of the aforementioned device interconnection management method, and will not be repeated here.

[0088] Embodiment 4:

[0089] The embodiment of the present invention also provides an electronic device for running the interconnection management method of the above device; see Figure 8 A structural diagram of an electronic device is shown, the electronic device includes a memory 100 and a processor 101, wherein the memory 100 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the interconnection management method of the above-mentioned device.

[0090] Further, Figure 8 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .

[0091] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0092] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.

[0093] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the interconnection management method of the above-mentioned device. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0094] The device interconnection management method, apparatus and computer program product of the electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method in the previous method embodiment. The specific implementation can be referred to the method embodiment, which will not be repeated here.

[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0096] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0097] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0098] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0099] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for interconnection management of devices, characterized in that: Applied to a terminal device, the terminal device is connected to a first device, and the method includes: Sending a first instruction to the first device, and receiving device information of a second device sent by the first device based on the first instruction; Building an instance based on the device information of the second device; wherein the sub-device of the terminal device in the instance includes the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-device of the first device in the instance includes the second device; Sending a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; A connection is established with the second device based on the instance.

2. The method according to claim 1, characterized in that The step of establishing a connection with the second device based on the instance includes: receiving a connection result between the first device and the second device sent by the first device; If the connection result indicates that the first device is successfully connected to the second device, a connection is established with the second device based on the instance.

3. The method according to claim 1, characterized in that After the step of establishing a connection with the second device based on the instance, the method further includes at least one of the following: Sending a third instruction to the first device based on the instance, so that the first device is disconnected from the second device based on the third instruction; disconnecting from the first device based on the instance; Disconnecting from the second device based on the instance.

4. The method according to claim 3, characterized in that After the step of sending a third instruction to the first device based on the instance, the method further includes: Receive a disconnection result between the first device and the second device sent by the first device.

5. The method according to claim 1, characterized in that After the step of establishing a connection with the second device based on the instance, the method further includes: receiving a fourth instruction sent by the first device; wherein the fourth instruction indicates that the first device is disconnected from the second device and the first device is connected to a third device; disconnecting from the second device based on the instance; receiving device information of the third device sent by the first device, and updating the instance based on the device information of the third device; A connection is established with the third device based on the instance.

6. The method according to any one of claims 1 to 5, characterized in that: The device information includes a device type and a media access control address.

7. The method according to any one of claims 1 to 5, characterized in that: The connection mode between the terminal device and the first device, the connection mode between the terminal device and the second device, and the connection mode between the first device and the second device all include wireless connection and wired connection.

8. The method according to claim 7, characterized in that The wireless connection includes a Bluetooth connection, the first device is a headset, the second device is a mobile phone, and the terminal device is a base of the headset.

9. An interconnection management device for equipment, characterized in that: Applied to a terminal device, the terminal device is connected to a first device, and the apparatus comprises: a device information acquisition module, configured to send a first instruction to the first device, and receive device information of a second device sent by the first device based on the first instruction; a device instance construction module, configured to construct an instance based on the device information of the second device; wherein the sub-devices of the terminal device in the instance include the first device, and the terminal device regards the second device as a sub-device of the first device, that is, the sub-devices of the first device in the instance include the second device; A second instruction sending module, configured to send a second instruction to the first device based on the instance, so that the first device establishes a connection with the second device based on the second instruction; The second device connection module is used to establish a connection with the second device based on the instance.

10. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the interconnection management method of the devices described in any one of claims 1 to 8.