CN108154058A - Graphic code displaying, the band of position determine method and device - Google Patents
Graphic code displaying, the band of position determine method and device Download PDFInfo
- Publication number
- CN108154058A CN108154058A CN201611103857.1A CN201611103857A CN108154058A CN 108154058 A CN108154058 A CN 108154058A CN 201611103857 A CN201611103857 A CN 201611103857A CN 108154058 A CN108154058 A CN 108154058A
- Authority
- CN
- China
- Prior art keywords
- scan
- display screen
- target location
- location region
- graphic code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10821—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
- G06K7/1095—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices the scanner comprising adaptations for scanning a record carrier that is displayed on a display-screen or the like
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
Abstract
The disclosure provides a kind of graphic code displaying, the band of position determines method and device, the graphic code methods of exhibiting, the method includes:Determine the target location region on the display screen that end of scan can scan;The graphic code on the display screen is adjusted according to the target location region, so that the graphic code after adjustment is shown in the target location region.The disclosure first determines the target location region on the display screen that end of scan can scan, the graphic code on display screen is adjusted according to the target location region, so that the graphic code after adjustment is shown in the target location region, due to the target location, region is the region that user can be scanned, therefore, user can quickly scan the two-dimensional code, and then get the corresponding information of Quick Response Code, scan efficiency is improved, while facility is brought to user.
Description
Technical field
This application involves fields of communication technology more particularly to graphic code displaying, the band of position to determine method and device.
Background technology
Graphic code has been widely applied to various fields.It, can be on the screen in a manner of Quick Response Code by taking Quick Response Code as an example
It shows download link or goods links of application program (Application, APP) etc., passes through end of scan to scan user
The mode scanned the two-dimensional code obtains corresponding information.
However, when occurring, scanning user distance screen is too near and Quick Response Code is too big or scanning user distance screen is too far
And Quick Response Code is too small or screen is larger and Quick Response Code scanning scanning input less than screen position when, scanning
User is difficult to scan the Quick Response Code shown on screen, and then can not get the corresponding information of Quick Response Code.
Invention content
To overcome the problems in correlation technique, present disclose provides graphic code displaying, the band of position determine method and
Device.
According to the embodiment of the present disclosure in a first aspect, provide a kind of graphic code methods of exhibiting, the method includes:
Determine the target location region on the display screen that end of scan can scan;
The graphic code on the display screen is adjusted according to the target location region, so that the figure after adjustment
Code is shown in the target location region.
Optionally, the target location region on display screen that the determining end of scan can scan, including:
The character image for including scanning user by showing the photographic device set on screen shooting;
The scanning user and the relative position of the display screen are determined according to the character image;
The target location region on display screen that end of scan can scan is determined according to the relative position, it is described to sweep
It is that the scanning user holds terminal to retouch terminal.
Optionally, the target location determined according to the relative position on display screen that end of scan can scan
Region, including:
According to the relative position and the correspondence of the band of position to prestore, by the corresponding position area of identified relative position
Domain is determined as the target location region on the display screen that end of scan can scan.
Optionally, the target location region on display screen that the determining end of scan can scan, including:
Broadcast shows the identification information of screen for identifying;
Receive the target location region that server-side is sent;
Wherein, the target location region is:Server-side is in the current exhibition that display screen is determined according to the identification information
After showing picture, relation of plane is drawn according to shooting image and the current presentation, determines the display screen that end of scan can scan
On target location region, the identification information and it is described shooting image server-side, the shooting figure are sent to by end of scan
It seem the image that end of scan carries out the picture on display screen shooting acquisition.
Optionally, the target location region on display screen that the determining end of scan can scan, including:
Receive the shooting image that end of scan is sent, the shooting figure seem end of scan to the picture on display screen into
The image that row shooting obtains;
Determine the current presentation picture of display screen;
Relation of plane is drawn according to shooting image and the current presentation, is determined on the display screen that end of scan can scan
Target location region.
Optionally, it is described that relation of plane is drawn according to shooting image and the current presentation, determine that end of scan can scan
Display screen on target location region, including:
If shooting image includes current presentation picture, the target location area on display screen that end of scan can scan
Domain is the full frame region for showing screen;
If current presentation picture includes shooting image, the shooting image is subjected to image with current presentation picture and is compared,
It determines the band of position of the shooting image in current presentation picture, end of scan energy is determined according to the identified band of position
The target location region on display screen scanned.
Optionally, the target location region is coordinates of targets region;
It is described that the graphic code on the display screen is adjusted according to the target location region, so that after adjustment
Graphic code is shown in the target location region, including:
Obtain the coordinates regional of graphic code on the display screen;
The coordinates regional in the coordinates of targets region and graphic code is compared, the figure is scaled according to comparison result
Code, and the graphic code after scaling is moved in coordinates of targets region and is shown.
Optionally, the method further includes:
It adjusts and completes and after the preset time of interval in the graphic code, restore to show the graphic code.
According to the second aspect of the embodiment of the present disclosure, a kind of band of position is provided and determines method, the method includes:
Shooting image and the identification information for mark display screen that end of scan is sent are received, the shooting figure seems
End of scan carries out the picture on display screen the image of shooting acquisition;
The current presentation picture of the display screen is determined according to the identification information;
Relation of plane is drawn with the current presentation according to the shooting image, determines the display screen that end of scan can scan
Target location region on curtain;
The target location region is sent to the display screen, so that the display screen is according to the target location
Region is adjusted, and the graphic code after adjustment is shown in the target location region graphic code on the display screen
It is interior.
According to the third aspect of the embodiment of the present disclosure, a kind of graphic code displaying device is provided, described device includes:
Area determination module is configured to determine that the target location region on the display screen that end of scan can scan;
Graphic code display module, be configured as according to the target location region to it is described display screen on graphic code into
Row adjustment, so that the graphic code after adjustment is shown in the target location region.
Optionally, the area determination module includes:
Image taking submodule is configured as by showing that the photographic device set on screen shooting includes scanning user's
Character image;
Relative position determination sub-module is configured as determining the scanning user and the display according to the character image
The relative position of screen;
First area determination sub-module is configured as determining display that end of scan can scan according to the relative position
Target location region on screen, the end of scan are that the scanning user holds terminal.
Optionally, the first area determination sub-module, is additionally configured to:According to the relative position and the band of position to prestore
Correspondence, by the corresponding band of position of identified relative position, be determined as the display screen that end of scan can scan
On target location region.
Optionally, the area determination module includes:
Information broadcasts submodule, is configured as broadcast for identifying the identification information for showing screen;
Information receiving submodule is configured as receiving the target location region that server-side is sent;
Wherein, the target location region is:Server-side is in the current exhibition that display screen is determined according to the identification information
After showing picture, relation of plane is drawn according to shooting image and the current presentation, determines the display screen that end of scan can scan
On target location region, the identification information and it is described shooting image server-side, the shooting figure are sent to by end of scan
It seem the image that end of scan carries out the picture on display screen shooting acquisition.
Optionally, the area determination module includes:
Image receiving submodule is configured as receiving the shooting image that end of scan is sent, and the shooting figure seems scanning
Terminal-pair shows that the picture on screen carries out the image of shooting acquisition;
Picture determination sub-module is configured to determine that the current presentation picture of display screen;
Second area determination sub-module is configured as drawing relation of plane according to shooting image and the current presentation, determine
The target location region on display screen that end of scan can scan.
Optionally, the second area determination sub-module is additionally configured to:
If shooting image includes current presentation picture, the target location area on display screen that end of scan can scan
Domain is the full frame region for showing screen;
If current presentation picture includes shooting image, the shooting image is subjected to image with current presentation picture and is compared,
It determines the band of position of the shooting image in current presentation picture, end of scan energy is determined according to the identified band of position
The target location region on display screen scanned.
Optionally, the target location region is coordinates of targets region;The graphic code display module, is additionally configured to:
Obtain the coordinates regional of graphic code on the display screen;
The coordinates regional in the coordinates of targets region and graphic code is compared, the figure is scaled according to comparison result
Code, and the graphic code after scaling is moved in coordinates of targets region and is shown.
Optionally, described device further includes:
Restoration module is configured as adjusting in the graphic code and complete and after the preset time of interval, restores to show the figure
Shape code.
According to the fourth aspect of the embodiment of the present disclosure, a kind of band of position determining device is provided, described device includes:
Information receiving module is configured as receiving shooting image and the mark for mark display screen that end of scan is sent
Know information, the shooting figure seems the image that end of scan carries out the picture on display screen shooting acquisition;
Picture determining module is configured as determining the current presentation picture of the display screen according to the identification information;
Band of position determining module is configured as drawing relation of plane with the current presentation according to the shooting image, really
Determine the target location region on the display screen that end of scan can scan;
Information sending module is configured as the target location region being sent to the display screen, so that described aobvious
Display screen curtain is adjusted, and the graphic code after adjustment the graphic code on the display screen according to the target location region
It is shown in the target location region.
According to a fifth aspect of the embodiments of the present disclosure, a kind of graphic code displaying device is provided, described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Determine the target location region on the display screen that end of scan can scan;
The graphic code on the display screen is adjusted according to the target location region, so that the figure after adjustment
Code is shown in the target location region.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The disclosure first determines the target location region on the display screen that end of scan can scan, according to the target location
Region is adjusted the graphic code on display screen, so that the graphic code after adjustment is shown in the target location region, due to
The target location region is the region that user can be scanned, and therefore, user can quickly scan the two-dimensional code, and then get two dimension
The corresponding information of code, improves scan efficiency, while bring facility to user.
The disclosure includes the character image of scanning user by shooting, and determining scanning is analyzed by being carried out to character image
User and the relative position of display screen, and determine according to relative position the target on display screen that end of scan can scan
The band of position, so as to fulfill the positioning of the band of position.
The disclosure determines the display screen that end of scan can scan according to correspondence and identified relative position
On target location region, which is easy to implement, improve determine the band of position efficiency.
For the disclosure by showing screen broadcast identification information, end of scan receives identification information, and will shooting image and
Identification information is sent to server-side, and server-side can not only determine display screen according to identification information, can also be according to shooting figure
Current display picture in picture and display screen further judges to scan whether user's display screen to be scanned is mark letter
The display screen of mark is ceased, realizes double judgement, to realize accurate adjustment graphic code, so that the graphic code after adjusting includes
In the band of position.The band of position is determined to realize rather than show by server-side that screen is realized simultaneously, is reduced to display
The hardware requirement of screen.
The disclosure can realize the real-time that target location region determines by showing that screen determines target location region,
The defects of avoiding causing to determine target location region not in time due to network, and then leading to graphic code adjustment not in time.
The disclosure is adjusted in graphic code and is completed and after the preset time of interval, automatic to restore to show graphic code, after avoiding adjustment
Graphic code show cause to influence to show screen displaying picture originally always, so as to user bring facility.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of scene graph of present graphical code shown in the disclosure.
Fig. 2 is a kind of flow chart of graphic code methods of exhibiting of the disclosure according to an exemplary embodiment.
Fig. 3 is the flow chart that a kind of band of position of the disclosure according to an exemplary embodiment determines method.
Fig. 4 A are a kind of application scenario diagrams of graphic code methods of exhibiting of the disclosure according to an exemplary embodiment.
Fig. 4 B are a kind of sequence diagrams of graphic code methods of exhibiting of the disclosure according to an exemplary embodiment.
Fig. 4 C are the application scenario diagrams of another graphic code methods of exhibiting of the disclosure according to an exemplary embodiment.
Fig. 4 D are the application scenario diagrams of another graphic code methods of exhibiting of the disclosure according to an exemplary embodiment.
Fig. 4 E are the application scenario diagrams of another graphic code methods of exhibiting of the disclosure according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of graphic code displaying device of the disclosure according to an exemplary embodiment.
Fig. 6 is the block diagram of another graphic code displaying device of the disclosure according to an exemplary embodiment.
Fig. 7 is the block diagram of another graphic code displaying device of the disclosure according to an exemplary embodiment.
Fig. 8 is the block diagram of another graphic code displaying device of the disclosure according to an exemplary embodiment.
Fig. 9 is the block diagram of another graphic code displaying device of the disclosure according to an exemplary embodiment.
Figure 10 is a kind of block diagram of band of position determining device of the disclosure according to an exemplary embodiment.
Figure 11 is a kind of block diagram for graphic code displaying device of the disclosure according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure.
" one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Graphic code can be arranged using certain specific figure according to certain rule, to express the figure of certain information
Identifier.For example, graphic code can be Quick Response Code, bar code etc..Graphic code can be used for progress acquisition of information, website redirects,
Advertisement pushing, preferential promotion etc..Scanning user's (and being properly termed as spectators) can be by end of scan scanning figure shape code, so as to obtain
Obtain the information corresponding to graphic code.Graphic code can be applied in various fields and various scenes, for example, graphic code is shown
On large screen, corresponding information is obtained in a manner that end of scan scans the two-dimensional code to scan user.
However, often will appear, scanning user distance screen is too near and Quick Response Code is too big or scanning user distance screen
Too far and Quick Response Code is too small or screen is larger and Quick Response Code scan scanning input less than screen position situations such as, this
When user be difficult the graphic code scanned on screen.User generally require by far from display screen, close to display screen, by
Extraneous strength realizes scanning figure shape code close to modes such as graphic codes, it is seen that the efficiency of scanning figure shape code is low, and is brought to user
It is inconvenient.
As shown in Figure 1, Fig. 1 is a kind of scene graph of present graphical code shown in the disclosure.Under the scene, due to display
Screen is larger, and the mobile phone of user can only scan the location A region on display screen, and Quick Response Code is in the upper left of display screen
Angle, user need that using the modes such as offer sb. a chance to remedy a fault gracefully Quick Response Code could be scanned, and otherwise can not be scanned by mobile phone to Quick Response Code, then without
Method gets the information corresponding to Quick Response Code.
The defects of in order to avoid that can not scan Quick Response Code in display screen in the relevant technologies, the disclosure first determines end of scan
The target location region on display screen that can be scanned carries out the graphic code on display screen according to the target location region
Adjustment, so that the graphic code after adjustment is shown in the target location region, due to the target location, region is that user can be scanned
Region, therefore, user can quickly scan the two-dimensional code, and then get the corresponding information of Quick Response Code, improve scan efficiency, together
When to user bring facility.
As shown in Fig. 2, Fig. 2 is a kind of flow of graphic code methods of exhibiting of the disclosure according to an exemplary embodiment
Figure, this method may comprise steps of:
In step 201, the target location region on the display screen that end of scan can scan is determined.
In step 202, the graphic code on the display screen is adjusted according to the target location region, so that
Graphic code after adjustment is shown in the target location region.
The embodiment of the present disclosure can be applied within display screen, and display screen is display equipment, not only with display capabilities,
There can also be information processing capability.Such as display screen can be display screen, combination etc..Display screen currently shows picture
It can include text information, image information, video information etc..Embodiment of the present disclosure meaning end of scan has scanning function
Electronic equipment, for example, end of scan can be smart mobile phone, tablet computer, PDA (Personal Digital Assistant,
Personal digital assistant), Intelligent bracelet, smartwatch etc..
In the disclosure, target location region is the region of display screen that end of scan can scan.When display screen compared with
Greatly, when scanning user distance shows that screen is nearer, end of scan is only capable of the subregion on scanning display screen, when display screen
When smaller or scanning user distance shows screen farther out, end of scan can scan the whole region of display screen.
The disclosure enumerates the mode in the target location region on the display screen that several determining end of scan can scan:
In an optional realization method, the determining end of scan can scan display screen on target location
Region, including:
The character image for including scanning user by showing the photographic device set on screen shooting.
The scanning user and the relative position of the display screen are determined according to the character image.
The target location region on display screen that end of scan can scan is determined according to the relative position, it is described to sweep
It is that the scanning user holds terminal to retouch terminal.
The present embodiment can set photographic device on the display screen, include scanning user's by photographic device shooting
Character image.Photographic device shoots the opportunity of character image, can meet default shooting condition.Specifically, when default shooting
When condition meets, by showing that the photographic device set on screen shooting includes the character image for scanning user.
Wherein, default shooting condition can be that the preset time at interval reaches or scanning is to personage, can also be
Receive scan request of end of scan transmission etc..For example, end of scan can log in default application program, preset and answered by this
Scan request is sent to display screen with program, just by showing that is set on screen takes the photograph when display screen receives scan request
As device is shot comprising the character image for scanning user, so as to avoid the wasting of resources caused by filming apparatus captured in real-time.
It is the user being scanned using end of scan to graphic code to scan user.Filming apparatus shooting includes scanning user
Character image, in order to determine scanning user with show screen relative position, i.e., determined according to the character image
The scanning user and the relative position of the display screen.
Wherein, relative position can include scanning user with showing the distance of screen, can also include scanning user aobvious
The corresponding position of orthographic projection region or scanning user on the display screen on display screen curtain.It is exemplified below several determining scanning users
Method with the relative position for showing screen.
It in one example, can be in the right opposite of display screen and side surface direction setting reference material, reference material and display
Known to the relative position of screen.By the way that personage and reference material are compared, you can with according to personage in character image with compareing
The relationship of object determines scanning user with showing the relative position of screen.
In another example, the mode of camera combination laser pen can also be used to form range unit, realize detection
User is scanned with showing the distance of screen.
In another example, it can also be surveyed by passive rangings methods such as stereoscopic vision, movement telemetry, monocular rangings
Distance of the amount scanning user with showing screen.Wherein, stereoscopic vision be imitate the mankind it is three-dimensional perceive analysis method by binocular or
More mesh cameras obtain the object X-Y scheme of the target image shooting under different visual angles in the different same scenery of viewing point
Picture.Position deviation, that is, parallax between image pixel is calculated by principle of triangulation to obtain the three-dimensional information of scenery.Movement is surveyed
Monocular cam can be used to obtain continuous target image in different time or different spatial positions away from method, by scanning user
The distance and other parameter of scanning user is calculated in the time of two-dimensional image sequence and spatial variations.Based on figure in monocular ranging
As the distance measuring method of processing includes focusing telemetry (Depth from Focus, DFF) and range of defocusing method (Depth from
Defocus, DFD), details are not described herein for specific test method.
It is understood that other modes can also be used to determine scanning user with showing the phase of screen according to character image
To position, this is no longer going to repeat them.
After relative position of the scanning user with showing screen is determined, can end of scan be determined according to the relative position
The target location region on display screen that can be scanned.
It in one example, can be with if relative position includes scanning user orthographic projection region on the display screen
Orthographic projection region directly is determined as end of scan can scan to the target location region on display screen.
In another example, the correspondence of relative position and the band of position can be prestored.For example, when opposite position
When putting including scanning user with showing the distance of screen and scanning user orthographic projection region on the display screen, prestore away from
Position relationship from, orthographic projection region and the band of position.It, can be according to the relative position and pair of the band of position to prestore based on this
It should be related to, the corresponding band of position of identified relative position is determined as on the display screen that end of scan can scan
Target location region.As it can be seen that according to correspondence and identified relative position, the display that end of scan can scan is determined
Target location region on screen, it is easy to implement, improve the efficiency for determining the band of position.
As seen from the above-described embodiment, the present embodiment includes the character image of scanning user by shooting, by personage
Image, which analyze, to be determined scanning user and shows the relative position of screen, and determine that end of scan can scan according to relative position
To display screen on target location region, so as to fulfill the positioning of the band of position.
In another optional realization method, the determining end of scan can scan display screen on target position
Region is put, including:
Broadcast shows the identification information of screen for identifying.
Receive the target location region that server-side is sent.
Wherein, the target location region is:Server-side is in the current exhibition that display screen is determined according to the identification information
After showing picture, relation of plane is drawn according to shooting image and the current presentation, determines the display screen that end of scan can scan
On target location region, the identification information and it is described shooting image server-side, the shooting figure are sent to by end of scan
It seem the image that end of scan carries out the picture on display screen shooting acquisition.
Display screen can broadcast to identify the identification information for showing screen.Identification information can be the name for showing screen
Claim, the arbitrary combination of number, geographical location information or number, character string, symbol etc., if can unique mark show
Screen.
Display screen can pass through the short-distance wireless communication technologies broadcast identification information such as bluetooth.The mesh of broadcast identification information
Be in order to by end of scan by server-side to display screen be identified.Specifically, end of scan can receive display screen
The identification information of curtain broadcast, and the picture on display screen is shot, shooting image and identification information are sent to service
End, server-side determine the target location area on the display screen that end of scan can scan according to shooting image and identification information
Domain.
Wherein, end of scan can log in default application program when needing to be scanned, by presetting application program tune
The picture on display screen is shot with camera, one shooting image of acquisition can be shot, it is more that acquisition can also be shot
Open shooting image.User can be shot against any position of picture on display screen.It can be shot by end of scan
Region, it is believed that be the region that end of scan can scan.After shooting image and identification information is obtained, end of scan can
Image will be shot and identification information is sent to server-side by default application program, for example, can will carry shooting image and
The scan request of identification information is sent to server-side, so that server-side is when receiving scan request, according to shooting image and mark
Know information and determine the target location region shown on screen that end of scan can scan.
How to be determined for server-side according to shooting image and identification information on display screen that end of scan can scan
Target location region, the disclosure also provides a kind of band of position and determines method, show as shown in figure 3, Fig. 3 is the disclosure according to one
A kind of band of position for exemplifying of example property implementation determines the flow chart of method, and this method can be applied in server-side, including with
Lower step 301 is to step 304:
In step 301, shooting image and the identification information for mark display screen that end of scan is sent, institute are received
It seems the image that end of scan carries out the picture on display screen shooting acquisition to state shooting figure.
In step 302, the current presentation picture of the display screen is determined according to the identification information.
Wherein, server-side can identify display screen according to identification information, and since server-side and display screen exist
Network connection, so as to which server-side can determine the current presentation picture of the display screen.
In step 303, relation of plane is drawn with the current presentation according to the shooting image, determines that end of scan can be swept
The target location region on display screen retouched.
It wherein, can basis since shooting figure seems that the image of shooting acquisition is carried out to the picture on display screen
The overlapping pictures of shooting image and current presentation picture determines the target location area on the display screen that end of scan can scan
Domain.
In one example, if shooting image includes current presentation picture, the display screen that end of scan can scan
On target location region be show screen full frame region.
Wherein, the band of position is the full frame region for showing screen, can estimate scanning user distance and show screen farther out
Position or display screen size are smaller, when being subsequently adjusted to graphic code, can be amplified graphic code, to sweep
User is retouched to be scanned by end of scan.
In one example, if current presentation picture includes shooting image, by the shooting image and current presentation picture
Image comparison is carried out, the band of position of the shooting image in current presentation picture is determined, according to the identified band of position
Determine the target location region on the display screen that end of scan can scan.
Wherein, current presentation picture includes shooting image, and it seems a part for current presentation picture to represent shooting figure, will be clapped
It takes the photograph image to compare with current presentation picture progress image, you can determine shooting image in the band of position of current presentation picture.One
Aspect, can the identified band of position directly be determined as end of scan can scan to the target location area on display screen
Domain.On the other hand, can also adjustment be zoomed in and out according to the identified band of position, adjustment result is determined as end of scan energy
The target location region on display screen scanned.
For example, when it is an image to shoot image, position area of the shooting image in current presentation picture is being determined
Behind domain, presumption end of scan, which can be scanned to the band of position on display screen, is more than shooting image in the position of current presentation picture
Region is put, shooting image can be made scaling up in the band of position of current presentation picture, amplified region is true
Being set to end of scan can scan to the target location region on display screen.
For another example, when it is multiple images to shoot image, such position of shooting image in current presentation picture is being determined
Behind region, can estimate end of scan can scan to display screen on the band of position it is close with the identified band of position,
It can be scanned to the target location region on display screen so as to which the identified band of position directly is determined as end of scan.
When current presentation picture includes shooting image, can estimate scanning user distance show screen closer to the distance or
Person's screen is larger, when being subsequently adjusted to graphic code, graphic code can be moved to the identified band of position, to sweep
User is retouched to be scanned by end of scan.
In step 304, the target location region is sent to the display screen so that it is described display screen according to
The target location region is adjusted the graphic code on the display screen, and the graphic code after adjusting be shown in it is described
In the region of target location.
As seen from the above-described embodiment, the present embodiment receives shooting image and identification information by server-side, according to shooting figure
Picture and identification information determine the target location region on the display screen that end of scan can scan, and realize the band of position really
It is fixed, the band of position is determined to realize rather than show by server-side that screen is realized, reducing will to the hardware for showing screen
It asks.
In order to facilitate understanding, disclosure combination server-side and end of scan illustrate.As shown in Figure 4 A and 4 B shown in FIG., Fig. 4 A
It is a kind of application scenario diagram of graphic code methods of exhibiting of the disclosure according to an exemplary embodiment, which includes sweeping
Retouch terminal, server-side and display screen.It is understood that an end of scan and display screen are only shown in Figure 4 A, and
One is actually not limited to, is only illustrated herein with one.Fig. 4 B are that the disclosure is shown according to an exemplary embodiment
A kind of graphic code methods of exhibiting sequence diagram, this method may comprise steps of:
1. screen broadcasting is shown for identifying the identification information for showing screen.
2. end of scan receives the identification information for showing screen broadcasting, and the picture on display screen is shot.
3. end of scan will shoot image and identification information is sent to server-side.
4. server-side determines the current presentation picture of display screen according to identification information, according to the shooting image that is received with
Identified current presentation draws relation of plane, determines the target location region on the display screen that end of scan can scan.
5. target location region is sent to display screen by server-side.
6. display screen is adjusted the graphic code on display screen according to target location region, so that the figure after adjustment
Shape code is shown in the target location region.
As seen from the above-described embodiment, by showing screen broadcast identification information, end of scan receives identification information, and will
Shooting image and identification information are sent to server-side, and server-side can not only determine display screen according to identification information, can be with
It according to shooting image and shows the current display picture in screen, further judges that scanning user's display screen to be scanned is
No is the display screen of identification information mark, realizes double judgement, to realize accurate adjustment graphic code, so as to the figure after adjusting
Shape code is shown in the band of position.The band of position is determined to realize rather than show by server-side that screen is realized simultaneously, drop
The low hardware requirement to showing screen.
In another optional realization method, the disclosure also provides the display that another determining end of scan can scan
The method in the target location region on screen, the target location area on display screen that the determining end of scan can scan
Domain, including:
Receive the shooting image that end of scan is sent, the shooting figure seem end of scan to the picture on display screen into
The image that row shooting obtains.
Determine the current presentation picture of display screen.
Relation of plane is drawn according to shooting image and the current presentation, is determined on the display screen that end of scan can scan
Target location region.
Wherein, for scanning user when showing the graphic code on screen using end of scan scanning, end of scan can be to aobvious
Picture on display screen curtain carries out shooting and obtains shooting image, and shooting image is sent to display screen.It is sent out as one of which
Mode is sent, end of scan can send the scan request for carrying shooting image to display screen, to show that screen is receiving
During scan request, the current presentation picture of display screen is determined, and the shooting image in scan request is drawn with current presentation
Relation of plane determines the target location region on the display screen that end of scan can scan.
It, can be according to shooting figure since shooting figure seems that the image of shooting acquisition is carried out to the picture on display screen
The overlapping pictures of picture and current presentation picture determines the target location region on the display screen that end of scan can scan.
In one example, if shooting image includes current presentation picture, the display screen that end of scan can scan
On target location region be show screen full frame region.
Wherein, the band of position is the full frame region for showing screen, can estimate scanning user distance and show screen farther out
Position or display screen size are smaller, when being subsequently adjusted to graphic code, can be amplified graphic code, to sweep
User is retouched to be scanned by end of scan.
In one example, if current presentation picture includes shooting image, by the shooting image and current presentation picture
Image comparison is carried out, the band of position of the shooting image in current presentation picture is determined, according to the identified band of position
Determine the target location region on the display screen that end of scan can scan.
Wherein, current presentation picture includes shooting image, and it seems a part for current presentation picture to represent shooting figure, will be clapped
It takes the photograph image to compare with current presentation picture progress image, you can determine shooting image in the band of position of current presentation picture.One
Aspect, can the identified band of position directly be determined as end of scan can scan to the target location area on display screen
Domain;On the other hand, can also adjustment be zoomed in and out according to the identified band of position, adjustment result is determined as end of scan energy
The target location region on display screen scanned.
As seen from the above-described embodiment, the present embodiment can realize target position by showing that screen determines target location region
The real-time that region determines is put, avoids causing to determine target location region not in time, and then lead to graphic code due to network
The defects of adjusting not in time.
After target location region is determined, the graphic code on display screen can be adjusted according to target location region
Whole, the purpose of adjustment is in order to which the graphic code after adjustment is made to be shown in the target location region.
As one of which adjustment means, adjustment can include mobile and scaling, that is, obtain and show graphic code on screen
The target location region and the band of position of the graphic code are compared by the band of position, and institute is scaled according to comparison result
Graphic code is stated, and the graphic code after scaling is moved in the target location region and is shown.Specifically, according to target position
Small big and graphic code the size for putting region zooms in and out graphic code, so that the size of the graphic code after scaling is to be suitble to sweep
Retouch the graphic code size that user is scanned using end of scan;According to the position of the band of position and the position of graphic code to figure
Shape code is moved, and graphic code is moved to target location region.During mobile graphics code, target location area can be moved into
Any position in domain, can also be fixed the centre being moved in the region of target location, be set with specific reference to demand.
As it can be seen that mobile purpose is in order to which scanning user is enable to scan graphic code, the purpose of scaling is to make scanning
User is more convenient scanning to graphic code.
In an optional realization method, the target location region is coordinates of targets region;It is described according to the mesh
Cursor position region is adjusted the graphic code on the display screen, so that the graphic code after adjustment is shown in the target position
It puts in region, including:Obtain the coordinates regional of graphic code on the display screen;By the coordinates of targets region and graphic code
Coordinates regional is compared, and the graphic code is scaled, and the graphic code after scaling is moved to coordinates of targets according to comparison result
It is shown in region.
A specific application example is exemplified below to illustrate.As shown in Figure 4 C, Fig. 4 C are the disclosure according to an example
Property implement the application scenario diagram of another graphic code methods of exhibiting that exemplifies.In the application scenarios, coordinates of targets region
Four angular coordinates of (Camera frame) are:a(Xa, Ya)、b(Xb, Yb)、c(Xc, Yc)、d(Xd, Yd);Show figure on screen
Code (QR frame) four angular coordinates be:A(XA, YA)、B(XB, YB)、C(XC, YC)、D(XD, YD)。
Camera frame peak widths:W1=Yb-Yc
QR frame peak widths:W2=YB-YC
K=W1/W2
Work as K>When 1, graphic code needs to amplify, and amplification factor can be K, or other close to K value, and will amplification after
Graphic code be moved to target location region;Work as K<When 1, graphic code needs to reduce, and minification can be K, or other
It close to the value of K, does not limit specifically, and the graphic code after diminution is moved to target location region;As K=1, graphic code
Size can not process, and directly be moved in the region of target location.
As shown in Figure 4 C, Fig. 4 C show the graphic code after adjustment.User can be in Camera frame scanned in regions
Quick Response Code improves scan efficiency, while brings facility to user.
As seen from the above-described embodiment, the band of position is represented by coordinates regional, improves mobile and scaling graphic code efficiency.
It is former in the band of position during in order to avoid graphic code being moved to the band of position in an optional realization method
Scanning of this image as the background influence graphic code of graphic code, the disclosure, can be with when graphic code is moved to the band of position
It will show that the picture on screen is hidden, so as to improve scanning effect.It is understood that it can also be it in practical application
His move mode, as long as after mobile graphics code, it can scanning figure shape code.
Further, it adjusts and completes and after the preset time of interval in the graphic code, restore to show the graphic code.Institute
Meaning is restored, that is, restores graphic code, and inverse adjustment is carried out to the graphic code after adjustment.For example, by graphic code zoom to script size with
And origin-location is moved back to, and will show that the picture on screen is shown, make spectators that can not view so as to avoid hiding picture for a long time
It shows screen content, economic loss is brought to supplier.
As shown in Figure 4 D, Fig. 4 D are another graphic code methods of exhibiting of the disclosure according to an exemplary embodiment
Application scenario diagram.In the schematic diagram, end of scan can scan some target location region below display screen, and two-dimentional
Code scanning scanning input less than the screen upper right corner.Show that after target location region is determined, Quick Response Code is put for screen
Greatly, and amplified Quick Response Code is moved to target location region to show, while the advertisement picture that will show screen script
It is hidden, after being spaced preset time, Quick Response Code is restored, and show advertisement picture again.As it can be seen that not only user is facilitated to sweep
Quick Response Code is retouched, while on showing that the picture of screen shows does not influence.
In another optional realization method, can not mobile graphics code, directly shown in target location region with it is former
The identical image code of graphic code.For example, graphic code can be included in newly-established figure layer, and be shown in target location area
Domain, and show screen script show layers using figure layer covering.As shown in Figure 4 E, Fig. 4 E are the disclosure according to an exemplary reality
Apply the application scenario diagram of another graphic code methods of exhibiting exemplified.In the schematic diagram, end of scan can scan display
Some target location region below screen, and Quick Response Code scanning scanning input less than the screen upper right corner.Display screen exists
After determining target location region, Quick Response Code is amplified, and amplified Quick Response Code is included in the target location of new figure layer
At region, while screen script show layers is shown using the covering of new figure layer, after being spaced preset time, show and show originally again
Figure layer.As it can be seen that aforesaid way not only facilitates scanning input Quick Response Code, while the picture of screen shows is not influenced to show.
It is understood that graphic code can also be adjusted using other modes, to reach the graphic code after adjustment
The purpose in target location region is shown in, this is no longer going to repeat them.
Various technical characteristics in embodiment of above can be arbitrarily combined, as long as the combination between feature is not present
Conflict or contradiction, but as space is limited, it is not described one by one, therefore the various technical characteristics in the above embodiment is arbitrary
It is combined the range for also belonging to this disclosure.
In addition, display screen can keep network connection with server-side, display screen broadcasting shows screen for identifying
Identification information when end of scan receives identification information, is obtained by identification information and to showing that the picture on screen carries out shooting
The shooting image obtained is sent to server-side, and server-side determines that the current presentation of the display screen is drawn according to the identification information
Face, and be compared according to shooting image with current presentation picture, determine that there are Chong Die pictures with current presentation picture for shooting image
During face, the graphic code on current presentation picture is sent to end of scan, so that end of scan quickly scans.
Determine that the embodiment of method is corresponding with the displaying of earlier figures shape code, the band of position, the disclosure additionally provides graphic code
The embodiment of displaying, band of position determining device and its terminal applied.
As shown in figure 5, Fig. 5 is a kind of frame of graphic code displaying device of the disclosure according to an exemplary embodiment
Figure, described device include:Area determination module 51 and graphic code display module 52.
Wherein, area determination module 51 are configured to determine that the target position on the display screen that end of scan can scan
Put region.
Graphic code display module 52 is configured as according to the target location region to the graphic code on the display screen
It is adjusted, so that the graphic code after adjustment is shown in the target location region.
As seen from the above-described embodiment, the target location region on the display screen that end of scan can scan, root are first determined
The graphic code on display screen is adjusted according to the target location region, so that the graphic code after adjustment is shown in the target position
Region is put, due to the target location, region is the region that user can be scanned, user can quickly scan the two-dimensional code, into
And the corresponding information of Quick Response Code is got, scan efficiency is improved, while facility is brought to user.
As shown in fig. 6, Fig. 6 is the frame of another graphic code displaying device of the disclosure according to an exemplary embodiment
Figure, on the basis of aforementioned embodiment illustrated in fig. 5, the area determination module 51 includes the embodiment:Image taking submodule
511st, relative position determination sub-module 512 and first area determination sub-module 513.
Wherein, image taking submodule 511 is configured as sweeping by showing that the photographic device set on screen shooting includes
Retouch the character image of user.
Relative position determination sub-module 512, be configured as according to the character image determine it is described scanning user with it is described
Show the relative position of screen.
First area determination sub-module 513 is configured as determining what end of scan can scan according to the relative position
Show the target location region on screen, the end of scan is that the scanning user holds terminal.
As seen from the above-described embodiment, the character image of scanning user is included by shooting, by being carried out to character image
Analysis determines that scanning user determines the display that end of scan can scan with showing the relative position of screen, and according to relative position
Target location region on screen, so as to fulfill the positioning of the band of position.
In an optional realization method, the first area determination sub-module 513 is additionally configured to:According to prestoring
Relative position and the band of position correspondence, by the corresponding band of position of identified relative position, be determined as scanning eventually
Hold the target location region on the display screen that can be scanned.
As seen from the above-described embodiment, the disclosure determines end of scan according to correspondence and identified relative position
The target location region on display screen that can be scanned, it is easy to implement, improve the efficiency for determining the band of position.
As shown in fig. 7, Fig. 7 is the frame of another graphic code displaying device of the disclosure according to an exemplary embodiment
Figure, on the basis of aforementioned embodiment illustrated in fig. 5, the area determination module 51 includes the embodiment:Information broadcasts submodule
514 and information receiving submodule 515.
Information broadcasts submodule 514, is configured as broadcast for identifying the identification information for showing screen.
Information receiving submodule 515 is configured as receiving the target location region that server-side is sent.
Wherein, the target location region is:Server-side is in the current exhibition that display screen is determined according to the identification information
After showing picture, relation of plane is drawn according to shooting image and the current presentation, determines the display screen that end of scan can scan
On target location region, the identification information and it is described shooting image server-side, the shooting figure are sent to by end of scan
It seem the image that end of scan carries out the picture on display screen shooting acquisition.
As seen from the above-described embodiment, for the disclosure by showing screen broadcast identification information, end of scan receives mark letter
Breath, and shooting image and identification information are sent to server-side, server-side can not only determine display screen according to identification information,
It according to shooting image and can also show the current display picture in screen, further judge scanning user's display to be scanned
Screen whether be identification information mark display screen, double judgement is realized, to realize accurate adjustment graphic code, to adjust
Graphic code afterwards is shown in the band of position.The band of position is determined through server-side realization rather than display screen simultaneously
It realizes, reduces the hardware requirement to showing screen.
As shown in figure 8, Fig. 8 is the frame of another graphic code displaying device of the disclosure according to an exemplary embodiment
Figure, on the basis of aforementioned embodiment illustrated in fig. 5, the area determination module 51 includes the embodiment:Image receiving submodule
516th, picture determination sub-module 517 and second area determination sub-module 518.
Image receiving submodule 516 is configured as receiving the shooting image that end of scan is sent, and the shooting figure seems to sweep
It retouches terminal-pair and shows that the picture on screen carries out the image of shooting acquisition.
Picture determination sub-module 517 is configured to determine that the current presentation picture of display screen.
Second area determination sub-module 518 is configured as drawing relation of plane according to shooting image and the current presentation, really
Determine the target location region on the display screen that end of scan can scan.
As seen from the above-described embodiment, the disclosure can realize target location by showing that screen determines target location region
The real-time that region determines avoids causing to determine target location region not in time, and then lead to graphic code tune due to network
It is whole not in time the defects of.
In an optional realization method, the second area determination sub-module 518 is additionally configured to:
If shooting image includes current presentation picture, the target location area on display screen that end of scan can scan
Domain is the full frame region for showing screen.
If current presentation picture includes shooting image, the shooting image is subjected to image with current presentation picture and is compared,
It determines the band of position of the shooting image in current presentation picture, end of scan energy is determined according to the identified band of position
The target location region on display screen scanned.
In an optional realization method, the target location region is coordinates of targets region;The graphic code displaying
Module is additionally configured to:Obtain the coordinates regional of graphic code on the display screen;By the coordinates of targets region and graphic code
Coordinates regional be compared, the graphic code is scaled, and the graphic code after scaling is moved to target and is sat according to comparison result
Mark is shown in region.
As seen from the above-described embodiment, the band of position is represented by coordinates regional, improves mobile and scaling graphic code efficiency.
As shown in figure 9, Fig. 9 is the frame of another graphic code displaying device of the disclosure according to an exemplary embodiment
Figure, on the basis of any one of earlier figures 5 to Fig. 8 illustrated embodiment, described device further includes the embodiment:Restoration module 53.
Wherein, restoration module 53 are configured as adjusting in the graphic code and complete and after the preset time of interval, restore aobvious
Show the graphic code.
As seen from the above-described embodiment, the disclosure is adjusted in graphic code and is completed and after the preset time of interval, automatic to restore display
Graphic code, the graphic code after adjustment is avoided, which to show always, to be caused to influence to show screen displaying picture originally, is brought just to user
Profit.
As shown in Figure 10, Figure 10 is a kind of band of position determining device of the disclosure according to an exemplary embodiment
Block diagram, described device include:Information receiving module 1010, picture determining module 1020, band of position determining module 1030 and letter
Cease sending module 1040.
Wherein, information receiving module 1010 are configured as receiving the shooting image and aobvious for identifying that end of scan is sent
The identification information of display screen curtain, the shooting figure seem the image that end of scan carries out the picture on display screen shooting acquisition.
Picture determining module 1020 is configured as determining that the current presentation of the display screen is drawn according to the identification information
Face.
Band of position determining module 1030 is configured as the pass according to the shooting image and the current presentation picture
System determines the target location region on the display screen that end of scan can scan.
Information sending module 1040 is configured as the target location region being sent to the display screen, so that institute
Display screen is stated to be adjusted, and the figure after adjustment the graphic code on the display screen according to the target location region
Shape code is shown in the target location region.
Correspondingly, the disclosure also provides a kind of graphic code displaying device, described device includes processor;At storage
Manage the memory of device executable instruction;Wherein, the processor is configured as:
Determine the target location region on the display screen that end of scan can scan.
The graphic code on the display screen is adjusted according to the target location region, so that the figure after adjustment
Code is shown in the target location region.
The function of modules and the specific details of realization process of effect, which are shown in, in above device corresponds to step in the above method
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The module of explanation may or may not be physically separate, and the component shown as module can be or can also
It is not physical module, you can be located at a place or can also be distributed on multiple network modules.It can be according to reality
It needs that some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As shown in figure 11, Figure 11 is according to a kind of for graphic code displaying device 1100 shown in an exemplary embodiment
Block diagram.
For example, device 1100 may be provided as display equipment.With reference to Figure 11, system 1100 includes processing component 1122,
It further comprises one or more processors and as the memory resource representated by memory 1132, can be by for storing
The instruction of the execution of processing component 1122, such as application program.The application program stored in memory 1132 can include one
Or it is more than one each correspond to the module of one group of instruction.In addition, processing component 1122 is configured as execute instruction, to hold
The above-mentioned graphic code methods of exhibiting of row.
System 1100 can also include a power supply module 1126 and be configured as the power management of execution system 1100, one
Wired or wireless network interface 1150 is configured as system 1100 being connected to network and input and output (I/O) interface
1158.System 1100 can be operated based on the operating system for being stored in memory 1132.
Wherein, when the instruction in the memory 1132 is performed by the processing component 1122 so that 1100 energy of system
A kind of graphic code methods of exhibiting is enough performed, including:
Determine the target location region on the display screen that end of scan can scan.
The graphic code on the display screen is adjusted according to the target location region, so that the figure after adjustment
Code is shown in the target location region.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
The foregoing is merely the preferred embodiment of the disclosure, not limiting the disclosure, all essences in the disclosure
God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of disclosure protection.
Claims (19)
1. a kind of graphic code methods of exhibiting, which is characterized in that the method includes:
Determine the target location region on the display screen that end of scan can scan;
The graphic code on the display screen is adjusted according to the target location region, so that the graphic code after adjustment is shown
Show in the target location region.
2. according to the method described in claim 1, it is characterized in that, on the display screen that the determining end of scan can scan
Target location region, including:
The character image for including scanning user by showing the photographic device set on screen shooting;
The scanning user and the relative position of the display screen are determined according to the character image;
The target location region on display screen that end of scan can scan is determined according to the relative position, the scanning is eventually
End is that the scanning user holds terminal.
3. according to the method described in claim 2, it is characterized in that, described determine that end of scan can be swept according to the relative position
The target location region on display screen retouched, including:
According to the relative position and the correspondence of the band of position to prestore, by the corresponding band of position of identified relative position,
It is determined as the target location region on the display screen that end of scan can scan.
4. according to the method described in claim 1, it is characterized in that, on the display screen that the determining end of scan can scan
Target location region, including:
Broadcast shows the identification information of screen for identifying;
Receive the target location region that server-side is sent;
Wherein, the target location region is:Server-side is determining that the current presentation of display screen is drawn according to the identification information
Behind face, relation of plane is drawn according to shooting image and the current presentation, is determined on the display screen that end of scan can scan
Target location region, the identification information and the shooting image are sent to server-side by end of scan, and the shooting figure seems
End of scan carries out the picture on display screen the image of shooting acquisition.
5. according to the method described in claim 1, it is characterized in that, on the display screen that the determining end of scan can scan
Target location region, including:
The shooting image that end of scan is sent is received, the shooting figure seems that end of scan claps the picture on display screen
Take the photograph the image of acquisition;
Determine the current presentation picture of display screen;
Relation of plane is drawn according to shooting image and the current presentation, determines the mesh on the display screen that end of scan can scan
Cursor position region.
6. method according to claim 4 or 5, which is characterized in that described to be drawn according to shooting image and the current presentation
Relation of plane determines the target location region on the display screen that end of scan can scan, including:
If shooting image includes current presentation picture, the target location region on display screen that end of scan can scan is
Show the full frame region of screen;
If current presentation picture includes shooting image, the shooting image is subjected to image with current presentation picture and is compared, is determined
The band of position of the shooting image in current presentation picture, determines that end of scan can scan according to the identified band of position
To display screen on target location region.
7. method according to any one of claims 1 to 5, which is characterized in that the target location region is coordinates of targets
Region;
It is described that the graphic code on the display screen is adjusted according to the target location region, so that the figure after adjustment
Code is shown in the target location region, including:
Obtain the coordinates regional of graphic code on the display screen;
The coordinates regional in the coordinates of targets region and graphic code is compared, the graphic code is scaled according to comparison result,
And the graphic code after scaling is moved in coordinates of targets region and is shown.
8. method according to any one of claims 1 to 5, which is characterized in that the method further includes:
It adjusts and completes and after the preset time of interval in the graphic code, restore to show the graphic code.
9. a kind of band of position determines method, which is characterized in that the method includes:
Shooting image and the identification information for mark display screen that end of scan is sent are received, the shooting figure seems scanning
Terminal-pair shows that the picture on screen carries out the image of shooting acquisition;
The current presentation picture of the display screen is determined according to the identification information;
Relation of plane is drawn with the current presentation according to the shooting image, is determined on the display screen that end of scan can scan
Target location region;
The target location region is sent to the display screen, so that the display screen is according to the target location region
Graphic code on the display screen is adjusted, and the graphic code after adjustment is shown in the target location region.
10. a kind of graphic code shows device, which is characterized in that described device includes:
Area determination module is configured to determine that the target location region on the display screen that end of scan can scan;
Graphic code display module is configured as adjusting the graphic code on the display screen according to the target location region
It is whole, so that the graphic code after adjustment is shown in the target location region.
11. device according to claim 10, which is characterized in that the area determination module includes:
Image taking submodule is configured as the personage for including scanning user by showing the photographic device set on screen shooting
Image;
Relative position determination sub-module is configured as determining the scanning user and the display screen according to the character image
Relative position;
First area determination sub-module is configured as determining display screen that end of scan can scan according to the relative position
On target location region, the end of scan be it is described scanning user hold terminal.
12. according to the devices described in claim 11, which is characterized in that the first area determination sub-module is additionally configured to:
According to the relative position and the correspondence of the band of position to prestore, by the corresponding band of position of identified relative position,
It is determined as the target location region on the display screen that end of scan can scan.
13. device according to claim 10, which is characterized in that the area determination module includes:
Information broadcasts submodule, is configured as broadcast for identifying the identification information for showing screen;
Information receiving submodule is configured as receiving the target location region that server-side is sent;
Wherein, the target location region is:Server-side is determining that the current presentation of display screen is drawn according to the identification information
Behind face, relation of plane is drawn according to shooting image and the current presentation, is determined on the display screen that end of scan can scan
Target location region, the identification information and the shooting image are sent to server-side by end of scan, and the shooting figure seems
End of scan carries out the picture on display screen the image of shooting acquisition.
14. device according to claim 10, which is characterized in that the area determination module includes:
Image receiving submodule is configured as receiving the shooting image that end of scan is sent, and the shooting figure seems end of scan
The image of shooting acquisition is carried out to the picture on display screen;
Picture determination sub-module is configured to determine that the current presentation picture of display screen;
Second area determination sub-module is configured as drawing relation of plane according to shooting image and the current presentation, determines scanning
The target location region on display screen that terminal can scan.
15. device according to claim 14, which is characterized in that the second area determination sub-module is additionally configured to:
If shooting image includes current presentation picture, the target location region on display screen that end of scan can scan is
Show the full frame region of screen;
If current presentation picture includes shooting image, the shooting image is subjected to image with current presentation picture and is compared, is determined
The band of position of the shooting image in current presentation picture, determines that end of scan can scan according to the identified band of position
To display screen on target location region.
16. according to claim 10 to 15 any one of them device, which is characterized in that the target location region is sat for target
Mark region;
The graphic code display module, is additionally configured to:
Obtain the coordinates regional of graphic code on the display screen;
The coordinates regional in the coordinates of targets region and graphic code is compared, the graphic code is scaled according to comparison result,
And the graphic code after scaling is moved in coordinates of targets region and is shown.
17. according to claim 10 to 15 any one of them device, which is characterized in that described device further includes:
Restoration module is configured as adjusting in the graphic code and complete and after the preset time of interval, restores to show the figure
Code.
18. a kind of band of position determining device, which is characterized in that described device includes:
Information receiving module is configured as receiving shooting image and the mark letter for mark display screen that end of scan is sent
Breath, the shooting figure seem the image that end of scan carries out the picture on display screen shooting acquisition;
Picture determining module is configured as determining the current presentation picture of the display screen according to the identification information;
Band of position determining module is configured as drawing relation of plane with the current presentation according to the shooting image, determines to sweep
Retouch the target location region on the display screen that terminal can scan;
Information sending module is configured as the target location region being sent to the display screen, so that the display screen
Curtain is adjusted, and the graphic code after adjustment is shown the graphic code on the display screen according to the target location region
In the target location region.
19. a kind of graphic code shows device, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Determine the target location region on the display screen that end of scan can scan;
The graphic code on the display screen is adjusted according to the target location region, so that the graphic code after adjustment is shown
Show in the target location region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611103857.1A CN108154058B (en) | 2016-12-05 | 2016-12-05 | Graphic code display and position area determination method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611103857.1A CN108154058B (en) | 2016-12-05 | 2016-12-05 | Graphic code display and position area determination method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108154058A true CN108154058A (en) | 2018-06-12 |
CN108154058B CN108154058B (en) | 2021-04-23 |
Family
ID=62469971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611103857.1A Active CN108154058B (en) | 2016-12-05 | 2016-12-05 | Graphic code display and position area determination method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108154058B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846663A (en) * | 2018-06-21 | 2018-11-20 | 维沃移动通信有限公司 | A kind of two dimensional code method of adjustment, device and mobile terminal |
CN109214810A (en) * | 2018-07-25 | 2019-01-15 | 努比亚技术有限公司 | A kind of two-dimensional code display method, mobile terminal and computer readable storage medium |
CN109409164A (en) * | 2018-11-20 | 2019-03-01 | 普联技术有限公司 | Scan image display adjusting method, device and electronic equipment |
CN109521981A (en) * | 2018-10-31 | 2019-03-26 | 维沃移动通信有限公司 | A kind of graphic code display methods and terminal |
CN109766070A (en) * | 2019-01-31 | 2019-05-17 | 网易(杭州)网络有限公司 | Display control method and device in a kind of mobile terminal |
CN110597561A (en) * | 2019-09-09 | 2019-12-20 | 上海赛连信息科技有限公司 | Method, medium and device for displaying identification and computing equipment |
CN110705329A (en) * | 2019-09-30 | 2020-01-17 | 联想(北京)有限公司 | Processing method and device and electronic equipment |
CN111813304A (en) * | 2020-06-12 | 2020-10-23 | 维沃移动通信有限公司 | Image display method and device |
CN112000218A (en) * | 2019-05-27 | 2020-11-27 | 北京京东尚科信息技术有限公司 | Object display method and device |
CN113255389A (en) * | 2020-12-18 | 2021-08-13 | 深圳怡化电脑股份有限公司 | Image recognition method and device, electronic equipment and storage medium |
CN113298212A (en) * | 2021-05-25 | 2021-08-24 | 艾酷软件技术(上海)有限公司 | Graphic code display method and device |
CN113673652A (en) * | 2021-08-12 | 2021-11-19 | 维沃软件技术有限公司 | Two-dimensional code display method and device and electronic equipment |
CN114928844A (en) * | 2021-02-11 | 2022-08-19 | 通用汽车环球科技运作有限责任公司 | Method, system and equipment for realizing vehicle-mounted pairing algorithm by using QR (quick response) code |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1908962A (en) * | 2006-08-21 | 2007-02-07 | 北京中星微电子有限公司 | People face track display method and system for real-time robust |
CN1934584A (en) * | 2004-06-04 | 2007-03-21 | 松下电器产业株式会社 | Display control device, display control method, program, and portable apparatus |
CN102045429A (en) * | 2009-10-13 | 2011-05-04 | 华为终端有限公司 | Method and equipment for adjusting displayed content |
CN102313547A (en) * | 2011-05-26 | 2012-01-11 | 东南大学 | Visual navigation method for mobile robot based on hand-drawn contour semantic map |
CN102968208A (en) * | 2012-09-05 | 2013-03-13 | 广东威创视讯科技股份有限公司 | Method and system for selecting adjustment mode of effective area of area array camera positioning image |
CN103945121A (en) * | 2014-03-24 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104008361A (en) * | 2014-06-16 | 2014-08-27 | 北京握奇智能科技有限公司 | Two-dimensional code scanning, locating and prompting method and system |
US20140320624A1 (en) * | 2013-04-29 | 2014-10-30 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for regulating images displayed on display screen |
CN104320714A (en) * | 2014-11-19 | 2015-01-28 | 京东方科技集团股份有限公司 | Display device and display regulation method thereof |
CN105138942A (en) * | 2015-08-26 | 2015-12-09 | 小米科技有限责任公司 | Two-dimensional code display method and device |
CN105611153A (en) * | 2015-12-21 | 2016-05-25 | 联想(北京)有限公司 | Image processing method and electronic device |
CN205721623U (en) * | 2016-03-01 | 2016-11-23 | 上海光巢信息技术有限公司 | Intelligent interactive system |
-
2016
- 2016-12-05 CN CN201611103857.1A patent/CN108154058B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1934584A (en) * | 2004-06-04 | 2007-03-21 | 松下电器产业株式会社 | Display control device, display control method, program, and portable apparatus |
CN1908962A (en) * | 2006-08-21 | 2007-02-07 | 北京中星微电子有限公司 | People face track display method and system for real-time robust |
CN102045429A (en) * | 2009-10-13 | 2011-05-04 | 华为终端有限公司 | Method and equipment for adjusting displayed content |
CN102313547A (en) * | 2011-05-26 | 2012-01-11 | 东南大学 | Visual navigation method for mobile robot based on hand-drawn contour semantic map |
CN102968208A (en) * | 2012-09-05 | 2013-03-13 | 广东威创视讯科技股份有限公司 | Method and system for selecting adjustment mode of effective area of area array camera positioning image |
US20140320624A1 (en) * | 2013-04-29 | 2014-10-30 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for regulating images displayed on display screen |
CN103945121A (en) * | 2014-03-24 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104008361A (en) * | 2014-06-16 | 2014-08-27 | 北京握奇智能科技有限公司 | Two-dimensional code scanning, locating and prompting method and system |
CN104320714A (en) * | 2014-11-19 | 2015-01-28 | 京东方科技集团股份有限公司 | Display device and display regulation method thereof |
CN105138942A (en) * | 2015-08-26 | 2015-12-09 | 小米科技有限责任公司 | Two-dimensional code display method and device |
CN105611153A (en) * | 2015-12-21 | 2016-05-25 | 联想(北京)有限公司 | Image processing method and electronic device |
CN205721623U (en) * | 2016-03-01 | 2016-11-23 | 上海光巢信息技术有限公司 | Intelligent interactive system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846663A (en) * | 2018-06-21 | 2018-11-20 | 维沃移动通信有限公司 | A kind of two dimensional code method of adjustment, device and mobile terminal |
CN109214810A (en) * | 2018-07-25 | 2019-01-15 | 努比亚技术有限公司 | A kind of two-dimensional code display method, mobile terminal and computer readable storage medium |
CN109521981A (en) * | 2018-10-31 | 2019-03-26 | 维沃移动通信有限公司 | A kind of graphic code display methods and terminal |
CN109521981B (en) * | 2018-10-31 | 2022-02-01 | 维沃移动通信有限公司 | Graphic code display method and terminal |
CN109409164A (en) * | 2018-11-20 | 2019-03-01 | 普联技术有限公司 | Scan image display adjusting method, device and electronic equipment |
CN109766070A (en) * | 2019-01-31 | 2019-05-17 | 网易(杭州)网络有限公司 | Display control method and device in a kind of mobile terminal |
CN112000218A (en) * | 2019-05-27 | 2020-11-27 | 北京京东尚科信息技术有限公司 | Object display method and device |
CN110597561A (en) * | 2019-09-09 | 2019-12-20 | 上海赛连信息科技有限公司 | Method, medium and device for displaying identification and computing equipment |
CN110705329A (en) * | 2019-09-30 | 2020-01-17 | 联想(北京)有限公司 | Processing method and device and electronic equipment |
CN110705329B (en) * | 2019-09-30 | 2021-09-14 | 联想(北京)有限公司 | Processing method and device and electronic equipment |
CN111813304A (en) * | 2020-06-12 | 2020-10-23 | 维沃移动通信有限公司 | Image display method and device |
CN113255389A (en) * | 2020-12-18 | 2021-08-13 | 深圳怡化电脑股份有限公司 | Image recognition method and device, electronic equipment and storage medium |
CN114928844A (en) * | 2021-02-11 | 2022-08-19 | 通用汽车环球科技运作有限责任公司 | Method, system and equipment for realizing vehicle-mounted pairing algorithm by using QR (quick response) code |
CN113298212A (en) * | 2021-05-25 | 2021-08-24 | 艾酷软件技术(上海)有限公司 | Graphic code display method and device |
CN113298212B (en) * | 2021-05-25 | 2024-08-23 | 艾酷软件技术(上海)有限公司 | Graphic code display method and device |
CN113673652A (en) * | 2021-08-12 | 2021-11-19 | 维沃软件技术有限公司 | Two-dimensional code display method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108154058B (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108154058A (en) | Graphic code displaying, the band of position determine method and device | |
CN109064545B (en) | Method and device for data acquisition and model generation of house | |
KR101899877B1 (en) | Apparatus and method for improving quality of enlarged image | |
CN108286945B (en) | Three-dimensional scanning system and method based on visual feedback | |
CN109525674B (en) | System and method for making house panorama | |
CN105320695B (en) | Picture processing method and device | |
US20140092272A1 (en) | Apparatus and method for capturing multi-focus image using continuous auto focus | |
CN101689292A (en) | The BANANA codec | |
JP2013162487A (en) | Image display apparatus and imaging apparatus | |
CN105812643A (en) | Puzzle processing method and device | |
CN104735348A (en) | Double-camera photographing method and system | |
JP2019179382A (en) | Information processing program, information processing method and information processing system | |
CN104836957A (en) | Photo shooting processing method and device | |
CN110662015A (en) | Method and apparatus for displaying image | |
TWI556651B (en) | 3d video surveillance system capable of automatic camera dispatching function, and surveillance method for using the same | |
CN108898680B (en) | A kind of method and device automatically correcting interception picture in virtual three-dimensional space | |
CN114449303A (en) | Live broadcast picture generation method and device, storage medium and electronic device | |
CN112449108B (en) | Non-transitory computer readable medium and image processing system | |
US11600027B2 (en) | Augmented reality system and method for substrates, coated articles, insulating glass units, and/or the like | |
CN114007056A (en) | A method and device for generating a stereoscopic panoramic image | |
US9542720B2 (en) | Terminal device, image display method, and storage medium | |
US20090135244A1 (en) | Method for capturing convergent-type multi-view image | |
CN105338261A (en) | Method and device for transmitting image-related information | |
CN114866749B (en) | Setting method and recording medium | |
CN108366197A (en) | Image modeling method and panoramic shooting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |