Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
The present embodiment provides a kind of Intelligent set top box, comprises circuit board, housing, embedded microprocessor controller 1, memory 3 and peripheral interface 2; Described circuit board, embedded microprocessor controller 1, memory 3 and peripheral interface 2 to be all arranged on described circuit board and to be all encapsulated in described housing; Described memory 3 and described peripheral interface 2 are all connected with embedded microprocessor controller 1 circuit; Describedly to it is characterized in that: the Intelligent set top box provided described in the present embodiment also comprises and is arranged on described circuit board epigraph acquisition equipment 4; This image capture apparatus 4 is connected with described microprocessor controller circuit.It will be understood by those skilled in the art that described image capture apparatus 4 for catching the face image data of current viewer under the control of microprocessor controller, and be sent to described memory 3 and store.
Described image capture apparatus 4 comprises camera and image processing IC unit; Described camera and image processing IC unit are all arranged on circuit boards, and described housing is provided with a through hole, and described camera clamp is in described through hole, and described camera, image processing IC unit and microprocessor controller successively circuit connect.It will be understood by those skilled in the art that described camera is for carrying out shooting synthetic image signal in setting range; Described image processing IC unit is used for processing the picture signal that camera photographs, and extracts the face feature information in image.Described face feature information comprises binocular interval parameter, forehead height parameter, distance parameter between eyes and mouth.It will be appreciated by those skilled in the art that, its face feature of different viewing users is different, there is different binocular interval parameters, forehead height parameter, distance parameter between eyes and mouth, can be identified viewing user by described face feature information like this.
The Intelligent set top box that the present embodiment provides, also comprises signal processing unit, and described signal processing unit comprises signal receiving circuit, signal processing circuit and the signal output apparatus that circuit successively connects.
Described signal processing unit comprises network interface 51, information source data transmission stream demodulation multiplexer 52, condition reception treatment circuit 53, video signal decompression circuit 54, vision signal post processing circuitry 55, audio signal decompression circuit 56 and audio signal post processing circuitry 57; Described signal output apparatus comprises video signal output interface and audio signal output interface; Described network interface 51, information source data transmission stream demodulation multiplexer 52, condition reception treatment circuit 53 successively circuit connect; The input of described video signal decompression circuit 54 connects the output of described condition reception treatment circuit 53 and the output of described video signal decompression circuit 54 connects the input of described vision signal post processing circuitry 55; The output of described vision signal post processing circuitry 55 connects described video signal output interface; The input of described audio signal decompression circuit 56 connects the output of described condition reception treatment circuit 53 and the output of described audio signal decompression circuit 56 connects the input of described audio signal post processing circuitry 57; The output of described audio signal post processing circuitry 57 connects described audio signal output interface.
Described network interface 51, information source data transmission stream demodulation multiplexer 52, condition reception treatment circuit 53, video signal decompression circuit 54, vision signal post processing circuitry 55, audio signal decompression circuit 56 and audio signal post processing circuitry 57; Described signal output apparatus is comprised video signal output interface and is all connected with described microprocessor controller circuit by signal transmission bus with audio signal output interface.
Intelligent set top box described in the present embodiment, also comprises two contactors be arranged on mainboard, and housing is provided with two buttons on the control end being located at these two contactors.By these two buttons, user can manual switchover general mode and intelligent mode.
Embodiment two
As shown in Figure 3, the present embodiment provides the implementation method of the Intelligent set top box described in a kind of embodiment one, it is characterized in that, comprising:
S100 is for setting up the step of user data;
S200 is used for the step identified active user;
S300 is for inquiring about the step of the user data of active user;
S400 is for showing the step of the user data of active user.
It will be understood by those skilled in the art that Set Top Box can set up the favorite list of mating with user's characteristic information by the step setting up user data; When user is when watching TV, active user is identified by the step identified active user, read data query in memory again to the favorite list of mating with this user, and show according to this favorite list, such different user can view the television program listing meeting oneself viewing custom or viewing hobby.
As shown in Figure 4, described S100, for setting up the step of user data, comprising:
S110 is for obtaining the step of user's sample face feature information; Now this face feature information is preserved as sample face feature information.
S120 is for obtaining the step of program characteristic information;
S130 is used for the step of face feature information and program characteristic information being carried out mating.
As shown in Figure 5, described S110, for obtaining the step of user's sample face feature information, comprising:
S111 determines effective coverage; Effective coverage described in the present embodiment refers to the region comprising facial image information, namely carries out comprising face area in shooting acquisition photo to this effective coverage.
S112 is taken effective coverage by camera, thus obtains image information;
S113 resolves image information, identifies the face area in image information;
S114 carries out data extraction to face area, thus obtains user's face feature information.Described face feature information comprises binocular interval parameter, forehead height parameter, distance parameter between eyes and mouth.
As shown in Figure 6, for obtaining the step of program characteristic information described in S120, comprising:
S121 viewing information recording step, for resolving the channel information comprised in source of program signals, programme information, and current time and viewing duration are in the lump stored in customer data base, and are saved in memory device.
S122 user preferences calculation procedure, for calculating the hobby data of this user according to the viewing information recording gauge got.
It will be understood by those skilled in the art that viewing information comprises current time segment information, viewing duration and channel information and programme information.Wherein channel information and programme information derive from the data flow that the information source multiplexing transport stream demodulation multiplexer described in embodiment one extracts.Described favorite list, can be wherein set up and the SQLite database stored in storage, set up the table of a data by name, have user, time, duration, channel and program field respectively, by above information stored in the corresponding field of form.Channel and duration value in data table in corresponding time interval can be read according to current time, and carry out containing user, time and channel field in sequence generation one table favorite, favorite table according to the large young pathbreaker channel of the percentage of duration value.
As shown in Figure 7, described S122 user preferences calculation procedure comprises:
S1221 reads each by the viewing duration of viewed channel according to different time sections;
The history of each channel viewing duration adds up by S1222;
S1223 calculates the percentage of each channel viewing shared by duration in this time period;
Channel sequencing is generated a list according to the percentage calculated in S1223 by S1224;
The channel that duration did not increase is watched in nearly 10 viewings in S1225 delete list.
As shown in Figure 8, S200 is used for the step identified active user, comprising:
S210 determines effective coverage; Effective coverage described in the present embodiment refers to the region comprising facial image information, namely carries out comprising face area in shooting acquisition photo to this effective coverage.
S220 is taken effective coverage by camera, thus obtains image information;
S230 resolves image information, identifies the face area in image information;
S240 carries out data extraction to face area, thus obtains active user's face feature information;
User's sample face feature information of preserving in active user's face feature information and memory is compared by S250 one by one, when the two is consistent, judges that active user is as authentic user.
Described S300 comprises for the step of the user data inquiring about active user: find the program characteristic information that the sample face feature data consistent with active user's face feature information are mated in memory.
As shown in Figure 9, described S400, for showing the step of the user data of active user, comprising:
S410 reads the favorite list that user preferences computing system generates;
List mid band starts to give platform number by after the sequence of viewing time percentage by S420 successively;
S430 sets up mapping relations by between new platform number and original number;
Current channel is jumped to first channel in list by S440;
S450, when user selects to switch to normal play modes, reads all channels in information source again;
S460 cancels the mapping of setting up in S430.
The favorite channel list that user preferences computing system generates can be presented to user like this for selecting viewing channel fast.
S240 and S114 described in the present embodiment carries out data extraction to face area, thus obtains the step of user's face feature information, can adopt the method that reference template method and face rule method combine; User's sample face feature information of preserving in active user's face feature information and memory is compared by S250 described in the present embodiment one by one, can adopt feature vector method; S111 and S210 described in the present embodiment determines effective coverage, can adopt face tracking technology, adopts based on the method combined with model of moving.Above-mentionedly examine template, method, feature vector method that face rule method combines and be state of the art based on the method that combines with model of moving, no longer carry out here tiring out and state.
Be illustrated in figure 2 the software architecture that the implementation method in order to realize described in the present embodiment two adopts.The operating system of this Set Top Box, based on android system, have employed linux kernel, drives in layer and includes the relevant driving of top-set hardware.Simplify some unnecessary storehouse and application programs in android system, and added the recognition of face program in the present invention, user preferences calculation procedure and intelligent program commending program.
In present embodiment, program commending program reads favorite table, and the user of mating current viewing by these two external keys of user and time is current slot, and the data in channel field are the favorite list of this user in this time period.When user's manual switchover becomes normal viewing mode, the original data stream reading the extraction of information source multiplexing transport stream demodulation multiplexer is carried out ordinary playing by recommended program.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.