CN108446579A - A kind of graphic code knows method for distinguishing and terminal - Google Patents
A kind of graphic code knows method for distinguishing and terminal Download PDFInfo
- Publication number
- CN108446579A CN108446579A CN201810214767.2A CN201810214767A CN108446579A CN 108446579 A CN108446579 A CN 108446579A CN 201810214767 A CN201810214767 A CN 201810214767A CN 108446579 A CN108446579 A CN 108446579A
- Authority
- CN
- China
- Prior art keywords
- graphic code
- terminal
- recognition result
- type
- identification module
- 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/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
Abstract
A kind of graphic code of offer of the embodiment of the present invention knows method for distinguishing and terminal, this method include:Start the graphic code identification module of the terminal;The graphic code shown to the terminal by the graphic code identification module is identified.The automatic startup for only needing to directly initiate the graphic code identification module of terminal or the graphic code identification module of manual configuration terminal in embodiments of the present invention according to user's operation, reduces the operating procedure of user, improves the usage experience of user.
Description
Technical field
The present embodiments relate to technical field of data recognition more particularly to a kind of graphic code to know method for distinguishing and terminal.
Background technology
With the development of internet and popularizing for terminal, the application of graphic code in the terminal is also increased.Existing figure
Code knows method for distinguishing and is roughly divided into two classes, and one kind is completed by two station terminals, and a display graphic code, a scanning recognition should
Graphic code;Also one kind is completed by a station terminal, and the graphic code in scanning input current interface needs current interface first
Sectional drawing is stored in photograph album, then opens the corresponding application program of graphic code, photograph album is stored in before opening in the application
In picture, the graphic code in picture is scanned finally by the application program, complete identification graphic code.
Although these two kinds of methods can identify graphic code, disadvantage is that user execute the step of cumbersome, shadow
Ring user experience.
Invention content
An embodiment of the present invention provides a kind of graphic codes to know method for distinguishing and terminal, to solve the behaviour of existing graphic code identification
The problem of making complex steps, affecting user experience.
An embodiment of the present invention provides a kind of graphic codes to know method for distinguishing for first aspect, is applied to terminal, the method packet
It includes:Start the graphic code identification module of the terminal;The graphic code that the terminal is shown by the graphic code identification module
It is identified.
Second aspect, an embodiment of the present invention provides a kind of terminals, including:Starting module, for starting the terminal
Graphic code identification module;Graphic code identification module, the graphic code for being shown to the terminal are identified.
The third aspect an embodiment of the present invention provides another terminal, including processor, memory and is stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
Graphic code as described in relation to the first aspect knows the step of method for distinguishing.
In this way, in embodiments of the present invention, terminal itself has graphic code identification module, the graphic code is known under normal conditions
Other module is closed, and starts the graphic code identification module by user's operation, such terminal can be based on the figure of itself
The graphic code in image is identified in shape code identification module, without identifying the figure in image by other applications
Code, compared to existing graphic code recognition methods, only needs to directly initiate terminal according to user's operation in embodiments of the present invention
Graphic code identification module or manual configuration start graphic code identification module automatically, reduce the operating procedure of user, improve
The usage experience of user.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings
Other attached drawings.
Fig. 1 is one of the flow diagram of graphic code recognition methods provided in an embodiment of the present invention;
Fig. 2 is the two of the flow diagram of graphic code recognition methods provided in an embodiment of the present invention;
Fig. 3 is the physical button operation chart of pressing terminal provided in an embodiment of the present invention;
Fig. 4 is the three of the flow diagram of graphic code recognition methods provided in an embodiment of the present invention;
Fig. 5 is the operation of virtual key schematic diagram of pressing terminal provided in an embodiment of the present invention;
Fig. 6 is the four of the flow diagram of graphic code recognition methods provided in an embodiment of the present invention;
Fig. 7 is one of prompt message manifestation mode schematic diagram provided in an embodiment of the present invention;
Fig. 8 is the two of prompt message manifestation mode schematic diagram provided in an embodiment of the present invention;
Fig. 9 is one of the structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 10 is the two of terminal structure schematic diagram provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
In embodiments of the present invention, image code can be Quick Response Code or item row code etc., and the embodiment of the present invention is to image code
Type is not specifically limited.
Referring to Fig. 1, an embodiment of the present invention provides a kind of graphic codes to know method for distinguishing, is applied to terminal, wherein the terminal
Including graphic code identification module and display screen, this method is as follows:
Step 101, the graphic code identification module for starting terminal;
In embodiments of the present invention, graphic code identification module can know the graphic code currently shown in display screen
Not, user the automatic trigger graphic code identification module can be started by way of triggering or configuring manually, it is of course possible to be understood
, which may be used existing graphic code identification technology, no longer deposited herein to state.It should be noted that
The graphic code identification module is the self-contained software module of terminal, after being started according to user's operation, will be protected on terminal backstage
Hold operating status.Compared with the prior art, the graphic code identification function of the graphic code identification module belongs to the terminal work(of itself
Can, rather than the function that third party application is provided.
In embodiments of the present invention, start the graphic code identification module of terminal according to user's operation, user's operation can be
Press the physical button of terminal, such as press power key and Menu key simultaneously, or double-click power key etc.;Or pressing terminal
Graphic code identification switch button in virtual key, such as status bar etc.;Certainly, which can also be user configuration figure
The list of application of shape code automatic identification service, record has application program and figure in the list of application of the graphic code automatic identification service
The automatic startup correspondence of shape code identification module, can start end when user starts the application program in the list of application automatically
The graphic code identification module at end.
Graphic code identification technology used in above-mentioned graphic code identification module can be by identifying graphic code image, obtaining
Binary message corresponding with image, and convert the binary message to a kind of technology of corresponding business information, the present invention
Terminal in embodiment itself has graphic code identification module, and the graphic code identification module is closed under normal conditions,
Start the graphic code identification module by way of user's operation, such terminal can be based on the graphic code identification module pair of itself
Graphic code in image is identified, without identifying the graphic code in image by other application program.
Step 102 is identified the graphic code that terminal is shown by graphic code identification module;
In embodiments of the present invention, the existing recognition methods to graphic code picture may be used and realize graphic code identification,
Such as:Convert graphic code image to bianry image, carry out dilation operation to the bianry image constructs with sampling, obtains binary system
Data translate the binary data, decode to obtain numeric data code.Corresponding operating is executed according to numeric data code, it is certainly also unlimited
In this.It is not specifically limited otherwise it should be noted that carrying out graphic code knowledge to image in embodiments of the present invention.
In this way, in embodiments of the present invention, terminal itself has graphic code identification module, the graphic code is known under normal conditions
Other module is closed, and starts the graphic code identification module by user's operation, such terminal can be based on the figure of itself
The graphic code in image is identified in shape code identification module, without identifying the figure in image by other applications
Code, compared to existing graphic code recognition methods, only needs to directly initiate terminal according to user's operation in embodiments of the present invention
Graphic code identification module or manual configuration start graphic code identification module automatically, reduce the operating procedure of user, improve
The usage experience of user.
Referring to Fig. 2, the embodiment of the present invention additionally provides another graphic code and knows method for distinguishing, is as follows:
Step 201, the first operation in response to user to the physical button of terminal, start graphic code identification module, execute
Step;
In embodiments of the present invention, terminal obtains the first operation that user presses the physical button of terminal, first operation
Can double-click power key, or can also be while pressing power key and Menu key, it is of course possible to understanding, in the present invention
It to the type of physical button and is not specifically limited in embodiment.
Referring to Fig. 3, a kind of mode of the physical button of pressing terminal is shown in figure, the first operation illustrated in figure is same
When pressing terminal power key 301 and Menu key 302 operation.
It should be noted that the mode that the embodiment of the present invention presses user the physical button of terminal is not specifically limited.
Step 202 is identified the graphic code that terminal is shown by graphic code identification module;
In embodiments of the present invention, the existing recognition methods to graphic code picture may be used and realize graphic code identification,
Such as:Convert graphic code image to bianry image, carry out dilation operation to the bianry image constructs with sampling, obtains binary system
Data translate the binary data, decode to obtain numeric data code.Then corresponding operating is executed according to numeric data code, certainly
It is without being limited thereto.
It is not specifically limited otherwise it should be noted that carrying out graphic code knowledge to image in embodiments of the present invention.
Step 203, the type for determining recognition result carry out corresponding processing according to the type of recognition result, if identification
As a result type is URL (Uniform Resource Locator, uniform resource locator) type, thens follow the steps 204;Such as
The type of fruit recognition result is Configuration Type, thens follow the steps 205;If the type of recognition result is display type, execute
Step 206;
In embodiments of the present invention, terminal is according to graphic code recognition result, to the different classes of information that graphic code includes,
Carry out corresponding processing.Such as linked according to the address that graphic code includes, jump to the corresponding application program of the graphic code
The page can also be the information for including, such as passage or article etc. by the graphic code, export, may be used also in a text form
To be the configuration information for including, such as WIFI (Wireless Fidelity, Wireless Fidelity) configuration information etc. according to graphic code,
Terminal is configured.
Step 204 jumps to the corresponding page of recognition result in display screen;
In embodiments of the present invention, by the determination of terminal, the recognition result of graphic code is URL types, then according to the figure
The link for including in shape code jumps to the corresponding display interface of the graphic code from current page.
Step 205 carries out configuration operation according to the corresponding content of recognition result to terminal;
In embodiments of the present invention, the recognition result of graphic code is Configuration Type, then is matched according to include in the graphic code
Confidence breath configures terminal.For example, the account and password of WIFI can be preserved by the form of graphic code, when needing to use
When WIFI, by identifying corresponding graphic code, the account and password of WIFI can be obtained, and configure eventually according to the account and password
It terminates into WIFI.Of course, it should be understood that configuration information can be additionally used in other scenes, for example, configuration information include account name and
Password etc..Step 206 shows the corresponding content of recognition result in display screen;
In embodiments of the present invention, the recognition result of graphic code is display type, then according to the letter for including in the graphic code
Breath, shows corresponding content in display screen.For example, include passage information in graphic code, by identifying the graphic code,
Content in recognition result is shown on a display screen in a text form, is read for user.
In this way, in embodiments of the present invention, the operation of end entity button being pressed by user, starts the graphic code of terminal
Identification module carries out graphic code identification, finally according to recognition result by graphic code identification module to the image of current interface
Type carries out respective handling, and user only needs this single stepping of the physical button of execution pressing terminal, reduces the operation of user
Step improves the usage experience of user.
Referring to Fig. 4, the embodiment of the present invention also proposed another graphic code and know method for distinguishing, be as follows:
Step 401, the second operation in response to user to virtual key in the status bar of terminal, start graphic code and identify mould
Block;
In embodiments of the present invention, terminal obtains the second operation to virtual key in the status bar of terminal, wherein opens
The operation of status bar can be pressing Menu key, or can also be to be slided from display platen edge to display screen center;To virtual
The operation of button can be pressing virtual key corresponding with graphic code identification function.
Specifically, referring to Fig. 5, show that a kind of mode of pressing virtual key, the third operation illustrated in figure are in figure
There is the virtual key 502 of the graphic code identification function of operation terminal in pressing state column 501.Of course, it should be understood that this
Inventive embodiments are not specifically limited the mode of operation of virtual key in the status bar of terminal.
Step 402 is identified the graphic code that terminal is shown by graphic code identification module;
In embodiments of the present invention, the existing recognition methods to graphic code picture may be used and realize graphic code identification,
Such as:Convert graphic code image to bianry image, carry out dilation operation to the bianry image constructs with sampling, obtains binary system
Data translate the binary data, decode to obtain numeric data code.Corresponding operating is executed according to numeric data code, it is certainly also unlimited
In this.It is not specifically limited otherwise it should be noted that carrying out graphic code knowledge to image in embodiments of the present invention.
Step 403, the type for determining recognition result carry out corresponding processing according to the type of recognition result, if identification
As a result type is URL types, thens follow the steps 404;If the type of recognition result is Configuration Type, 405 are thened follow the steps;
If the type of recognition result is display type, 406 are thened follow the steps;
In embodiments of the present invention, terminal is according to graphic code recognition result, to the different classes of information that graphic code includes,
Carry out corresponding processing.Such as linked according to the address that graphic code includes, jump to the corresponding application program of the graphic code
The page can also be the information for including, such as passage or article etc. by the graphic code, export, may be used also in a text form
To be the configuration information for including, such as WIFI (Wireless Fidelity, Wireless Fidelity) configuration information etc. according to graphic code,
Terminal is configured.
Step 404 jumps to the corresponding page of recognition result in display screen;
In embodiments of the present invention, by the determination of terminal, the recognition result of graphic code is URL types, then according to the figure
The link for including in shape code jumps to the corresponding display interface of the graphic code from current page.
Step 405 carries out configuration operation according to the corresponding content of recognition result to terminal;
In embodiments of the present invention, the recognition result of graphic code is Configuration Type, then is matched according to include in the graphic code
Confidence breath configures terminal.For example, the account and password of WIFI can be preserved by the form of graphic code, when needing to use
When WIFI, by identifying corresponding graphic code, the account and password of WIFI can be obtained, and configure eventually according to the account and password
It terminates into WIFI.
Step 406 shows the corresponding content of recognition result in display screen;
In embodiments of the present invention, the recognition result of graphic code is display type, then according to the letter for including in the graphic code
Breath, shows corresponding content in display screen.For example, include passage information in graphic code, by identifying the graphic code,
Content in recognition result is shown on a display screen in a text form, is read for user.
In this way, in embodiments of the present invention, the operation of the virtual key in the status bar of terminal is pressed by user, start
The graphic code identification module of terminal carries out graphic code identification, finally according to recognition result by graphic code identification module to image
Type carry out respective handling, user only need execute pressing terminal status bar in virtual key operation, reduce use
The operating procedure at family improves the usage experience of user.
Referring to Fig. 6, the embodiment of the present invention additionally provides another graphic code and knows method for distinguishing, is as follows:
Step 601 is operated in response to third input by user, is configured in the list of application of graphic code automatic identification service
The automatic startup correspondence of application program and graphic code identification module;
In embodiments of the present invention, user can be pre-configured with the list of application of graphic code automatic identification service, the application
Record has the automatic startup correspondence of application program and graphic code identification module in list.In this way, needing to use graphic code
When identification function, user need to only open the switch of automatic identification function, while can also avoid the waste of system resource.
For example, have application program A, application program B and application program C in list of application, user select application program A and
Application program B configured graphical code automatic identification services, then when application program A or application program B start, graphic code identification module
It will start automatically, and when application program C starts, graphic code identification module will not start automatically.
It should be noted that the embodiment of the present invention is pre-configured with user the list of application of graphic code automatic identification service
Mode is not specifically limited.
Step 602, when in the list of application of graphic code automatic identification service record have the currently running application program of terminal
Information when, start graphic code identification module;
In embodiments of the present invention, the application program that user chooses before having used in list of application, then start figure
Code identification module, opens graphic code automatic identification service.
Step 603 judges whether the display time of current display interface is more than preset time threshold, if it is not, then returning
Receipt row step 603, if so, thening follow the steps 604;
In embodiments of the present invention, the graphic code of user's identification in need in current page, then keep in display screen
Current display interface, terminal are able to record the current display interface continuously display time, by the continuously display time got with
Preset time threshold is compared, and is indicated that user has the demand of identification graphic code more than threshold value, is not above threshold value and then indicates
User does not identify the demand of graphic code.Such as:Preset time threshold can be 2~3 seconds, can be that terminal is pre-set
, alternatively, can also be what user oneself was arranged, the embodiment of the present invention does not do specific limit to the length of preset time threshold
It is fixed.
Step 604 judges whether current display interface includes graphic code, if it is not, 603 are then returned to step, if so,
Then follow the steps 605;
Step 605 is identified the graphic code that terminal is shown by graphic code identification module;
In embodiments of the present invention, optionally, before graphic code is identified, terminal can generate the first prompt letter
Breath is decided whether to carry out the identification operation of this graphic code by user to prompt user that will carry out graphic code identification.Specifically,
Referring to Fig. 7, a kind of form of expression of first prompt message is shown in figure, the operation of corresponding user is that pressing " determination " is virtually pressed
Key, it should be noted that the form of expression of the first prompt message of the embodiment of the present invention pair and the mode of operation of corresponding user are not
Make specific limit.
Step 606, the type for determining recognition result carry out corresponding processing according to the type of recognition result, if identification
As a result type is URL types, thens follow the steps 607;If the type of recognition result is Configuration Type, 608 are thened follow the steps;
If the type of recognition result is display type, 609 are thened follow the steps;
Step 607 jumps to the corresponding page of recognition result in display screen;
In embodiments of the present invention, by the determination of terminal, the recognition result of graphic code is URL types, then according to the figure
The link for including in shape code jumps to the corresponding page of the graphic code from current page.
Step 608 carries out configuration operation according to the corresponding content of recognition result to terminal;
In embodiments of the present invention, the recognition result of graphic code is Configuration Type, then is matched according to include in the graphic code
Confidence breath configures terminal.For example, the account and password of WIFI can be preserved by the form of graphic code, when needing to use
When WIFI, by identifying corresponding graphic code, the account and password of WIFI can be obtained, and configure eventually according to the account and password
It terminates into WIFI.
Step 609 shows the corresponding content of recognition result in display screen;
In embodiments of the present invention, the recognition result of graphic code is display type, then according to the letter for including in the graphic code
Breath, shows corresponding content in display screen.For example, include passage information in graphic code, by identifying the graphic code,
Content in recognition result is shown on a display screen in a text form, is read for user.
Optionally, in step 607, step 608 and step 609, corresponding according to the progress of graphic code recognition result
Before processing, terminal can generate the second prompt message, corresponding with graphic code recognition result to prompt user that will carry out
Processing operation, decided whether to carry out the processing operation by user.Specifically, referring to Fig. 8, show that one kind second carries in figure
Show the form of expression of information, correspond to the graphic code that recognition result is URL types, correspondingly, user can be by pressing " really
The operation of virtual key carrys out instruction terminal progress page jump calmly ", it is of course possible to which understanding is configuration class for recognition result
The identical form of expression can also be used in the graphic code of type and display type, it should be noted that the embodiment of the present invention pair second
The form of expression of prompt message and the mode of operation of corresponding user are not especially limited.
In this way, in embodiments of the present invention, user is pre-configured with the list of application of graphic code automatic identification service, using
When corresponding application program, graphic code identification module will start automatically, carry out graphic code identification to image, and according to recognition result
Type carry out respective handling, user need to only execute the operation of the list of application of configured graphical code automatic identification service, reduce
The operating procedure of user, also given while completing graphic code identification function user choose whether identification graphic code and whether
The freedom for executing alignment processing, improves the usage experience of user.
Referring to Fig. 9, the embodiment of the present invention provides a kind of terminal 900, including display screen (not shown), the terminal 900
Further include:
Starting module 901, the graphic code identification module 902 for starting terminal 900;
Graphic code identification module 902, the graphic code for being shown to terminal 900 are identified;
Optionally, starting module 901 includes:
First start unit 9011 starts graphic code for the first operation in response to user to the physical button of terminal
Identification module 902;
Second start unit 9012 starts graphic code for the second operation in response to user to the virtual key of terminal
Identification module 902;
Third start unit 9013 when for detecting that the display interface of terminal 900 includes graphic code, starts graphic code
Identification module 902.
Optionally, graphic code identification module 902 includes:
First judging unit 9021, for judging whether the display time of current display interface is more than preset time threshold
Value, if it is not, whether the display time for then rejudging current display interface is more than preset time threshold;
Second judgment unit 9022, for judging whether current display interface includes graphic code, if not, it indicates that first
Whether the display time that judging unit 9021 rejudges current display interface is more than preset time threshold;
Recognition unit 9023, for when current display interface includes graphic code, graphic code to be identified.
Optionally, terminal 900 further includes:
Processing module 903, the type for determining recognition result, and corresponding place is carried out according to the type of recognition result
Reason, optionally, the type of recognition result includes:Uniform resource position mark URL type, Configuration Type or display type.
Optionally, processing module 903 includes:
Jump-transfer unit 9031, for when the type of recognition result is URL types, recognition result to be jumped in display screen
The corresponding page;
Dispensing unit 9032 is used for when the type of recognition result is Configuration Type, according to the corresponding content of recognition result
Configuration operation is carried out to terminal;
Display unit 9033 shows recognition result when the type of recognition result is display type in the display screen
Corresponding content.
In this way, in embodiments of the present invention, depending on the user's operation, starting the graphic code identification module of terminal, passing through figure
Shape code identification module carries out graphic code identification to image, finally carries out respective handling according to recognition result, and user need to only execute and open
The operation of the graphic code identification module of dynamic terminal, reduces the operating procedure of user, improves the usage experience of user.
The hardware architecture diagram of Figure 10 a kind of terminals of one embodiment to realize the present invention, as shown, the terminal
1000 include but not limited to:Radio frequency unit 1001, network module 1001, audio output unit 1003, input unit 1004, sensing
Device 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010 and
The components such as power supply 1011.It will be understood by those skilled in the art that the limit of the not structure paired terminal of terminal structure shown in Figure 10
Fixed, terminal may include either combining certain components or different components arrangement than illustrating more or fewer components.
In the embodiment of the present invention, terminal include but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can
Wearable device and pedometer etc..
Wherein, processor 1010, the graphic code identification module for starting the terminal;Mould is identified by the graphic code
The graphic code that block shows the terminal is identified.
In this way, in embodiments of the present invention, by running the graphic code identification function of terminal itself, figure is carried out to image
Code identification, finally carries out respective handling according to the type of recognition result, and user need to only execute the graphic code identification work(of operation terminal
The operation of energy, reduces the operating procedure of user, improves the usage experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 1001 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 1010 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 1001 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1001 can also by radio communication system and network and other
Equipment communicates.
Terminal has provided wireless broadband internet to the user by network module 1002 and has accessed, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 1003 can receive radio frequency unit 1001 or network module 1002 or in memory
The audio data stored in 1009 is converted into audio signal and exports to be sound.Moreover, audio output unit 1003 can be with
The relevant audio output of specific function executed with terminal 1000 is provided (for example, call signal receives sound, message sink sound
Etc.).Audio output unit 1003 includes loud speaker, buzzer and receiver etc..
Input unit 1004 is for receiving audio or video signal.Input unit 1004 may include graphics processor
(Graphics Processing Unit, GPU) 10041 and microphone 10042, graphics processor 10041 in video to capturing
In pattern or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into
Row processing.Treated, and picture frame may be displayed on display unit 1006.Through treated the picture frame of graphics processor 10041
It can be stored in memory 1009 (or other storage mediums) or be carried out via radio frequency unit 1001 or network module 1002
It sends.Microphone 10042 can receive sound, and can be audio data by such acoustic processing.Audio that treated
Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1001 in the case of telephone calling model
Formula exports.
Terminal 1000 further includes at least one sensor 1005, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
The light and shade of line adjusts the brightness of display panel 10061, and proximity sensor can close display when terminal 1000 is moved in one's ear
Panel 10061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three
Axis) acceleration size, size and the direction of gravity are can detect that when static, can be used to identify terminal posture (such as horizontal/vertical screen
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 1005
Can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
Meter, infrared sensor etc. are spent, details are not described herein.
Display unit 1006 is for showing information input by user or being supplied to the information of user.Display unit 1006 can
Including display panel 10061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes may be used
Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 10061.
User input unit 1007 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 1007 include touch panel 10071 and its
His input equipment 10072.Touch panel 10071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 10071 or in touch panel
Operation near 10071).Touch panel 10071 may include both touch detecting apparatus and touch controller.Wherein, it touches
The touch orientation of detection device detection user is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller;
Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010,
It receives the order that processor 1010 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 10071.In addition to touch panel 10071, user input unit 1007 can also include
Other input equipments 10072.Specifically, other input equipments 10072 can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 10071 can be covered on display panel 10061, when touch panel 10071 detects
After touch operation on or near it, processor 1010 is sent to determine the type of touch event, is followed by subsequent processing device 1010
Corresponding visual output is provided on display panel 10061 according to the type of touch event.Although in Fig. 10, touch panel
10071 be to realize the function that outputs and inputs of terminal as two independent components with display panel 10061, but certain
In embodiment, can touch panel 10071 and display panel 10061 be integrated and be realized the function that outputs and inputs of terminal, tool
Body does not limit herein.
Interface unit 1008 is the interface that external device (ED) is connect with terminal 1000.For example, external device (ED) may include wired
Or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 1008 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal 1000 or it can be used in terminal 1000 and external fill
Transmission data between setting.
Memory 1009 can be used for storing software program and various data.Memory 1009 can include mainly storage program
Area and storage data field, wherein storing program area can storage program area, needed at least one function application program (such as
Sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to mobile phone
Such as audio data, phone directory) etc..In addition, memory 1009 may include high-speed random access memory, can also include non-
Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection,
By running or execute the software program and/or module that are stored in memory 1009, and calls and be stored in memory 1009
Interior data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 1010 may include
One or more processing units;Preferably, processor 1010 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Terminal 1000 can also include the power supply 1011 (such as battery) powered to all parts, it is preferred that power supply 1011
Can be logically contiguous by power-supply management system and processor 910, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal 1000 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 1010, and memory 909 is stored in storage
On device 1009 and the computer program that can be run on the processor 1010, when which is executed by processor 1010
It realizes each process of above-mentioned graphic code recognition methods embodiment, and identical technique effect can be reached, to avoid repeating, here
It repeats no more.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (11)
1. a kind of graphic code knows method for distinguishing, it is applied to terminal, which is characterized in that the method includes:
Start the graphic code identification module of the terminal;
The graphic code shown to the terminal by the graphic code identification module is identified.
2. according to the method described in claim 1, it is characterized in that, the graphic code identification module for starting the terminal, packet
It includes:
The first operation in response to user to the physical button of the terminal, starts the graphic code identification module;Or
The second operation in response to user to the virtual key of the terminal, starts the graphic code identification module;Or
When detecting that the display interface of the terminal includes graphic code, start the graphic code identification module.
3. according to the method described in claim 2, it is characterized in that, it is described by the graphic code identification module to the terminal
The graphic code of display is identified, including:
Judge whether the display time of current display interface is more than preset time threshold;
It is more than preset time threshold when the continuously display time, judges whether the current display interface includes graphic code;
When the current display interface includes graphic code, then the graphic code is known by the graphic code identification module
Not.
4. according to the method described in claim 2, it is characterized in that, the method further includes:
It determines the type of the recognition result, and corresponding processing is carried out according to the type of the recognition result;
Wherein, the type of the recognition result includes:Unified resource positions URL types, Configuration Type or display type.
5. according to the method described in claim 4, it is characterized in that, the type of the determination recognition result, according to described
The type of recognition result carries out corresponding processing:
When the type of the recognition result is URL types, the corresponding page of the recognition result is jumped to;
When the type of the recognition result is Configuration Type, the terminal is carried out according to the recognition result corresponding content
Configuration operation;
When the type of the recognition result is display type, the corresponding content of the recognition result is shown.
6. a kind of terminal, which is characterized in that the terminal includes display screen, further includes:
Starting module, the graphic code identification module for starting the terminal;
Graphic code identification module, the graphic code for being shown to the terminal are identified.
7. terminal according to claim 6, which is characterized in that the starting module includes:
First start unit starts the graphic code for the first operation in response to user to the physical button of the terminal
Identification module;Or
Second start unit starts the graphic code for the second operation in response to user to the virtual key of the terminal
Identification module;Or
Third start unit, when for detecting that the display interface of the terminal includes graphic code, terminal starts the figure
Code identification module.
8. terminal according to claim 7, which is characterized in that the graphic code identification module includes:
First judging unit, for judging whether the display time of current display interface is more than preset time threshold;
Second judgment unit, for when the display time being more than preset time threshold, judging the current display interface
Whether include graphic code;
Recognition unit, for when the current display interface includes graphic code, the graphic code to be identified.
9. terminal according to claim 7, which is characterized in that the terminal further includes:
Processing module, the type for determining the recognition result, and corresponding place is carried out according to the type of the recognition result
Reason;
Wherein, the type of the recognition result includes:Unified resource positions URL types, Configuration Type or display type.
10. terminal according to claim 9, which is characterized in that
The processing module includes:
Jump-transfer unit, for when the type of the recognition result is URL types, jumping to the corresponding page of the recognition result
Face;
Dispensing unit is used for when the type of the recognition result is Configuration Type, according to the corresponding content of the recognition result
Configuration operation is carried out to the terminal;
Display unit shows the recognition result when the type of the recognition result is display type in the display screen
Corresponding content.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5
The step of graphic code described in one knows method for distinguishing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214767.2A CN108446579B (en) | 2018-03-15 | 2018-03-15 | Method and terminal for identifying graphic code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214767.2A CN108446579B (en) | 2018-03-15 | 2018-03-15 | Method and terminal for identifying graphic code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108446579A true CN108446579A (en) | 2018-08-24 |
CN108446579B CN108446579B (en) | 2020-07-28 |
Family
ID=63194522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810214767.2A Active CN108446579B (en) | 2018-03-15 | 2018-03-15 | Method and terminal for identifying graphic code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108446579B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111914583A (en) * | 2020-07-13 | 2020-11-10 | 杭州海康机器人技术有限公司 | Graphic code identification method, device and equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63291183A (en) * | 1987-05-25 | 1988-11-29 | Hitachi Ltd | Data reader |
US20040206823A1 (en) * | 1990-09-17 | 2004-10-21 | Robert Blake | Bar code reader for automatically detecting the presence of a bar code using laser flicker |
CN103839027A (en) * | 2012-11-22 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Picture analysis method and picture analysis device |
CN103997567A (en) * | 2014-04-30 | 2014-08-20 | 小米科技有限责任公司 | Method and device for acquiring graphic code information |
CN104123520A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Two-dimensional code scanning method and device |
CN106156675A (en) * | 2015-04-09 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of method and device obtaining 2 D code information |
CN107172259A (en) * | 2017-04-11 | 2017-09-15 | 捷开通讯(深圳)有限公司 | Terminal and its information interacting method, storage device based on Quick Response Code |
CN107590411A (en) * | 2017-08-16 | 2018-01-16 | 深圳天珑无线科技有限公司 | A kind of method and system of the Quick Response Code identification based on WWW |
CN107609437A (en) * | 2017-08-17 | 2018-01-19 | 阿里巴巴集团控股有限公司 | A kind of targeted graphical code recognition methods and device |
-
2018
- 2018-03-15 CN CN201810214767.2A patent/CN108446579B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63291183A (en) * | 1987-05-25 | 1988-11-29 | Hitachi Ltd | Data reader |
US20040206823A1 (en) * | 1990-09-17 | 2004-10-21 | Robert Blake | Bar code reader for automatically detecting the presence of a bar code using laser flicker |
CN103839027A (en) * | 2012-11-22 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Picture analysis method and picture analysis device |
CN104123520A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Two-dimensional code scanning method and device |
CN103997567A (en) * | 2014-04-30 | 2014-08-20 | 小米科技有限责任公司 | Method and device for acquiring graphic code information |
CN106156675A (en) * | 2015-04-09 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of method and device obtaining 2 D code information |
CN107172259A (en) * | 2017-04-11 | 2017-09-15 | 捷开通讯(深圳)有限公司 | Terminal and its information interacting method, storage device based on Quick Response Code |
CN107590411A (en) * | 2017-08-16 | 2018-01-16 | 深圳天珑无线科技有限公司 | A kind of method and system of the Quick Response Code identification based on WWW |
CN107609437A (en) * | 2017-08-17 | 2018-01-19 | 阿里巴巴集团控股有限公司 | A kind of targeted graphical code recognition methods and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111914583A (en) * | 2020-07-13 | 2020-11-10 | 杭州海康机器人技术有限公司 | Graphic code identification method, device and equipment |
CN111914583B (en) * | 2020-07-13 | 2022-07-29 | 杭州海康机器人技术有限公司 | Graphic code identification method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108446579B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107402709A (en) | A kind of multi-screen display method, terminal and computer-readable recording medium | |
CN109032734A (en) | A kind of background application display methods and mobile terminal | |
CN108037871A (en) | Screenshotss method and mobile terminal | |
CN108519850A (en) | A kind of keyboard interface display methods and mobile terminal | |
CN108052251A (en) | A kind of screenshotss method for information display and mobile terminal | |
CN107592415A (en) | Voice transmitting method, terminal and computer-readable recording medium | |
CN107832601A (en) | A kind of application control method and mobile terminal | |
CN107656793A (en) | A kind of Application Program Interface switching method and mobile terminal | |
CN108037885A (en) | A kind of operation indicating method and mobile terminal | |
CN108958593A (en) | A kind of method and mobile terminal of determining communication object | |
CN109412932A (en) | A kind of screenshotss method and terminal | |
CN108011887A (en) | A kind of account management method and equipment | |
CN109101152A (en) | A kind of data inputting method and terminal | |
CN108668328A (en) | A kind of method for switching network and mobile terminal | |
CN107682359A (en) | One kind is using register method, mobile terminal | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN109491632A (en) | A kind of resource sharing method and terminal | |
CN109523253A (en) | A kind of method of payment and device | |
CN109495638A (en) | A kind of information display method and terminal | |
CN108845730A (en) | A kind of object control method and terminal | |
CN108009031A (en) | The control method and mobile terminal of a kind of application program | |
CN108279842A (en) | A kind of function controlling method, function controlling device and terminal device | |
CN107957914A (en) | A kind of information processing method and mobile terminal | |
CN108055383A (en) | Acquisition methods, device and the mobile terminal of screenshot picture | |
CN107678671A (en) | One kind applies startup method, terminal and computer-readable recording medium |
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 |