CN105791704B - Function menu detection method and system, server, press key equipment, photographing device - Google Patents
Function menu detection method and system, server, press key equipment, photographing device Download PDFInfo
- Publication number
- CN105791704B CN105791704B CN201610298314.3A CN201610298314A CN105791704B CN 105791704 B CN105791704 B CN 105791704B CN 201610298314 A CN201610298314 A CN 201610298314A CN 105791704 B CN105791704 B CN 105791704B
- Authority
- CN
- China
- Prior art keywords
- key
- function menu
- equipment
- triggering command
- instruction
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000012360 testing method Methods 0.000 claims abstract description 28
- 238000012546 transfer Methods 0.000 claims description 30
- 230000005540 biological transmission Effects 0.000 claims description 29
- 230000001960 triggered effect Effects 0.000 claims description 27
- 238000012545 processing Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 description 195
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 7
- 238000012790 confirmation Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000036632 reaction speed Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of function menu detection method and system, server, press key equipment, photographing devices, to the operation by control button equipment simulating user's key, and the function menu that the display equipment for obtaining photographing device shooting is shown, compare the function menu image stored in the function menu image and database, learn whether function menu shown by display equipment meets preset standard, to realize the automation to function menu detection.The described method includes: receiving the user instruction for determining function menu tree;According to user instructions, the database for being used for store function menu tree is searched, generates key triggering command, and send to press key equipment;Receive the menu image that photographing device is sent;According to the function menu image in function menu image database corresponding with key triggering command, generate for determining whether function menu shown by the display equipment meets the test report of preset standard.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of function menu detection method and system, server, keys
Equipment, photographing device.
Background technique
Nowadays during display apparatus test, for the function dish of on-screen display menus (On-Screen Display, OSD)
Key correctness test in single correctness test and menu, still uses artificial detection, is easy mistakes and omissions, low efficiency.And
Since osd function menu includes multilayer submenu, the checking work of multiplicating property is needed, is seriously reduced to osd function
The correctness of menu;Osd function menu is also compatible with multi-lingual, need to be manually switched to the submenu of each level, check the menu
In multi-lingual translation it is whether correct.When developing the machine of different series, it is also necessary to similarly be test each machine
Step, workload significantly increase, and lead to that time-consuming, and error rate increases.
In conclusion being detected by OSD of the prior art to display, it is low that there are accuracy, and due to repeatability
Work also results in low efficiency.
Summary of the invention
The embodiment of the invention provides a kind of function menu detection method and system, server, press key equipment, taking pictures sets
It is standby, to the operation by control button equipment simulating user's key, realize the automation of function menu click action;Pass through
It obtains the function menu that shows of display equipment of photographing device shooting, and compares and stored in the function menu image and database
Function menu image, learns whether function menu shown by display equipment meets preset standard, realizes and examines to function menu
The automation of survey.
A kind of detection method of function menu provided in an embodiment of the present invention, this method comprises:
Receive the user instruction for determining function menu tree;
Key triggering command is generated according to the user instruction by searching for the database for store function menu tree;
The key triggering command is sent to press key equipment;
Receive the first function menu image that photographing device is sent, wherein the first function menu image is described presses
Function menu image shown by equipment is shown after button apparatus triggering key;
According to the first function menu image the second function corresponding with key triggering command described in the database
Menu image is generated for determining whether function menu shown by the display equipment meets the test report of preset standard.
In this way, realizing the operation by control button equipment simulating user by key, function menu point is realized
Hit the automation of movement;The function menu that display equipment by obtaining photographing device shooting is shown, and compare the function menu
The function menu image stored in image and database, learns whether function menu shown by display equipment meets pre- bidding
Standard realizes the automation to function menu detection.
Preferably, the user instruction includes: the key and key of the display parameters and the press key equipment that show equipment
The corresponding relationship of instruction;
Key triggering command is generated by searching for the database for store function menu tree according to the user instruction,
Include:
According to the display parameters for showing equipment in the user instruction, generation is transferred for transferring the first of function menu tree
Instruction;
First, which is sent, to the database for store function menu tree transfers instruction;
The display parameters for receiving the display equipment that the database root transfers instruction feedback according to described first are corresponding
Function menu tree;
The function menu tree obtained according to feedback and the key of the press key equipment and the corresponding relationship of key command generate
Key triggering command, wherein the function menu tree includes being used to indicate from the key that female menu jumps to submenu step to refer to
It enables.
By obtaining the different display parameters of user's input, the detection to different type of machines is realized, detection effect is improved
Rate, the operation of automation also responsive to the accuracy for improving detection.
Preferably, generating for determining whether function menu shown by the display equipment meets the survey of preset standard
Before examination report, this method further include:
According to the key triggering command, for transferring corresponding second function menu of the key triggering command is generated
Two transfer instruction;
Second, which is sent, to the database transfers instruction;
Receive the second function menu image that the database root transfers instruction feedback according to described second.
Preferably, the key triggering command, comprising: a plurality of sub- key triggering command;
Wherein, Xiang Suoshu press key equipment sends sub- key triggering command in order, receives the first function that photographing device is sent
Energy menu image, according to first function menu the second function dish corresponding with the sub- key triggering command of this in the database
It is single, it generates for showing whether the first function menu meets the corresponding test report of the sub- key triggering command of preset standard;
And so on, until generating all corresponding test report of sub- key triggering command.
A kind of function menu detection method provided in an embodiment of the present invention, this method comprises:
Receive the key triggering command that server is sent;
The key triggering command is handled, and sends the message for having triggered key to photographing device.
In this way, realizing the operation by press key equipment analog subscriber by key, and disappear to photographing device transmission
Breath, the automation of realization function menu click action, the automation for the function menu that the display equipment of photographing device shooting is shown,
Finally realize the automation detected to function menu.
Preferably, the key triggering command is handled, comprising:
Key driving instruction is converted by the key triggering command;
According to the key driving instruction, analogue-key processing is carried out.
A kind of function menu detection method provided in an embodiment of the present invention, this method comprises:
When receive press key equipment transmission the message for having triggered key after, to display equipment shown by function menu into
Row is taken pictures, and the first function menu image is obtained;
The first function menu image is sent to server.
In this way, realizing the function menu shown by shooting display equipment, automatic acquisition display equipment is realized
The function menu of display finally realizes the automation detected to function menu.
Preferably, after receiving the message for having triggered key of press key equipment transmission, to function shown by display equipment
Energy menu is taken pictures, and the first function menu image is obtained, comprising:
After receiving the message for having triggered key of press key equipment transmission, according to receiving the message for having triggered key
Time and preset buffer time, determine photo opporunity;
According to determining photo opporunity, takes pictures to function menu shown by display equipment, obtain the first function dish
Single image.
By adding preset buffer time, the reaction speed for realizing the display equipment for solving different series is different
Problem realizes further increasing to function menu detection accuracy.
A kind of server provided in an embodiment of the present invention, the processing server include:
Instruction module is received, for receiving the user instruction for determining function menu tree;
Instruction module is generated, for according to the user instruction, by searching for the database for store function menu tree,
Generate key triggering command;
Instruction module is sent, for sending the key triggering command to press key equipment;
Image module is received, for receiving the first function menu image of photographing device transmission, wherein first function
Menu image is to show function menu image shown by equipment after the press key equipment triggers key;
Contrast images module, for being referred to according to the first function menu image and the triggering of key described in the database
Corresponding second function menu image is enabled, is generated for determining it is default whether function menu shown by the display equipment meets
The test report of standard.
By the equipment, the operation by control button equipment simulating user by key is realized, realizes function menu point
Hit the automation of movement;The function menu that display equipment by obtaining photographing device shooting is shown, and compare the function menu
The function menu image stored in image and database, learns whether function menu shown by display equipment meets pre- bidding
Standard realizes the automation to function menu detection.
Preferably, the user instruction includes: the key and key of the display parameters and the press key equipment that show equipment
The corresponding relationship of instruction;
The generation instruction module, is specifically used for:
According to the display parameters for showing equipment in the user instruction, generation is transferred for transferring the first of function menu tree
Instruction;
First, which is sent, to the database for store function menu tree transfers instruction;
The display parameters for receiving the display equipment that the database root transfers instruction feedback according to described first are corresponding
Function menu tree;
The function menu tree obtained according to feedback and the key of the press key equipment and the corresponding relationship of key command generate
Key triggering command, wherein the function menu tree includes being used to indicate from the key that female menu jumps to submenu step to refer to
It enables.
Preferably, the reception image module, is also used to:
According to the key triggering command, for transferring corresponding second function menu of the key triggering command is generated
Two transfer instruction;
Second, which is sent, to the database transfers instruction;
Receive the second function menu image that the database root transfers instruction feedback according to described second.
Preferably, the key triggering command, comprising: a plurality of sub- key triggering command;
Wherein, the transmission instruction module sends sub- key triggering command, the reception to the press key equipment in order
Image module receives the first function menu image that photographing device is sent, and the contrast images module is according to the first function dish
Single the second function menu corresponding with the sub- key triggering command of this in the database, generate is for the first function menu of displaying
The no corresponding test report of the sub- key triggering command for meeting preset standard;And so on, until the contrast images module
Generate all corresponding test report of sub- key triggering command.
A kind of press key equipment provided in an embodiment of the present invention, the equipment include:
Instruction module is received, for receiving the key triggering command of server transmission;
Process instruction module for handling the key triggering command, and has been triggered to photographing device transmission and has been pressed
The message of key.
By the equipment, the operation by press key equipment analog subscriber by key is realized, and disappear to photographing device transmission
Breath, the automation of realization function menu click action, the automation for the function menu that the display equipment of photographing device shooting is shown,
Finally realize the automation detected to function menu.
Preferably, the process instruction module handles the key triggering command, it is specifically used for:
Key driving instruction is converted by the key triggering command;
According to the key driving instruction, analogue-key processing is carried out.
A kind of photographing device provided in an embodiment of the present invention, the equipment include:
Generate image module, for when receive press key equipment transmission the message for having triggered key after, to show equipment
Shown function menu is taken pictures, and the first function menu image is obtained;
Image module is sent, for the first function menu image to be sent to server.
By the equipment, the automatic function menu for obtaining display equipment and showing is realized, final realize detects function menu
Automation.
Preferably, the generation image module, is specifically used for:
After receiving the message for having triggered key of press key equipment transmission, according to receiving the message for having triggered key
Time and preset buffer time, determine photo opporunity;
According to determining photo opporunity, takes pictures to function menu shown by display equipment, obtain the first function dish
Single image.
By adding preset buffer time, the reaction speed for realizing the display equipment for solving different series is different
Problem realizes further increasing to function menu detection accuracy.
A kind of system of detection function menu provided in an embodiment of the present invention, the system include display equipment, and the system is also
Including the server, the press key equipment and the photographing device.
By the system, operation of the server by control button equipment simulating user by key is realized, realizes function
The automation of menu click action;The function menu that display equipment by obtaining photographing device shooting is shown, and compare the function
It is pre- to learn whether function menu shown by display equipment meets for the function menu image stored in energy menu image and database
Bidding is quasi-, realizes the automation to function menu detection.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the detection method of function menu provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of detection function menu provided in an embodiment of the present invention;
Fig. 3 a is the display figure of female menu in function menu provided in an embodiment of the present invention;
Fig. 3 b is the display figure of submenu in female menu provided in an embodiment of the present invention;
Fig. 3 c is the flow diagram of function menu tree provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of press key equipment of the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of photographing device provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of function menu detection method and system, server, press key equipment, taking pictures sets
Standby, to the operation by control button equipment simulating user's key, and the display equipment for obtaining photographing device shooting is shown
Function menu, compare the function menu image stored in the function menu image and database, learn shown by display equipment
Function menu whether meet preset standard, thus realize to function menu detection automation.
Following will be combined with the drawings in the embodiments of the present invention, is clearly and completely retouched to the technical solution in the present invention
It states, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all
Belong to the scope of protection of the invention.
Referring to Fig. 1, in server side, the embodiment of the invention provides a kind of detection method of function menu, this method packets
It includes:
S101, user instruction for determining function menu tree is received;
S102, key triggering is generated by searching for the database for store function menu tree according to the user instruction
Instruction;
S103, the key triggering command is sent to press key equipment;
S104, the first function menu image that photographing device is sent is received, wherein the first function menu image is institute
Function menu image shown by equipment is shown after stating analogue-key equipment triggering key;
S105, according to the first function menu image and key triggering command corresponding second described in the database
Function menu image is generated for determining whether function menu shown by the display equipment meets the test report of preset standard
It accuses.
Whether can normally be shown for detection display equipment, before step S101, this method further include:
While sending white picture to display equipment, key triggering command is sent to press key equipment, wherein described to press
Key triggering command includes not triggering any key;Receive image shown by the display equipment of photographing device shooting, wherein
The photographing device receives the message for having triggered key that the press key equipment is sent, and to figure shown by the display equipment
As taking pictures, the image taken is issued into server;If the image that the photographing device received takes is white picture, really
The fixed display device line connection exports normal with picture.
Wherein, user instruction described in step S101 includes: the display parameters and the press key equipment for showing equipment
The corresponding relationship of key and key command;At this point, referring to fig. 2, step S102 is specifically included:
S201, according to the display parameters for showing equipment in the user instruction, generate for transferring function menu tree
One transfers instruction;
S202, instruction is transferred to the database transmission first for store function menu tree;
S203, the display parameters pair for receiving the display equipment that the database root transfers instruction feedback according to described first
The function menu tree answered;Wherein, the function menu tree includes: that female menu, submenu and being used to indicate from female menu jumps
To the key command of submenu step;
S204, the key of function menu tree and the press key equipment obtained according to feedback are corresponding with key command
Relationship generates key triggering command, wherein shown key triggering command include for by trigger the press key equipment by
Key realizes the instruction that function menu is jumped from female menu to submenu.
For ease of understanding, below in conjunction with Fig. 3 a, Fig. 3 b and Fig. 3 c, the specific implementation side for the introduction step S204 that gives an actual example
Formula.Wherein, Fig. 3 a is the display figure of female menu, and Fig. 3 b is the display figure that tone adjusts corresponding submenu in female menu, Fig. 3 c
For the structural schematic diagram of the function menu tree of Fig. 3 a, Fig. 3 b composition.
Assuming that the menu of 301 default choice of Option Box is " image automatic adjustment " option in female menu, thus into
It, i.e., will be under Option Box 301 by Fig. 3 c it is found that needing to trigger "lower" key twice in the submenu for entering " tone adjusting " option
It moves to " tone adjusting ", triggers " confirmation " key, the submenu adjusted into tone.Key command at this time is to trigger twice
"lower" key, then trigger primary " confirmation " key.
At this point, the corresponding relationship of key and key command in conjunction with the press key equipment in user instruction, i.e. press key equipment
The key of middle first position is "upper" key;The key of the second position is "lower" key in press key equipment;Third in press key equipment
The key of position is " confirmation " key, generates key triggering command;Key triggering command at this time is to trigger press key equipment twice
The key of the middle second position, then trigger the key of the third place in one-touch equipment.
Since function menu includes at least one female menu, when function menu includes multiple female menus or each female menu
When including multiple submenus, i.e., when the described key triggering command includes a plurality of sub- key triggering command, Xiang Suoshu press key equipment is pressed
Sequence sends sub- key triggering command, receives sub- key triggering command that the press key equipment that photographing device is sent is sent corresponding the
One function menu, according to first function menu the second function dish corresponding with the sub- key triggering command of this in the database
It is single, it generates for showing whether the first function menu meets the corresponding test report of the sub- key triggering command of preset standard;
And so on, until generating all corresponding test report of sub- key triggering command.
Wherein, before step S105, referring to fig. 2, this method further include:
S209, according to the key triggering command, generate for transferring the corresponding second function dish of the key triggering command
Single second transfers instruction;
S210, Xiang Suoshu database send second and transfer instruction;
S211, the second function menu image that the database root transfers instruction feedback according to described second is received.
Wherein, step S103 is specifically included:
The key triggering command is sent to press key equipment by RS232 bus.
Wherein, step S105 is specifically included:
Pass through key triggering command described in software LABVIEW the first function menu image and the database
The similarity of corresponding second function menu image determines the received if obtained similarity is greater than preset threshold value
One function menu image meets preset standard, and generation passes through test report;Otherwise, the first function menu image will be marked
The difference of the second function menu image corresponding with key triggering command described in the database, and not according to label
Same place generates the test report including error code.
The detection method provided through the invention is avoided by error caused by artificial detection function menu, is improved
Detection efficiency simplifies testing process, improves the accuracy of multi-lingual menu detection.
Specifically, when by brightness submenu or contrast submenu in function menu OSD, adjustment shows the brightness of equipment
Or when contrast, pass through the first function menu image the second function corresponding with key triggering command described in the database
The similarity-rough set of energy menu image, determines whether the brightness of display equipment meets preset standard, and bears corresponding survey and set report
It accuses.
Specifically, when by function menu OSD neutral color temperature submenu, when the colour temperature of adjustment display equipment, pass through described the
The similarity ratio of one function menu image the second function menu image corresponding with key triggering command described in the database
Compared with whether the colour temperature of determining display equipment meets preset standard, and bears corresponding survey and set report.
After step s 103, in press key equipment side, the embodiment of the invention provides a kind of function menu detection method, ginsengs
See Fig. 2, this method comprises:
S205, the key triggering command that server is sent is received;
S206, the key triggering command is handled, and sends the message for having triggered key to photographing device.
Wherein, it the step of in step S206 to key triggering command processing, specifically includes:
Key driving instruction is converted by the key triggering command, and according to the key driving instruction, is simulated
Keystroke handling.
After step S206, in photographing device side, the embodiment of the invention provides a kind of function menu detection method, ginsengs
See Fig. 2, this method comprises:
S207, when receive press key equipment transmission the message for having triggered key after, to display equipment shown by function
Menu is taken pictures, and the first function menu image is obtained;
S208, the first function menu image is sent to server.
Display apparatus processes speed is different, to guarantee that photographing device can take the function menu shown in display equipment,
The time of the function menu shown in photographing device shooting display equipment is also different, wherein step S207 is specifically included:
After receiving the message for having triggered key of press key equipment transmission, according to receiving the message for having triggered key
Time and preset buffer time, determine photo opporunity;
According to determining photo opporunity, takes pictures to function menu shown by display equipment, obtain the first function dish
Single image.
Wherein, preset buffer time can determine according to the display parameters of the display equipment in the user instruction, or
Fixed numbers are inputted by user to determine.
Referring to fig. 4, a kind of server provided in an embodiment of the present invention, the processing server include:
Instruction module 401 is received, for receiving the user instruction for determining function menu tree;
Instruction module 402 is generated, is used for according to the user instruction, by searching for the data for store function menu tree
Library generates key triggering command;
Instruction module 403 is sent, for sending the key triggering command to press key equipment;
Image module 404 is received, for receiving the first function menu image of photographing device transmission, wherein described first
Function menu image is to show function menu image shown by equipment after the press key equipment triggers key;
Contrast images module 405 is touched for the key according to the first function menu image and the database
Send instructions corresponding second function menu image, generates for determining whether function menu shown by the display equipment meets
The test report of preset standard.
Specifically, the user instruction includes: the key and key of the display parameters and the press key equipment that show equipment
The corresponding relationship of instruction;
The generation instruction module 402, is specifically used for:
According to the display parameters for showing equipment in the user instruction, generation is transferred for transferring the first of function menu tree
Instruction;
First, which is sent, to the database for store function menu tree transfers instruction;
The display parameters for receiving the display equipment that the database root transfers instruction feedback according to described first are corresponding
Function menu tree;
The function menu tree obtained according to feedback and the key of the press key equipment and the corresponding relationship of key command generate
Key triggering command, wherein the function menu tree includes being used to indicate from the key that female menu jumps to submenu step to refer to
It enables.
Specifically, the reception image module 404, is also used to:
According to the key triggering command, for transferring corresponding second function menu of the key triggering command is generated
Two transfer instruction;
Second, which is sent, to the database transfers instruction;
Receive the second function menu image that the database root transfers instruction feedback according to described second.
Specifically, the key triggering command, comprising: a plurality of sub- key triggering command;
Wherein, the transmission instruction module 403 sends sub- key triggering command to the press key equipment in order, described to connect
It receives image module 404 and receives the first function menu image that photographing device is sent, the contrast images module 405 is according to described the
One function menu the second function menu corresponding with the sub- key triggering command of this in the database is generated for showing the first function
Can menu whether meet the corresponding test report of the sub- key triggering command of preset standard;And so on, until the comparison
Image module 405 generates all corresponding test report of sub- key triggering command.
Referring to Fig. 5, a kind of press key equipment provided in an embodiment of the present invention, which includes:
Instruction module 501 is received, for receiving the key triggering command of server transmission;
Process instruction module 502 has been triggered for handling the key triggering command, and to photographing device transmission
The message of key.
Specifically, the process instruction module 502 handles the key triggering command, is specifically used for:
Key driving instruction is converted by the key triggering command;
According to the key driving instruction, analogue-key processing is carried out.
Referring to Fig. 6, a kind of photographing device provided in an embodiment of the present invention, which includes:
Image module 601 is generated, for being set after receiving the message for having triggered key of press key equipment transmission to display
Standby shown function menu is taken pictures, and the first function menu image is obtained;
Image module 602 is sent, for the first function menu image to be sent to server.
Specifically, the generation image module 601, is specifically used for:
After receiving the message for having triggered key of press key equipment transmission, according to receiving the message for having triggered key
Time and preset buffer time, determine photo opporunity;
According to determining photo opporunity, takes pictures to function menu shown by display equipment, obtain the first function dish
Single image.
Specifically, the system of a kind of detection function menu provided in an embodiment of the present invention, the system include display equipment, should
System further includes the server, the press key equipment, the photographing device;Wherein, the server is processing clothes
Business device or computer;The photographing device is the charge-coupled device (Charge of camera or high-resolution, high dynamic range
Coupled Device, CCD) camera.
In conclusion the present invention provides a kind of function menu detection method and system, server, press key equipment, taking pictures
Equipment realizes the automation of function menu click action to the operation by control button equipment simulating user's key;It is logical
It crosses and obtains the function menu that the display equipment of photographing device shooting is shown, and compare and stored in the function menu image and database
Function menu image, learn display equipment shown by function menu whether meet preset standard, instead of human eye, realize
Automation to function menu detection improves the accuracy and efficiency of function menu detection;The side provided through the invention
Method can traverse osd function menu, avoid mistakes and omissions problem caused by artificial detection;While detection function menu, the present invention
The also detectable function menu display brightness of the method for offer, contrast and colour temperature are reduced instead of optical property measuring device
Function menu testing cost.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (15)
1. a kind of function menu detection method, which is characterized in that this method comprises:
Receive the user instruction for determining function menu tree;
Key triggering command is generated according to the user instruction by searching for the database for store function menu tree;
The key triggering command is sent to press key equipment;
Receive the first function menu image that photographing device is sent, wherein the first function menu image is that the key is set
Function menu image shown by equipment is shown after standby triggering key;
According to the first function menu image the second function menu corresponding with key triggering command described in the database
Image is generated for determining whether function menu shown by the display equipment meets the test report of preset standard;Wherein,
The user instruction includes: to show that the key of the display parameters and the press key equipment of equipment is corresponding with key command
Relationship;
Key triggering command, packet are generated according to the user instruction by searching for the database for store function menu tree
It includes:
According to the display parameters for showing equipment in the user instruction, generates and transfer finger for transferring the first of function menu tree
It enables;
First, which is sent, to the database for store function menu tree transfers instruction;
Receive the corresponding function of display parameters for the display equipment that the database root transfers instruction feedback according to described first
Menu tree;
The function menu tree obtained according to feedback and the key of the press key equipment and the corresponding relationship of key command generate key
Triggering command, wherein the function menu tree includes being used to indicate the key command that submenu step is jumped to from female menu.
2. the method according to claim 1, wherein generating for determining function shown by the display equipment
Before whether energy menu meets the test report of preset standard, this method further include:
According to the key triggering command, generates second for transferring corresponding second function menu of the key triggering command and adjust
Instruction fetch;
Second, which is sent, to the database transfers instruction;
Receive the second function menu image that the database root transfers instruction feedback according to described second.
3. the method according to claim 1, wherein the key triggering command, comprising: a plurality of sub- key triggering
Instruction;
Wherein, Xiang Suoshu press key equipment sends sub- key triggering command in order, receives the first function dish that photographing device is sent
Single image, according to first function menu the second function menu corresponding with the sub- key triggering command of this in the database,
It generates for showing whether the first function menu meets the corresponding test report of the sub- key triggering command of preset standard;With this
Analogize, until generating all corresponding test report of sub- key triggering command.
4. the method according to claim 1, wherein the method that the press key equipment executes includes:
Receive the key triggering command that server is sent;
The key triggering command is handled, and sends the message for having triggered key to photographing device.
5. according to the method described in claim 4, it is characterized in that, handling key triggering command, comprising:
Key driving instruction is converted by the key triggering command;
According to the key driving instruction, analogue-key processing is carried out.
6. the method according to claim 1, wherein the method that the photographing device executes includes:
After receiving the message for having triggered key of press key equipment transmission, function menu shown by display equipment is clapped
According to obtaining the first function menu image;
The first function menu image is sent to server.
7. according to the method described in claim 6, it is characterized in that, when receive press key equipment transmission triggered disappearing for key
After breath, takes pictures to function menu shown by display equipment, obtains the first function menu image, comprising:
After receiving the message for having triggered key of press key equipment transmission, according to receiving the time for having triggered the message of key
With preset buffer time, photo opporunity is determined;
According to determining photo opporunity, takes pictures to function menu shown by display equipment, obtain the first function menu figure
Picture.
8. a kind of server, which is characterized in that the server includes:
Instruction module is received, for receiving the user instruction for determining function menu tree;
Instruction module is generated, for generating according to the user instruction by searching for the database for store function menu tree
Key triggering command;
Instruction module is sent, for sending the key triggering command to press key equipment;
Image module is received, for receiving the first function menu image of photographing device transmission, wherein first function menu
Image is to show function menu image shown by equipment after the press key equipment triggers key;
Contrast images module, for the key triggering command pair according to the first function menu image and the database
The the second function menu image answered is generated for determining whether function menu shown by the display equipment meets preset standard
Test report;Wherein,
The user instruction includes: to show that the key of the display parameters and the press key equipment of equipment is corresponding with key command
Relationship;
The generation instruction module, is specifically used for:
According to the display parameters for showing equipment in the user instruction, generates and transfer finger for transferring the first of function menu tree
It enables;
First, which is sent, to the database for store function menu tree transfers instruction;
Receive the corresponding function of display parameters for the display equipment that the database root transfers instruction feedback according to described first
Menu tree;
The function menu tree obtained according to feedback and the key of the press key equipment and the corresponding relationship of key command generate key
Triggering command, wherein the function menu tree includes being used to indicate the key command that submenu step is jumped to from female menu.
9. server according to claim 8, which is characterized in that the reception image module is also used to:
According to the key triggering command, generates second for transferring corresponding second function menu of the key triggering command and adjust
Instruction fetch;
Second, which is sent, to the database transfers instruction;
Receive the second function menu image that the database root transfers instruction feedback according to described second.
10. server according to claim 8, which is characterized in that the key triggering command, comprising: a plurality of sub- key
Triggering command;
Wherein, the transmission instruction module sends sub- key triggering command, the reception image to the press key equipment in order
Module receive photographing device send the first function menu image, the contrast images module according to first function menu with
Corresponding second function menu of the sub- key triggering command of this in the database is generated for showing whether the first function menu accords with
Close the corresponding test report of the sub- key triggering command of preset standard;And so on, until the contrast images module generates
All corresponding test report of sub- key triggering command.
11. server according to claim 8, which is characterized in that the press key equipment includes:
Instruction module is received, for receiving the key triggering command of server transmission;
Process instruction module has triggered key for handling the key triggering command, and to photographing device transmission
Message.
12. server according to claim 11, which is characterized in that the process instruction module refers to key triggering
Order is handled, and is specifically used for:
Key driving instruction is converted by the key triggering command;
According to the key driving instruction, analogue-key processing is carried out.
13. server according to claim 8, which is characterized in that the photographing device includes:
Image module is generated, for being shown after receiving the message for having triggered key of press key equipment transmission to display equipment
The function menu shown is taken pictures, and the first function menu image is obtained;
Image module is sent, for the first function menu image to be sent to server.
14. server according to claim 13, which is characterized in that the generation image module is specifically used for:
After receiving the message for having triggered key of press key equipment transmission, according to receiving the time for having triggered the message of key
With preset buffer time, photo opporunity is determined;
According to determining photo opporunity, takes pictures to function menu shown by display equipment, obtain the first function menu figure
Picture.
15. a kind of function menu detection system, which is characterized in that the system includes display equipment, which further includes that right is wanted
Ask press key equipment described in the described in any item servers of 8-10, claim 11 or 12, bat described in claim 13 or 14
According to equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610298314.3A CN105791704B (en) | 2016-05-06 | 2016-05-06 | Function menu detection method and system, server, press key equipment, photographing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610298314.3A CN105791704B (en) | 2016-05-06 | 2016-05-06 | Function menu detection method and system, server, press key equipment, photographing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105791704A CN105791704A (en) | 2016-07-20 |
CN105791704B true CN105791704B (en) | 2019-04-19 |
Family
ID=56400875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610298314.3A Expired - Fee Related CN105791704B (en) | 2016-05-06 | 2016-05-06 | Function menu detection method and system, server, press key equipment, photographing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105791704B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000007937A (en) * | 1998-07-08 | 2000-02-07 | 윤종용 | Osd character examination device of shipping automatic examination device and examination method |
CN1976526A (en) * | 2006-11-15 | 2007-06-06 | 华为技术有限公司 | Mobile telephone automation testing system and testing method |
CN101067799A (en) * | 2007-06-15 | 2007-11-07 | 华为技术有限公司 | Terminal user interface testing method and device |
CN103596000A (en) * | 2013-11-22 | 2014-02-19 | 乐视致新电子科技(天津)有限公司 | Method and system for multi-interface switching test of smart television |
-
2016
- 2016-05-06 CN CN201610298314.3A patent/CN105791704B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000007937A (en) * | 1998-07-08 | 2000-02-07 | 윤종용 | Osd character examination device of shipping automatic examination device and examination method |
CN1976526A (en) * | 2006-11-15 | 2007-06-06 | 华为技术有限公司 | Mobile telephone automation testing system and testing method |
CN101067799A (en) * | 2007-06-15 | 2007-11-07 | 华为技术有限公司 | Terminal user interface testing method and device |
CN103596000A (en) * | 2013-11-22 | 2014-02-19 | 乐视致新电子科技(天津)有限公司 | Method and system for multi-interface switching test of smart television |
Also Published As
Publication number | Publication date |
---|---|
CN105791704A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110636353B (en) | Display device | |
CN106101561B (en) | Camera focusing detection method and device | |
US10382719B2 (en) | Method and apparatus for sharing information during video call | |
CN105338238B (en) | A kind of photographic method and electronic equipment | |
CN105933783A (en) | Bullet screen play method and device and terminal equipment | |
WO2017166682A1 (en) | Method and device for loading photographing parameter menu | |
CN109120862A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN110555334B (en) | Face feature determination method and device, storage medium and electronic equipment | |
CN105320270A (en) | Method for performing a face tracking function and an electric device having the same | |
Costa et al. | Empowering humans in a cyber-physical production system: human-in-the-loop perspective | |
CN105872767A (en) | Method and apparatus for guiding sharing based on user behaviors | |
CN109040729B (en) | Image white balance correction method and device, storage medium and terminal | |
KR20130054097A (en) | Electronic device and method for providing information releated to broadcasting viewing | |
CN106909481B (en) | Interface test method, interface test device and electronic equipment | |
CN113452991A (en) | Lens focusing state determining method, device, equipment and storage medium | |
CN105791704B (en) | Function menu detection method and system, server, press key equipment, photographing device | |
CN107748644A (en) | A kind of sectional drawing display methods and equipment, terminal and readable storage medium storing program for executing | |
CN112948048A (en) | Information processing method, information processing device, electronic equipment and storage medium | |
US10613622B2 (en) | Method and device for controlling virtual reality helmets | |
US20200183497A1 (en) | Operation method and apparatus for service object, and electronic device | |
CN105389205B (en) | A kind of information processing method and electronic equipment | |
CN108540726B (en) | Method and device for processing continuous shooting image, storage medium and terminal | |
CN113961064A (en) | Method, device and equipment for controlling equipment interaction based on workstation and storage medium | |
CN112925719A (en) | Test method and device, electronic equipment and computer readable storage medium | |
KR20190100126A (en) | Method for transmitting for image and an electronic device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190419 |