CN106713905B - The method and apparatus of detection image transmission quality - Google Patents
The method and apparatus of detection image transmission quality Download PDFInfo
- Publication number
- CN106713905B CN106713905B CN201611220736.5A CN201611220736A CN106713905B CN 106713905 B CN106713905 B CN 106713905B CN 201611220736 A CN201611220736 A CN 201611220736A CN 106713905 B CN106713905 B CN 106713905B
- Authority
- CN
- China
- Prior art keywords
- image
- instruction
- detection
- image data
- sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The present invention relates to a kind of method and apparatus of detection image transmission quality, which comprises obtains and is instructed according to the image transmitting that pre-set image detection protocol generates;By the instruction transmission channel between main controller and imaging sensor, image transmitting instruction is sent to imaging sensor;The image data that imaging sensor is returned by the image transmitting channel between main controller and imaging sensor is received, image data is generated by imaging sensor according to image transmitting instruction;Extract expected image data corresponding with image transmitting instruction;The image data of return is detected to obtain image interference degree value according to expected image data.The method and apparatus of detection image transmission quality provided by the invention, the detection to image transmitting quality is realized based on pre-set image detection protocol, the image data in image transmitting process is sampled without special equipment, the operating process for simplifying detection image transmission quality improves the efficiency of detection image transmission quality.
Description
Technical field
The present invention relates to image transmission technology fields, more particularly to the method and dress of a kind of detection image transmission quality
It sets.
Background technique
In the technology of image transmitting, image data is transmitted between the main controller and imaging sensor of terminal.It was producing
It is debugged in journey, detects whether the image transmitting between main controller and imaging sensor is interfered to influence image
The quality of transmission.
It is usually necessary to use special equipments and professional for traditional detection, acquire main controller and image using special equipment
The electric image signal transmitted between sensor, professional analyze the electric image signal of acquisition to determine main controller and figure
As the image transmitting quality between sensor.However, it is desirable to utilize special equipment and appointees detection image transmission quality institute
The time of consuming is longer, the image transmitting quality that cannot be quickly detected between main controller and imaging sensor, detection efficiency
Lowly.
Summary of the invention
Based on this, it is necessary to be asked for the detection efficiency of image transmitting quality between main controller and imaging sensor is low
Topic, provides a kind of method and apparatus of detection image transmission quality.
A kind of method of detection image transmission quality, which comprises
It obtains and is instructed according to the image transmitting that pre-set image detection protocol generates;
By the instruction transmission channel between main controller and imaging sensor, image transmitting is sent to described image sensor
Instruction;
Described image sensor is received to return by the image transmitting channel between the main controller and described image sensor
The image data returned, described image data transmit what instruction generated according to described image by described image sensor;
Extract expected image data corresponding with described image transmission instruction;
Described image data are detected to obtain image interference degree value according to the expected image data.
The acquisition instructs it according to the image transmitting that pre-set image detection protocol generates in one of the embodiments,
Before, further includes:
Obtain the configuration information for configuring described image sensor to the first operating mode;
Sensor configuration-direct is generated according to the configuration information;
By the instruction transmission channel between main controller and imaging sensor, the sensor configuration-direct is sent to institute
State imaging sensor;
Described image sensor is received according to the configuration successful information returned after the sensor configuration-direct configuration successful.
It is described in one of the embodiments, that described image data are detected to obtain according to the expected image data
After image interference degree value, further includes:
Whether display enters the mode confirmation message of the second operating mode;
Obtain the mode confirmation instruction triggered according to the mode confirmation message;
If the mode confirmation instruction obtained is confirmation entry instruction, obtain for configuring for described image sensor
The configuration information of two operating modes;
Execute described the step of sensor configuration-direct is generated according to the configuration information.
The expected image data is expected image code stream format in one of the embodiments,;Described image interferes journey
Angle value is the image bit error rate;It is described that described image data are detected to obtain image interference journey according to the expected image data
Angle value, comprising:
The data code flow of described image data is detected by turn according to the expected image code stream format, determines mistake
The quantity of data bit;
The image bit error rate is determined according to the quantity of the bit error.
It is described in one of the embodiments, that described image data are detected to obtain according to the expected image data
After image interference degree value, further includes:
Whether display continues to test the detection confirmation message of image data;
It obtains and instruction is confirmed according to the detection of the detection confirmation message triggering;
If the detection confirmation instruction got continues to instruct for confirmation, instruction is continued according to the confirmation and reacquires root
The image transmitting instruction generated according to pre-set image detection protocol;
The instruction transmission channel by between main controller and imaging sensor is executed, sends image to imaging sensor
The step of transmission instruction.
The method of above-mentioned detection image transmission quality passes through the pre-set image detection association between main controller and imaging sensor
View so that imaging sensor after receiving image transmitting instruction, instructs according to image transmitting and generates image data, and will generate
Image data by between main controller and imaging sensor image transmitting channel return.It is instructed according to image transmitting corresponding
It is expected that image data detects the image data that imaging sensor returns, image interference degree value is obtained by detection, image is dry
It disturbs degree value and reflects the annoyance level being subject in image data transmission process.It is realized based on pre-set image detection protocol to figure
As the detection of transmission quality, the image data in image transmitting process is sampled without special equipment, without special
Industry is analyzed the image data that personnel obtain sampling and is analyzed, and the operating process of detection image transmission quality is simplified, and improves
The efficiency of detection image transmission quality.
A kind of device of detection image transmission quality, which comprises
Instruction acquisition module is transmitted, for obtaining the image transmitting instruction generated according to pre-set image detection protocol;
Instruction sending module is transmitted, for passing through the instruction transmission channel between main controller and imaging sensor, Xiang Suoshu
Imaging sensor sends image transmitting instruction;
Detection data receiving module passes through the main controller and described image sensor for receiving described image sensor
Between the image data that returns of image transmitting channel, described image data are transmitted by described image sensor according to described image
What instruction generated;
Preset data extraction module, for extracting expected image data corresponding with described image transmission instruction;
Image data detection module, for being detected to obtain figure to described image data according to the expected image data
As annoyance level value.
Described device in one of the embodiments, further include:
Configuration information obtains module, for obtaining the configuration for configuring described image sensor to the first operating mode
Information;
Configuration-direct generation module, for generating sensor configuration-direct according to the configuration information;
Configuration-direct sending module will be described for passing through the instruction transmission channel between main controller and imaging sensor
Sensor configuration-direct is sent to described image sensor;
Successful information receiving module, for receiving described image sensor according to the sensor configuration-direct configuration successful
The configuration successful information returned afterwards.
Described device in one of the embodiments, further include:
Pattern information display module, for showing the mode confirmation message for whether entering the second operating mode;
Mode instruction obtains module, for obtaining the mode confirmation instruction according to mode confirmation message triggering;
If the configuration information obtains the mode confirmation instruction that module is also used to obtain as confirmation entry instruction, use is obtained
In the configuration information for configuring described image sensor to the second operating mode;
Execute described the step of sensor configuration-direct is generated according to the configuration information.
The expected image data is expected image code stream format in one of the embodiments,;Described image interferes journey
Angle value is the image bit error rate;Described image data detection module is also used to according to the expected image code stream format to described image
The data code flow of data is detected by turn, determines the quantity of bit error;It is determined according to the quantity of the bit error
The image bit error rate.
Described device in one of the embodiments, further include:
Detection information display module, for showing the detection confirmation message for whether continuing to test image data;
Detection instruction obtains module, for obtaining the detection confirmation instruction according to the detection confirmation message triggering;
If the detection confirmation instruction that the transmission instruction acquisition module is also used to get continues to instruct for confirmation, basis
The confirmation continues instruction and reacquires the image transmitting instruction generated according to pre-set image detection protocol.
The device of above-mentioned detection image transmission quality passes through the pre-set image detection association between main controller and imaging sensor
View so that imaging sensor after receiving image transmitting instruction, instructs according to image transmitting and generates image data, and will generate
Image data by between main controller and imaging sensor image transmitting channel return.It is instructed according to image transmitting corresponding
It is expected that image data detects the image data that imaging sensor returns, image interference degree value is obtained by detection, image is dry
It disturbs degree value and reflects the annoyance level being subject in image data transmission process.It is realized based on pre-set image detection protocol to figure
As the detection of transmission quality, the image data in image transmitting process is sampled without special equipment, without special
Industry is analyzed the image data that personnel obtain sampling and is analyzed, and the operating process of detection image transmission quality is simplified, and improves
The efficiency of detection image transmission quality.
Detailed description of the invention
Fig. 1 is the applied environment figure of the method for detection image transmission quality in one embodiment;
Fig. 2 is the structural block diagram that the terminal of main controller and imaging sensor is integrated in one embodiment;
Fig. 3 is the flow diagram of the method for detection image transmission quality in one embodiment;
Fig. 4 is the flow diagram of the method for detection image transmission quality in another embodiment;
Fig. 5 is the flow diagram for being confirmed whether the step of continuing to test in one embodiment;
Fig. 6 is the structural block diagram of the device of detection image transmission quality in one embodiment;
Fig. 7 is the structural block diagram of the device of detection image transmission quality in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of the method for detection image transmission quality in one embodiment.Referring to Fig.1, the detection figure
As the method for transmission quality is applied to the system of detection image transmission quality.The system of detection image transmission quality includes main controller
102 and imaging sensor 104, wherein establishing between main controller 102 and imaging sensor 104 has image transmitting channel and instruction biography
Defeated channel.The designated lane of image data is transmitted in image transmitting channel for imaging sensor 104 to main controller 102, and instruction passes
Defeated channel is for transmitting the channel of control instruction or the corresponding information of control instruction between main controller 102 and imaging sensor 104.
Main controller 102 and imaging sensor 104 can be integrated in terminal 100.Main controller 102 and imaging sensor in terminal 100
There is the transmission of image data between 104.Terminal 100 specifically can be the terminal for being integrated with main controller and imaging sensor.Terminal
100 specifically can be point-of-sale terminal, and point-of-sale terminal specifically can be POS (Point of Sale) terminal.
Fig. 2 is that the internal structure for the terminal 100 for being integrated with main controller 102 and imaging sensor 104 in one embodiment is shown
It is intended to.As shown in Fig. 2, the terminal 100 includes main controller, the non-volatile memory medium, interior storage connected by system bus
Device and network interface.Wherein, the non-volatile memory medium of terminal 100 is stored with operating system, database, further includes a kind of inspection
The device of altimetric image transmission quality, the device of the detection image transmission quality for realizing a kind of detection image transmission quality side
Method.Main controller supports the operation of entire terminal 100, the built-in storage in terminal 100 is non-for providing calculating and control ability
The operation of the device of detection image transmission quality in volatile storage medium provides environment, can be stored with meter in the built-in storage
Calculation machine readable instruction when the computer-readable instruction is executed by processor, may make main controller to execute a kind of detection image transmission
The method of quality.
As shown in figure 3, in one embodiment, providing a kind of method of detection image transmission quality.The present embodiment is with this
Method is applied in the terminal 100 for being integrated with main controller 102 and image transmitter 104 and is illustrated.This method specifically includes
The following contents.
S302 is obtained and is instructed according to the image transmitting that pre-set image detection protocol generates.
Specifically, the instruction input window that image transmitting instruction is shown in terminal 100, can be in instruction input window
Input Image Content information, terminal 100 generate image transmitting according to the image content information and pre-set image detection protocol of input
Instruction.Image content information can specifically include at least one of transmitted image identification, color of image and image layout.Figure
As transmission instruction is used to indicate the content of the returned image data of imaging sensor 104.Pre-set image detection protocol is main controller
The agreement of defined detection image transmission quality between 102 and imaging sensor 104 specifically can be and transmit matter to detection image
The create-rule of instruction or image data during amount is set.
S304 is sent image to imaging sensor and is passed by the instruction transmission channel between main controller and imaging sensor
Defeated instruction.
Specifically, establishing between main controller 102 and imaging sensor 104 has instruction transmission channel, and instruction transmission channel is used
The designated lane of control instruction is transmitted between main controller 102 and imaging sensor 104.Terminal 100 refers in acquisition image transmitting
After order, image transmitting instruction is sent to by image by the instruction transmission channel between main controller 102 and imaging sensor 104 and is passed
Sensor 104.
S306 receives the image that imaging sensor is returned by the image transmitting channel between main controller and imaging sensor
Data, image data transmit what instruction generated according to described image by described image sensor.
Specifically, imaging sensor 104 instructs image transmitting and parses, pass through solution after receiving image transmitting instruction
Image identification is extracted in analysis, and the image data prestored is inquired according to image identification.The image data inquired is passed through into image transmitting
Channel is back to main controller 102.
In one embodiment, imaging sensor 104 instructs image transmitting and parses, and extracts image identification by parsing.
Imaging sensor 104 inquires pre-set image code stream format corresponding with image identification, is generated and is schemed according to pre-set image code stream format
As data, the image data of generation is back to main controller 102 by image transmitting channel.
S308 extracts expected image data corresponding with image transmitting instruction.
Specifically, main controller 102 instructs image transmitting after the image data for receiving the return of imaging sensor 104
It is parsed, image identification is extracted by parsing.Main controller 102 inquires expected image data corresponding with image identification.
S310 detects the image data of return to obtain image interference degree value according to expected image data.
Specifically, expected image data is compared by main controller 102 with the image data of return, true according to comparison result
Determine wrong data amount of the image data relative to expected image data, obtains image divided by image data total amount with wrong data amount
Annoyance level value.Image interference degree value is higher, indicates the image data transmitted between main controller 102 and imaging sensor 104
Disturbed degree it is higher;Image interference degree value is lower, indicates the figure transmitted between main controller 102 and imaging sensor 104
As the disturbed degree of data is lower.
In one embodiment, it is contemplated that image data is expected image code stream format;Image interference degree value is image mistake
Code rate;S310 includes: to be detected by turn according to expected image code stream format to the data code flow of the image data of return, is determined
The quantity of bit error;The image bit error rate is determined according to the quantity of bit error.
Specifically, pre-set image code stream format specifically can be the corresponding image code stream format of designated color, for example, black
Image corresponding to data bit in image code stream be all 1 or 0.The image data that main controller 102 receives is data flow
Form, main controller 102 are detected according to numerical value of the pre-set image code stream format to data bit in the data flow of image data, inspection
Whether the numerical value of data bit meets code presupposition stream format in the data flow of altimetric image data, if not meeting, which is mistake
Accidentally data bit, the data total bit of the data flow of the quantity and image data of mistake of statistics data bit, by the number of error in data position
Amount obtains the image bit error rate of image data divided by data total bit.
In the present embodiment, by the pre-set image detection protocol between main controller and imaging sensor, so that image sensing
Device instructs according to image transmitting after receiving image transmitting instruction and generates image data, and the image data of generation is passed through
Image transmitting channel between main controller and imaging sensor returns.Corresponding expected image data pair is instructed according to image transmitting
The image data detection that imaging sensor returns, obtains image interference degree value by detection, image interference degree value reflects
The annoyance level being subject in image data transmission process.The inspection to image transmitting quality is realized based on pre-set image detection protocol
It surveys, the image data in image transmitting process is sampled without special equipment, without specialty analysis personnel to adopting
The image data that sample obtains is analyzed, and the operating process of detection image transmission quality is simplified, and improves detection image transmission
The efficiency of quality.
As shown in figure 4, in another embodiment, a kind of method of detection image transmission quality, this method specifically includes
The following contents:
S402 obtains the configuration information for configuring imaging sensor to the first operating mode.
Specifically, terminal 100 shows operating mode allocation window, and operating mode allocation window matches confidence for inputting
Breath.Configuration information specifically can be the format information of the transmitted image of imaging sensor.Format information specifically includes resolution ratio, figure
As at least one of format and frame number.The configuration of image data and acquisition that operating mode is transmitted by imaging sensor 104
The case where information matches.
S404 generates sensor configuration-direct according to configuration information.
Specifically, terminal 100 obtains the configuration information of operating mode allocation window input, and the configuration that will acquire is sealed
Dress obtains sensor configuration-direct by encapsulation.
Sensor configuration-direct is sent to by S406 by the instruction transmission channel between main controller and imaging sensor
Imaging sensor.
Specifically, terminal 100 is after generating sensor configuration-direct, by between main controller 102 and imaging sensor 104
Instruction be transmitted through the sensor configuration-direct of generation be sent to imaging sensor 104.
S408 receives imaging sensor according to the configuration successful information returned after sensor configuration-direct configuration successful.
Specifically, imaging sensor 104 extracts sensor after instruction transmission channel receives sensor configuration-direct
Configuration information in configuration-direct is configured according to the configuration information extracted.After configuration successful, configuration successful letter is generated
Breath will be configured to function information by instruction transmission channel and be back to main controller 102.
S410 is obtained and is instructed according to the image transmitting that pre-set image detection protocol generates.
S412 is sent image to imaging sensor and is passed by the instruction transmission channel between main controller and imaging sensor
Defeated instruction.
S414 receives the image that imaging sensor is returned by the image transmitting channel between main controller and imaging sensor
Data, image data are generated by imaging sensor according to image transmitting instruction.
S416 extracts expected image data corresponding with image transmitting instruction.
S418 detects the image data of return to obtain image interference degree value according to expected image data.
Whether S420, display enter the mode confirmation message of the second operating mode.
Specifically, after terminal 100 obtains the image bit error rate of image data, display pattern acknowledgement window, mode confirms window
The mode confirmation message into the second operating mode is comprised querying whether in mouthful.Display pattern acknowledgement window can also include confirmation
Button, ACK button include "Yes" button and "No" button.
S422 obtains the mode confirmation instruction triggered according to mode confirmation message.
Specifically, when detecting that ACK button is operated, the corresponding mode confirmation of triggering ACK button refers to terminal 100
It enables, the mode that terminal 100 obtains triggering confirms instruction.
S424 is obtained if the mode confirmation instruction obtained is confirmation entry instruction for configuring imaging sensor to
The configuration information of second operating mode.
Specifically, it if the mode confirmation instruction that terminal 100 obtains is confirmation entry instruction, inquires and is used for from configuration information
Configure imaging sensor 104 to the configuration information of the second operating mode.If the mode confirmation instruction that terminal 100 obtains is confirmation
Command for stopping then terminates the detection of image data.
In one embodiment, if the mode confirmation instruction that terminal 100 obtains is confirmation entry instruction, operating mode is shown
Allocation window, obtain inputted in operating mode allocation window for by imaging sensor 104 configuring the second operating mode
Configuration information.
In the present embodiment, sensor configuration-direct is sent to by imaging sensor by instruction transmission channel, so as to
It is configured according to operating mode of the sensor configuration-direct to imaging sensor, imaging sensor is made to support a variety of Working moulds
Formula.And it is possible to which the image transmitting instruction to the imaging sensor in different working modes detects, different works are simplified
The detection operation of image transmission quality, improves the detection efficiency of image transmitting quality under operation mode.
As shown in figure 5, in one embodiment, further including the steps that being confirmed whether to continue to test after S310, the step
Specifically include the following contents:
Whether S502, display continue to test the detection confirmation message of image data.
Specifically, the display of terminal 100 detection acknowledgement window shows detection confirmation message, detection in detection acknowledgement window
Confirmation message is used to be confirmed whether to continue to test the information of image data.Detecting can also include ACK button in acknowledgement window,
ACK button may include "Yes" button or "No" button.
S504 is obtained and is confirmed instruction according to the detection of detection confirmation message triggering.
Specifically, for terminal 100 when detecting that ACK button is operated, detection trigger confirmation instruction obtains the inspection of triggering
Survey confirmation instruction.
S506 continues instruction according to confirmation and reacquires if the detection confirmation instruction got continues to instruct for confirmation
Image transmitting instruction.
Specifically, if the detection confirmation instruction that terminal 100 is got is after confirmation continues instruction, to show that image transmitting refers to
The instruction input window of order.The image content information inputted again in 100 acquisition instruction input window of terminal, according to what is got
Image content information generates image transmitting instruction.
In the present embodiment, after determining the image bit error rate of image data, whether display continues to test the inspection of image data
Confirmation message is surveyed, after getting confirmation and continuing instruction, image transmitting instruction is reacquired, is passed according to the image reacquired
Defeated instruction obtains image data, detects to the image data got, determines the corresponding figure of different images transmission instruction
As the image bit error rate of data, improve comprehensive to the detection of image transmitting quality.
In one embodiment, a kind of method of detection image transmission quality is provided, this method specifically includes the following contents:
Terminal 100 obtains the configuration information for configuring image working sensor mode in operating mode allocation window, according to acquisition
Configuration information generate sensor configuration-direct.Terminal 100 is configured sensor by instruction transmission channel by main controller 102
Instruction is sent to imaging sensor 104.Imaging sensor 104 is configured according to sensor configuration-direct is received, and is being worked
After pattern configurations success, configuration successful information is generated, imaging sensor 104 will be configured to function information and return by instruction transmission channel
It is back to main controller 102.
Terminal 100 receives the configuration successful letter that imaging sensor is returned by instruction transmission channel by main controller 102
After breath, image transmitting instruction is obtained in instruction input window, by main controller 102 by instructing transmission channel to imaging sensor
104 send image transmitting instruction.Imaging sensor 104 instructs according to image transmitting and generates image data, by the picture number of generation
Main controller 102 is back to according to by image transmitting channel.
After terminal 100 receives image data by main controller 102, expected image corresponding with image transmitting instruction is extracted
Data detect image data to obtain image interference degree value according to expected image data.
For terminal 100 after obtaining the image bit error rate of image data, whether display continues to test the detection of image data
Confirmation message.Terminal 100 obtains the detection confirmation instruction according to detection confirmation message triggering, and detection confirmation instruction is to be confirmed whether
Continue the instruction that image transmitting quality testing is carried out under current operation mode.If detection confirmation instruction continues to instruct for confirmation
When, then idsplay order input window, the image transmitting instruction inputted in acquisition instruction input window again, according to the image of acquisition
Transmission instruction is detected again;If detection confirmation instruction is confirms command for stopping, whether display enters subsequent work mode
Mode confirmation message.
Terminal 100 obtains mode confirmation instruction trigger according to mode confirmation message, if mode confirmation instruction be confirm into
Enter instruction, then show operating mode allocation window, obtain the configuration information inputted again in operating mode allocation window, according to matching
Confidence breath reconfigures the operating mode of imaging sensor 104.After configuration successful, to configuration work mode again
The image data of image tactility apparatus 104 is detected.
In the present embodiment, the operating mode of imaging sensor is configured, so that imaging sensor supports a variety of work
Mode can detect the image transmitting quality between imaging sensor and main controller according to a variety of image datas.It can be with
The a variety of image datas transmitted under different working modes to imaging sensor carry out the detection of image transmitting quality, so that image
The detection of transmission quality is more comprehensive, improves the accuracy of image transmitting quality testing.
As shown in fig. 6, in one embodiment, providing a kind of device 600 of detection image transmission quality, the device is specific
It include: transmission instruction acquisition module 602, transmission instruction sending module 604, detection data receiving module 606, preset data extraction
Module 608 and image data detection module 610.
Instruction acquisition module 602 is transmitted, for obtaining the image transmitting instruction generated according to pre-set image detection protocol.
Instruction sending module 604 is transmitted, for passing through the instruction transmission channel between main controller and imaging sensor, Xiang Tu
As sensor sends image transmitting instruction.
Detection data receiving module 606 passes through the figure between main controller and imaging sensor for receiving imaging sensor
As the image data that transmission channel returns, image data transmits what instruction generated according to described image by described image sensor.
Preset data extraction module 608, for extracting expected image data corresponding with image transmitting instruction.
Image data detection module 610, for being detected to obtain to the image data of return according to expected image data
Image interference degree value.
In one embodiment, it is contemplated that image data is pre-set image code stream format;Image data detection module 610 is also used
It is detected by turn according to data code flow of the pre-set image code stream format to image inspection data, determines the number of bit error
Amount;The image bit error rate is determined according to the quantity of bit error.
In the present embodiment, by the pre-set image detection protocol between main controller and imaging sensor, so that image sensing
Device instructs according to image transmitting after receiving image transmitting instruction and generates image data, and the image data of generation is passed through
Image transmitting channel between main controller and imaging sensor returns.Corresponding expected image data pair is instructed according to image transmitting
The image data detection that imaging sensor returns, obtains image interference degree value by detection, image interference degree value reflects
The annoyance level being subject in image data transmission process.The inspection to image transmitting quality is realized based on pre-set image detection protocol
It surveys, the image data in image transmitting process is sampled without special equipment, without specialty analysis personnel to adopting
The image data that sample obtains is analyzed, and the operating process of detection image transmission quality is simplified, and improves detection image transmission
The efficiency of quality.
As shown in fig. 7, in one embodiment, the device 600 of detection image transmission quality is specific further include: configuration information
Obtain module 612, configuration-direct generation module 614, configuration-direct sending module 616, successful information receiving module 618, detection
Information display module 620, detection instruction obtain module 622, pattern information display module 624, mode instruction and obtain module 626.
Configuration information obtains module 612, for obtaining the configuration for configuring imaging sensor to the first operating mode
Information.
Configuration-direct generation module 614, for generating sensor configuration-direct according to configuration information.
Configuration-direct sending module 616, for will pass by the instruction transmission channel between main controller and imaging sensor
Sensor configuration-direct is sent to described image sensor.
Successful information receiving module 618, for receiving imaging sensor according to returning after sensor configuration-direct configuration successful
The configuration successful information returned.
Detection information display module 620, for showing the detection confirmation message for whether continuing to test image data.
Detection instruction obtains module 622, for obtaining the detection confirmation instruction according to detection confirmation message triggering.
If the detection confirmation instruction that transmission instruction acquisition module 602 is also used to get continues to instruct for confirmation, basis
Confirmation continues instruction and reacquires the image transmitting instruction generated according to pre-set image detection protocol.
Pattern information display module 624, for showing the mode confirmation message for whether entering the second operating mode.
Mode instruction obtains module 626, for obtaining the mode confirmation instruction according to the triggering of mode confirmation message.
If configuration information obtains the mode confirmation instruction that module 612 is also used to obtain as confirmation entry instruction, use is obtained
In the configuration information for configuring imaging sensor to the second operating mode.
In the present embodiment, sensor configuration-direct is sent to by imaging sensor by instruction transmission channel, so as to
It is configured according to operating mode of the sensor configuration-direct to imaging sensor, imaging sensor is made to support a variety of Working moulds
Formula.And it is possible to which the image transmitting instruction to the imaging sensor in different working modes detects, different works are simplified
The detection operation of image transmission quality, improves the detection efficiency of image transmitting quality under operation mode.Determining image detection number
According to the image bit error rate after, whether display continues to test the detection confirmation message of image data, continues to instruct getting confirmation
Afterwards, image transmitting instruction is reacquired, according to the graphics transport instruction acquisition image inspection data reacquired, to getting
Image inspection data detected, determine the image bit error rate of the corresponding image inspection data of different images transmission instruction,
It improves comprehensive to the detection of image transmitting quality.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between
In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be
The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note
Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of method of detection image transmission quality, which comprises
It obtains and is instructed according to the image transmitting that pre-set image detection protocol generates;The pre-set image detection protocol be main controller and
The agreement of defined detection image transmission quality between imaging sensor;
By the instruction transmission channel between main controller and imaging sensor, image transmitting is sent to described image sensor and is referred to
It enables;
Receive what described image sensor was returned by the image transmitting channel between the main controller and described image sensor
Image data, described image data transmit what instruction generated according to described image by described image sensor;
Extract expected image data corresponding with described image transmission instruction;
The image data of the return is detected to obtain image interference degree value according to the expected image data.
2. the method according to claim 1, wherein described obtain the figure generated according to pre-set image detection protocol
Before transmission instruction, further includes:
Obtain the configuration information for configuring described image sensor to the first operating mode;
Sensor configuration-direct is generated according to the configuration information;
By the instruction transmission channel between main controller and imaging sensor, the sensor configuration-direct is sent to the figure
As sensor;
Described image sensor is received according to the configuration successful information returned after the sensor configuration-direct configuration successful.
3. according to the method described in claim 2, it is characterized in that, it is described according to the expected image data to the return
Image data is detected to obtain after image interference degree value, further includes:
Whether display enters the mode confirmation message of the second operating mode;
Obtain the mode confirmation instruction triggered according to the mode confirmation message;
If the mode confirmation instruction obtained is confirmation entry instruction, obtain for configuring the second work for described image sensor
The configuration information of operation mode;
Execute described the step of sensor configuration-direct is generated according to the configuration information.
4. the method according to claim 1, wherein the expected image data is expected image code stream format;
Described image annoyance level value is the image bit error rate;It is described according to the expected image data to the image data of the return into
Row detection obtains image interference degree value, comprising:
The data code flow of the image data of the return is detected by turn according to the expected image code stream format, is determined wrong
The accidentally quantity of data bit;
The image bit error rate is determined according to the quantity of the bit error.
5. the method according to claim 1, wherein it is described according to the expected image data to the return
Image data is detected to obtain after image interference degree value, further includes:
Whether display continues to test the detection confirmation message of image data;
It obtains and instruction is confirmed according to the detection of the detection confirmation message triggering;
If the detection confirmation instruction got continues to instruct for confirmation, instruction is continued according to the confirmation and is reacquired according to pre-
If the image transmitting instruction that image detection agreement generates;
The instruction transmission channel by between main controller and imaging sensor is executed, sends image transmitting to imaging sensor
The step of instruction.
6. a kind of device of detection image transmission quality, which is characterized in that described device includes:
Instruction acquisition module is transmitted, for obtaining the image transmitting instruction generated according to pre-set image detection protocol;It is described default
The agreement of image detection agreement defined detection image transmission quality between main controller and imaging sensor;
Instruction sending module is transmitted, for passing through the instruction transmission channel between main controller and imaging sensor, to described image
Sensor sends image transmitting instruction;
Detection data receiving module passes through between the main controller and described image sensor for receiving described image sensor
Image transmitting channel return image data, described image data by described image sensor according to described image transmit instruct
It generates;
Preset data extraction module, for extracting expected image data corresponding with described image transmission instruction;
Image data detection module, for being detected to obtain to the image data of the return according to the expected image data
Image interference degree value.
7. device according to claim 6, which is characterized in that described device further include:
Configuration information obtain module, for obtains for by described image sensor be configured to the first operating mode match confidence
Breath;
Configuration-direct generation module, for generating sensor configuration-direct according to the configuration information;
Configuration-direct sending module, for passing through the instruction transmission channel between main controller and imaging sensor, by the sensing
Device configuration-direct is sent to described image sensor;
Successful information receiving module, for receiving described image sensor according to returning after the sensor configuration-direct configuration successful
The configuration successful information returned.
8. device according to claim 7, which is characterized in that described device further include:
Pattern information display module, for showing the mode confirmation message for whether entering the second operating mode;
Mode instruction obtains module, for obtaining the mode confirmation instruction according to mode confirmation message triggering;
If the mode that the configuration information acquisition module is also used to acquisition confirms instruction to confirm entry instruction, acquisition is used for will
Described image sensor is configured to the configuration information of the second operating mode;
The configuration-direct generation module is also used to generate sensor configuration-direct according to the configuration information.
9. device according to claim 6, which is characterized in that the expected image data is expected image code stream format;
Described image annoyance level value is the image bit error rate;Described image data detection module is also used to according to the expected image code stream
Format detects the data code flow of the image data of the return by turn, determines the quantity of bit error;According to described
The quantity of bit error determines the image bit error rate.
10. device according to claim 6, which is characterized in that described device further include:
Detection information display module, for showing the detection confirmation message for whether continuing to test image data;
Detection instruction obtains module, for obtaining the detection confirmation instruction according to the detection confirmation message triggering;
If the detection confirmation instruction that the transmission instruction acquisition module is also used to get continues to instruct for confirmation, according to
Confirmation continues instruction and reacquires the image transmitting instruction generated according to pre-set image detection protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611220736.5A CN106713905B (en) | 2016-12-26 | 2016-12-26 | The method and apparatus of detection image transmission quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611220736.5A CN106713905B (en) | 2016-12-26 | 2016-12-26 | The method and apparatus of detection image transmission quality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106713905A CN106713905A (en) | 2017-05-24 |
CN106713905B true CN106713905B (en) | 2019-02-26 |
Family
ID=58902208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611220736.5A Active CN106713905B (en) | 2016-12-26 | 2016-12-26 | The method and apparatus of detection image transmission quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713905B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223260A (en) * | 2010-04-19 | 2011-10-19 | 中国移动通信集团重庆有限公司 | Method, system and device for testing transmission quality of IPTV (Internet Protocol Television) video data streams |
CN104243969A (en) * | 2013-06-20 | 2014-12-24 | 中兴通讯股份有限公司 | Image stripe detecting method and device |
CN104486613A (en) * | 2014-11-19 | 2015-04-01 | 江苏影速光电技术有限公司 | Method for solving abnormity of data transmission of image acquisition system in movement process |
CN104661021A (en) * | 2015-02-12 | 2015-05-27 | 国家电网公司 | Quality assessment method and device for video streaming |
CN105578042A (en) * | 2015-12-18 | 2016-05-11 | 深圳市金立通信设备有限公司 | Image data transmission method and terminal |
CN105704481A (en) * | 2014-11-27 | 2016-06-22 | 深圳Tcl新技术有限公司 | Method and system for video interface channel detection |
-
2016
- 2016-12-26 CN CN201611220736.5A patent/CN106713905B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223260A (en) * | 2010-04-19 | 2011-10-19 | 中国移动通信集团重庆有限公司 | Method, system and device for testing transmission quality of IPTV (Internet Protocol Television) video data streams |
CN104243969A (en) * | 2013-06-20 | 2014-12-24 | 中兴通讯股份有限公司 | Image stripe detecting method and device |
CN104486613A (en) * | 2014-11-19 | 2015-04-01 | 江苏影速光电技术有限公司 | Method for solving abnormity of data transmission of image acquisition system in movement process |
CN105704481A (en) * | 2014-11-27 | 2016-06-22 | 深圳Tcl新技术有限公司 | Method and system for video interface channel detection |
CN104661021A (en) * | 2015-02-12 | 2015-05-27 | 国家电网公司 | Quality assessment method and device for video streaming |
CN105578042A (en) * | 2015-12-18 | 2016-05-11 | 深圳市金立通信设备有限公司 | Image data transmission method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106713905A (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8559728B2 (en) | Image processing apparatus and image processing method for evaluating a plurality of image recognition processing units | |
CN104995044B (en) | Methods, systems and tools for programming tire pressure monitoring sensors | |
CN107766190A (en) | Interface test method, device, computer equipment and storage medium | |
JP5954606B1 (en) | Diagnostic device, diagnostic system, device and program | |
US20190141074A1 (en) | Security test system, security test method, function evaluation device, and program | |
CN108663967A (en) | Method and apparatus for providing trailer information | |
CN105278888B (en) | For recognizing the method for being used for the printing control element of qualitative data detection | |
CN109714221B (en) | Method, device and system for determining network data packet | |
WO2018040399A1 (en) | Terahertz security check method and system | |
CN104952061A (en) | Method for testing reliability of error detection of image inspection method | |
CN109616106A (en) | Vehicle-mounted control screen voice recognition process testing method, electronic equipment and system | |
CN106056156A (en) | System and method of recognizing and detecting reagent card | |
KR20180110321A (en) | A system for finding building collapse and buried person using Indoor Wireless Bi-directional Amplifier Node | |
CN106713905B (en) | The method and apparatus of detection image transmission quality | |
CN114747208A (en) | Work support server, work support method, and work support system | |
CN107633398A (en) | Method for displaying image and device and electronic equipment | |
JP6269421B2 (en) | Information acquisition program, information providing apparatus, and information providing system | |
US20160162985A1 (en) | Occupancy monitoring for a remote short term housing rental | |
JP2020009215A (en) | Image processing device and program | |
CN104168583B (en) | A kind of wireless bidirectional communication test method, device and system | |
JP6514310B1 (en) | INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND COMPUTER PROGRAM | |
US9906655B2 (en) | Terminal device, diagnosis system, computer readable medium, diagnostic method, and computer data signal | |
CN107239240A (en) | Print control program, print control system and terminal | |
KR101629554B1 (en) | Apparatus and method of managing 4 qubit-mixed states | |
CN112711495A (en) | Display screen fault diagnosis method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20181229 Address after: 518000 Shenzhen Software Park, Nanshan District, Shenzhen City, Guangdong Province Applicant after: Baifu Computer Technology (Shenzhen) Co.,Ltd. Applicant after: Wanda Technology (Shenzhen) Co., Ltd. Bacera Address before: 518000 Shenzhen Software Park, Nanshan District, Shenzhen City, Guangdong Province Applicant before: Baifu Computer Technology (Shenzhen) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |