CN103312718A - Device control method and device and multimedia equipment - Google Patents
Device control method and device and multimedia equipment Download PDFInfo
- Publication number
- CN103312718A CN103312718A CN2013102563800A CN201310256380A CN103312718A CN 103312718 A CN103312718 A CN 103312718A CN 2013102563800 A CN2013102563800 A CN 2013102563800A CN 201310256380 A CN201310256380 A CN 201310256380A CN 103312718 A CN103312718 A CN 103312718A
- Authority
- CN
- China
- Prior art keywords
- control signal
- signal
- interface
- coordinate
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000006243 chemical reaction Methods 0.000 claims abstract description 51
- 238000004806 packaging method and process Methods 0.000 claims description 11
- 238000005538 encapsulation Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 16
- 230000002457 bidirectional effect Effects 0.000 description 2
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a device control method and device and multimedia equipment. A controller is connected with a signal conversion module through an interface, when a user operates on an operation interface, displayed by the multimedia equipment, of a mobile terminal, the controller generates a touch control signal corresponding to the operation, and the signal conversion module is connected with a mobile terminal through an MHL (Mobile High-Definition Link) interface. When the signal conversion module receives the touch control signal, the signal conversion module packages the touch control signal according to RCP (remote control protocol) standards of a MHL protocol and sends the packaged touch control signal through a CBus pin of the MHL interface, the mobile terminal analyzes and responds to a signal sent by the CBus pin, and therefore, the mutual control of the multimedia equipment and the mobile terminal is achieved. Further, the CBus pin of the MHL interface is used for sending signals between the multimedia equipment and the mobile terminal, and the CBus pin connection belongs to signal line connection, the antijamming capability of the touch control signal in a transmission process is improved, and accordingly the reliability of transmission is improved.
Description
Technical Field
The present application relates to the technical field of multimedia devices, and in particular, to a device control method and apparatus, and a multimedia device.
Background
An MHL (Mobile High-Definition Link) interface is widely applied to a Mobile multimedia device using an android operating system, and the Mobile multimedia device sends an MHL signal to other multimedia display devices through the MHL interface, and the other multimedia display devices play multimedia information carried by the MHL signal. The following description will be given taking a mobile terminal and a vehicle-mounted multimedia device as examples.
The schematic connection diagram of the mobile terminal and the vehicle-mounted multimedia device is shown in fig. 1, the mobile terminal sends an MHL signal to a signal conversion module of the vehicle-mounted multimedia device through an MHL interface, and the signal conversion module converts the MHL signal into a signal which can be recognized by the vehicle-mounted multimedia device, such as a YPbPr (color difference component) interface signal or a VGA (Video Graphics Array, analog Video) interface signal. The signal conversion module sends the identified signal to a display screen of the vehicle-mounted multimedia equipment, and then the display screen displays multimedia information carried in the signal. The vehicle-mounted multimedia equipment can send the touch control signal to the mobile terminal through the Bluetooth, and the mobile terminal analyzes the touch control signal and responds to a touch screen operation instruction in the touch control signal on the mobile terminal. Therefore, the vehicle-mounted multimedia device and the mobile terminal achieve the purpose of mutual control of the vehicle-mounted multimedia device and the mobile terminal through the schematic diagram shown in fig. 1.
However, the bluetooth in the current vehicle-mounted multimedia equipment is occupied by the interphone, when the bluetooth is used for sending the touch control signal to influence the use of the interphone, and when the bluetooth is used for sending the touch control signal, the touch control signal is interfered by other wireless signals, so that the transmission reliability is reduced.
Disclosure of Invention
The technical problem to be solved by the application is to provide an equipment control method, and the method is used for solving the problems that the use and transmission reliability of an interphone are reduced due to the fact that a Bluetooth is adopted to send a touch control signal in the prior art.
The application also provides a device control device and multimedia equipment, which are used for ensuring the realization and application of the method in practice.
In a first aspect, the present application provides an apparatus control method, which is applied to a multimedia apparatus, a controller of the multimedia apparatus is connected to a signal conversion module of the multimedia apparatus through an interface, and the signal conversion module is connected to a mobile terminal through a mobile terminal high definition video and audio standard MHL interface, and the method includes:
receiving a touch control signal sent through the interface, wherein the touch control signal is a control signal generated by the controller and corresponding to an operation when a user operates an operation interface of the mobile terminal displayed on the multimedia device;
packaging the touch control signal according to a Remote Control Protocol (RCP) specification of an MHL protocol;
and sending the packaged touch control signal to the mobile terminal through a CBus pin of the MHL interface, wherein the CBus pin is a pin for transmitting a control signal in a two-way mode in the MHL interface.
Preferably, the encapsulating the touch control signal according to the RCP specification of the MHL protocol includes: and encapsulating the touch control signal by using other data bits except the used data bits in the RCP specification of the MHL protocol.
Preferably, the touch control signal includes a touch center point coordinate, where the touch center point coordinate refers to a touch area center coordinate corresponding to a resolution of the mobile terminal;
encapsulating the touch control signal according to the RCP specification of the MHL protocol includes: respectively packaging the X coordinate and the Y coordinate of the touch central point coordinate by using other data bits except the used data bits in the RCP specification of the MHL protocol to obtain an X coordinate signal and a Y coordinate signal;
the sending the packaged touch control signal to the mobile terminal through the CBus pin of the MHL interface includes: and sending the X coordinate signal and the Y coordinate signal to the mobile terminal through a CBus pin of the MHL interface in sequence.
Preferably, the first data bit of the X-coordinate signal and the first data bit of the Y-coordinate signal are sending RCP operation codes, where the sending RCP operation codes are used to indicate that the currently transmitted signal is a control signal transmitted back to the mobile terminal by the multimedia device.
Preferably, receiving the touch control signal transmitted through the interface includes receiving the touch control signal transmitted through an RS232 interface;
the touch control signal sent by the RS232 interface comprises a touch central point coordinate, a frame head, a frame tail and a checksum, wherein the touch central point coordinate refers to a touch area central coordinate corresponding to the resolution of the mobile terminal, and the frame head, the frame tail and the checksum are used for ensuring that the transmitted touch control signal has data fault tolerance.
In a second aspect, the present application provides an apparatus control device, which is applied to a multimedia device, a controller of the multimedia device is connected to a signal conversion module of the multimedia device through an interface, and the signal conversion module is connected to a mobile terminal through a high definition video and audio standard MHL interface of the mobile terminal, the apparatus includes:
the receiving unit is used for receiving a touch control signal sent through the interface, wherein the touch control signal is a control signal generated by the controller and corresponding to an operation when a user operates an operation interface of the mobile terminal displayed on the multimedia device;
the packaging unit is used for packaging the touch control signal according to the remote control protocol RCP specification of the MHL protocol;
and the sending unit is used for sending the packaged touch control signal to the mobile terminal through a CBus pin of the MHL interface, wherein the CBus pin is a pin used for bidirectionally transmitting a control signal in the MHL interface.
Preferably, the encapsulating unit is specifically configured to encapsulate the touch control signal using other data bits except used data bits in the RCP specification of the MHL protocol.
Preferably, the touch control signal includes a touch center point coordinate, where the touch center point coordinate refers to a touch area center coordinate corresponding to a resolution of the mobile terminal;
the encapsulation unit is specifically configured to encapsulate the X coordinate and the Y coordinate of the touch center point coordinate respectively using other data bits except the used data bit in the RCP specification of the MHL protocol to obtain an X coordinate signal and a Y coordinate signal;
the sending unit is specifically configured to send the X coordinate signal and the Y coordinate signal to the mobile terminal sequentially through the CBus pin of the MHL interface.
Preferably, the first data bit of the X-coordinate signal and the first data bit of the Y-coordinate signal are sending RCP operation codes, where the sending RCP operation codes are used to indicate that the currently transmitted signal is a control signal transmitted back to the mobile terminal by the multimedia device.
Preferably, the receiving unit is specifically configured to receive a touch control signal sent through an RS232 interface;
the touch control signal sent by the RS232 interface comprises a touch central point coordinate, a frame head, a frame tail and a checksum, wherein the touch central point coordinate refers to a touch area central coordinate corresponding to the resolution of the mobile terminal, and the frame head, the frame tail and the checksum are used for ensuring that the transmitted touch control signal has data fault tolerance.
In a third aspect, the present application provides a multimedia device, comprising a controller and a signal conversion module, wherein the signal conversion module comprises the device control apparatus;
the controller through an interface with equipment controlling means links to each other, signal conversion module passes through mobile terminal high definition audio-visual standard MHL interface and links to each other with mobile terminal, just equipment controlling means sends touch control signal to mobile terminal through the CBus pin of MHL interface, mobile terminal sends the control signal of audio and video response to through the CBus pin of MHL interface multimedia device.
Compared with the prior art, the method has the following advantages:
in the application, a controller of the multimedia device is connected with a signal conversion module of the multimedia device through an interface, and when a user operates an operation interface of the mobile terminal displayed by the multimedia device, the controller generates a touch control signal corresponding to the operation. And the signal conversion module is connected with the mobile terminal through the MHL interface. After the signal conversion module receives the touch control signal sent through the interface, the touch control signal is packaged according to the RCP specification of the MHL protocol, and the packaged touch control signal is sent to the mobile terminal through the CBus pin of the MHL interface, so that the Bluetooth of the multimedia device is only used by the interphone, and the touch control signal is prevented from influencing the use of the interphone.
Further, the CBus pin of the MHL interface is adopted between the multimedia device and the mobile terminal to send signals, and the CBus pin of the MHL interface is connected to belong to signal line connection, so that the CBus pin of the MHL interface is adopted to send touch control signals, the touch control signals can be prevented from being interfered by other signals, and the transmission reliability is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic diagram of a connection between a conventional mobile terminal and a vehicle-mounted multimedia device;
FIG. 2 is a schematic diagram of a connection between a mobile terminal and a multimedia device provided in the present application;
FIG. 3 is a flow chart of a method of controlling a device provided herein;
fig. 4 is a schematic diagram illustrating a format of a touch control signal in the device control method provided in the present application;
FIG. 5 is a schematic diagram illustrating a format of an X coordinate signal in the apparatus control method provided in the present application;
fig. 6 is a schematic diagram of a format of a Y coordinate signal in the device control method provided in the present application;
FIG. 7 is a schematic diagram of an MHL interface for use in the present application;
fig. 8 is a schematic structural diagram of the device control apparatus provided in the present application.
Detailed Description
The device control method provided by the application is applied to a multimedia device, and please refer to fig. 2 for a schematic connection diagram of the multimedia device and a mobile terminal, wherein a controller of the multimedia device is connected with a signal conversion module of the multimedia device through an interface, and the controller is used for generating a control signal corresponding to an operation when a user operates an operation interface of the mobile terminal displayed on the multimedia device. The control signal serves as a touch control signal.
In the connection diagram shown in fig. 2, the controller and the signal conversion module are connected through an RS232 Interface, but other interfaces may also be used to connect the controller and the signal conversion module, such as an Inter-integrated circuit (IIC) Interface or a Serial Peripheral Interface (SPI), when the controller and the signal conversion module are connected through different interfaces, the controller converts the generated touch control signal into a signal in a format corresponding to the Interface, and then sends the signal to the signal conversion module through the Interface. In this embodiment, the interface adopted in the controller and the signal conversion module is not limited in this embodiment, and for different interface controllers, the signals may also be converted into signals of the same format, such as signals of a format meeting the RS232 interface requirements.
The signal conversion module is connected with the mobile terminal through the MHL interface and is also connected with a touch screen of the multimedia device through an interface so as to send the signal converted by the signal conversion module to the touch screen for display.
The signal converted by the signal conversion module is a signal which converts an MHL signal sent by the mobile terminal into a signal which can be identified by the vehicle-mounted multimedia equipment, when the converted signal is an YPbPr interface signal, an interface connected between the signal conversion module and the touch screen is an YPbPr interface, and when the converted signal is a VGA interface signal, an interface connected between the signal conversion module and the touch screen is a VGA interface. Of course, when the signal conversion module converts the signal in another format, the interface corresponding to the format is connected between the signal conversion module and the touch screen.
The signal conversion module is connected with the mobile terminal through an MHL interface, and the MHL interface is provided with a CBus pin for bidirectional transmission control signals, so that touch control signals in the multimedia equipment can be sent to the mobile terminal through the CBus pin of the MHL interface, the mobile terminal analyzes the touch control signals, and corresponding operations carried in the touch control signals are responded on an operation interface of the mobile terminal.
Because the touch control signal can be sent through the CBus pin of MHL interface, so the bluetooth of multimedia equipment is only used by the intercom, avoids touch control signal influence intercom and uses.
And further, the CBus pin of the MHL interface is adopted between the multimedia equipment and the mobile terminal to send the touch control signal, and the CBus pin of the MHL interface is connected with a signal line, so that the touch control signal can be reduced from being interfered by other signals, and the transmission reliability is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 3, a flowchart of a device control method provided in an embodiment of the present application is shown, where the method may include the following steps:
step 101: and receiving a touch control signal sent through an interface.
The touch control signal is a control signal generated by the controller corresponding to an operation when a user operates an operation interface of the mobile terminal displayed on the multimedia device.
When the multimedia information is displayed on the mobile terminal, the mobile terminal can send the MHL signal carrying the multimedia information to the signal conversion module through the NHL interface, then the MHL signal is converted into a signal which can be identified by the multimedia device through the signal conversion module, the multimedia information in the signal is displayed on the touch screen, the multimedia information is displayed on the multimedia device and the mobile terminal at the same time, and an operation interface displayed on the multimedia device is the same as an operation interface of the mobile terminal.
For example, when the multimedia information is video information, the video may be played simultaneously on the multimedia device and the mobile terminal. And the user can click the operation interface for playing the video on the multimedia device, and if the user clicks the pause playing button, the video is paused on the multimedia device.
In order to enable the mobile terminal and the multimedia device to synchronously pause playing the video, a controller of the multimedia device generates a touch control signal corresponding to the operation of a user and sends the touch control signal to the signal conversion module through an interface. And the multimedia equipment is further processed by the signal conversion module and then sent to the mobile terminal, so that the aim of controlling the operation of the mobile terminal through the multimedia equipment is fulfilled, and the user operation executed on the multimedia equipment and the mobile terminal is the same.
In this embodiment, an interface connected between the controller and the signal conversion module may be an RS232 interface, and the touch control signal sent by the RS232 interface includes a touch center point coordinate, a frame header, a frame tail, and a checksum, where the touch center point coordinate refers to a touch area center coordinate corresponding to a resolution of the mobile terminal, and the frame header, the frame tail, and the checksum are used to ensure that the transmitted touch control signal has a data fault tolerance capability.
As shown in fig. 4, the format schematic diagram of the touch control signal may sequentially include data according to the data bit sequence: the frame head, the X coordinate H, X, the coordinate L, Y, the coordinate H, Y, the coordinate L, the checksum and the frame tail, wherein each datum occupies 1Byte, the value of the frame head is 0xFF, the value of the frame tail is 0X00, wherein 0X is a hexadecimal identifier and represents that the datum is hexadecimal data.
The checksum in the touch control signal is data obtained by calculating the touch control signal by adopting the existing verification algorithm, and the transmitted touch control signal is ensured to have data fault-tolerant capability through the checksum, the frame head and the frame tail so as to improve the anti-interference capability of the touch control signal.
Step 102: and packaging the touch Control signal according to an RCP (Remote Control Protocol) specification of an MHL Protocol.
When the touch control signal is packaged, in order to avoid mutual interference with other signals, other data bits except used data bits in an RCP specification of an MHL protocol are used for packaging the touch control signal.
Since the resolutions of the multimedia device and the mobile terminal are different, the controller first needs to convert the touch center point coordinate corresponding to the resolution of the multimedia device into the center point coordinate corresponding to the resolution of the mobile terminal. And then carrying the coordinates of the touch central point in a touch control signal for sending.
When the touch control signal is packaged, the X coordinate and the Y coordinate of the touch center point coordinate are respectively packaged by using other data bits except the used data bits in the RCP specification of the MHL protocol to obtain an X coordinate signal and a Y coordinate signal.
One point to be noted is: when the CBus pin of the MHL interface sends data, 3 Byte data can be sent at a time, the 1 st Byte must be an RCP operation code, wherein the RCP operation code is sent to indicate that the currently transmitted signal is a control signal transmitted back to the mobile terminal by the multimedia device. In this embodiment, the sending RCP opcode must be 0x68 according to the protocol using the MHL specification. The 2 nd and 3 rd Byte can be customized, but the 2 nd Byte cannot be the used sending RCP opcode, so as to avoid the RCP conflict with the existing MHL specification protocol. And in order that the mobile terminal can analyze in real time, the CBus pin only needs to transmit the coordinate of the central point in real time. According to the resolution of the current mobile terminal, and the amount of information transmitted by the CBus pin is reduced as much as possible, 3 bytes can be used to represent one coordinate point, which can represent a coordinate range of 4096 × 4096 pixels.
Referring to fig. 5 and 6, the format schematic diagrams of the X coordinate signal and the Y coordinate signal may sequentially include, according to the data bit sequence: sending the RCP opcode (0X 68), the X coordinate flag (0 b 1111) + the X coordinate high 4 bits (0 bXXXX), the X coordinate low 8 bits (0 xXX), the Y coordinate signal may include in sequence according to the data bit order: and transmitting the RCP operation code (0 x 68), the Y coordinate mark (0 b 1110), the upper 4 bits (0 b XXXX) of the Y coordinate and the lower 8 bits (0 xXX) of the Y coordinate.
Where 0b is a binary identifier, indicating that the data is binary data. In this embodiment, the lower 8 bits of the X coordinate and the lower 8 bits of the Y coordinate may also be represented by 0 bXXXXXXXX. Of course, the X-coordinate signal and the Y-coordinate signal may also be represented by other binary systems, which is not listed in this embodiment.
The points to be explained are: in this embodiment, a touch control signal format, an X coordinate signal format, and a Y coordinate signal format transmitted by the RS232 are listed, and other signal formats are also applicable to the device control method provided in this embodiment, such as the IIC interface or the SPI, which are not listed in this embodiment. Of course, when the controller and the signal conversion module are connected through the IIC interface or the SPI, the signal format may also be defined as the format diagram shown in fig. 4.
Further, another point to be explained is: the touch control signal generated by the controller of the multimedia device comprises a touch position signal and an operation type corresponding to the touch control signal, such as single click, double click or sliding. When the touch control signal is transmitted through the RS232 interface, the controller converts the touch control signal into a touch control signal including coordinates of a touch center point.
Step 103: and sending the packaged touch control signal to the mobile terminal through a CBus pin of the MHL interface, wherein the CBus pin is a pin for transmitting a control signal in a two-way mode in the MHL interface.
Fig. 7 is a schematic diagram of an MHL interface, which includes: the device comprises a TX + pin, a TX-pin, a VDD pin, a GND pin and a CBus pin, wherein the TX + pin and the TX-pin are differential pair signal pins and are used for sending audio and video data signals; the VDD pin is a power pin for supplying power, the GND pin is a ground pin, and the CBus pin is a control signal pin for transmitting a touch control signal between the multimedia device and the mobile terminal. When the mobile terminal sends a signal to the multimedia device, an audio and video data signal is sent through the TX + pin and the TX-pin, and an audio and video response control signal is sent through the CBus pin, wherein the audio and video response control signal can carry out all-around control on all audio and video, so that the audio and video data can be transmitted more easily. And when the multimedia equipment sends a signal to the mobile terminal, sending the touch control signal only through the CBus pin.
In this embodiment, after the X coordinate signal and the Y coordinate signal are obtained, the X coordinate signal and the Y coordinate signal are sequentially sent to the mobile terminal through the CBus pin of the MHL interface.
The CBus pin of the MHL interface may first transmit an X-coordinate signal (0X 68 (transmit RCP opcode) +0b1111 (X-coordinate flag) +0bXXXX (X-coordinate high 4 bits) +0xXX (X-coordinate low 8 bits)), and then transmit a Y-coordinate signal (0X 68 (transmit RCP opcode) +0b1110 (Y-coordinate flag) +0bXXXX (Y-coordinate high 4 bits) +0xXX (Y-coordinate low 8 bits)).
After the mobile terminal receives the X coordinate signal and the Y coordinate signal, the operation position can be determined, and the operation type is determined according to the time interval of receiving the X coordinate signal or the Y coordinate signal.
For example: and if the mobile terminal does not receive the X coordinate signal and the Y coordinate signal at a certain interval after receiving the X coordinate signal and the Y coordinate signal, judging that the user performs click operation on an operation interface displayed by the multimedia device, and further executing the click operation on the operation position determined by the X coordinate and the Y coordinate by the mobile terminal.
If the mobile terminal receives another X coordinate signal and another Y coordinate signal at a certain time interval after receiving the X coordinate signal and the Y coordinate signal, and the coordinates determined by the X coordinate signal and the Y coordinate signal received twice before and after are in the same area range, the mobile terminal judges that the user performs double-click operation on the operation interface displayed by the multimedia device, and further executes double-click operation on the operation position determined by the X coordinate and the Y coordinate.
If the mobile terminal receives a plurality of X coordinate signals and a plurality of Y coordinate signals at regular intervals after receiving an X coordinate signal and a Y coordinate signal, and the coordinates corresponding to the X coordinate signal and the Y coordinate signal received twice in the adjacent way are different. And when the difference is within a certain range, judging that the user performs sliding operation on an operation interface displayed by the multimedia equipment, and further executing the sliding operation on the operation position determined by the X coordinate and the Y coordinate by the mobile terminal. And when the difference exceeds a certain range, judging that the user carries out multiple clicking operations on the operation interface displayed by the multimedia equipment, and further executing the clicking operations on the operation position determined by the X coordinate and the Y coordinate by the mobile terminal. And when the operation positions determined multiple times are the same operation position, performing multiple clicking operations on the operation position. When the operation positions determined a plurality of times are different operation positions, a single-click operation is performed at each operation position, respectively.
It should be noted that: when the mobile terminal judges the user operation according to the coordinate signal received by the time interval, the time interval can be set to different values for different operations. For example, the time interval of the double-click operation determination is larger than the time interval of the slide operation determination. The specific value of the time interval is not limited in this embodiment.
By applying the device control method provided by the embodiment of the application, the controller of the multimedia device is connected with the signal conversion module of the multimedia device through the interface, and when a user operates the operation interface of the mobile terminal displayed by the multimedia device, the controller generates the touch control signal corresponding to the operation. And the signal conversion module is connected with the mobile terminal through the MHL interface. After the signal conversion module receives the touch control signal sent through the interface, the touch control signal is packaged according to the RCP specification of the MHL protocol, and the packaged touch control signal is sent to the mobile terminal through the CBus pin of the MHL interface, so that the Bluetooth of the multimedia device is only used by the interphone, and the touch control signal is prevented from influencing the use of the interphone.
And further, the CBus pin of the MHL interface is adopted between the multimedia equipment and the mobile terminal to send the touch control signal, and the CBus pin connection of the MHL interface belongs to signal line connection, so that the touch control signal can be prevented from being interfered by other signals, and the transmission reliability is improved.
Corresponding to the above method embodiment, the present application further provides an apparatus control device, which is applied to a multimedia device, wherein a controller of the multimedia device is connected to a signal conversion module of the multimedia device through an interface, and the signal conversion module is connected to a mobile terminal through an MHL interface.
In the present embodiment, referring to fig. 8, a schematic structural diagram of an apparatus control device includes: a receiving unit 11, a packaging unit 12 and a transmitting unit 13. Wherein,
a receiving unit 11, configured to receive a touch control signal sent through the interface, where the touch control signal is a control signal generated by the controller and corresponds to an operation performed by a user on an operation interface of the mobile terminal displayed on the multimedia device.
In this embodiment, the receiving unit 11 may receive a touch control signal transmitted by the RS232 interface. The touch control signal sent by the RS232 interface may include a touch center point coordinate, a frame header, a frame tail, and a checksum, where the touch center point coordinate refers to a touch area center coordinate corresponding to a resolution of the mobile terminal, and the frame header, the frame tail, and the checksum are used to ensure that the transmitted touch control signal has data fault tolerance.
And an encapsulating unit 12, configured to encapsulate the touch control signal according to the RCP specification of the MHL protocol.
In this embodiment, the encapsulation unit is specifically configured to encapsulate the touch control signal using other data bits except the used data bits in the RCP specification of the MHL protocol.
Specifically, the encapsulating unit is configured to encapsulate, by using other data bits except used data bits in an RCP specification of an MHL protocol, the X coordinate and the Y coordinate of the touch center point coordinate, respectively, to obtain an X coordinate signal and a Y coordinate signal.
It should be noted that: the first data bit of the X-coordinate signal and the Y-coordinate signal is a transmit RCP opcode, where the transmit RCP opcode is used to indicate that the currently transmitted signal is a control signal that is transmitted back from the multimedia device to the mobile terminal. The format of the obtained X-coordinate signal and Y-coordinate signal is shown in fig. 5 and 6.
A sending unit 13, configured to send the encapsulated touch control signal to the mobile terminal through a CBus pin of the MHL interface, where the CBus pin is a pin used for bidirectional transmission of a control signal in the MHL interface.
The sending unit 13 is specifically configured to send the X coordinate signal and the Y coordinate signal to the mobile terminal sequentially through the CBus pin of the MHL interface. For example, the sending unit 13 may send the X coordinate signal through the CBus pin of the MHL interface first, and then send the Y coordinate signal through the CBus pin of the MHL interface.
Correspondingly, the device control apparatus may be included in a signal conversion module of the multimedia device, the signal conversion module is connected to the mobile terminal through the MHL interface, the device control apparatus sends the touch control signal to the mobile terminal through a CBus pin of the MHL interface, the mobile terminal sends the control signal of the audio/video response to the multimedia device through the CBus pin of the MHL interface, and a controller in the multimedia device may be connected to the device control apparatus through an interface, and is configured to send the touch control signal generated by the controller to the device control apparatus through the interface, which is specifically connected with fig. 2. The processing procedure of the device control apparatus for receiving the touch control signal refers to the detailed description of the method embodiment shown in fig. 3, which is not described in this embodiment.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The foregoing detailed description is directed to a device control method, apparatus, and multimedia device provided in the present application, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the description of the foregoing embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (11)
1. A device control method is applied to multimedia equipment, and is characterized in that a controller of the multimedia equipment is connected with a signal conversion module of the multimedia equipment through an interface, the signal conversion module is connected with a mobile terminal through a mobile terminal high definition audio video standard (MHL) interface, and the method comprises the following steps:
receiving a touch control signal sent through the interface, wherein the touch control signal is a control signal generated by the controller and corresponding to an operation when a user operates an operation interface of the mobile terminal displayed on the multimedia device;
packaging the touch control signal according to a Remote Control Protocol (RCP) specification of an MHL protocol;
and sending the packaged touch control signal to the mobile terminal through a CBus pin of the MHL interface, wherein the CBus pin is a pin for transmitting a control signal in a two-way mode in the MHL interface.
2. The device control method of claim 1, wherein the encapsulating the touch control signal according to the RCP specification of the MHL protocol comprises: and encapsulating the touch control signal by using other data bits except the used data bits in the RCP specification of the MHL protocol.
3. The device control method according to claim 2, wherein the touch control signal includes a touch center point coordinate, wherein the touch center point coordinate is a touch area center coordinate corresponding to a resolution of the mobile terminal;
encapsulating the touch control signal according to the RCP specification of the MHL protocol includes: respectively packaging the X coordinate and the Y coordinate of the touch central point coordinate by using other data bits except the used data bits in the RCP specification of the MHL protocol to obtain an X coordinate signal and a Y coordinate signal;
the sending the packaged touch control signal to the mobile terminal through the CBus pin of the MHL interface includes: and sending the X coordinate signal and the Y coordinate signal to the mobile terminal through a CBus pin of the MHL interface in sequence.
4. The device control method according to claim 3, wherein the first data bit of the X-coordinate signal and the Y-coordinate signal is a Transmit RCP opcode, wherein the Transmit RCP opcode is used to indicate that the currently transmitted signal is a control signal transmitted by the multimedia device back to the mobile terminal.
5. The device control method according to any one of claims 1 to 4, wherein receiving the touch control signal transmitted through the interface includes receiving the touch control signal transmitted through an RS232 interface;
the touch control signal sent by the RS232 interface comprises a touch central point coordinate, a frame head, a frame tail and a checksum, wherein the touch central point coordinate refers to a touch area central coordinate corresponding to the resolution of the mobile terminal, and the frame head, the frame tail and the checksum are used for ensuring that the transmitted touch control signal has data fault tolerance.
6. The utility model provides an equipment controlling means, is applied to among the multimedia device, its characterized in that, the controller of multimedia device through an interface with the signal conversion module of multimedia device links to each other, just the signal conversion module passes through mobile terminal high definition audio-visual standard MHL interface and links to each other with mobile terminal, the device includes:
the receiving unit is used for receiving a touch control signal sent through the interface, wherein the touch control signal is a control signal generated by the controller and corresponding to an operation when a user operates an operation interface of the mobile terminal displayed on the multimedia device;
the packaging unit is used for packaging the touch control signal according to the remote control protocol RCP specification of the MHL protocol;
and the sending unit is used for sending the packaged touch control signal to the mobile terminal through a CBus pin of the MHL interface, wherein the CBus pin is a pin used for bidirectionally transmitting a control signal in the MHL interface.
7. The device control apparatus according to claim 6, wherein the encapsulating unit is specifically configured to encapsulate the touch control signal using data bits other than used data bits in the RCP specification of the MHL protocol.
8. The device control apparatus according to claim 7, wherein the touch control signal includes a touch center point coordinate, where the touch center point coordinate is a touch area center coordinate corresponding to a resolution of the mobile terminal;
the encapsulation unit is specifically configured to encapsulate the X coordinate and the Y coordinate of the touch center point coordinate respectively using other data bits except the used data bit in the RCP specification of the MHL protocol to obtain an X coordinate signal and a Y coordinate signal;
the sending unit is specifically configured to send the X coordinate signal and the Y coordinate signal to the mobile terminal sequentially through the CBus pin of the MHL interface.
9. The device control apparatus of claim 8, wherein the first data bit of the X-coordinate signal and the Y-coordinate signal is a transmit RCP opcode, wherein the transmit RCP opcode is used to indicate that the currently transmitted signal is a control signal transmitted by the multimedia device back to the mobile terminal.
10. The device control apparatus according to any one of claims 6 to 9, wherein the receiving unit is specifically configured to receive a touch control signal sent through an RS232 interface;
the touch control signal sent by the RS232 interface comprises a touch central point coordinate, a frame head, a frame tail and a checksum, wherein the touch central point coordinate refers to a touch area central coordinate corresponding to the resolution of the mobile terminal, and the frame head, the frame tail and the checksum are used for ensuring that the transmitted touch control signal has data fault tolerance.
11. A multimedia device comprising a controller and a signal conversion module, wherein the signal conversion module comprises the device control apparatus of any one of claims 6 to 10;
the controller through an interface with equipment controlling means links to each other, signal conversion module passes through mobile terminal high definition audio-visual standard MHL interface and links to each other with mobile terminal, just equipment controlling means sends touch control signal to mobile terminal through the CBus pin of MHL interface, mobile terminal sends the control signal of audio and video response to through the CBus pin of MHL interface multimedia device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310256380.0A CN103312718B (en) | 2013-06-25 | 2013-06-25 | Device control method and device and multimedia equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310256380.0A CN103312718B (en) | 2013-06-25 | 2013-06-25 | Device control method and device and multimedia equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103312718A true CN103312718A (en) | 2013-09-18 |
CN103312718B CN103312718B (en) | 2017-02-08 |
Family
ID=49137502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310256380.0A Active CN103312718B (en) | 2013-06-25 | 2013-06-25 | Device control method and device and multimedia equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103312718B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533281A (en) * | 2013-09-27 | 2014-01-22 | 广州视源电子科技股份有限公司 | MHL identification control circuit for enhancing compatibility |
CN106681950A (en) * | 2017-01-11 | 2017-05-17 | 联想(北京)有限公司 | Signal transmission processing method and device |
CN109753215A (en) * | 2018-04-02 | 2019-05-14 | 北京字节跳动网络技术有限公司 | A kind of window multi-screen display method, device and equipment |
CN117453171A (en) * | 2023-12-23 | 2024-01-26 | 深圳市一恒科电子科技有限公司 | Virtual mapping method and device for android system display and virtual mapping system |
CN117453171B (en) * | 2023-12-23 | 2024-10-25 | 深圳市一恒科电子科技有限公司 | Virtual mapping method and device for android system display and virtual mapping system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202502739U (en) * | 2012-02-21 | 2012-10-24 | 惠州市德赛西威汽车电子有限公司 | Vehicle-mounted radio and tape player system |
CN102821319A (en) * | 2012-08-01 | 2012-12-12 | 广东欧珀移动通信有限公司 | Video playing method based on RCF (required communication performance) communication |
CN102833418A (en) * | 2012-08-31 | 2012-12-19 | 广东欧珀移动通信有限公司 | RCP (Rich Client Platform) communication process linkman selecting method and mobile intelligent terminal |
CN102857805A (en) * | 2012-09-18 | 2013-01-02 | 深圳市路畅科技股份有限公司 | Method and device for processing signals of mobile terminal |
CN103024011A (en) * | 2012-12-03 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and system for controlling mobile high-definition link (MHL) playing device |
CN103036968A (en) * | 2012-12-11 | 2013-04-10 | 广东好帮手电子科技股份有限公司 | Method and system for smart phone controlled and displayed by vehicle-mounted host computer |
CN103037014A (en) * | 2012-12-30 | 2013-04-10 | 中山市嘉盛电子有限公司 | Vehicle-mounted system |
-
2013
- 2013-06-25 CN CN201310256380.0A patent/CN103312718B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202502739U (en) * | 2012-02-21 | 2012-10-24 | 惠州市德赛西威汽车电子有限公司 | Vehicle-mounted radio and tape player system |
CN102821319A (en) * | 2012-08-01 | 2012-12-12 | 广东欧珀移动通信有限公司 | Video playing method based on RCF (required communication performance) communication |
CN102833418A (en) * | 2012-08-31 | 2012-12-19 | 广东欧珀移动通信有限公司 | RCP (Rich Client Platform) communication process linkman selecting method and mobile intelligent terminal |
CN102857805A (en) * | 2012-09-18 | 2013-01-02 | 深圳市路畅科技股份有限公司 | Method and device for processing signals of mobile terminal |
CN103024011A (en) * | 2012-12-03 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and system for controlling mobile high-definition link (MHL) playing device |
CN103036968A (en) * | 2012-12-11 | 2013-04-10 | 广东好帮手电子科技股份有限公司 | Method and system for smart phone controlled and displayed by vehicle-mounted host computer |
CN103037014A (en) * | 2012-12-30 | 2013-04-10 | 中山市嘉盛电子有限公司 | Vehicle-mounted system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533281A (en) * | 2013-09-27 | 2014-01-22 | 广州视源电子科技股份有限公司 | MHL identification control circuit for enhancing compatibility |
CN103533281B (en) * | 2013-09-27 | 2017-01-11 | 广州视源电子科技股份有限公司 | MHL identification control circuit for enhancing compatibility |
CN106681950A (en) * | 2017-01-11 | 2017-05-17 | 联想(北京)有限公司 | Signal transmission processing method and device |
CN106681950B (en) * | 2017-01-11 | 2020-03-24 | 联想(北京)有限公司 | Signal transmission processing method and device |
CN109753215A (en) * | 2018-04-02 | 2019-05-14 | 北京字节跳动网络技术有限公司 | A kind of window multi-screen display method, device and equipment |
CN109753215B (en) * | 2018-04-02 | 2020-03-27 | 北京字节跳动网络技术有限公司 | Window split-screen display method, device and equipment |
US11016645B2 (en) | 2018-04-02 | 2021-05-25 | Beijing Bytedance Network Technology Co., Ltd. | Window split screen display method, device and equipment |
CN117453171A (en) * | 2023-12-23 | 2024-01-26 | 深圳市一恒科电子科技有限公司 | Virtual mapping method and device for android system display and virtual mapping system |
CN117453171B (en) * | 2023-12-23 | 2024-10-25 | 深圳市一恒科电子科技有限公司 | Virtual mapping method and device for android system display and virtual mapping system |
Also Published As
Publication number | Publication date |
---|---|
CN103312718B (en) | 2017-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10922041B2 (en) | Wireless screen transmission method, extension device, and wireless screen transmission system | |
US9594536B2 (en) | Method and apparatus for electronic device communication | |
CN209526823U (en) | It is a kind of wirelessly to throw screen relay device and wirelessly throw screen system | |
CN105005471A (en) | Method, device, server and system for modifying configuration parameters of BIOS | |
JP2017532795A (en) | Audio video reproduction facility, data display method, and storage medium | |
CN103312718B (en) | Device control method and device and multimedia equipment | |
CN104883617A (en) | Multi-screen interaction system and method | |
US9992441B2 (en) | Displaying multiple videos on sink device using display information of source device | |
CN104780428A (en) | Interconnecting mutual control method for smart mobile and vehicle-mounted multimedia equipment | |
US20170208637A1 (en) | Method and Apparatus for Interconnecting Smart Terminal and In-Vehicle Terminal | |
CN103605535A (en) | Operation method and system of intelligent display device, intelligent display device and mobile device | |
CN103813122A (en) | Image device control system, image device serial connection equipment and image device control method | |
US20170171502A1 (en) | Electronic device and method for implementing split television and split television | |
CN106791555A (en) | A kind of single netting twine extender of data transmission method, HDMI signals | |
CN103024457A (en) | Method and device for controlling server touch screen | |
WO2022242393A1 (en) | Control method and apparatus, electronic device, and readable storage medium | |
CN104717397A (en) | Image data processing method and electronic device | |
CN105743949A (en) | Method for realizing double-screen synchronization between two devices | |
CN104735170B (en) | A kind of interface arrangement, mobile terminal, data interaction system and method, apparatus | |
US20150215575A1 (en) | Relay apparatus | |
CN112714272A (en) | Inter-device control method, terminal, and computer-readable storage medium | |
CN113312227B (en) | OTG function detection method, system, device and equipment | |
WO2019042290A1 (en) | Remote control method for mobile terminal and remote control system for mobile terminal | |
CN102929548A (en) | Display control method and device, user terminal and display control system | |
CN209170550U (en) | Audio-video signal code device based on FPGA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 230601, Hefei economic and Technological Development Zone, Anhui province innovation and entrepreneurship Park, block A, four Applicant after: Long Xun semiconductor (Hefei) Limited by Share Ltd Address before: 230601, Hefei economic and Technological Development Zone, Anhui province innovation and entrepreneurship Park, block A, four Applicant before: Lontium Semiconductor Technology (Hefei) Co.,Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |