A kind of method of transfer of data and device
Technical field
The present invention relates to field of set-top, particularly a kind of method of transfer of data and device.
Background technology
Flourish along with Digital Television, Set Top Box has become requisite amusing products in family.In order to the transmission demand making Set Top Box support various data type, need the interface that various input and output are set on the set-top box to support various data type.Generally, the input/output interface existed on the set-top box comprises: AV(Audio Video, audio frequency and video) interface, color difference components interface and infrared remote control extended line interface, be respectively used to transmission AV signal (audio, video data), color difference components signal (video data) and infrared remote-controlled signal.
According to the current data type needing transmission, choose corresponding data wire and insert in corresponding interface, to carry out transfer of data.Wherein, AV interface uses a four-section type headset interface socket to realize the connection of Set Top Box and AV line, and by four pin pin in earphone socket respectively to audio frequency left and right acoustic channels data, video data and the signal ground in four-section type headset plug transmission AV signal; Color difference components interface uses a four-section type headset interface socket to realize the connection of Set Top Box and color difference components line, and by four pin pin in earphone socket respectively to blue difference data, red difference data, luminance signal data and the signal ground in four-section type headset plug transmission color difference components signal; Infrared remote control extended line interface uses a three-section earphone interface socket to realize the connection of Set Top Box and infrared remote control extended line, and by three pin pin in earphone socket respectively to the infrared remote-controlled signal in three-section earphone plug transmission infrared remote-controlled signal, signal ground and power for infrared remote control extended line.
To sum up, for each plug is provided with corresponding input/output interface volume greatly in Set Top Box, take up space very much for complete machine structure, this setup is unfavorable for that complete machine structure is miniaturized.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and device of transfer of data.Described technical scheme is as follows:
A kind of method of first aspect, transfer of data, Set Top Box is provided with a four-section type headset interface socket, comprises:
Determine the data type of described Set Top Box current setting, wherein said data type at least comprises the one in audio frequency and video AV signal type, color difference components signal type and infrared remote-controlled signal type;
By described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding.
In the first possible implementation of first aspect, the described data type determining described Set Top Box current setting, comprising:
When described Set Top Box starts, obtain the default data type pre-set;
Export the state of low and high level in GPIO interface by arranging universal input, data type current for described Set Top Box is set to described default data type.
In the implementation that the second of first aspect is possible, the described data type determining described Set Top Box current setting, comprising:
When receiving the order of change type, obtain the data type after the change of carrying in described order;
By arranging the state of low and high level in GPIO interface, data type current for described Set Top Box is set to the data type after described change.
In the third possible implementation of first aspect, described by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding, comprising:
When the data type that described Set Top Box is current is described AV signal type, send audio frequency right data by the first pin in described four-section type headset interface socket; Composite video signal data are sent by the second pin in described four-section type headset interface socket; Audio frequency left channel data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
In the 4th kind of possible implementation of first aspect, described by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding, comprising:
When the data type that described Set Top Box is current is described color difference components signal type, send red difference data by the first pin in described four-section type headset interface socket; Luminance signal data is sent by the second pin in described four-section type headset interface socket; Blue difference data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
In the 5th kind of possible implementation of first aspect, described by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding, comprising:
When the data type that described Set Top Box is current is described infrared remote-controlled signal type, jointly receive infrared remote-controlled signal by the first pin in described four-section type headset interface socket and the 4th pin; Using the second pin in described four-section type headset interface socket as the power pin of infrared remote control extended line; Using three-prong in described four-section type headset interface socket as signal ground.
The device of second aspect, a kind of transfer of data, Set Top Box is provided with a four-section type headset interface socket, comprises:
Determination module, for determining the data type of described Set Top Box current setting, wherein said data type at least comprises the one in audio frequency and video AV signal type, color difference components signal type and infrared remote-controlled signal type;
Transport module, for by described four-section type headset interface socket, transmits the data that the data type current with described Set Top Box is corresponding.
In the first possible implementation of second aspect, described determination module, comprising:
First acquiring unit, for when described Set Top Box starts, obtains the default data type pre-set;
First setting unit, for exporting the state of low and high level in GPIO interface by arranging universal input, is set to described default data type by data type current for described Set Top Box.
In the implementation that the second of second aspect is possible, described determination module, comprising:
Second acquisition unit, for when receiving the order of change type, obtains the data type after the change of carrying in described order;
Second setting unit, for the state by arranging low and high level in GPIO interface, is set to the data type after described change by data type current for described Set Top Box.
In the third possible implementation of second aspect, described transport module, comprising:
First transmission unit, when being described AV signal type for the data type current when described Set Top Box, sends audio frequency right data by the first pin in described four-section type headset interface socket; Composite video signal data are sent by the second pin in described four-section type headset interface socket; Audio frequency left channel data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
In the 4th kind of possible implementation of second aspect, described transport module, comprising:
Second transmission unit, when being described color difference components signal type for the data type current when described Set Top Box, sends red difference data by the first pin in described four-section type headset interface socket; Luminance signal data is sent by the second pin in described four-section type headset interface socket; Blue difference data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
In the 5th kind of possible implementation of second aspect, described transport module, comprising:
3rd transmission unit, when being described infrared remote-controlled signal type for the data type current when described Set Top Box, receives infrared remote-controlled signal jointly by the first pin in described four-section type headset interface socket and the 4th pin; Using the second pin in described four-section type headset interface socket as the power pin of infrared remote control extended line; Using three-prong in described four-section type headset interface socket as signal ground.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By arranging a four-section type headset socket on the set-top box, the one in AV signal type, color difference components signal type and infrared remote-controlled signal type can be transmitted respectively according to the data type of current setting.By the mode of this interface duplex, same interface can be made to transmit multi-class data, reduce the volume of Set Top Box.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the transfer of data that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of the transfer of data that the embodiment of the present invention two provides;
Fig. 3 is the schematic diagram of three-section earphone plug in the method for the transfer of data that the embodiment of the present invention two provides;
Fig. 4 is the schematic diagram of four-section type headset plug in the method for the transfer of data that the embodiment of the present invention two provides;
Fig. 5 is the schematic diagram of embodiment in the method for the transfer of data that the embodiment of the present invention two provides;
Fig. 6 is the apparatus structure schematic diagram of the transfer of data that the embodiment of the present invention three provides;
Fig. 7 is the structural representation of the Set Top Box that the embodiment of the present invention four provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method of transfer of data, see Fig. 1.
It should be noted that, in the embodiment of the present invention, Set Top Box be provided with and only have a four-section type headset interface socket, the data of numerous types of data can be transmitted by this four-section type headset interface socket, can carry out according to the demand of user the data of selecting the data type of current transmission corresponding.
Wherein, the method flow process comprises:
101: the data type determining Set Top Box current setting, the data type that wherein Set Top Box is current at least comprises the one in audio frequency and video AV signal type, color difference components signal type and infrared remote-controlled signal type;
102: by four-section type headset interface socket, the data that the current data type of conveyer top box is corresponding.
The embodiment of the present invention, by arranging a four-section type headset socket on the set-top box, can transmit the one in AV signal type, color difference components signal type and infrared remote-controlled signal type respectively according to the data type of current setting.By the mode of this interface duplex, same interface can be made to transmit multi-class data, reduce the volume of Set Top Box.
Embodiment two
Embodiments provide a kind of method of transfer of data, see Fig. 2, method flow comprises:
It should be noted that, in the embodiment of the present invention, Set Top Box be provided with and only have a four-section type headset interface socket, the data of numerous types of data can be transmitted by this four-section type headset interface socket, can carry out according to the demand of user the data of selecting the data type of current transmission corresponding.
Wherein, the method flow process comprises:
201: determine the data type that described Set Top Box is current, the current data type of wherein said Set Top Box at least comprises the one in audio frequency and video AV signal type, color difference components signal type and infrared remote-controlled signal type.
Data corresponding for the data type of Set Top Box current setting, when there being data transfer demands, are transmitted by four-section type headset interface socket by Set Top Box.
Therefore, the process of the data type determining Set Top Box current setting is first needed can be divided into two kinds of situations:
The first, can determine the data type of current setting when set-top-box opening starts.
In this situation, can the configuration information of reading pre-stored, wherein configuration information can for setting when Set Top Box is dispatched from the factory; Also can be modified in the configuration menu of Set Top Box as required by user after dispatching from the factory.After set-top-box opening starts, then current data type is set according to the data type of preserving in configuration information.Wherein, the configuration information prestored can be kept in the memory in Set Top Box.
Therefore, can be specially for step 201 the first situation:
2011: when described Set Top Box starts, obtain the default data type pre-set;
2012: the state exporting low and high level in GPIO interface by arranging universal input, is set to described default data type by data type current for described Set Top Box.
The second situation, user, in the use procedure of Set Top Box, can be modified to current data type by the control button on remote controller or Set Top Box.
Concrete, the data type corresponding by four-section type headset interface socket in the menu option that amendment Set Top Box is built-in is carried out.
Therefore, can be specially for step 201 the second situation:
2013: when receiving the order of change type, obtain the data type after the change of carrying in described order;
2014: by arranging the state of low and high level in GPIO interface, data type current for described Set Top Box is set to the data type after described change.
Wherein, for the process of setting data type in above-mentioned two situations, be all by the GPIO(General Purpose Input Output in main control chip, universal input/output) interface carries out controlling.Arranged by the low and high level of GPIO interface, the data type (AV signal, color difference components signal or infrared remote-controlled signal) selecting transmission can be changed.Wherein by the low and high level of GPIO interface, the mode of translation data type is set in hardware circuit design, for the mode of the channel selecting being controlled diverter switch by GPIO reaches translation data type.
In embodiments of the present invention, carried out the switching of three kinds of data types by three switches, comprising: a triple channel low conduction impedance video simulation diverter switch and two low conduction impedance switch mosfets.Wherein, by triple channel low conduction impedance video simulation diverter switch, be used for carrying out the diverter switch of AV signal and color difference components signal; By the switch of low conduction impedance switch mosfet as infrared remote-controlled signal.Wherein, the corresponding relation of the various data type of low and high level control switching of GPIO interface is as shown in table 1:
Table 1
Preferably, the data type can also carrying out another kind of mode is arranged: before each Set Top Box closes tester in power-down state, modifying, being revised as the data type that Set Top Box is current to storing data type in configuration information, uses to adapt to user's start next time.
202: by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding.
After the data type that have chosen the transmission of four-section type headset interface socket, to the data that the data type that the data line transfer Set Top Box in this four-section type headset interface socket of access is current is corresponding.
Wherein, when the data wire of user's access is the data wire of transmission of audio or video data, the process transmitting data in step 202 is the process sending data, and this process can be:
Set Top Box by television antenna or network (comprising wired or wireless network) received RF signal to set-top box front-end tuner tuner, frequency conversion exports IQ baseband signal to CPU(Central Processing Unit, central processing unit) inner demodulation chip and other related function module settling signal demodulation, TS flows demultiplexing, mpeg decompression contracts, a series of process such as audio/video encoding/decoding, exports the data of AV signal type or the data of color difference components signal type.Now, according to the data type of Set Top Box current setting, these data are sent to the equipment that the data wire in access four-section type headset interface socket is corresponding.As shown in Figure 5, be the schematic diagram of overall plan in the embodiment of the present invention.
Therefore, when the data type of Set Top Box current setting be AV signal type or color difference components signal type time, the process arranging the data of each pin transmission in four-section type headset interface socket is:
2021: when the data type that described Set Top Box is current is described AV interface type, send audio frequency right data by the first pin in described four-section type headset interface socket; Composite video signal data are sent by the second pin in described four-section type headset interface socket; Audio frequency left channel data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground;
2022: when the data type that described Set Top Box is current is described color difference components interface type, send red difference data by the first pin in described four-section type headset interface socket; Luminance signal data is sent by the second pin in described four-section type headset interface socket; Blue difference data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
Another kind of situation, when the data wire of user's access is infrared remote control extended line, the process transmitting data in step 202 is the process receiving data, and this process is specially:
Wherein, the plug of infrared remote control extended line is a three-section earphone plug, and as shown in Figure 3, wherein pin1 to pin3 represents the first pin, the second pin and three-prong in the three-section earphone plug of infrared remote control extended line respectively.And what arrange in Set Top Box in embodiments of the present invention is a four-section type headset interface socket, as shown in Figure 4, wherein pin1 to pin4 distinguishes the first pin, the second pin, three-prong and the 4th pin in four-section type headset plug to corresponding four-section type headset plug.Corresponding the first pin in four-section type headset plug of the first pin in three-section earphone plug and the 4th pin positions, therefore the infrared remote-controlled signal data transmitted in the first pin in three-section earphone plug are after being received by four-section type headset interface socket, the infrared remote-controlled signal transmitted in the first pin that in this four-section type headset interface socket, the first pin and the 4th pin all can receive in three-section earphone plug, the signal that these two pins receive can process as a road infrared remote-controlled signal by four-section type headset interface socket.And four-section type headset interface socket does not change for the DRP data reception process of two other pin in three-section earphone plug.
Therefore, when the data type of Set Top Box current setting is infrared remote-controlled signal type, the process arranging the data of each pin transmission in four-section type headset interface socket is:
2023: when the data type that described Set Top Box is current is described infrared remote control extended line interface type, jointly receive infrared remote-controlled signal by the first pin in described four-section type headset interface socket and the 4th pin; Using the second pin in described four-section type headset interface socket as the power pin of infrared remote control extended line; Using three-prong in described four-section type headset interface socket as signal ground.
The embodiment of the present invention, by arranging a four-section type headset socket on the set-top box, can transmit the one in AV signal type, color difference components signal type and infrared remote-controlled signal type respectively according to the data type of current setting.By the mode of this interface duplex, same interface can be made to transmit multi-class data, reduce the volume of Set Top Box.
Embodiment three
Embodiments provide a kind of device of transfer of data, see Fig. 6.
Wherein, Set Top Box is provided with a four-section type headset interface socket, this device comprises:
Determination module 601, for determining the data type of described Set Top Box current setting, wherein said data type at least comprises the one in audio frequency and video AV signal type, color difference components signal type and infrared remote-controlled signal type.
Data corresponding for the data type of Set Top Box current setting, when there being data transfer demands, are transmitted by four-section type headset interface socket by Set Top Box.
Therefore, the process of the data type determining Set Top Box current setting is first needed can be divided into two kinds of situations:
The first, can determine the data type of current setting when set-top-box opening starts.
In this situation, can the configuration information of reading pre-stored, wherein configuration information can for setting when Set Top Box is dispatched from the factory; Also can be modified in the configuration menu of Set Top Box as required by user after dispatching from the factory.After set-top-box opening starts, then current data type is set according to the data type of preserving in configuration information.Wherein, the configuration information prestored can be kept in the memory in Set Top Box.
Therefore, in a specific embodiment, determination module 601, comprising:
First acquiring unit, for when described Set Top Box starts, obtains the default data type pre-set;
First setting unit, for exporting the state of low and high level in GPIO interface by arranging universal input, is set to described default data type by data type current for described Set Top Box.
The second situation, user, in the use procedure of Set Top Box, can be modified to current data type by the control button on remote controller or Set Top Box.
Concrete, the data type corresponding by four-section type headset interface socket in the menu option that amendment Set Top Box is built-in is carried out.
Therefore, in a specific embodiment, determination module 601, comprising:
Second acquisition unit, for when receiving the order of change type, obtains the data type after the change of carrying in described order;
Second setting unit, for the state by arranging low and high level in GPIO interface, is set to the data type after described change by data type current for described Set Top Box.
Wherein, for the process of setting data type in above-mentioned two situations, be all by the GPIO(General Purpose Input Output in main control chip, universal input/output) interface carries out controlling.Arranged by the low and high level of GPIO interface, the data type (AV signal, color difference components signal or infrared remote-controlled signal) selecting transmission can be changed.Wherein by the low and high level of GPIO interface, the mode of translation data type is set in hardware circuit design, for the mode of the channel selecting being controlled diverter switch by GPIO reaches translation data type.
In embodiments of the present invention, carried out the switching of three kinds of data types by three switches, comprising: a triple channel low conduction impedance video simulation diverter switch and two low conduction impedance switch mosfets.Wherein, by triple channel low conduction impedance video simulation diverter switch, be used for carrying out the diverter switch of AV signal and color difference components signal; By the switch of low conduction impedance switch mosfet as infrared remote-controlled signal.Wherein, the corresponding relation of the various data type of low and high level control switching of GPIO interface is as shown in table 1.
Preferably, the data type can also carrying out another kind of mode is arranged: before each Set Top Box closes tester in power-down state, modifying, being revised as the data type that Set Top Box is current to storing data type in configuration information, uses to adapt to user's start next time.
Transport module 602, for by described four-section type headset interface socket, transmits the data that the data type current with described Set Top Box is corresponding.
After the data type that have chosen the transmission of four-section type headset interface socket, to the data that the data type that the data line transfer Set Top Box in this four-section type headset interface socket of access is current is corresponding.
Wherein, when the data wire of user's access is the data wire of transmission of audio or video data, the process transmitting data in step 202 is the process sending data, and this process can be:
Set Top Box by television antenna or network (comprising wired or wireless network) received RF signal to set-top box front-end tuner tuner, frequency conversion exports IQ baseband signal to CPU(Central Processing Unit, central processing unit) inner demodulation chip and other related function module settling signal demodulation, TS flows demultiplexing, mpeg decompression contracts, a series of process such as audio/video encoding/decoding, exports the data of AV signal type or the data of color difference components signal type.Now, according to the data type of Set Top Box current setting, these data are sent to the equipment that the data wire in access four-section type headset interface socket is corresponding.As shown in Figure 5, be the schematic diagram of overall plan in the embodiment of the present invention.
Therefore, when the data type of Set Top Box current setting be AV signal type or color difference components signal type time, the unit arranging each pin transmission in four-section type headset interface socket in transport module 602 is respectively:
Wherein, described transport module 602, comprising:
First transmission unit, when being described AV signal type for the data type current when described Set Top Box, sends audio frequency right data by the first pin in described four-section type headset interface socket; Composite video signal data are sent by the second pin in described four-section type headset interface socket; Audio frequency left channel data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
Wherein, described transport module 602, comprising:
Second transmission unit, when being described color difference components signal type for the data type current when described Set Top Box, sends red difference data by the first pin in described four-section type headset interface socket; Luminance signal data is sent by the second pin in described four-section type headset interface socket; Blue difference data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
Wherein, described transport module 602, comprising:
3rd transmission unit, when being described infrared remote-controlled signal type for the data type current when described Set Top Box, receives infrared remote-controlled signal jointly by the first pin in described four-section type headset interface socket and the 4th pin; Using the second pin in described four-section type headset interface socket as the power pin of infrared remote control extended line; Using three-prong in described four-section type headset interface socket as signal ground.
The embodiment of the present invention, by arranging a four-section type headset socket on the set-top box, can transmit the one in AV signal type, color difference components signal type and infrared remote-controlled signal type respectively according to the data type of current setting.By the mode of this interface duplex, same interface can be made to transmit multi-class data, reduce the volume of Set Top Box.
Embodiment four
Embodiments provide a kind of Set Top Box, wherein, Set Top Box is provided with a four-section type headset interface socket.
Its structure is see Fig. 7, and wherein, this Set Top Box comprises: memory 701 and at least one processor 702, and processor 702 is configured to perform following operation:
Determine the data type of described Set Top Box current setting, wherein said data type at least comprises the one in audio frequency and video AV signal type, color difference components signal type and infrared remote-controlled signal type;
By described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding.
Set Top Box by television antenna or network (comprising wired or wireless network) received RF signal to set-top box front-end tuner tuner, frequency conversion exports IQ baseband signal to CPU(Central Processing Unit, central processing unit) inner demodulation chip and other related function module settling signal demodulation, TS flows demultiplexing, mpeg decompression contracts, a series of process such as audio/video encoding/decoding, exports the data of AV signal type or the data of color difference components signal type.Now, according to the data type of Set Top Box current setting, these data are sent to the equipment that the data wire in access four-section type headset interface socket is corresponding.As shown in Figure 5, be the schematic diagram of overall plan in the embodiment of the present invention.
Wherein, the described data type determining described Set Top Box current setting, comprising:
When described Set Top Box starts, obtain the default data type pre-set;
Export the state of low and high level in GPIO interface by arranging universal input, data type current for described Set Top Box is set to described default data type.
Concrete, in this situation, can the configuration information of reading pre-stored, wherein configuration information can for setting when Set Top Box is dispatched from the factory; Also can be modified in the configuration menu of Set Top Box as required by user after dispatching from the factory.After set-top-box opening starts, then current data type is set according to the data type of preserving in configuration information.Wherein, the configuration information stored up in advance can be kept in the memory in Set Top Box.
Wherein, the described data type determining described Set Top Box current setting, comprising:
When receiving the order of change type, obtain the data type after the change of carrying in described order;
By arranging the state of low and high level in GPIO interface, data type current for described Set Top Box is set to the data type after described change.
Concrete, the data type corresponding by four-section type headset interface socket in the menu option that amendment Set Top Box is built-in is carried out.
Wherein, for the process of setting data type in above-mentioned two situations, be all by the GPIO(General Purpose Input Output in main control chip, universal input/output) interface carries out controlling.Arranged by the low and high level of GPIO interface, the data type (AV signal, color difference components signal or infrared remote-controlled signal) selecting transmission can be changed.Wherein by the low and high level of GPIO interface, the mode of translation data type is set in hardware circuit design, for the mode of the channel selecting being controlled diverter switch by GPIO reaches translation data type.
In embodiments of the present invention, carried out the switching of three kinds of data types by three switches, comprising: a triple channel low conduction impedance video simulation diverter switch and two low conduction impedance switch mosfets.Wherein, by triple channel low conduction impedance video simulation diverter switch, be used for carrying out the diverter switch of AV signal and color difference components signal; By the switch of low conduction impedance switch mosfet as infrared remote-controlled signal.Wherein, the corresponding relation of the various data type of low and high level control switching of GPIO interface is as shown in table 1.
Preferably, the data type can also carrying out another kind of mode is arranged: before each Set Top Box closes tester in power-down state, modifying, being revised as the data type that Set Top Box is current to storing data type in configuration information, uses to adapt to user's start next time.
Wherein, described by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding, comprising:
When the data type that described Set Top Box is current is described AV signal type, send audio frequency right data by the first pin in described four-section type headset interface socket; Composite video signal data are sent by the second pin in described four-section type headset interface socket; Audio frequency left channel data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
Wherein, described by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding, comprising:
When the data type that described Set Top Box is current is described color difference components signal type, send red difference data by the first pin in described four-section type headset interface socket; Luminance signal data is sent by the second pin in described four-section type headset interface socket; Blue difference data is sent by the 4th pin in described four-section type headset interface socket; Using three-prong in described four-section type headset interface socket as signal ground.
Wherein, described by described four-section type headset interface socket, transmit the data that the data type current with described Set Top Box is corresponding, comprising:
When the data type that described Set Top Box is current is described infrared remote-controlled signal type, jointly receive infrared remote-controlled signal by the first pin in described four-section type headset interface socket and the 4th pin; Using the second pin in described four-section type headset interface socket as the power pin of infrared remote control extended line; Using three-prong in described four-section type headset interface socket as signal ground.
The embodiment of the present invention, by arranging a four-section type headset socket on the set-top box, can transmit the one in AV signal type, color difference components signal type and infrared remote-controlled signal type respectively according to the data type of current setting.By the mode of this interface duplex, same interface can be made to transmit multi-class data, reduce the volume of Set Top Box.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.