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 problems
Sectional 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 unit
Shown for obtaining multi-medium data, being then sent through the display unit.The display processing unit is additionally operable to receive screenshot capture
Instruction, 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 cut
The 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 signal
To 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 including
The 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 unit
And 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 to
Family 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 dimension
Code.
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 function
Use 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 should
Quick 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 interface
Determine 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 virtual
Image unit obtains corresponding information with simulating two-dimensional code scan operation, and realization need not add other equipment and can be cut according to user
The Quick Response Code taken is scanned, reach precognition user view and facilitate user's two-dimensional code scanning operate technique effect there is provided
Good 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 embodiment
And 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 can
Be tablet personal computer, smart mobile phone etc. have touch function electronic equipment.The device 10 is used to provide a user interface with aobvious
Diagram 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, image
Unit 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 implementation
In mode, the one side of display processing unit 11 obtains real time video data from webserver (not shown), is then sent through display
Unit 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, figure
Piece, text and executable application program etc., the display processing unit 11 obtain local file from memory cell 17, then send
Shown 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 user
The 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 determined
Image, 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 capture
Order.
In the present embodiment, the display processing unit 11 shows one after receiving screenshot capture instruction on full screen pictures
Screenshot box, the screenshot box can pre-set size, by recognizing that the gesture that user inputs on screen adjusts screenshot box
Shape 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 screen
Touch 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 screen
Mark determines screenshot area scope, further, can also obtain and obtain 4, its upper and lower, left and right point in the region to be formed
Rectangular 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 used
Family finger it is determined that screenshot area in static residence time exceed default time threshold after produce correspondingly sectional drawing completion
Signal.In another embodiment, it is complete that the sectional drawing unit 12 identification user produces correspondingly sectional drawing when leaving the screenshot area of determination
Into signal.
In another embodiment, the display processing unit 11 is dragged according to user, clicks or double-clicked with sectional drawing unit 12
The 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 produced
Screenshot 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 above
It is determined that the regional extent of required interception, produces sectional drawing completion signal after user's double click.In other embodiments, user
Selection 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 entered
Row 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 adjusted
Corresponding 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 functions
Menu fast is used, the function such as sweeps for example, sharing, preserving, search for and sweeping, and recognize user to the quick use menu
The 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 14
The 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 result
The 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 through
Screenshot 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 provided
Figure icon 20, user clicks on the icon 20 to start screenshot capture function, is now shown on the screen of the device 10
The 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 21
Appearance has carried out gray proces.The display processing unit 11 recognizes size and position of the user on screen to the screenshot box 21
Operate 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 that
Static residence time exceedes given threshold to produce correspondingly sectional drawing completion signal, the image identification unit 13 in screenshot area
Respond the sectional drawing and complete signal, the truncated picture content of sectional drawing unit 12 is identified to judge that the picture material is corresponding
Type, 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 screen
Show that the quick of multiple use functions that include of offer uses menu 23.As illustrated, the function that the quick use menu includes has
Share 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. 4
Image provides the quick use menu 23 using unit 14, and putting in order for multiple functions is adjusted to search for, preserved, point
Enjoy 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 makes
With 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 entered
The following concrete operations of row:Start the operation of image identification function, the head portrait is analyzed, and therefrom extract the feature letter of image
Breath, while producing the request signal of an information retrieval;Start search engine (such as Baidu, Google), make the search engine response
The request signal of the information retrieval, retrieves from searching database according to the characteristic information of image and reads associated with the head portrait
Specifying information;Receive the associated information retrieved and show the phase in the viewing area 22 of current page by device 10
The 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 view
Art 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, point
Enjoy 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 wechat
Sweep 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 used
Sweeping on menu 23 sweeps function, the image using unit 14 recognize user need perform Quick Response Code sweep sweep function when, this
When will carry out following concrete operations:Start the virtual image unit 15 to be loaded into virtual shooting interface 24 on current screen, should
The 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 unit
13, which also start corresponding program, is correspondingly handled the information for scanning Quick Response Code acquisition.For example, when the virtual image unit
15 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 wechat
Good 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 reach
To 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 do
When 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 should
Information 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 10
In buffer area in 17.In other embodiments, the memory cell 17 can also store one or more local files, this article
Part includes video, picture, text and executable application program etc., and the display processing unit 11 is obtained from memory cell 17
Local 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 user
It 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 capture
Order.
In the present embodiment, the display processing unit 11 shows one after receiving screenshot capture instruction on full screen pictures
Screenshot box, the screenshot box can pre-set size, by recognizing that the gesture that user inputs on screen adjusts screenshot box
Shape 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 screen
Touch 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 screen
Mark determines screenshot area scope, further, can also obtain and obtain 4, its upper and lower, left and right point in the region to be formed
Rectangular 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 area
Picture, 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 true
Static 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 determination
Figure completes signal.
Step S33, the image identification unit 13 responds the sectional drawing and completes signal, in the truncated picture of sectional drawing unit 12
Appearance 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 functions
Use menu.
In the present embodiment, the image is additionally operable to according to the image identification unit 13 to truncated picture using unit 14
The 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 result
The 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 14
The 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 used
Unit 14 provides the quick use menu 23, and putting in order multiple functions to be adjusted to sweep and sweep, share to microblogging, search
Rope, 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 charitably
Friend'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 23
Sweep function, the image using unit 14 recognize user need to perform Quick Response Code sweep sweep function when, carry out following specific behaviour
Make:
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 chains
Connect).
Step S42, the image identification unit 13 also starts corresponding program and carries out phase to the information for scanning Quick Response Code acquisition
Should ground processing.
For example, obtain wechat good friend's card information after the virtual image unit 15 scans the Quick Response Code, then the image
Recognition 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 to
The 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 screen
The 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 14
The quick use menu 23 is provided, and putting in order for multiple functions is adjusted to search for, preserve, share to microblogging, sweeps one
Sweep.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 23
Function of search, the image recognizes user using unit 14 to be needed to scan for the head portrait, will now carry out following specific behaviour
Make:Start the operation of image identification function, the head portrait is analyzed, and therefrom extract the characteristic information of image, produce simultaneously
The request signal of one information retrieval;Start search engine (such as Baidu, Google), make the search engine response information retrieval
Request 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 10
Information.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 interface
Determine 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 virtual
Image unit obtains corresponding information with simulating two-dimensional code scan operation, and realization need not add other equipment and can be cut according to user
The Quick Response Code taken is scanned, reach precognition user view and facilitate user's two-dimensional code scanning operate technique effect there is provided
Good 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 hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.