Data transmission method and system and storage medium

By detecting usage scenario information to generate device command messages, the automatic switching of usage modes of the control device is realized, which solves the problems of device compatibility and cumbersome operation in the existing technology, and realizes the dual control function of display device and network device.

CN119031167APending Publication Date: 2024-11-26SHENZHEN KONKA ELECTRONIC TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411069853.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In existing technologies, control devices are difficult to adapt to display devices and network devices from different manufacturers at the same time, and users need to manually switch usage modes, resulting in cumbersome operation and high learning costs.

Method used

By detecting the current usage scenario information, device command messages are generated and actively sent to the wirelessly connected device, enabling the control device to automatically switch usage modes and realize dual control functions for display devices and network devices.

Benefits of technology

It simplifies the operation of switching between control modes, reduces the learning cost for users, and improves the applicability of control devices, without being limited by device model or brand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031167A_ABST
    Figure CN119031167A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of equipment control. The invention discloses a data transmission method and system and a storage medium, which can improve the applicability of control equipment, simplify the operation of switching use modes of the control equipment and reduce the learning cost invested by a user. The data transmission method comprises the following steps: detecting current use scene information, and generating a device command message based on the current use scene information; and actively sending the device command message to the first wireless connection device, so that the control device executes an operation of switching a use mode after receiving the device command message forwarded by the first wireless connection device, and when the use mode is a first mode, the device command message is sent to the first wireless connection device, and when the use mode is a second mode, the device command message is sent to the first wireless connection device. When the use mode is the first mode, the control equipment is used for controlling the display equipment, and when the use mode is the second mode, the control equipment is used for controlling the network equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of device control technology. More specifically, the present disclosure relates to a data transmission method, system and storage medium. Background Art

[0002] The data transmission method mentioned in this article is a method for realizing that a control device can control both a display device and a network device. In the prior art, there are two methods for realizing that a control device can control both a display device and a network device. The specific methods are as follows:

[0003] The first method is to set two sets of key values ​​on the control device, one set of key values ​​corresponds to the display device, and the other set of key values ​​corresponds to the network device, and then set a first button on the control device, and switch the use mode of the control device by pressing the first button. When the control device is in the first mode of the use mode, the control device can control the display device, and when the control device is in the second mode of the use mode, the control device can control the network device. However, this method has the following defects: 1) A control device can only adapt to the display device of one manufacturer and the network device of one manufacturer, and the scope of application is narrow; 2) Not only does it need to set key values, but the user also needs to manually operate the control device to switch the use mode, which makes the operation cumbersome and reduces the user experience.

[0004] The second method is to bind a third device to the display device, so that when the usage mode is the first mode, the control device uses the key value of the display device; when the usage mode is the second mode, the control device uses the key value of the third device. For the switching of usage modes, the second button on the control device for switching usage modes is manually pressed to realize the function of the control device being able to control two devices. This method has the following defects: 1) Due to the high binding threshold of the third device, users need to invest a lot of learning costs; 2) Not only does it need to bind the third device, but the user also needs to manually operate the control device to switch the usage mode, which makes the operation cumbersome and reduces the user experience.

[0005] Therefore, there are many defects in the prior art that need to be solved urgently. Summary of the invention

[0006] The purpose of the present disclosure is to provide a data transmission method, system and storage medium, which can improve the applicability of the control device, simplify the operation of switching the use mode of the control device, and reduce the learning cost invested by the user. The present disclosure is mainly implemented through the following technical solutions:

[0007] In a first aspect of the present disclosure, a data transmission method is provided, which is applied to a display device of a data transmission system, wherein the data transmission system includes a display device, a first wireless connection device connected to the display device, a control device connected to the first wireless connection device, and a network device connected to the display device and the control device, wherein the data transmission method includes:

[0008] Detecting current usage scenario information, and generating a device command message based on the current usage scenario information;

[0009] Actively send the device command message to the first wireless connection device, so that the control device performs the operation of switching the usage mode after receiving the device command message forwarded by the first wireless connection device, wherein when the usage mode is the first mode, the control device is used to control the display device, and when the usage mode is the second mode, the control device is used to control the network device.

[0010] According to an embodiment of the present disclosure, before the step of detecting the current usage scenario information and generating a device command message based on the current usage scenario information, the data transmission method further includes:

[0011] receiving a connection status message sent by the first wireless connection device and a device specification information message corresponding to the control device;

[0012] Based on the connection status message and the device specification information message, a key mapping table corresponding to the control device is allocated.

[0013] According to an embodiment of the present disclosure, before the step of detecting the current usage scenario information and generating a device command message based on the current usage scenario information, the data transmission method further includes:

[0014] Detecting current information source status information, and generating an information source status message based on the current information source status information;

[0015] Detecting current key focus information, and generating a key focus status message based on the current key focus information;

[0016] The source status message and the key focus status message are sent to the first wireless connection device, so that the control device initializes the use mode after receiving the source status message and the key focus status message forwarded by the first wireless connection device.

[0017] According to an embodiment of the present disclosure, after the step of actively sending the device command message to the first wireless connection device so that the control device performs an operation of switching the usage mode after receiving the device command message forwarded by the first wireless connection device, the data transmission method further includes:

[0018] A command reply message sent by the first wireless connection device is received to determine whether the control device has received the device command message.

[0019] According to an embodiment of the present disclosure, before the step of detecting the current usage scenario information and generating a device command message based on the current usage scenario information, the data transmission method further includes:

[0020] A status request message for the control device is sent to the first wireless connection device to obtain device status information of the control device.

[0021] According to an embodiment of the present disclosure, the display device uses an interrupt mechanism to send the device command message.

[0022] According to an embodiment of the present disclosure, the display device and the first wireless connection device perform message transmission through a standard HID protocol.

[0023] According to a second aspect of the present disclosure, a data transmission method is provided, which is applied to a control device of a data transmission system, wherein the data transmission system includes a display device, a first wireless connection device connected to the display device, a control device connected to the first wireless connection device, and a network device connected to the display device and the control device, wherein the data transmission method includes:

[0024] Receive a device command message actively sent by the display device and forwarded by the first wireless connection device, and perform an operation of switching the usage mode based on the device command message, wherein when the usage mode is a first mode, the control device is used to control the display device, and when the usage mode is a second mode, the control device is used to control the network device.

[0025] According to a third aspect of the present disclosure, a data transmission system is provided, including a display device, a network device, a first wireless connection device, a second wireless connection device and a control device, wherein the display device is used to execute the data transmission method provided by the first aspect of the present disclosure; the display device is communicatively connected to the first wireless connection device, and the first wireless connection device is communicatively connected to the control device; the control device is used to execute the data transmission method provided by the second aspect of the present disclosure; the display device is communicatively connected to the network device; the control device is communicatively connected to the second wireless connection device; and the second wireless connection device is communicatively connected to the network device.

[0026] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided for storing a computer program, wherein the computer program enables a computer to execute the steps of the data transmission method provided in the first aspect and the second aspect of the present disclosure.

[0027] The beneficial effects of the present disclosure include:

[0028] The present disclosure is to actively send a control instruction for switching the use mode to the control device of the data transmission system through the display device of the data transmission system, so that the control device can realize the dual control function of controlling both the display device and the network device of the data transmission system. Specifically, the present disclosure generates a device command message based on the current use scenario information by detecting the current use scenario information of the display device; then, actively sends the device command message to the first wireless connection device, so that the control device of the data transmission system performs the operation of switching the use mode after receiving the device command message forwarded by the first wireless connection device, wherein when the use mode is the first mode, the control device is used to control the display device, and when the use mode is the second mode, the control device is used to control the network device of the data transmission system. Therefore, the present disclosure can realize the dual control function of the control device without the user manually operating the control device. Therefore, compared with the prior art, the present disclosure can simplify the operation of switching the use mode of the control device and reduce the learning cost invested by the user.

[0029] In addition, the control device disclosed in the present invention has a processor to process data transmission and execute operations of switching usage modes, and is not limited to the model or brand of the control device, thereby improving the applicability of the control device. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the present disclosure or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure, and a person of ordinary skill in the art can obtain other drawings based on these drawings without creative work.

[0031] Figure 1 A flowchart of the data transmission method disclosed in some embodiments;

[0032] Figure 2 is a principle block diagram of the data transmission system of the present disclosure in some embodiments;

[0033] Figure 3 A schematic diagram of the timing of data transmission among the display device, the first wireless connection device and the control device in the present disclosure;

[0034] Figure 4 is a principle block diagram of the data transmission system disclosed in some other embodiments;

[0035] Figure 5 It is a timing diagram of data transmission among a TV set, a Dongle adapter and a remote controller in the present disclosure;

[0036] Figure 6 is a principle block diagram of the data transmission system disclosed in some other embodiments;

[0037] Figure 7 It is a principle block diagram of the data transmission system of the present disclosure in some further embodiments. DETAILED DESCRIPTION

[0038] In order to make the above-mentioned purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure. However, the present disclosure can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present disclosure, so the present disclosure is not limited by the specific embodiments disclosed below.

[0039] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0040] The terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in the present disclosure as "exemplary" or "for example" should not be interpreted as being more preferred or advantageous over other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete way.

[0041] The terms "comprises," "includes," or any other 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 elements is not necessarily limited to those steps or elements explicitly listed but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.

[0042] Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks, processor devices or microcontrollers.

[0043] Unless otherwise defined, all technical and scientific terms used in the specification of the present disclosure have the same meaning as those commonly understood by those skilled in the art of the present disclosure. The terms used in the specification of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The term "and / or" used in the specification of the present disclosure includes any and all combinations of one or more related listed items.

[0044] The specific embodiments of the present disclosure are further described below in conjunction with the accompanying drawings.

[0045] like Figure 1 FIG. 1 is a flowchart of a data transmission method provided by the first aspect of the present disclosure. The data transmission method is applied to a display device of a data transmission system. Figure 2 As shown, the data transmission system 100 includes a display device 101, a first wireless connection device 102 connected to the display device 101, a control device 103 connected to the first wireless connection device 102, and a network device 104 connected to the display device 101 and the control device 103.

[0046] The display device 101 is a television, a monitor, a display screen or a screen.

[0047] The first wireless connection device 102 is a dongle adapter or other Bluetooth device. The dongle is a small hardware device connected to the display device via a USB interface to provide a Bluetooth connection function.

[0048] The control device 103 is a remote controller, a microphone, a speaker or an intelligent switch.

[0049] The network device 104 is a set-top box or a TV box.

[0050] In other implementations, the display device 101 , the first wireless connection device 102 , the control device 103 , and the network device 104 are not limited to the above examples.

[0051] exist Figure 1 In the method, the data transmission method comprises:

[0052] S1. Detect current usage scenario information, and generate a device command message based on the current usage scenario information.

[0053] The current usage scenario information is selected from any one of the first local interface information and the first network interface information. The first local interface information is the interface information of the playback source locally on the display device. Exemplarily, the first local interface information is the homepage, boot interface, setting tool interface or multimedia playback interface of the display device. The first network interface information is the interface information provided by the network device to the display device, and the display device displays the first network interface information.

[0054] The format of the device command message includes at least a first connection ID, a first message type index and a first data part.

[0055] In the present disclosure, the first connection ID is 0x01, which means that the device command message is sent to the control device with the first preset connection ID of 0x01. The first preset connection ID is assigned by the first wireless connection device. Specifically, when the control device establishes a connection with the first wireless connection device, the first wireless connection device records the MAC address of the control device and assigns a one-byte first preset connection ID (connectID) to the MAC address, for example, 0x01, 0x02 or 0x03.

[0056] It should also be understood that the first wireless connection device will assign a first preset connection ID to all devices connected thereto, except the display device. Exemplarily, for the first connected device, the first first preset connection ID is assigned as 0x01; for the second connected device, the second first preset connection ID is assigned as 0x02; for the third connected device, the third first preset connection ID is assigned as 0x03, and so on, until each device connected thereto is assigned a corresponding first preset connection ID, except the display device.

[0057] The first message type index is 0x2001. The first message type index is used to quickly identify the specific type of the device command message to optimize the processing flow of the device command message.

[0058] The first byte of the first data part is 0x01 or 0x02, wherein 0x01 represents the forced switching of the use mode to the first mode (i.e., the mode in which the control device controls the display device), and 0x02 represents the forced switching of the use mode to the second mode (i.e., the mode in which the control device controls the network device). When the current use scenario information is the first local interface information, the first byte of the first data part is 0x01; when the current use scenario information is the first network interface information, the first byte of the first data part is 0x02.

[0059] In some embodiments, the first byte of the first data part is 0x01 or 0x02, and the second byte of the first data part is 0x01 or 0x02, wherein when the first byte of the first data part is 0x01, it indicates that the low power consumption mode is enabled; when the first byte of the first data part is 0x02, it indicates that the low power consumption mode is disabled; when the second byte of the first data part is 0x01, it indicates that the use mode is forced to be switched to the first mode; when the second byte of the first data part is 0x02, it indicates that the use mode is forced to be switched to the second mode.

[0060] It should be understood that, in other implementations, the first data portion may be set by those skilled in the art according to actual needs.

[0061] S2. Actively send the device command message to the first wireless connection device, so that the control device performs an operation of switching the usage mode after receiving the device command message forwarded by the first wireless connection device, wherein when the usage mode is the first mode, the control device is used to control the display device, and when the usage mode is the second mode, the control device is used to control the network device.

[0062] Through the above implementation, the present disclosure can realize the dual control function of the control device without the user manually operating the control device. Therefore, compared with the prior art, the present disclosure can simplify the operation of switching the use mode of the control device and reduce the learning cost invested by the user.

[0063] In addition, the control device disclosed in the present invention has a processor to process data transmission and execute operations of switching usage modes, and is not limited to the model or brand of the control device, thereby improving the applicability of the control device.

[0064] In some embodiments, reference Figure 3 Before the step S1, the data transmission method further includes:

[0065] S3. Receive a connection status message sent by the first wireless connection device and connected to the control device and a device specification information message corresponding to the control device.

[0066] The format of the connection status message includes at least a second connection ID, a second message type index and a second data part.

[0067] In the present disclosure, the second connection ID is 0x01, which means that the connection status message is the connection relationship between the control device with the second preset connection ID of 0x01 and the first wireless connection device. The second preset connection ID has the same meaning as the first preset connection ID.

[0068] The second message type index is 0x1002. The second message type index is used to quickly identify the specific type of the connection status message to optimize the processing flow of the connection status message.

[0069] The first byte of the second data part is 0x00 or 0x01, wherein when the first byte of the second data part is 0x00, it represents that the control device is disconnected from the first wireless connection device, and when the first byte of the second data part is 0x01, it represents that the control device is connected to the first wireless connection device.

[0070] The format of the device specification information message includes at least a third connection ID, a third message type index and a third data part.

[0071] The third connection ID is 0x01, which means that the device specification information message is a device specification information message of a control device whose third preset connection ID is 0x01. The third preset connection ID has the same meaning as the first preset connection ID.

[0072] The third message type index is 0x1003, and the third message type index is used to quickly identify the specific type of the device specification information message to optimize the processing flow of the device specification information message.

[0073] The first byte of the third data part is PID (Product ID); the second byte of the third data part is VID (Vendor ID); the third byte of the third data part is 0x01, 0x02 or 0x03; when the control device is a microphone, the third byte of the third data part is 0x01; when the control device is a remote control, the third byte of the third data part is 0x02; when the control device is a speaker, the third byte of the third data part is 0x03.

[0074] In other embodiments, the third data portion also includes a fourth byte, a fifth byte, and a sixth byte, wherein the fourth byte is exemplarily 0x04 or 0x05, wherein 0x04 represents the first software version and 0x05 represents the second software version; the fifth byte is exemplarily 0x06 or 0x07, wherein 0x06 represents the first hardware version and 0x07 represents the second hardware version.

[0075] In other implementations, the third data portion further includes a sixth byte, which is used to indicate a device name of the control device.

[0076] S4. Allocate a key mapping table corresponding to the control device based on the connection status message and the device specification information message.

[0077] The button mapping table refers to the correspondence between each button on the control device and the internal function or operation of the display device. This mapping relationship allows the user to control various functions of the display device through the physical buttons on the control device.

[0078] In some implementations, before the step S1, the data transmission method further includes:

[0079] S5. Detect current information source status information, and generate an information source status message based on the current information source status information.

[0080] In the present disclosure, the current source state information is selected from any one of the second local interface information and the second network interface information. The second local interface information is the homepage, boot interface, setting tool interface or multimedia playback interface of the display device. The second network interface information is interface information provided by the network device to the display device, and the display device displays the second network interface information.

[0081] The format of the source status message includes at least a fourth connection ID, a fourth message type index and a fourth data part.

[0082] The fourth connection ID is 0x01, which means that the source status message is sent to a control device whose fourth preset connection ID is 0x01. The fourth preset connection ID has the same meaning as the first preset connection ID.

[0083] The fourth message type index is 0x2E01, and the fourth message type index is used to quickly identify the specific type of the source status message to optimize the processing flow of the source status message.

[0084] The first byte of the fourth data part is 0x00 or 0x01, wherein, when the current source status information is the second local interface information, the first byte of the fourth data part is 0x00, and when the current source status information is the second network interface information, the first byte of the fourth data part is 0x01; the second byte of the fourth data part is 0x00 or 0x01, wherein, when the current source status information is the second local interface information, the second byte of the fourth data part is 0x00, indicating that the source channel connecting the display device and the network device has no signal; when the current source status information is the second network interface information, the second byte of the fourth data part is 0x01, indicating that the source channel connecting the display device and the network device has a signal.

[0085] S6. Detect current key focus information, and generate a key focus status message based on the current key focus information.

[0086] The current key focus information indicates that the key focus has not been seized by the floating window or that the key focus has been seized by the floating window. When the display device detects that the key focus on the screen of the display device is not seized by the floating window, the current key focus information indicates that the key focus has not been seized by the floating window; when the display device detects that the key focus on the screen of the display device is seized by the floating window, the current key focus information indicates that the key focus has been seized by the floating window.

[0087] The key focus state message includes at least a fifth connection ID, a fifth message type index and a fifth data portion.

[0088] In the present disclosure, the fifth connection ID is 0x01, which means that the key focus state message is sent to the control device whose fifth preset connection ID is 0x01. The fifth preset connection ID has the same meaning as the first preset connection ID.

[0089] The fifth message type index is 0x2E02. The fifth message type index is used to quickly identify the specific type of the key focus state message to optimize the processing flow of the key focus state message.

[0090] The first byte of the fifth data part is 0x00 or 0x01. Specifically, when the current key focus information indicates that the key focus has not been seized by the floating window, the first byte of the fifth data part is 0x00; when the current key focus information indicates that the key focus has been seized by the floating window, the first byte of the fifth data part is 0x01.

[0091] S7: Send the information source status message and the key focus status message to the first wireless connection device, so that the control device initializes the use mode after receiving the information source status message and the key focus status message forwarded by the first wireless connection device.

[0092] In the present disclosure, the logic of initializing the usage mode is as follows: when the first byte of the fourth data part in the source status message is 0x00, the usage mode is initialized to the first mode; when the first byte of the fourth data part in the source status message is 0x01, and the second byte of the fourth data part is 0x00, the usage mode is initialized to the first mode; when the first byte of the fourth data part in the source status message is 0x01, the second byte of the fourth data part is 0x01, and the first byte of the fifth data part in the key focus status message is 0x00, the usage mode is initialized to the second mode; when the first byte of the fourth data part in the source status message is 0x01, the second byte of the fourth data part is 0x01, and the first byte of the fifth data part in the key focus status message is 0x01, the usage mode is initialized to the first mode.

[0093] In some embodiments, reference Figure 3 As shown, after the step S2, the data transmission method further includes: receiving a command reply message sent by the first wireless connection device to determine whether the control device has received the device command message.

[0094] The command reply message is sent by the control device to the first wireless connection device, and then forwarded by the first wireless connection device to the display device.

[0095] The command reply message includes at least a sixth connection ID, a sixth message type index and a sixth data part.

[0096] The sixth connection ID is 0x01, which means that the command reply message is a command reply message sent by a control device whose sixth preset connection ID is 0x01. The sixth preset connection ID has the same meaning as the first preset connection ID.

[0097] The sixth message type index is 0x1001, and the sixth message type index is used to quickly identify the specific type of the command reply message to optimize the processing flow of the command reply message.

[0098] The first byte of the sixth data portion is 0x01.

[0099] In some implementations, before the step S1, the data transmission method further includes: sending a status request message for the control device to the first wireless connection device to obtain device status information of the control device. The status request message includes at least a seventh connection ID, a seventh message type index, and a seventh data portion.

[0100] The seventh connection ID is 0x01, which means that the status request message is sent to the control device whose seventh preset connection ID is 0x01. The seventh preset connection ID has the same meaning as the first preset connection ID.

[0101] The seventh message type index is 0x2002. The seventh message type index is used to quickly identify the specific type of the status request message to optimize the processing flow of the status request message.

[0102] The seventh data part is 0x1E01 or 0x1E02. When the seventh data part is 0x1E01, the device status information is power status information; when the seventh data part is 0x1E02, the device status information is volume status information.

[0103] In other implementations, the first byte of the seventh data portion may also be other content, which is specifically determined by those skilled in the art according to actual needs.

[0104] In some implementations, the display device uses an interrupt mechanism to send the device command message to improve the real-time performance of data transmission.

[0105] In some implementations, the display device and the first wireless connection device perform message transmission via a standard HID protocol.

[0106] Specifically, the message transmission (data transmission) disclosed in the present invention is based on the user-defined usage page in the standard HID protocol, and its report descriptor is shown in Table 1. Among them, the report ID of the data sent by the display device to the first wireless connection device is A0, and the report ID of the data sent by the first wireless connection device to the display device is A1. The report descriptor refers to the data reporting format description in the USB-HID protocol. The report ID is the identification information of the data in the USB-HID protocol.

[0107] Table 1

[0108]

[0109]

[0110] According to the above described embodiments, a data transmission method provided in the first aspect of the present disclosure is applicable to an application scenario in which a remote controller switches a usage mode to control a television or a set-top box. In this application scenario, the television is used as the display device, the remote controller is used as the control device, the set-top box is used as the network device, and the Dongle adapter is used as the first wireless connection device.

[0111] refer to Figure 4 As shown, it is a principle block diagram of the data transmission system 200 for the above application scenario. Figure 4 In the embodiment, the TV set 201 is connected to the remote controller 203 via the Dongle adapter 202, the set-top box 204 is connected to the remote controller 203, and the set-top box 204 is connected to the TV set 201 via an HDMI cable.

[0112] In the above application scenario, the data transmission method provided in the first aspect of the present disclosure is applied to the television, and the data transmission method includes:

[0113] S10. Detect current usage scenario information, and generate a device command message based on the current usage scenario information.

[0114] S20, actively sending the device command message to the Dongle adapter, so that the remote control performs an operation of switching the usage mode after receiving the device command message forwarded by the Dongle adapter, wherein when the usage mode is the first mode, the remote control is used to control the TV, and when the usage mode is the second mode, the remote control is used to control the set-top box.

[0115] It should be understood that when the current usage scenario information is the first local interface information, it means that the TV displays the TV system page (that is, the homepage of the TV); when the current usage scenario information is the first network interface information, it means that the TV displays the set-top box interface transmitted by the set-top box.

[0116] The first mode is a TV mode, and the second mode is a set-top box mode.

[0117] Before the step S10, refer to Figure 5As shown, the data transmission method also includes: receiving a connection status message sent by the Dongle adapter and connected to the remote control and a device specification information message corresponding to the remote control; based on the connection status message and the device specification information message, allocating a key mapping table corresponding to the remote control.

[0118] Before the step S10, the data transmission method also includes: detecting current source status information, and generating a source status message based on the current source status information; detecting current button focus information, and generating a button focus status message based on the current button focus information; sending the source status message and the button focus status message to the Dongle adapter, so that the remote control initializes the usage mode after receiving the source status message and the button focus status message forwarded by the Dongle adapter.

[0119] After the step S20, refer to Figure 5 As shown, the data transmission method further includes: receiving a command reply message sent by the Dongle adapter to determine whether the control device has received the device command message.

[0120] Before the step S10, the data transmission method further includes: sending a status request message for the remote controller to the Dongle adapter to obtain device status information of the remote controller.

[0121] A second aspect of the present disclosure provides a data transmission method, which is applied to a control device of a data transmission system. Figure 2 As shown, the data transmission system 100 includes a display device 101, a first wireless connection device 102 connected to the display device 101, a control device 103 connected to the first wireless connection device 102, and a network device 104 connected to the display device 101 and the control device 103.

[0122] The data transmission method provided in the second aspect of the present disclosure includes:

[0123] S1000. Receive a device command message actively sent by the display device and forwarded by the first wireless connection device, and perform an operation of switching the usage mode based on the device command message, wherein when the usage mode is a first mode, the control device is used to control the display device, and when the usage mode is a second mode, the control device is used to control the network device.

[0124] In some embodiments, reference Figure 3 As shown, before the step S1000, the data transmission method further includes:

[0125] S2000. Send a device specification information message of the control device and a connection status message of the control device and the first wireless connection device to the first wireless connection device, so that the display device allocates a key mapping table corresponding to the control device after receiving the device specification information message and the connection status message.

[0126] In some implementations, before step S1000, the data transmission method further includes:

[0127] S3000: Receive a source status message and a key focus status message sent by the display device and forwarded by the first wireless connection device.

[0128] S4000: Initialize the usage mode based on the information source status message and the button focus status message.

[0129] In some implementations, after step S1000, the data transmission method further includes:

[0130] A command reply message is generated and sent to the first wireless connection device, so that the display device determines that the control device has received the device command message after receiving the command reply message.

[0131] It should be understood that the data transmission method provided in the second aspect of the present disclosure is applicable to an application scenario in which a remote controller switches a usage mode to control a television or a set-top box. In this application scenario, the television is used as the display device, the remote controller is used as the control device, the set-top box is used as the network device, and the Dongle adapter is used as the first wireless connection device.

[0132] refer to Figure 4 As shown, it is a principle block diagram of the data transmission system 200 for the above application scenario. Figure 4 In the embodiment, the data transmission system 200 includes a TV set 201, a dongle adapter 202 connected to the TV set 201, a remote controller 203 connected to the dongle adapter 202, and a set-top box 204 connected to the TV set 201 and the remote controller 203.

[0133] In the above application scenario, the data transmission method provided in the second aspect of the present disclosure is applied to the remote controller, and the data transmission method includes:

[0134] S1100, receiving a device command message actively sent by the TV and forwarded by the Dongle adapter, and performing an operation of switching a usage mode based on the device command message, wherein when the usage mode is a first mode, the remote controller is used to control the TV, and when the usage mode is a second mode, the remote controller is used to control the set-top box.

[0135] The first mode is a TV mode, and the second mode is a set-top box mode.

[0136] In some embodiments, reference Figure 5 As shown, before the S1100 step, the data transmission method also includes: sending a device specification information message of the remote control and a connection status message of the remote control and the Dongle adapter to the Dongle adapter, so that the TV set allocates a key mapping table corresponding to the remote control after receiving the device specification information message and the connection status message.

[0137] In some implementations, before the step S1100, the data transmission method further includes: receiving a source status message and a key focus status message sent by the TV and forwarded by the Dongle adapter; and initializing the usage mode based on the source status message and the key focus status message.

[0138] In some implementations, after the step S1100, the data transmission method further includes: generating a command reply message and sending it to the Dongle adapter, so that after receiving the command reply message, the TV determines that the remote control has received the device command message.

[0139] According to a third aspect of the present disclosure, a data transmission system is provided. Figure 6 As shown, the data transmission system 300 includes a display device 301, a first wireless connection device 302, a control device 303, a second wireless connection device 304 and a network device 305, wherein the display device 301 is used to execute the data transmission method provided by the first aspect of the present disclosure; the display device 301 is communicatively connected to the first wireless connection device 302, and the first wireless connection device 302 is communicatively connected to the control device 303; the control device 303 is used to execute the data transmission method provided by the second aspect of the present disclosure; the display device 301 is communicatively connected to the network device 305; the control device 303 is communicatively connected to the second wireless connection device 304; the second wireless connection device 304 is communicatively connected to the network device 305.

[0140] The second wireless connection device 304 has the same structure as the first wireless connection device 302 .

[0141] It should be understood that the data transmission system provided in the third aspect of the present disclosure is applicable to an application scenario in which a remote controller switches a usage mode to control a television or a set-top box. In this application scenario, the television is used as the display device, the remote controller is used as the control device, the set-top box is used as the network device, the first dongle adapter is used as the first wireless connection device, and the second dongle adapter is used as the second wireless connection device.

[0142] refer to Figure 7 As shown, it is a principle block diagram of a data transmission system 400 for the above application scenario. Figure 7 In the embodiment, a TV set 401 is connected to a remote controller 403 via a first Dongle adapter 402, a set-top box 405 is connected to the remote controller 403 via a second Dongle adapter 404, and the set-top box 405 is connected to the TV set 401 via an HDMI cable.

[0143] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided for storing a computer program, wherein the computer program enables a computer to execute the steps of the above-mentioned data transmission method.

[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0145] The technical features of the above embodiments can be combined without changing the basic principles of the present disclosure. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0146] The above embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the patent protection scope of the present disclosure shall be subject to the attached claims.

Claims

1. A data transmission method, applied to a display device of a data transmission system, wherein the data transmission system comprises a display device, a first wireless connection device connected to the display device, a control device connected to the first wireless connection device, and a network device connected to the display device and the control device, characterized in that: include: Detecting current usage scenario information, and generating a device command message based on the current usage scenario information; Actively send the device command message to the first wireless connection device, so that the control device performs the operation of switching the usage mode after receiving the device command message forwarded by the first wireless connection device, wherein when the usage mode is the first mode, the control device is used to control the display device, and when the usage mode is the second mode, the control device is used to control the network device.

2. The data transmission method according to claim 1, characterized in that: Before the step of detecting the current usage scenario information and generating a device command message based on the current usage scenario information, the data transmission method further includes: receiving a connection status message sent by the first wireless connection device and a device specification information message corresponding to the control device; Based on the connection status message and the device specification information message, a key mapping table corresponding to the control device is allocated.

3. The data transmission method according to claim 1, characterized in that: Before the step of detecting the current usage scenario information and generating a device command message based on the current usage scenario information, the data transmission method further includes: Detecting current information source status information, and generating an information source status message based on the current information source status information; Detecting current key focus information, and generating a key focus status message based on the current key focus information; The source status message and the key focus status message are sent to the first wireless connection device, so that the control device initializes the use mode after receiving the source status message and the key focus status message forwarded by the first wireless connection device.

4. The data transmission method according to claim 1, characterized in that: After the step of actively sending the device command message to the first wireless connection device so that the control device of the data transmission system performs an operation of switching the usage mode after receiving the device command message forwarded by the first wireless connection device, the data transmission method further includes: A command reply message sent by the first wireless connection device is received to determine that the control device has completed the switching operation of the usage mode.

5. The data transmission method according to claim 1, characterized in that: Before the step of detecting the current usage scenario information and generating a device command message based on the current usage scenario information, the data transmission method further includes: A status request message for the control device is sent to the first wireless connection device to obtain device status information of the control device.

6. The data transmission method according to claim 1, characterized in that: The display device uses an interrupt mechanism to send the device command message.

7. The data transmission method according to claim 1, characterized in that: The display device and the first wireless connection device perform message transmission via a standard HID protocol.

8. A data transmission method, applied to a control device of a data transmission system, wherein the data transmission system comprises a display device, a first wireless connection device connected to the display device, a control device connected to the first wireless connection device, and a network device connected to the display device and the control device, characterized in that: include: Receive a device command message actively sent by the display device and forwarded by the first wireless connection device, and perform an operation of switching the usage mode based on the device command message, wherein when the usage mode is a first mode, the control device is used to control the display device, and when the usage mode is a second mode, the control device is used to control the network device.

9. A data transmission system, characterized in that: It includes a display device, a network device, a first wireless connection device, a second wireless connection device and a control device, wherein the display device is used to execute the data transmission method described in any one of claims 1 to 7; the display device is communicatively connected to the first wireless connection device, and the first wireless connection device is communicatively connected to the control device; the control device is used to execute the data transmission method described in claim 8; the display device is communicatively connected to the network device; the control device is communicatively connected to the second wireless connection device; and the second wireless connection device is communicatively connected to the network device.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program enables a computer to execute the steps of the data transmission method according to any one of claims 1 to 8.