CN114025227A - Electronic equipment and control method - Google Patents

Electronic equipment and control method Download PDF

Info

Publication number
CN114025227A
CN114025227A CN202111284267.4A CN202111284267A CN114025227A CN 114025227 A CN114025227 A CN 114025227A CN 202111284267 A CN202111284267 A CN 202111284267A CN 114025227 A CN114025227 A CN 114025227A
Authority
CN
China
Prior art keywords
data
interface
transmission
image data
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111284267.4A
Other languages
Chinese (zh)
Inventor
王洪宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111284267.4A priority Critical patent/CN114025227A/en
Publication of CN114025227A publication Critical patent/CN114025227A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Abstract

The application discloses electronic equipment and a control method, and the electronic equipment comprises: the first interface is used for connecting a first data device and obtaining first image data and/or first transmission data of the first data device; the second interface is used for connecting a second data device and obtaining second image data and/or second transmission data of the second data device; output means for outputting at least the first image data and/or the second image data; and the first transmission device is used for communicating the first interface and the second interface.

Description

Electronic equipment and control method
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an electronic device and a control method.
Background
With the development of display devices, existing display devices may connect different electronic devices and display output data of the corresponding electronic devices on the display devices. When the display device is connected to different electronic devices, if data interaction is required between the connected electronic devices, the data interaction is usually performed by using a network device or other data transmission devices separately connected to each electronic device, so that the connection manner is complicated, interface resources are wasted easily, and the user experience effect is reduced.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
an electronic device, comprising:
the first interface is used for connecting a first data device and obtaining first image data and/or first transmission data of the first data device;
the second interface is used for connecting a second data device and obtaining second image data and/or second transmission data of the second data device;
output means for outputting at least the first image data and/or the second image data;
and the first transmission device is used for communicating the first interface and the second interface.
Optionally, the method further comprises:
a third interface, configured to transmit network data with a network of an environment where the electronic device is located;
the first transmission device is configured to connect to the third interface, and is capable of transmitting the first transmission data and/or the second transmission data to the third interface, so as to transmit the first transmission data and/or the second transmission data to a network of an environment where the electronic device is located through the third interface.
Optionally, the first transmission device is further configured to transmit the first transmission data to the second data device through the second interface, and/or transmit the second transmission data to the first data device through the first interface.
Optionally, the method further comprises:
and the second transmission device is used for communicating the first interface and the second interface, transmitting the first transmission data to the second data equipment through the second interface, and/or transmitting the second transmission data to the first data equipment through the first interface.
Optionally, the method further comprises:
a fourth interface for connecting a target device;
the second transmission device is further configured to communicate the fourth interface with the first interface, and switch to communicate the fourth interface with the second interface in response to obtaining a switching instruction, so that the connection between the target device and the first data device is switched to the connection between the target device and the second data device;
and the state of network data transmission between the first data equipment and/or the second data equipment and the environment where the electronic equipment is located through the first transmission device and the third interface is unchanged.
Optionally, the method further comprises:
and the processing device is connected with the second transmission device and generates a switching instruction based on the first operation information generated by the target equipment.
Optionally, wherein,
the processing device is further configured to generate third image data, where the third image data affects the first image data and/or the second image data when the output device simultaneously outputs the first image data and/or the second image data and the third image data, and the switching instruction includes an instruction generated according to second operation information for the third image data.
Optionally, the method further comprises:
a switching device for connection with the first transmission device, the switching device comprising a first switching component and a second switching component, wherein,
the first conversion component is used for converting first transmission data from a first interface into data with a third protocol format, wherein the data can be output through the third interface, and the first transmission data is data in the first protocol format;
the second conversion component is configured to convert second transmission data from the second interface into data having a third protocol format that can be output through the third interface, where the second transmission data is data in the second protocol format.
Optionally, wherein,
the second transmission device is further configured to transmit, in response to that the second transmission device is simultaneously connected to the first interface and the second interface, and the first data device is a master device, device information of a second data device connected to the second interface to the first data device, so that the first data device generates a device identification image corresponding to the second data device, where the device identification image is used to respond to a data transmission operation generated based on the first data device.
A control method, comprising:
the electronic device obtains first image data and/or first transmission data from a connected first data device, and obtains second image data and/or second transmission data from a connected second data device;
outputting at least the first image data and/or the second image data;
controlling transmission of first transmission data and/or second transmission data so that the first data device and the second data device perform data transmission based on the electronic device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a component structure of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic connection relationship diagram of components of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a control method according to an embodiment of the present application.
The terms first, second, third, fourth and the like in the description and in the claims, and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be practiced otherwise than as specifically illustrated.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
As can be seen from fig. 1, the electronic device includes:
a first interface 110, configured to connect to a first data device 120, and configured to obtain first image data and/or first transmission data of the first data device 120;
a second interface 111, configured to connect to a second data device 121, and capable of obtaining second image data and/or second transmission data of the second data device 121;
an output device 112 for outputting at least the first image data and/or the second image data;
and a first transmission device 113 for communicating the first interface and the second interface.
In the embodiment of the application, the electronic device is a device capable of connecting different data devices through an interface, and the electronic device further has image and data output and transmission functions. It can be seen that the first interface and the second interface are interfaces that are provided on the electronic device and that can be connected to a data device. Specifically, the Interface types of the first Interface and the second Interface may be matched with an Interface type of a general-purpose data device, for example, both the first Interface and the second Interface may be Universal Serial Bus (USB) interfaces, and correspondingly, if the data device is an electronic device for transmitting audio and video signals, such as a television, the Interface connected to the electronic device may also be a High Definition Multimedia Interface (HDMI). Correspondingly, the first data device and the second data device may be devices capable of generating image data and/or transmitting data, for example, the first data device and the second data device may be electronic devices having an image processing function, such as a notebook computer, a desktop computer, and the like, and may also be devices capable of generating image data but not capable of displaying image data, such as a host computer.
The output device 112 may output the first image data and/or the second image data, and as can be seen, the output device 112 may have a display component capable of displaying the image data, or may have a transmission component capable of transmitting the image data, and output the image data to another device through the transmission component for displaying or storing. For example, when the output device 112 has a display component, and the display component is a display screen, the output device may display the first image data and/or the second image data on the display screen, and in this case, the electronic device may be a display or a smart speaker having the display screen. When the output device 112 has a transmission component, the first image data and/or the second image data can be transmitted to a device connected to the transmission component through the transmission component for output, such as a display screen connected to the transmission component for displaying the image data. When the output device is a device having a display screen, if the first image data and the second image data need to be output simultaneously, the display area may be divided on the display screen, so that the divided first area displays the first image data, and the second area displays the second image data. Correspondingly, the display area division range may be determined by the processing device of the electronic device, or may be determined by a data device connected to the electronic device. Correspondingly, after the output device receives the first image data and the second image data, the output device may also output the first image data and the second image data according to the receiving time sequence of the first image data and the second image data, and if the first image data and the second image data are received simultaneously, the output device may also output the first image data and the second image data according to the priority of the first image data and the second image data, and the output form of the image data of the output device is not limited in this embodiment of the application.
The first transmission device 113 included in the electronic device can communicate with the first interface and the second interface, and the first data device connected to the first interface and the second data device connected to the second interface are connected through the first transmission device, the first interface and the second interface, so that the first data device and the second data device can perform data transmission based on the electronic device. That is, the first transmission device is further configured to transmit the first transmission data to the second data device through the second interface, and/or transmit the second transmission data to the first data device through the first interface. In this embodiment, if the first transmission device of the electronic apparatus only implements data transmission between the first data device and the second data device, and if the first data device and the second data device are connected to the electronic apparatus through the USB interface, the first transmission device may be a device capable of transmitting USB protocol type data.
The first data device and/or the second data device may also transmit data to other electronic devices through the first transmission device, for example, to a third data device, so that the third data device stores the obtained data or outputs the obtained data at a next hierarchy level. The first transmission device can be a network data transmission device, so that data transmission is performed between the first data device and the second data device through a network protocol format.
It can be seen that, when the output device of the electronic device is a device with a display function, the electronic device may be a display device with a data transmission interface and a first output device, so that the first data device and the second data device may perform data transmission based on the connected display device, and data interaction and transmission may be completed without connecting with other connection devices after the display device is connected.
In an implementation manner of the embodiment of the present application, the electronic device may further include:
and the third interface is used for transmitting network data with a network of the environment where the electronic equipment is located.
In this scenario, the first transmission device is configured to connect to the third interface, and is capable of transmitting the first transmission data and/or the second transmission data to the third interface, so as to transmit the first transmission data and/or the second transmission data to a network of an environment where the electronic device is located through the third interface.
In this embodiment, data transmission with a network of an environment in which the electronic device is located may be implemented through the third interface of the electronic device. Correspondingly, if the network mode of the environment where the electronic device is located is a wired network mode, the third interface is an interface type that can be connected with a wired network, such as an RJ45 network interface. If the network mode of the environment where the electronic device is located is a wireless network mode, the third interface is an interface type capable of being connected with the wireless network, for example, the third interface includes a wireless network card module.
The first transmission device may be connected to the third interface, that is, may implement data transmission in a network environment connected to the third interface. And the first transmission device can be communicated with the first interface and the second interface, so that the first data equipment connected through the first interface and the second data equipment connected through the second interface can perform data transmission with the network of the current environment. In this way, no matter whether the first data device and the second data device have network interfaces connected with the environment, the first transmission device of the electronic device can be used for data transmission with the network of the environment. Correspondingly, when the first transmission device transmits the first transmission data to the second data device and/or transmits the second transmission data to the first data device, the data in the network protocol format supported by the first transmission device may be used for transmission, for example, the data in the network protocol format is converted from the data format of the first transmission data, and then the data is transmitted to the second data device. At this time, the first transmission apparatus may be a local area network Switch Router (LAN Switch Router).
Specifically, the electronic device may further include:
the conversion device is used for being connected with the first transmission device and comprises a first conversion component and a second conversion component, wherein the first conversion component is used for receiving the data which is converted from the first transmission data and can be output through the third interface and has a third protocol format, and the first transmission data is the data in the first protocol format. And the second conversion component is used for converting the second transmission data from the second interface into data with a third protocol format which can be output through the third interface, and the second transmission data is data with the second protocol format.
In this embodiment, the conversion means is capable of converting the protocol format of the data transmitted to the network by the first transmission means, so that the data received by the first transmission means can satisfy the data format for transmission to the network. The data in the third protocol format may be a data format supported by the current network, and the first protocol format and the second protocol format are related to the interface types of the first interface and the second interface, and if the first interface is a USB format, the first protocol format is a USB data protocol format, and correspondingly, the first conversion component may be a USB local area network data conversion chip (e.g., a USB LAN Card).
It can be seen that, when the first transmission device is connected to the third interface, if the first interface and the second interface are USB interfaces, the first data device and the second data device can implement data transmission between the two data devices only after being connected to the electronic device through the USB physical cable, or implement network connection between the data devices and the environmental network by performing data transmission with the network, without performing data interaction between the devices through separate connection devices for the first data device and the second data device, or without separately connecting a network cable or setting a network card to implement a network connection function.
Referring to fig. 2, fig. 2 is a schematic view of another structure of an electronic device according to an embodiment of the present disclosure. The electronic device corresponding to fig. 2 may include:
a first interface 210, configured to connect to a first data device 220, and configured to obtain first image data and/or first transmission data of the first data device 220;
a second interface 211, configured to connect to a second data device 221, and configured to obtain second image data and/or second transmission data of the second data device 221;
an output device 212 for outputting at least the first image data and/or the second image data;
a first transmission device 213 for connecting the first interface and the second interface;
a third interface 214 for transmitting network data with a network of an environment in which the electronic device is located;
the second transmission device 215 is configured to communicate the first interface 210 and the second interface 211, and transmit the first transmission data to the second data device 221 through the second interface 211, and/or transmit the second transmission data to the first data device 220 through the first interface 210.
The electronic device shown in fig. 2 comprises a second transmission means 215 in addition to the first interface, the second interface, the output means, the first transmission means, and the third interface. The contents of the first interface, the second interface, the output device, the first transmission device, and the third interface may refer to the related descriptions of the foregoing embodiments, and are not described herein again.
The second transmission device 215 may communicate with the first interface and the second interface simultaneously, that is, the second transmission device may establish a data transmission channel with the first data device connected to the first interface and the second data device connected to the second interface, and then perform data and/or instruction transmission based on the data transmission channel. When the second transmission device performs data transmission with the first data device and/or the second data device, the second transmission device may respectively transmit corresponding data to the first data device and the second data device, or may transmit related data to the first data device only by using a data transmission channel between the second transmission device and the first interface, or transmit related data to the second data device only by using a data transmission channel between the second transmission device and the second interface. The data transmission between the first data device and the second data device can also be realized based on the second transmission device. Correspondingly, the second transmission device may be further connected to the output device, and the second transmission device may transmit the first image data transmitted by the first data apparatus to the output device by using a data transmission channel between the second transmission device and the first interface, or transmit the second image data transmitted by the second data apparatus to the output device by using a data transmission channel between the second interface, so that the output device outputs the first image data or the second image data, or simultaneously output the first image data and the second image data to the output device, so that the output device outputs the first image data and the second image data.
When the second transmission device communicates the first interface and the second interface, that is, the first data device and the second data device can perform data transmission based on the second transmission device. At this time, the second transmission device is further configured to transmit, in response to that the second transmission device is simultaneously connected to the first interface and the second interface, and the first data device is a master device, device information of the second data device connected to the second interface to the first data device, so that the first data device generates a device identification image corresponding to the second data device, where the device identification image is used to respond to a data transmission operation generated based on the first data device.
In an application scenario corresponding to the embodiment, when the first data device is used as a master device of the electronic device, the second data device connected to the electronic device may be identified as a similar external storage device, so that data transmission from the first data device to the second data device may be completed based on a convenient operation manner, and specifically, data transmission may be completed through data dragging. The second transmission device may determine device information based on device encoding information of a second data device connected to the second interface, and send the device information to the first data device, and the first data device may determine a device identification image corresponding to the second data device through pre-stored correspondence information between the device information and the device identification image. The second transmission device may also send the interface information of the connected second data device to the corresponding processing device, and then receive the device information of the second data device fed back by the processing device. And then the device information is sent to the first data device.
Referring to fig. 3, a schematic view of a display interface of an electronic device according to an embodiment of the present application is provided. The electronic device is a display 310, which is connected to a first data device, i.e. a notebook computer 311, and is also connected to a second data device, i.e. a host 312. Because the notebook computer 311 is a main interface of the display, that is, the display 310 displays interface information output by the notebook computer, the currently output interface information is information of a storage disk of the notebook computer and related file information in the notebook computer, for example, image identifiers corresponding to a first storage disk, a second storage disk and a third storage disk of the notebook computer respectively are included, and simultaneously, image identifiers corresponding to an external storage disk are also displayed, and the image identifier corresponding to the external storage disk substantially represents a second data device. When a user drags a first file in the display interface to an image representation corresponding to the external storage disk, the first file in the notebook computer is transmitted to the host.
In this embodiment of the application, the first transmission device performs network data transmission with a network in an environment where the electronic device is located through the third interface, and therefore, the first transmission device needs to have a function of converting data to be subjected to network transmission into data in a network protocol format, and the second transmission device may only complete data transmission between the first data device and the second data device, or data transmission between the first data device and the electronic device, or data transmission between the second data device and the electronic device, that is, the second transmission device may not have a function of interacting with the network. When the first interface and the second interface are USB interfaces, the structure of the second transmission device may be a USB hub (USB hub) in practical application.
In one embodiment, the electronic device may further include a fourth interface for connecting the target device. When the target device is an external input device of the electronic device, specifically, the target device may be at least one of a keyboard, a mouse, a stylus pen, and a touch pad. Correspondingly, in a scene that the electronic device has the target device connected with the electronic device, the second transmission device is further used for communicating the fourth interface with the first interface, or communicating the fourth interface with the second interface. This may enable the target device to be connected to a first data device or the target device to be connected to a second data device. Specifically, when the second transmission device is connected to the fourth interface and the second interface, the fourth interface and the second interface are switched to be communicated in response to the obtained switching instruction, so that the connection between the target device and the first data device is switched to the connection between the target device and the second data device. Correspondingly, when the fourth interface is communicated with the second interface through the second transmission device, the communication between the fourth interface and the first interface can be switched to based on the switching instruction. At this time, the connection between the target device and the second data device is switched to the connection between the target device and the first data device.
In this embodiment, the second transmission device may communicate the first port with the second port, and the second transmission device may also be connected to the fourth port, so that the first port and the fourth port may be communicated by the second transmission device, and the second port and the fourth port may also be communicated by the second port. The switching instruction is an instruction obtained by processing the corresponding trigger operation information by the processing device of the electronic device, and is used for indicating whether the fourth interface is communicated with the first interface or the second interface through the second transmission device. To determine whether the target device of the fourth interface connection is connected to the first data device or the second data device. In a possible implementation manner, if the target device is a device that can be shared by the first data device and the second data device at the same time, the first interface and the fourth interface can be connected at the same time, and the fourth interface and the second interface can be connected at the same time through the second transmission device. For example, if the target device is an external storage device of the electronic device, the first data device connected to the first interface may store the data to be stored in the external storage device through the second transmission device and the fourth interface, and the second data device connected to the second interface may also store the data to be stored in the external storage device through the second transmission device and the fourth interface.
For example, when the target device includes a keyboard and the output device of the electronic device is a display screen, that is, the electronic device is a display. The display is connected with a keyboard, the second transmission device is communicated with the fourth interface and the first interface at this time, namely, the target device is connected with a first data device (such as a notebook computer), at this time, the display interface on the display displays image data output by the notebook computer, and information input through the keyboard is also specific to the image data output by the notebook computer, namely, the keyboard is used as an external input device of the notebook computer. If a switching instruction is received, the second transmission device switches the connection between the keyboard connected to the fourth interface and the notebook computer to be communicated with a second data device (e.g., a host), at this time, image data output by the host is displayed on a display interface on the display, and information input through the keyboard is also directed to the image data output by the host, that is, the keyboard is an external input device of the host.
It should be noted that, whether the fourth interface is communicated with the first interface through the second transmission device, or the fourth interface is communicated with the second interface through the second transmission device, or the fourth interface is simultaneously communicated with the first interface and the second interface through the second transmission device. The first transmission device of the electronic equipment is communicated with the first interface and the second interface, namely the state of the first data equipment and/or the second data equipment which are/is transmitted with the network of the environment where the electronic equipment is located through the first transmission device and the third interface is unchanged. I.e. whether the fourth interface is put into communication with the first interface or with the second interface by the second transfer means. The data transmission state of the first interface through the transmission channel between the first transmission device and the third interface and/or the data transmission state of the second interface through the transmission channel between the first transmission device and the third interface is unchanged. If the current target device is connected with the first data device connected with the first interface through the fourth interface and the second transmission device, the first data device and the second data device simultaneously realize network data transmission with the environment where the current target device is located through the first transmission device and the third interface, when the switching target device is connected with the second data device from the first data device and is successfully switched, the first data device and the second data device simultaneously realize unchanged installation of the network data transmission with the environment where the current target device is located through the first transmission device and the third interface, namely, in the process of switching the target device from the first data device to the second data device, the network transmission state of the first data device and the second data device is consistent with the state before switching, and the network is not disconnected due to switching. If the target device is connected with the first data device, only the first data device performs network data transmission with the network of the current environment through the first transmission device and the third interface, and during the process of switching the target device to be connected with the second data device and after the switching is completed, the first data device can still perform network data transmission with the network of the current environment through the first transmission device and the third interface, that is, even if the main device of the target device is not the first data device, the first data device can still perform network data transmission with the network of the current environment.
The state of the first transmission device of the electronic equipment is not influenced in the process that the second transmission device is communicated with the fourth interface and the first interface or the communication state of the fourth interface and the second interface is switched. And the network transmission state of the first data equipment and the second data equipment for network data transmission through the first transmission device is unchanged. For example, the second transmission device is communicated with the first interface and the fourth interface, the output device of the electronic device and the target device connected with the electronic device are controlled by the first data device connected with the first interface, but the first transmission device is communicated with the first interface and the second interface, so that the first data device and the second data device do not need to be connected with a network cable by themselves, and the function of network data transmission is realized by the electronic device. Specifically, the output device of the electronic device may display a visual interface of the content output by the first data device, and the second data device may continue to download the network data through the first transmission device of the electronic device.
When the target device is an external device, in the process of switching the connection between the external device and the first data device or the second data device, the first data device and the second data device can transmit network data based on the first transmission device of the electronic device, that is, the first data device and the second data device can be continuously connected in the process of switching the external device.
In yet another possible implementation, the electronic device further includes: and the processing device is connected with the second transmission device and is used for generating a switching instruction based on the first operation information generated by the target equipment. Correspondingly, the processing device is further configured to generate third image data, where the third image data affects the first image data and/or the second image data when the output device simultaneously outputs the first image data and/or the second image data and the third image data, and the switching instruction includes an instruction generated according to second operation information for the third image data.
In this embodiment, the switching command is generated by a processing device, which may be a processing device disposed inside the electronic device, or a device having a processing function and connected to the electronic device through a connection component, such as a mobile terminal, to remotely control the electronic device. For simplification of the structural layout, the processing device is usually a component with a processing function disposed inside the electronic apparatus, for example, the processing device may be a display processing chip Scaler.
When the processing device generates the switching instruction, the corresponding switching instruction may be generated based on the first operation information generated by the target device. The processing device may store in advance instructions corresponding to different operation information of the target device, for example, when the target device is a keyboard, a switching instruction corresponding to different combinations of physical keys in the keyboard may be stored in advance, for example, when the switching instruction corresponding to the "a + B" shortcut key is a data device connected to the second transmission device, that is, when the second transmission device is currently connected to the first data device through the first interface, and when the target object presses the "a + B" shortcut key in the keyboard, the processing device may generate the first switching instruction, so that the second transmission device is not connected to the first interface in response to the first switching instruction, but is switched to be connected to the second interface, that is, connected to the second data device. The processing device may further generate third image data, wherein the third image data affects the first image data and/or the second image data when the output device simultaneously outputs the first image data and/or the second image data and the third image data, wherein the switching instruction includes an instruction generated according to second operation information for the third image data.
The influence means that a user who receives or views the first image data and/or the second image data preferentially receives or views the third image data. If the output device is a display screen, the display screen needs to display the first image data, the second image data and the third image data at the same time, the third image data may block the first image data and/or the second image data when the display screen displays the third image data, or the third image data may affect the definition of the first image data and/or the second image data, or the output of the third image data may change the display area of the first image data and/or the second image data, for example, the third image data may be displayed in the main display area of the display screen, and the first image data and/or the second image data may be changed to be displayed in the sub-display area, and so on.
In a specific application scenario, the first image data and the second image data may respectively correspond to display interfaces of current data of the first data device and the second data device, and the third image data may be an on-screen display (OSD) of the electronic device, and each operation index of the electronic device may be adjusted through the OSD, for example, a color, a mode, a geometric shape, and the like of a display screen of the electronic device may be adjusted, so as to achieve an optimal use state. At this time, the target object may perform a related operation through a menu displayed in third image data output by the electronic device, where the menu is related to a connection state of the target device with the first data device or the second data device, for example, the connection information of the corresponding data device is selected in the menu through a touch key, that is, the target object may generate second operation information based on the third image data, and then the processing device may parse the second operation information to determine a switching instruction. The switching instruction is used for controlling the second transmission device to be communicated with the fourth interface and the first interface or the fourth interface and the second interface.
It should be noted that, in this embodiment of the application, when the second transmission device communicates the first interface and the fourth interface, or communicates the fourth interface and the second interface, the communication may be in a physical layer, that is, the second transmission device is connected to the first interface through a physical cable or a physical structural component, or may be in a communication layer, and if the second transmission device is not communicated with the first interface, the second transmission device may be connected to the first interface through a physical cable or a physical structural component, but the second transmission device does not respond to or receive the data information transmitted by the first data device through the first interface.
Referring to fig. 4, in fig. 4, the electronic device is exemplified by a display, the first data device is exemplified by a notebook computer, and the second data device is exemplified by a host, and the electronic device shown in fig. 4 includes: the device comprises a first interface, a second interface, a third interface, a fourth interface, a first transmission device, an output device, a second transmission device, a processing device, a display screen, a first conversion component and a second conversion component, wherein the first interface is a first USB Hub (USB Hub1)401, the second interface is a second USB Hub (USB Hub2)402, the first conversion component is a first USB local area network conversion chip (USB LAN Card1)403, the second conversion component is a second USB local area network conversion chip (USB LAN Card2)404, the first transmission device is a network switch (LAN Hub)405, the second transmission device is a third USB Hub (USB Hub3)406, the third interface is a network Card interface 407, the third interface is a USB interface 408, and the processing device is a Scaler chip 409 and the display screen 410.
As shown in fig. 4, one end of the USB Hub1 is connected to the laptop, the other end is connected to the USB Hub3 and the USB LAN Card1, one end of the USB Hub2 is connected to the host, and the other end is connected to the USB Hub3 and the USB LAN Card 2. USB LAN Card1 and USB LAN Card2 are connected to LAN Hub, USB Hub3 is connected to Scaler, LAN Hub is connected to network Card interface 407, and USB Hub3 is also connected to USB interface 408.
Thus, the notebook computer and the host can realize the function of network data transmission with the network in the environment through the communication link formed by the USB Hub1-USB LAN Card1-LAN Hub-network Card interface and the communication link formed by the USB Hub2-USB LAN Card2-LAN Hub-network Card interface in the electronic equipment. The notebook computer and the host computer can also complete data transmission between each other through a communication link consisting of the USB Hub1-USB LAN Card1-LAN Hub-USB LAN Card2-USB Hub2 in the electronic equipment. Correspondingly, the notebook computer and the host computer can also complete data transmission between each other through a communication link formed by the USB Hub1-USB Hub 3-USB Hub2 in the electronic equipment.
When the USB Hub3 is connected to the USB Hub1 only and the USB Hub2 is disconnected when the target device is connected to the USB interface 408, the target device can be used as an external device of the notebook computer. If the USB Hub3 is connected to only the USB Hub2 and disconnected from the USB Hub1, the target device may be an external device to the host. It should be noted that, no matter what the connection mode between the USB Hub3 and the USB Hub1 and the USB Hub2 is, the communication link formed by the USB Hub1-USB LAN Card1-LAN Hub-network Card interface and the communication link formed by the USB Hub2-USB LAN Card2-LAN Hub-network Card interface remain unchanged, that is, the network communication link formed by the LAN Hub is unchanged no matter the target device is switched to the notebook or the external device, so that the normal network transmission function between the notebook and the host is ensured.
It should be noted that the connection relationship between the components shown in fig. 4 is only to exemplify a connection manner of the electronic device in a certain scenario, and in an actual application scenario, the connection manner may be changed based on actual requirements, for example, the Scaler may also be connected to the LAN Hub, so that the Scaler may determine a destination corresponding to the network data to be transmitted output by the LAN Hub. Similarly, the connection relationship may be changed based on the difference in the functional structure actually adopted by the different components, and this is not described in the embodiments of the present application.
Based on the electronic device provided by the application, another embodiment of the application also provides a control method applied to the electronic device. As shown in fig. 5, which shows a flowchart of a control method provided in an embodiment of the present application, the control method may be applied to the electronic device mentioned above in the present application, and the method of the present embodiment may include:
s501, the electronic device obtains first image data and/or first transmission data from a first data device connected with the electronic device, and obtains second image data and/or second transmission data from a second data device connected with the electronic device.
As described in the previous embodiments of the electronic device, the first interface of the electronic device is used for connecting a first data device, and the second interface of the electronic device is used for connecting a second data device.
And S502, outputting at least the first image data and/or the second image data.
The electronic device may only output the first image data or the second image data, may also output the first image data and the second image data at the same time, and may also output other types of data while outputting the image data, for example, the electronic device is a smart speaker, a display screen of the smart speaker outputs display information corresponding to a current audio, and an audio output component of the smart speaker may also output an audio output by an audio output device connected thereto.
S503, controlling the transmission of the first transmission data and/or the second transmission data, so that the first data equipment and the second data equipment perform data transmission based on the electronic equipment.
In this embodiment, the first data device and the second data device can complete data transmission only through the electronic devices connected with the first data device and the second data device without connecting other data transmission components, where the data transmission includes data transmission between the data devices on two days and network data transmission between the data devices and a network.
In this embodiment of the application, the first data device and the second data device may perform data transmission and interaction based on the connected electronic devices, and data transmission may be performed without connecting each data device to a specific data transmission component, such as a network card module. The data transmission mode is more convenient, and the experience effect of the user is improved.
In an alternative, in response to the electronic device being able to communicate network data with the network of the environment, the electronic device communicates the first communication data and/or the second communication data to the network of the environment.
Correspondingly, the electronic device transmits the first transmission data to the second data device and/or transmits the second transmission data to the first data device.
In an optional manner, the electronic device may further communicate the first data device and the second data device through the second transmission device, transmit the first transmission data to the second data device through the second transmission device, and transmit the second transmission data to the first data device.
Further, if the electronic device is connected with the target device, the second transmission device
Communicating the fourth interface with the first interface, and switching to communicating the fourth interface with the second interface in response to obtaining a switching instruction, so that the connection of the target device and the first data device is switched to the connection of the target device and the second data device;
and the state of network data transmission between the first data equipment and/or the second data equipment and the environment where the electronic equipment is located through the first transmission device and the third interface is unchanged.
Further, still include:
generating a switching instruction based on first operation information generated by the target equipment;
generating a switching instruction based on second operation information for third image data, wherein the third image data affects the first image data and/or the second image data when the output device simultaneously outputs the first image data and/or the second image data and the third image data.
In an alternative, the method further comprises:
converting the first transmission data into data with a third protocol format, wherein the first transmission data is data in the first protocol format, and the data in the third protocol format is data meeting a network data transmission format;
and/or converting the second transmission data into data with a third protocol format, wherein the second transmission data is data with the second protocol format.
Further, the method further comprises:
responding to the fact that the electronic equipment is connected with a first data device and a second data device at the same time, the first data device is a main device, and transmitting device information of the second data device to the first data device, so that the first data device generates a device identification image corresponding to the second data device, wherein the device identification image is used for responding to data transmission operation generated based on the first data device.
It can be understood that, since the related contents in the control method are already included in the description of the related devices and the like related to the electronic device side, reference may be made to the related description above specifically, and details are not described here again.
In another aspect, the present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, at least one program, code set, or set of instructions is loaded and executed by a processor to implement the control method according to any one of the above embodiments.
The emphasis of each embodiment in the present specification is on the difference from the other embodiments, and the same and similar parts among the various embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An electronic device, comprising:
the first interface is used for connecting a first data device and obtaining first image data and/or first transmission data of the first data device;
the second interface is used for connecting a second data device and obtaining second image data and/or second transmission data of the second data device;
output means for outputting at least the first image data and/or the second image data;
and the first transmission device is used for communicating the first interface and the second interface.
2. The electronic device of claim 1, further comprising:
a third interface, configured to transmit network data with a network of an environment where the electronic device is located;
the first transmission device is configured to connect to the third interface, and is capable of transmitting the first transmission data and/or the second transmission data to the third interface, so as to transmit the first transmission data and/or the second transmission data to a network of an environment where the electronic device is located through the third interface.
3. The electronic device of claim 2,
the first transmission device is further configured to transmit the first transmission data to the second data device through the second interface, and/or transmit the second transmission data to the first data device through the first interface.
4. The electronic device of claim 3, further comprising:
and the second transmission device is used for communicating the first interface and the second interface, transmitting the first transmission data to the second data equipment through the second interface, and/or transmitting the second transmission data to the first data equipment through the first interface.
5. The electronic device of claim 4, further comprising:
a fourth interface for connecting a target device;
the second transmission device is further configured to communicate the fourth interface with the first interface, and switch to communicate the fourth interface with the second interface in response to obtaining a switching instruction, so that the connection between the target device and the first data device is switched to the connection between the target device and the second data device;
and the state of network data transmission between the first data equipment and/or the second data equipment and the environment where the electronic equipment is located through the first transmission device and the third interface is unchanged.
6. The electronic device of claim 5, further comprising:
and the processing device is connected with the second transmission device and generates a switching instruction based on the first operation information generated by the target equipment.
7. The electronic device of claim 5,
the processing device is further configured to generate third image data, where the third image data affects the first image data and/or the second image data when the output device simultaneously outputs the first image data and/or the second image data and the third image data, and the switching instruction includes an instruction generated according to second operation information for the third image data.
8. The electronic device of claim 2, further comprising:
a switching device for connection with the first transmission device, the switching device comprising a first switching component and a second switching component, wherein,
the first conversion component is used for converting first transmission data from a first interface into data with a third protocol format, wherein the data can be output through the third interface, and the first transmission data is data in the first protocol format;
the second conversion component is configured to convert second transmission data from the second interface into data having a third protocol format that can be output through the third interface, where the second transmission data is data in the second protocol format.
9. The electronic device of claim 4,
the second transmission device is further configured to transmit, in response to that the second transmission device is simultaneously connected to the first interface and the second interface, and the first data device is a master device, device information of a second data device connected to the second interface to the first data device, so that the first data device generates a device identification image corresponding to the second data device, where the device identification image is used to respond to a data transmission operation generated based on the first data device.
10. A control method, comprising:
the electronic device obtains first image data and/or first transmission data from a connected first data device, and obtains second image data and/or second transmission data from a connected second data device;
outputting at least the first image data and/or the second image data;
controlling transmission of first transmission data and/or second transmission data so that the first data device and the second data device perform data transmission based on the electronic device.
CN202111284267.4A 2021-11-01 2021-11-01 Electronic equipment and control method Pending CN114025227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111284267.4A CN114025227A (en) 2021-11-01 2021-11-01 Electronic equipment and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111284267.4A CN114025227A (en) 2021-11-01 2021-11-01 Electronic equipment and control method

Publications (1)

Publication Number Publication Date
CN114025227A true CN114025227A (en) 2022-02-08

Family

ID=80059445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111284267.4A Pending CN114025227A (en) 2021-11-01 2021-11-01 Electronic equipment and control method

Country Status (1)

Country Link
CN (1) CN114025227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615543A (en) * 2022-03-31 2022-06-10 联想(北京)有限公司 Transmission equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655277A (en) * 2004-02-09 2005-08-17 联想(北京)有限公司 Multifunctional data storage device and method thereof
CN203324964U (en) * 2013-05-27 2013-12-04 爱国者电子科技有限公司 Network sharing storage device
US20190325418A1 (en) * 2018-04-24 2019-10-24 Toshiba Tec Kabushiki Kaisha Electronic data transmission in an electronic receipt system with reduced data traffic
CN210721443U (en) * 2019-12-30 2020-06-09 惠州视维新技术有限公司 Data interface switching circuit and device
CN111314549A (en) * 2020-02-10 2020-06-19 联想(北京)有限公司 Transmission apparatus and processing method
CN113110812A (en) * 2021-03-31 2021-07-13 联想(北京)有限公司 Display device and processing method
CN113157233A (en) * 2021-05-19 2021-07-23 高创(苏州)电子有限公司 Display device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655277A (en) * 2004-02-09 2005-08-17 联想(北京)有限公司 Multifunctional data storage device and method thereof
CN203324964U (en) * 2013-05-27 2013-12-04 爱国者电子科技有限公司 Network sharing storage device
US20190325418A1 (en) * 2018-04-24 2019-10-24 Toshiba Tec Kabushiki Kaisha Electronic data transmission in an electronic receipt system with reduced data traffic
CN210721443U (en) * 2019-12-30 2020-06-09 惠州视维新技术有限公司 Data interface switching circuit and device
CN111314549A (en) * 2020-02-10 2020-06-19 联想(北京)有限公司 Transmission apparatus and processing method
CN113110812A (en) * 2021-03-31 2021-07-13 联想(北京)有限公司 Display device and processing method
CN113157233A (en) * 2021-05-19 2021-07-23 高创(苏州)电子有限公司 Display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615543A (en) * 2022-03-31 2022-06-10 联想(北京)有限公司 Transmission equipment

Similar Documents

Publication Publication Date Title
US8671235B2 (en) KVM switch with embedded bluetooth module
US9467731B2 (en) Method for controlling touch screen, and mobile terminal
US20030020757A1 (en) Display control apparatus and display control system for switching control of two position idication marks
US9667487B2 (en) Method and apparatus for changing input type in input system using universal plug and play
EP2800389A1 (en) Ui system and method for interaction between handheld device and tv set
EP3767439B1 (en) Touch panel control circuit and touch panel
US10698530B2 (en) Touch display device
CN102591493A (en) Mouse cursor synchronization method for internet protocol K virtual machine (IPKVM) system
KR101201994B1 (en) Interface device and method for interworking a smartphone and a vehicle display using them
CN114025227A (en) Electronic equipment and control method
CN114281288A (en) Screen projection processing method and device and electronic equipment
CN109445876B (en) Method and monitor for loading LUT data
WO2023274243A1 (en) Wireless access point connection method and apparatus, wireless access point configuration method and apparatus, and medium and device
CN108881980A (en) A kind of Intelligent mobile equipment
CN112714272A (en) Inter-device control method, terminal, and computer-readable storage medium
KR101187269B1 (en) Electronic apparatus for transmitting/receiving data using mhl interface and data transmitting/receiving method thereof
CN111064908B (en) Signal transmission method, device, equipment and readable storage medium
KR20210039551A (en) Method for establishing Mirroring Status between Master Device and Client Device, and Electrical Device performing the same
CN112584065A (en) Courseware display method, system, equipment and storage medium
CN113064543B (en) Signal processing method, system and device of spliced screen and storage medium
CN113312227B (en) OTG function detection method, system, device and equipment
CN112584207B (en) Video signal processing method, system, equipment and storage medium
CN219642228U (en) Display and multi-screen display system
JP4158512B2 (en) Display device, operated device, and user interface control method
WO2022267962A1 (en) Screen area control method and apparatus, sending card, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination