CN107590411A - A kind of method and system of the Quick Response Code identification based on WWW - Google Patents

A kind of method and system of the Quick Response Code identification based on WWW Download PDF

Info

Publication number
CN107590411A
CN107590411A CN201710709672.3A CN201710709672A CN107590411A CN 107590411 A CN107590411 A CN 107590411A CN 201710709672 A CN201710709672 A CN 201710709672A CN 107590411 A CN107590411 A CN 107590411A
Authority
CN
China
Prior art keywords
quick response
response code
webpage
picture
information
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
CN201710709672.3A
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.)
Tian Long Electronic Science And Technology Co Ltd Of Jiangsu Province
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Tian Long Electronic Science And Technology Co Ltd Of Jiangsu Province
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology 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 Tian Long Electronic Science And Technology Co Ltd Of Jiangsu Province, Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Tian Long Electronic Science And Technology Co Ltd Of Jiangsu Province
Priority to CN201710709672.3A priority Critical patent/CN107590411A/en
Publication of CN107590411A publication Critical patent/CN107590411A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and system of the Quick Response Code identification based on WWW.Wherein, this method includes:The position that Quick Response Code is corresponded on webpage receives the instruction for identifying Quick Response Code of user's input;Response instruction, picture corresponding to Quick Response Code is obtained by the cache information of webpage;Picture corresponding to Quick Response Code is identified, obtains information corresponding to Quick Response Code.By the above method, picture corresponding to Quick Response Code can be obtained directly from the cache information of webpage, omit from server end obtain picture the step of, unnecessary flow consumption is reduced while saving access time, improves operating efficiency.

Description

A kind of method and system of the Quick Response Code identification based on WWW
Technical field
The present invention relates to technical field of World Wide Web, more particularly to a kind of Quick Response Code based on WWW know method for distinguishing and System.
Background technology
Quick Response Code is widely used because it has the characteristics that information storage is big, security performance is high, cost is relatively low.It is and near Nian Lai, with the development of network technology, Quick Response Code is applied among webpage, Quick Response Code be with certain specific geometric figure by Certain rule, it is and defeated by image in the chequered with black and white graphic recording data symbol information of plane (on two-dimensional directional) distribution Enter equipment or photoelectric scanning device automatic identification figure to realize that information such as automatically processes at the operation.
Present inventor has found in long-term research and development, if necessary to open in WWW in current all programs Some webpage, it is required for loading the corresponding page using the control of system support, this control can parse the knot of webpage Structure.And the identification method of Quick Response Code is mainly the data by parsing current page, by label obtain corresponding to Quick Response Code Chained address, and corresponding picture is searched on server according to corresponding to being gone the address.This method needs to arrive by network connection Server could obtain two-dimension code image, not only be limited by network condition, while can also disappear during connection server Consume partial discharge.
The content of the invention
The present invention solves the technical problem of provide it is a kind of based on WWW Quick Response Code identification method and system, By the above-mentioned means, omit from server end obtain picture the step of, save access time while reduce unnecessary flow Consumption, improve operating efficiency.
In order to solve the above technical problems, one aspect of the present invention is:There is provided it is a kind of based on WWW two Tie up code and know method for distinguishing, including:The position that Quick Response Code is corresponded on webpage receives the instruction for identifying Quick Response Code of user's input;Ring It should instruct, picture corresponding to Quick Response Code is obtained by the cache information of webpage;Picture corresponding to Quick Response Code is identified, obtains Quick Response Code Corresponding information.
In order to solve the above technical problems, another technical solution used in the present invention is:One kind is provided and is based on WWW two The system for tieing up code identification, including:Processor, memory, transceiver and telecommunication circuit, processor coupling memory, transceiver And telecommunication circuit;Processor controls itself and memory, transceiver and the telecommunication circuit corresponding two dimension on webpage at work The position of code receives the instruction of the identification Quick Response Code of user's input;Response instruction, Quick Response Code is obtained by the cache information of webpage Corresponding picture;Picture corresponding to Quick Response Code is identified, obtains information corresponding to Quick Response Code.
In order to solve the above technical problems, another technical solution used in the present invention is:There is provided one kind has store function Device, the device had program stored therein data, and routine data can be performed to realize the step in any of the above-described method.
The beneficial effects of the invention are as follows:Figure corresponding to Quick Response Code is obtained by the cache information directly in webpage, and identified Picture corresponding to Quick Response Code, obtain Quick Response Code corresponding to information, omit from server end obtain picture the step of, save access when Between while reduce unnecessary flow consumption, improve operating efficiency.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of an embodiment of the two-dimensional code identification method of the invention based on WWW;
Fig. 2 is the schematic flow sheet of another embodiment of the two-dimensional code identification method of the invention based on WWW;
Fig. 3 is the structural representation of an embodiment of the Quick Response Code identifying system of the invention based on WWW;
Fig. 4 is the structural representation of an embodiment of the device that the present invention has store function.
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 describes.
Referring to Fig. 1, Fig. 1 is the flow signal of an embodiment of the two-dimensional code identification method of the invention based on WWW Figure.If it is noted that there is substantially the same result, method of the invention is not limited with the flow order shown in Fig. 1.Such as Shown in figure, this method comprises the following steps:
S10:The position that Quick Response Code is corresponded on webpage receives the instruction for identifying Quick Response Code of user's input.
Wherein, WWW (World Wide Web, WWW/Web) is divided into Web client and Web server end, and usual ten thousand Dimension net can allow Web client, such as:Browser, the page on Web server is accessed, specially by one or more mutual The system of the hypertext composition of link, is mutually accessed by internet.In this system, each resource is by a global system One resource identifier (Uniform/Universal Resource Locator, URL) identifies, and these resources are by surpassing these moneys Source sends user to by HTTP (Hypertext Transfer Protocol, HTTP), and the latter passes through a little Hit chain and fetch acquisition resource.
Quick Response Code (Quick Response, QR) is according to certain rules in plane (two dimension with certain specific geometric figure On direction) the chequered with black and white graphic recording data symbol information of distribution;Dexterously calculated on coding using composition " 0 ", the concept of " 1 " bit stream on machine internal logic basis, the geometrical body corresponding with binary system using several represent Word numerical information, by image input device or photoelectric scanning device automatically identifying and reading to realize that information automatically processes.Every kind of code It is formed with its specific character set;Each character occupies certain width;With certain verifying function etc..Also have simultaneously to not The information automatic identification function and the processing rotationally-varying point of figure of colleague.User can obtain information money by scanning Quick Response Code Source, such as:The data such as business card, map, WIFI passwords, site information can also be obtained by scanning Quick Response Code, realize that website redirects, Can also be by scanning Quick Response Code, the payment channel provided by bank or Third-party payment completes production payment etc..
S11:Response instruction, picture corresponding to Quick Response Code is obtained by the cache information of webpage.
In embodiments herein, picture corresponding to Quick Response Code directly can be obtained by the cache information of webpage, and The structure of parsing Web page is omitted, the URL of user's click on area picture is obtained, is then obtained according to URL link to Web server Corresponding to taking the step of picture.
S12:Picture corresponding to Quick Response Code is identified, obtains information corresponding to Quick Response Code.
The picture of Quick Response Code can be stored in the form of character string, such as:64 yards of base etc., when terminal receives After character string, character string is decoded, specifically included:QRCode decodings, Quick Response Code decryption or data base querying, with identification 2 D code information.2 D code information can be numeral, symbol, picture and network linking etc..In this embodiment, can directly pass through The interface that system provides obtains information corresponding to Quick Response Code.
By the above method, picture corresponding to acquisition Quick Response Code, is omitted from server directly from the cache information of webpage End obtains the step of picture, and unnecessary flow consumption is reduced while saving access time, improves operating efficiency.
With reference to figure 2, Fig. 2 is the flow signal of another embodiment of the two-dimensional code identification method of the invention based on WWW Figure.As shown in Fig. 2 two-dimensional code identification method specifically comprises the following steps:
S20:Receive the instruction for opening webpage.
Opening the instruction of webpage includes web page address and server info etc., and corresponding webpage is opened by web page address.
S21:Load webpage.
S22:All data messages in cache web pages.
Webpage is loaded, and caches all information of the webpage on the device, the information includes that picture can be depicted as Quick Response Code relevant information.
S23:The position that Quick Response Code is corresponded on webpage receives the instruction for identifying Quick Response Code of user's input.
S24:Response instruction, picture is depicted as by data cached corresponding to Quick Response Code in the cache information of webpage.
Picture corresponding with Quick Response Code is depicted as according to the information that equipment caches, optionally, the picture is that picture is bitmap File.Bitmap images (bitmap), also referred to as dot matrix image or drawing image, it is a single point by being referred to as pixel (picture element) Composition.These points can carry out different arrangements and dyeing to form pattern.
S25:Picture is parsed by Quick Response Code resolver.
S26:Judge whether include Quick Response Code in webpage according to analysis result, if including Quick Response Code in webpage, obtain two Tie up code decoding.
Optionally, judge in webpage whether comprising the specific method of Quick Response Code be:If the returned data information of analysis result For sky, then judge not including Quick Response Code in webpage, conversely, including Quick Response Code in webpage.
In other embodiments, it can also utilize to whether there is in the picture recognition technology identification page and meet two-dimension code pattern The figure of feature, to judge whether include Quick Response Code in the page.Two-dimension code pattern feature can include shape, color, size, spy One or more in the parameters such as different mark, wherein, distinctive mark refers to the distinctive mark of two-dimension code pattern, such as QR codes are (often A kind of two-dimentional code type), wherein three in its four corners, it is printed on the square pattern of similar " returning " word, and this The pattern of " returning " font can serve as distinctive mark.Identify whether to contain in the page using picture recognition technology and meet Quick Response Code The figure of graphic feature, it is on the contrary then illustrate not including two dimension in the page if so, then illustrate to include Quick Response Code in the page Code.
S27:Information corresponding to obtaining Quick Response Code is decoded according to Quick Response Code.
Quick Response Code can be decoded by the interface that system provides, decrypted or to corresponding data base querying phase The information answered, 2 D code information can be numeral, symbol, picture and network linking etc..
By the above method, the time for accessing server can be saved, while reduces unnecessary flow consumption, improves work Make efficiency.
Referring to Fig. 3, Fig. 3 is the structural representation of an embodiment of the Quick Response Code identifying system of the invention based on WWW Figure.The system that the embodiment of the present application is provided, can be that smart mobile phone, tablet personal computer or desktop machine etc. can be used for channel radio The electronic equipment in letter field.In the present embodiment, the terminal includes:Processor 30, memory 31, transceiver 32 and telecommunication circuit 33, processor 30 couples memory 31, transceiver 32 and telecommunication circuit 33.
Processor 30 controls itself and memory 31, transceiver 32 and telecommunication circuit 33 corresponding on webpage at work The position of Quick Response Code receives the instruction of the identification Quick Response Code of user's input;Response instruction, two are obtained by the cache information of webpage Tie up picture corresponding to code;Picture corresponding to Quick Response Code is identified, obtains information corresponding to Quick Response Code.
Optionally, processor 30 also receives the instruction for opening webpage by transceiver 32;Load webpage and analyzing web page Structure;All data messages in cache web pages.
Optionally, processor 30 is additionally operable in the cache information by webpage data cached drafting pattern corresponding to Quick Response Code Piece;Picture is parsed by Quick Response Code resolver;Judge whether include Quick Response Code in webpage according to analysis result, if being included in webpage Quick Response Code, then obtain Quick Response Code decoding;Information corresponding to obtaining Quick Response Code is decoded according to Quick Response Code.
Optionally, it is sky that processor 30, which is additionally operable to according to the returned data information of analysis result, then judges not wrap in webpage Containing Quick Response Code, conversely, including Quick Response Code in webpage.
Optionally, two-dimension code image is bitmap file.
The modules system of the said equipment can perform step corresponding in above method embodiment respectively, therefore not right herein Each module is repeated, and refers to the explanation that the above corresponds to step in detail.
With reference to figure 4, Fig. 4 is the structural representation of an embodiment of the device that the present invention has store function.
Present invention additionally comprises a kind of storage device 40, and the above-mentioned methodical program file 41 of institute can be realized by being stored with.Its In, the program file 41 can be stored in the form of software product in a storage device 40, including some instructions are making Obtain a computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) is held The all or part of step of each embodiment methods described of the row present invention.And foregoing storage device 40 includes:USB flash disk, movement Hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be or computer, server, mobile phone, flat with the medium of store program codes The terminal devices such as plate.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, it is included within the scope of the present invention.

Claims (10)

1. a kind of Quick Response Code based on WWW knows method for distinguishing, it is characterised in that methods described includes:
The position that Quick Response Code is corresponded on webpage receives the instruction for identifying the Quick Response Code of user's input;
The instruction is responded, picture corresponding to the Quick Response Code is obtained by the cache information of the webpage;
Picture corresponding to identifying the Quick Response Code, obtain information corresponding to the Quick Response Code.
2. according to the method for claim 1, it is characterised in that the position that Quick Response Code is corresponded on webpage receives user Also include before the instruction of the identification Quick Response Code of input:
Receive the instruction for opening the webpage;
Load the webpage;
Cache all data messages on the webpage.
3. according to the method for claim 1, it is characterised in that
The cache information by the webpage obtains picture corresponding to the Quick Response Code, including:
Picture is depicted as by data cached corresponding to Quick Response Code described in the cache information of the webpage;
Picture corresponding to the identification Quick Response Code, the information of the Quick Response Code is obtained, including:
The picture is parsed by Quick Response Code resolver;
Judge whether include Quick Response Code in the webpage according to analysis result, if including Quick Response Code in the webpage, obtain two Tie up code decoding;
The information according to corresponding to Quick Response Code decoding obtains the Quick Response Code.
4. according to the method for claim 3, it is characterised in that described to judge whether include two in webpage according to analysis result Code is tieed up, including:
If the returned data information of the analysis result is sky, judge not including Quick Response Code in the webpage, conversely, in webpage Include Quick Response Code.
5. according to the method for claim 3, it is characterised in that the picture is bitmap file.
6. a kind of system based on the identification of WWW Quick Response Code, it is characterised in that the system includes:Processor, memory, receipts Device and telecommunication circuit are sent out, the processor couples memory, the transceiver and the telecommunication circuit;
The processor controls itself and the memory, the transceiver and the telecommunication circuit on webpage at work The position of corresponding Quick Response Code receives the instruction of the identification Quick Response Code of user's input;The instruction is responded, passes through the webpage Cache information obtain picture corresponding to the Quick Response Code;Picture corresponding to identifying the Quick Response Code, obtain the Quick Response Code pair The information answered.
7. system according to claim 6, it is characterised in that the processor is also received by the transceiver and opens institute State the instruction of webpage;Load the webpage and parse the structure of the webpage;Cache all data messages on the webpage.
8. system according to claim 6, it is characterised in that
The processor is additionally operable to be depicted as picture by data cached corresponding to Quick Response Code described in the cache information of the webpage;
The processor is additionally operable to parse the picture by Quick Response Code resolver;Judged according to analysis result be in the webpage It is no to include Quick Response Code, if including Quick Response Code in the webpage, obtain Quick Response Code decoding;Decoded according to the Quick Response Code and obtain institute State information corresponding to Quick Response Code.
9. system according to claim 8, it is characterised in that the processor is additionally operable to returning according to the analysis result Data message is returned as sky, then judges not including Quick Response Code in the webpage, conversely, including Quick Response Code in webpage.
10. a kind of device with store function, it is characterised in that had program stored therein data, and described program data can be held Go to realize such as the step in any one of claim 1-5 methods described.
CN201710709672.3A 2017-08-16 2017-08-16 A kind of method and system of the Quick Response Code identification based on WWW Pending CN107590411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710709672.3A CN107590411A (en) 2017-08-16 2017-08-16 A kind of method and system of the Quick Response Code identification based on WWW

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710709672.3A CN107590411A (en) 2017-08-16 2017-08-16 A kind of method and system of the Quick Response Code identification based on WWW

Publications (1)

Publication Number Publication Date
CN107590411A true CN107590411A (en) 2018-01-16

Family

ID=61042136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710709672.3A Pending CN107590411A (en) 2017-08-16 2017-08-16 A kind of method and system of the Quick Response Code identification based on WWW

Country Status (1)

Country Link
CN (1) CN107590411A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055650A (en) * 2018-01-31 2018-05-18 四川金互通科技股份有限公司 Data processing equipment and method
CN108446579A (en) * 2018-03-15 2018-08-24 维沃移动通信有限公司 A kind of graphic code knows method for distinguishing and terminal
CN112445990A (en) * 2020-11-26 2021-03-05 北京沃东天骏信息技术有限公司 Picture processing method, device, terminal and storage medium
CN115422958A (en) * 2022-09-06 2022-12-02 博泰车联网(南京)有限公司 Picture operation method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778158A (en) * 2012-10-26 2014-05-07 苏州精易会信息技术有限公司 HTML tag displaying bar codes in picture mode
CN104077387A (en) * 2014-06-27 2014-10-01 北京奇虎科技有限公司 Webpage content display method and browser device
CN104216915A (en) * 2013-06-04 2014-12-17 腾讯科技(深圳)有限公司 Webpage processing method, device and terminal equipment
CN104281827A (en) * 2013-07-02 2015-01-14 腾讯科技(深圳)有限公司 Method and device for recognizing two-dimensional code
US20150112865A1 (en) * 2012-12-10 2015-04-23 Facebook, Inc. Quick response (qr) secure shake
CN105824893A (en) * 2016-03-11 2016-08-03 北京锤子数码科技有限公司 Method and device for accessing and loading two-dimensional link

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778158A (en) * 2012-10-26 2014-05-07 苏州精易会信息技术有限公司 HTML tag displaying bar codes in picture mode
US20150112865A1 (en) * 2012-12-10 2015-04-23 Facebook, Inc. Quick response (qr) secure shake
CN104216915A (en) * 2013-06-04 2014-12-17 腾讯科技(深圳)有限公司 Webpage processing method, device and terminal equipment
CN104281827A (en) * 2013-07-02 2015-01-14 腾讯科技(深圳)有限公司 Method and device for recognizing two-dimensional code
CN104077387A (en) * 2014-06-27 2014-10-01 北京奇虎科技有限公司 Webpage content display method and browser device
CN105824893A (en) * 2016-03-11 2016-08-03 北京锤子数码科技有限公司 Method and device for accessing and loading two-dimensional link

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055650A (en) * 2018-01-31 2018-05-18 四川金互通科技股份有限公司 Data processing equipment and method
CN108055650B (en) * 2018-01-31 2024-06-07 四川金互通科技股份有限公司 Data processing apparatus and method
CN108446579A (en) * 2018-03-15 2018-08-24 维沃移动通信有限公司 A kind of graphic code knows method for distinguishing and terminal
CN108446579B (en) * 2018-03-15 2020-07-28 维沃移动通信有限公司 Method and terminal for identifying graphic code
CN112445990A (en) * 2020-11-26 2021-03-05 北京沃东天骏信息技术有限公司 Picture processing method, device, terminal and storage medium
CN115422958A (en) * 2022-09-06 2022-12-02 博泰车联网(南京)有限公司 Picture operation method, electronic device and storage medium
CN115422958B (en) * 2022-09-06 2023-12-22 博泰车联网(南京)有限公司 Picture operation method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CA2709006C (en) Systems and methods for animating barcodes
CN107590411A (en) A kind of method and system of the Quick Response Code identification based on WWW
CN104281827B (en) Identify the method and device of Quick Response Code
CN104185845B (en) For the system and method for the binary representation for providing webpage
Sutheebanjard et al. QR-code generator
US8807434B1 (en) Techniques for generating customized two-dimensional barcodes
US9117130B2 (en) Information obtaining method and apparatus
US11720774B2 (en) Dynamic product tag based on an environmental condition
CN102880849A (en) Two-dimension code recognition method and device
CN105391674B (en) Information processing method and system, server and client
KR102348766B1 (en) Data processing methods and devices
US20120036225A1 (en) Remote application invocation system and method
CN104252613B (en) A kind of virtual objects acquisition methods, device and terminal
CN103345493B (en) Method that content of text on mobile terminal shows, Apparatus and system
WO2007107533A2 (en) Device and method for access of content by a barcode
CN104200252B (en) A kind of function logic jump method, client and system based on barcode data
CN105718979A (en) Method for generating two-dimensional code picture
US11003881B2 (en) System for multiple decode of captured images
US20210383181A1 (en) Barcode generation methods and apparatuses
CN106599275A (en) Photographing search method and device
CN106504045A (en) A kind of printing invoice system and the method for making, being identified using digital object
CN1787662A (en) Apparatus and method for controlling movable terminal display
Zainuddin et al. Generating SMS (short message service) in the form of quick response code (QR-code)
CN107423793A (en) A kind of Quick Response Code generation identification technology of new type of safe
WO2019023864A1 (en) Two-dimensional code identification method and system based on intelligent terminal camera

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: 20180116

RJ01 Rejection of invention patent application after publication