A device control method and apparatus
Patent Information
- Application Number
- CN202511113130.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-08
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2045-08-08
AI Technical Summary
In existing television systems, users can only perform local control, resulting in an inconvenient user experience.
By working together with gateway devices and cloud devices, GPMI signals are used to remotely control devices such as televisions, including generating and sending control signals and receiving execution results, ensuring the security and effectiveness of control signals.
It enables users to conveniently control devices such as TVs, improves user experience, and simplifies the number of devices and operating procedures.
Smart Images

Figure CN121078255B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a device control method and apparatus. Background Technology
[0002] In current television systems, the large television screen can only be controlled locally by the user, such as turning the screen on and off. This will seriously affect the user experience.
[0003] How to make it easier for users to control the large TV screen is a technical problem that urgently needs to be solved. Summary of the Invention
[0004] This application provides a device control method and apparatus to enable users to control a large television screen more conveniently.
[0005] In a first aspect, embodiments of this application provide a device control method. The execution subject of this method can be a gateway device or a module or chip within the gateway device; here, the gateway device is used as an example for description. The method includes: the gateway device receiving a first control signal forwarded by a cloud device from a first device, wherein the first control signal is used to instruct a second device to perform a first operation, and the second device and the gateway device communicate via GPMI; the gateway device sending a second control signal to the second device via GPMI, the second control signal being a GPMI signal generated based on the first control signal.
[0006] In the above method, when controlling the second device, the second device can be remotely controlled through the first device and the cloud device, instead of only being locally controlled, which makes it convenient for users to control the second device.
[0007] In one possible design, after the gateway device sends the second control signal to the second device via GPMI, the system further includes: the gateway device receiving an execution result from the second device via GPMI; wherein the execution result is used to indicate the result corresponding to the second device's execution of the first operation; and the gateway device sending the execution result to the cloud device. In this design, the gateway device can also obtain the execution result, allowing it to easily understand whether the second device successfully executed the first operation.
[0008] In one possible design, the gateway device connects to multiple devices via GPMI, each of which corresponds to a different signal type. The gateway device can store the signal types corresponding to each of the multiple devices. The second device is one of the multiple devices. Before the gateway device sends the second control signal to the second device via GPMI, the process further includes: the gateway device generating the second control signal based on the first control signal and the signal types corresponding to the second device. Sending the second control signal from the gateway device to the second device via GPMI may include: sending the second control signal to multiple devices via GPMI.
[0009] In this design, after multiple devices receive the second control signal, only the second device can parse the second control signal. This design can ensure both convenient transmission of the second control signal and the security of the second control signal.
[0010] In one possible design, the first operation includes one or more of the following: powering on, powering off, adjusting the volume of the second device to the first volume, adjusting the signal source of the second device to the first signal source, and adjusting the channel displayed on the second device to the first channel.
[0011] In one possible design, the first operation is to adjust the channel displayed on the second device to the first channel. After the gateway device sends a second control signal to the second device via GPMI, the process further includes: the gateway device receiving encoded data from the cloud device, where the encoded data is the encoded video data from the first channel; the gateway device decoding the encoded data to obtain video data; and the gateway device sending a data signal, including the video data, to the second device via GPMI, where the video data is displayed on the second device's interface. In this design, the gateway device can decode the encoded data from the cloud device to obtain video data and output the video data to the second device connected to the gateway device for display. This means the gateway device integrates both signal conversion and video decoding functions, which helps simplify the number of devices in the scenario.
[0012] In one possible design, the above method may further include: the gateway device sending a first signal to the second device via GPMI, wherein the first signal indicates that power should be supplied to the second device; the gateway device receiving a second signal from the second device via GPMI, wherein the second signal indicates that power should be accepted from the gateway device; and the gateway device supplying power to the second device via GPMI. In this design, the gateway device can supply power to the second device, avoiding the inconvenience caused by a power outage of the second device.
[0013] In one possible design, the gateway device is an optical modem.
[0014] Secondly, embodiments of this application provide a device control method. The execution subject of this method can be a cloud device or a module or chip within the cloud device; here, a cloud device is used as the execution subject for description. The method includes: the cloud device receiving a first control signal from a first device, wherein the first control signal is used to instruct a second device to perform a first operation; the cloud device sending the first control signal to a gateway device, the first control signal being used to generate a second control signal, the second control signal being a GPMI signal, and the second device communicating with the gateway device via GPMI.
[0015] In the above method, users can control the second device remotely without using a remote control, but can control the second device remotely through the first device and the cloud device, making it convenient for users to control the second device.
[0016] In one possible design, after the cloud device sends the first control signal to the gateway device, the process further includes: the cloud device receiving an execution result forwarded by the gateway device from the second device; wherein the execution result is used to indicate the result corresponding to the second device's execution of the first operation; the cloud device sending the execution result to the first device, and the execution result being displayed on the first device's interface. In this design, the cloud device can also obtain the execution result, send it to the first device, and display it on the first device's interface, allowing the user to easily understand whether the second device successfully executed the first operation.
[0017] In one possible design, the cloud device includes the status information of the second device; after receiving the execution result from the second device forwarded by the gateway device, the cloud device also includes: updating the status information of the second device based on the execution result.
[0018] In one possible design, before the cloud device receives the first control signal from the first device, the process further includes: establishing a network connection between the cloud device and the first device; the cloud device receiving a status request from the first device via the network connection, wherein the status request is used to request status information from the second device; and the cloud device sending the status information of the second device to the first device according to the status request, wherein the status information of the second device is displayed on the interface of the first device. In this method, the status information of the second device can be displayed on the interface of the first device, making it convenient for the user to view the status information of the second device at any time and thus adjust the second device.
[0019] In one possible design, the first operation includes one or more of the following: powering on, powering off, adjusting the volume of the second device to the first volume, adjusting the signal source of the second device to the first signal source, and adjusting the channel displayed on the second device to the first channel.
[0020] In one possible design, the first operation is to adjust the channel displayed on the second device to the first channel. After the cloud device sends a first control signal to the gateway device, the process further includes: the cloud device encoding the video data of the first channel to generate encoded data; the cloud device sending the encoded data to the gateway device, which then decodes the encoded data, and the resulting video data is displayed on the interface of the second device. In this design, the cloud device can encode video data to obtain encoded data and send the encoded data to the gateway device for display on the second device. Because the cloud device sends the encoded data to the gateway device, the amount of data transmitted can be reduced, improving transmission efficiency.
[0021] In one possible design, the gateway device is an optical modem.
[0022] Thirdly, embodiments of this application also provide a device control system, which includes a cloud device and a gateway device; the cloud device is used to receive a first control signal from a first device, wherein the first control signal is used to instruct a second device to perform a first operation; the cloud device is also used to send the first control signal to the gateway device; the gateway device is used to receive the first control signal from the cloud device; the gateway device is also used to send a second control signal to the second device via GPMI, wherein the second control signal is a GPMI signal generated based on the first control signal; the second device and the gateway device communicate via GPMI.
[0023] In the above method, users can control the second device remotely without using a remote control, but can control the second device remotely through the first device and the cloud device, making it convenient for users to control the second device.
[0024] In one possible design, the device control system further includes a first device and a second device; the first device is used to send a first control signal to the cloud device; and the second device is used to perform a first operation according to the second control signal.
[0025] Fourthly, embodiments of this application also provide a device control apparatus, which includes a memory and a processor. The memory is used to store computer instructions or computer programs, and the processor is used to execute the computer instructions or computer programs stored in the memory, so that the device control apparatus implements the method provided in the first or second aspect.
[0026] Fifthly, embodiments of this application also provide a computing device cluster, the computing device cluster including at least one computing device, each computing device including a processor and a memory, wherein the processor of the at least one computing device is used to execute computer instructions or computer programs stored in the memory of the at least one computing device, so that the computing device cluster implements the method provided in the first aspect or the second aspect.
[0027] In a sixth aspect, embodiments of this application also provide a computer program product, which stores computer instructions or computer programs that, when executed, implement the method provided in the first aspect.
[0028] In a seventh aspect, embodiments of this application also provide a computer-readable storage medium storing computer instructions or computer programs that, when executed, implement the method provided in the first aspect. Attached Figure Description
[0029] Figure 1A A system architecture diagram applicable to a device control method provided in this application embodiment;
[0030] Figure 1B This is a schematic diagram of the structure of a cloud device provided in an embodiment of this application;
[0031] Figure 2 A flowchart illustrating a device control method provided in an embodiment of this application;
[0032] Figure 3 A system architecture diagram provided for an embodiment of this application;
[0033] Figure 4 A schematic flowchart illustrating a power supply method provided in an embodiment of this application;
[0034] Figure 5 A flowchart illustrating a method for obtaining status information of a second device provided in an embodiment of this application;
[0035] Figure 6 This is a schematic diagram of the structure of a device control apparatus provided in an embodiment of this application;
[0036] Figure 7 This is a schematic diagram of the structure of a device control apparatus provided in an embodiment of this application;
[0037] Figure 8 This is a schematic diagram of the structure of a device control apparatus provided in an embodiment of this application;
[0038] Figure 9 This is a schematic diagram of the structure of a computing device provided in an embodiment of this application;
[0039] Figure 10 This is a schematic diagram of the structure of a computing device cluster provided in an embodiment of this application;
[0040] Figure 11 This is a schematic diagram of the structure of a computing device cluster provided in an embodiment of this application. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. The terms "first," "second," and corresponding reference numerals in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of units is not necessarily limited to those units, but may include other units not explicitly listed or inherent to these processes, methods, products, or apparatuses.
[0042] To make the objectives, technical solutions, and advantages of this application clearer, the application will be described in further detail below with reference to the accompanying drawings. The specific operating methods and functional descriptions in the method embodiments can also be applied to the device embodiments or system embodiments.
[0043] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.
[0044] Internet Protocol Television (IPTV) set-top boxes, also known as interactive network television set-top boxes, are provided by telecommunications operators (such as...). It provides live streaming and on-demand services through a dedicated closed network.
[0045] Internet TV set-top boxes (over-the-top, OTT) set-top boxes, also known as open network TV set-top boxes, transmit content (such as...) via the public internet. wait).
[0046] The present application will now be described in further detail with reference to the accompanying drawings. The specific operating methods and functional descriptions in the method embodiments can also be applied to the device embodiments or system embodiments.
[0047] Figure 1A This paper illustrates a possible system architecture diagram to which the device control method provided in the embodiments of this application is applicable. Figure 1AThe system architecture shown includes a first device 101, a cloud device 102, a gateway device 103, and a second device 104. The first device 101 and the cloud device 102 can be connected wirelessly, the cloud device 102 and the gateway device 103 can be connected via wired or wireless means, and the gateway device 103 and the second device 104 can be connected via wired or wireless means.
[0048] It should be understood that, based on Figure 1A Modifications and variations to the system architecture do not depart from the scope of protection of this application.
[0049] The following is about Figure 1A The first device 101, cloud device 102, gateway device 103, and second device 104 in the system architecture shown will be described in detail, and will not be repeated hereafter.
[0050] (1) First equipment 101
[0051] In this application embodiment, the first device 101 is a device with wireless transceiver capabilities, which can be deployed on land, including indoors or outdoors, handheld, wearable, or vehicle-mounted; it can also be deployed on water (such as on ships); and it can also be deployed in the air (such as on airplanes, balloons, and satellites). The first device 101 can be a mobile phone, tablet, computer, virtual reality (VR) terminal, augmented reality (AR) terminal, vehicle-mounted terminal, wireless terminal in self-driving, wireless terminal in remote medical care, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, wearable terminal, etc. The embodiments of this application do not limit the application scenarios.
[0052] The first device 101 can be fixed or mobile. It is understood that all or part of the functions of the first device 101 in this application can also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (e.g., a cloud platform).
[0053] The first device 101 may be equipped with an application (APP) for device control, and the user can operate the second device 104 through the operation interface provided by the APP in the first device 101.
[0054] It should be understood that the APP in the first device 101 can provide different operating interfaces for different second devices.
[0055] (2) Cloud device 102
[0056] Cloud device 102 may include a cloud management platform and infrastructure. The cloud management platform is used to manage the infrastructure that provides cloud services. The cloud management platform and infrastructure may be located in one or more data centers to provide cloud resources through one or more data centers.
[0057] The cloud management platform connects to one or more servers in the infrastructure (such as...) via the data center's internal network. Figure 1B The system interacts with servers 1 and 2. A server consists of a hardware layer and a software layer.
[0058] The hardware layer includes the hardware typically configured in a server, such as memory, general-purpose processors, peripheral component interconnect (PCI) devices, and hard drives. The general-purpose processor can be a CPU, etc., and is not limited here. PCI devices can be, for example, network interface cards (NICs), acceleration devices, offloading cards, etc., that can be plugged into the server's PCI or PCIe slots. Acceleration devices can be GPUs, tensor processing units (TPUs), neural network processing units (NPUs), deep learning processing units (DPUs), etc., and are not limited here.
[0059] The software layer includes one or more virtual machines (VMs) and an operating system installed and running on the server (the operating system relative to the VM can be called the host operating system). The VM can also be called a cloud server (Elastic Compute Service, ECS), elastic instance, etc., but this application does not specifically limit the terminology. A VM refers to a complete computer system simulated by software, possessing full hardware system functionality and running in a completely isolated environment. The specifications of the VMs can be the same or different. The host operating system contains a virtual machine manager (also called a hypervisor), whose role is to implement compute virtualization, network virtualization, and storage virtualization of the VMs, and to manage the VMs.
[0060] Specifically, in Figure 1BIn the example shown, cloud device 102 can provide an access interface (such as a user interface or application programming interface (API)). Users of the cloud management platform and cloud service providers can register cloud accounts and passwords on the cloud management platform through the access interface. After the cloud account and password are successfully authenticated on the cloud management platform, they can log in to the cloud management platform and use the cloud resources of the infrastructure to create, manage, log in to and operate virtual machines in the cloud data center.
[0061] In this embodiment, a virtual machine in cloud device 102 is connected to a gateway device 103, and a virtual machine can be connected to one or more first devices 101. For example, family A includes multiple family members, and the gateway device used by family A is gateway device A. Gateway device A is connected to a virtual machine in cloud device 102, and the mobile phones of multiple family members in family A can all connect to the virtual machine corresponding to gateway device A.
[0062] It should be understood that the virtual machine in cloud device 102 is connected to the first device 101 via the Internet. Specifically, the virtual machine in cloud device 102 provides cloud services to the first device 101 via the Internet; correspondingly, the first device 101 can access the virtual machine in cloud device 102 via the Internet to obtain cloud services provided by the infrastructure, but the first device 101 does not own cloud computing resources.
[0063] In this embodiment of the application, the virtual machine in the cloud device 102 can obtain the network packets sent by the first device 101. After obtaining the network packets, the virtual machine in the cloud device 102 can directly transmit the network packets to the gateway device 103 without performing any processing on the network packets.
[0064] (3) Gateway device 103
[0065] Gateway device 103 is a device that includes a general-purpose multimedia interface (GPMI). For example, gateway device 103 is an optical modem, which can also be called a fiber-to-the-home terminal or an optical modem. Gateway device 103 has the capability to generate GPMI signals and transmit GPMI signals through the GPMI in gateway device 103.
[0066] After gateway device 103 connects to the Internet via fiber optic cable, it connects to the virtual machine in cloud device 102 via the Internet. Gateway device 103 can receive network packets sent by the virtual machine in cloud device 102 via the Internet.
[0067] (4) Second equipment 104
[0068] In this embodiment, the second device 104 can be one or more of a display device, an audio device, and an air conditioning device. The display device can be a large television screen, a computer monitor, a projection device, or other display screens, and is not limited thereto.
[0069] The second device 104 may include one or N GPMIs, where N is a positive integer greater than 1. The GPMIs in the second device 104 are connected to the GPMIs in the gateway device 103 via GPMI lines to enable communication between the second device 104 and the gateway device 103.
[0070] The second device 104 also includes one or more processing units, wherein the processing units can parse GPMI instructions and perform corresponding operations based on the parsing results.
[0071] The second device 104 also includes a charging management module for receiving charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module can receive charging input from the wired charger via a universal serial bus (USB) interface. In some wireless charging embodiments, the charging management module can receive wireless charging input via a wireless charging coil in the second device 104. Furthermore, the charging management module can also receive power from the gateway device 103, i.e., receive charging input from the gateway device 103.
[0072] When the second device 104 is a display device, it further includes a display screen and a speaker. The display screen is used to display images, videos, etc. The display screen includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light-emitting diode (QLED), etc. In some embodiments, the display device may include one or N display screens, where N is a positive integer greater than 1. The speaker is used to convert audio electrical signals into sound signals.
[0073] Combination Figure 1AThe system architecture diagram shown in this application illustrates a device control method, which can be implemented by... Figure 1A The first device 101, cloud device 102, gateway device 103, and second device 104 interact and execute. (See also...) Figure 2 As shown, the process of this method includes:
[0074] S201, the first device generates the first control signal.
[0075] In step S201 above, the first device is equipped with an APP for device control. The user can issue user commands to the first device through the APP's interface. These user commands can instruct the user to perform a first operation on the second device. After receiving the user command, the first device can generate a first control signal based on it. The first control signal is used to instruct the second device to perform the first operation.
[0076] In the embodiments of this application, the first operation obtained by the first device is different for different second devices.
[0077] When the second device is a display device, the first operation includes one or more of the following: powering on, powering off, adjusting the volume of the display device to a first volume, adjusting the signal source of the display device to a first signal source, and adjusting the channel displayed on the display device to a first channel. Adjusting the volume of the display device to the first volume may include decreasing or increasing the volume of the display device. The signal source connected to the display device includes a signal source provided by an IPTV set-top box and a signal source provided by an OTT set-top box. The first signal source can be a signal source provided by an IPTV set-top box or a signal source provided by an OTT set-top box. The first channel can be any channel provided by the signal source provided by the IPTV set-top box, and is not limited here.
[0078] In this embodiment, the IPTV set-top box can be set up independently or integrated into the gateway device. When the IPTV set-top box is set up independently, it is connected to the second device via a GPMI cable. Similarly, the OTT set-top box can be set up independently or integrated into the gateway device. When the OTT set-top box is set up independently, it is connected to the second device via a GPMI cable.
[0079] When the second device is an audio device, the first operation includes one or more of the following: turning on the device, turning off the device, playing the previous song, playing the next song, and adjusting the volume of the audio device to a first volume. Adjusting the volume of the audio device to the first volume may include decreasing or increasing the volume of the audio device.
[0080] When the second device is an air conditioning unit, the first operation includes one or more of the following: turning on the unit, turning off the unit, and adjusting the temperature of the air conditioning unit to a first temperature. Adjusting the temperature of the air conditioning unit to the first temperature may include lowering or raising the temperature of the air conditioning unit.
[0081] In the aforementioned S201, users can remotely control display devices, audio equipment, air conditioning equipment, and other devices, which helps improve the convenience of life and form a complete smart home ecosystem.
[0082] S202, the first device sends a first control signal to the cloud device; correspondingly, the cloud device receives the first control signal sent by the first device.
[0083] In S202 above, the first device can encapsulate the first control signal in a data packet and send the data packet to the virtual machine in the cloud device.
[0084] S203, the cloud device sends a first control signal to the gateway device; correspondingly, the gateway device receives the first control signal sent by the cloud device.
[0085] In step S203 above, the virtual machine in the cloud device transparently transmits the data packet to the gateway device. This data packet includes a first control signal.
[0086] In this embodiment of the application, the gateway device includes a GPMI, which can be an optical modem, also known as a fiber-to-the-home terminal or an optical modem.
[0087] In the case where the first operation in the first control signal is to adjust the channel displayed by the display device to the first channel, the cloud device can also obtain the video data of the first channel after obtaining the first control signal, encode the video data of the first channel, generate encoded data, and send the first control signal and the encoded data to the gateway device at the same time.
[0088] S204, the gateway device generates a second control signal based on the first control signal.
[0089] In step S204 above, the gateway device obtains a first control signal from the data packet and generates a second control signal based on the signal type corresponding to the first control signal and the second device. The second control signal is a GPMI signal, used to instruct the second device to perform a first operation. The signal type of the second control signal is the same as the signal type corresponding to the second device, and the second device can parse the second control signal with the same signal type as its own.
[0090] In this embodiment, the gateway device can connect to multiple devices; for example, multiple devices can be connected to the gateway device in a cascading manner. For example, refer to... Figure 3 The gateway device is connected to a GPMI line, and display devices, audio devices, and air conditioning devices can all be connected to this GPMI line to communicate with the gateway device.
[0091] In this embodiment, each of the multiple devices corresponds to a different signal type, and the gateway device can store the signal types corresponding to each of the multiple devices. For example, the multiple devices connected to the gateway device include a display device, an audio device, and an air conditioning device, wherein the signal type corresponding to the display device is signal type A, the signal type corresponding to the audio device is signal type B, and the signal type corresponding to the air conditioning device is signal type C. When the second device is a display device, the gateway device generates a second control signal based on the first control signal and signal type A. The second control signal has signal type A, which the display device can parse, while the audio device and the air conditioning device cannot, effectively ensuring the security of the second control signal.
[0092] In the case where the first operation in the first control signal is to adjust the channel displayed by the display device to the first channel, the gateway device simultaneously receives the first control signal and encoded data sent by the cloud device, decodes the encoded data to obtain the video data of the first channel, and generates a data signal based on the video data of the first channel, wherein the data signal includes the video data of the first channel.
[0093] S205, the gateway device sends a second control signal to the second device via GPMI; correspondingly, the second device receives the second control signal sent by the gateway device via GPMI.
[0094] In this embodiment, the gateway device can send a second control signal to multiple devices connected to the gateway device via GPMI. For example, the gateway device broadcasts the second control signal via GPMI. Since multiple devices are connected to the GPMI line, all devices can receive the second control signal. Although multiple devices can receive the second control signal, only the second device can parse the second control signal.
[0095] It should be understood that because GPMI supports high bandwidth, the gateway device can send the second control signal to the second device quickly and without delay.
[0096] In the case where the first operation of the second control signal is to adjust the channel displayed by the display device to the first channel, the gateway device simultaneously sends the second control signal and the data signal to the second device. The second device can then switch to the first channel based on the control signal, and after switching to the first channel, display the video data from the data signal.
[0097] S206, the second device executes the first operation according to the second control signal.
[0098] In the above S206, when the second device is a display device, after receiving the second control signal sent by the gateway device, the display device performs the following first operation according to the second control signal. Specifically:
[0099] If the first operation is powering on, the display device will power on.
[0100] If the first operation is to power off, the display device will power off.
[0101] If the first operation is to adjust the volume of the display device to the first volume, the display device will adjust the volume to the first volume.
[0102] If the first operation involves adjusting the signal source of the display device to the first signal source, and if the display device is currently connected to a signal source provided by an IPTV set-top box, and the first signal source is provided by an OTT set-top box, then the display device switches to the signal source provided by the OTT set-top box; if the display device is currently connected to a signal source provided by an OTT set-top box, and the first signal source is provided by an IPTV set-top box, then the display device switches to the signal source provided by the IPTV set-top box.
[0103] The first operation is to adjust the channel displayed on the display device to the first channel, including the following two cases: If the display device is currently connected to a signal source provided by an IPTV set-top box, the first operation is to adjust the second channel displayed on the display device to the first channel. Here, the second channel is a TV channel different from the first channel. The display device adjusts the displayed second channel to the first channel and displays the video data of the first channel in the data signal on the display device interface.
[0104] If the display device is currently connected to a signal source provided by an OTT set-top box, the first operation is to adjust the internet content displayed on the display device to the first channel. The display device first switches to the signal source provided by the IPTV set-top box, then adjusts the displayed channel to the first channel, and displays the video data of the first channel from the data signal on the display device's interface. The internet content can be... The content provided, etc.
[0105] In S206 above, when the second device is an audio device, after receiving the second control signal sent by the gateway device, the audio device performs the following first operation according to the second control signal. Specifically:
[0106] If the first operation is powering on, the audio equipment will power on.
[0107] If the first operation is to power off, the audio equipment will power off.
[0108] If the first operation is to play the previous song, the audio device will play the previous song.
[0109] If the first operation is to play the next song, the audio equipment will play the next song.
[0110] When the first operation is to adjust the volume of the audio device to the first volume, the audio device will adjust the volume to the first volume.
[0111] In the above S206, when the second device is an air conditioning device, after receiving the second control signal sent by the gateway device, the air conditioning device performs the following first operation according to the second control signal. Specifically:
[0112] If the first operation is to turn on, the air conditioning unit will turn on.
[0113] If the first operation is to shut down, the air conditioning unit will shut down.
[0114] When the first operation is to adjust the temperature of the air conditioning unit to a first temperature, the air conditioning unit adjusts the temperature to the first temperature.
[0115] In the steps S201 to S206 above, when controlling the second device, the second device can be remotely controlled through the first device and the cloud device, instead of only being locally controlled, which makes it convenient for users to control the second device.
[0116] Optionally, Figure 2 The steps shown may also include S207 to S210.
[0117] S207, the second device determines the execution result of the first operation.
[0118] In the above S207, the execution result of the first operation is different for different second devices and different first operations.
[0119] When the second device is a display device, the execution result of the first operation corresponding to the display device is as follows:
[0120] If the first operation is to power on, and the device is shown to have successfully powered on, then the result of the first operation is that the device was powered on successfully; if the device is shown to have failed to power on, then the result of the first operation is that the device failed to power on successfully.
[0121] If the first operation is to shut down, and the device is shown to have successfully shut down, then the result of the first operation is that the device has successfully shut down; if the device is shown to have failed to shut down, then the result of the first operation is that the device has failed to shut down.
[0122] If the first operation is to adjust the volume of the display device to the first volume, and the display device successfully adjusts the volume to the first volume, then the result of the first operation is that the volume adjustment was successful; if the display device fails to adjust the volume to the first volume, then the result of the first operation is that the volume adjustment failed.
[0123] If the first operation is to adjust the signal source of the display device to the first signal source, and the adjustment of the display device to the first signal source is successful, then the execution result of the first operation is that the signal source adjustment is successful; if the adjustment of the display device to the first signal source fails, then the execution result of the first operation is that the signal source adjustment fails.
[0124] If the first operation is to adjust the channel displayed on the display device to the first channel, and the adjustment to the first channel is successful, then the result of the first operation is that the channel adjustment was successful; if the adjustment to the first channel fails, then the result of the first operation is that the channel adjustment failed.
[0125] When the second device is an audio device, the execution result of the first operation corresponding to the audio device is as follows:
[0126] If the first operation is to power on, and the audio equipment successfully powers on, then the result of the first operation is "power on successful"; if the audio equipment fails to power on, then the result of the first operation is "power on failed".
[0127] If the first operation is to shut down the audio equipment, and the shutdown is successful, then the result of the first operation is that the shutdown was successful; if the shutdown is unsuccessful, then the result of the first operation is that the shutdown was unsuccessful.
[0128] If the first operation is to play the previous song, and the audio device successfully plays the previous song, then the result of the first operation is that the previous song was played successfully; if the audio device fails to play the previous song, then the result of the first operation is that the previous song was not played.
[0129] If the first operation is to play the next song, and the audio device successfully plays the next song, then the result of the first operation is that the next song was played successfully; if the audio device fails to play the next song, then the result of the first operation is that the next song was not played.
[0130] If the first operation is to adjust the volume of the audio device to the first volume, and the audio device successfully adjusts the volume to the first volume, then the result of the first operation is that the volume adjustment was successful; if the audio device fails to adjust the volume to the first volume, then the result of the first operation is that the volume adjustment failed.
[0131] When the second device is an air conditioner, the execution result of the first operation corresponding to the air conditioner is as follows:
[0132] If the first operation is to power on the air conditioner, and the power-on process is successful, then the result of the first operation is "power-on successful"; if the power-on process fails, then the result of the first operation is "power-on failed".
[0133] If the first operation is to shut down, and the air conditioner successfully shuts down, then the result of the first operation is "shutdown successful"; if the air conditioner fails to shut down, then the result of the first operation is "shutdown failed".
[0134] If the first operation is to adjust the temperature of the air conditioner to a first temperature, and the air conditioner successfully adjusts the temperature to the first temperature, then the execution result of the first operation is that the temperature adjustment was successful; if the air conditioner fails to adjust the temperature to the first temperature, then the execution result of the first operation is that the temperature adjustment failed.
[0135] S208, the second device sends the execution result to the gateway device via GPMI; correspondingly, the gateway device receives the execution result sent by the second device via GPMI.
[0136] S209, the gateway device sends the execution result to the cloud device; correspondingly, the cloud device receives the execution result sent by the gateway device.
[0137] In S209 above, the gateway device sends the execution result to the virtual machine in the cloud device.
[0138] The virtual machine in the cloud device stores the status information of the second device. After receiving the execution result, the virtual machine in the cloud device can update the status information of the second device according to the execution result.
[0139] S210, the cloud device sends the execution result to the first device; correspondingly, the first device receives the execution result sent by the cloud device.
[0140] In the above S210, the virtual machine in the cloud device sends the execution result to the first device. After obtaining the execution result, the first device displays the execution result on its interface.
[0141] In steps S207 to S210 above, the second device sends the execution result of the first operation to the first device, so that the user can know whether the second device has successfully executed the first operation. While realizing remote control of the second device, it can also realize remote viewing of the execution result of the second device.
[0142] Optionally, Figure 2 The steps shown may also include S211 to S214.
[0143] S211, the second device determines the status information of the second device.
[0144] In S211 above, the second device may determine its status information after performing the first operation; or it may determine its status information periodically, without limitation.
[0145] In the embodiments of this application, the status information of the second device is also different for different second devices.
[0146] When the second device is a display device, the status information of the display device includes at least one of the following: power-on status, power-off status, volume value, identifier of the connected signal source, and identifier of the displayed channel.
[0147] When the second device is an audio device, the status information of the audio device includes at least one of the following: power-on status, power-off status, identification of the song being played, and volume level.
[0148] When the second device is an air conditioning unit, the status information of the air conditioning unit may include at least one of the following: power-on status, power-off status, and temperature value.
[0149] S212, the second device sends its status information to the gateway device via GPMI; correspondingly, the gateway device receives the status information sent by the second device via GPMI.
[0150] S213, the gateway device sends the status information of the second device to the cloud device; correspondingly, the cloud device receives the status information of the second device sent by the gateway device.
[0151] In step S213 above, the gateway device sends the status information of the second device to the virtual machine in the cloud device. After obtaining the status information of the second device, the virtual machine in the cloud device can store the status information of the second device.
[0152] S214, the cloud device sends the status information of the second device to the first device; correspondingly, the first device receives the status information of the second device sent by the cloud device.
[0153] In S214 above, the virtual machine in the cloud device sends the status information of the second device to the first device. After obtaining the status information of the second device, the first device displays the status information of the second device on the interface of the first device.
[0154] In steps S211 to S214 above, the status information of the second device can be displayed on the interface of the first device, so that the user can view the status information of the second device at any time and then adjust the second device.
[0155] In this application implementation, after the gateway device is powered on, it can... Figure 4 The steps shown power the second device.
[0156] S401, the gateway device sends a first signal to the second device via GPMI; correspondingly, the second device receives the first signal sent by the gateway device via GPMI.
[0157] In this embodiment of the application, after the gateway device is powered on, it can trigger the steps in S401. The first signal is used to indicate that power should be supplied to the second device. The first signal is the GPMI signal.
[0158] S402, the second device sends a second signal to the gateway device via GPMI; correspondingly, the gateway device receives the second signal sent by the second device via GPMI.
[0159] In S402 above, the second device can prompt the user whether to accept the power supply from the gateway device. If the user chooses to accept the power supply from the gateway device, the second device generates a second signal, which is used to indicate acceptance of the power supply from the gateway device. The second signal is a GPMI signal. If the user chooses not to accept the power supply from the gateway device, the second device does not perform any processing.
[0160] S403, the gateway device supplies power to the second device via GPMI.
[0161] In the above S403, the GPMI in the gateway device is connected to the GPMI in the second device via a GPMI line, and the gateway device can provide 480W of power supply to the outside through the GPMI.
[0162] It should be understood that the gateway device can also supply power to the IPTV set-top box or OTT set-top box via GPMI. The power supply method is the same as that for the gateway device to supply power to the second device, and will not be described in detail here.
[0163] Gateway devices can Figure 4 The steps shown provide power to the second device, which avoids the inconvenience caused by a power outage of the second device.
[0164] In the implementation of this application, the first device can also be configured as follows: Figure 5 The steps shown are to obtain the status information of the second device.
[0165] S501, the first device establishes a network connection with the cloud device.
[0166] In S501 above, the network connection can be any one of the following: Transmission Control Protocol (TCP), Hypertext Transfer Protocol (HTTP), or User Datagram Protocol (UDP), without any limitation.
[0167] S502, the first device sends a status request to the cloud device via a network connection; correspondingly, the cloud device receives the status request from the first device via a network connection.
[0168] In S502 above, the status request is used to request status information of the second device.
[0169] S503: The cloud device determines the status information of the second device based on the status request.
[0170] In the above S503, the virtual machine in the cloud device stores the status information of the second device, and the cloud device can directly obtain the status information of the second device.
[0171] S504, the cloud device sends the status information of the second device to the first device; correspondingly, the first device receives the status information of the second device sent by the cloud device.
[0172] In the above S504, the virtual machine in the cloud device sends the status information of the second device to the first device. After obtaining the status information of the second device, the first device displays the status information of the second device on the interface of the first device.
[0173] exist Figure 5 In the steps shown, after the first device establishes a network connection with the cloud device, it can obtain the status information of the second device through the cloud device, so that the user can check the status information of the second device at any time and then make adjustments to the second device.
[0174] This application also provides a device control system, which includes a first device, a cloud device, a gateway device, and a second device. The first device sends a first control signal to the cloud device, wherein the first control signal instructs the second device to perform a first operation. The cloud device receives the first control signal from the first device and sends a first control signal to the gateway device. The gateway device receives the first control signal from the cloud device and sends a second control signal to the second device via GPMI, wherein the second control signal is a GPMI signal generated based on the first control signal, and the second device and the gateway device communicate via GPMI. The second device receives the second control signal sent by the gateway device via GPMI and performs the first operation according to the second control signal.
[0175] Based on the above embodiments, this application also provides a device control apparatus, which is applied to, for example... Figure 1A The system architecture shown is used to implement Figure 2 or Figure 4 or Figure 5 The illustrated embodiment provides a device control method. See also... Figure 6 As shown, the device includes: a first transceiver module 601, a generation module 602, a decoding module 603, and a power supply module 604. Wherein:
[0176] The first transceiver module 601 is used to receive a first control signal forwarded by the cloud device from the first device. The first control signal is used to instruct the second device to perform a first operation. The second device communicates with the gateway device through GPMI.
[0177] The first transceiver module 601 is used to send a second control signal to the second device via GPMI, wherein the second control signal is a GPMI signal generated based on the first control signal.
[0178] In one possible implementation, the first transceiver module 601 is further configured to send a second control signal to the second device via GPMI, and then receive the execution result from the second device via GPMI; the execution result is used to indicate the result corresponding to the first operation performed by the second device; and the execution result is sent to the cloud device.
[0179] In one possible implementation, the gateway device connects to multiple devices via GPMI; the second device is one of the multiple devices; the generation module 602 is used to generate a second control signal based on the signal type corresponding to the first control signal and the second device before sending the second control signal to the second device via GPMI; the first transceiver module 601 is specifically used to send the second control signal to the multiple devices via GPMI.
[0180] In one possible implementation, the first operation includes one or more of the following: powering on, powering off, adjusting the volume of the second device to a first volume, adjusting the signal source of the second device to a first signal source, and adjusting the channel displayed on the second device to a first channel.
[0181] In one possible implementation, the first operation is to adjust the channel displayed on the second device to the first channel; the first transceiver module 601 is further configured to receive encoded data from the cloud device after sending a second control signal to the second device via GPMI, the encoded data being the encoded video data of the first channel; the decoding module 603 is configured to decode the encoded data to obtain video data; the first transceiver module 601 is further configured to send a data signal to the second device via GPMI, the data signal including video data, the video data being displayed on the interface of the second device.
[0182] In one possible implementation, the first transceiver module 601 is further configured to send a first signal to the second device via GPMI, the first signal being used to indicate power supply to the second device; receive a second signal from the second device via GPMI, the second signal being used to indicate acceptance of power supply from the gateway device; and the power supply module 604 is configured to supply power to the second device via GPMI.
[0183] In one possible implementation, the gateway device is an optical modem.
[0184] Based on the above embodiments, this application also provides a device control apparatus, which is applied to, for example... Figure 1A The system architecture shown is used to implement Figure 2 or Figure 4 or Figure 5 The illustrated embodiment provides a device control method. See also... Figure 7 As shown, the device includes: a second transceiver module 701, an update module 702, a connection module 703, and an encoding module 704. Wherein:
[0185] The second transceiver module 701 is used to receive a first control signal from the first device, the first control signal being used to instruct the second device to perform a first operation;
[0186] The second transceiver module 701 is used to send a first control signal to the gateway device. The first control signal is used to generate a second control signal, which is a GPMI signal. The second device and the gateway device communicate through GPMI.
[0187] In one possible implementation, the second transceiver module 701 is further configured to receive the execution result forwarded by the gateway device from the second device after sending the first control signal to the gateway device; the execution result is used to indicate the result corresponding to the first operation performed by the second device; and the execution result is sent to the first device and displayed on the interface of the first device.
[0188] In one possible implementation, the cloud device includes the status information of the second device; the update module 702 is used to receive the execution result from the second device forwarded by the gateway device, and then update the status information of the second device according to the execution result.
[0189] In one possible implementation, the connection module 703 is used to establish a network connection with the first device before receiving the first control signal from the first device; the second transceiver module 701 receives a status request from the first device through the network connection, the status request being used to request status information of the second device; according to the status request, it sends the status information of the second device to the first device, and the status information of the second device is displayed on the interface of the first device.
[0190] In one possible implementation, the first operation includes one or more of the following: powering on, powering off, adjusting the volume of the second device to a first volume, adjusting the signal source of the second device to a first signal source, and adjusting the channel displayed on the second device to a first channel.
[0191] In one possible implementation, the first operation is to adjust the channel displayed on the second device to the first channel;
[0192] The encoding module 704 is used to encode the video data of the first channel after sending the first control signal to the gateway device, and generate encoded data; the second transceiver module 701 is used to send the encoded data to the gateway device, the encoded data is decoded by the gateway device, and the video data obtained after decoding is displayed on the interface of the second device.
[0193] In one possible implementation, the gateway device is an optical modem.
[0194] In the embodiments of this application, the first transceiver module, the generation module, the decoding module, the power supply module, the second transceiver module, the update module, the connection module, and the encoding module can all be implemented in software or in hardware. For example, the implementation of the generation module will be described below. Similarly, the implementation of the first transceiver module, the decoding module, the power supply module, the second transceiver module, the update module, the connection module, and the encoding module can refer to the implementation of the generation module.
[0195] As an example of a software functional unit, a module can include code running on a compute instance. A compute instance can include at least one of a physical host (computing device), a virtual machine, or a container. Furthermore, the compute instance can be one or more. For example, a module can include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code can be distributed within the same region or in different regions. Further, the multiple hosts / virtual machines / containers used to run the code can be distributed within the same availability zone (AZ) or in different AZs, each AZ comprising one or more geographically proximate data centers. Typically, a region can include multiple AZs.
[0196] Similarly, multiple hosts / virtual machines / containers used to run this code can be distributed within the same Virtual Private Cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Communication between two VPCs within the same region, as well as between VPCs in different regions, requires a communication gateway to be set up within each VPC to enable interconnection between VPCs.
[0197] As an example of a hardware functional unit, a module can include at least one computing device, such as a server. Alternatively, it can be a device implemented using a programmable logic device (PLD). The PLD can be implemented using a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), generic array logic (GAL), or any combination thereof.
[0198] The multiple computing devices included in the generation module can be distributed within the same region or in different regions. Similarly, the multiple computing devices included in the generation module can be distributed within the same Availability Zone (AZ) or in different AZs. Likewise, the multiple computing devices included in the generation module can be distributed within the same Virtual Private Cloud (VPC) or multiple VPCs. These multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0199] It should be noted that, in some embodiments, the first transceiver module is used to receive a first control signal forwarded by the cloud device from the first device. The first control signal is used to instruct the second device to perform a first operation. The second device communicates with the gateway device through GPMI. The first transceiver module is used to send a second control signal to the second device through GPMI. The second control signal is a GPMI signal generated based on the first control signal.
[0200] In other embodiments, the second transceiver module is used to receive a first control signal from the first device, the first control signal being used to instruct the second device to perform a first operation; the second transceiver module is used to send the first control signal to the gateway device, the first control signal being used to generate a second control signal, the second control signal being a GPMI signal, and the second device communicating with the gateway device via GPMI.
[0201] Based on the above embodiments, this application also provides a device control apparatus, which is used to implement the following: Figure 2 The device control method shown has the following characteristics: Figure 8 The functions of the equipment control device shown are described. (See also...) Figure 8 As shown, the device control device 800 includes: a processor 801 and a memory 802.
[0202] The processor 801 and the memory 802 are interconnected. Optionally, the processor 801 and the memory 802 can be interconnected via a bus 803; the bus 803 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0203] Optionally, the device control unit 800 further includes a communication module 804 for communicating and interacting with other devices. Optionally, the communication module 804 can communicate with other devices wirelessly; for example, the communication module 804 can be an RF circuit, a WiFi module, etc. The communication module 804 can also communicate with other devices physically; for example, the communication module 804 can be a communication interface.
[0204] The processor 801 is used to implement, for example Figure 2 The specific process of the device control method shown can be referred to the detailed description in the above embodiments, and will not be repeated here.
[0205] The memory 802 is used to store programs and data. Specifically, the program may include program code, which includes instructions for computer operation. The memory 802 may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. The processor 801 executes the program stored in the memory 802 to implement the above functions, thereby achieving the following: Figure 2 The device control method shown.
[0206] In summary, the embodiments of this application provide a device control apparatus that allows users to control a large television screen more conveniently.
[0207] This application also provides a computing device 900. For example... Figure 9 As shown, the computing device 900 includes a bus 901, a processor 902, a memory 904, and a communication interface 903. The processor 902, the memory 904, and the communication interface 903 communicate with each other via the bus 901. The computing device 900 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in the computing device 900.
[0208] The 901 bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 9 The bus 901 may be represented by a single line, but this does not mean that there is only one bus or one type of bus. The bus 901 may include a path for transmitting information between various components of the computing device 900 (e.g., memory 904, processor 902, communication interface 903).
[0209] Processor 902 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0210] Memory 904 may include volatile memory, such as random access memory (RAM). Processor 902 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0211] The memory 904 stores executable program code, which the processor 902 executes to implement the functions of the aforementioned communication module and processing module, thereby realizing the device control method. In other words, the memory 904 stores instructions for executing the device control method.
[0212] The communication interface 903 uses transceiver modules, such as, but not limited to, network interface cards and transceivers, to enable communication between the computing device 900 and other devices or communication networks.
[0213] This application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0214] like Figure 10 As shown, the computing device cluster includes at least one computing device 900. The memory 904 of one or more computing devices 900 in the computing device cluster may store the same instructions for executing device control methods.
[0215] In some possible implementations, the memory 904 of one or more computing devices 900 in the computing device cluster may also store partial instructions for executing the device control method. In other words, a combination of one or more computing devices 900 can jointly execute the instructions for executing the device control method.
[0216] It should be noted that the memory 904 in different computing devices 900 within the computing device cluster can store different instructions, each used to execute a portion of the functions of the device control device. That is, the instructions stored in the memory 904 of different computing devices 900 can implement the functions of one or more modules among the first transceiver module, generation module, decoding module, power supply module, second transceiver module, update module, connection module, and encoding module.
[0217] In some possible implementations, one or more computing devices in a computing device cluster can be connected via a network. This network can be a wide area network (WAN) or a local area network (LAN), etc. Figure 11 One possible implementation is shown. For example... Figure 11 As shown, two computing devices 900A and 900B are connected via a network. Specifically, they are connected to the network through communication interfaces in each computing device. In this possible implementation, the memory 904 in computing device 900A stores instructions for performing the functions of a first transceiver module, a generation module, a decoding module, and a power supply module. Simultaneously, the memory 904 in computing device 900B stores instructions for performing the functions of a second transceiver module, an update module, a connection module, and an encoding module.
[0218] It should be understood that Figure 11 The functions of the computing device 900A shown can also be performed by multiple computing devices 900. Similarly, the functions of the computing device 900B can also be performed by multiple computing devices 900.
[0219] This application also provides another computing device cluster. The connection relationships between the computing devices in this computing device cluster can be similarly referred to... Figure 10 and Figure 11 The connection method of the computing device cluster is different in that the memory 904 of one or more computing devices 900 in the computing device cluster can store the same instructions for executing device control methods.
[0220] In some possible implementations, the memory 904 of one or more computing devices 900 in the computing device cluster may also store partial instructions for executing the device control method. In other words, a combination of one or more computing devices 900 can jointly execute the instructions for executing the device control method.
[0221] This application also provides a computer program product containing instructions. The computer program product may be a software or program product containing instructions, capable of running on a computing device or stored on any usable medium. When the computer program product is run on at least one computing device, it causes the at least one computing device to perform a device control method.
[0222] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to perform a device control method.
[0223] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.
[0224] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0225] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.
[0226] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0227] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0228] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A device control method, characterized in that, Applied to gateway devices, including: The device receives a first control signal forwarded from the first device by the cloud device. The first control signal is used to instruct the second device to perform a first operation. The second device communicates with the gateway device through the General Multimedia Interface (GPMI). The second control signal is sent to the second device via the GPMI, and the second control signal is a GPMI signal generated based on the first control signal.
2. The method as described in claim 1, characterized in that, After sending the second control signal to the second device via the GPMI, the method further includes: The execution result is received from the second device via the GPMI; the execution result is used to indicate the result of the second device performing the first operation. The execution result is sent to the cloud device.
3. The method as described in claim 1 or 2, characterized in that, The gateway device is connected to multiple devices via the GPMI; the second device is one of the multiple devices. Before sending the second control signal to the second device via the GPMI, the method further includes: The second control signal is generated based on the first control signal and the signal type corresponding to the second device; Sending the second control signal to the second device via the GPMI includes: The second control signal is sent to the plurality of devices via the GPMI.
4. The method according to any one of claims 1-3, characterized in that, The first operation includes one or more of the following: Power on, Power off Adjust the volume of the second device to the first volume. Adjust the signal source of the second device to the first signal source. Adjust the channel displayed on the second device to the first channel.
5. The method according to any one of claims 1-4, characterized in that, The first operation is to adjust the channel displayed on the second device to the first channel; After sending the second control signal to the second device via the GPMI, the method further includes: Receive encoded data from the cloud device, wherein the encoded data is the encoded video data of the first channel; The encoded data is decoded to obtain the video data; The GPMI sends a data signal to the second device, the data signal including the video data, which is displayed on the interface of the second device.
6. The method according to any one of claims 1-5, characterized in that, Also includes: The GPMI sends a first signal to the second device, the first signal being used to indicate that power should be supplied to the second device; The GPMI receives a second signal from the second device, the second signal indicating acceptance of power from the gateway device; The second device is powered via the GPMI.
7. The method according to any one of claims 1-6, characterized in that, The gateway device is an optical modem.
8. A device control method, characterized in that, Applied to cloud devices, including: Receive a first control signal from a first device, the first control signal being used to instruct a second device to perform a first operation; The first control signal is sent to the gateway device. The first control signal is used to generate a second control signal. The second control signal is a General Multimedia Interface (GPMI) signal. The second device communicates with the gateway device through GPMI.
9. The method as described in claim 8, characterized in that, After sending the first control signal to the gateway device, the method further includes: The gateway device receives the execution result forwarded from the second device; the execution result is used to indicate the result of the second device executing the first operation. The execution result is sent to the first device, and the execution result is displayed on the interface of the first device.
10. The method as described in claim 9, characterized in that, The cloud device includes the status information of the second device; After receiving the execution result forwarded by the gateway device from the second device, the method further includes: Based on the execution result, update the status information of the second device.
11. The method according to any one of claims 8-10, characterized in that, Before receiving the first control signal from the first device, the method further includes: Establish a network connection with the first device; Through the network connection, a status request is received from the first device, the status request being used to request status information from the second device; Based on the status request, the status information of the second device is sent to the first device, and the status information of the second device is displayed on the interface of the first device.
12. The method as described in any one of claims 8-11, characterized in that, The first operation includes one or more of the following: Power on, Power off Adjust the volume of the second device to the first volume. Adjust the signal source of the second device to the first signal source. Adjust the channel displayed on the second device to the first channel.
13. The method according to any one of claims 8-12, characterized in that, The first operation is to adjust the channel displayed on the second device to the first channel; After sending the first control signal to the gateway device, the method further includes: The video data of the first channel is encoded to generate encoded data; The encoded data is sent to the gateway device, and the encoded data is decoded by the gateway device. The resulting video data is then displayed on the interface of the second device.
14. The method according to any one of claims 8-13, characterized in that, The gateway device is an optical modem.
15. A device control system, characterized in that, The device control system includes cloud devices and gateway devices; The cloud device is used for: Receive a first control signal from a first device, the first control signal being used to instruct a second device to perform a first operation; Send the first control signal to the gateway device; The gateway device is used for: Receive a first control signal from the cloud device; The second control signal is sent to the second device via GPMI, and the second control signal is a GPMI signal generated based on the first control signal; the second device communicates with the gateway device via GPMI.
16. The equipment control system as described in claim 15, characterized in that, The equipment control system further includes a first device and a second device; The first device is used for: Send the first control signal to the cloud device; The second device is used for: The first operation is performed according to the second control signal.
17. A device control apparatus, characterized in that, Including processor and memory; The processor is configured to execute a computer program or instructions stored in the memory, causing the device control device to implement the method as described in any one of claims 1-7, or the method as described in any one of claims 8-14.
18. A computing device cluster, characterized in that, It includes at least one computing device, each computing device including a processor and memory; The processor of the at least one computing device is configured to execute computer instructions or computer programs stored in the memory of the at least one computing device, so that the cluster of computing devices implements the method as described in any one of claims 1-7, or implements the method as described in any one of claims 8-14.
19. A computer program product, characterized in that, The device stores computer instructions or computer programs that, when executed, implement the method as described in any one of claims 1-7, or the method as described in any one of claims 8-14.
20. A computer-readable storage medium, characterized in that, The device stores computer instructions or computer programs that, when executed, implement the method as described in any one of claims 1-7, or the method as described in any one of claims 8-14.
Citation Information
Patent Citations
Method and apparatus for remotely controlling device
CN107995231A
System, method and device for providing cloud service
CN117857639A
