Method, system, apparatus, storage medium, and electronic device for controlling a device
By using multimedia interfaces and signal channels for multi-device teaching, and employing touch-sensitive USB and dual male USB for data transmission, the problems of network latency and unstable connection between multiple devices are solved, achieving stable data transmission and simplified operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU SHIYUAN ELECTRONICS CO LTD
- Filing Date
- 2021-07-13
- Publication Date
- 2026-06-16
AI Technical Summary
In existing technologies, data transmission between devices in multi-device teaching relies on software, which leads to complex operation and high latency or connection abnormalities when the network fluctuates.
The system uses a preset platform to connect with multiple devices via a multimedia interface and signal transmission channel. It receives control commands through the first signal channel and switches to the second signal channel for data transmission, avoiding network transmission. It uses a universal serial bus such as a touch USB or a dual-male USB for data transmission.
It ensures stable data transmission in multi-screen teaching scenarios, avoids network latency and disconnection issues, and simplifies the operation process.
Smart Images

Figure CN115620503B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent control, and more specifically, to a method, system, apparatus, storage medium, and electronic device for controlling equipment. Background Technology
[0002] With the development of internet technology, multi-device teaching has become a common teaching method. Multi-device teaching can reduce the use of paper and support various formats such as videos and pictures, which has the advantages of saving resources and improving students' enthusiasm.
[0003] Due to the aforementioned advantages, multi-device teaching has been increasingly widely used in the teaching process. However, multi-device teaching involves the connection and data transmission between various devices. Ensuring the stability of data transmission between multiple devices is the foundation for guaranteeing teaching quality.
[0004] However, in existing technologies, such as Figure 1 As shown, data transmission between multiple devices is mainly achieved through software. First, a touch driver and software need to be installed on the preset platform. When an operator operates on the preset platform and triggers the touch driver, the software on the preset platform can capture the touch information on the preset platform. Then, the touch information is converted through an open-source framework protocol. After the conversion is completed, the preset platform transmits the converted touch information to the software on the first screen. The software on the first screen parses the received touch information through the open-source framework protocol, and then converts and distributes the touch information to the first screen touch driver or the second screen touch driver through a virtual touch driver to execute touch operations, thereby enabling the smart podium to control the screens of different display devices.
[0005] It is worth noting that existing technologies use pure software for data transmission between multiple devices, which requires software to be installed on all devices, making the process complex. Secondly, data transmission relies on network communication, which can lead to network latency or even connection failures between multiple devices when the network fluctuates or becomes abnormal.
[0006] There is currently no effective solution to the above problems. Summary of the Invention
[0007] This invention provides a method, system, apparatus, storage medium, and electronic device for controlling a device, to at least solve the technical problem of high latency when a preset platform transmits data back to the device in a multi-screen teaching scenario.
[0008] According to one aspect of the present invention, a method for controlling a device is provided, comprising: when detecting that a first device among a plurality of devices sends image data to a preset platform, receiving a control command sent by the preset platform through a first signal channel, and switching the signal transmission channel between the plurality of devices and the preset platform to a second signal channel, wherein the second signal channel is used to connect the preset platform and the first device, the first device being any one of the plurality of devices, and then sending the control command to the first device through the second signal channel so that the preset platform controls the first device.
[0009] Furthermore, the method for controlling the device also includes: before receiving control commands sent by a preset platform through a first signal channel, acquiring image data sent by a first device, then determining an output port according to a preset mapping relationship, and sending the image data to a device connected to the output port.
[0010] Furthermore, the method for controlling the device also includes: sending image data to a device connected to an output port, and when the output port is a first port, sending the image data to a second device so that the second device displays the image data, wherein the second device is any one of a plurality of devices and is different from the first device.
[0011] Furthermore, the method for controlling the device also includes: when the output port is the second port, sending image data to a preset platform so that the preset platform displays the image data.
[0012] Furthermore, the method for controlling the device also includes: sending a control command to the first device through a second signal channel; firstly obtaining the transmission identifier corresponding to the image data, wherein the transmission identifier corresponds to the transmission channel for transmitting the image data; then determining the third device to send the image data to the preset platform based on the transmission identifier; wherein the first device includes a third device and a fourth device; the third device is connected to the preset platform through the fourth device; the fourth device sends the extended screen data corresponding to the fourth device to the third device through a first port; and then sending the control command to the third device through the second signal channel so that the preset platform controls the third device.
[0013] According to another aspect of the present invention, a system for controlling a device is also provided, comprising: a plurality of devices; a signal conversion unit, wherein the plurality of devices are connected to the signal conversion unit via at least one second signal channel; a preset platform, connected to the plurality of devices via the signal conversion unit, wherein the preset platform is connected to the signal conversion unit via a first signal channel; the signal conversion unit is further configured to, when detecting that a first device among the plurality of devices sends graphic data to the preset platform, switch the signal transmission channel to the second signal channel and send a control command to the first device via the second signal channel, so that the preset platform controls the first device, wherein the signal transmission channel is used to connect the preset platform and the plurality of devices.
[0014] Furthermore: In the system of the control device, at least one second signal channel and the first signal channel are universal serial buses.
[0015] Furthermore: In the system of the control device, the multiple devices include at least a third device and a fourth device, wherein the third device and the fourth device are connected via a universal serial bus, and the third device performs synchronous calibration with the fourth device via the universal serial bus.
[0016] Furthermore: In the control equipment system, multiple devices are connected to the signal conversion unit through a multimedia interface, and a preset platform is connected to the signal conversion unit through a multimedia interface. Among them, multiple devices transmit image data corresponding to multiple devices to the preset platform through the multimedia interface.
[0017] Furthermore, in the control device system, the fourth device is connected to the signal conversion unit via a multimedia interface to send the extended screen data corresponding to the fourth device to the third device.
[0018] According to another aspect of the present invention, an apparatus for controlling a device is also provided, comprising: a receiving module, configured to receive a control command sent by a preset platform through a first signal channel when it is detected that a first device among a plurality of devices sends image data to a preset platform; a switching module, configured to switch the signal transmission channel between the plurality of devices and the preset platform to a second signal channel, wherein the second signal channel is used to connect the preset platform and the first device, and the first device is any one of the plurality of devices; and a sending module, configured to send the control command to the first device through the second signal channel so that the preset platform controls the first device.
[0019] According to another aspect of the present invention, a storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to execute the method of the control device described above when running.
[0020] According to another aspect of the present invention, an electronic device is also provided, the electronic device including one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a method for running the programs, wherein the programs are configured to execute the above-described method of controlling the device during runtime.
[0021] In this embodiment of the invention, a preset platform and multiple devices are connected via a multimedia interface and a signal transmission channel to realize image data transmission and device control. When it is detected that the first device among the multiple devices is sending image data to the preset platform, the control command sent by the preset platform is received through the first signal channel, and the signal transmission channel between the multiple devices and the preset platform is switched to the second signal channel. The second signal channel is used to connect the preset platform and the first device, which can be any one of the multiple devices. Then, the control command is sent to the first device through the second signal channel so that the preset platform controls the first device.
[0022] In the above process, the preset platform and multiple devices are connected and transmit data through a multimedia interface and a signal transmission channel. When the first device among the multiple devices is detected to send image data to the preset platform, the control command sent by the preset platform is received through the first signal channel, and the control command is sent to the first device through the second information channel, thereby realizing the preset platform's control over the first device. Since the above process uses the first signal channel and the second signal channel to transmit data, the problem of high network latency or even network disconnection caused by network fluctuations or abnormalities when the preset platform transmits data back to multiple devices is avoided.
[0023] Therefore, the solution provided in this application achieves the goal of using the signal channel to transmit data from the preset platform to multiple devices, thereby enhancing the technical effect of data transmission stability and solving the technical problem of high latency when the preset platform transmits data back to the devices in a multi-screen teaching scenario. Attached Figure Description
[0024] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0025] Figure 1 This is a schematic diagram of a method for controlling a prior art device according to an embodiment of the present invention;
[0026] Figure 2 This is a flowchart of a method for an optional control device according to an embodiment of the present invention;
[0027] Figure 3 This is a schematic diagram of an optional control device method according to an embodiment of the present invention;
[0028] Figure 4 This is a schematic diagram of an optional control device method according to an embodiment of the present invention;
[0029] Figure 5 This is a flowchart of an optional method for controlling multiple screen devices according to an embodiment of the present invention;
[0030] Figure 6 This is a flowchart of an optional method for controlling multiple screen devices according to an embodiment of the present invention;
[0031] Figure 7 This is a system schematic diagram of an optional control device according to an embodiment of the present invention;
[0032] Figure 8 This is a schematic diagram of an optional control device according to an embodiment of the present invention. Detailed Implementation
[0033] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0035] Example 1
[0036] According to an embodiment of the present invention, a method embodiment for controlling a device is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0037] Additionally, it should be noted that the signal conversion unit can serve as the execution entity of the control device method in this embodiment, wherein the signal conversion unit can be a video matrix.
[0038] Figure 2 This is a flowchart of a control device method according to an embodiment of the present invention, such as... Figure 2 As shown, the method includes the following steps:
[0039] Step S202: When it is detected that the first device among multiple devices sends image data to the preset platform, the control command sent by the preset platform is received through the first signal channel.
[0040] In step S202, the multiple devices can be display devices, or computer devices such as laptops, desktop computers, and smart tablets. The preset platform can be a smart lectern, and the first signal channel can be a touch USB (Universal Serial Bus). Touch USB is a universal serial bus that can transmit touch information. For example, the smart lectern can send control commands containing touch information to the signal conversion unit through touch USB.
[0041] Optional, such as Figure 4 As shown, the signal conversion unit connects to a computer device, a first screen, a second screen, and a smart lectern. The computer device and the first screen can send image data to the signal conversion unit through a transmission channel, such as HDMI (High Definition Multimedia Interface). When the signal conversion unit detects the image data, it receives control commands from the smart lectern via a touch-sensitive USB1. These control commands can control the first screen, the second screen, and the computer device connected to the signal conversion unit.
[0042] It should be noted that in step S202, since the first signal channel is a universal serial bus, the control commands sent by the preset platform are received through the first signal channel. There is no need to transmit data between the preset platform and the signal conversion unit through the network, thereby avoiding the problem of high network latency when the signal conversion unit receives the control commands sent by the preset platform.
[0043] Step S204: Switch the signal transmission channel between multiple devices and the preset platform to the second signal channel.
[0044] In step S204, the second signal channel is used to connect the preset platform and the first device. The first device is any one of multiple devices. The second signal channel can be a dual-male USB. The dual-male USB can be a universal serial bus with USB on both ends, a universal serial bus with a USB interface on one end and a Type-C interface on the other end, or a universal serial bus with Type-C interfaces on both ends. The Type-C is a C-type USB interface.
[0045] Optional, such as Figure 4 As shown, the signal conversion unit is connected to the computer device via dual male USB1 and to the first screen via dual male USB2. After receiving the control command sent by the smart podium, the signal conversion unit identifies the device that the smart podium needs to control and switches to the corresponding second signal channel. For example, if the control command sent by the smart podium is to control the computer device, the signal conversion unit switches to the second signal channel of the dual male USB1 to control the computer device.
[0046] It should be noted that in step S204, since the second signal channel is a universal serial bus, the second signal channel is used to connect the preset platform and the first device, avoiding data transmission between the preset platform and all devices through network communication, thereby solving the problem of high latency when the preset platform transmits data back to multiple devices.
[0047] Step S206: Send control commands to the first device through the second signal channel so that the preset platform controls the first device.
[0048] Optional, such as Figure 4 As shown, the smart lectern is equipped with software and is connected to the signal conversion unit via a touch USB1. The smart lectern can switch the touch USB1 to either dual male USB1 or dual male USB2 based on the switching of the signal conversion unit. At the same time, the signal conversion unit has a USB switching module inside. Through the USB switching module, the smart lectern can freely switch the mapping of touch USB1 to dual male USB1 or dual male USB2.
[0049] Optionally, when the signal conversion unit switches the touch-sensitive USB1 to either dual-male USB1 or dual-male USB2, and recognizes that the computer device or PC (Open Pluggable Specification, also known as OPS, is an open, pluggable computer) module to be controlled has only one display screen, then no software needs to be installed on the computer device or PC module to enable the smart lectern's touch operations to affect the display screen on the device controlled by the computer device or PC module. For example, when the smart lectern needs to control the screen of a computer device, since this computer device has only one screen, the operator does not need to install software on this computer device. The signal conversion unit only needs to switch the second signal channel to dual-male USB1 and transmit the smart lectern's touch actions back to the computer device through the standard HID (Human Interface Device) touch device protocol, thereby enabling the smart lectern to control the screen on the computer device. The standard HID touch device protocol is a USB communication protocol that enables the transmission of touch information.
[0050] Optionally, when the signal conversion unit switches the touch USB1 to dual male USB1 or dual male USB2, and recognizes that the computer device or PC module to be controlled has at least two display screens, software needs to be installed on the computer device or PC module. This software can bind the touch device instance of the smart podium transmitted via touch USB1 to the display device instance of any one of the display screens, thereby enabling the smart podium to control the screen of any one of the display screens. For example, when the smart lectern needs to control the display of the first screen or the second screen, where the first screen has a PC module and the second screen does not, software needs to be installed on the PC module of the first screen. When the smart lectern needs to control the display of the first screen, after the signal conversion unit switches the second signal channel to dual public USB2, the software on the PC module binds the touch device instance of the smart lectern transmitted via touch USB1 to the display device instance of the first screen, thereby controlling the display of the first screen. When the smart lectern needs to control the display of the second screen, it only needs to bind the touch device instance of the smart lectern transmitted via touch USB1 to the display device instance of the second screen through the software.
[0051] Step S206 enables the preset platform to control multiple devices through the second information channel. Moreover, since the second signal channel is a universal serial bus, data transmission between the preset platform and all devices is avoided through network communication, thereby solving the problem of high latency when the preset platform sends data back to multiple devices.
[0052] Through the above steps S202 to S206, it can be understood that in this embodiment of the invention, a preset platform and multiple devices are connected through a multimedia interface and a signal transmission channel to realize image data transmission and device control. When it is detected that the first device among the multiple devices sends image data to the preset platform, the control command sent by the preset platform is received through the first signal channel, and the signal transmission channel between the multiple devices and the preset platform is switched to the second signal channel. The second signal channel is used to connect the preset platform and the first device, which is any one of the multiple devices. Then, the control command is sent to the first device through the second signal channel so that the preset platform controls the first device.
[0053] It is noteworthy that in the above process, the preset platform and multiple devices are connected and transmit data through a multimedia interface and a signal transmission channel. When the first device among the multiple devices is detected to send image data to the preset platform, the control command sent by the preset platform is received through the first signal channel, and the control command is sent to the first device through the second information channel, thereby realizing the preset platform's control over the first device. Since the above process uses the first signal channel and the second signal channel to transmit data, the problem of high network latency or even network disconnection caused by network fluctuations or anomalies when the preset platform transmits data back to multiple devices is avoided.
[0054] Therefore, the solution provided in this application achieves the purpose of using information channels to complete the data transmission from the preset platform to multiple devices, thereby enhancing the technical effect of data transmission stability and solving the technical problem of high latency when the preset platform transmits data back to the devices in a multi-screen teaching scenario.
[0055] In one optional embodiment, before receiving control commands sent by a preset platform through a first signal channel, the signal conversion unit acquires image data sent by a first device, determines an output port according to a preset mapping relationship, and sends the image data to a device connected to the output port.
[0056] Optional, such as Figure 3 As shown, the signal conversion unit can acquire image data sent by the first screen, where the first screen is a screen with a PC module. The image displayed on the first screen can be the image of the PC module. The PC module is set to extended screen mode, thereby outputting the image signal of the extended screen to the second input port IN2 of the signal conversion unit. The signal conversion unit has a preset mapping relationship from IN2 to OUT1, where OUT1 is the first output port. Through the OUT1 port, the signal conversion unit sends the image data of the first screen to the second screen.
[0057] Optional, such as Figure 3 As shown, the signal conversion unit can also acquire image data sent by the computer device. The computer device can be set to screen copy mode and output image signals to the third input port IN3 of the signal conversion unit. The signal conversion unit has a preset mapping relationship from IN3 to OUT1. Through the OUT1 port, the signal conversion unit sends the image data from the computer device to the second screen.
[0058] In one optional embodiment, the signal conversion unit sends image data to a device connected to the output port. When the output port is a first port, the image data is sent to a second device so that the second device can display the image data. The second device is any one of a plurality of devices and is different from the first device.
[0059] Optional, such as Figure 3 As shown, OUT1 is the first output port, and the device connected to it is the second screen. When the signal conversion unit sends the image data from the first device to OUT1, the second screen receives the image data and displays it. Figure 3 The first device in the process can be a computer device or a first screen.
[0060] In addition, it should be noted that when the first port is connected to a computer device, the computer device is the second device, and the corresponding first device can be the first screen or a combination of the first screen and the second screen.
[0061] By establishing the above mapping relationship, it is ensured that the image data can be displayed accurately on the corresponding device.
[0062] In one optional embodiment, when the output port is the second port, the signal conversion unit sends the image data to the preset platform so that the preset platform can display the image data.
[0063] Optional, such as Figure 3 As shown, when the signal conversion unit switches the output port of the image signal to the second port OUT2, the signal conversion unit sends the image data to the smart podium. For example, the signal conversion unit acquires the image data of the computer device, and at the same time, the signal conversion unit receives the control command of the smart podium. The signal conversion unit switches the output port of the image signal to OUT2, and then outputs the image data of the computer device to the smart podium for display.
[0064] Through the above process, the smart podium can freely switch between displaying the first screen, the second screen, and the computer device's screen, thus enabling the preset platform to freely switch between displaying the screen images of multiple devices.
[0065] In one optional embodiment, the preset platform can obtain the transmission identifier corresponding to the image data, wherein the transmission identifier corresponds to the transmission channel for transmitting the image data, and determine the third device to send the image data to the preset platform based on the transmission identifier. The first device includes a third device and a fourth device. The third device is connected to the preset platform through the fourth device, and the fourth device sends the extended screen data corresponding to the fourth device to the third device through the first port. The signal conversion unit sends the control command to the third device through the second signal channel so that the preset platform controls the third device.
[0066] Optionally, the third device can be a second screen without a PC module, and the fourth device can be a first screen with a PC module. The transmission identifier corresponding to the first image data can be an EDID (Extended Display Identification Data) identifier, which corresponds to the transmission channel of the transmitted image data. The second screen is connected to the smart podium through the first screen. Since the first screen has a PC module, by setting the PC module to extended screen mode, the first screen can output the extended screen data to the first port through the preset mapping relationship inside the signal conversion unit, and then send it to the second screen for display.
[0067] It should be noted that, as Figure 5 As shown, the smart lectern's touch control of the first or second screen is achieved through the binding of touch instances and display device instances. The smart lectern and the first screen are connected via a touch-sensitive USB interface. The PC module on the first screen can recognize the first screen display device instance, the second screen display device instance, and the smart lectern's touch device instance. A mapping relationship exists within the PC module, allowing the smart lectern's touch device instance to be bound to either the first or second screen display device instance. Once bound, the screen on either the first or second screen can be controlled. This mapping relationship enables the smart lectern to control the first or second screen via touch.
[0068] Figure 6 This is a flowchart of a method for controlling multiple screen devices, such as... Figure 6 As shown, controlling multiple screen devices includes the following steps:
[0069] Step 1: After turning on multiple devices, the smart lectern displays the binding status of the multiple devices. If the binding is successful, proceed to the next step. If the binding is unsuccessful, the operator needs to troubleshoot the cause of the problem.
[0070] Step 2: The signal conversion unit acquires the transmission identifier of the first screen;
[0071] Step 3: The signal conversion unit acquires the transmission identifier of the second screen;
[0072] Step 4: The PC module in the first screen obtains the display device instance of the first screen and the display device instance of the second screen;
[0073] Step 5: The intelligent lectern control signal conversion unit switches the output of the first or second screen to the intelligent lectern;
[0074] Step 6: The smart lectern acquires the image from the current screen and also the corresponding transmission identifier.
[0075] Step 7: The smart lectern sends the transmission identifier to the PC module on the first screen via USB or network communication;
[0076] Step 8: The PC module on the first screen obtains the touch device instance of the smart lectern;
[0077] Step 9: The PC module can bind the smart podium touch device instance to the touch device instance of the screen corresponding to the transmission identifier and make it effective immediately.
[0078] Through the above process, using touch USB and dual male USB, the smart lectern can control multiple screen devices. Moreover, since both touch USB and dual male USB are universal serial buses, the stability and reliability of touch control are greatly improved through the standard HID touch device protocol, and the latency of touch control can be ignored.
[0079] In the above process, the preset platform and multiple devices are connected and transmit data through a multimedia interface and a signal transmission channel. When the first device among the multiple devices is detected to send image data to the preset platform, the control command sent by the preset platform is received through the first signal channel, and the control command is sent to the first device through the second information channel, thereby realizing the preset platform's control over the first device. Since the above process uses the first signal channel and the second signal channel to transmit data, the problem of high network latency or even network disconnection caused by network fluctuations or abnormalities when the preset platform transmits data back to multiple devices is avoided.
[0080] Example 2
[0081] According to embodiments of the present invention, a system embodiment for a control device is also provided, wherein, Figure 7 This is a system schematic diagram of a control device according to an embodiment of the present invention, such as... Figure 7 As shown, the system includes: multiple devices, a signal conversion unit, and a preset platform.
[0082] In this configuration, multiple devices are connected to the signal conversion unit via at least one second signal channel; a preset platform is connected to the multiple devices via the signal conversion unit, and the preset platform is also connected to the signal conversion unit via a first signal channel; in addition, the signal conversion unit is also used to switch the signal transmission channel to the second signal channel when it detects that the first device among the multiple devices is sending graphic data to the preset platform, and to send control commands to the first device via the second signal channel so that the preset platform can control the first device, and the signal transmission channel is used to connect the preset platform and the multiple devices.
[0083] Optionally, the second signal channel and the first signal channel are Universal Serial Buses (USB). For example, the second signal channel can be a dual-male USB with USB interfaces at both ends, a USB interface at one end and a Type-C interface at the other end, or a USB-C interface at both ends. The Type-C interface is a type of USB-C connector. The first signal channel can be a touch-sensitive USB.
[0084] Optionally, the multiple devices may include at least a third device and a fourth device, wherein the third device and the fourth device are connected via a Universal Serial Bus (USB), and the third device performs synchronous calibration with the fourth device via the USB. The third device may be a screen device without a PC module, and the fourth device may be a screen device with a PC module. The third device and the fourth device may be connected via a touch-enabled USB connection, enabling synchronous calibration with touch control, for example... Figure 3 As shown, the first and second screens are connected via a touch USB2 interface to achieve synchronous calibration of touch control between the two screens.
[0085] Optionally, multiple devices are connected to the signal conversion unit via a multimedia interface, and a preset platform is also connected to the signal conversion unit via a multimedia interface. The multiple devices transmit their corresponding image data to the preset platform via the multimedia interface. The multimedia interface can be an HDMI high-definition multimedia interface, a VGA (Video Graphics Array, analog multimedia interface), or a DVI (Digital Visual Interface).
[0086] Optionally, the fourth device connects to the signal conversion unit via a multimedia interface to send the extended screen data corresponding to the fourth device to the third device. The fourth device contains a PC module, which can be set to extended screen mode and send the extended screen data to the third device via the signal conversion unit.
[0087] It is noteworthy that in the above process, the preset platform and multiple devices are connected and transmit data via a multimedia interface and signal transmission channel. When the first device among the multiple devices is detected sending image data to the preset platform, the platform receives control commands from the preset platform through the first signal channel and sends the control commands back to the first device through the second information channel, thereby enabling the preset platform to control the first device. The entire process does not require software installation, reducing operational complexity. Furthermore, since the above process does not require network data transmission, it avoids the problems of high network latency or even network disconnection when the preset platform transmits data back to multiple devices due to network fluctuations or anomalies.
[0088] Therefore, the solution provided in this application achieves the goal of transmitting data from a preset platform to multiple devices without the need for software, thereby enhancing the technical effect of data transmission stability and solving the technical problem of high latency when transmitting data from a preset platform to devices in multi-screen teaching scenarios.
[0089] Example 3
[0090] According to an embodiment of the present invention, a device embodiment for controlling the device is also provided, wherein, Figure 8 This is a schematic diagram of a control device according to an embodiment of the present invention, such as... Figure 8 As shown, the device includes: a receiving module 801, a switching module 803, and a transmitting module 805.
[0091] The receiving module 801 is used to receive control commands sent by the preset platform through a first signal channel when it detects that the first device among multiple devices is sending image data to the preset platform; the switching module 803 is used to switch the signal transmission channel between the multiple devices and the preset platform to a second signal channel, wherein the second signal channel is used to connect the preset platform and the first device, and the first device is any one of the multiple devices; the sending module 805 is used to send control commands to the first device through the second signal channel so that the preset platform controls the first device.
[0092] It should be noted that the receiving module 801, the switching module 803, and the sending module 805 mentioned above correspond to steps S202 to S206 in the above embodiments. The examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiment 1.
[0093] Optionally, the control device further includes: an acquisition module, a determination module, and a first transmission module. The acquisition module is used to acquire image data transmitted by the first device; the determination module is used to determine the output port according to a preset mapping relationship; and the first transmission module is used to transmit the image data to a device connected to the output port.
[0094] Optionally, the device for controlling the device further includes: a second transmitting module, used to transmit image data to a second device when the output port is the first port, so that the second device can display the image data, wherein the second device is any one of a plurality of devices, and the second device is different from the first device.
[0095] Optionally, the control device may further include: a third transmitting module, used to transmit image data to a preset platform when the output port is the second port, so that the preset platform can display the image data.
[0096] Optionally, the control device further includes: a first acquisition module, a fourth transmission module, and a fifth transmission module. The first acquisition module is used to acquire the transmission identifier corresponding to the image data, wherein the transmission identifier corresponds to the transmission channel for transmitting the image data; the fourth transmission module is used to determine, based on the transmission identifier, a third device to send the image data to the preset platform, wherein the first device includes a third device and a fourth device, the third device is connected to the preset platform through the fourth device, and the fourth device sends the extended screen data corresponding to the fourth device to the third device through a first port; the fifth transmission module is used to send control commands to the third device through a second signal channel, so that the preset platform controls the third device.
[0097] Example 4
[0098] According to another aspect of the present invention, a storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to execute the method of the control device described above when running.
[0099] Example 5
[0100] According to another aspect of the present invention, an electronic device is also provided, the electronic device including one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a method for running the programs, wherein the programs are configured to execute the above-described method of controlling the device during runtime.
[0101] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0102] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0104] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0105] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0106] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0107] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for controlling a device, executed by a signal conversion unit, characterized in that, include: When the first device among multiple devices is detected to send image data to the preset platform, the control command sent by the preset platform is received through the first signal channel; The signal transmission channel between the plurality of devices and the preset platform is switched to a second signal channel, wherein the second signal channel is used to connect the preset platform and the first device, and the first device is any one of the plurality of devices; The control command is sent to the first device through the second signal channel, so that the preset platform controls the first device; The first signal channel and the second signal channel are general-purpose serial buses.
2. The method according to claim 1, characterized in that, Before receiving the control command sent by the preset platform through the first signal channel, the method further includes: Acquire the image data sent by the first device; The output port is determined according to the preset mapping relationship; The image data is sent to a device connected to the output port.
3. The method according to claim 2, characterized in that, Sending the image data to a device connected to the output port includes: When the output port is the first port, the image data is sent to the second device so that the second device can display the image data. The second device is any one of the plurality of devices and is different from the first device.
4. The method according to claim 2, characterized in that, Sending the image data to a device connected to the output port includes: When the output port is the second port, the image data is sent to the preset platform so that the preset platform can display the image data.
5. The method according to claim 3, characterized in that, Sending the control command to the first device via the second signal channel includes: Obtain the transmission identifier corresponding to the image data, wherein the transmission identifier corresponds to the transmission channel that transmits the image data; A third device is determined to send the image data to the preset platform based on the transmission identifier. The first device includes the third device and a fourth device. The third device is connected to the preset platform through the fourth device. The fourth device sends the extended screen data corresponding to the fourth device to the third device through the first port. The control command is sent to the third device through the second signal channel so that the preset platform controls the third device.
6. A system for controlling equipment, characterized in that, include: Multiple devices; A signal conversion unit, wherein the plurality of devices are connected to the signal conversion unit via at least one second signal channel; A preset platform is connected to the plurality of devices through the signal conversion unit, wherein the preset platform is connected to the signal conversion unit through a first signal channel; The signal conversion unit is further configured to switch the signal transmission channel to the second signal channel when it detects that the first device among the plurality of devices is sending graphic data to the preset platform, and send control commands to the first device through the second signal channel so that the preset platform controls the first device. The signal transmission channel is used to connect the preset platform and the plurality of devices. The at least one second signal channel and the first signal channel are a universal serial bus.
7. The system according to claim 6, characterized in that, The plurality of devices includes at least a third device and a fourth device, wherein the third device and the fourth device are connected via the Universal Serial Bus, and the third device performs synchronous calibration with the fourth device via the Universal Serial Bus.
8. The system according to claim 7, characterized in that, The plurality of devices are connected to the signal conversion unit via a multimedia interface, and the preset platform is connected to the signal conversion unit via the multimedia interface. The plurality of devices transmit image data corresponding to the plurality of devices to the preset platform via the multimedia interface.
9. The system according to claim 8, characterized in that, The fourth device is connected to the signal conversion unit through the multimedia interface to send the extended screen data corresponding to the fourth device to the third device.
10. A signal conversion unit for a control device, characterized in that, include: The receiving module is used to receive control commands sent by the preset platform through a first signal channel when it detects that the first device among multiple devices is sending image data to the preset platform. A switching module is used to switch the signal transmission channel between the plurality of devices and the preset platform to a second signal channel, wherein the second signal channel is used to connect the preset platform and the first device, and the first device is any one of the plurality of devices; The sending module is used to send the control command to the first device through the second signal channel, so that the preset platform controls the first device; The first signal channel and the second signal channel are general-purpose serial buses.
11. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method of the control device as described in any one of claims 1 to 5 when running.
12. An electronic device, characterized in that, The electronic device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to perform operations on the programs, wherein the programs are configured to execute the method of controlling the device as described in any one of claims 1 to 5.