A kind of method that realizes the multiple TV set networking control by computer
Technical field
The present invention relates to TV technology, particularly relate to a kind of method that realizes the multiple TV set networking control by computer.
Background technology
Television set is one of household electrical appliance of the most normal use in people's daily life, people can watch various TV programme by television set, can understand national affairs, topical news as channel correlation, pay close attention to international situation, world peace, share the economic construction achievement of China etc. by TV; Can also understand, grasp various general knowledge such as economy, law, life by TV, understand, grasp modern science and technology knowledge, link up the information of getting rich; Can also watch programs such as movie and television play, music, Chinese folk art forms, physical culture by TV, TV has greatly enriched people's life, we can say, be unable to do without TV in people's life.
Television set not only can be used as the receiving terminal of TV signal, and can be used as Message Display Terminal, as the order programme of public places of entertainment such as the Message Display Terminal of public places such as the quotation information display terminal of stock exchange, railway station/bus station/airport/meeting-place/subway station, hotel/KTV, media information display system of advertising company etc.But in existing use, usually exist more following problems: the one, multiple TV set can not come centralized control by centralized computer; The 2nd, a lot of similar television sets are concentrated and to be placed on one, when remote controller when wherein a television set is operated, remote information also exerts an influence to other television set easily, is difficult to realize control separately; The 3rd, when television set was placed in than higher corner, remote controller usually remote control did not cause the trouble of machine open/close; The 4th, when television set was placed in different rooms or place, the manager can't obtain the operating state of current each television set; The 5th, in the time many television set will being placed same information displaying contents, every television set is wanted independent straighforward operation, not only bothers but also can not be synchronous, such as switching to unified program, unified searching under the situations such as platform, editing saving; The 6th, in the process of televising, can not control demonstration special figure or text prompt information by control centre; The 7th, every setting of each TV can not be preserved, when every setting of TV is modified changed beyond recognitionly, there is not the method for fast quick-recovery; The 8th, every television set does not have independent identification id, can not realize networking control; The 9th, television-directed distance is limited, can not realize the Long-distance Control to TV.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, a kind of method by computer realization multiple TV set networking control is provided, reach computer is realized connected network communication control to television set purpose.
The technical solution adopted for the present invention to solve the technical problems is: a kind of method that realizes the multiple TV set networking control by computer, be that a communication interface is set in television set, as RS232 or I2C etc., and on the communication interface of television set and basis that the communication interface of computer is connected; Comprise the steps:
A. set up an ID in TV set terminal window is set, described ID is provided with window and includes the menu option that this TV station television set ID number can be set at least;
B. computer end set up one by ID number guiding under the computation window that enters, described computation window includes at least that TV machine open/close menu item, image quality are adjusted menu item, TV is searched platform menu item, program source choice menus item, preserves TV configuration information menu item, shown corresponding figure or text menu item on TV;
C. the cpu central processing unit of TV set terminal is provided with the set ID in window operation interface number with its ID and is preserved, and as the guiding sign of TV response computation instruction;
D. the cpu central processing unit of computer end obtains the state information of being sent by corresponding ID number TV set terminal in real time by communication interface under the guiding of ID number sign, and this state information is processed into corresponding picture intelligence is shown by display;
E. the cpu central processing unit of computer end is accepted to come from the computation window selection signal to corresponding operating Control-Menu item, and the menu item signal processing of being chosen become corresponding instruction coding, then this command coding is sent and waits for the feedback command of communication interface to TV set terminal by communication interface with data packet form; Perhaps withdraw from operation control to television set;
F. the cpu central processing unit of TV set terminal detects the state of communication interface in real time, the selective reception packet, and the packet that receives carried out analyzing and processing;
G. the cpu central processing unit of TV set terminal carries out checking treatment to receiving the packet that comes from communication interface, to the qualified next step that changes over to of verification, and the repeating step f ineligible to verification;
H. the cpu central processing unit of TV set terminal is to carrying out analyzing and processing through the qualified packet information of verification, and the corresponding control command deactivation corresponding operation mode that is obtained after the root a tree name analyzing and processing, after finishing, mode of operation sends the feedback command that operational motion is arranged to computer end; Perhaps, after analyzing and processing, send the feedback command of no operational motion to computer end; Repeating step f then;
I. the cpu central processing unit of computer end detects the state that communication interface is accepted feedback command in real time, and feedback command is compared judgement, when feedback command is that repeating step e carried out the operation of next instruction or withdraws from when the feedback command of operational motion was arranged; When feedback command is not that the cpu central processing unit of computer end sent by communication interface the command coding of the aforementioned menu item of choosing once more when the feedback command of operational motion was arranged to TV set terminal, repeating step f then.
Described ID is provided with and also includes the portmask setup menu option that is used to realize shielding computer control in the window.
Described television communication interface can be RS232, I2C, 485 bus interface etc.;
Described dataphone interface can be RS232 interface etc.;
Described television set communication interface directly is connected with the dataphone interface.
Be connected by intermediate equipment between the communication interface of described television set communication interface and computer.
The analyzing and processing of the cpu central processing unit of described TV set terminal comprises multistage relatively judgement.
Described TV set terminal corresponding operation mode comprises the machine open/close control of television set.
Described TV set terminal corresponding operation mode also comprises the volume, brightness, contrast of television set, colored adjusting.
Described TV set terminal corresponding operation mode also comprises the program source of television set, the control of searching platform.
Described TV set terminal corresponding operation mode also is included in and shows figure or the Word message of being issued by computer on the optional position.
ID number to television set the protection that is subjected to password is set, the user can revise password according to authority.
The present invention realizes said method like this, a communication interface is set on television set earlier, as the RS232 communication interface just being provided with in the panel TV set, the communication interface of television set is connected with the communication interface of computer, during connection, can adopt telecommunication cable that the communication interface of television set and the communication interface of computer directly are connected, also can realize being connected between a computer and the multiple TV set, thereby realize that the data between computer and the television set transmit by means of 485 buses or other bus;
In TV set terminal, turn on television set, then by pushing one group of password of remote controller, password can be made of as " display "+" position "+" swap "+" enter " and numerical key Macintosh, the ID that enters TV is provided with window, be provided with at ID and include the menu option that this TV station television set ID number can be set in the window at least, like this, just can the setting that window carries out ID number be set by ID, be provided with at ID and also include the portmask setup menu option that is used to realize shielding pcs signal in the window, can realize shielding by the operation of menu to computer; Can be set to remove the display message of computer on screen by " menu " key on the remote controller, figure that shows as assigned address or Word message etc.After finishing the operation that above-mentioned ID is provided with window, preserve corresponding setting, withdraw from setting by function key, television set is in the state that can receive the computer control information then, and at this moment the cpu central processing unit of television set is always in the real-time situation that detects communication interface, if television set does not want to be in user mode, can select shutdown to withdraw from use, otherwise television set will be accepted to come from the packet that computer transmits at any time, unless television set is arranged under the state of shielding computer.TV set terminal is after receiving the packet that computer end sends over, carry out verification, what verification was adopted is general verification mode, to confirm whether this packet is used for the operation control command to this machine, after judgement, if then enter the analysis comparison procedure,, continue docking port and detect if not then returning the situation that detects communication interface.In the analyzing and processing process of cpu central processing unit, comprised multistage relatively judgement to packet, as judge whether specifying the screen position to draw, be, then change paint program over to, become corresponding pictorial information on image display screen, to show the picture instruction process, and after finishing paint program, send the feedback command " 0x08 " that operational motion is arranged to computer end; Not then to enter the relatively judgement of next stage; So analogize, till finishing all relatively judgements,, do not operate accordingly after relatively judgement is finished all, then cpu central processing unit sends the feedback command " 0x07 " of no operational motion to computer end.TV set terminal is returned the situation that detects communication interface after the feedback command " 0x08 " of operational motion being arranged or do not have the feedback command " 0x07 " of operational motion to the computer end transmission, wait for receiving the next instruction that computer end is sent.
In computer end, open computer, start corresponding application, under television set ID number guiding, can obtain the state information that corresponding ID number TV set terminal is sent, and this state information is processed into corresponding picture intelligence is shown by display.Then, can open the computation window by corresponding operation, by the operation control of relevant menu prompt execution to TV, as select the image quality adjustment, can be to the volume of TV, brightness, contrast, colours etc. are regulated, during adjusting, be the menu item signal processing of being chosen to be become the corresponding instruction coding by the cpu central processing unit of computer, then this command coding is sent to TV set terminal by communication interface, after sending command signal, cpu central processing unit is detecting communication interface always, and the feedback command that receives compared judgement, when the feedback command that receives is " 0x08 ", illustrate that this instruction runs succeeded, then enter the transmission of waiting for next instruction; When the feedback command that receives is not " 0x08 ", not execution of this instruction is described, then this instruction is resend one time, after sending, to detect the feedback of communication interface equally; After finishing the operation of respective menu, withdraw from application program.
The invention has the beneficial effects as follows, owing to adopted a communication interface be set in television set, interface by computer directly is connected with TV, or by intermediate equipment as 485 buses or other bus, realize that a computer is connected with many TVs, TV receives the data message that computer transmits by interface in real time, data message is analyzed, press the control content of the content response computer of packets of information, thereby reach the purpose of computer to the control of TV connected network communication, the optional position that like this, just can be implemented on the screen shows figure or the Word message that computer requires; Can control television startup, shutdown, volume, brightness, contrast, colour, program source by computer, search controls such as platform; Can be provided with on TV different ID number, realize the networked capabilities of many TVs of a computer control, reach the function of television operating center Long-distance Control; And the various settings of computer storging TV program, realize that fast quick-recovery TV is provided with ability.
Description of drawings
Below in conjunction with drawings and Examples the present invention is described in further detail; But a kind of method by computer realization multiple TV set networking control of the present invention is not limited to embodiment.
Fig. 1 is a hardware connection diagram of the present invention;
Fig. 2 is the operational block diagram of TV end of the present invention;
Fig. 3 is the operational block diagram of computer end of the present invention;
Fig. 4 is the workflow diagram of TV end of the present invention;
Fig. 5 is the workflow diagram of computer end of the present invention.
Embodiment
Shown in accompanying drawing, a kind of method that realizes the multiple TV set networking control by computer of the present invention, be as television set 21,22 at a computer 1 and Duo Tai TV 2 ... between realize, include cpu central processing unit 11, communication interface 12 and display 13 in the computer 1; Include cpu central processing unit 211, communication interface 212 and image in the television set 21 and show 213, include cpu central processing unit 221, communication interface 222 and image in the television set 22 and show 223 ... by that analogy; The communication interface 12 of computer 1 is connected with bus 3, the communication interface 212,222 of each television set 2 ... be connected with bus 3 respectively, make each television set 21,22 ... realize linking of communication interface with computer 1, its control method is finished by following steps:
A. set up an ID in TV set terminal window is set, described ID is provided with window and includes the menu option that this TV station television set ID number can be set at least;
B. computer end set up one by ID number guiding under the computation window that enters, described computation window includes at least that TV machine open/close menu item, image quality are adjusted menu item, TV is searched platform menu item, program source choice menus item, preserves TV configuration information menu item, shown corresponding figure or text menu item on TV;
C. the cpu central processing unit of TV set terminal is provided with the set ID in window operation interface number with its ID and is preserved, and as the guiding sign of TV response computation instruction;
D. the cpu central processing unit of computer end obtains the state information of being sent by corresponding ID number TV set terminal in real time by communication interface under the guiding of ID number sign, and this state information is processed into corresponding picture intelligence is shown by display;
E. the cpu central processing unit of computer end is accepted to come from the computation window selection signal to corresponding operating Control-Menu item, and the menu item signal processing of being chosen become corresponding instruction coding, then this command coding is sent and waits for the feedback command of communication interface to TV set terminal by communication interface with data packet form; Perhaps withdraw from operation control to television set;
F. the cpu central processing unit of TV set terminal detects the state of communication interface in real time, the selective reception packet, and the packet that receives carried out analyzing and processing;
G. the cpu central processing unit of TV set terminal carries out checking treatment to receiving the packet that comes from communication interface, to the qualified next step that changes over to of verification, and the repeating step f ineligible to verification;
H. the cpu central processing unit of TV set terminal is to carrying out analyzing and processing through the qualified packet information of verification, and the corresponding control command deactivation corresponding operation mode that is obtained after the root a tree name analyzing and processing, after finishing, mode of operation sends the feedback command that operational motion is arranged to computer end; Perhaps, after analyzing and processing, send the feedback command of no operational motion to computer end; Repeating step f then;
I. the cpu central processing unit of computer end detects the state that communication interface is accepted feedback command in real time, and feedback command is compared judgement, when feedback command is that repeating step e carried out the operation of next instruction or withdraws from when the feedback command of operational motion was arranged; When feedback command is not that the cpu central processing unit of computer end sent by communication interface the command coding of the aforementioned menu item of choosing once more when the feedback command of operational motion was arranged to TV set terminal, repeating step f then.
Control procedure below in conjunction with 1 pair of television set 21 of description of drawings computer:
In TV set terminal 21, the beginning of frame 401 expression operating process; The operational motion of frame 402 is that telecommunication cable is connected on the communication interface of TV; The beginning of frame 501 expression TV set terminal 21 workflows; The operational motion of frame 403 is to turn on television set by remote controller; Frame 502 expression start back workflows enter initialization; The operational motion of frame 404 is by pushing one group of password of remote controller in the normal back of TV image, password can be made of as " display "+" position "+" swap "+" enter " and numerical key Macintosh, and the ID that enters TV is provided with window such as frame 405; Can operate according to menu in the frame 405; Be provided with at ID and include the menu option that this TV station television set ID number can be set in the window at least, like this, just can the setting that window carries out ID number be set by ID, be provided with at ID and also include the portmask setup menu option that is used to realize shielding pcs signal in the window, can realize shielding by the operation of menu to computer; The workflow of frame 503 is for being provided with TV ID number; After finishing the operation that above-mentioned ID is provided with window, corresponding setting is promptly preserved in the operation that enters frame 406, withdraws from setting by function key; Television set 21 is in the state that can receive computer 1 control information then, and at this moment the cpu central processing unit 211 of television set is always in the real-time situation that detects communication interface 212, the workflow that promptly enters frame 504; If television set 21 does not want to be in user mode, can select shutdown promptly to enter frame 519 operating states and withdraw from use, enter frame 520 and finish, otherwise, television set 21 will be accepted to come from the packet that computer 1 transmits at any time, unless television set 21 is arranged under the state of shielding computer; Frame 407 is the phase related control information of television reception computer, and produces relevant information; After finishing control corresponding, enter frame 408 and finish.Television set 21 promptly is in the workflow of frame 505 receiving the packet that computer 1 sends over, the workflow that then will enter frame 506 is carried out verification to packet, what verification was adopted is general verification mode, to confirm that whether this packet is used for the operation control command to this machine, promptly enters frame 507; In the judgement of frame 507, if for " Y " then enter that to analyze comparison procedure be frame 508, if 0 " N " then return the situation that detects communication interface 212 continues docking port and detect.In the analyzing and processing process of 211 pairs of packets of cpu central processing unit, comprised multistage relatively judgement, being introduced into the judgement of whether drawing in the appointment screen position is frame 509, be judged as " Y ", then changing paint program over to is frame 513, become corresponding pictorial information on image display screen 213, to show the picture instruction process, and send to computer 1 after finishing paint program that the feedback command " 0x08 " of operational motion is arranged is frame 517; Be judged as " N ", the relatively judgement that then enters next stage is a frame 510; Frame 510 is for judging whether to regulate image, frame 511 is for judging whether shutdown/start control, frame 512 is so analogized for judging whether return state information or the like, till finishing all relatively judgements, in above-mentioned these are judged, as be " Y ", then frame 510 changes the adjusting program of frame 514 over to, and frame 511 changes the switching on and shutting down program of frame 515 over to, frame 512 changes state sign program of frame 516 or the like over to, and then they all go to frame 517 and promptly send the feedback command " 0x08 " that operational motion is arranged to computer 1., do not operate accordingly after relatively judgement is finished all, then cpu central processing unit 211 is a frame 518 to the feedback command " 0x07 " that computer 1 sends no operational motion.Television set 21 returns the situation that detects communication interface 212 after the feedback command " 0x08 " of operational motion being arranged or do not have the feedback command " 0x07 " of operational motion to computer 1 transmission, wait for receiving the next instruction that computer 1 sends.
At computer 1, the beginning of frame 601 expression operating process; The operational motion of frame 602 is that telecommunication cable is connected on the communication interface of computer; The operating process of frame 602 is to open computer, also is the frame 701 of workflow; Then enter frame 702 initialization; The operation of frame 604 is to start corresponding application, under television set ID number guiding, can obtain the state information that corresponding ID number TV set terminal is sent, and this state information is processed into corresponding picture intelligence is shown the frame 703 that promptly enters workflow by display.Then, can open the computation window by corresponding operation, the operation control of carrying out TV by relevant menu prompt is the operating process of frame 605, as select the image quality adjustment, can regulate the volume of TV, brightness, contrast, colour etc., during adjusting, be that the cpu central processing unit 11 by computer 1 becomes the corresponding instruction coding with the menu item signal processing of being chosen, then this command coding is sent to television set 21 by communication interface 12, i.e. the workflow of frame 704; After sending command signal, cpu central processing unit 11 is detecting communication interface 12 always, it is the workflow of frame 705, and the feedback command that receives compared to judge to be the workflow of frame 706, when the feedback command that receives is " 0x08 ", illustrate that this instruction runs succeeded, then entering the transmission of waiting for next instruction is frame 708; When the feedback command that receives is not " 0x08 ", not execution of this instruction is described, then this instruction being resend one time is the workflow of frame 707, after sending, will detect the feedback of communication interface 12 equally; After finishing the operation of respective menu, withdrawing from application program is frame 606, frame 709, and finishing then is frame 607, frame 710.