CN105847955B - A kind of switching method and electronic equipment of signal source - Google Patents

A kind of switching method and electronic equipment of signal source Download PDF

Info

Publication number
CN105847955B
CN105847955B CN201610340991.7A CN201610340991A CN105847955B CN 105847955 B CN105847955 B CN 105847955B CN 201610340991 A CN201610340991 A CN 201610340991A CN 105847955 B CN105847955 B CN 105847955B
Authority
CN
China
Prior art keywords
signal
electronic equipment
connection type
output interface
feedback
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.)
Active
Application number
CN201610340991.7A
Other languages
Chinese (zh)
Other versions
CN105847955A (en
Inventor
何松琴
姜明辉
李洪斌
马培娇
卿春梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Jiuzhou Electric Group Co Ltd
Sichuan Jiuzhou Electronic Technology Co Ltd
Original Assignee
Sichuan Jiuzhou Electric Group Co Ltd
Sichuan Jiuzhou Electronic Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sichuan Jiuzhou Electric Group Co Ltd, Sichuan Jiuzhou Electronic Technology Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN201610340991.7A priority Critical patent/CN105847955B/en
Publication of CN105847955A publication Critical patent/CN105847955A/en
Application granted granted Critical
Publication of CN105847955B publication Critical patent/CN105847955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Abstract

The invention discloses a kind of switching method of signal source and electronic equipments, the described method includes: the determining connection type with the second electronic equipment is the first connection type, wherein, the connection type includes at least first connection type, and second electronic equipment is for exporting the signal obtained by first connection type from first electronic equipment;Corresponding with first connection type first, which is sent, to second electronic equipment examines signal;Acquire the feedback signal corresponding with the first inspection signal issued by second electronic equipment;When the first inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu sends signal source switching signal, so that the signal source module of second electronic equipment matches with first connection type.

Description

A kind of switching method and electronic equipment of signal source
Technical field
The present invention relates to electronic technology field, in particular to the switching method and electronic equipment of a kind of signal source.
Background technique
With digital television techniques fast development, multiplex roles output set top box has been popularized in an all-round way.Multiplex roles export machine top Box merges different multimedia output interfaces, the users such as HDMI interface, analog audio-video interface, component interface can be according to television set Input interface and itself hobby select corresponding set-top box multimedia output interface.
When television set by being connected on multiplex roles output set top box to watch TV programme by user, it is necessary first to root According to the signal source of the connection type of television set and multiplex roles output set top box adjustment television set, e.g., when television set is connect by HDMI When mouth is connect with set-top box, the signal source module of television set needs to be arranged to HDMI mode.
In the prior art, television set signal source selection all realized using by manual operation, need using TV remote controller switches the input signal source of television set to correspond to the output interface of set-top box.As it can be seen that electricity in the prior art There are cumbersome technical problems for sub- equipment.
Summary of the invention
The embodiment of the present application provides the switching method and electronic equipment of a kind of signal source, for solving electricity in the prior art There are cumbersome technical problems for sub- equipment, realize automatic switching signal source, simplify the technology of the operating procedure of electronic equipment Effect.
The embodiment of the present application first aspect provides a kind of switching method of signal source, comprising:
The determining connection type with the second electronic equipment is the first connection type, wherein the connection type includes at least First connection type, second electronic equipment are for exporting through first connection type from first electronics The signal that equipment obtains;
Corresponding with first connection type first, which is sent, to second electronic equipment examines signal;
Acquire the feedback signal corresponding with the first inspection signal issued by second electronic equipment;
When the first inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu is sent Signal source switching signal, so that the signal source module of second electronic equipment matches with first connection type.
Optionally, the connection type of the determination and the second electronic equipment is the first connection type, comprising:
Detect at least one state parameter of at least one signal output interface on first electronic equipment, wherein The state parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
Based at least one described state parameter, the determining connection type with second electronic equipment is the first connection side Formula.
Optionally, described based at least one described state parameter, the determining connection type with second electronic equipment For the first connection type, comprising:
The Parameters variation amount at least one described state parameter between each state parameter and preset parameter value is calculated, is obtained At least one Parameters variation amount;
Determine that variable quantity is greater than the first Parameters variation amount of preset threshold from least one described Parameters variation amount;
Determine that connection type corresponding with the first signal output interface is the first connection type, wherein first signal Output interface is signal output interface corresponding with the first Parameters variation amount at least one described signal output interface.
Optionally, described to send the first inspection letter corresponding with first connection type to second electronic equipment Number, comprising:
Determine the first signal frequency corresponding with first connection type;
Sending to second electronic equipment has the first of first signal frequency to examine signal.
Optionally, in the feedback corresponding with the first inspection signal for acquiring and being issued by second electronic equipment After signal, the method also includes:
Obtain the second signal frequency of the feedback signal;
Determine whether the second signal frequency and first signal frequency are identical.
Optionally, described when the first inspection signal and the feedback signal meet preset condition, Xiang Suoshu second Electronic equipment sends signal source switching signal, comprising:
In the second signal frequency and the second signal frequency difference, generation includes the control letter of default code value Number;
The control signal is sent to second electronic equipment.
Optionally, when the first inspection signal and the feedback signal meet preset condition, the second electronics of Xiang Suoshu After equipment sends signal source switching signal, the method also includes:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronics is determined The signal source module of equipment is matched with first connection type.
The embodiment of the present application second aspect provides a kind of electronic equipment, comprising:
Signal projector;
Signal picker;
Processor is connect with the signal projector and the signal picker, for determining and the second electronic equipment Connection type is the first connection type, wherein the connection type includes at least first connection type, second electronics Equipment is for exporting the signal obtained by first connection type from first electronic equipment;Control the signal hair Emitter sends corresponding with first connection type first to second electronic equipment and examines signal;The signal is controlled to adopt The feedback signal corresponding with the first inspection signal that storage acquisition is issued by second electronic equipment;And described When one inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu sends signal source switching signal, So that the signal source module of second electronic equipment matches with first connection type.
Optionally, the processor is specifically used for:
Detect at least one state parameter of at least one signal output interface on first electronic equipment, wherein The state parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
Based at least one described state parameter, the determining connection type with second electronic equipment is the first connection side Formula.
Optionally, the processor is specifically used for:
The Parameters variation amount at least one described state parameter between each state parameter and preset parameter value is calculated, is obtained At least one Parameters variation amount;
Determine that variable quantity is greater than the first Parameters variation amount of preset threshold from least one described Parameters variation amount;
Determine that connection type corresponding with the first signal output interface is the first connection type, wherein first signal Output interface is signal output interface corresponding with the first Parameters variation amount at least one described signal output interface.
Optionally, the processor is specifically used for:
Determine the first signal frequency corresponding with first connection type;
Sending to second electronic equipment has the first of first signal frequency to examine signal.
Optionally, the processor is also used to:
Obtain the second signal frequency of the feedback signal;
Determine whether the second signal frequency and first signal frequency are identical.
Optionally, the processor is specifically used for:
In the second signal frequency and the second signal frequency difference, generation includes the control letter of default code value Number;
The control signal is sent to second electronic equipment.
Optionally, the processor is also used to:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronics is determined The signal source module of equipment is matched with first connection type.
The embodiment of the present application third aspect provides a kind of electronic equipment, comprising:
First determination unit is the first connection type for the determining connection type with the second electronic equipment, wherein described Connection type includes at least first connection type, and second electronic equipment is to pass through first connection side for exporting The signal that formula is obtained from first electronic equipment;
First transmission unit, for sending the first inspection corresponding with first connection type to second electronic equipment Test signal;
First acquisition unit examines signal corresponding by second electronic equipment sending for acquiring with described first Feedback signal;
Second transmission unit, for it is described first inspection signal and the feedback signal meet preset condition when, to institute It states the second electronic equipment and sends signal source switching signal, so that the signal source module of second electronic equipment and described first connects The mode of connecing matches.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
Due to the technical solution in the embodiment of the present application, the determining connection type with the second electronic equipment is used to connect for first Connect mode, wherein the connection type includes at least first connection type, and second electronic equipment is logical for exporting Cross the signal that first connection type is obtained from first electronic equipment;It is sent and described the to second electronic equipment One connection type corresponding first examines signal;What acquisition was issued by second electronic equipment examines signal pair with described first The feedback signal answered;When the first inspection signal and the feedback signal meet preset condition, the second electronics of Xiang Suoshu is set Preparation send signal source switching signal, so that the signal source module of second electronic equipment matches with first connection type Technological means, in this way, when the first electronic equipment, as multiplex roles output set top box leads to the second electronic equipment, such as television set After crossing a certain output interface connection, which the multiplex roles output set top box meeting current connecting interface of automatic discrimination is specially, such as Then HDMI interface sends corresponding with HDMI interface checking signal, when multiplex roles output set top box collects television set to testing After the feedback signal that card signal is made, feedback signal is compared with checking signal just, such as compares checking signal and feedback letter Number frequency it is whether mutually not same, when feedback signal and checking signal meet condition, multiplex roles output set top box will be to electricity Send signal source switching signal depending on machine, just can make without manual operation the signal source module of television set with currently connect Interface matches, and efficiently solves electronic equipment in the prior art there are cumbersome technical problem, realizes and cut automatically Signal source is changed, the technical effect of the operating procedure of electronic equipment is simplified.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, will be described below to embodiment Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment.
Fig. 1 is a kind of flow chart of the switching method of the signal source provided in the embodiment of the present application one;
Fig. 2 is the specific implementation flow chart of step S101 in the embodiment of the present application one;
Fig. 3 is the specific implementation flow chart of step S202 in the embodiment of the present application one;
Fig. 4 is the specific implementation flow chart of step S102 in the embodiment of the present application one;
Fig. 5 is the specific implementation flow chart of step S104 in the embodiment of the present application one;
Fig. 6 is the system block diagram of set-top box and television set in the embodiment of the present application;
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application two provides;
Fig. 8 is the structural block diagram for a kind of electronic equipment that the embodiment of the present application three provides.
Specific embodiment
The embodiment of the present application provides the switching method and electronic equipment of a kind of signal source, for solving electricity in the prior art There are cumbersome technical problems for sub- equipment, realize automatic switching signal source, simplify the technology of the operating procedure of electronic equipment Effect.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
A kind of switching method of signal source, comprising:
The determining connection type with the second electronic equipment is the first connection type, wherein the connection type includes at least First connection type, second electronic equipment are for exporting through first connection type from first electronics The signal that equipment obtains;
Corresponding with first connection type first, which is sent, to second electronic equipment examines signal;
Acquire the feedback signal corresponding with the first inspection signal issued by second electronic equipment;
When the first inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu is sent Signal source switching signal, so that the signal source module of second electronic equipment matches with first connection type.
In the above-mentioned technical solutions, use determining and the second electronic equipment connection type for the first connection type, wherein The connection type includes at least first connection type, and second electronic equipment is to connect for exporting by described first Connect the signal that mode is obtained from first electronic equipment;It is sent and first connection type pair to second electronic equipment First answered examines signal;Acquire the feedback letter corresponding with the first inspection signal issued by second electronic equipment Number;When the first inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu sends signal Source switching signal, so that the technology hand that the signal source module of second electronic equipment and first connection type match Section, in this way, when the first electronic equipment, such as multiplex roles output set top box, and the second electronic equipment, such as television set, by a certain defeated After outgoing interface connection, multiplex roles output set top box can the current connecting interface of automatic discrimination which is specially, such as HDMI interface, so Checking signal corresponding with HDMI interface is sent afterwards, when multiplex roles output set top box collects what television set made checking signal After feedback signal, just feedback signal is compared with checking signal, such as compare checking signal and feedback signal frequency whether Mutually not same, when feedback signal meets condition with checking signal, multiplex roles output set top box will send signal to television set Source switching signal just can make the signal source module of television set match with the interface currently connecting without manual operation, Efficiently solving electronic equipment in the prior art, there are cumbersome technical problems, realize automatic switching signal source, letter Change the technical effect of the operating procedure of electronic equipment.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present application and embodiment In technical characteristic can be combined with each other.
Embodiment one
Referring to FIG. 1, a kind of flow chart of the switching method of the signal source provided for the embodiment of the present application one, it is applied to the One electronic equipment, which comprises
S101: the determining connection type with the second electronic equipment is the first connection type, wherein the connection type is at least Including first connection type, second electronic equipment is for exporting through first connection type from described first The signal that electronic equipment obtains;
S102: Xiang Suoshu second electronic equipment sends corresponding with first connection type first and examines signal;
S103: the feedback signal corresponding with the first inspection signal that acquisition is issued by second electronic equipment;
S104: when the first inspection signal and the feedback signal meet preset condition, the second electronics of Xiang Suoshu is set Preparation send signal source switching signal, so that the signal source module of second electronic equipment and the first connection type phase Match.
In the specific implementation process, first electronic equipment can be multiplex roles output set top box, be also possible to other The electronic equipment of video or audio can be exported, here, just different one schematically illustrating.Second electronic equipment specifically can be Television set, display screen etc. can receive and export the electronic equipment of the signal of the first electronic equipment, in the embodiment of the present application In, it will be multiplex roles output set top box by first electronic equipment, for second electronic equipment is television set, to this Technical solution in application embodiment is described in detail.
When carrying out signal source switching using the method in the embodiment of the present application, step S101 is first carried out, it may be assumed that determine with The connection type of second electronic equipment is the first connection type, wherein the connection type includes at least first connection side Formula, second electronic equipment are for exporting the letter obtained by first connection type from first electronic equipment Number.
In the embodiment of the present application, referring to FIG. 2, the specific implementation of step S101 is as follows:
S201: at least one state parameter of at least one signal output interface on detection first electronic equipment, Wherein, the state parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
S202: based at least one described state parameter, the determining connection type with second electronic equipment is first Connection type.
In the specific implementation process, above-mentioned example is continued to use, after multiplex roles output set top box is in open state, set-top box CPU will detect the state of each signal output interface automatically.There is HDMI interface, analog audio with multiplex roles output set top box For three output interfaces of video interface and component interface, set-top box CPU can be with the voltage of these three output interfaces of real-time detection The impedance value of value or interface pin e.g. sets and carries out voltage monitoring to the HPD pin of HDMI interface, connect to analog audio-video Mouth and component interface carry out pin impedance value monitoring respectively, and after set-top-box opening, CPU will be to the relevant parameter of the corresponding interface It is detected.It is of course also possible to be detected according to preset sequence, e.g., CPU can monitor the voltage of HDMI interface first Value, when judging that television set is attached by HDMI interface by voltage value, then to the pipe of analog audio-video interface Foot impedance is detected, and is attached if judging that television set is also not by analog audio-video interface, finally to component The impedance value of interface is detected.
In the embodiment of the present application, referring to FIG. 3, the specific implementation of step S202 is as follows:
S301: the Parameters variation at least one described state parameter between each state parameter and preset parameter value is calculated Amount, obtains at least one Parameters variation amount;
S302: determine that variable quantity is greater than the first Parameters variation of preset threshold from least one described Parameters variation amount Amount;
S303: determine that connection type corresponding with the first signal output interface is the first connection type, wherein described first Signal output interface is that signal output corresponding with the first Parameters variation amount connects at least one described signal output interface Mouthful.
In the specific implementation process, above-mentioned example is continued to use, if the HPD pin voltage value that set-top box CPU obtains is 2.3V, mould The impedance value of quasi- audio-video interface is 5 Ω, and the impedance value of component interface is 3 Ω, is previously stored in the memory of set-top box Preset voltage value and predetermined resistance value, if preset voltage value is 0V, predetermined resistance value is 0 Ω, and set-top box CPU passes through predeterminated voltage The voltage difference that value and predetermined resistance value calculate current time HPD pin is 2.3V, the impedance differences of analog audio-video interface For 5 Ω, the impedance differences of component interface are 3 Ω, meanwhile, it is also stored in the memory of set-top box corresponding with voltage value pre- If threshold value, such as 2V, and preset threshold corresponding with resistance value, such as 10 Ω, at this point, due to 2.3V>2V, 5 Ω<10 Ω, 3 Ω< 10 Ω judge that the voltage value of only HPD pin meets preset condition, at this point, the determining connection with television set of the CPU of set-top box Mode is HDMI interface connection type.
If set-top box CPU is detected by preset sequence, CPU obtains HPD pin voltage value first, and such as 0.3V leads to Crossing and calculating voltage difference with the preset voltage value prestored in set-top box memory is 0.3V, is less than preset threshold 2V, to sentence The connection type of disconnected television set out is not HDMI interface connection type, then CPU obtains the impedance value of analog audio-video interface, such as 15 Ω is 15 Ω by calculating resistance difference with the predetermined resistance value prestored in set-top box memory, is greater than 10 Ω of preset threshold, To judge that the connection type of television set is analog audio-video interface connection type.
If set-top box CPU judges it is not any one in above-mentioned three kinds of connection types, at this point, set-top box CPU can To export standby signal, check whether connecting line connects whether good or connecting line has damaged after prompting user's power-off.? It is turned back in the case that confirmation connecting line is good and connection is errorless and carries out above-mentioned deterministic process.
After executing and completing above-mentioned steps, the method in the embodiment of the present application just executes step S102, it may be assumed that Xiang Suoshu the Two electronic equipments send corresponding with first connection type first and examine signal.
In the embodiment of the present application, referring to FIG. 4, the specific implementation of step S102 is as follows:
S401: the first signal frequency corresponding with first connection type is determined;
S402: Xiang Suoshu second electronic equipment, which is sent, has the first of first signal frequency to examine signal.
In the specific implementation process, continue to use above-mentioned example, determined with set-top box CPU be with the connection type of television set For HDMI interface connection type, at this point, set-top box CPU will be sent and HDMI interface pair by HDMI connecting line to television set The audio signal answered.Three kinds of signal frequencies corresponding with three kinds of interface modes are previously stored in the memory of set-top box, e.g., Signal frequency corresponding with HDMI interface is 50Hz, and signal frequency corresponding with analog audio-video interface is 100Hz, is connect with component The corresponding signal frequency of mouth is 150Hz.At this point, set-top box CPU just sends the audio signal that signal frequency is 50Hz to television set.
After executing completion step S102, the method in the embodiment of the present application just executes step S103, it may be assumed that acquisition is by institute State the feedback signal corresponding with the first inspection signal of the second electronic equipment sending.
In the specific implementation process, above-mentioned example is continued to use, is 50Hz when set-top box CPU just sends signal frequency to television set Audio signal after, television set will export corresponding feedback audio signal, such as 80Hz by loudspeaker, at this point, set-top box CPU The feedback audio signal that TV loudspeaker issues is obtained by the sound pick-up in set-top box.
Method after executing completion above-mentioned steps, in the embodiment of the present application further include:
Obtain the second signal frequency of the feedback signal;
Determine whether the second signal frequency and first signal frequency are identical.
In the specific implementation process, above-mentioned example is continued to use, when set-top box CPU obtains TV by the sound pick-up in set-top box After the feedback audio signal that machine loudspeaker issues, CPU will extract signal frequency in feedback audio signal, such as 80Hz, due to 80Hz ≠ 50Hz, so that set-top box CPU judges that the feedback audio signal of television set is different from signal is examined.
After executing and completing above-mentioned steps, the method in the embodiment of the present application just executes step S104, it may be assumed that described the When one inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu sends signal source switching signal, So that the signal source module of second electronic equipment matches with first connection type.
In the embodiment of the present application, referring to FIG. 5, the specific implementation of step S104 is as follows:
S501: in the second signal frequency and the second signal frequency difference, generation includes default code value Control signal;
S502: the control signal is sent to second electronic equipment.
In the specific implementation process, continue to use above-mentioned example, when set-top box CPU judge the feedback audio signal of television set with After examining signal different, set-top box CPU then generates the control signal for controlling television set switching signal source.The storage of set-top box The code value of the preparatory typing television set switching signal source signal of meeting, the input method of the code value: first by TV remote controller in device In code value study to set-top box remote controller, which can be entered into memory by set-top box remote controller by set-top box CPU. At this point, set-top box CPU then obtains code value corresponding with control television set switching signal source signal in memory, generation includes this The control signal of code value, and it is sent to television set, so that television set switching signal source is controlled, referring to FIG. 6, implementing for the application The system block diagram of set-top box and television set in example.
Method after executing completion above-mentioned steps, in the embodiment of the present application further include:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronics is determined The signal source module of equipment is matched with first connection type.
In the specific implementation process, above-mentioned example is continued to use, after set-top box CPU sends control signal to television set, machine top Box CPU will send the inspection signal that signal frequency is 50Hz again by HDMI connecting line, and obtain electricity again by sound pick-up Depending on the feedback audio signal that machine loudspeaker issues, judge whether the frequency of feedback audio signal is identical as 50Hz, if they are the same, then really The signal source module for making television set is HDMI mode, to judge that the setting up procedure of television signal source is completed.If feedback sound The frequency of frequency signal is still different from 50Hz, then set-top box CPU will issue the control signal of control television set switching signal source again, Until the frequency for the feedback audio signal that television set issues is identical as 50Hz.
Embodiment two
Based on inventive concept identical with the embodiment of the present application one, referring to FIG. 7, provided for the embodiment of the present application two one The structural schematic diagram of kind electronic equipment, comprising:
Signal projector 10;
Signal picker 20;
Processor 30 is connect with signal projector 10 and signal picker 20, for the determining company with the second electronic equipment Connecing mode is the first connection type, wherein the connection type includes at least first connection type, and second electronics is set Standby is for exporting the signal obtained by first connection type from first electronic equipment;Control signal projector 10 Corresponding with first connection type first, which is sent, to second electronic equipment examines signal;Control signal picker 20 is adopted Collect the feedback signal corresponding with the first inspection signal issued by second electronic equipment;And it is examined described first When signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu sends signal source switching signal, so that institute The signal source module and first connection type for stating the second electronic equipment match.
In the specific implementation process, the electronic equipment can be multiplex roles output set top box, and being also possible to other has The electronic equipment of multiple output interfaces, in the embodiment of the present application with no restriction.In the following description with the electronic equipment To be illustrated for multiplex roles output set top box.
Processor 30 is specifically as follows the CPU of multiplex roles output set top box, and signal projector 10 can export for multiplex roles The Infrared Remote-Control Sending head of set-top box, in the provisioning process, Infrared Remote-Control Sending hair go out the remote control of television signal source switching Code value;Signal picker 20 can be the sound pick-up of multiplex roles output set top box, and sound pick-up is received to be issued from TV loudspeaker Analog audio signal, be converted into corresponding digital signal and return to CPU.
In the embodiment of the present application two, processor 30 is specifically used for:
Detect at least one state parameter of at least one signal output interface on first electronic equipment, wherein The state parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
Based at least one described state parameter, the determining connection type with second electronic equipment is the first connection side Formula.
In the embodiment of the present application two, processor 30 is specifically used for:
The Parameters variation amount at least one described state parameter between each state parameter and preset parameter value is calculated, is obtained At least one Parameters variation amount;
Determine that variable quantity is greater than the first Parameters variation amount of preset threshold from least one described Parameters variation amount;
Determine that connection type corresponding with the first signal output interface is the first connection type, wherein first signal Output interface is signal output interface corresponding with the first Parameters variation amount at least one described signal output interface.
In the specific implementation process, set-top box CPU can monitor the pin voltage or pin impedance by each interface in real time, When pin voltage or pin impedance change, then CPU just determines that changed interface is that television set and set-top box connect The interface connect.Certainly, set-top box CPU can monitor the pin voltage or pin impedance of multiple interfaces simultaneously, can also be with default The progressive judgement of sequence, whether the parameter for such as first detecting first interface change, if any, it is determined that be with first Interface is attached;If it has not, second interface then is being detected, and so on, those skilled in the art can be according to practical feelings Condition is selected, in this application with no restriction.
In the embodiment of the present application two, processor 30 is specifically used for:
Determine the first signal frequency corresponding with first connection type;
Sending to second electronic equipment has the first of first signal frequency to examine signal.
In the specific implementation process, above-mentioned example is continued to use, when set-top box it is determined that when being attached with first interface, Inspection signal corresponding with first interface will be generated, the frequency of signal is examined to be become according to the difference of connecting interface Change.Such as, the corresponding signal frequency of first interface is 50Hz, and the corresponding signal frequency of second interface is 100Hz etc., here, It is schematically illustrated with regard to different one.
In the embodiment of the present application two, processor 30 is also used to:
Obtain the second signal frequency of the feedback signal;
Determine whether the second signal frequency and first signal frequency are identical.
In the embodiment of the present application two, processor 30 is specifically used for:
In the second signal frequency and the second signal frequency difference, generation includes the control letter of default code value Number;
The control signal is sent to second electronic equipment.
In the specific implementation process, which is the remote signal of television signal source switching, the remote signal code Value is entered into CPU, the method for typing: first being learnt the TV remote controller code value in set-top box remote controller, machine The code value can be entered into memory by set-top box remote controller by top box CPU, to just mention when needing emissioning controling signal The code value is taken, the signal for carrying the code value is sent to television set, to switch the signal source of television set.
In the embodiment of the present application two, processor 30 is also used to:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronics is determined The signal source module of equipment is matched with first connection type.
In the specific implementation process, after set-top box sends control signal to television set, before set-top box also needs to repeat The inspection signal stated is sent, and receives and processes the audio signal of television set, the processes such as comparison.When television set is switched to certain signal Under source module, when the inspection signal of audio signal and sending that set-top box CPU receives is same frequency signal, CPU is not retransmited Switch the remote signal of television signal source, the process of being correspondingly arranged terminates, and the signal source of television set is set to the side of being correspondingly connected with The signal source module of formula.
Embodiment three
Based on inventive concept identical with the embodiment of the present application one, referring to FIG. 8, provided for the embodiment of the present application three one The structural block diagram of kind electronic equipment, comprising:
First determination unit 101 is the first connection type for the determining connection type with the second electronic equipment, wherein The connection type includes at least first connection type, and second electronic equipment is to connect for exporting by described first Connect the signal that mode is obtained from first electronic equipment;
First transmission unit 102, for sending corresponding with first connection type the to second electronic equipment One examines signal;
First acquisition unit 103 examines signal pair with described first by second electronic equipment sending for acquiring The feedback signal answered;
Second transmission unit 104, for it is described first inspection signal and the feedback signal meet preset condition when, to Second electronic equipment sends signal source switching signal, so that the signal source module of second electronic equipment and described first Connection type matches.
In the embodiment of the present application three, the first determination unit 101 includes:
First detection module, for detecting at least one of at least one signal output interface on first electronic equipment A state parameter, wherein the state parameter includes the voltage parameter of the output interface or the impedance ginseng of the output interface Number;
First determining module, for based at least one described state parameter, the determining company with second electronic equipment Connecing mode is the first connection type.
In the embodiment of the present application three, the first determining module includes:
First computational submodule, for calculating each state parameter and preset parameter value at least one described state parameter Between Parameters variation amount, obtain at least one Parameters variation amount;
First determines submodule, for determining that variable quantity is greater than preset threshold from least one described Parameters variation amount First Parameters variation amount;
Second determines submodule, for determining that connection type corresponding with the first signal output interface is the first connection side Formula, wherein first signal output interface be at least one described signal output interface with the first Parameters variation amount Corresponding signal output interface.
In the embodiment of the present application three, the first transmission unit 102 includes:
Second determining module, for determining the first signal frequency corresponding with first connection type;
First sending module has the first of first signal frequency to examine for sending to second electronic equipment Signal.
In the embodiment of the present application three, the electronic equipment further include:
First acquisition unit 105, for obtaining the second signal frequency of the feedback signal;
Second determination unit 106, for determining whether the second signal frequency and first signal frequency are identical.
In the embodiment of the present application three, the second transmission unit 104 includes:
First generation module, in the second signal frequency and the second signal frequency difference, generation to include There is the control signal of default code value;
Second sending module, for the control signal to be sent to second electronic equipment.
In the embodiment of the present application three, the electronic equipment further include:
Third determination unit 107, for being unsatisfactory for the default item in the first inspection signal and the feedback signal When part, determine that the signal source module of second electronic equipment is matched with first connection type.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented Fruit:
Due to the technical solution in the embodiment of the present application, the determining connection type with the second electronic equipment is used to connect for first Connect mode, wherein the connection type includes at least first connection type, and second electronic equipment is logical for exporting Cross the signal that first connection type is obtained from first electronic equipment;It is sent and described the to second electronic equipment One connection type corresponding first examines signal;What acquisition was issued by second electronic equipment examines signal pair with described first The feedback signal answered;When the first inspection signal and the feedback signal meet preset condition, the second electronics of Xiang Suoshu is set Preparation send signal source switching signal, so that the signal source module of second electronic equipment matches with first connection type Technological means, in this way, when the first electronic equipment, as multiplex roles output set top box leads to the second electronic equipment, such as television set After crossing a certain output interface connection, which the multiplex roles output set top box meeting current connecting interface of automatic discrimination is specially, such as Then HDMI interface sends corresponding with HDMI interface checking signal, when multiplex roles output set top box collects television set to testing After the feedback signal that card signal is made, feedback signal is compared with checking signal just, such as compares checking signal and feedback letter Number frequency it is whether mutually not same, when feedback signal and checking signal meet condition, multiplex roles output set top box will be to electricity Send signal source switching signal depending on machine, just can make without manual operation the signal source module of television set with currently connect Interface matches, and efficiently solves electronic equipment in the prior art there are cumbersome technical problem, realizes and cut automatically Signal source is changed, the technical effect of the operating procedure of electronic equipment is simplified.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of the switching method of the signal source in the embodiment of the present application can be deposited It stores up on CD, hard disk, the storage mediums such as USB flash disk, when the computer journey corresponding with the switching method of signal source in storage medium Sequence instruction is read or is performed by an electronic equipment, includes the following steps:
The determining connection type with the second electronic equipment is the first connection type, wherein the connection type includes at least First connection type, second electronic equipment are for exporting through first connection type from first electronics The signal that equipment obtains;
Corresponding with first connection type first, which is sent, to second electronic equipment examines signal;
Acquire the feedback signal corresponding with the first inspection signal issued by second electronic equipment;
When the first inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu is sent Signal source switching signal, so that the signal source module of second electronic equipment matches with first connection type.
Optionally, store in the storage medium and step: the determining connection type with the second electronic equipment is first Connection type, corresponding computer program instructions are when executed, comprising:
Detect at least one state parameter of at least one signal output interface on first electronic equipment, wherein The state parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
Based at least one described state parameter, the determining connection type with second electronic equipment is the first connection side Formula.
Optionally, stored in the storage medium and step: based at least one described state parameter, it is determining with it is described The connection type of second electronic equipment is the first connection type, and corresponding computer program instructions are when executed, comprising:
The Parameters variation amount at least one described state parameter between each state parameter and preset parameter value is calculated, is obtained At least one Parameters variation amount;
Determine that variable quantity is greater than the first Parameters variation amount of preset threshold from least one described Parameters variation amount;
Determine that connection type corresponding with the first signal output interface is the first connection type, wherein first signal Output interface is signal output interface corresponding with the first Parameters variation amount at least one described signal output interface.
Optionally, store in the storage medium and step: the second electronic equipment of Xiang Suoshu is sent to be connected with described first It connects mode corresponding first and examines signal, corresponding computer program instructions are when executed, comprising:
Determine the first signal frequency corresponding with first connection type;
Sending to second electronic equipment has the first of first signal frequency to examine signal.
Optionally, other computer program instructions are also stored in the storage medium, the other calculates Machine program instruction and step: acquisition is issued by second electronic equipment with the corresponding feedback letter of the first inspection signal Number corresponding computer program instructions are performed after executing, comprising:
Obtain the second signal frequency of the feedback signal;
Determine whether the second signal frequency and first signal frequency are identical.
Optionally, store in the storage medium and step: examine signal and the feedback signal full described first When sufficient preset condition, the second electronic equipment of Xiang Suoshu sends signal source switching signal, and corresponding computer program instructions are being held When row, comprising:
In the second signal frequency and the second signal frequency difference, generation includes the control letter of default code value Number;
The control signal is sent to second electronic equipment.
Optionally, other computer program instructions are also stored in the storage medium, the other calculates Machine program instruction is with step: when the first inspection signal and the feedback signal meet preset condition, Xiang Suoshu second Electronic equipment sends after the corresponding computer program instructions of signal source switching signal execute and is performed, comprising:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronics is determined The signal source module of equipment is matched with first connection type.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (9)

1. a kind of switching method of signal source is applied to the first electronic equipment, comprising:
The determining connection type with the second electronic equipment is the first connection type, wherein the connection type includes at least described First connection type, second electronic equipment are for exporting through first connection type from first electronic equipment The signal of acquisition;
Corresponding with first connection type first, which is sent, to second electronic equipment examines signal;
Acquire the feedback signal corresponding with the first inspection signal issued by second electronic equipment;
When the first inspection signal and the feedback signal meet preset condition, the second electronic equipment of Xiang Suoshu sends signal Source switching signal, so that the signal source module of second electronic equipment matches with first connection type;
It is wherein, described to send the first inspection signal corresponding with first connection type to second electronic equipment, comprising:
Determine the first signal frequency corresponding with first connection type;
Sending to second electronic equipment has the first of first signal frequency to examine signal;
After the feedback signal corresponding with the first inspection signal for acquiring and being issued by second electronic equipment, institute State method further include:
Obtain the second signal frequency of the feedback signal;
Determine whether the second signal frequency and first signal frequency are identical;
It is described it is described first inspection signal and the feedback signal meet preset condition when, the second electronic equipment of Xiang Suoshu send Signal source switching signal, comprising:
In the second signal frequency and the second signal frequency difference, generation includes the control signal of default code value;
The control signal is sent to second electronic equipment.
2. switching method as described in claim 1, which is characterized in that the determination and the connection type of the second electronic equipment are First connection type, comprising:
Detect at least one state parameter of at least one signal output interface on first electronic equipment, wherein described State parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
Based at least one described state parameter, the determining connection type with second electronic equipment is the first connection type.
3. switching method as claimed in claim 2, which is characterized in that it is described based at least one described state parameter, it determines Connection type with second electronic equipment is the first connection type, comprising:
The Parameters variation amount at least one described state parameter between each state parameter and preset parameter value is calculated, is obtained at least One Parameters variation amount;
Determine that variable quantity is greater than the first Parameters variation amount of preset threshold from least one described Parameters variation amount;
Determine that connection type corresponding with the first signal output interface is the first connection type, wherein the first signal output Interface is signal output interface corresponding with the first Parameters variation amount at least one described signal output interface.
4. switching method as described in claim 1, which is characterized in that examine signal and the feedback signal full described first When sufficient preset condition, after the second electronic equipment of Xiang Suoshu sends signal source switching signal, the method also includes:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronic equipment is determined Signal source module matched with first connection type.
5. a kind of electronic equipment, comprising:
Signal projector;
Signal picker;
Processor is connect with the signal projector and the signal picker, for the determining connection with the second electronic equipment Mode is the first connection type, wherein the connection type includes at least first connection type, second electronic equipment For for exporting the signal obtained by first connection type from first electronic equipment;Determination is connect with described first Corresponding first signal frequency of mode, controlling the signal projector and sending to second electronic equipment has first letter The first of number frequency examines signal;Control that signal picker acquisition issues by second electronic equipment with described first Examine the corresponding feedback signal of signal, obtain the second signal frequency of the feedback signal, determine the second signal frequency with Whether first signal frequency is identical;And when the first inspection signal and the feedback signal meet preset condition, Generation includes the control signal of default code value, and the second electronic equipment of Xiang Suoshu sends signal source switching signal, so that described the The signal source module of two electronic equipments matches with first connection type;Wherein, first signal frequency and described the Binary signal frequency is different, then the first inspection signal and the feedback signal meet the preset condition, and the signal source is cut Changing signal is the control signal generated.
6. electronic equipment as claimed in claim 5, which is characterized in that the processor is specifically used for:
Detect at least one state parameter of at least one signal output interface on first electronic equipment, wherein described State parameter includes the voltage parameter of the output interface or the impedance parameter of the output interface;
Based at least one described state parameter, the determining connection type with second electronic equipment is the first connection type.
7. electronic equipment as claimed in claim 6, which is characterized in that the processor is specifically used for:
The Parameters variation amount at least one described state parameter between each state parameter and preset parameter value is calculated, is obtained at least One Parameters variation amount;
Determine that variable quantity is greater than the first Parameters variation amount of preset threshold from least one described Parameters variation amount;
Determine that connection type corresponding with the first signal output interface is the first connection type, wherein the first signal output Interface is signal output interface corresponding with the first Parameters variation amount at least one described signal output interface.
8. electronic equipment as claimed in claim 5, which is characterized in that the processor is also used to:
When the first inspection signal and the feedback signal are unsatisfactory for the preset condition, second electronic equipment is determined Signal source module matched with first connection type.
9. a kind of electronic equipment, comprising:
First determination unit is the first connection type for the determining connection type with the second electronic equipment, wherein the connection Mode include at least first connection type, second electronic equipment be for export by first connection type from The signal that first electronic equipment obtains;
First transmission unit controls the signal hair for determining the first signal frequency corresponding with first connection type Emitter is sent to second electronic equipment has the first of first signal frequency to examine signal;
First acquisition unit, for acquiring the feedback corresponding with the first inspection signal issued by second electronic equipment Signal, and obtain the second signal frequency of the feedback signal;
Second transmission unit, for when the first inspection signal and the feedback signal meet preset condition, generation to include There is the control signal of default code value, the second electronic equipment of Xiang Suoshu sends signal source switching signal, so that second electronics is set Standby signal source module matches with first connection type;Wherein, first signal frequency and second signal frequency Rate is different, then the first inspection signal and the feedback signal meet the preset condition, and the signal source switching signal is The control signal generated.
CN201610340991.7A 2016-05-20 2016-05-20 A kind of switching method and electronic equipment of signal source Active CN105847955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610340991.7A CN105847955B (en) 2016-05-20 2016-05-20 A kind of switching method and electronic equipment of signal source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610340991.7A CN105847955B (en) 2016-05-20 2016-05-20 A kind of switching method and electronic equipment of signal source

Publications (2)

Publication Number Publication Date
CN105847955A CN105847955A (en) 2016-08-10
CN105847955B true CN105847955B (en) 2019-05-07

Family

ID=56593920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610340991.7A Active CN105847955B (en) 2016-05-20 2016-05-20 A kind of switching method and electronic equipment of signal source

Country Status (1)

Country Link
CN (1) CN105847955B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1619929A2 (en) * 2004-07-21 2006-01-25 Siemens Audiologische Technik GmbH Hearing aid system as well as method to operate a hearing aid system during audio reception
CN102318340A (en) * 2011-06-17 2012-01-11 华为终端有限公司 Method and device for determining type of video signal to be output
CN103902247A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Method for converting interface mode and electronic devices
CN105446915A (en) * 2014-06-13 2016-03-30 联想(北京)有限公司 Signal processing method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1619929A2 (en) * 2004-07-21 2006-01-25 Siemens Audiologische Technik GmbH Hearing aid system as well as method to operate a hearing aid system during audio reception
CN102318340A (en) * 2011-06-17 2012-01-11 华为终端有限公司 Method and device for determining type of video signal to be output
CN103902247A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Method for converting interface mode and electronic devices
CN105446915A (en) * 2014-06-13 2016-03-30 联想(北京)有限公司 Signal processing method and electronic device

Also Published As

Publication number Publication date
CN105847955A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN107659712A (en) A kind of method, apparatus and storage medium for throwing screen
CN105578229A (en) Electronic equipment control method and device
CN104091423B (en) A kind of method for transmitting signals and family&#39;s order programme
EP3167377B1 (en) Methods, systems, and media for controlling a bi-directional hdmi port
US10037256B2 (en) Electronic device having self diagnosis function and self diagnosis method using the same
EP3011716B1 (en) Method, apparatus and computer-readable medium for media content streaming device setup
CN110234022A (en) A kind of video prison broadcasting method, device, system and equipment
CN103246267A (en) Remote control device with 3D user interface and interface generation method thereof
CN103491432A (en) Method, device and system for multimedia information output control
CN108289218B (en) Audio and video test method and system and audio and video test equipment
CN106210801A (en) The adding method of a kind of self-defined carousel channel and device
CN106872836A (en) Distributed automatization detecting system and method on production line
CN110087121A (en) Virtual image display methods, virtual image display device and electronic equipment
CN105323638A (en) Method and apparatus for monitoring signal source port of television set
CN105847955B (en) A kind of switching method and electronic equipment of signal source
CN105204767B (en) A kind of touching telecontrol method and mobile terminal
CN105116862B (en) Household electric appliance control method, device and wearable device based on biometric information verification
US10847021B1 (en) Determining commands on a media device interface
CN105763744B (en) A kind of video playing control method of mobile terminal, device and mobile terminal
CN104333792A (en) Key-value pair judging method and television
CN104053031A (en) Display device control method, multimedia player, display device and control system
CN106354419A (en) Screenshot control method and device
CN105812916A (en) Method, device, and system of switching information sources
CN104168498B (en) Method for positioning startup channel of television and television
CN204087193U (en) A kind of Intelligence integrated optimization control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant