CN107318048A - A kind of voltage acquiring method, device and storage medium - Google Patents
A kind of voltage acquiring method, device and storage medium Download PDFInfo
- Publication number
- CN107318048A CN107318048A CN201710419801.5A CN201710419801A CN107318048A CN 107318048 A CN107318048 A CN 107318048A CN 201710419801 A CN201710419801 A CN 201710419801A CN 107318048 A CN107318048 A CN 107318048A
- Authority
- CN
- China
- Prior art keywords
- voltage
- value
- broadcast state
- default
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4425—Monitoring of client processing errors or hardware failure
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention discloses a kind of voltage acquiring method, device and storage medium, methods described includes:A, modulator is controlled to set its voltage value to be default initial voltage value and by the video stream at default value of frequency point to set top box;B, when listening to set top box and exporting the video flowing, intercept the default frame image data in the video flowing;C, basis cut the current play status that the image data judges the video flowing;D, the magnitude of voltage of the adjustment modulator simultaneously monitor broadcast state next time, and judge whether broadcast state changes in real time;If E, broadcast state are constant, circulation performs step D until broadcast state changes twice and recorded respectively changes corresponding two magnitudes of voltage twice and be designated as corresponding first and second charge threshold level at the default value of frequency point.Whether the present invention, which is changed by monitoring the broadcast state of video in real time, automatically obtains two charge threshold levels, has liberated the work of artificial collection voltages and has reduced acquisition cost.
Description
Technical field
The present invention relates to set-top box technique field, more particularly to a kind of voltage acquiring method, device and storage medium.
Background technology
Set top box high frequency head module is critically important part in top-set hardware, also known as low noise amplification frequency converter.It is sensitive
It is most important index in set top box to spend index.The voltage for the video stream signal that existing collection set top box high frequency head module is received
Method, mainly have two kinds of acquisition modes, manual test gathers and passed through error rate test index.
1. the time cycle that manual test carrys out harvester is longer, and is easily malfunctioned in the case of manpower fatigue.Critical value
Voltage acquisition result needs to be manually entered in electrical form, influences operating efficiency, and increase human resources consumption adds product
Development cost.
2. pass through error rate test sensitivity(That is full test voltage and minimum test voltage)Easily there is error in test,
And error is unacceptable.
Thus prior art could be improved and improve.
The content of the invention
The technical problem to be solved in the present invention is that there is provided a kind of voltage acquiring method, dress in view of the shortcomings of the prior art
Put and storage medium, error low with the voltage acquisition man efficiency for solving the signal that existing set top box high frequency head module is received
The problem of big and cost is high.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of voltage acquiring method, it includes:
A, modulator is controlled to set its voltage value to be default initial voltage value and by the video stream at default value of frequency point
To set top box, wherein, the initial voltage value is corresponding with the default value of frequency point;
B, when listening to set top box and exporting the video flowing, intercept the default frame image data in the video flowing and preserve;
C, the current play status for judging according to the default frame picture video flowing, wherein, the broadcast state includes broadcasting
Put normal and play abnormal;
D, the magnitude of voltage of the adjustment modulator simultaneously monitor broadcast state next time in real time, and by the current play status with
Broadcast state is compared to judge whether broadcast state changes;
If E, the broadcast state are constant, circulation performs the step D until the broadcast state changes twice and remembered respectively
Change corresponding two magnitudes of voltage twice described in record to obtain at the default value of frequency point corresponding first voltage critical value and the
Two charge threshold levels.
The voltage acquiring method, it also includes:
When detecting multiple default value of frequency point, the corresponding initial voltage value of the multiple default value of frequency point is obtained respectively, and will
The multiple default value of frequency point and its corresponding initial voltage value import the modulator;
According to the order of the multiple value of frequency point, circulation successively performs the step A-E to obtain the multiple default frequency respectively
The first critical voltage value and the second critical voltage value at point value.
The voltage acquiring method, wherein, it is described to judge that the broadcast state of the video has according to the default frame picture
Body includes:
According to the default frame picture judge during the video render whether blank screen, stuck or there is noise;
When the video render not blank screen, it is not stuck and in the absence of noise when, judges video render state as play
Normally;
When occurring blank screen, stuck or noise when the video render, judge the broadcast state of the video flowing as broadcasting
It is abnormal.
The voltage acquiring method, wherein, it is described when judging the video render according to the default frame picture whether
Blank screen is specifically included:
The picture is switched into gray-scale map, and by the gray-scale map binaryzation;
The bright spot number in the gray-scale map after gray-scale map binaryzation is counted, and the bright spot number is entered with default number threshold value
Row compares;
When the bright spot number is less than the number threshold value, counter adds 1;
When the value of the counter is equal to the number of the default frame picture, the blank screen during video render is judged.
The voltage acquiring method, wherein, it is described when judging the video render according to the default frame picture whether
It is stuck to specifically include:
The picture is loaded in gray-scale map mode, and by the size reduction of the picture to default second size;
The picture of second size is converted into histogram, and the similarity of relatively more described default frame picture between any two;
When the similarity is all higher than preset value, judge stuck during the video render.
The voltage acquiring method, wherein, it is described when judging the video render according to the default frame picture whether
There is noise to specifically include:
Convert picture into gray-scale map and by the gray-scale map binaryzation, and judge that the gray-scale map after binaryzation whether there is Marseille
Gram;
There is the picture of mosaic in record, and travel through all pictures that there is mosaic;
When two continuous mosaic pictures occur more than 2 times or mosaic continuously occur in 3 pictures, then the video flowing is judged
There is noise during broadcasting.
The voltage acquiring method, wherein, it is described when listening to the set top box output video flowing, intercept the video
Default frame image data in stream simultaneously preserves data and specifically included:
When listening to the set top box output video flowing, the default frame in interval reads the image data and record of a frame pre-set dimension
Intercept frame number;
When the interception frame number reaches default frame, stop interception and all image datas are preserved with jpg forms.
The voltage acquiring method, wherein, the magnitude of voltage of the adjustment modulator and monitoring in real time is played next time
State, and the current play status and next time broadcast state are compared to judge whether broadcast state changes specific bag
Include:
The magnitude of voltage of the modulator is adjusted according to preset rules and monitors broadcast state next time in real time;
By the current play status and broadcast state is compared next time;
If the current play status and next time broadcast state are to play abnormal or play normal, broadcast state is judged
It is constant.
A kind of voltage collecting device, it includes:
Processor, is adapted for carrying out each instruction;And
Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded by processor and performed as above any described electricity
Press acquisition method.
A kind of storage medium, its computer executable instructions that are stored with, the computer executable instructions are arranged to carry out
As above any described voltage acquiring method.
Beneficial effect:Compared with prior art, the invention provides a kind of voltage acquiring method, device and storage medium,
Methods described includes:A, modulator is controlled to set its voltage value to be default initial voltage value and by regarding at default value of frequency point
Frequency stream is sent to set top box;B, when listening to set top box and exporting the video flowing, intercept the default frame figure in the video flowing
Sheet data is simultaneously preserved;C, the current play status for judging according to the default frame picture video flowing;D, the adjustment modulation
The magnitude of voltage of device simultaneously monitors broadcast state next time, and judge whether broadcast state changes in real time;If E, the broadcast state are not
Become, then circulation performs the step D until the broadcast state changes changes corresponding two twice described in record twice and respectively
Individual magnitude of voltage is to obtain corresponding first voltage critical value and second voltage critical value at the default value of frequency point.The present invention passes through
Whether the broadcast state for monitoring video in real time changes acquisition maximum voltage critical value and minimum voltage critical value, has liberated and has manually adopted
Collect the work of critical voltage and reduce acquisition cost.
Brief description of the drawings
The flow chart that Fig. 1 is preferably implemented for the voltage acquiring method that the present invention is provided.
Step S200 flow chart in the voltage acquiring method that Fig. 2 provides for the present invention.
Step S300 flow chart in the voltage acquiring method that Fig. 3 provides for the present invention.
Step S301 flow chart in the voltage acquiring method that Fig. 4 provides for the present invention.
The flow chart of video flowing blank screen is judged in the voltage acquiring method that Fig. 5 provides for the present invention.
Judge the stuck flow chart of video flowing in the voltage acquiring method that Fig. 6 provides for the present invention.
Judge that video flowing has the flow chart of noise in the voltage acquiring method that Fig. 7 provides for the present invention.
Step S400 flow chart in the voltage acquiring method that Fig. 8 provides for the present invention.
The flow chart of another embodiment in the voltage acquiring method that Fig. 9 provides for the present invention.
The structure principle chart for the voltage collecting device that Figure 10 provides for the present invention.
Embodiment
The present invention provides a kind of voltage acquiring method, device and storage medium, for make the purpose of the present invention, technical scheme and
Effect is clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that herein
Described specific embodiment only to explain the present invention, is not intended to limit the present invention.
Below in conjunction with the accompanying drawings, by the description to embodiment, the content of the invention is described further.
It refer to Fig. 1, the flow chart of the preferred embodiment for the voltage acquiring method that Fig. 1 provides for the present invention.Methods described
Including:
S100, modulator is controlled to set its voltage value to be default initial voltage value and send out the video flowing at default value of frequency point
Set top box is delivered to, wherein, the initial voltage value is corresponding with the default value of frequency point.
Specifically, the magnitude of voltage is the magnitude of voltage of the modulator in itself, which determines the video flowing of modulator transmission
Signal intensity.In the judgement of follow-up set top box tuner sensitivity, the magnitude of voltage is used for judging set top box products-hardware
Whether product specification book requirement is reached, if undesirable, because hardware reason causes the unstable electricity for receiving code stream
Pressure value is configured according to the product specification book of set top box.The default value of frequency point is the value of frequency point pre-set, the frequency
It can also be several that value, which can be 1,.The initial voltage value is corresponding with the value of frequency point, i.e., different value of frequency point correspondences
Initial voltage value may it is identical may also be different, its be according to the product specification book of set top box set the initial voltage value come
Start to gather process.
S200, when listening to set top box and exporting the video flowing, intercept the default frame image data in the video flowing
And preserve.
Specifically, the set top box receives the video flowing at the value of frequency point that the head reception modulator is sent by RF
Data, and export the video stream data to display interface to play video by HDMI.
In the present embodiment, it is described when listening to the set top box output video flowing, intercept pre- in the video flowing
If frame image data and preserve can specifically include:
S201, when listening to set top box and exporting the video flowing, the default frame in interval reads the image data of a frame pre-set dimension
And record interception frame number.
S202, when the interception frame number reaches default frame, stop interception and all picture numbers simultaneously preserved with jpg forms
According to.
Specifically, in the step S201, interception frequency can all intercept for each frame data, can also be spaced
Default frame data interception is once.Because human eye can differentiate video variance in 4-6 frames, therefore in the present embodiment, 4 frames can be spaced
Intercept a data.It is empty so as to effectively save internal memory thus when reading image data, it is not necessary to which each frame is all read
Between, reduce the workload of picture processing.The pre-set dimension is the size of the picture to be read pre-set(For example, wide
Degree and height).The size of image data is wide high consistent with video source or sets resolution ratio when playing consistent with set top box.So,
Black surround compensation can be ensured that there is no, if because there is black surround presence, the picture intercepted can be detected during mosaic judgement
Go out lines, cause to judge to malfunction.The default frame refers to the frame number for the image data to be intercepted, and it can be according to the frame of video
Rate and Time Calculation go out the picture sum for needing to capture.
In actual applications, described when listening to the set top box output video flowing, it is pre- that the default frame in interval reads a frame
If the image data of size and record interception frame number detailed process can be:
Initialization is installed on the capture card in test lead;The width and height for the picture for needing to gather are set to the capture card;
The frame of capture card interval 4 reads a frame data and the data read is saved as into jpg forms;Image data is read in capture card circulation
Until the picture number read reaches preset value;Close capture card.
S300, the current play status for judging according to the default frame picture video flowing, wherein, the broadcast state
Including playing normal and playing abnormal.
Specifically, the broadcast state refers to the picture quality of video playback.The broadcasting normally refers to that video is broadcast
Blank screen, stuck and noise are not present when putting.It is described there is blank screen when playing the video playback referred to extremely, stuck or noise etc.
Phenomenon and can not normally watch.Blank screen refers to that display interface does not have vision signal and blank screen figure occurs.The video is stuck to be referred to
Be play video because code stream is unstable and the phenomenon fixed occurs, that is, some frame picture all sames intercepted.Video is deposited
Refer to that picture therein has mosaic in noise.Because noise measuring core algorithm is to judge whether wrapped in the picture intercepted
Containing lines, if not video pure color or intermediate color, which are then detected, occurs erroneous judgement.Therefore, in the present embodiment, modulator is played
Video flowing is to be made up of the picture of pure color or intermediate color.
Exemplary, the current play status for judging the video flowing according to the default frame picture can specifically include:
S301, according to the default frame picture judge during the video render whether blank screen, stuck or there is noise.
S302, when the video render not blank screen, it is not stuck and in the absence of noise when, judge video render shape
State is normal to play.
S303, when the video render there is blank screen, stuck or noise when, judge the broadcasting shape of the video flowing
State is abnormal to play.
Specifically, in the step S301, due to that may there is a situation where not receiving signal in testing,
It shows as blank screen, and voltage now is also undesirable, therefore is judging whether the video is stuck or presence is made an uproar
Also include a process for judging whether blank screen before sound, the not blank screen only when video playback, whether just judge it is stuck
Or there is noise, the step of can also so saving picture processing has saved test resource.Therefore, as shown in figure 4, institute
Stating step S301 detailed processes is:
S3011, when judging according to the default frame picture video render whether blank screen.
S3012, when the video flowing is not blank screen, it is whether stuck when judging the video render according to the picture
Or there is noise.
Specifically, in the step S3011, blank screen is the bright spot number of pixels by judging picture, if interception
The bright spot number of pixels of all pictures be both less than the picture height(Width)It is blank screen then to represent this section of video.As shown in figure 5,
Judge whether the process of blank screen is specifically as follows during video render:
H10, the picture switchs to gray-scale map, and by the gray-scale map binaryzation.
The bright spot number in gray-scale map after H20, statistics gray-scale map binaryzation, and by the bright spot number with it is default
Number threshold value is compared.
H30, when the bright spot number be less than the number threshold value when, counter adds 1.
H40, when the counter value be equal to the default frame picture number when, judge the video render when it is black
Screen.
Specifically, binaryzation is also known as gray scale graduation (Threshold), and the gray scale of general image is divided into only
Two kinds of gray values, that is, one gray value of setting, every image gray scale itself are more than just making it gray value being low for bright spot for it
In setting value, it is dim spot just to make it.The default number threshold value is to pre-set bright spot number, such as 1000.I.e. when bright
When point number is less than 1000, judge the gray-scale map as blank screen figure.When all pictures intercepted are blank screen figure, i.e., described meter
When the value of number device is equal to the number of all pictures, judge the video flowing as blank screen.This explanation is in this test, and set top box does not have
There is signal output to test lead.When for blank screen, illustrate that set top box does not have signal output to display interface, judge currently playing shape
State is abnormal to play;When not being blank screen, illustrate that this set-top box has signal output to display interface, perform step S3012.
It is poor to receive signal bit stream under the magnitude of voltage due to stuck possible cause so that code stream in the step S303
Broadcast is unstable, causes to play abnormal.And noise directly affects image quality.Therefore after it is determined that set top box has signal output, just sentence
Determine video whether stuck or there is noise.
In the present embodiment, as shown in fig. 6, it is described when judging the video render according to the picture whether stuck tool
Body includes:
M10, load the picture in gray-scale map mode, and by the size reduction of the picture to default second size.
M20, the picture of second size is converted into histogram, and the phase of relatively more described default frame picture between any two
Like degree.
M30, when the similarity is all higher than preset value, judge the video render when it is stuck.
Specifically, default second size is the minification pre-set, for example, 256*256.By picture
Arithmetic speed can be accelerated by being uniformly reduced into second size, improve treatment effeciency.The preset value is default similarity
Threshold value, for example, 0.9,0.95 etc..Picture is read in into internal memory with gray scale diagram form, and reduces picture size to second size;
The histogram data of the picture after reducing is calculated, and compares the histogram data of two pictures;If similarity is more than 0.9, sentence
Fixed two pictures are similar;Above-mentioned steps are repeated, and contrast the default frame picture two-by-two according to sectional drawing sequencing, when
When all similarities are all higher than 0.9, i.e., when the picture of all interceptions is similar, judge that video flowing is stuck.
In the present embodiment, as shown in fig. 7, it is described when judging the video render according to the default frame picture whether
There is noise to specifically include:
N10, convert picture into gray-scale map and by the gray-scale map binaryzation, and judge that the gray-scale map after binaryzation whether there is horse
Sai Ke.
There is the picture of mosaic in N20, record, and travel through all pictures that there is mosaic.
N30, when two continuous mosaic pictures occur more than 2 times or mosaic continuously occur in 3 pictures, then judge institute
There is noise when stating video render.
Specifically, in the step N10, by gray-scale map marginalisation, binaryzation, if picture is pure color or mistake
Color is crossed, black can be become by finishing this item data, if mosaic or the appearance of other lines, illustrate wherein there is noise.Horse
The form of expression of match gram is color lump, and color lump is surrounded by lines, and pixel color is adjusted into single channel 0-255 by gray-scale map, then
Lines are sketched the contours as white by image edge, non-line portion is black.In the present embodiment, by counting bright spot number
To determine whether mosaic occur, wherein, bright spot number is individual for the pixel of the frame of the mosaic color lump after image edge
Number.Its judge detailed process as:Bright spot number is counted, if bright spot number is more than 100 explanations and has mosaic appearance, record should
Figure, it is, because interframe figure may be grabbed, to need multiple not to be judged as mosaic directly this moment, and continuous several times could judge
For mosaic.
Further, in the step N20, the picture that counts in traversal N10, by continuous more than 3 or continuous 2 occur
The picture of more than 2 times is judged that establishment then represents that this test has mosaic i.e. noise.Because between being when interception picture
One is captured every 4 frames, appearance then represents that there are two pictures in 8 frame pictures is mosaic twice, and mosaic once occurs
Necessarily it is continuous multiple.The reason for individual can not judge be video for dynamic video, be made up of different pictures, two pictures enter
When row refreshes, capture card may take interframe figure(Top half or left-half are former frame figure, the latter half or by
Half portion is divided into a later frame figure), now carry out mosaic and judge necessarily to judge by accident.Therefore, by by continuous more than 3 or continuous
2 pictures for occurring more than 2 times carry out judging that the accurate fixed of mosaic judgement can be improved, it is to avoid erroneous judgement.
S400, the magnitude of voltage of the adjustment modulator simultaneously monitor broadcast state next time in real time, and will be described currently playing
State and next time broadcast state are compared to judge whether broadcast state changes.
Exemplary, as shown in figure 8, the step S400 can specifically include:
S401, the magnitude of voltage according to the preset rules adjustment modulator simultaneously monitor broadcast state next time in real time.
S402, by the current play status and broadcast state is compared next time.
If S403, the current play status and broadcast state is to play abnormal or play normal next time, sentence
Determine broadcast state constant.
Specifically, the preset rules refer to the rule of the adjustment voltage pre-set.For example, can be according to one
Fixed interval adjusts magnitude of voltage, you can to tune up/turn down 0.5V each time, be so sequentially adjusted in the magnitude of voltage of modulator.When
So, it can also be adjusted based on experience value.
Voltage collecting device is monitored after modularot voltage adjustment in real time, the broadcast state next time of the video of transmission.When connecing
Receive the broadcast state after broadcast state next time next time by the current play status with obtaining to be compared, if the two phase
Together, then judge that broadcast state is constant;If the two is different, judge that broadcast state changes.For example, current play status is different to play
Often, the broadcast state next time listened to is abnormal to play, and the broadcast state that secondary detection is arrived is identical, then illustrates current video
The tuner that the voltage of stream is not reaching to set top box is capable of the voltage of normal process, it is therefore desirable to continue to adjust input set top box
The voltage of video flowing.
If S500, the broadcast state are constant, circulation performs the step D until the broadcast state changes twice simultaneously
Change corresponding two magnitudes of voltage twice described in record respectively critical to obtain corresponding first voltage at the default value of frequency point
Value and second voltage critical value.
Specifically, first critical voltage value and the second critical voltage value are electricity of the modulator after adjustment in certain point
Pressure value, the two one voltage range of composition can obtain modulator regarding under the value of frequency point in the interval interior set top box
Frequency signal, and export muting video and play out, therefore the first voltage critical value and second voltage critical value can be with
React the sensitivity of the set top box high frequency head module.If the broadcast state does not change, illustrate the current play status
Broadcast state is to play normal or play abnormal next time, then, continue to adjust the magnitude of voltage of modulator and continue prison
Listen the broadcast state after adjustment(That is broadcast state next time)Until occur to change for the first time, and when recording the first time change
Voltage after its corresponding adjustment, as first voltage critical value;Continue to adjust the magnitude of voltage of modulator until the broadcasting listened to
State changes again, then corresponding second voltage critical value when record second changes, the first voltage critical value and the
Two charge threshold levels are two charge threshold levels at the value of frequency point.
The sensitivity of the high frequency head module of the set top box can be subsequently judged according to described two charge threshold levels is
The no requirement for reaching product specification book.So, the video of normal play is capable of after being handled by automatic data collection set top box tuner
The critical voltage value of stream, so as to reach the purpose of liberation tester so that test business not to set top box tuner sensitivity
It is that the Test Engineer being very familiar with can also test set top box tuner sensitivity index.And automation collection can cover institute
There are DVB boxes, expand coverage rate and the scope of application, saved the acquisition cost of critical voltage value.
In another embodiment of the present invention, when the value of frequency point for needing to test is multiple, as shown in figure 9, surveying
The detailed process for trying the critical voltage value at the multiple value of frequency point is:
M1, when detecting multiple default value of frequency point, the corresponding initial voltage value of the multiple default value of frequency point is obtained respectively, and
The multiple default value of frequency point and its corresponding initial voltage value are imported into the modulator.
M2, to control modulator to set its voltage value be default first initial voltage value and will be at default first value of frequency point
Video stream to set top box, wherein, first initial voltage value is corresponding with first value of frequency point.
M3, when listening to set top box and exporting the video flowing, intercept default frame image data in the video flowing simultaneously
Preserve.
M4, the current play status for judging according to the default frame picture video flowing, wherein, the broadcast state bag
Include broadcasting normal abnormal with broadcasting.
M5, the magnitude of voltage of the adjustment modulator simultaneously monitor broadcast state next time in real time, and by the currently playing shape
State and next time broadcast state are compared to judge whether broadcast state changes.
If M6, the broadcast state are constant, circulation performs the step M5 until the broadcast state changes twice simultaneously
Change corresponding two magnitudes of voltage twice described in record respectively critical to obtain corresponding first voltage at the default value of frequency point
Value and second voltage critical value.
M7, the order according to the multiple value of frequency point, the circulation execution step M2-M6 is described more to obtain respectively successively
The first critical voltage value and the second critical voltage value at individual default value of frequency point.
In the present embodiment, due to there are multiple value of frequency point to be measured, it is therefore desirable to control the modulator to launch different frequencies
The video stream signal after modulation at point value sets its voltage to be default initial electricity to set top box, therefore in the modulator
Pressure value and the video sent at default value of frequency point can also include a mistake for importing and setting value of frequency point before flowing to set top box
Journey, its detailed process can be:Control modulator plays video flowing to be sent and sets several value of frequency point;Setting is sent to refer to
Make to set top box causing set top box that value of frequency point is set into the default value of frequency point and searching institute's channel;The frequency searched for according to set top box
The video that road control modulator is sent at the default value of frequency point flow to the set top box.Wherein, several described value of frequency point are
The frequency point data set according to the product specification book of the set top box, it can be stored in Excel, then reloaded to described
In modulator.The setting instruction can drive set top box remote control equipment for the harvester(For example, IR remote controller, blue
Tooth remote control etc.)The frequency point setting instruction sent, or the frequency point setting for directly operating the set top box to produce instruct into
Row tuning.
Embodiment one
A kind of voltage collecting device is present embodiments provided, as shown in Figure 10, the voltage collecting device includes processor 100 and deposited
Store up equipment 200.
Wherein, processor 100 is adapted for carrying out each instruction;And storage device 200 is suitable to store a plurality of instruction, the instruction
Suitable for being loaded by processor 100 and being performed as above any described voltage acquiring method.
Specifically, the instruction is suitable to be loaded and performed by processor 100:H1, control modulator set its voltage value
For default initial voltage value and by the video stream at default value of frequency point to set top box, wherein, the initial voltage value with
The default value of frequency point is corresponding;H2, when listening to set top box and exporting the video flowing, intercept default in the video flowing
Frame image data is simultaneously preserved;H3, the current play status for judging according to the default frame picture video flowing, wherein, it is described
Broadcast state includes playing normal and plays abnormal;H4, the magnitude of voltage of the adjustment modulator and monitoring in real time are played next time
State, and the current play status and next time broadcast state are compared to judge whether broadcast state changes;If H5,
The broadcast state is constant, then circulation performs the step H4 until the broadcast state changes twice and records described two respectively
It is secondary to change corresponding two magnitudes of voltage and faced with obtaining corresponding first voltage critical value and second voltage at the default value of frequency point
Dividing value.
Embodiment two
The present embodiment, which is provided, provides a kind of storage medium, and its a plurality of instruction that is stored with, the instruction is suitable to be loaded by processor
And perform as above any described voltage acquiring method.
The function of instruction in above-mentioned storage medium and voltage collecting device has been described in detail in the above-mentioned methods,
Here just no longer state one by one.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of voltage acquiring method, it is characterised in that it includes:
A, modulator is controlled to set its voltage value to be default initial voltage value and by the video stream at default value of frequency point
To set top box, wherein, the initial voltage value is corresponding with the default value of frequency point;
B, when listening to set top box and exporting the video flowing, intercept the default frame picture in the video flowing and preserve;
C, the current play status for judging according to the default frame picture video flowing, wherein, the broadcast state includes broadcasting
Put normal and play abnormal;
D, the magnitude of voltage of the adjustment modulator simultaneously monitor broadcast state next time in real time, and by the current play status with
Broadcast state is compared to judge whether broadcast state changes;
If E, the broadcast state are constant, circulation performs the step D until the broadcast state changes twice and remembered respectively
Change corresponding two magnitudes of voltage twice described in record to obtain at the default value of frequency point corresponding first voltage critical value and the
Two charge threshold levels.
2. voltage acquiring method according to claim 1, it is characterised in that it also includes:
When detecting multiple default value of frequency point, the corresponding initial voltage value of the multiple default value of frequency point is obtained respectively, and will
The multiple default value of frequency point and its corresponding initial voltage value import the modulator;
According to the order of the multiple value of frequency point, circulation successively performs the step A-E to obtain the multiple default frequency respectively
The first critical voltage value and the second critical voltage value at point value.
3. voltage acquiring method according to claim 1, it is characterised in that described according to judging the default frame picture
The broadcast state of video flowing, wherein, the broadcast state includes playing normally and plays abnormal specifically include:
According to the default frame picture judge during the video render whether blank screen, stuck or there is noise;
When the video render not blank screen, it is not stuck and in the absence of noise when, judges video render state as play
Normally;
When occurring blank screen, stuck or noise when the video render, judge the broadcast state of the video flowing as broadcasting
It is abnormal.
4. voltage acquiring method according to claim 3, it is characterised in that described according to judging the default frame picture
Whether blank screen is specifically included during video render:
The picture is switched into gray-scale map, and by the gray-scale map binaryzation;
The bright spot number in the gray-scale map after gray-scale map binaryzation is counted, and the bright spot number is entered with default number threshold value
Row compares;
When the bright spot number is less than the number threshold value, counter adds 1;
When the value of the counter is equal to the number of the default frame picture, the blank screen during video render is judged.
5. voltage acquiring method according to claim 3, it is characterised in that described that the video flowing is judged according to the picture
Whether stuck specifically included during broadcasting:
The picture is loaded in gray-scale map mode, and by the size reduction of the picture to default second size;
The picture of second size is converted into histogram, and the similarity of relatively more described default frame picture between any two;
When the similarity is all higher than preset value, judge stuck during the video render.
6. voltage acquiring method according to claim 3, it is characterised in that described according to judging the default frame picture
Specifically included during video render with the presence or absence of noise:
Convert picture into gray-scale map and by the gray-scale map binaryzation, and judge that the gray-scale map after binaryzation whether there is Marseille
Gram;
There is the picture of mosaic in record, and travel through all pictures that there is mosaic;
When two continuous mosaic pictures occur more than 2 times or mosaic continuously occur in 3 pictures, then the video flowing is judged
There is noise during broadcasting.
7. voltage acquiring method according to claim 1, it is characterised in that described to export the video when listening to set top box
During stream, intercept the default frame image data in the video flowing and preservation is specifically included:
When listening to the set top box output video flowing, the default frame in interval reads the image data and record of a frame pre-set dimension
Intercept frame number;
When the interception frame number reaches default frame, stop interception and all image datas are preserved with jpg forms.
8. voltage acquisition according to claim 1, it is characterised in that the magnitude of voltage of the adjustment modulator is simultaneously supervised in real time
Broadcast state next time is listened, and the current play status and next time broadcast state be compared to judge that broadcast state is
No change is specifically included:
The magnitude of voltage of the modulator is adjusted according to preset rules and monitors broadcast state next time in real time;
By the current play status and broadcast state is compared next time;
If the current play status and next time broadcast state are to play abnormal or play normal, broadcast state is judged
It is constant.
9. a kind of voltage collecting device, it is characterised in that it includes:
Processor, is adapted for carrying out each instruction;And
Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded by processor and performed as claim 1-8 is any
Described voltage acquiring method.
10. a kind of storage medium, it is characterised in that be stored with computer executable instructions, the computer executable instructions are set
It is set to perform claim and requires any described voltage acquiring method in 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710419801.5A CN107318048B (en) | 2017-06-06 | 2017-06-06 | voltage acquisition method and device and storage medium |
PCT/CN2017/118959 WO2018223670A1 (en) | 2017-06-06 | 2017-12-27 | Voltage acquisition method and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710419801.5A CN107318048B (en) | 2017-06-06 | 2017-06-06 | voltage acquisition method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107318048A true CN107318048A (en) | 2017-11-03 |
CN107318048B CN107318048B (en) | 2019-12-10 |
Family
ID=60183663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710419801.5A Active CN107318048B (en) | 2017-06-06 | 2017-06-06 | voltage acquisition method and device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107318048B (en) |
WO (1) | WO2018223670A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018223670A1 (en) * | 2017-06-06 | 2018-12-13 | 深圳市创维软件有限公司 | Voltage acquisition method and device, and storage medium |
CN112911394A (en) * | 2021-01-28 | 2021-06-04 | 湖南国科微电子股份有限公司 | Crash judgment method, device, equipment and medium for set top box |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144418A1 (en) * | 2010-12-07 | 2012-06-07 | At&T Intellectual Property I, L.P. | System for presenting collateral information to mobile devices |
CN102714029A (en) * | 2010-01-20 | 2012-10-03 | 株式会社半导体能源研究所 | Display method of display device |
CN102944730A (en) * | 2012-11-05 | 2013-02-27 | 深圳创维-Rgb电子有限公司 | Automatic detection device for voltage abnormal state |
CN103957405A (en) * | 2014-04-24 | 2014-07-30 | 深圳创维数字技术股份有限公司 | Set top box test method, device and system |
CN105657548A (en) * | 2016-01-07 | 2016-06-08 | Tcl通力电子(惠州)有限公司 | Fault test method and system for video playing equipment |
CN106155263A (en) * | 2015-04-14 | 2016-11-23 | 华为技术有限公司 | A kind of parameter adjusting method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107318048B (en) * | 2017-06-06 | 2019-12-10 | 深圳市创维软件有限公司 | voltage acquisition method and device and storage medium |
-
2017
- 2017-06-06 CN CN201710419801.5A patent/CN107318048B/en active Active
- 2017-12-27 WO PCT/CN2017/118959 patent/WO2018223670A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102714029A (en) * | 2010-01-20 | 2012-10-03 | 株式会社半导体能源研究所 | Display method of display device |
US20120144418A1 (en) * | 2010-12-07 | 2012-06-07 | At&T Intellectual Property I, L.P. | System for presenting collateral information to mobile devices |
CN102944730A (en) * | 2012-11-05 | 2013-02-27 | 深圳创维-Rgb电子有限公司 | Automatic detection device for voltage abnormal state |
CN103957405A (en) * | 2014-04-24 | 2014-07-30 | 深圳创维数字技术股份有限公司 | Set top box test method, device and system |
CN106155263A (en) * | 2015-04-14 | 2016-11-23 | 华为技术有限公司 | A kind of parameter adjusting method and device |
CN105657548A (en) * | 2016-01-07 | 2016-06-08 | Tcl通力电子(惠州)有限公司 | Fault test method and system for video playing equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018223670A1 (en) * | 2017-06-06 | 2018-12-13 | 深圳市创维软件有限公司 | Voltage acquisition method and device, and storage medium |
CN112911394A (en) * | 2021-01-28 | 2021-06-04 | 湖南国科微电子股份有限公司 | Crash judgment method, device, equipment and medium for set top box |
Also Published As
Publication number | Publication date |
---|---|
CN107318048B (en) | 2019-12-10 |
WO2018223670A1 (en) | 2018-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10971098B2 (en) | Method and device for adjusting gray scale of display panel | |
US10074164B2 (en) | Method and apparatus for adjusting image brightness | |
US5165069A (en) | Method and system for non-invasively identifying the operational status of a VCR | |
CN105376542B (en) | A kind of white balance adjustment method and system of module TV | |
US20040187167A1 (en) | Data correlation and analysis tool | |
CN107318048A (en) | A kind of voltage acquiring method, device and storage medium | |
US8655060B2 (en) | Night-scene light source detecting device and night-scene light source detecting method | |
US10013629B2 (en) | Method, portable device, and system for detecting physiological phenotype of crops | |
CN110049373B (en) | Set top box jamming detection method, system and storage medium | |
CN112822546A (en) | Content-aware-based double-speed playing method, system, storage medium and device | |
CN113808153A (en) | Tomato maturity detection method and device, computer equipment and storage medium | |
CN102427551A (en) | Digital high definition source terminal port transmission quality test system | |
US7965338B2 (en) | Media player audio video synchronization | |
CN107133631A (en) | A kind of method and device for recognizing TV station's icon | |
US20190274567A1 (en) | Intelligent parameterization of time-frequency analysis of encephalography signals | |
US20210374480A1 (en) | Arithmetic device, arithmetic method, program, and discrimination system | |
EP4390843A1 (en) | Tone mapping method, device and system | |
CN103763498B (en) | HDMI signal processing systems and processing method | |
CN108521571A (en) | SDI chip automatic detection methods and device, storage medium, terminal | |
CN112433594A (en) | Power consumption detection method and device, storage medium and electronic equipment | |
CN109559671A (en) | Display panel, control method and control device thereof and display equipment | |
CN117952499B (en) | Fruit selecting and transporting method | |
CN109192155A (en) | The method that Tconless LCD TV carries out screen flicker debugging automatically | |
US11889131B2 (en) | Video processing device, video processing method, monitor apparatus, computer device, and medium | |
CN113792771B (en) | TCON chip for processing graphics card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |