First electronic equipment and second electronic equipment
By designing the first and second electronic devices that support multiple communication methods, the complex connection of the dock is solved, and stable interoperability and expansion functions are realized in multi-device scenarios, meeting the usage needs of multiple users.
Patent Information
- Application Number
- CN202510400365.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-18
AI Technical Summary
The connection methods of the existing docks are complex, which makes the devices unable to connect effectively, affecting the usage effect. Especially in the multi-device conference room scenario, it is difficult to meet the expansion needs of multiple users.
A first electronic device and a second electronic device are designed to connect through a variety of communication methods, including wired and wireless protocols, to realize the interaction between virtual device information and physical device information, to support the identification and adaptation of multiple extended devices, to have device registration and event management functions, and to negotiate communication protocols to ensure stable connections.
It realizes device interoperability under multiple connection methods, expands the device usage function, meets the expansion needs of multiple users, and improves the usage effect and stability of the expansion dock.
Smart Images

Figure CN120336233A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of device expansion and interaction, and particularly relates to a first electronic device and a second electronic device. Background Art
[0002] An electronic device with expansion capabilities (such as a docking station) can be used to expand the functions of a terminal. For example, during a meeting, the display content of the terminal can be displayed on a shared display through the docking station. Currently, the docking station is used in a wired mode and can only be exclusively used by the terminal of a single user. However, as the number of meeting room scenarios increases and the number of various devices in the meeting room also increases (such as large screens, presentation pens, speakers, cameras, etc.), the connection method of the docking station is complex or the terminal cannot establish an effective connection with the device, resulting in a decline in the usage effect of the docking station. Summary of the Invention
[0003] Embodiments of this application provide a first electronic device and a second electronic device. The first electronic device includes:
[0004] A first communication interface, configured to connect to an expansion device to transmit and interact with the expansion device;
[0005] A first communication unit module, including multiple communication units, enabling the first electronic device to communicate and connect with the second electronic device in different communication manners. In different communication manners, different communication units are in a working state;
[0006] A first processing unit, configured to:
[0007] In response to the first electronic device being connected to the second electronic device through a first communication manner, generate virtual device information corresponding to the interaction signal, and output the interaction signal and the virtual device information to the second electronic device based on the first communication manner;
[0008] In response to the first electronic device being connected to the second electronic device through a second communication manner, obtain physical device information corresponding to the interaction signal, and output the interaction signal and the physical device information to the second electronic device based on the second communication manner.
[0009] Optionally, when the expansion device is a display device and an input signal output by an input device is obtained through the display device, the first processing unit is further configured to:
[0010] In response to the first electronic device being connected to the second electronic device through a first communication manner, generate virtual device information corresponding to the input signal, and output the input signal and the virtual device information to the second electronic device based on the first communication manner;
[0011] In response to the connection of the first electronic device to the second electronic device via the second communication method, device information corresponding to the input signal is obtained, and the input signal and the device information are output to the second electronic device based on the second communication method.
[0012] Optionally, the first processing unit is further configured to: obtain the device information of the expansion device, virtualize a virtual device corresponding to the expansion device based on the device information, and generate virtual device information corresponding to the virtual device.
[0013] Optionally, the first communication unit module includes:
[0014] A first communication unit, which is connected to the second electronic device via a wired connection protocol, so that the first electronic device is wired-connected to the second electronic device;
[0015] A second communication unit, which is connected to the second electronic device via a wireless connection protocol, so that the first electronic device is wirelessly connected to the second electronic device, where the wireless connection protocol includes one or more.
[0016] Optionally, the second communication unit has a receiving-end program, and the second electronic device has a transmitting-end program;
[0017] The second communication unit is further configured to perform a pairing operation with the transmitting-end program through the receiving-end program before establishing a communication connection with the second electronic device, including performing a pairing operation with the transmitting-end program by cycling through various wireless communication pairing methods.
[0018] Optionally, the first processing unit has an interception program, and the interception program is used to intercept the control event of the first expansion device controlling the second expansion device or the terminal, take over the device registration and event management of the first expansion device, and synchronously send the device registration and event management of the first expansion device to the first processing unit and the second electronic device.
[0019] Optionally, the first electronic device further includes a first communication negotiation module,
[0020] The first communication negotiation module is used to perform a first negotiation and / or a second negotiation with the second communication negotiation module in the second electronic device. The first negotiation is used to determine the communication protocol for data transmission between the first electronic device and the second electronic device, and the second negotiation is used to determine the connection status of each second electronic device with its corresponding terminal.
[0021] Optionally, the first communication unit module is further configured to receive a connection request sent by the second electronic device, disconnect the connection between the first electronic device and other devices based on the connection request, and establish a connection with the second electronic device, where the connection request is used to request an immediate connection to the first electronic device.
[0022] An embodiment of the present application further provides a second electronic device, including:
[0023] A third communication interface for connecting to a data processing device;
[0024] A second communication unit module includes a plurality of communication units for communicating with the first electronic device in different communication manners, and different communication units are in a working state in different communication manners;
[0025] A second processing unit obtains an interaction signal output by the first electronic device and device information corresponding to the interaction signal, and outputs the interaction signal and the device information to the data processing device through the third communication interface, where the device information includes virtual device information and physical device information.
[0026] Optionally, the second processing unit is further configured to obtain an input signal output by the first electronic device and the corresponding virtual device information, and transmit them to the data processing device;
[0027] The second electronic device further includes:
[0028] A fourth communication interface for connecting to an expansion device so that the expansion device can interact with the data processing device.
[0029] The first electronic device in the embodiment of the present application can be connected to the second electronic device through multiple connection methods, so that the expansion device can interact with the second electronic device or a terminal connected to the second electronic device through multiple connection methods. This not only enables the terminal to use the expansion device, but also enables the expansion device to operate on the terminal or other expansion devices, expanding the usage functions of related devices and meeting various user needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic structural relationship diagram of the first electronic device in the embodiment of the present application;
[0031] Figure 2 It is a schematic connection relationship diagram of the first electronic device and the second electronic device in the embodiment of the present application;
[0032] Figure 3 It is a schematic structural relationship diagram of the second electronic device in the embodiment of the present application;
[0033] Figure 4 This is a schematic structural relationship diagram of the first electronic device and the second electronic device in an embodiment of the present application in a specific embodiment. Detailed implementation manners
[0034] Reference is made herein to the various solutions and features of the present application with reference to the accompanying drawings.
[0035] It should be understood that various modifications can be made to the embodiments applied herein. Therefore, the above description should not be regarded as limiting, but only as an example of the embodiments. Those skilled in the art will think of other modifications within the scope and spirit of the present application.
[0036] The accompanying drawings included in the specification and constituting a part of the specification illustrate the embodiments of the present application, and together with the general description of the present application given above and the detailed description of the embodiments given below are used to explain the principles of the present application.
[0037] These and other features of the present application will become apparent from the following description of the preferred forms of the embodiments given by way of non-limiting examples with reference to the accompanying drawings.
[0038] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present application.
[0039] When combined with the accompanying drawings, the above and other aspects, features, and advantages of the present application will become more apparent in view of the following detailed description.
[0040] Hereinafter, specific embodiments of the present application will be described with reference to the accompanying drawings; however, it should be understood that the embodiments applied are only examples of the present application, and it can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to avoid unnecessary or redundant details from obscuring the present application. Therefore, the specific structural and functional details applied herein are not intended to be limiting, but only as a basis and representative basis for the claims to teach those skilled in the art to use the present application in substantially any suitable detailed structure in a variety of ways.
[0041] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment", or "in other embodiments", which may each refer to one or more of the same or different embodiments according to the present application.
[0042] A first electronic device according to an embodiment of the present application. The first electronic device can be a device with extended functions (such as a first docking station). The first electronic device can be connected to a second electronic device and can also be connected to other extended devices. A terminal is connected to the second electronic device, and the second electronic device can also be a device with extended functions (such as a second docking station). The first electronic device and the second electronic device can cooperate with each other to enable the terminal to have extended functions. For example, the second electronic device can be a transmitting end for sending data, and the first electronic device can be a receiving end for receiving the data sent by the transmitting end, thereby realizing the corresponding extended functions.
[0043] The following describes the first electronic device of the present application in detail with reference to specific embodiments. Figure 1 It is a schematic diagram of the structural relationship of the first electronic device according to an embodiment of the present application, as Figure 1 shown and combined with Figure 2 , the first electronic device includes:
[0044] A first communication interface for connecting to an extended device to transmit and interact signals with the extended device.
[0045] Exemplarily, the first communication interface can be various types of interfaces for connecting corresponding extended devices. For example, it can be an interface set according to various types of extended devices. The extended device can be a device with certain extended functions, such as a display screen, a printing device, an input device, a playback device, a network device, etc.
[0046] The first communication interface transmits and interacts signals with the extended device and transmits the interaction signals to the first processing unit. So that the first processing unit can process the interaction signals and enable the first electronic device to control the extended device and interact with it.
[0047] In one embodiment, the extended device can be a display screen. The display screen can interact with the first electronic device through the first communication interface. The first electronic device itself or other devices connected to the first electronic device can send the display image to the display screen for display through the first communication interface. In another embodiment, the extended device can be an input device. The input device sends the interaction signal to the first processing unit through the first communication interface, so that the first processing unit can process the interaction signal and generate corresponding input instructions.
[0048] A first communication unit module includes multiple communication units, enabling the first electronic device to communicate and connect with the second electronic device in different communication methods. In different communication methods, different communication units are in a working state.
[0049] Exemplarily, the first communication unit module includes a plurality of communication units, each communication unit having its own communication characteristics, and different communication units having different communication methods. Each communication unit can be connected to the second electronic device, enabling the first electronic device to communicate with the second electronic device in different communication ways.
[0050] In one embodiment, the first communication unit module can select one of the communication units to connect to the second electronic device. The selected communication unit is in the working state, while the other unselected communication units can be in the non-working state or standby state. This enables the first electronic device to establish a stable connection with the second electronic device through the selected communication unit.
[0051] In another embodiment, according to the needs of the usage scenario, the working states of multiple communication units can be switched. For example, the connection established between the first communication unit currently in use and the second electronic device can be switched to using the second communication unit to establish a connection with the second electronic device. This causes the first communication unit to transition from the working state to the standby state, while the second communication unit can transition from the standby state to the working state.
[0052] The first processing unit is configured to: in response to the first electronic device being connected to the second electronic device via the first communication method, generate virtual device information corresponding to the interaction signal, and output the interaction signal and the virtual device information to the second electronic device based on the first communication method.
[0053] Exemplarily, the first communication method can be a communication method determined according to the needs of the usage scenario. For example, the first communication method can be a wireless communication method. An expansion device, such as an input device, a display device, etc., is connected to the first electronic device. When the first electronic device is connected to one or more second electronic devices via the first communication method, the first processing unit responds to this connection action and generates virtual device information corresponding to the interaction signal.
[0054] Wherein, the interaction signal is a signal for the expansion device to interact with the first electronic device, such as for interacting with the first electronic device, other expansion devices connected to the first electronic device, or terminals indirectly connected to the first electronic device. For example, the expansion device can interact with the terminal connected to the second electronic device through the interaction signal.
[0055] The virtual device information is the device information virtualized for the extended device. The virtual device information can be used to identify the corresponding extended device. Even when the first electronic device and the second electronic device are in a wireless connection state, related devices (including the second electronic device and the terminals connected to the second electronic device) can identify the extended device based on the virtual device information and adapt to the extended device, so as to use the extended device to implement corresponding extended functions.
[0056] The first processing unit is further configured to: in response to the connection of the first electronic device to the second electronic device through the second communication method, obtain physical device information corresponding to the interaction signal, and output the interaction signal and the device information to the second electronic device based on the second communication method.
[0057] Exemplarily, the second communication method can also be a communication method determined according to the requirements of the usage scenario. For example, the first communication method can be a wired communication method, including a communication method of establishing a communication connection based on a network cable or other connection lines. An extended device is connected to the first electronic device, and the extended device is a physical device, such as an input device, a display device, etc. When the first electronic device is connected to the second electronic device through the second communication method, the first processing unit responds to the connection action and generates physical device information corresponding to the interaction signal.
[0058] Similar to the above embodiment, the interaction signal is a signal for the extended device to interact with the first electronic device, such as for interacting with the first electronic device, other extended devices connected to the first electronic device, or terminals indirectly connected to the first electronic device. For example, the extended device can interact with the terminals connected to the second electronic device through the interaction signal.
[0059] The physical device information is the relevant entity information of the extended device, which is used to describe, identify, and adapt to the extended device. Since the first electronic device and the second electronic device can be wired-connected, the extended device can be identified and used without being virtualized as a virtual device. Specifically, the first processing unit can output the interaction signal and the physical device information to the second electronic device based on the second communication method, so that the second electronic device and the terminals connected to the second electronic device can obtain the physical device information, and identify and adapt to the extended device based on the physical device information, so as to use the extended device to implement corresponding extended functions.
[0060] The first electronic device according to the embodiment of the present application can be connected to the second electronic device through various connection methods, so that the expansion device can interact with the second electronic device or the terminal connected to the second electronic device through multiple connection methods. This not only enables the terminal to use the expansion device, but also enables the expansion device to operate on the terminal or other expansion devices, expanding the usage functions of related devices and meeting various needs of users.
[0061] In an embodiment of the present application, when the expansion device is a display device, if an input signal output by an input device is obtained through the display device, the first processing unit is further configured to:
[0062] In response to the first electronic device being connected to the second electronic device through a first communication method, generate virtual device information corresponding to the input signal, and output the input signal and the virtual device information to the second electronic device based on the first communication method;
[0063] In response to the first electronic device being connected to the second electronic device through a second communication method, obtain device information corresponding to the input signal, and output the input signal and the device information to the second electronic device based on the second communication method.
[0064] Exemplarily, in combination with Figure 2 and Figure 4 , the display device can be a device with a certain display effect, such as a large display screen in a conference room. The input device can be a mouse, a keyboard, an audio input device, etc. The input device can be connected to the display device, such as being plugged into the interface of the display device in a wired manner. After the input device performs an input operation, an input signal is formed. The input signal is sent to the first electronic device through the display device.
[0065] The first processing unit obtains the input signal. In response to the first electronic device being connected to the second electronic device through a first communication method, virtual device information corresponding to the input signal is generated. The virtual device information is device information virtualized for the expansion device and can be used to identify the corresponding expansion device. The second electronic device and the terminal connected to the second electronic device can identify the input device and adapt to the input device based on the virtual device information, so that the input device can operate on the second electronic device or the terminal connected to the second electronic device. For example, the terminal can be directly controlled to send data to the display device, or the image input from other devices into the display device can be sent to the terminal.
[0066] In addition, the device information corresponding to the input signal is the relevant entity information of the input device, which is used to describe, identify, and adapt the input device. Since the first electronic device and the second electronic device can be wired-connected, the input device can be recognized and used without being virtualized into a virtual device. Specifically, the first processing unit can output the interaction signal and the device information to the second electronic device based on the second communication method, so that the second electronic device and the terminal connected to the second electronic device can obtain the device information, and based on the device information, the input device can be recognized and adapted, so that the input device can control the terminal.
[0067] In an embodiment of the present application, the first processing unit is further configured to: obtain the device information of the expansion device, virtualize a virtual device corresponding to the expansion device based on the device information, and generate virtual device information corresponding to the virtual device.
[0068] Exemplarily, if the first electronic device and the second electronic device are wirelessly connected, the second electronic device and the terminal connected to the second electronic device cannot directly use the expansion device. Therefore, in this embodiment, the first processing unit of the first electronic device obtains the device information for expansion recognition, including actively obtaining and passively reporting the device information of the expansion device.
[0069] The device information is information for defining, describing, identifying, and adapting the expansion device. The first processing unit can virtualize the expansion recognition based on the device information to generate a virtual device, and form corresponding virtual device information, including virtualizing the service data of the expansion device. Thus, it is convenient to wirelessly send the data containing the device information to the second electronic device and the terminal, and the terminal can recognize and adapt the expansion device based on the virtual device information, so as to realize the interaction between the expansion device and the terminal.
[0070] In an embodiment of the present application, the first communication unit module further includes:
[0071] A first communication unit, connected to the second electronic device through a wired connection protocol, so that the first electronic device is wired-connected to the second electronic device;
[0072] A second communication unit, connected to the second electronic device through a wireless connection protocol, so that the first electronic device is wirelessly connected to the second electronic device, where the wireless connection protocol includes one or more.
[0073] Exemplarily, such as Figure 4As shown, the communication protocol used by the first communication unit is a wired connection protocol, such as the LAN interface protocol of a wired network connection protocol. This enables the first electronic device to be wired-connected to the second electronic device via the LAN interface protocol. The second electronic device can be the sender and send data to the first electronic device through the wired network interface.
[0074] The communication protocol used by the second communication unit is a wireless connection protocol, such as WIFI, XingShan, Bluetooth, etc. of a wireless network connection protocol. This enables the first electronic device to be wirelessly connected to the second electronic device via WIFI, XingShan, Bluetooth, etc. The second electronic device can be the sender and send data to the first electronic device wirelessly.
[0075] In an embodiment of the present application, the second communication unit has a receiver program, and the second electronic device has a transmitter program;
[0076] The second communication unit is further configured to perform a pairing operation with the transmitter program through the receiver program before establishing a communication connection with the second electronic device, including performing a pairing operation with the transmitter program by cycling through various wireless communication pairing methods.
[0077] Exemplarily, the first electronic device can be the data receiver, and the second electronic device can be the data transmitter. The receiver program of the second communication unit of the first electronic device is used to perform a pairing operation with the transmitter program set on the second electronic device. This enables the terminal to send data to the first electronic device through the second electronic device. For example, the display image sent by the terminal (such as a laptop) is sent to the first electronic device through the transmitter program of the second electronic device.
[0078] After the receiver program of the second communication unit performs a pairing operation with the transmitter program of the second electronic device and the pairing is completed, the second communication unit can receive data sent by the terminal (such as a laptop) through the second electronic device. Since the first communication interface of the first electronic device can be connected to an expansion device, the first electronic device can then send this data to the expansion device through the first communication interface. For example, the display image is displayed on a large display screen.
[0079] In an embodiment, the first electronic device and the second electronic device can set the LAN mode as the default mode. When the first electronic device and the second electronic device are connected to a network cable, the first electronic device and the second electronic device automatically enter the LAN mode. When there is no device connected to the LAN interface of the first electronic device and the second electronic device, the first electronic device enters a loop pairing mode, that is, the receiver program cycles through various wireless communication pairing methods to perform a pairing operation with the transmitter program.
[0080] For example, the pairing status of the WiFi mode and the SparkLink mode is set to switch states in sequence at a preset time interval (such as 3 s). When the second electronic device confirms the wireless connection mode, the second electronic device sends the pairing information of the corresponding mode, and the first electronic device then performs pairing. After pairing, it can be connected and used.
[0081] In an embodiment of the present application, the first processing unit has an interception program, and the interception program is used to intercept control events in which the first expansion device controls the second expansion device or the terminal, take over the device registration and event management of the first expansion device, and synchronously send the device registration and event management of the first expansion device to the first processing unit and the second electronic device.
[0082] Exemplarily, the first processing unit of the first electronic device has an interception program, which can be used to intercept the interaction information of the expansion device, so as to process the interaction information and make the first electronic device and the second electronic device adapt to the expansion device, avoiding the random control of other devices by the expansion device or other logical errors.
[0083] Specifically, after the first expansion device sends a control event, the interception program is used to intercept the control event in which the first expansion device controls the second expansion device or the terminal. The interception program takes over the device registration and event management of the first expansion device. Device registration is used to register the first expansion device for identification and use of the first expansion device. Event management can be to manage specific manipulation content, such as the management of input events of a mouse and a keyboard. The interception program synchronously sends the device registration and event management of the first expansion device to the first processing unit and the second electronic device, so that the first electronic device, the second electronic device, and the terminal connected to the second electronic device can all register and manage the first expansion device based on the device registration and event management.
[0084] In an embodiment of the present application, the first electronic device further includes a first communication negotiation module, and the first communication negotiation module is used to perform a first negotiation and / or a second negotiation with a second communication negotiation module in the second electronic device. The first negotiation is used to determine the communication protocol for data transmission between the first electronic device and the second electronic device, and the second negotiation is used to determine the connection status of each second electronic device with its corresponding terminal.
[0085] Exemplarily, the first communication negotiation module is used to perform communication negotiation with the second electronic device for the first electronic device and the second electronic device. For example, the first communication negotiation module can be a Bluetooth low energy module (BLE module) in the first electronic device, also a Bluetooth smart module, and the Bluetooth low energy module integrates a Bluetooth chip and a peripheral hardware circuit on a printed circuit board (PCB) and is connected to a microcontroller unit (MCU). The Bluetooth low energy module in the first electronic device performs a first negotiation and / or a second negotiation with the Bluetooth low energy module in the second electronic device.
[0086] On the one hand, the first negotiation is used to determine the communication protocol for data transmission between the first electronic device and the second electronic device, such as using the Bluetooth transmission protocol for communication, so that the first electronic device can use the negotiated communication protocol to transmit data with the second electronic device.
[0087] On the other hand, the second negotiation is used to determine the connection status of each second electronic device with the corresponding terminal. Specifically, there may be multiple second electronic devices connected to the first electronic device, and each second electronic device may be connected to a terminal. The first communication negotiation module on the first electronic device negotiates with the second communication negotiation module to determine the connection status of the terminal with the corresponding second electronic device, so that the first electronic device can obtain the connection status to interact with the terminal or stop interacting.
[0088] In one embodiment of the present application, the first communication unit module is further used to receive a connection request sent by the second electronic device, and based on the connection request, disconnect the first electronic device from other devices and establish a connection with the second electronic device, wherein the connection request is used to request an immediate connection to the first electronic device.
[0089] Exemplarily, multiple second electronic devices can compete to connect to the first electronic device, thereby using the expansion device. The second electronic device sends a connection request to the first electronic device, and the first communication unit of the first electronic device receives the connection request and responds to the connection request, disconnects the first electronic device from other devices, and establishes a connection with the second electronic device.
[0090] For example, if the second electronic device is a transmitter and the first electronic device is a receiver, when the transmitter is plugged into the terminal (host) interface, the terminal displays a web UI that can display the connection status, connection and disconnection buttons, and connection mode.
[0091] On the one hand, when there is an already connected link in the usage scenario, if a new transmitter is connected to the host, the transmitter will send a connection request to the receiver through the BLE module, and then send a pairing message. The receiver will disconnect from the currently connected transmitter, receive the pairing message from the transmitter that has been connected, and connect.
[0092] On the other hand, when multiple hosts on site have been plugged into the transmitter, the user can click the connection button on the web UI to connect. At this time, the transmitter will send a connection message to the receiver through the BLE module, and then send a pairing message. The receiver will disconnect from the currently connected transmitter, receive the pairing message from the transmitter that is being connected, and connect. At the same time, the user can also click the disconnect button, at which time the transmitter will actively send a disconnection command through BLE to disconnect from the receiver.
[0093] The present application also provides a second electronic device, such as Figure 2 and Figure 3 As shown, including:
[0094] A third communication interface, used for connecting to a data processing device;
[0095] The second communication unit module includes a plurality of communication units, which are used to communicate with the first electronic device in different communication modes, and in different communication modes, different communication units are in working state;
[0096] The second processing unit obtains the interactive signal output by the first electronic device and the device information corresponding to the interactive signal, and outputs the interactive signal and the device information to the data processing device through the third communication interface, wherein the device information includes virtual device information and physical device information.
[0097] Exemplarily, the third communication interface may be a plurality of types of interfaces for connecting to corresponding data processing devices. For example, it may be an interface set according to a plurality of types of data processing devices. The data processing device may be a device with data processing capability, such as a terminal, including a laptop, a desktop computer, a mobile phone, a tablet computer, a server, etc.
[0098] The third communication interface transmits an interactive signal to the data processing device, and transmits the interactive signal to the second processing unit, so that the second processing unit can process the interactive signal and the second electronic device can control and interact with the data processing device.
[0099] In one embodiment, the data processing device may be a host, and the host may interact with the second electronic device through the third communication interface, so that the data processing device may interact with the first electronic device or with an expansion device connected to the first electronic device.
[0100] Exemplarily, the second communication unit module includes a plurality of communication units, each communication unit having its own communication characteristics, and different communication units having different communication methods. Each communication unit can be connected to the first electronic device, enabling the second electronic device to communicate with the first electronic device in different communication methods.
[0101] In one embodiment, the second communication unit module can select one of the communication units to be connected to the first electronic device. The selected communication unit is in the working state, while the other unselected communication units can be in the non-working state or standby state. Thus, the second electronic device can establish a stable connection with the first electronic device through the selected communication unit.
[0102] In another embodiment, according to the needs of the usage scenario, the working states of multiple communication units can be switched. For example, the connection established with the first electronic device by the currently used third communication unit is switched to using the fourth communication unit to establish a connection with the first electronic device. This causes the third communication unit to switch from the working state to the standby state, while the fourth communication unit can switch from the standby state to the working state.
[0103] Exemplarily, the communication methods between the first electronic device and the second electronic device include a first communication method and a second communication method. The first communication method can be a communication method determined according to the needs of the usage scenario. For example, the first communication method can be a wireless communication method. An expansion device, such as an input device, a display device, etc., is connected to the first electronic device. When the first electronic device is connected to one or more second electronic devices through the first communication method, the third processing unit responds to this connection action, obtains the interaction signal output by the first electronic device and the device information corresponding to the interaction signal, and outputs the interaction signal and the device information to the data processing device through the third communication interface. The device information includes virtual device information and physical device information. The virtual device information is the device information virtualized for the expansion device, and the virtual device information can be used to identify the corresponding expansion device. The physical device information is the relevant entity information of the expansion device, and is used to describe, identify, and adapt the expansion device.
[0104] In one embodiment of the present application, the second processing unit is further configured to obtain the input signal output by the first electronic device and the corresponding virtual device information, and transmit them to the data processing device;
[0105] The second electronic device further includes: a fourth communication interface for connecting an expansion device to enable the expansion device to interact with the data processing device.
[0106] Exemplarily, an expansion device can be connected to the second electronic device through the fourth communication interface, and the second electronic device can also be connected to a data processing device, such as a terminal. This enables the data processing device to interact with the expansion device and implement corresponding extended functions through the expansion device.
[0107] The above embodiments are only exemplary embodiments of the present application and are not used to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements within the essence and protection scope of the present application, and such modifications or equivalent replacements should also be regarded as falling within the protection scope of the present application.
Claims
1. A first electronic device, comprising: A first communication interface for connecting to an expansion device to transmit and interact with the expansion device; A first communication unit module including a plurality of communication units, enabling the first electronic device to communicate and connect with a second electronic device in different communication manners, and different communication units are in an operating state in different communication manners; A first processing unit for: In response to the first electronic device connecting to the second electronic device through a first communication manner, generating virtual device information corresponding to the interaction signal, and outputting the interaction signal and the virtual device information to the second electronic device based on the first communication manner; In response to the first electronic device connecting to the second electronic device through a second communication manner, obtaining physical device information corresponding to the interaction signal, and outputting the interaction signal and the physical device information to the second electronic device based on the second communication manner.
2. The first electronic device according to claim 1, in the case where the expansion device is a display device, if an input signal output by an input device is obtained through the display device, the first processing unit is further configured to: In response to the first electronic device connecting to the second electronic device through a first communication manner, generating virtual device information corresponding to the input signal, and outputting the input signal and the virtual device information to the second electronic device based on the first communication manner; In response to the first electronic device connecting to the second electronic device through a second communication manner, obtaining device information corresponding to the input signal, and outputting the input signal and the device information to the second electronic device based on the second communication manner.
3. The first electronic device according to claim 1, the first processing unit is further configured to: obtain device information of the expansion device, virtualize a virtual device corresponding to the expansion device based on the device information, and generate virtual device information corresponding to the virtual device.
4. The first electronic device according to claim 1, the first communication unit module includes: A first communication unit connected to the second electronic device through a wired connection protocol, enabling the first electronic device to be wired-connected to the second electronic device; A second communication unit connected to the second electronic device through a wireless connection protocol, enabling the first electronic device to be wirelessly connected to the second electronic device, where the wireless connection protocol includes one or more.
5. The first electronic device according to claim 4, the second communication unit has a receiving-end program, and the second electronic device has a transmitting-end program; The second communication unit is further configured to perform a pairing operation with the transmitting-end program through the receiving-end program before establishing a communication connection with the second electronic device, including performing a pairing operation with the transmitting-end program by cycling through various wireless communication pairing methods.
6. The first electronic device according to claim 1, wherein The first processing unit has an interception program, which is used to intercept control events of the first expansion device controlling the second expansion device or the terminal, take over the device registration and event management of the first expansion device, and synchronously send the device registration and event management of the first expansion device to the first processing unit and the second electronic device.
7. The first electronic device according to claim 1, further comprising a first communication negotiation module, The first communication negotiation module is used to perform a first negotiation and / or a second negotiation with a second communication negotiation module in the second electronic device. The first negotiation is used to determine a communication protocol for data transmission between the first electronic device and the second electronic device. The second negotiation is used to determine the connection status of each of the second electronic devices with its corresponding terminal.
8. The first electronic device according to claim 1, wherein, The first communication unit module is further used to receive a connection request sent by the second electronic device, and disconnect the first electronic device from other devices based on the connection request, and establish a connection with the second electronic device, wherein the connection request is used to request an immediate connection to the first electronic device.
9. A second electronic device, comprising: A third communication interface, used for connecting to a data processing device; The second communication unit module includes a plurality of communication units, which are used to communicate with the first electronic device in different communication modes, and in different communication modes, different communication units are in working state; The second processing unit obtains the interactive signal output by the first electronic device and the device information corresponding to the interactive signal, and outputs the interactive signal and the device information to the data processing device through the third communication interface, wherein the device information includes virtual device information and physical device information.
10. The second electronic device according to claim 9, wherein the second processing unit is further configured to obtain an input signal output by the first electronic device and virtual device information corresponding thereto, and transmit the input signal to a data processing device; The second electronic device further includes: The fourth communication interface is used to connect an expansion device so that the expansion device interacts with the data processing device.