CN106845311A - A kind of reading method and device of figure Quick Response Code - Google Patents

A kind of reading method and device of figure Quick Response Code Download PDF

Info

Publication number
CN106845311A
CN106845311A CN201611035667.0A CN201611035667A CN106845311A CN 106845311 A CN106845311 A CN 106845311A CN 201611035667 A CN201611035667 A CN 201611035667A CN 106845311 A CN106845311 A CN 106845311A
Authority
CN
China
Prior art keywords
quick response
response code
scanning area
touch screen
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.)
Pending
Application number
CN201611035667.0A
Other languages
Chinese (zh)
Inventor
于学东
王勇
韦俊康
林斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JILIN TONGCHENG TECHNOLOGY Co Ltd
Beijing D9ing Information Engineering Research Institute Co Ltd
Original Assignee
JILIN TONGCHENG TECHNOLOGY Co Ltd
Beijing D9ing Information Engineering Research Institute Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by JILIN TONGCHENG TECHNOLOGY Co Ltd, Beijing D9ing Information Engineering Research Institute Co Ltd filed Critical JILIN TONGCHENG TECHNOLOGY Co Ltd
Priority to CN201611035667.0A priority Critical patent/CN106845311A/en
Publication of CN106845311A publication Critical patent/CN106845311A/en
Priority to PCT/CN2017/110147 priority patent/WO2018086555A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention discloses a kind of reading method and device of figure Quick Response Code, the electronic equipment with Touch screen is applied to, methods described includes:Recognition interface is shown in the Touch screen, drag gesture of the user to figure Quick Response Code is detected by the Touch screen, and respond detected drag gesture, the movement figure Quick Response Code, after user is detected to the release gesture of the figure Quick Response Code, judge whether the figure Quick Response Code enters scanning area, if it is, distinguishing the figure Quick Response Code and the content distinguished out being shown in the Touch screen.It can be seen that, during figure two dimension code reading, electronic equipment can distinguish the figure Quick Response Code shown in Touch screen itself, and user need not be scanned using another equipment to the figure Quick Response Code, and operation is very simple and convenient, and Consumer's Experience is comfortable.

Description

A kind of reading method and device of figure Quick Response Code
Technical field
The present invention relates to figure Quick Response Code process field, the more particularly to a kind of reading method and dress of figure Quick Response Code Put.
Background technology
Figure Quick Response Code (2-dimensional bar code) is existed according to certain rules with certain specific geometric figure The figure of the chequered with black and white graphic recording data symbol information of plane (on two-dimensional directional) distribution.At present in figure Quick Response Code skill Art research aspect has been developed that various code systems, common are PDF417, QR Code, Code 49 etc..In daily life, figure The use of Quick Response Code is more and more extensive, such as the occasions such as good friend are added in payment transaction debt, social software important answering With.
In the prior art, it is necessary to distinguish figure two dimension by recognizing apparatus such as image input device or photoelectric scanning devices Code, the most frequently used is the smart mobile phone with camera.During recognition, user opens certain has figure Quick Response Code solution After the client of code function, figure Quick Response Code is scanned with camera just can distinguish the figure Quick Response Code.
But, when figure Quick Response Code is distinguished, if figure Quick Response Code is displayed on recognizing apparatus, user can only be by another One recognizing apparatus distinguishes the figure Quick Response Code, very inconvenient.For example, certain figure Quick Response Code is displayed in the mobile phone of user On, user wants to obtain the information that the figure Quick Response Code is included, then be accomplished by using another mobile phone on oneself mobile phone The figure Quick Response Code of display is scanned, and such operation is clearly troublesome, and Consumer's Experience is not good.
The content of the invention
The embodiment of the invention discloses a kind of reading method and device of figure Quick Response Code, it is used to solve existing figure two dimension Cumbersome, the not good problem of Consumer's Experience that code recognition process is present.Technical scheme is as follows:
In a first aspect, the embodiment of the invention provides a kind of reading method of figure Quick Response Code, it is applied to touch-screen The electronic equipment of curtain, methods described includes:
Recognition interface is shown in the Touch screen, wherein, the recognition interface includes the figure related to interface content Shape Quick Response Code and scanning area;
Drag gesture of the user to the figure Quick Response Code is detected by the Touch screen, and responds detected dragging Start gesture, the movement figure Quick Response Code;
After user is detected to the release gesture of the figure Quick Response Code, judge whether the figure Quick Response Code enters institute State scanning area;
If it is, distinguish the figure Quick Response Code and the content distinguished out is shown in the Touch screen, wherein, institute State the content distinguished out related to the interface content.
Optionally, the step of drag gesture detected by the response, mobile figure Quick Response Code, including:
The dragging point of the drag gesture is recorded, wherein, the dragging point is user to the touch point of the Touch screen;
According to the track that the dragging point is formed, the movement figure Quick Response Code.
Optionally, it is described judge the figure Quick Response Code whether enter the scanning area the step of, including:
The distance of the first preset and the second preset in the scanning area in the figure Quick Response Code is calculated, and is judged Whether the distance is not more than the first predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;If It is no, determine that the figure Quick Response Code is introduced into the scanning area;
Or,
The area of the figure Quick Response Code and the intersection of the scanning area is calculated, and judges whether the area is big In the second predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;If not, determining the figure Quick Response Code is introduced into the scanning area.
Optionally, it is described to distinguish the figure Quick Response Code and the step of the content distinguished out is shown in the Touch screen Suddenly, including:
The figure Quick Response Code is shown in the predeterminated position of the scanning area, so that the figure Quick Response Code shows completely In the scanning area;
The figure Quick Response Code is scanned, and the figure Quick Response Code for scanning is carried out according to the decoding data storehouse for pre-setting Decoding, obtains decoded result, and the corresponding content of the decoded result is shown in the Touch screen.
Optionally, methods described also includes:
When the figure Quick Response Code is introduced into the scanning area, the figure Quick Response Code is shown in initial position, Wherein, the initial position is position shown before the figure Quick Response Code is moved.
Second aspect, the embodiment of the present invention additionally provides a kind of reading device of figure Quick Response Code, is applied to have touch The electronic equipment of screen, described device includes:
Display module, for showing recognition interface in the Touch screen, wherein, the recognition interface includes and interface The related figure Quick Response Code of content and scanning area;
Mobile module, for detecting drag gesture of the user to the figure Quick Response Code by the Touch screen, and rings Answer detected drag gesture, the movement figure Quick Response Code;
Judge module, for after user is detected to the release gesture of the figure Quick Response Code, judging the figure two Whether dimension code enters the scanning area;
Recognition module, for when the figure Quick Response Code enters the scanning area, distinguishing the figure Quick Response Code simultaneously The content distinguished out is shown in the Touch screen, wherein, the content distinguished out is related to the interface content.
Optionally, the mobile module includes:
Recording unit, the dragging point for recording the drag gesture, wherein, the dragging point is user to the touch The touch point of screen;
Mobile unit, for the track formed according to the dragging point, the movement figure Quick Response Code.
Optionally, the judge module includes:
First judging unit, it is pre- for calculating in the figure Quick Response Code in the first preset and the scanning area second The distance for setting up an office, and judge whether the distance is not more than the first predetermined threshold value, if it is, determining that the figure Quick Response Code enters The scanning area;If not, determining that the figure Quick Response Code is introduced into the scanning area;
Or,
Second judging unit, the area for calculating the figure Quick Response Code and the intersection of the scanning area, and Whether the area is judged more than the second predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;Such as It is really no, determine that the figure Quick Response Code is introduced into the scanning area.
Optionally, the recognition module includes:
Display unit, for showing the figure Quick Response Code in the predeterminated position of the scanning area, so that the figure Quick Response Code is fully displayed in the scanning area;
Scanning element, for scanning the figure Quick Response Code, and according to the decoding data storehouse for pre-setting to scanning Figure Quick Response Code is decoded, and obtains decoded result, and the corresponding content of the decoded result is shown in the Touch screen.
Optionally, described device also includes:
Recovery module, for when the figure Quick Response Code is introduced into the scanning area, the figure Quick Response Code being shown Initial position is shown in, wherein, the initial position is position shown before the figure Quick Response Code is moved.
In this programme, recognition interface is shown in Touch screen first, detect user to figure two by the Touch screen The drag gesture of code is tieed up, and responds detected drag gesture, mobile graphics Quick Response Code, when detecting to figure Quick Response Code After release gesture, judge whether figure Quick Response Code enters scanning area, if it is, distinguishing figure Quick Response Code and in Touch screen It is upper to show the content distinguished out.It can be seen that, during figure two dimension code reading, electronic equipment can distinguish Touch screen itself The figure Quick Response Code of upper display, user need not be scanned using another equipment to the figure Quick Response Code, be operated very simple Just, Consumer's Experience is comfortable for folk prescription.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
A kind of flow chart of the reading method of figure Quick Response Code that Fig. 1 is provided by the embodiment of the present invention;
A kind of schematic diagram at recognition interface that Fig. 2 is provided by the embodiment of the present invention;
The schematic diagram at interface during a kind of scanning patter Quick Response Code that Fig. 3 is provided by the embodiment of the present invention;
A kind of structural representation of the reading device of figure Quick Response Code that Fig. 4 is provided by the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In order to the user for simplifying figure two dimension code reading process operates, Consumer's Experience is improved, the embodiment of the invention provides A kind of reading method and device of figure Quick Response Code.
Firstly the need of explanation, the reading method and device of a kind of figure Quick Response Code that the embodiment of the present invention is provided can To be applied to the electronic equipment with Touch screen, wherein, the electronic equipment can be the smart mobile phone with Touch screen, put down The electronic equipments such as plate computer, computer.
A kind of reading method of the figure Quick Response Code for being provided the embodiment of the present invention first below is introduced.
As shown in figure 1, a kind of reading method of figure Quick Response Code, is applied to the electronic equipment with Touch screen, it is described Method is comprised the following steps:
S101, shows recognition interface in the Touch screen;
Generally, after electronic equipment obtains the instruction on opening recognition interface that user sends, just can be Recognition interface is shown in Touch screen, and then, subsequent user then can send operating gesture on the recognition interface, for example, dragging Start gesture, release gesture, click on gesture etc., and electronic equipment then can be by the operating gesture of recognition Interface detection user.
It is understood that user by pressing certain pre-set button on electronic equipment, or can click on electronics and set The above-mentioned instruction on opening recognition interface is sent for modes such as the default application programs or pre-set button in Touch screen. Certainly, have for some and receive voice command function electronic equipment, user can also send this on opening by voice The instruction at interface is distinguished, is not specifically limited herein.
Specifically, the recognition interface can include the figure Quick Response Code and scanning area related to interface content.Wherein, boundary Face content can be the arbitrary contents such as word, picture;Figure Quick Response Code can be QR yard, the random two-dimensional such as nine yards of ancient cooking vessel yard;Scanning Region is then used to scan the figure Quick Response Code.A kind of schematic diagram at recognition interface that Fig. 2 is provided by the embodiment of the present invention, is symbol The drag operation custom at family is shared, facilitates subsequent user to the drag operation of figure Quick Response Code 210, figure Quick Response Code 210 can be with Recognition interface top is shown in, scanning area 220 can be shown in recognition interface lower section.
S102, user is detected to the drag gesture of the figure Quick Response Code by the Touch screen, and is responded and detected The drag gesture for arriving, the movement figure Quick Response Code;
User can be operated by Touch screen to above-mentioned figure Quick Response Code, for example, user can pin the figure Quick Response Code, and drag the figure Quick Response Code.When user is dragged by Touch screen to figure Quick Response Code, electronic equipment is just The drag gesture of user can be detected by the Touch screen.And then, the detected drag gesture of response, the mobile figure Quick Response Code.
Used as a kind of implementation method of the embodiment of the present invention, the detected drag gesture of electronic equipment response is mobile to be somebody's turn to do The mode of figure Quick Response Code may comprise steps of:
Record the dragging point of the drag gesture;
According to the track that the dragging point is formed, the movement figure Quick Response Code.
Wherein, above-mentioned dragging point be user to electronic device touchscreen curtain touch point, generally user's finger with touch Touch the contact point of screen.During above-mentioned figure Quick Response Code is dragged, electronic equipment records user to Touch screen to user Touch point, the touch point can form a track, and electronic equipment can move the figure Quick Response Code according to the track, that is, Say, electronic equipment can make the figure Quick Response Code follow the movement of user's finger and change position.User can be so facilitated to see The figure Quick Response Code present position is examined, so that user determines when to stop dragging the figure Quick Response Code, while visual effect Also better appearance.
Whether S103, after user is detected to the release gesture of the figure Quick Response Code, judge the figure Quick Response Code Into the scanning area, if it is, performing step S104;
During user moves above-mentioned figure Quick Response Code, electronic equipment can be by Touch screen real-time detection user Operating gesture, when electronic equipment detects user to the release gesture of the figure Quick Response Code, show that user has completed right The drag operation of the figure Quick Response Code, then electronic equipment then may determine that whether the figure Quick Response Code enters scanning area, with Continue after an action of the bowels and the figure Quick Response Code is scanned.
Wherein, above-mentioned release gesture is typically user's stopping drag operation, and finger is lifted from Touch screen, that is, Say, user does not contact with Touch screen, no longer pin above-mentioned figure Quick Response Code.This understands it is consistent with common.
Used as a kind of implementation method of the embodiment of the present invention, judging whether figure Quick Response Code enters the mode of scanning area can Think:
The distance of the first preset and the second preset in the scanning area in the figure Quick Response Code is calculated, and is judged Whether the distance is not more than the first predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;If It is no, determine that the figure Quick Response Code is introduced into the scanning area.
Wherein, above-mentioned first preset can be any point in figure Quick Response Code, be not specifically limited herein.Typically In the case of, if the figure Quick Response Code is rectangle, can be using the two of rectangle cornerwise intersection points as first preset; If the figure Quick Response Code is circle, can be using the circular center of circle as first preset.
Likewise, above-mentioned second preset can also be any point in scanning area, it is not specifically limited herein.Example Such as, if the scanning area is rectangle, can be using the two of rectangle cornerwise intersection points as second preset;If should Scanning area is circle, then can be using the circular center of circle as second preset.
Above-mentioned first predetermined threshold value can be by those skilled in the art according to size of figure Quick Response Code and scanning area etc. Factor determines, is not specifically limited herein, for example, can be 0.5 centimetre, 1 centimetre, 1.5 centimetres etc..
It is understood that when in figure Quick Response Code the first preset it is little with the distance of the second preset in scanning area When the first predetermined threshold value, in illustrating that the figure Quick Response Code major part comes into the scanning area, now user is likely to need The figure Quick Response Code is distinguished, recognition result is checked, then just it is considered that the figure Quick Response Code enters the scanning area.
And the first preset presets threshold more than first with the distance of the second preset in scanning area in working as figure Quick Response Code During value, illustrate that the figure Quick Response Code only fraction enters the scanning area, or do not enter into the scanning area completely, that Explanation user is probably a maloperation to the drag operation of the figure Quick Response Code, and user simultaneously need not distinguish figure two dimension Code, so, just can now determine that the figure Quick Response Code is introduced into the scanning area, subsequently also avoid the need for the figure certainly Quick Response Code carries out read operation.
As the another embodiment of the embodiment of the present invention, judge whether figure Quick Response Code enters and retouch the mode in region also Can be:
The area of the figure Quick Response Code and the intersection of the scanning area is calculated, and judges whether the area is big In the second predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;If not, determining the figure Quick Response Code is introduced into the scanning area.
It should be noted that above-mentioned second predetermined threshold value can be by those skilled in the art according to figure Quick Response Code and scanning The factors such as the size in region determine, are not specifically limited herein, for example, can be 3 square centimeters, 4 square centimeters, 5 squares lis Rice etc..
The degree that overlaps of the two, institute can be illustrated with the size of the intersection of scanning area due to figure Quick Response Code Can also determine whether figure Quick Response Code enters scanning area by the size of the area.Specifically, when figure two dimension When code is more than the second predetermined threshold value with the area of scanning area intersection, illustrate that the figure Quick Response Code major part comes into this In scanning area, now user is likely to require and distinguishes the figure Quick Response Code, checks recognition result, then just it is considered that the figure Shape Quick Response Code enters the scanning area.
And when the area of figure Quick Response Code and scanning area intersection is less than the second predetermined threshold value, illustrate the figure two Dimension code only has fraction to enter the scanning area, or does not enter into the scanning area completely, then now user is to the figure The drag operation of shape Quick Response Code is probably a maloperation, and user simultaneously need not distinguish the figure Quick Response Code, so, now just may be used To determine that the figure Quick Response Code is introduced into the scanning area, subsequently also avoid the need for carrying out recognition behaviour to the figure Quick Response Code certainly Make.
S104, distinguishes the figure Quick Response Code and the content distinguished out is shown in the Touch screen.
After it is determined that figure Quick Response Code enters scanning area, electronic equipment just can be distinguished to the figure Quick Response Code, Then the content that will be distinguished out includes in Touch screen, so that user watches, or is further operated.
Generally, the above-mentioned content distinguished out is related to interface content, as shown in Figures 2 and 3, is distinguished The content for going out is usually and interface content i.e. " Zhang Bichen《Time pen and ink》MV " etc. related content, for example, it may be possible to be on《When Light pen and ink》The picture of MV,《Time pen and ink》The contents such as MV videos.And then, user then can be by the operation viewing such as click, slip The content distinguished out.Certainly, electronic equipment directly can also watch the content displaying that this is distinguished out to user, for example, can Directly to play《Time pen and ink》MV videos etc..
As a kind of implementation method of the embodiment of the present invention, distinguish figure Quick Response Code and shown in Touch screen and distinguished The mode of the content for going out may comprise steps of:
The figure Quick Response Code is shown in the predeterminated position of the scanning area, so that the figure Quick Response Code shows completely In the scanning area;
The figure Quick Response Code is scanned, and the figure Quick Response Code for scanning is carried out according to the decoding data storehouse for pre-setting Decoding, obtains decoded result, and the corresponding content of the decoded result is shown in the Touch screen.
In order to avoid the problem for occurring that figure Quick Response Code cannot be distinguished, while ensure to distinguish the accurate of result, when judging After figure Quick Response Code comes into scanning area, typically the figure Quick Response Code can be included the predeterminated position in scanning area, So that the figure Quick Response Code is fully displayed in the scanning area.It is understood that the predeterminated position typically can be scanning The center (as shown in Figure 3) in region, naturally it is also possible to be the other positions of scanning area, as long as figure two dimension can be made Code is fully displayed in the scanning area, and the figure Quick Response Code can be scanned, and does not influence scanning result, herein not It is specifically limited.
After the predeterminated position display figure Quick Response Code of scanning area, just the figure Quick Response Code can be scanned, had Body, electronic equipment can be decoded according to the decoding data storehouse for pre-setting to the figure Quick Response Code for scanning, and be solved Code result, and the content that the corresponding content of decoded result is distinguished out is shown in Touch screen.In addition, it is necessary to emphasize It is that in the embodiment of the present invention, the generating mode of scanning area can use the generating mode of any one scan box in the prior art, Also, the process of figure Quick Response Code of the scanning in scanning area can also be prior art.
It should be noted that the above-mentioned decoding data storehouse for pre-setting can be decoding corresponding with figure two dimension code type Database.For example, if the figure Quick Response Code is nine yards of ancient cooking vessel, then the decoding data storehouse that this pre-sets just is can be right Nine yards of databases for being decoded of ancient cooking vessel;If the figure Quick Response Code is QR yards, then the decoding data storehouse that this pre-sets just is Can be to the QR yards of database for being decoded.Further, in order that electronic equipment can be to any type of figure Quick Response Code Distinguished, the decoding data storehouse that this pre-sets can also include the corresponding decoding data of various types of figure Quick Response Codes, It is not specifically limited herein.
Explanation is needed further exist for, the decoding data storehouse that this pre-sets can be set in the electronic device, in order to subtract Few occupancy to electronic equipment internal memory, improves the electronic equipment speed of service, it is also possible to set the decoding data storehouse for pre-setting Put in the server for setting up communication connection with electronic equipment.It is understood that electronic equipment can be have with the server The connected mode such as line connection or wireless connection, wherein, wireless connection can be WIFI connections or bluetooth connection etc., do not do have herein Body is limited.
During recognition, if the decoding data lab setting for pre-setting is local in electronic equipment, electronic equipment then may be used The figure Quick Response Code is decoded with the decoding data storehouse for calling this to pre-set, obtains corresponding decoded result, and touching Touch the content for showing that the corresponding content of decoded result is distinguished out on screen.
If in the server for setting up communication connection with electronic equipment, electronics sets the decoding data lab setting for pre-setting Figure Quick Response Code that is standby then will can scanning sends the decoding data storehouse pre-set to this, the decoding data for pre-setting Storehouse is decoded to the figure Quick Response Code for receiving, and then obtains decoded result, and the decoded result is sent to electricity Sub- equipment, after electronic equipment receives the decoded result, just can show the corresponding content of decoded result i.e. in Touch screen The content distinguished out.
The mode that the above-mentioned decoding data storehouse for pre-setting is decoded to figure Quick Response Code, can use existing Anticipate a kind of decoding process, as long as can be decoded to figure Quick Response Code, obtain accurate decoded result, herein not Illustrate and limit.
It can be seen that, in the scheme that the present embodiment is provided, electronic equipment shows recognition interface in Touch screen first, passes through The Touch screen detects drag gesture of the user to figure Quick Response Code, and responds detected drag gesture, mobile graphics two Dimension code, after the release gesture to figure Quick Response Code is detected, judges whether figure Quick Response Code enters scanning area, if it is, Then distinguish figure Quick Response Code and the content distinguished out is shown in Touch screen.Due to during figure two dimension code reading, Electronic equipment can distinguish the figure Quick Response Code shown in Touch screen itself, and user need not be using another equipment to the figure Shape Quick Response Code is scanned, and operation is very simple and convenient, and Consumer's Experience is comfortable.
Used as a kind of implementation method of the embodiment of the present invention, the above method can also include:
When the figure Quick Response Code is introduced into the scanning area, the figure Quick Response Code is shown in initial position. Wherein, initial position is position shown before figure Quick Response Code is moved.
If in step s 103, determining that above-mentioned figure Quick Response Code is introduced into scanning area, illustrate that now user need not Distinguish the figure Quick Response Code, then user's drag operation next time for convenience, the figure Quick Response Code can be shown in just Beginning position, that is, the position in step S101 shown by the figure Quick Response Code, rather than including the Quick Response Code detecting Dragging point position during user's release gesture, can so avoid interface from occurring chaotic, and influence beautiful interface and user watch boundary Face.
For example, if as shown in figure 3, determine that above-mentioned figure Quick Response Code is introduced into scanning area in step s 103, The figure Quick Response Code can just be included in initial position 230.
Although it should be noted that occurring in that shape, type, the position of figure Quick Response Code and scanning area in Fig. 2 and Fig. 3 Put, but the shape of figure Quick Response Code and scanning area shown in Fig. 2 and Fig. 3, type, position are the embodiment of the present invention A kind of feasible program, can not constitute the restriction of the figure Quick Response Code and scanning area that are provided the embodiment of the present invention.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of reading device of figure Quick Response Code, under A kind of reading device of the figure Quick Response Code provided in face of the embodiment of the present invention is introduced.
As shown in figure 4, a kind of reading device of figure Quick Response Code, is applied to the electronic equipment with Touch screen, it is described Device includes:
Display module 410, for showing recognition interface in the Touch screen;
Wherein, the recognition interface includes the figure Quick Response Code and scanning area related to interface content.
Mobile module 420, for detecting drag gesture of the user to the figure Quick Response Code by the Touch screen, and The detected drag gesture of response, the movement figure Quick Response Code;
Judge module 430, for after user is detected to the release gesture of the figure Quick Response Code, judging the figure Whether Quick Response Code enters the scanning area;
Recognition module 440, for when the figure Quick Response Code enters the scanning area, distinguishing the figure Quick Response Code And the content distinguished out is shown in the Touch screen.
Wherein, the content distinguished out is related to the interface content.
It can be seen that, in the scheme that the present embodiment is provided, electronic equipment shows recognition interface in Touch screen first, passes through The Touch screen detects drag gesture of the user to figure Quick Response Code, and responds detected drag gesture, mobile graphics two Dimension code, after the release gesture to figure Quick Response Code is detected, judges whether figure Quick Response Code enters scanning area, if it is, Then distinguish figure Quick Response Code and the content distinguished out is shown in Touch screen.Due to during figure two dimension code reading, Electronic equipment can distinguish the figure Quick Response Code shown in Touch screen itself, and user need not be using another equipment to the figure Shape Quick Response Code is scanned, and operation is very simple and convenient, and Consumer's Experience is comfortable.
Used as a kind of implementation method of the embodiment of the present invention, the mobile module 420 can include:
Recording unit (not shown), the dragging point for recording the drag gesture, wherein, the dragging point is use Touch point of the family to the Touch screen;
Mobile unit (not shown), for the track formed according to the dragging point, the movement figure Quick Response Code.
Used as a kind of implementation method of the embodiment of the present invention, the judge module 430 can include:
First judging unit (not shown), for calculating the first preset and the scanning in the figure Quick Response Code The distance of the second preset in region, and judge whether the distance is not more than the first predetermined threshold value, if it is, determining the figure Shape Quick Response Code enters the scanning area;If not, determining that the figure Quick Response Code is introduced into the scanning area;
Or,
Second judging unit (not shown), the coincidence part for calculating the figure Quick Response Code and the scanning area The area for dividing, and whether the area is judged more than the second predetermined threshold value, if it is, it is described to determine that the figure Quick Response Code enters Scanning area;If not, determining that the figure Quick Response Code is introduced into the scanning area.
Used as a kind of implementation method of the embodiment of the present invention, the recognition module 440 can include:
Display unit (not shown), for showing the figure Quick Response Code in the predeterminated position of the scanning area, So that the figure Quick Response Code is fully displayed in the scanning area;
Scanning element (not shown), for scanning the figure Quick Response Code, and according to the decoding data for pre-setting Storehouse is decoded to the figure Quick Response Code for scanning, and obtains decoded result, and the decoding knot is shown in the Touch screen Really corresponding content.
Used as a kind of implementation method of the embodiment of the present invention, described device can also include:
Recovery module (not shown), for when the figure Quick Response Code is introduced into the scanning area, by described in Figure Quick Response Code is shown in initial position, wherein, the initial position is shown before the figure Quick Response Code is moved Position.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device reality Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
One of ordinary skill in the art will appreciate that realize that all or part of step in above method implementation method is can Completed with instructing the hardware of correlation by program, described program can be stored in computer read/write memory medium, The storage medium for obtaining designated herein, such as:ROM/RAM, magnetic disc, CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of reading method of figure Quick Response Code, it is characterised in that be applied to the electronic equipment with Touch screen, the side Method includes:
Recognition interface is shown in the Touch screen, wherein, the recognition interface includes the figure two related to interface content Dimension code and scanning area;
Drag gesture of the user to the figure Quick Response Code is detected by the Touch screen, and responds detected dragging hand Gesture, the movement figure Quick Response Code;
After user is detected to the release gesture of the figure Quick Response Code, judge whether the figure Quick Response Code is swept described in entering Retouch region;
If it is, distinguish the figure Quick Response Code and the content distinguished out is shown in the Touch screen, wherein, the institute The content distinguished out is related to the interface content.
2. the method for claim 1, it is characterised in that the drag gesture detected by the response, the movement figure The step of shape Quick Response Code, including:
The dragging point of the drag gesture is recorded, wherein, the dragging point is user to the touch point of the Touch screen;
According to the track that the dragging point is formed, the movement figure Quick Response Code.
3. the method for claim 1, it is characterised in that described to judge whether the figure Quick Response Code enters the scanning The step of region, including:
The distance of the first preset and the second preset in the scanning area in the figure Quick Response Code is calculated, and judges described Whether distance is not more than the first predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;If not, Determine that the figure Quick Response Code is introduced into the scanning area;
Or,
The area of the figure Quick Response Code and the intersection of the scanning area is calculated, and judges the area whether more than the Two predetermined threshold values, if it is, determining that the figure Quick Response Code enters the scanning area;If not, determining the figure two dimension Code is introduced into the scanning area.
4. the method for claim 1, it is characterised in that the recognition figure Quick Response Code and in the Touch screen The step of content that upper display is distinguished out, including:
The figure Quick Response Code is shown in the predeterminated position of the scanning area, so that the figure Quick Response Code is fully displayed at institute In stating scanning area;
The figure Quick Response Code is scanned, and the figure Quick Response Code for scanning is solved according to the decoding data storehouse for pre-setting Code, obtains decoded result, and the corresponding content of the decoded result is shown in the Touch screen.
5. the method as described in claim any one of 1-4, it is characterised in that methods described also includes:
When the figure Quick Response Code is introduced into the scanning area, the figure Quick Response Code is shown in initial position, wherein, The initial position is position shown before the figure Quick Response Code is moved.
6. a kind of reading device of figure Quick Response Code, it is characterised in that be applied to the electronic equipment with Touch screen, the dress Put including:
Display module, for showing recognition interface in the Touch screen, wherein, the recognition interface includes and interface content Related figure Quick Response Code and scanning area;
Mobile module, for detecting drag gesture of the user to the figure Quick Response Code by the Touch screen, and responds institute The drag gesture for detecting, the movement figure Quick Response Code;
Judge module, for after user is detected to the release gesture of the figure Quick Response Code, judging the figure Quick Response Code Whether the scanning area is entered;
Recognition module, for when the figure Quick Response Code enters the scanning area, distinguishing the figure Quick Response Code and in institute The content for being shown in Touch screen and being distinguished out is stated, wherein, the content distinguished out is related to the interface content.
7. device as claimed in claim 6, it is characterised in that the mobile module includes:
Recording unit, the dragging point for recording the drag gesture, wherein, the dragging point is user to the Touch screen Touch point;
Mobile unit, for the track formed according to the dragging point, the movement figure Quick Response Code.
8. device as claimed in claim 6, it is characterised in that the judge module includes:
First judging unit, for calculating the first preset and the second preset in the scanning area in the figure Quick Response Code Distance, and judge whether the distance is not more than the first predetermined threshold value, if it is, it is described to determine that the figure Quick Response Code enters Scanning area;If not, determining that the figure Quick Response Code is introduced into the scanning area;
Or,
Second judging unit, for calculating the area of the figure Quick Response Code and the intersection of the scanning area, and judges Whether the area is more than the second predetermined threshold value, if it is, determining that the figure Quick Response Code enters the scanning area;If It is no, determine that the figure Quick Response Code is introduced into the scanning area.
9. device as claimed in claim 6, it is characterised in that the recognition module includes:
Display unit, for showing the figure Quick Response Code in the predeterminated position of the scanning area, so that the figure is two-dimentional Code is fully displayed in the scanning area;
Scanning element, for scanning the figure Quick Response Code, and according to the decoding data storehouse for pre-setting to the figure that scans Quick Response Code is decoded, and obtains decoded result, and the corresponding content of the decoded result is shown in the Touch screen.
10. the device as described in claim any one of 6-9, it is characterised in that described device also includes:
Recovery module, for when the figure Quick Response Code is introduced into the scanning area, the figure Quick Response Code being shown in Initial position, wherein, the initial position is position shown before the figure Quick Response Code is moved.
CN201611035667.0A 2016-11-09 2016-11-09 A kind of reading method and device of figure Quick Response Code Pending CN106845311A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611035667.0A CN106845311A (en) 2016-11-09 2016-11-09 A kind of reading method and device of figure Quick Response Code
PCT/CN2017/110147 WO2018086555A1 (en) 2016-11-09 2017-11-09 Graphic two-dimensional code reading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611035667.0A CN106845311A (en) 2016-11-09 2016-11-09 A kind of reading method and device of figure Quick Response Code

Publications (1)

Publication Number Publication Date
CN106845311A true CN106845311A (en) 2017-06-13

Family

ID=59146375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611035667.0A Pending CN106845311A (en) 2016-11-09 2016-11-09 A kind of reading method and device of figure Quick Response Code

Country Status (2)

Country Link
CN (1) CN106845311A (en)
WO (1) WO2018086555A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122695A (en) * 2017-06-16 2017-09-01 北京鼎九信息工程研究院有限公司 A kind of image scanning apparatus
WO2018086555A1 (en) * 2016-11-09 2018-05-17 北京鼎九信息工程研究院有限公司 Graphic two-dimensional code reading method and apparatus
CN111026464A (en) * 2019-11-06 2020-04-17 维沃移动通信有限公司 Identification method and electronic equipment
CN111091016A (en) * 2018-10-23 2020-05-01 北京鼎九信息工程研究院有限公司 Ding nine code reading method and device and mobile terminal
US10789519B1 (en) 2019-05-24 2020-09-29 Alibaba Group Holding Limited Scanning interface display
WO2020238249A1 (en) * 2019-05-24 2020-12-03 创新先进技术有限公司 Display method, apparatus and device for interactive interface
CN112800802A (en) * 2018-03-23 2021-05-14 西安艾润物联网技术服务有限责任公司 Reserved vehicle taking method and device for stereo garage and computer readable storage medium
CN113518143A (en) * 2021-03-25 2021-10-19 维沃移动通信有限公司 Interface input source switching method and device and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109352306B (en) * 2018-10-19 2023-12-19 宁波均普智能制造股份有限公司 Assembling equipment for automobile control panel and control method thereof
CN114710751B (en) * 2022-06-08 2022-09-02 山东天用智能技术有限公司 Site code query method and linkage control system

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662574A (en) * 2012-03-28 2012-09-12 广东欧珀移动通信有限公司 Unlocking method of mobile phone touch screen
CN103218595A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Terminal and method for recognizing two-dimensional codes
CN103294388A (en) * 2012-02-24 2013-09-11 Lg电子株式会社 Mobile terminal and control method for the mobile terminal
CN103369125A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Speed-dial method and device for touch-screen mobile phone
US20140117075A1 (en) * 2012-10-26 2014-05-01 Lee S. Weinblatt Mobile Device-Based Electronic Payment Systems and Methods
CN104123520A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Two-dimensional code scanning method and device
CN104200185A (en) * 2014-08-04 2014-12-10 惠州Tcl移动通信有限公司 Method for identifying two-dimensional code and terminal
US20150090792A1 (en) * 2013-09-29 2015-04-02 Founder Mobile Media Technology (Beijing) Co., Ltd. System for decoding two dimensional code and method thereof
CN104516645A (en) * 2013-09-26 2015-04-15 上海斐讯数据通信技术有限公司 Electronic device unlocking method
CN104573608A (en) * 2015-01-23 2015-04-29 苏州海博智能系统有限公司 Coded message scanning method and device
CN104679525A (en) * 2015-03-18 2015-06-03 魅族科技(中国)有限公司 Two-dimensional code scanning method and system
CN104714720A (en) * 2014-12-30 2015-06-17 上海孩子国科教设备有限公司 Method for achieving self scanning and client terminal
CN105184203A (en) * 2015-06-29 2015-12-23 努比亚技术有限公司 Method and device for mobile terminal to scan two-dimension code
CN105989344A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Barcode recognition method and device
CN106021032A (en) * 2016-05-31 2016-10-12 宇龙计算机通信科技(深圳)有限公司 Data backup method, data backup device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845311A (en) * 2016-11-09 2017-06-13 北京鼎九信息工程研究院有限公司 A kind of reading method and device of figure Quick Response Code

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294388A (en) * 2012-02-24 2013-09-11 Lg电子株式会社 Mobile terminal and control method for the mobile terminal
CN102662574A (en) * 2012-03-28 2012-09-12 广东欧珀移动通信有限公司 Unlocking method of mobile phone touch screen
CN103369125A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Speed-dial method and device for touch-screen mobile phone
US20140117075A1 (en) * 2012-10-26 2014-05-01 Lee S. Weinblatt Mobile Device-Based Electronic Payment Systems and Methods
CN103218595A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Terminal and method for recognizing two-dimensional codes
CN104123520A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Two-dimensional code scanning method and device
CN104516645A (en) * 2013-09-26 2015-04-15 上海斐讯数据通信技术有限公司 Electronic device unlocking method
US20150090792A1 (en) * 2013-09-29 2015-04-02 Founder Mobile Media Technology (Beijing) Co., Ltd. System for decoding two dimensional code and method thereof
CN104200185A (en) * 2014-08-04 2014-12-10 惠州Tcl移动通信有限公司 Method for identifying two-dimensional code and terminal
CN104714720A (en) * 2014-12-30 2015-06-17 上海孩子国科教设备有限公司 Method for achieving self scanning and client terminal
CN104573608A (en) * 2015-01-23 2015-04-29 苏州海博智能系统有限公司 Coded message scanning method and device
CN105989344A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Barcode recognition method and device
CN104679525A (en) * 2015-03-18 2015-06-03 魅族科技(中国)有限公司 Two-dimensional code scanning method and system
CN105184203A (en) * 2015-06-29 2015-12-23 努比亚技术有限公司 Method and device for mobile terminal to scan two-dimension code
CN106021032A (en) * 2016-05-31 2016-10-12 宇龙计算机通信科技(深圳)有限公司 Data backup method, data backup device and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018086555A1 (en) * 2016-11-09 2018-05-17 北京鼎九信息工程研究院有限公司 Graphic two-dimensional code reading method and apparatus
CN107122695A (en) * 2017-06-16 2017-09-01 北京鼎九信息工程研究院有限公司 A kind of image scanning apparatus
CN107122695B (en) * 2017-06-16 2023-08-11 北京鼎九信息工程研究院有限公司 Image scanning equipment
CN112800802A (en) * 2018-03-23 2021-05-14 西安艾润物联网技术服务有限责任公司 Reserved vehicle taking method and device for stereo garage and computer readable storage medium
CN111091016A (en) * 2018-10-23 2020-05-01 北京鼎九信息工程研究院有限公司 Ding nine code reading method and device and mobile terminal
US10789519B1 (en) 2019-05-24 2020-09-29 Alibaba Group Holding Limited Scanning interface display
WO2020238249A1 (en) * 2019-05-24 2020-12-03 创新先进技术有限公司 Display method, apparatus and device for interactive interface
CN111026464A (en) * 2019-11-06 2020-04-17 维沃移动通信有限公司 Identification method and electronic equipment
CN113518143A (en) * 2021-03-25 2021-10-19 维沃移动通信有限公司 Interface input source switching method and device and electronic equipment
WO2022199614A1 (en) * 2021-03-25 2022-09-29 维沃移动通信有限公司 Interface input source switching method and apparatus, and electronic device
CN113518143B (en) * 2021-03-25 2023-08-22 维沃移动通信有限公司 Interface input source switching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2018086555A1 (en) 2018-05-17

Similar Documents

Publication Publication Date Title
CN106845311A (en) A kind of reading method and device of figure Quick Response Code
KR102447385B1 (en) User Interfaces for Transfer Accounts
JP7051756B2 (en) Devices, methods, and graphical user interfaces for managing simultaneously open software applications.
JP6379313B2 (en) User interface for loyalty and private label accounts
US20220237274A1 (en) Implementation of biometric authentication
US9164779B2 (en) Apparatus and method for providing for remote user interaction
RU2654145C2 (en) Information search method and device and computer readable recording medium thereof
US8842084B2 (en) Gesture-based object manipulation methods and devices
JP2019164826A (en) User interface for settlement
US8890825B2 (en) Apparatus and method for determining the position of user input
US20230019250A1 (en) User interfaces for authenticating to perform secure operations
US10182141B2 (en) Apparatus and method for providing transitions between screens
KR20180130013A (en) Intelligent presentation of documents
US8161403B2 (en) Returning passed objects in a surface based computing environment using a virtual bungee
US11409410B2 (en) User input interfaces
CN107993163A (en) A kind of meal ordering system
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
WO2022222672A1 (en) Multi-content parallel display method and apparatus, terminal, medium, and program product
KR102303206B1 (en) Method and apparatus for recognizing object of image in electronic device
CN110737882A (en) Electronic equipment and method for starting fingerprint under screen
US9626742B2 (en) Apparatus and method for providing transitions between screens
CN107656691A (en) A kind of display methods of sidebar, device, equipment and storage medium
CN105701383B (en) A kind of function triggering method, device and terminal
CN113485590A (en) Touch operation method and device
CN110007748B (en) Terminal control method, processing device, storage medium and terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication