CN105260370A - Two-dimension code information obtaining method, device and terminal - Google Patents

Two-dimension code information obtaining method, device and terminal Download PDF

Info

Publication number
CN105260370A
CN105260370A CN201410342365.2A CN201410342365A CN105260370A CN 105260370 A CN105260370 A CN 105260370A CN 201410342365 A CN201410342365 A CN 201410342365A CN 105260370 A CN105260370 A CN 105260370A
Authority
CN
China
Prior art keywords
terminal
screen scraping
preset
screen
program
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.)
Withdrawn
Application number
CN201410342365.2A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410342365.2A priority Critical patent/CN105260370A/en
Priority to PCT/CN2014/091052 priority patent/WO2016008239A1/en
Publication of CN105260370A publication Critical patent/CN105260370A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Abstract

The invention provides a two-dimensional code information obtaining method, device and terminal. The method comprises the following steps: obtaining a capturing instruction generated by a screen capturing program preset in the terminal, and carrying out screen capturing on two-dimension code bitmap image information on an interface in a video memory of the terminal according to the capturing instruction so as to obtain the two-dimension code bitmap image information; recognizing the obtained two-dimension code bitmap image information so as to obtain information content carried by the two-dimension code bitmap image information; and carrying out display or page navigation on the information content according to the information content. According to the two-dimensional code information obtaining method, device and terminal, the two-dimension code information on the interface in the video memory of the terminal can be obtained without scanning the two-dimensional code through a terminal camera, so that the using perception of the user can be greatly improved.

Description

A kind of 2 D code information acquisition methods, device and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of 2 D code information acquisition methods, device and terminal.
Background technology
Along with the development of infotech, Quick Response Code obtains to be applied more and more widely.People more and more get used to issuing various information with Quick Response Code, such as Commdity advertisement, web site url, personal homepage, microblogging, micro-letter etc.The most important use scenes of Quick Response Code is " sweep and sweep ", namely utilizes the camera of the terminals such as mobile phone, aims at Quick Response Code scanning, obtains information wherein.Terminal user, often can run into this embarrassment: when browsing various information, and screen can be seen the Quick Response Code that others issues, and does not but have another one terminal to come " sweep and sweep ".
Summary of the invention
The object of this invention is to provide a kind of 2 D code information acquisition methods, device and terminal, the acquisition that prior art comes across the 2 D code information in terminal video memory on an interface can be solved, scanning need be carried out to obtain 2 D code information to this image in 2 D code, the problem that the user caused uses perception lower by another terminal.
In order to solve the problems of the technologies described above, embodiments of the invention provide a kind of 2 D code information acquisition methods, wherein, comprising:
Obtain the crawl instruction of the screen scraping program generation being preset in terminal, and according to described crawl instruction, screen scraping is carried out to the Quick Response Code bitmap images on an interface in described terminal video memory, obtain described Quick Response Code bitmap images;
The described Quick Response Code bitmap images got is identified, obtains the information content entrained by described Quick Response Code bitmap images;
According to the described information content, the described information content is shown or page navigation.
Wherein, the step of the crawl instruction that the screen scraping program that described acquisition is preset in terminal produces comprises:
When the trigger action of screen scraping being detected, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
Wherein, described when the trigger action of screen scraping being detected, the step that the screen scraping program being preset in terminal described in triggering produces described crawl instruction comprises:
Detect short by or long operation by the screen scraping physical button be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Detect short by or long operation by the screen scraping virtual key be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Detect short by or the operation of the long screen scraping quick botton by the resident screen be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
When the selection of the screen scraping menu ejected after the screen scraping quick botton to pressing described screen scraping physical button, described screen scraping virtual key or described resident screen being detected operates, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
Wherein, the described page comprises the runnable interface of the application program in the operating system being installed on described terminal.
In order to solve the problems of the technologies described above, embodiments of the invention also provide a kind of 2 D code information acquisition device, wherein, comprising:
First acquisition module, for obtaining the crawl instruction of the screen scraping program generation being preset in terminal, and carrying out screen scraping according to described crawl instruction to the Quick Response Code bitmap images on an interface in described terminal video memory, obtaining described Quick Response Code bitmap images;
Second acquisition module, for identifying the described Quick Response Code bitmap images got, obtains the information content entrained by described Quick Response Code bitmap images;
3rd acquisition module, for according to the described information content, shows or page navigation the described information content.
Wherein, described first acquisition module comprises:
Triggers module, for when the trigger action of screen scraping being detected, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
Wherein, described triggers module comprises:
First trigger element, for detect short by or long operation by the screen scraping physical button be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Second trigger element, for detect short by or long operation by the screen scraping virtual key be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
3rd trigger element, for detect short by or the operation of the long screen scraping quick botton by the resident screen be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
4th trigger element, when selection for the screen scraping menu ejected after the screen scraping quick botton to pressing described screen scraping physical button, described screen scraping virtual key or described resident screen being detected operates, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
Wherein, the described page comprises the runnable interface of the application program in the operating system being installed on described terminal.
In order to solve the problems of the technologies described above, embodiments of the invention also provide a kind of terminal, wherein, comprise 2 D code information acquisition device as above.
The invention has the beneficial effects as follows:
The solution of the present invention makes user when browsing to the image in 2 D code in terminal video memory on an interface, can when not by the scanning of terminal camera to Quick Response Code, the 2 D code information be present in terminal video memory on an interface can be obtained, substantially increase the use perception of user.
Accompanying drawing explanation
Fig. 1 represents 2 D code information acquisition methods schematic flow sheet of the present invention;
Fig. 2 represents 2 D code information acquisition device structural representation of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention provide a kind of 2 D code information acquisition methods, and wherein, as shown in Figure 1, the method comprises the steps:
Step 11, obtains the crawl instruction of the screen scraping program generation being preset in terminal, and carries out screen scraping according to described crawl instruction to the Quick Response Code bitmap images on an interface in described terminal video memory, obtain described Quick Response Code bitmap images;
Step 12, identifies the described Quick Response Code bitmap images got, obtains the information content entrained by described Quick Response Code bitmap images;
Step 13, according to the described information content, shows or page navigation the described information content.
Below in conjunction with specific embodiments above-mentioned steps 11 to step 13 is elaborated:
One cellphone subscriber can obtain some application content information according to application programs such as the Web browser be installed on this mobile phone operating system, microblogging client, micro-letter client, Photo Browsers.
When user is when using an above-mentioned wherein application program, when browsing to runnable interface (can be webpage) of this application program (content informations all on this interface is all kept in the video memory of mobile phone with the form of bitmap images), when user finds to have on the surface the information issued with Quick Response Code form, (what Quick Response Code carried may be commodity brief introduction, individual's business card, micro-letter microblog account, the web page interlinkage of commodity, the information such as the web page interlinkage that the micro-letter information of microblogging or contact person add) time, by various ways, trigger screen scraping program and produce crawl instruction, mobile phone is made to carry out screen scraping according to this crawl instruction to the Quick Response Code bitmap images on this interface in this mobile phone video memory, thus get this Quick Response Code bitmap images.Wherein, this screen scraping program can be an application software, can be preset in cell phone software version, also initiatively can be installed by user.
Certain above-mentioned triggering screen scraping program produces the mode capturing instruction, can comprise:
By short by or long by the screen scraping physical button be arranged on this mobile phone, trigger this screen scraping program and produce this crawl instruction; Or
By short by or long by the screen scraping virtual key be arranged on this mobile phone, trigger this screen scraping program and produce this crawl instruction; Or
By short by or the long screen scraping quick botton by the resident screen be arranged on this mobile phone, trigger this screen scraping program and produce this crawl instruction; Or
By the selection to the screen scraping menu ejected after pressing these buttons above-mentioned, trigger this screen scraping program and produce this crawl instruction.Certain the present invention is not limited only to these modes, no longer enumerates at this.
Wherein, according to the crawl instruction that this screen scraping program produces, the step citing capturing Quick Response Code bitmap images is described below:
Terminal, when the trigger action of screen scraping being detected, triggers this screen scraping program being preset in terminal and produces described crawl instruction;
Terminal, after this crawl instruction being detected, directly reads the bitmap images (comprising Quick Response Code bitmap images in the bitmap images of this whole screen) of whole screen, and passes to next treatment step from terminal screen video memory;
After grabbing this Quick Response Code bitmap images information, this mobile phone is by being built in Quick Response Code identification software wherein, the Quick Response Code bitmap images information of above-mentioned screen scraping program intercepts is identified, obtain the information content of carrying in this Quick Response Code bitmap images, these information contents can be commodity brief introductions as above, individual's business card, micro-letter microblog account, the web page interlinkage of commodity, the information such as the web page interlinkage that the micro-letter information of microblogging or contact person add, then, the display module being preset in terminal can according to this information content, the navigation module shown this information content or be preset in terminal carries out page navigation to this information content.Such as, if this identification software recognizes this information content when being microblog account, then the display module being preset in terminal according to this information content, can show microblog account; If it is a web page interlinkage that this identification software recognizes this content information, then the navigation module being preset in terminal calls the interface of corresponding application program runnable interface, ejects this runnable interface of this application program, completes the page navigation to this web page interlinkage.
Wherein, above-mentioned Quick Response Code identification software illustrates as follows to the process that the Quick Response Code bitmap images grabbed processes:
Install beforehand one Quick Response Code identification module in mobile phone, for carrying out scanning recognition to the above-mentioned Quick Response Code bitmap images grabbed, by being undertaken processing and managing by scanning the data, character information etc. that obtain, complete identifying, thus obtain the information content of carrying in the above-mentioned Quick Response Code bitmap images grabbed.
Technique scheme of the present invention makes user when browsing to the image in 2 D code in terminal video memory on an interface, need not scan the 2 D code information obtaining this image and carry, substantially increase the use perception of user by another terminal to it.
As shown in Figure 2, embodiments of the invention also provide a kind of 2 D code information acquisition device, and wherein, this device comprises:
First acquisition module 21, for obtaining the crawl instruction of the screen scraping program generation being preset in terminal, and carrying out screen scraping according to described crawl instruction to the Quick Response Code bitmap images on an interface in described terminal video memory, obtaining described Quick Response Code bitmap images;
Second acquisition module 22, for identifying the described Quick Response Code bitmap images got, obtains the information content entrained by described Quick Response Code bitmap images;
3rd acquisition module 23, for according to the described information content, shows or page navigation the described information content.
Wherein, this first acquisition module 21 comprises: triggers module, and for when the trigger action of screen scraping being detected, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
Wherein, this triggers module comprises:
First trigger element, for detect short by or long operation by the screen scraping physical button be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Second trigger element, for detect short by or long operation by the screen scraping virtual key be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
3rd trigger element, for detect short by or the operation of the long screen scraping quick botton by the resident screen be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
4th trigger element, when selection for the screen scraping menu ejected after the screen scraping quick botton to pressing described screen scraping physical button, described screen scraping virtual key or described resident screen being detected operates, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
Wherein, this page comprises the runnable interface of the application program in the operating system being installed on described terminal.
It should be noted that, this 2 D code information acquisition device is the device corresponding with said method embodiment, and in said method embodiment, all implementations are all applicable in the embodiment of this device, also can reach identical technique effect.
Embodiments of the invention also provide a kind of terminal, comprise 2 D code information acquisition device as above.
It should be noted that, this terminal is the terminal comprising said apparatus, and the implementation of the embodiment of said apparatus is applicable in the embodiment of this terminal, also can reach identical technique effect.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a 2 D code information acquisition methods, is characterized in that, comprising:
Obtain the crawl instruction of the screen scraping program generation being preset in terminal, and according to described crawl instruction, screen scraping is carried out to the Quick Response Code bitmap images on an interface in described terminal video memory, obtain described Quick Response Code bitmap images;
The described Quick Response Code bitmap images got is identified, obtains the information content entrained by described Quick Response Code bitmap images;
According to the described information content, the described information content is shown or page navigation.
2. 2 D code information acquisition methods according to claim 1, is characterized in that, the step of the crawl instruction that the screen scraping program that described acquisition is preset in terminal produces comprises:
When the trigger action of screen scraping being detected, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
3. 2 D code information acquisition methods according to claim 2, is characterized in that, described when the trigger action of screen scraping being detected, and the step that the screen scraping program being preset in terminal described in triggering produces described crawl instruction comprises:
Detect short by or long operation by the screen scraping physical button be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Detect short by or long operation by the screen scraping virtual key be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Detect short by or the operation of the long screen scraping quick botton by the resident screen be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
When the selection of the screen scraping menu ejected after the screen scraping quick botton to pressing described screen scraping physical button, described screen scraping virtual key or described resident screen being detected operates, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
4. 2 D code information acquisition methods according to claim 1, is characterized in that, the described page comprises the runnable interface of the application program in the operating system being installed on described terminal.
5. a 2 D code information acquisition device, is characterized in that, comprising:
First acquisition module, for obtaining the crawl instruction of the screen scraping program generation being preset in terminal, and carrying out screen scraping according to described crawl instruction to the Quick Response Code bitmap images on an interface in described terminal video memory, obtaining described Quick Response Code bitmap images;
Second acquisition module, for identifying the described Quick Response Code bitmap images got, obtains the information content entrained by described Quick Response Code bitmap images;
3rd acquisition module, for according to the described information content, shows or page navigation the described information content.
6. 2 D code information acquisition device according to claim 5, is characterized in that, described first acquisition module comprises:
Triggers module, for when the trigger action of screen scraping being detected, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
7. 2 D code information acquisition device according to claim 6, is characterized in that, described triggers module comprises:
First trigger element, for detect short by or long operation by the screen scraping physical button be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
Second trigger element, for detect short by or long operation by the screen scraping virtual key be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
3rd trigger element, for detect short by or the operation of the long screen scraping quick botton by the resident screen be arranged in described terminal time, the screen scraping program being preset in terminal described in triggering produces described crawl instruction; Or
4th trigger element, when selection for the screen scraping menu ejected after the screen scraping quick botton to pressing described screen scraping physical button, described screen scraping virtual key or described resident screen being detected operates, the screen scraping program being preset in terminal described in triggering produces described crawl instruction.
8. 2 D code information acquisition device according to claim 5, is characterized in that, the described page comprises the runnable interface of the application program in the operating system being installed on described terminal.
9. a terminal, is characterized in that, comprises the 2 D code information acquisition device described in any one of claim 5 to 8.
CN201410342365.2A 2014-07-17 2014-07-17 Two-dimension code information obtaining method, device and terminal Withdrawn CN105260370A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410342365.2A CN105260370A (en) 2014-07-17 2014-07-17 Two-dimension code information obtaining method, device and terminal
PCT/CN2014/091052 WO2016008239A1 (en) 2014-07-17 2014-11-13 Two-dimensional code information acquisition method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410342365.2A CN105260370A (en) 2014-07-17 2014-07-17 Two-dimension code information obtaining method, device and terminal

Publications (1)

Publication Number Publication Date
CN105260370A true CN105260370A (en) 2016-01-20

Family

ID=55077867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410342365.2A Withdrawn CN105260370A (en) 2014-07-17 2014-07-17 Two-dimension code information obtaining method, device and terminal

Country Status (2)

Country Link
CN (1) CN105260370A (en)
WO (1) WO2016008239A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103096A (en) * 2017-05-19 2017-08-29 深圳天珑无线科技有限公司 Method for information display and device
CN107563136A (en) * 2017-08-31 2018-01-09 天津永兴泰科技有限公司 Payment system and method for payment based on residents ' health card
CN108108773A (en) * 2016-11-24 2018-06-01 阿里巴巴集团控股有限公司 A kind of data processing method and device
WO2018171572A1 (en) * 2017-03-21 2018-09-27 腾讯科技(深圳)有限公司 Malicious web address identification method, computer apparatus and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038010A (en) * 2017-05-27 2017-08-11 合肥酷特信息科技有限公司 A kind of building intellectualization mobile terminal shows system
CN117787310A (en) * 2022-09-06 2024-03-29 博泰车联网(南京)有限公司 Picture operation method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533460A (en) * 2013-09-30 2014-01-22 深圳市龙视传媒有限公司 Method, device, terminal and system for sharing television service
CN103699298A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
CN103745186A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Processing method for two-dimensional code information and communication terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246572A (en) * 2013-03-27 2013-08-14 东莞宇龙通信科技有限公司 Method and system for synchronizing application messages
CN103366269A (en) * 2013-07-05 2013-10-23 李卓桓 Fast payment method, equipment and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533460A (en) * 2013-09-30 2014-01-22 深圳市龙视传媒有限公司 Method, device, terminal and system for sharing television service
CN103699298A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
CN103745186A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Processing method for two-dimensional code information and communication terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108773A (en) * 2016-11-24 2018-06-01 阿里巴巴集团控股有限公司 A kind of data processing method and device
WO2018171572A1 (en) * 2017-03-21 2018-09-27 腾讯科技(深圳)有限公司 Malicious web address identification method, computer apparatus and storage medium
CN107103096A (en) * 2017-05-19 2017-08-29 深圳天珑无线科技有限公司 Method for information display and device
CN107563136A (en) * 2017-08-31 2018-01-09 天津永兴泰科技有限公司 Payment system and method for payment based on residents ' health card

Also Published As

Publication number Publication date
WO2016008239A1 (en) 2016-01-21

Similar Documents

Publication Publication Date Title
CN105260370A (en) Two-dimension code information obtaining method, device and terminal
CN107944325B (en) Code scanning method, code scanning device and mobile terminal
KR102068604B1 (en) Apparatus and method for recognizing a character in terminal equipment
CN105549868A (en) Mobile terminal operation processing method and apparatus and mobile terminal
CN104123520B (en) Two-dimensional code scanning method and device
WO2020083029A1 (en) Graphic code recognition method and apparatus, and terminal, and storage medium
CN110443330B (en) Code scanning method and device, mobile terminal and storage medium
CN105068731B (en) A kind of picture Zoom method and user terminal
CN104978133A (en) Screen capturing method and screen capturing device for intelligent terminal
US9239961B1 (en) Text recognition near an edge
CN104090648A (en) Data entry method and terminal
CN108052263B (en) Screen capturing method based on terminal equipment and terminal equipment
CN106031159A (en) System and method to control screen capture
KR20120044248A (en) Apparatus and method for context detection in a mobile terminal
CN103488934A (en) Method, device and system for inputting verification codes
CN104504083B (en) A kind of picture based on picture searching determines method and device
CN104408394A (en) Two-dimensional code information processing method and communication terminal
CN104572654A (en) User searching method and device
CN105630780A (en) Webpage information processing method and apparatus
CN109902687B (en) Image identification method and user terminal
CN105825104A (en) Service processing method based on fingerprint recognition and electronic equipment
CN105893908B (en) Two-dimension code image recognition methods and device
KR102303206B1 (en) Method and apparatus for recognizing object of image in electronic device
CN106775249B (en) Method for setting communication shortcut and electronic equipment
KR102292595B1 (en) Apparatus for recognizing watermark using image integrating QR code and watermark and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160120