The content of the invention
In view of the above problems, the present invention provides a kind of one kind for overcoming above mentioned problem or at least partly solving the above problemsSectional drawing application apparatus and method.
The present invention provides a kind of sectional drawing application apparatus, including display processing unit and display unit, the display processing unitShown for obtaining multi-medium data, being then sent through the display unit.The display processing unit is additionally operable to receive screenshot captureInstruction, catches on-screen data, the region intercepted according to needed for being determined the operation of user.The device also includes:
Sectional drawing unit, the region for being determined according to the display processing unit obtains the image in screenshot area, so as to cutThe image of respective regions is taken, and sectional drawing is produced according to user's operation and completes signal.
Image identification unit, the sectional drawing unit truncated picture content is identified for responding sectional drawing completion signalTo judge whether the picture material is Quick Response Code.
Image uses unit, and signal is completed for responding the sectional drawing, and provide when the sectional drawing content is Quick Response Code includingThe quick of two-dimensional code scanning function uses menu.And
Virtual image unit, the image is responded when user selects the two-dimensional code scanning function and calls startup using unitAnd it is loaded into virtual shooting interface on current screen, the analog scanning Quick Response Code is to obtain corresponding information.
Further, the present invention also provides a kind of sectional drawing application process, and this method includes:
Obtain multi-medium data and show corresponding multi-media image.
Screenshot capture instruction is received, on-screen data is caught, region is intercepted to obtain according to needed for being determined the operation of user.
Image in screenshot area is obtained according to the region of determination, so as to intercept the image of respective regions, and according toFamily operation produces sectional drawing and completes signal.
Respond the sectional drawing and complete signal, truncated picture content is identified to judge whether the picture material is two dimensionCode.
Sectional drawing completion signal is responded when the sectional drawing content is Quick Response Code to provide including the quick of two-dimensional code scanning functionUse menu.And
Identification user selects to be loaded into virtual shooting interface during the two-dimensional code scanning function on current screen, and analog scanning shouldQuick Response Code is to obtain corresponding information.
A kind of sectional drawing application apparatus and method that the present invention is provided, it is special by the progress to the image in current display interfaceDetermine the sectional drawing in region and recognize there is provided the quick application of two-dimensional code scanning when the sectional drawing content is Quick Response Code, and be loaded into virtualImage unit obtains corresponding information with simulating two-dimensional code scan operation, and realization need not add other equipment and can be cut according to userThe Quick Response Code taken is scanned, reach precognition user view and facilitate user's two-dimensional code scanning operate technique effect there is providedGood Consumer's Experience.
Embodiment
To describe the technology contents of the present invention in detail, feature, the objects and the effects being constructed, below in conjunction with embodimentAnd coordinate accompanying drawing to be explained in detail.
Fig. 1 is refer to, is the high-level schematic functional block diagram of the sectional drawing application apparatus in embodiment of the present invention, the device 10 canBe tablet personal computer, smart mobile phone etc. have touch function electronic equipment.The device 10 is used to provide a user interface with aobviousDiagram picture, the image of display can be the contents such as video, picture, word, webpage.
Specifically, the device 10 is used including display processing unit 11, sectional drawing unit 12, image identification unit 13, imageUnit 14, virtual image unit 15, display unit 16 and memory cell 17.
The display processing unit 11 is used to obtain multi-medium data, is then sent through display unit 16 and is shown.In this implementationIn mode, the one side of display processing unit 11 obtains real time video data from webserver (not shown), is then sent through displayUnit 16 is shown, is on the other hand also stored in the real time video data in the buffer area in the memory cell 17 of device 10.In other embodiments, the memory cell 17 can also store one or more local files, and this document includes video, figurePiece, text and executable application program etc., the display processing unit 11 obtain local file from memory cell 17, then sendShown to display unit 15.
The display processing unit 11 is additionally operable to receive screenshot capture instruction, catches on-screen data, true according to the operation of userThe region of interception needed for fixed, the sectional drawing unit 12 is used to be obtained in screenshot area according to the region that the display processing unit 11 is determinedImage, so as to intercept the image of respective regions, and sectional drawing produced according to user's operation complete signal.
In actual applications, the device 10 can provide a user interface with display screen sectional drawing function button or icon,User can be referred to by triggering screenshot capture function to the operation of the function button or icon, and producing corresponding screenshot captureOrder.
In the present embodiment, the display processing unit 11 shows one after receiving screenshot capture instruction on full screen picturesScreenshot box, the screenshot box can pre-set size, by recognizing that the gesture that user inputs on screen adjusts screenshot boxShape and position to determine the final region for needing to intercept, the gesture include sliding pull, single-point or 2 points or multiple spot stretching,It is unidirectional or two to or multi tension.
In another embodiment, the display processing unit 11 is received after screenshot capture instruction according to user on screenTouch operation determine the regional extent of screen printing, such as user's rail that the beginning and end of touch operation is passed through on screenMark determines screenshot area scope, further, can also obtain and obtain 4, its upper and lower, left and right point in the region to be formedRectangular closed region determines screenshot area scope.
Further, user determines that concrete operations of the current sectional drawing for needed for during sectional drawing are:The sectional drawing unit 12 identification is usedFamily finger it is determined that screenshot area in static residence time exceed default time threshold after produce correspondingly sectional drawing completionSignal.In another embodiment, it is complete that the sectional drawing unit 12 identification user produces correspondingly sectional drawing when leaving the screenshot area of determinationInto signal.
In another embodiment, the display processing unit 11 is dragged according to user, clicks or double-clicked with sectional drawing unit 12The determination in the region of interception and corresponding shot operation needed for the operation of mouse is carried out.For example, user click preset icon is producedScreenshot capture instruction is given birth to, and drags the cursor of mouse a region or not region are formed on screen, so that according to as described aboveIt is determined that the regional extent of required interception, produces sectional drawing completion signal after user's double click.In other embodiments, userSelection and shot operation that corresponding cursor on screen completes screenshot area can also be moved by keyboard.
The image identification unit 13 is used to respond sectional drawing completion signal, and the truncated picture content of sectional drawing unit 12 is enteredRow recognizes to judge the corresponding type of the picture material, such as head portrait, word, Quick Response Code.
The corresponding type of the picture material that the image is used to be judged according to the image identification unit 13 using unit 14 is adjustedCorresponding function is performed with corresponding program.
Further, the image can be responded sectional drawing completion signal and be provided using unit 14 includes multiple use functionsMenu fast is used, the function such as sweeps for example, sharing, preserving, search for and sweeping, and recognize user to the quick use menuThe selection of a certain item or multiple function of upper offer is to call corresponding program to perform corresponding function.
In the present embodiment, the image is additionally operable to according to the image identification unit 13 to truncated picture using unit 14The recognition result of content adjusts the order of multiple use functions on the quick use menu, that is to say, that will be with recognition resultThe function of matching somebody with somebody is arranged in before other multiple use functions, so as to facilitate user's selection and operation.
Referring to Fig. 2, the user interface schematic diagram to start sectional drawing function in embodiment of the present invention.Below will be to pass throughScreenshot box is realized sectional drawing and used and the present invention is illustrated.Display screen is cut in the user interface that the device 10 is providedFigure icon 20, user clicks on the icon 20 to start screenshot capture function, is now shown on the screen of the device 10The picture material shown in one screenshot box 21, and the region of screenshot box 21 is constant, and in the image shown outside the region of screenshot box 21Appearance has carried out gray proces.The display processing unit 11 recognizes size and position of the user on screen to the screenshot box 21Operate and determine the final region for needing to intercept.When the region that user chooses to current screenshot box 21 is satisfied with finger it is determined thatStatic residence time exceedes given threshold to produce correspondingly sectional drawing completion signal, the image identification unit 13 in screenshot areaRespond the sectional drawing and complete signal, the truncated picture content of sectional drawing unit 12 is identified to judge that the picture material is correspondingType, the image responds the sectional drawing using unit 14 completes signal is used to show in right side one viewing area 22 of division of current screenShow that the quick of multiple use functions that include of offer uses menu 23.As illustrated, the function that the quick use menu includes hasShare to microblogging, search for, sweep and sweep, preserve.
, should when the image identification unit 13 judges the truncated picture content for head portrait please refer to Fig. 3 and Fig. 4Image provides the quick use menu 23 using unit 14, and putting in order for multiple functions is adjusted to search for, preserved, pointEnjoy to microblogging, sweep and sweep.If user is it should be understood that the related people information of the head portrait, background, related works etc., click fast makesWith the function of search on menu 23, the image recognizes user using unit 14 to be needed to scan for the head portrait, will now be enteredThe following concrete operations of row:Start the operation of image identification function, the head portrait is analyzed, and therefrom extract the feature letter of imageBreath, while producing the request signal of an information retrieval;Start search engine (such as Baidu, Google), make the search engine responseThe request signal of the information retrieval, retrieves from searching database according to the characteristic information of image and reads associated with the head portraitSpecifying information;Receive the associated information retrieved and show the phase in the viewing area 22 of current page by device 10The specifying information of association.So as to which realization automatically provides correlation function application according to user's sectional drawing, reaches the skill of precognition user viewArt effect.
Please refer to Fig. 5 and Fig. 6, when the image identification unit 13 judges the truncated picture content for Quick Response Code,The image using unit 14 provide the quick use menu 23, and by multiple functions put in order be adjusted to sweep sweep, pointEnjoy to microblogging, search, preserve.If user is needed the Information application of the Quick Response Code to related application, such as one is swept using wechatSweep function to carry out good friend's addition or sweep using wechat to sweep function progress APP installations, now user needs to click on and fast usedSweeping on menu 23 sweeps function, the image using unit 14 recognize user need perform Quick Response Code sweep sweep function when, thisWhen will carry out following concrete operations:Start the virtual image unit 15 to be loaded into virtual shooting interface 24 on current screen, shouldThe virtual analog scanning of image unit 15 Quick Response Code is to obtain corresponding information (such as business card, APP are linked), the image identification unit13, which also start corresponding program, is correspondingly handled the information for scanning Quick Response Code acquisition.For example, when the virtual image unit15 scanning the Quick Response Code after obtain wechat good friend's card information, then the image identification unit 13 start wechat with according to the wechatGood friend's card information is automatically performed wechat good friend addition.So as to which realization need not add other equipment and image in 2 D code is scanned, and reachTo the technique effect for facilitating user's Quick Response Code to sweep to sweep operation.In the present embodiment, when the image identification unit 13 judges to be somebody's turn to doWhen truncated picture content is Quick Response Code, additionally it is possible to obtain the information (such as link network address) entrained by the Quick Response Code, and shouldInformation is sent to device 10 to show the information on viewing area 22 on screen.
Referring to Fig. 7, for the flow chart of the sectional drawing application process in embodiment of the present invention, this method includes:
Step S30, the display processing unit 11 obtains multi-medium data, is then sent through display unit 16 and is shown.
In the present embodiment, the one side of display processing unit 11 obtains real-time video from webserver (not shown)Data, are then sent through display unit 16 and are shown, on the other hand the real time video data is also stored in the memory cell of device 10In buffer area in 17.In other embodiments, the memory cell 17 can also store one or more local files, this articlePart includes video, picture, text and executable application program etc., and the display processing unit 11 is obtained from memory cell 17Local file, is then sent through display unit 15 and is shown.
Step S31, the display processing unit 11 receives screenshot capture instruction, on-screen data is caught, according to the operation of userIt is determined that required intercept to obtain region.
In actual applications, the device 10 can provide a user interface with display screen sectional drawing function button or icon,User can be referred to by triggering screenshot capture function to the operation of the function button or icon, and producing corresponding screenshot captureOrder.
In the present embodiment, the display processing unit 11 shows one after receiving screenshot capture instruction on full screen picturesScreenshot box, the screenshot box can pre-set size, by recognizing that the gesture that user inputs on screen adjusts screenshot boxShape and position to determine the final region for needing to intercept, the gesture include sliding pull, single-point or 2 points or multiple spot stretching,It is unidirectional or two to or multi tension.
In another embodiment, the display processing unit 11 is received after screenshot capture instruction according to user on screenTouch operation determine the regional extent of screen printing, such as user's rail that the beginning and end of touch operation is passed through on screenMark determines screenshot area scope, further, can also obtain and obtain 4, its upper and lower, left and right point in the region to be formedRectangular closed region determines screenshot area scope.
Step S32, the region that the sectional drawing unit 12 is determined according to the display processing unit 11 obtains the figure in screenshot areaPicture, so as to intercept the image of respective regions, and produces sectional drawing completion signal according to user's operation.
User determines that concrete operations of the current sectional drawing for needed for during sectional drawing are:The sectional drawing unit 12 recognizes user's finger trueStatic residence time, which exceedes, in fixed screenshot area produces correspondingly sectional drawing completion signal after default time threshold.
In another embodiment, produce and correspondingly cut when the sectional drawing unit 12 identification user leaves the screenshot area of determinationFigure completes signal.
Step S33, the image identification unit 13 responds the sectional drawing and completes signal, in the truncated picture of sectional drawing unit 12Appearance is identified to judge the corresponding type of the picture material.
Step S34, the image responds the sectional drawing using unit 14, which completes signal offer, includes the quick of multiple use functionsUse menu.
In the present embodiment, the image is additionally operable to according to the image identification unit 13 to truncated picture using unit 14The recognition result of content adjusts the order of multiple use functions on the quick use menu, that is to say, that will be with recognition resultThe function of matching somebody with somebody is arranged in before other multiple use functions, so as to facilitate user's selection and operation.
Step S35, the image recognizes user to provided on the quick use menu certain one or more using unit 14The selection of function is to call corresponding program to perform corresponding function.
Referring to Fig. 8, when the image identification unit 13 judges the truncated picture content for Quick Response Code, the image is usedUnit 14 provides the quick use menu 23, and putting in order multiple functions to be adjusted to sweep and sweep, share to microblogging, searchRope, preservation.If user is needed the Information application of the Quick Response Code to related application, such as swept using wechat and sweep function and enter to act charitablyFriend's addition or swept using wechat and sweeps function and carry out APP installations, now user needs to click on quick using sweeping on menu 23Sweep function, the image using unit 14 recognize user need to perform Quick Response Code sweep sweep function when, carry out following specific behaviourMake:
Step S40, starts the virtual image unit 15 to be loaded into virtual shooting interface 24 on current screen.
Step S41, the virtual analog scanning of image unit 15 Quick Response Code is to obtain corresponding information (such as business card, APP chainsConnect).
Step S42, the image identification unit 13 also starts corresponding program and carries out phase to the information for scanning Quick Response Code acquisitionShould ground processing.
For example, obtain wechat good friend's card information after the virtual image unit 15 scans the Quick Response Code, then the imageRecognition unit 13 starts wechat to be automatically performed wechat good friend addition according to wechat good friend's card information.
In the present embodiment, when the image identification unit 13 judges the truncated picture content for Quick Response Code, moreover it is possible toThe information (such as link network address) entrained by the Quick Response Code is enough obtained, and the information is sent to device 10 with the viewing area on screenThe information is shown on domain 22.
For example, when the image identification unit 13 judges the truncated picture content for head portrait, the image uses unit 14The quick use menu 23 is provided, and putting in order for multiple functions is adjusted to search for, preserve, share to microblogging, sweeps oneSweep.If user is it should be understood that the related people information of the head portrait, background, related works etc., are clicked on quick using on menu 23Function of search, the image recognizes user using unit 14 to be needed to scan for the head portrait, will now carry out following specific behaviourMake:Start the operation of image identification function, the head portrait is analyzed, and therefrom extract the characteristic information of image, produce simultaneouslyThe request signal of one information retrieval;Start search engine (such as Baidu, Google), make the search engine response information retrievalRequest signal, retrieves from searching database according to the characteristic information of image and reads the specifying information associated with the head portrait;Receive the associated information that retrieves and show that this is associated specific in the viewing area 22 of current page by device 10Information.So as to which realization automatically provides correlation function application according to user's sectional drawing, reaches the technique effect of precognition user view.
A kind of sectional drawing application apparatus and method that the present invention is provided, it is special by the progress to the image in current display interfaceDetermine the sectional drawing in region and recognize there is provided the quick application of two-dimensional code scanning when the sectional drawing content is Quick Response Code, and be loaded into virtualImage unit obtains corresponding information with simulating two-dimensional code scan operation, and realization need not add other equipment and can be cut according to userThe Quick Response Code taken is scanned, reach precognition user view and facilitate user's two-dimensional code scanning operate technique effect there is providedGood Consumer's Experience.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hairEquivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skillsArt field, is included within the scope of the present invention.